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

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

{
  *(undefined ***)this = &PTR__wstreambuf_0038c0e4;
  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);
  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 8);
  *(undefined4 *)(this + 0xc) = *(undefined4 *)(param_1 + 0xc);
  *(undefined4 *)(this + 0x10) = *(undefined4 *)(param_1 + 0x10);
  *(undefined4 *)(this + 0x14) = *(undefined4 *)(param_1 + 0x14);
  *(undefined4 *)(this + 0x18) = *(undefined4 *)(param_1 + 0x18);
  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));
  return;
}



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

void FUN_001f3080(undefined4 *param_1,int param_2)

{
  *param_1 = &PTR_FUN_0038c0e4;
  param_1[1] = *(undefined4 *)(param_2 + 4);
  param_1[2] = *(undefined4 *)(param_2 + 8);
  param_1[3] = *(undefined4 *)(param_2 + 0xc);
  param_1[4] = *(undefined4 *)(param_2 + 0x10);
  param_1[5] = *(undefined4 *)(param_2 + 0x14);
  param_1[6] = *(undefined4 *)(param_2 + 0x18);
  FUN_001e8d40(param_1 + 7,param_2 + 0x1c);
  return;
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x19bf7a
SUB ESP,0x10
MOV EAX,dword ptr [ESP + 0x18]
MOV EDX,dword ptr [ESP + 0x1c]
ADD EAX,0x1c
ADD EDX,0x1c
LEA ECX,[EBX + 0xffffd0dc]
ADD ECX,0x8
MOV dword ptr [EAX + -0x1c],ECX
MOV ECX,dword ptr [EDX + -0x18]
MOV dword ptr [EAX + -0x18],ECX
MOV ECX,dword ptr [EDX + -0x14]
MOV dword ptr [EAX + -0x14],ECX
MOV ECX,dword ptr [EDX + -0x10]
MOV dword ptr [EAX + -0x10],ECX
MOV ECX,dword ptr [EDX + -0xc]
MOV dword ptr [EAX + -0xc],ECX
MOV ECX,dword ptr [EDX + -0x8]
MOV dword ptr [EAX + -0x8],ECX
MOV ECX,dword ptr [EDX + -0x4]
MOV dword ptr [EAX + -0x4],ECX
PUSH EDX
PUSH EAX
CALL 0x001e8d40
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001f3080(undefined4 *param_1,int param_2)\n\n{\n  *param_1 = &PTR_FUN_0038c0e4;\n  param_1[1] = *(undefined4 *)(param_2 + 4);\n  param_1[2] = *(undefined4 *)(param_2 + 8);\n  param_1[3] = *(undefined4 *)(param_2 + 0xc);\n  param_1[4] = *(undefined4 *)(param_2 + 0x10);\n  param_1[5] = *(undefined4 *)(param_2 + 0x14);\n  param_1[6] = *(undefined4 *)(param_2 + 0x18);\n  FUN_001e8d40(param_1 + 7,param_2 + 0x1c);\n  return;\n}\n\n" comment (function_definition "void FUN_001f3080(undefined4 *param_1,int param_2)\n\n{\n  *param_1 = &PTR_FUN_0038c0e4;\n  param_1[1] = *(undefined4 *)(param_2 + 4);\n  param_1[2] = *(undefined4 *)(param_2 + 8);\n  param_1[3] = *(undefined4 *)(param_2 + 0xc);\n  param_1[4] = *(undefined4 *)(param_2 + 0x10);\n  param_1[5] = *(undefined4 *)(param_2 + 0x14);\n  param_1[6] = *(undefined4 *)(param_2 + 0x18);\n  FUN_001e8d40(param_1 + 7,param_2 + 0x1c);\n  return;\n}" primitive_type (function_declarator "FUN_001f3080(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_0038c0e4;\n  param_1[1] = *(undefined4 *)(param_2 + 4);\n  param_1[2] = *(undefined4 *)(param_2 + 8);\n  param_1[3] = *(undefined4 *)(param_2 + 0xc);\n  param_1[4] = *(undefined4 *)(param_2 + 0x10);\n  param_1[5] = *(undefined4 *)(param_2 + 0x14);\n  param_1[6] = *(undefined4 *)(param_2 + 0x18);\n  FUN_001e8d40(param_1 + 7,param_2 + 0x1c);\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_0038c0e4;" (assignment_expression "*param_1 = &PTR_FUN_0038c0e4" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0038c0e4" & identifier)) ;) (expression_statement "param_1[1] = *(undefined4 *)(param_2 + 4);" (assignment_expression "param_1[1] = *(undefined4 *)(param_2 + 4)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "param_1[2] = *(undefined4 *)(param_2 + 8);" (assignment_expression "param_1[2] = *(undefined4 *)(param_2 + 8)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "param_1[3] = *(undefined4 *)(param_2 + 0xc);" (assignment_expression "param_1[3] = *(undefined4 *)(param_2 + 0xc)" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "param_1[4] = *(undefined4 *)(param_2 + 0x10);" (assignment_expression "param_1[4] = *(undefined4 *)(param_2 + 0x10)" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "param_1[5] = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "param_1[5] = *(undefined4 *)(param_2 + 0x14)" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "param_1[6] = *(undefined4 *)(param_2 + 0x18);" (assignment_expression "param_1[6] = *(undefined4 *)(param_2 + 0x18)" (subscript_expression "param_1[6]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "FUN_001e8d40(param_1 + 7,param_2 + 0x1c);" (call_expression "FUN_001e8d40(param_1 + 7,param_2 + 0x1c)" identifier (argument_list "(param_1 + 7,param_2 + 0x1c)" ( (binary_expression "param_1 + 7" identifier + number_literal) , (binary_expression "param_2 + 0x1c" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::wstreambuf::wstreambuf(std::wstreambuf const&) */\n\nvoid __thiscall std::wstreambuf::wstreambuf(wstreambuf *this,wstreambuf *param_1)\n\n{\n  *(undefined ***)this = &PTR__wstreambuf_0038c0e4;\n  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 8);\n  *(undefined4 *)(this + 0xc) = *(undefined4 *)(param_1 + 0xc);\n  *(undefined4 *)(this + 0x10) = *(undefined4 *)(param_1 + 0x10);\n  *(undefined4 *)(this + 0x14) = *(undefined4 *)(param_1 + 0x14);\n  *(undefined4 *)(this + 0x18) = *(undefined4 *)(param_1 + 0x18);\n  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::wstreambuf::wstreambuf(wstreambuf *this,wstreambuf *param_1)\n\n{\n  *(undefined ***)this = &PTR__wstreambuf_0038c0e4;\n  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 8);\n  *(undefined4 *)(this + 0xc) = *(undefined4 *)(param_1 + 0xc);\n  *(undefined4 *)(this + 0x10) = *(undefined4 *)(param_1 + 0x10);\n  *(undefined4 *)(this + 0x14) = *(undefined4 *)(param_1 + 0x14);\n  *(undefined4 *)(this + 0x18) = *(undefined4 *)(param_1 + 0x18);\n  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstreambuf::" identifier : : identifier : :) (function_declarator "wstreambuf(wstreambuf *this,wstreambuf *param_1)" identifier (parameter_list "(wstreambuf *this,wstreambuf *param_1)" ( (parameter_declaration "wstreambuf *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wstreambuf *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *(undefined ***)this = &PTR__wstreambuf_0038c0e4;\n  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 8);\n  *(undefined4 *)(this + 0xc) = *(undefined4 *)(param_1 + 0xc);\n  *(undefined4 *)(this + 0x10) = *(undefined4 *)(param_1 + 0x10);\n  *(undefined4 *)(this + 0x14) = *(undefined4 *)(param_1 + 0x14);\n  *(undefined4 *)(this + 0x18) = *(undefined4 *)(param_1 + 0x18);\n  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));\n  return;\n}" { (expression_statement "*(undefined ***)this = &PTR__wstreambuf_0038c0e4;" (assignment_expression "*(undefined ***)this = &PTR__wstreambuf_0038c0e4" (pointer_expression "*(undefined ***)this" * (cast_expression "(undefined ***)this" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) identifier)) = (pointer_expression "&PTR__wstreambuf_0038c0e4" & identifier)) ;) (expression_statement "*(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);" (assignment_expression "*(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4)" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 8);" (assignment_expression "*(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 8)" (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0xc) = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "*(undefined4 *)(this + 0xc) = *(undefined4 *)(param_1 + 0xc)" (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x10) = *(undefined4 *)(param_1 + 0x10);" (assignment_expression "*(undefined4 *)(this + 0x10) = *(undefined4 *)(param_1 + 0x10)" (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x14) = *(undefined4 *)(param_1 + 0x14);" (assignment_expression "*(undefined4 *)(this + 0x14) = *(undefined4 *)(param_1 + 0x14)" (pointer_expression "*(undefined4 *)(this + 0x14)" * (cast_expression "(undefined4 *)(this + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x18) = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "*(undefined4 *)(this + 0x18) = *(undefined4 *)(param_1 + 0x18)" (pointer_expression "*(undefined4 *)(this + 0x18)" * (cast_expression "(undefined4 *)(this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (labeled_statement "locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));" statement_identifier : (ERROR ":" :) (expression_statement "locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));" (call_expression "locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c))" identifier (argument_list "((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c))" ( (cast_expression "(locale *)(this + 0x1c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x1c)" ( (binary_expression "this + 0x1c" identifier + number_literal) ))) , (cast_expression "(locale *)(param_1 + 0x1c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))) ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001f3080(undefined4 *param_1,int param_2)\n\n{\n  *param_1 = &PTR_FUN_0038c0e4;\n  param_1[1] = *(undefined4 *)(param_2 + 4);\n  param_1[2] = *(undefined4 *)(param_2 + 8);\n  param_1[3] = *(undefined4 *)(param_2 + 0xc);\n  param_1[4] = *(undefined4 *)(param_2 + 0x10);\n  param_1[5] = *(undefined4 *)(param_2 + 0x14);\n  param_1[6] = *(undefined4 *)(param_2 + 0x18);\n  FUN_001e8d40(param_1 + 7,param_2 + 0x1c);\n  return;\n}\n\n" (function_definition "void FUN_001f3080(undefined4 *param_1,int param_2)\n\n{\n  *param_1 = &PTR_FUN_0038c0e4;\n  param_1[1] = *(undefined4 *)(param_2 + 4);\n  param_1[2] = *(undefined4 *)(param_2 + 8);\n  param_1[3] = *(undefined4 *)(param_2 + 0xc);\n  param_1[4] = *(undefined4 *)(param_2 + 0x10);\n  param_1[5] = *(undefined4 *)(param_2 + 0x14);\n  param_1[6] = *(undefined4 *)(param_2 + 0x18);\n  FUN_001e8d40(param_1 + 7,param_2 + 0x1c);\n  return;\n}" primitive_type (function_declarator "FUN_001f3080(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_0038c0e4;\n  param_1[1] = *(undefined4 *)(param_2 + 4);\n  param_1[2] = *(undefined4 *)(param_2 + 8);\n  param_1[3] = *(undefined4 *)(param_2 + 0xc);\n  param_1[4] = *(undefined4 *)(param_2 + 0x10);\n  param_1[5] = *(undefined4 *)(param_2 + 0x14);\n  param_1[6] = *(undefined4 *)(param_2 + 0x18);\n  FUN_001e8d40(param_1 + 7,param_2 + 0x1c);\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_0038c0e4;" (assignment_expression "*param_1 = &PTR_FUN_0038c0e4" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0038c0e4" & identifier)) ;) (expression_statement "param_1[1] = *(undefined4 *)(param_2 + 4);" (assignment_expression "param_1[1] = *(undefined4 *)(param_2 + 4)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) ))))) ;) (expression_statement "param_1[2] = *(undefined4 *)(param_2 + 8);" (assignment_expression "param_1[2] = *(undefined4 *)(param_2 + 8)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "param_1[3] = *(undefined4 *)(param_2 + 0xc);" (assignment_expression "param_1[3] = *(undefined4 *)(param_2 + 0xc)" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 0xc)" * (cast_expression "(undefined4 *)(param_2 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "param_1[4] = *(undefined4 *)(param_2 + 0x10);" (assignment_expression "param_1[4] = *(undefined4 *)(param_2 + 0x10)" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "param_1[5] = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "param_1[5] = *(undefined4 *)(param_2 + 0x14)" (subscript_expression "param_1[5]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "param_1[6] = *(undefined4 *)(param_2 + 0x18);" (assignment_expression "param_1[6] = *(undefined4 *)(param_2 + 0x18)" (subscript_expression "param_1[6]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_2 + 0x18)" * (cast_expression "(undefined4 *)(param_2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "FUN_001e8d40(param_1 + 7,param_2 + 0x1c);" (call_expression "FUN_001e8d40(param_1 + 7,param_2 + 0x1c)" identifier (argument_list "(param_1 + 7,param_2 + 0x1c)" ( (binary_expression "param_1 + 7" identifier + number_literal) , (binary_expression "param_2 + 0x1c" identifier + 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 IDENT) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001f3080(undefined4 *param_1,int param_2)\n\n{\n  *param_1 = &PTR_FUN_0038c0e4;\n  param_1[1] = *(undefined4 *)(param_2 + 4);\n  param_1[2] = *(undefined4 *)(param_2 + 8);\n  param_1[3] = *(undefined4 *)(param_2 + 0xc);\n  param_1[4] = *(undefined4 *)(param_2 + 0x10);\n  param_1[5] = *(undefined4 *)(param_2 + 0x14);\n  param_1[6] = *(undefined4 *)(param_2 + 0x18);\n  FUN_001e8d40(param_1 + 7,param_2 + 0x1c);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001f3080(undefined4 *param_1,int param_2)" (identifier "FUN_001f3080") (parameter_list "(undefined4 *param_1,int param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  *param_1 = &PTR_FUN_0038c0e4;\n  param_1[1] = *(undefined4 *)(param_2 + 4);\n  param_1[2] = *(undefined4 *)(param_2 + 8);\n  param_1[3] = *(undefined4 *)(param_2 + 0xc);\n  param_1[4] = *(undefined4 *)(param_2 + 0x10);\n  param_1[5] = *(undefined4 *)(param_2 + 0x14);\n  param_1[6] = *(undefined4 *)(param_2 + 0x18);\n  FUN_001e8d40(param_1 + 7,param_2 + 0x1c);\n  return;\n}" ({ "{") (expression_statement "*param_1 = &PTR_FUN_0038c0e4;" (assignment_expression "*param_1 = &PTR_FUN_0038c0e4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_0038c0e4" (& "&") (identifier "PTR_FUN_0038c0e4"))) (; ";")) (expression_statement "param_1[1] = *(undefined4 *)(param_2 + 4);" (assignment_expression "param_1[1] = *(undefined4 *)(param_2 + 4)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "param_1[2] = *(undefined4 *)(param_2 + 8);" (assignment_expression "param_1[2] = *(undefined4 *)(param_2 + 8)" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "param_1[3] = *(undefined4 *)(param_2 + 0xc);" (assignment_expression "param_1[3] = *(undefined4 *)(param_2 + 0xc)" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "param_1[4] = *(undefined4 *)(param_2 + 0x10);" (assignment_expression "param_1[4] = *(undefined4 *)(param_2 + 0x10)" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "param_1[5] = *(undefined4 *)(param_2 + 0x14);" (assignment_expression "param_1[5] = *(undefined4 *)(param_2 + 0x14)" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "param_1[6] = *(undefined4 *)(param_2 + 0x18);" (assignment_expression "param_1[6] = *(undefined4 *)(param_2 + 0x18)" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "FUN_001e8d40(param_1 + 7,param_2 + 0x1c);" (call_expression "FUN_001e8d40(param_1 + 7,param_2 + 0x1c)" (identifier "FUN_001e8d40") (argument_list "(param_1 + 7,param_2 + 0x1c)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) (, ",") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

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

{
  *(type_1 ***)var_1 = &PTR__wstreambuf_0038c0e4;
  *(type_2 *)(var_1 + 4) = *(type_2 *)(var_2 + 4);
  *(type_2 *)(var_1 + 8) = *(type_2 *)(var_2 + 8);
  *(type_2 *)(var_1 + 0xc) = *(type_2 *)(var_2 + 0xc);
  *(type_2 *)(var_1 + 0x10) = *(type_2 *)(var_2 + 0x10);
  *(type_2 *)(var_1 + 0x14) = *(type_2 *)(var_2 + 0x14);
  *(type_2 *)(var_1 + 0x18) = *(type_2 *)(var_2 + 0x18);
  locale::var_3((var_3 *)(var_1 + 0x1c),(var_3 *)(var_2 + 0x1c));
  return;
}


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

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

void MASKED(undefined4 *param_1,int param_2)

{
  *param_1 = &PTR_FUN_0038c0e4;
  param_1[1] = *(undefined4 *)(param_2 + 4);
  param_1[2] = *(undefined4 *)(param_2 + 8);
  param_1[3] = *(undefined4 *)(param_2 + 0xc);
  param_1[4] = *(undefined4 *)(param_2 + 0x10);
  param_1[5] = *(undefined4 *)(param_2 + 0x14);
  param_1[6] = *(undefined4 *)(param_2 + 0x18);
  FUN_001e8d40(param_1 + 7,param_2 + 0x1c);
  return;
}

