
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ios_base::_M_init() */

void std::ios_base::_M_init(void)

{
}



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

void FUN_003ff5d0(int param_1)

{
  undefined4 local_10;
  
  local_10 = 0x3ff5d8;
  *(undefined4 *)(param_1 + 4) = 6;
  *(undefined4 *)(param_1 + 8) = 0;
  *(undefined4 *)(param_1 + 0xc) = 0x1002;
  FUN_003ff340(&local_10);
  FUN_003b0750(param_1 + 0x6c,&local_10);
  FUN_003b07e0(&local_10);
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00050b50
ADD EBX,0x1eaa28
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x2c]
LEA EDI,[ESP + 0x18]
MOV dword ptr [ESI + 0x4],0x6
ADD ESI,0x6c
MOV dword ptr [ESI + -0x64],0x0
MOV dword ptr [ESI + -0x60],0x1002
PUSH EDI
CALL 0x003ff340
POP EAX
POP EDX
PUSH EDI
PUSH ESI
CALL 0x003b0750
MOV dword ptr [ESP],EDI
CALL 0x003b07e0
ADD ESP,0x20
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_003ff5d0(int param_1)\n\n{\n  undefined4 local_10;\n  \n  local_10 = 0x3ff5d8;\n  *(undefined4 *)(param_1 + 4) = 6;\n  *(undefined4 *)(param_1 + 8) = 0;\n  *(undefined4 *)(param_1 + 0xc) = 0x1002;\n  FUN_003ff340(&local_10);\n  FUN_003b0750(param_1 + 0x6c,&local_10);\n  FUN_003b07e0(&local_10);\n  return;\n}\n\n" comment (function_definition "void FUN_003ff5d0(int param_1)\n\n{\n  undefined4 local_10;\n  \n  local_10 = 0x3ff5d8;\n  *(undefined4 *)(param_1 + 4) = 6;\n  *(undefined4 *)(param_1 + 8) = 0;\n  *(undefined4 *)(param_1 + 0xc) = 0x1002;\n  FUN_003ff340(&local_10);\n  FUN_003b0750(param_1 + 0x6c,&local_10);\n  FUN_003b07e0(&local_10);\n  return;\n}" primitive_type (function_declarator "FUN_003ff5d0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 local_10;\n  \n  local_10 = 0x3ff5d8;\n  *(undefined4 *)(param_1 + 4) = 6;\n  *(undefined4 *)(param_1 + 8) = 0;\n  *(undefined4 *)(param_1 + 0xc) = 0x1002;\n  FUN_003ff340(&local_10);\n  FUN_003b0750(param_1 + 0x6c,&local_10);\n  FUN_003b07e0(&local_10);\n  return;\n}" { (declaration "undefined4 local_10;" type_identifier identifier ;) (expression_statement "local_10 = 0x3ff5d8;" (assignment_expression "local_10 = 0x3ff5d8" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 4) = 6;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 6" (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) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 0" (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) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0xc) = 0x1002;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = 0x1002" (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) )))) = number_literal) ;) (expression_statement "FUN_003ff340(&local_10);" (call_expression "FUN_003ff340(&local_10)" identifier (argument_list "(&local_10)" ( (pointer_expression "&local_10" & identifier) ))) ;) (expression_statement "FUN_003b0750(param_1 + 0x6c,&local_10);" (call_expression "FUN_003b0750(param_1 + 0x6c,&local_10)" identifier (argument_list "(param_1 + 0x6c,&local_10)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) , (pointer_expression "&local_10" & identifier) ))) ;) (expression_statement "FUN_003b07e0(&local_10);" (call_expression "FUN_003b07e0(&local_10)" identifier (argument_list "(&local_10)" ( (pointer_expression "&local_10" & identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::ios_base::_M_init() */\n\nvoid std::ios_base::_M_init(void)\n\n{\n}\n\n" comment comment (function_definition "void std::ios_base::_M_init(void)\n\n{\n}" primitive_type (ERROR "std::ios_base::" identifier : : identifier : :) (function_declarator "_M_init(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_003ff5d0(int param_1)\n\n{\n  undefined4 local_10;\n  \n  local_10 = 0x3ff5d8;\n  *(undefined4 *)(param_1 + 4) = 6;\n  *(undefined4 *)(param_1 + 8) = 0;\n  *(undefined4 *)(param_1 + 0xc) = 0x1002;\n  FUN_003ff340(&local_10);\n  FUN_003b0750(param_1 + 0x6c,&local_10);\n  FUN_003b07e0(&local_10);\n  return;\n}\n\n" (function_definition "void FUN_003ff5d0(int param_1)\n\n{\n  undefined4 local_10;\n  \n  local_10 = 0x3ff5d8;\n  *(undefined4 *)(param_1 + 4) = 6;\n  *(undefined4 *)(param_1 + 8) = 0;\n  *(undefined4 *)(param_1 + 0xc) = 0x1002;\n  FUN_003ff340(&local_10);\n  FUN_003b0750(param_1 + 0x6c,&local_10);\n  FUN_003b07e0(&local_10);\n  return;\n}" primitive_type (function_declarator "FUN_003ff5d0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 local_10;\n  \n  local_10 = 0x3ff5d8;\n  *(undefined4 *)(param_1 + 4) = 6;\n  *(undefined4 *)(param_1 + 8) = 0;\n  *(undefined4 *)(param_1 + 0xc) = 0x1002;\n  FUN_003ff340(&local_10);\n  FUN_003b0750(param_1 + 0x6c,&local_10);\n  FUN_003b07e0(&local_10);\n  return;\n}" { (declaration "undefined4 local_10;" type_identifier identifier ;) (expression_statement "local_10 = 0x3ff5d8;" (assignment_expression "local_10 = 0x3ff5d8" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 4) = 6;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 6" (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) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 0" (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) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0xc) = 0x1002;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = 0x1002" (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) )))) = number_literal) ;) (expression_statement "FUN_003ff340(&local_10);" (call_expression "FUN_003ff340(&local_10)" identifier (argument_list "(&local_10)" ( (pointer_expression "&local_10" & identifier) ))) ;) (expression_statement "FUN_003b0750(param_1 + 0x6c,&local_10);" (call_expression "FUN_003b0750(param_1 + 0x6c,&local_10)" identifier (argument_list "(param_1 + 0x6c,&local_10)" ( (binary_expression "param_1 + 0x6c" identifier + number_literal) , (pointer_expression "&local_10" & identifier) ))) ;) (expression_statement "FUN_003b07e0(&local_10);" (call_expression "FUN_003b07e0(&local_10)" identifier (argument_list "(&local_10)" ( (pointer_expression "&local_10" & identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_003ff5d0(int param_1)\n\n{\n  undefined4 local_10;\n  \n  local_10 = 0x3ff5d8;\n  *(undefined4 *)(param_1 + 4) = 6;\n  *(undefined4 *)(param_1 + 8) = 0;\n  *(undefined4 *)(param_1 + 0xc) = 0x1002;\n  FUN_003ff340(&local_10);\n  FUN_003b0750(param_1 + 0x6c,&local_10);\n  FUN_003b07e0(&local_10);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_003ff5d0(int param_1)" (identifier "FUN_003ff5d0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 local_10;\n  \n  local_10 = 0x3ff5d8;\n  *(undefined4 *)(param_1 + 4) = 6;\n  *(undefined4 *)(param_1 + 8) = 0;\n  *(undefined4 *)(param_1 + 0xc) = 0x1002;\n  FUN_003ff340(&local_10);\n  FUN_003b0750(param_1 + 0x6c,&local_10);\n  FUN_003b07e0(&local_10);\n  return;\n}" ({ "{") (declaration "undefined4 local_10;" (type_identifier "undefined4") (identifier "local_10") (; ";")) (expression_statement "local_10 = 0x3ff5d8;" (assignment_expression "local_10 = 0x3ff5d8" (identifier "local_10") (= "=") (number_literal "0x3ff5d8")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 4) = 6;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 6" (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "6")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 8) = 0" (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0xc) = 0x1002;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = 0x1002" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0x1002")) (; ";")) (expression_statement "FUN_003ff340(&local_10);" (call_expression "FUN_003ff340(&local_10)" (identifier "FUN_003ff340") (argument_list "(&local_10)" (( "(") (pointer_expression "&local_10" (& "&") (identifier "local_10")) () ")"))) (; ";")) (expression_statement "FUN_003b0750(param_1 + 0x6c,&local_10);" (call_expression "FUN_003b0750(param_1 + 0x6c,&local_10)" (identifier "FUN_003b0750") (argument_list "(param_1 + 0x6c,&local_10)" (( "(") (binary_expression "param_1 + 0x6c" (identifier "param_1") (+ "+") (number_literal "0x6c")) (, ",") (pointer_expression "&local_10" (& "&") (identifier "local_10")) () ")"))) (; ";")) (expression_statement "FUN_003b07e0(&local_10);" (call_expression "FUN_003b07e0(&local_10)" (identifier "FUN_003b07e0") (argument_list "(&local_10)" (( "(") (pointer_expression "&local_10" (& "&") (identifier "local_10")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::ios_base::_M_init() */

void std::ios_base::function_1(void)

{
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (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))))) right: (number_literal))) (expression_statement (assignment_expression left: (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))))) right: (number_literal))) (expression_statement (assignment_expression left: (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))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (return_statement))))

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

void MASKED(int param_1)

{
  undefined4 local_10;
  
  local_10 = 0x3ff5d8;
  *(undefined4 *)(param_1 + 4) = 6;
  *(undefined4 *)(param_1 + 8) = 0;
  *(undefined4 *)(param_1 + 0xc) = 0x1002;
  FUN_003ff340(&local_10);
  FUN_003b0750(param_1 + 0x6c,&local_10);
  FUN_003b07e0(&local_10);
  return;
}

