
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void input_scrub_reinit(void)

{
  size_t sVar1;
  
  input_file_begin();
  logical_input_line = -1;
  logical_input_file = (char *)0x0;
  sVar1 = input_file_buffer_size();
  buffer_length = sVar1 * 2;
  buffer_start = (char *)xmalloc(buffer_length + 3);
  *buffer_start = '\n';
  return;
}



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

void FUN_00027610(void)

{
  int iVar1;
  
  FUN_000270b0();
  DAT_000837fc = 0xffffffff;
  DAT_00083804 = 0;
  iVar1 = FUN_000270e0();
  DAT_00083818 = iVar1 * 2;
  DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3);
  *DAT_00083828 = 10;
  return;
}


PUSH EBX
CALL 0x00019010
ADD EBX,0x539ea
SUB ESP,0x8
CALL 0x000270b0
MOV dword ptr [EBX + 0x87fc],0xffffffff
MOV dword ptr [EBX + 0x8804],0x0
CALL 0x000270e0
SUB ESP,0xc
ADD EAX,EAX
MOV dword ptr [EBX + 0x8818],EAX
ADD EAX,0x3
PUSH EAX
CALL 0x00017780
MOV dword ptr [EBX + 0x8828],EAX
MOV byte ptr [EAX],0xa
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_00027610(void)\n\n{\n  int iVar1;\n  \n  FUN_000270b0();\n  DAT_000837fc = 0xffffffff;\n  DAT_00083804 = 0;\n  iVar1 = FUN_000270e0();\n  DAT_00083818 = iVar1 * 2;\n  DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3);\n  *DAT_00083828 = 10;\n  return;\n}\n\n" comment (function_definition "void FUN_00027610(void)\n\n{\n  int iVar1;\n  \n  FUN_000270b0();\n  DAT_000837fc = 0xffffffff;\n  DAT_00083804 = 0;\n  iVar1 = FUN_000270e0();\n  DAT_00083818 = iVar1 * 2;\n  DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3);\n  *DAT_00083828 = 10;\n  return;\n}" primitive_type (function_declarator "FUN_00027610(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  FUN_000270b0();\n  DAT_000837fc = 0xffffffff;\n  DAT_00083804 = 0;\n  iVar1 = FUN_000270e0();\n  DAT_00083818 = iVar1 * 2;\n  DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3);\n  *DAT_00083828 = 10;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "FUN_000270b0();" (call_expression "FUN_000270b0()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_000837fc = 0xffffffff;" (assignment_expression "DAT_000837fc = 0xffffffff" identifier = number_literal) ;) (expression_statement "DAT_00083804 = 0;" (assignment_expression "DAT_00083804 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = FUN_000270e0();" (assignment_expression "iVar1 = FUN_000270e0()" identifier = (call_expression "FUN_000270e0()" identifier (argument_list "()" ( )))) ;) (expression_statement "DAT_00083818 = iVar1 * 2;" (assignment_expression "DAT_00083818 = iVar1 * 2" identifier = (binary_expression "iVar1 * 2" identifier * number_literal)) ;) (expression_statement "DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3);" (assignment_expression "DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3)" identifier = (cast_expression "(undefined1 *)xmalloc(DAT_00083818 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(DAT_00083818 + 3)" identifier (argument_list "(DAT_00083818 + 3)" ( (binary_expression "DAT_00083818 + 3" identifier + number_literal) ))))) ;) (expression_statement "*DAT_00083828 = 10;" (assignment_expression "*DAT_00083828 = 10" (pointer_expression "*DAT_00083828" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid input_scrub_reinit(void)\n\n{\n  size_t sVar1;\n  \n  input_file_begin();\n  logical_input_line = -1;\n  logical_input_file = (char *)0x0;\n  sVar1 = input_file_buffer_size();\n  buffer_length = sVar1 * 2;\n  buffer_start = (char *)xmalloc(buffer_length + 3);\n  *buffer_start = '\n';\n  return;\n}\n\n" comment comment (function_definition "void input_scrub_reinit(void)\n\n{\n  size_t sVar1;\n  \n  input_file_begin();\n  logical_input_line = -1;\n  logical_input_file = (char *)0x0;\n  sVar1 = input_file_buffer_size();\n  buffer_length = sVar1 * 2;\n  buffer_start = (char *)xmalloc(buffer_length + 3);\n  *buffer_start = '\n';\n  return;\n}" primitive_type (function_declarator "input_scrub_reinit(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  size_t sVar1;\n  \n  input_file_begin();\n  logical_input_line = -1;\n  logical_input_file = (char *)0x0;\n  sVar1 = input_file_buffer_size();\n  buffer_length = sVar1 * 2;\n  buffer_start = (char *)xmalloc(buffer_length + 3);\n  *buffer_start = '\n';\n  return;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (expression_statement "input_file_begin();" (call_expression "input_file_begin()" identifier (argument_list "()" ( ))) ;) (expression_statement "logical_input_line = -1;" (assignment_expression "logical_input_line = -1" identifier = number_literal) ;) (expression_statement "logical_input_file = (char *)0x0;" (assignment_expression "logical_input_file = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "sVar1 = input_file_buffer_size();" (assignment_expression "sVar1 = input_file_buffer_size()" identifier = (call_expression "input_file_buffer_size()" identifier (argument_list "()" ( )))) ;) (expression_statement "buffer_length = sVar1 * 2;" (assignment_expression "buffer_length = sVar1 * 2" identifier = (binary_expression "sVar1 * 2" identifier * number_literal)) ;) (expression_statement "buffer_start = (char *)xmalloc(buffer_length + 3);" (assignment_expression "buffer_start = (char *)xmalloc(buffer_length + 3)" identifier = (cast_expression "(char *)xmalloc(buffer_length + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(buffer_length + 3)" identifier (argument_list "(buffer_length + 3)" ( (binary_expression "buffer_length + 3" identifier + number_literal) ))))) ;) (expression_statement "*buffer_start = '\n';" (assignment_expression "*buffer_start = '\n'" (pointer_expression "*buffer_start" * identifier) = (char_literal "'\n'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00027610(void)\n\n{\n  int iVar1;\n  \n  FUN_000270b0();\n  DAT_000837fc = 0xffffffff;\n  DAT_00083804 = 0;\n  iVar1 = FUN_000270e0();\n  DAT_00083818 = iVar1 * 2;\n  DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3);\n  *DAT_00083828 = 10;\n  return;\n}\n\n" (function_definition "void FUN_00027610(void)\n\n{\n  int iVar1;\n  \n  FUN_000270b0();\n  DAT_000837fc = 0xffffffff;\n  DAT_00083804 = 0;\n  iVar1 = FUN_000270e0();\n  DAT_00083818 = iVar1 * 2;\n  DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3);\n  *DAT_00083828 = 10;\n  return;\n}" primitive_type (function_declarator "FUN_00027610(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  FUN_000270b0();\n  DAT_000837fc = 0xffffffff;\n  DAT_00083804 = 0;\n  iVar1 = FUN_000270e0();\n  DAT_00083818 = iVar1 * 2;\n  DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3);\n  *DAT_00083828 = 10;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "FUN_000270b0();" (call_expression "FUN_000270b0()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_000837fc = 0xffffffff;" (assignment_expression "DAT_000837fc = 0xffffffff" identifier = number_literal) ;) (expression_statement "DAT_00083804 = 0;" (assignment_expression "DAT_00083804 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = FUN_000270e0();" (assignment_expression "iVar1 = FUN_000270e0()" identifier = (call_expression "FUN_000270e0()" identifier (argument_list "()" ( )))) ;) (expression_statement "DAT_00083818 = iVar1 * 2;" (assignment_expression "DAT_00083818 = iVar1 * 2" identifier = (binary_expression "iVar1 * 2" identifier * number_literal)) ;) (expression_statement "DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3);" (assignment_expression "DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3)" identifier = (cast_expression "(undefined1 *)xmalloc(DAT_00083818 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(DAT_00083818 + 3)" identifier (argument_list "(DAT_00083818 + 3)" ( (binary_expression "DAT_00083818 + 3" identifier + number_literal) ))))) ;) (expression_statement "*DAT_00083828 = 10;" (assignment_expression "*DAT_00083828 = 10" (pointer_expression "*DAT_00083828" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_00027610(void)\n\n{\n  int iVar1;\n  \n  FUN_000270b0();\n  DAT_000837fc = 0xffffffff;\n  DAT_00083804 = 0;\n  iVar1 = FUN_000270e0();\n  DAT_00083818 = iVar1 * 2;\n  DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3);\n  *DAT_00083828 = 10;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00027610(void)" (identifier "FUN_00027610") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  FUN_000270b0();\n  DAT_000837fc = 0xffffffff;\n  DAT_00083804 = 0;\n  iVar1 = FUN_000270e0();\n  DAT_00083818 = iVar1 * 2;\n  DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3);\n  *DAT_00083828 = 10;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "FUN_000270b0();" (call_expression "FUN_000270b0()" (identifier "FUN_000270b0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "DAT_000837fc = 0xffffffff;" (assignment_expression "DAT_000837fc = 0xffffffff" (identifier "DAT_000837fc") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "DAT_00083804 = 0;" (assignment_expression "DAT_00083804 = 0" (identifier "DAT_00083804") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar1 = FUN_000270e0();" (assignment_expression "iVar1 = FUN_000270e0()" (identifier "iVar1") (= "=") (call_expression "FUN_000270e0()" (identifier "FUN_000270e0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "DAT_00083818 = iVar1 * 2;" (assignment_expression "DAT_00083818 = iVar1 * 2" (identifier "DAT_00083818") (= "=") (binary_expression "iVar1 * 2" (identifier "iVar1") (* "*") (number_literal "2"))) (; ";")) (expression_statement "DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3);" (assignment_expression "DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3)" (identifier "DAT_00083828") (= "=") (cast_expression "(undefined1 *)xmalloc(DAT_00083818 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(DAT_00083818 + 3)" (identifier "xmalloc") (argument_list "(DAT_00083818 + 3)" (( "(") (binary_expression "DAT_00083818 + 3" (identifier "DAT_00083818") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "*DAT_00083828 = 10;" (assignment_expression "*DAT_00083828 = 10" (pointer_expression "*DAT_00083828" (* "*") (identifier "DAT_00083828")) (= "=") (number_literal "10")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  size_t var_3;
  
  var_1();
  logical_input_line = -1;
  logical_input_file = (char *)0x0;
  var_3 = var_2();
  var_5 = var_3 * 2;
  buffer_start = (char *)var_4(var_5 + 3);
  *buffer_start = '\n';
  return;
}


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

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

void MASKED(void)

{
  int iVar1;
  
  FUN_000270b0();
  DAT_000837fc = 0xffffffff;
  DAT_00083804 = 0;
  iVar1 = FUN_000270e0();
  DAT_00083818 = iVar1 * 2;
  DAT_00083828 = (undefined1 *)xmalloc(DAT_00083818 + 3);
  *DAT_00083828 = 10;
  return;
}

