
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::string::string(std::string const&) */

void __thiscall std::string::string(string *this,string *param_1)

{
  *(string **)this = this + 8;
  __cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::_M_construct<char*>
            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)this,
             *(int *)param_1,*(int *)(param_1 + 4) + *(int *)param_1,0,0x1f1767);
  return;
}



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

void FUN_001f1760(int *param_1,int *param_2)

{
  *param_1 = (int)(param_1 + 2);
  FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x19d899
SUB ESP,0x4
MOV EAX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0x14]
LEA EDX,[EAX + 0x8]
MOV dword ptr [EAX],EDX
MOV EDX,dword ptr [ECX]
PUSH 0x0
MOV ESI,dword ptr [ECX + 0x4]
ADD ESI,EDX
PUSH ESI
PUSH EDX
PUSH EAX
CALL 0x000513a0
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001f1760(int *param_1,int *param_2)\n\n{\n  *param_1 = (int)(param_1 + 2);\n  FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767);\n  return;\n}\n\n" comment (function_definition "void FUN_001f1760(int *param_1,int *param_2)\n\n{\n  *param_1 = (int)(param_1 + 2);\n  FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767);\n  return;\n}" primitive_type (function_declarator "FUN_001f1760(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  *param_1 = (int)(param_1 + 2);\n  FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767);\n  return;\n}" { (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767);" (call_expression "FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767)" identifier (argument_list "(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767)" ( identifier , (pointer_expression "*param_2" * identifier) , (binary_expression "param_2[1] + *param_2" (subscript_expression "param_2[1]" identifier [ number_literal ]) + (pointer_expression "*param_2" * identifier)) , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::string::string(std::string const&) */\n\nvoid __thiscall std::string::string(string *this,string *param_1)\n\n{\n  *(string **)this = this + 8;\n  __cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::_M_construct<char*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)this,\n             *(int *)param_1,*(int *)(param_1 + 4) + *(int *)param_1,0,0x1f1767);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::string::string(string *this,string *param_1)\n\n{\n  *(string **)this = this + 8;\n  __cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::_M_construct<char*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)this,\n             *(int *)param_1,*(int *)(param_1 + 4) + *(int *)param_1,0,0x1f1767);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::string::" identifier : : identifier : :) (function_declarator "string(string *this,string *param_1)" identifier (parameter_list "(string *this,string *param_1)" ( (parameter_declaration "string *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "string *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *(string **)this = this + 8;\n  __cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::_M_construct<char*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)this,\n             *(int *)param_1,*(int *)(param_1 + 4) + *(int *)param_1,0,0x1f1767);\n  return;\n}" { (expression_statement "*(string **)this = this + 8;" (assignment_expression "*(string **)this = this + 8" (pointer_expression "*(string **)this" * (cast_expression "(string **)this" ( (type_descriptor "string **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "this + 8" identifier + number_literal)) ;) (ERROR "__cxx11::basic_string<char,_std::char_traits<char>,_std::" (comma_expression "__cxx11::basic_string<char,_std::char_traits<char>,_std" identifier (ERROR "::basic_string<char,_std::char_traits<char>" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char" identifier < identifier) >) , identifier) : :) (expression_statement "allocator<char>_>::_M_construct<char*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)this,\n             *(int *)param_1,*(int *)(param_1 + 4) + *(int *)param_1,0,0x1f1767);" (binary_expression "allocator<char>_>::_M_construct<char*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)this,\n             *(int *)param_1,*(int *)(param_1 + 4) + *(int *)param_1,0,0x1f1767)" (binary_expression "allocator<char>_>::_M_construct<char" (binary_expression "allocator<char>_>::_M_construct" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (ERROR "::" : :) identifier) < identifier) (ERROR "*" *) > (parenthesized_expression "((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)this,\n             *(int *)param_1,*(int *)(param_1 + 4) + *(int *)param_1,0,0x1f1767)" ( (parenthesized_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)this,\n             *(int *)param_1,*(int *)(param_1 + 4) + *(int *)param_1,0,0x1f1767)" ( (ERROR "basic_string<char,_std::char_traits<char>,_std::" (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (comma_expression "allocator<char>_> *)this,\n             *(int *)param_1,*(int *)(param_1 + 4) + *(int *)param_1,0,0x1f1767" (binary_expression "allocator<char>_> *)this" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (pointer_expression "*)this" * (ERROR ")" )) identifier)) , (comma_expression "*(int *)param_1,*(int *)(param_1 + 4) + *(int *)param_1,0,0x1f1767" (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) , (comma_expression "*(int *)(param_1 + 4) + *(int *)param_1,0,0x1f1767" (binary_expression "*(int *)(param_1 + 4) + *(int *)param_1" (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) )))) + (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) , (comma_expression "0,0x1f1767" number_literal , number_literal)))) )) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001f1760(int *param_1,int *param_2)\n\n{\n  *param_1 = (int)(param_1 + 2);\n  FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767);\n  return;\n}\n\n" (function_definition "void FUN_001f1760(int *param_1,int *param_2)\n\n{\n  *param_1 = (int)(param_1 + 2);\n  FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767);\n  return;\n}" primitive_type (function_declarator "FUN_001f1760(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  *param_1 = (int)(param_1 + 2);\n  FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767);\n  return;\n}" { (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (expression_statement "FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767);" (call_expression "FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767)" identifier (argument_list "(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767)" ( identifier , (pointer_expression "*param_2" * identifier) , (binary_expression "param_2[1] + *param_2" (subscript_expression "param_2[1]" identifier [ number_literal ]) + (pointer_expression "*param_2" * identifier)) , number_literal , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , (binary_expression (subscript_expression IDENT [ LIT ]) + (pointer_expression * IDENT)) , LIT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001f1760(int *param_1,int *param_2)\n\n{\n  *param_1 = (int)(param_1 + 2);\n  FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001f1760(int *param_1,int *param_2)" (identifier "FUN_001f1760") (parameter_list "(int *param_1,int *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  *param_1 = (int)(param_1 + 2);\n  FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767);\n  return;\n}" ({ "{") (expression_statement "*param_1 = (int)(param_1 + 2);" (assignment_expression "*param_1 = (int)(param_1 + 2)" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)(param_1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (expression_statement "FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767);" (call_expression "FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767)" (identifier "FUN_000513a0") (argument_list "(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (binary_expression "param_2[1] + *param_2" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (+ "+") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (, ",") (number_literal "0") (, ",") (number_literal "0x1f1767") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::string::string(std::string const&) */

void __thiscall std::function_1::function_1(function_1 *var_1,function_1 *var_6)

{
  *(function_1 **)var_1 = var_1 + 8;
  __cxx11::basic_string<var_3,_std::char_traits<var_3>,_std::var_2<var_3>var_4>::var_5<var_3*>
            ((basic_string<var_3,_std::char_traits<var_3>,_std::var_2<var_3>var_4> *)var_1,
             *(int *)var_6,*(int *)(var_6 + 4) + *(int *)var_6,0,0x1f1767);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier))) (number_literal) (number_literal)))) (return_statement))))

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

void MASKED(int *param_1,int *param_2)

{
  *param_1 = (int)(param_1 + 2);
  FUN_000513a0(param_1,*param_2,param_2[1] + *param_2,0,0x1f1767);
  return;
}

