
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::string::TEMPNAMEPLACEHOLDERVALUE(std::initializer_list<char>) */

void __thiscall std::string::operator+=(string *this,char *param_2,uint param_3)

{
  if (param_3 <= 0x7fffffffU - *(int *)(this + 4)) {
    _M_append(this,param_2,param_3);
    return;
  }
                    /* WARNING: Subroutine does not return */
  __throw_length_error("basic_string::append");
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_001f0810(int param_1,undefined4 param_2,uint param_3)

{
  if (param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)) {
    FUN_001f05c0(param_1,param_2,param_3);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0022c7a0("basic_string::append");
}


PUSH ESI
MOV EAX,0x7fffffff
PUSH EBX
CALL 0x00035840
ADD EBX,0x19e7e4
SUB ESP,0x4
MOV EDX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0x18]
MOV ESI,dword ptr [ESP + 0x14]
SUB EAX,dword ptr [EDX + 0x4]
CMP ECX,EAX
JA 0x001f0849
SUB ESP,0x4
PUSH ECX
PUSH ESI
PUSH EDX
CALL 0x001f05c0
ADD ESP,0x14
POP EBX
POP ESI
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xffef7be2]
PUSH EAX
CALL 0x0022c7a0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001f0810(int param_1,undefined4 param_2,uint param_3)\n\n{\n  if (param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)) {\n    FUN_001f05c0(param_1,param_2,param_3);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0022c7a0("basic_string::append");\n}\n\n" comment (function_definition "void FUN_001f0810(int param_1,undefined4 param_2,uint param_3)\n\n{\n  if (param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)) {\n    FUN_001f05c0(param_1,param_2,param_3);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0022c7a0("basic_string::append");\n}" primitive_type (function_declarator "FUN_001f0810(int param_1,undefined4 param_2,uint param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  if (param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)) {\n    FUN_001f05c0(param_1,param_2,param_3);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0022c7a0("basic_string::append");\n}" { (if_statement "if (param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)) {\n    FUN_001f05c0(param_1,param_2,param_3);\n    return;\n  }" if (parenthesized_expression "(param_3 <= 0x7fffffffU - *(int *)(param_1 + 4))" ( (binary_expression "param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)" identifier <= (binary_expression "0x7fffffffU - *(int *)(param_1 + 4)" number_literal - (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))))) )) (compound_statement "{\n    FUN_001f05c0(param_1,param_2,param_3);\n    return;\n  }" { (expression_statement "FUN_001f05c0(param_1,param_2,param_3);" (call_expression "FUN_001f05c0(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0022c7a0("basic_string::append");" (call_expression "FUN_0022c7a0("basic_string::append")" identifier (argument_list "("basic_string::append")" ( (string_literal ""basic_string::append"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::string::TEMPNAMEPLACEHOLDERVALUE(std::initializer_list<char>) */\n\nvoid __thiscall std::string::operator+=(string *this,char *param_2,uint param_3)\n\n{\n  if (param_3 <= 0x7fffffffU - *(int *)(this + 4)) {\n    _M_append(this,param_2,param_3);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __throw_length_error("basic_string::append");\n}\n\n" comment comment (declaration "void __thiscall std::string::operator+=(string *this,char *param_2,uint param_3)\n\n{\n  if (param_3 <= 0x7fffffffU - *(int *)(this + 4)) {\n    _M_append(this,param_2,param_3);" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::string::operator+=(string" identifier : : identifier : : identifier += ( identifier) (pointer_declarator "*this" * identifier) , (ERROR "char" identifier) (pointer_declarator "*param_2" * identifier) , (ERROR "uint param_3)\n\n{\n  if (param_3 <= 0x7fffffffU - *(int *)(this + 4)) {" (function_declarator "uint param_3)\n\n{\n  if (param_3 <= 0x7fffffffU - *(int *)(this + 4))" identifier (ERROR "param_3)\n\n{\n  if" identifier ) { if) (parameter_list "(param_3 <= 0x7fffffffU - *(int *)(this + 4))" ( (parameter_declaration "param_3 <= 0x7fffffffU - *(int *)(this + 4)" type_identifier (ERROR "<= 0x7fffffffU -" <= number_literal -) (abstract_pointer_declarator "*(int *)(this + 4)" * (abstract_function_declarator "(int *)(this + 4)" (abstract_function_declarator "(int *)" (parameter_list "(int *)" ( (parameter_declaration "int *" primitive_type (abstract_pointer_declarator "*" *)) ))) (parameter_list "(this + 4)" ( (parameter_declaration "this" type_identifier) (ERROR "+ 4" + number_literal) ))))) ))) {) (function_declarator "_M_append(this,param_2,param_3)" identifier (parameter_list "(this,param_2,param_3)" ( (parameter_declaration "this" type_identifier) , (parameter_declaration "param_2" type_identifier) , (parameter_declaration "param_3" type_identifier) ))) ;) (return_statement "return;" return ;) (ERROR "}" }) comment (expression_statement "__throw_length_error("basic_string::append");" (call_expression "__throw_length_error("basic_string::append")" identifier (argument_list "("basic_string::append")" ( (string_literal ""basic_string::append"" " string_content ") ))) ;) (ERROR "}" }))
(translation_unit "void FUN_001f0810(int param_1,undefined4 param_2,uint param_3)\n\n{\n  if (param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)) {\n    FUN_001f05c0(param_1,param_2,param_3);\n    return;\n  }\n                    \n  FUN_0022c7a0("basic_string::append");\n}\n\n" (function_definition "void FUN_001f0810(int param_1,undefined4 param_2,uint param_3)\n\n{\n  if (param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)) {\n    FUN_001f05c0(param_1,param_2,param_3);\n    return;\n  }\n                    \n  FUN_0022c7a0("basic_string::append");\n}" primitive_type (function_declarator "FUN_001f0810(int param_1,undefined4 param_2,uint param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  if (param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)) {\n    FUN_001f05c0(param_1,param_2,param_3);\n    return;\n  }\n                    \n  FUN_0022c7a0("basic_string::append");\n}" { (if_statement "if (param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)) {\n    FUN_001f05c0(param_1,param_2,param_3);\n    return;\n  }" if (parenthesized_expression "(param_3 <= 0x7fffffffU - *(int *)(param_1 + 4))" ( (binary_expression "param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)" identifier <= (binary_expression "0x7fffffffU - *(int *)(param_1 + 4)" number_literal - (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))))) )) (compound_statement "{\n    FUN_001f05c0(param_1,param_2,param_3);\n    return;\n  }" { (expression_statement "FUN_001f05c0(param_1,param_2,param_3);" (call_expression "FUN_001f05c0(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0022c7a0("basic_string::append");" (call_expression "FUN_0022c7a0("basic_string::append")" identifier (argument_list "("basic_string::append")" ( (string_literal ""basic_string::append"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (binary_expression LIT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_001f0810(int param_1,undefined4 param_2,uint param_3)\n\n{\n  if (param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)) {\n    FUN_001f05c0(param_1,param_2,param_3);\n    return;\n  }\n                    \n  FUN_0022c7a0("basic_string::append");\n}" (primitive_type "void") (function_declarator "FUN_001f0810(int param_1,undefined4 param_2,uint param_3)" (identifier "FUN_001f0810") (parameter_list "(int param_1,undefined4 param_2,uint param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  if (param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)) {\n    FUN_001f05c0(param_1,param_2,param_3);\n    return;\n  }\n                    \n  FUN_0022c7a0("basic_string::append");\n}" ({ "{") (if_statement "if (param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)) {\n    FUN_001f05c0(param_1,param_2,param_3);\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 <= 0x7fffffffU - *(int *)(param_1 + 4))" (( "(") (binary_expression "param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)" (identifier "param_3") (<= "<=") (binary_expression "0x7fffffffU - *(int *)(param_1 + 4)" (number_literal "0x7fffffffU") (- "-") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))))) () ")")) (compound_statement "{\n    FUN_001f05c0(param_1,param_2,param_3);\n    return;\n  }" ({ "{") (expression_statement "FUN_001f05c0(param_1,param_2,param_3);" (call_expression "FUN_001f05c0(param_1,param_2,param_3)" (identifier "FUN_001f05c0") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0022c7a0("basic_string::append");" (call_expression "FUN_0022c7a0("basic_string::append")" (identifier "FUN_0022c7a0") (argument_list "("basic_string::append")" (( "(") (string_literal ""basic_string::append"" (" """) (string_content "basic_string::append") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::string::TEMPNAMEPLACEHOLDERVALUE(std::initializer_list<char>) */

void __thiscall std::string::operator+=(string *type_1,char *type_2,uint type_3)

{
  if (type_3 <= 0x7fffffffU - *(int *)(type_1 + 4)) {
    function_1(type_1,type_2,type_3);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_1("basic_string::append");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int param_1,undefined4 param_2,uint param_3)

{
  if (param_3 <= 0x7fffffffU - *(int *)(param_1 + 4)) {
    FUN_001f05c0(param_1,param_2,param_3);
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0022c7a0("basic_string::append");
}

