
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

formal_entry * new_formal(void)

{
  formal_entry *pfVar1;
  
  pfVar1 = (formal_entry *)xmalloc(0x30);
  sb_new(&pfVar1->name);
  sb_new(&pfVar1->def);
  sb_new(&pfVar1->actual);
  pfVar1->next = (formal_struct *)0x0;
  pfVar1->type = FORMAL_OPTIONAL;
  return pfVar1;
}



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

undefined4 * FUN_00028ba0(void)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)xmalloc(0x30);
  FUN_00035790(puVar1 + 1);
  FUN_00035790(puVar1 + 4);
  FUN_00035790(puVar1 + 7);
  *puVar1 = 0;
  puVar1[0xb] = 0;
  return puVar1;
}


PUSH ESI
PUSH EBX
CALL 0x00016000
ADD EBX,0x57459
SUB ESP,0x10
PUSH 0x30
CALL 0x00014790
MOV ESI,EAX
LEA EAX,[EAX + 0x4]
MOV dword ptr [ESP],EAX
CALL 0x00035790
LEA EAX,[ESI + 0x10]
MOV dword ptr [ESP],EAX
CALL 0x00035790
LEA EAX,[ESI + 0x1c]
MOV dword ptr [ESP],EAX
CALL 0x00035790
MOV dword ptr [ESI],0x0
MOV EAX,ESI
MOV dword ptr [ESI + 0x2c],0x0
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\nundefined4 * FUN_00028ba0(void)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)xmalloc(0x30);\n  FUN_00035790(puVar1 + 1);\n  FUN_00035790(puVar1 + 4);\n  FUN_00035790(puVar1 + 7);\n  *puVar1 = 0;\n  puVar1[0xb] = 0;\n  return puVar1;\n}\n\n" comment (function_definition "undefined4 * FUN_00028ba0(void)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)xmalloc(0x30);\n  FUN_00035790(puVar1 + 1);\n  FUN_00035790(puVar1 + 4);\n  FUN_00035790(puVar1 + 7);\n  *puVar1 = 0;\n  puVar1[0xb] = 0;\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_00028ba0(void)" * (function_declarator "FUN_00028ba0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)xmalloc(0x30);\n  FUN_00035790(puVar1 + 1);\n  FUN_00035790(puVar1 + 4);\n  FUN_00035790(puVar1 + 7);\n  *puVar1 = 0;\n  puVar1[0xb] = 0;\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)xmalloc(0x30);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(0x30)" identifier = (cast_expression "(undefined4 *)xmalloc(0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "FUN_00035790(puVar1 + 1);" (call_expression "FUN_00035790(puVar1 + 1)" identifier (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) ;) (expression_statement "FUN_00035790(puVar1 + 4);" (call_expression "FUN_00035790(puVar1 + 4)" identifier (argument_list "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) ))) ;) (expression_statement "FUN_00035790(puVar1 + 7);" (call_expression "FUN_00035790(puVar1 + 7)" identifier (argument_list "(puVar1 + 7)" ( (binary_expression "puVar1 + 7" identifier + number_literal) ))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[0xb] = 0;" (assignment_expression "puVar1[0xb] = 0" (subscript_expression "puVar1[0xb]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nformal_entry * new_formal(void)\n\n{\n  formal_entry *pfVar1;\n  \n  pfVar1 = (formal_entry *)xmalloc(0x30);\n  sb_new(&pfVar1->name);\n  sb_new(&pfVar1->def);\n  sb_new(&pfVar1->actual);\n  pfVar1->next = (formal_struct *)0x0;\n  pfVar1->type = FORMAL_OPTIONAL;\n  return pfVar1;\n}\n\n" comment comment (function_definition "formal_entry * new_formal(void)\n\n{\n  formal_entry *pfVar1;\n  \n  pfVar1 = (formal_entry *)xmalloc(0x30);\n  sb_new(&pfVar1->name);\n  sb_new(&pfVar1->def);\n  sb_new(&pfVar1->actual);\n  pfVar1->next = (formal_struct *)0x0;\n  pfVar1->type = FORMAL_OPTIONAL;\n  return pfVar1;\n}" type_identifier (pointer_declarator "* new_formal(void)" * (function_declarator "new_formal(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  formal_entry *pfVar1;\n  \n  pfVar1 = (formal_entry *)xmalloc(0x30);\n  sb_new(&pfVar1->name);\n  sb_new(&pfVar1->def);\n  sb_new(&pfVar1->actual);\n  pfVar1->next = (formal_struct *)0x0;\n  pfVar1->type = FORMAL_OPTIONAL;\n  return pfVar1;\n}" { (declaration "formal_entry *pfVar1;" type_identifier (pointer_declarator "*pfVar1" * identifier) ;) (expression_statement "pfVar1 = (formal_entry *)xmalloc(0x30);" (assignment_expression "pfVar1 = (formal_entry *)xmalloc(0x30)" identifier = (cast_expression "(formal_entry *)xmalloc(0x30)" ( (type_descriptor "formal_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "sb_new(&pfVar1->name);" (call_expression "sb_new(&pfVar1->name)" identifier (argument_list "(&pfVar1->name)" ( (pointer_expression "&pfVar1->name" & (field_expression "pfVar1->name" identifier -> field_identifier)) ))) ;) (expression_statement "sb_new(&pfVar1->def);" (call_expression "sb_new(&pfVar1->def)" identifier (argument_list "(&pfVar1->def)" ( (pointer_expression "&pfVar1->def" & (field_expression "pfVar1->def" identifier -> field_identifier)) ))) ;) (expression_statement "sb_new(&pfVar1->actual);" (call_expression "sb_new(&pfVar1->actual)" identifier (argument_list "(&pfVar1->actual)" ( (pointer_expression "&pfVar1->actual" & (field_expression "pfVar1->actual" identifier -> field_identifier)) ))) ;) (expression_statement "pfVar1->next = (formal_struct *)0x0;" (assignment_expression "pfVar1->next = (formal_struct *)0x0" (field_expression "pfVar1->next" identifier -> field_identifier) = (cast_expression "(formal_struct *)0x0" ( (type_descriptor "formal_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pfVar1->type = FORMAL_OPTIONAL;" (assignment_expression "pfVar1->type = FORMAL_OPTIONAL" (field_expression "pfVar1->type" identifier -> field_identifier) = identifier) ;) (return_statement "return pfVar1;" return identifier ;) })))
(translation_unit "undefined4 * FUN_00028ba0(void)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)xmalloc(0x30);\n  FUN_00035790(puVar1 + 1);\n  FUN_00035790(puVar1 + 4);\n  FUN_00035790(puVar1 + 7);\n  *puVar1 = 0;\n  puVar1[0xb] = 0;\n  return puVar1;\n}\n\n" (function_definition "undefined4 * FUN_00028ba0(void)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)xmalloc(0x30);\n  FUN_00035790(puVar1 + 1);\n  FUN_00035790(puVar1 + 4);\n  FUN_00035790(puVar1 + 7);\n  *puVar1 = 0;\n  puVar1[0xb] = 0;\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_00028ba0(void)" * (function_declarator "FUN_00028ba0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)xmalloc(0x30);\n  FUN_00035790(puVar1 + 1);\n  FUN_00035790(puVar1 + 4);\n  FUN_00035790(puVar1 + 7);\n  *puVar1 = 0;\n  puVar1[0xb] = 0;\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)xmalloc(0x30);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(0x30)" identifier = (cast_expression "(undefined4 *)xmalloc(0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "FUN_00035790(puVar1 + 1);" (call_expression "FUN_00035790(puVar1 + 1)" identifier (argument_list "(puVar1 + 1)" ( (binary_expression "puVar1 + 1" identifier + number_literal) ))) ;) (expression_statement "FUN_00035790(puVar1 + 4);" (call_expression "FUN_00035790(puVar1 + 4)" identifier (argument_list "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) ))) ;) (expression_statement "FUN_00035790(puVar1 + 7);" (call_expression "FUN_00035790(puVar1 + 7)" identifier (argument_list "(puVar1 + 7)" ( (binary_expression "puVar1 + 7" identifier + number_literal) ))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1[0xb] = 0;" (assignment_expression "puVar1[0xb] = 0" (subscript_expression "puVar1[0xb]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_00028ba0(void)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)xmalloc(0x30);\n  FUN_00035790(puVar1 + 1);\n  FUN_00035790(puVar1 + 4);\n  FUN_00035790(puVar1 + 7);\n  *puVar1 = 0;\n  puVar1[0xb] = 0;\n  return puVar1;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_00028ba0(void)" (* "*") (function_declarator "FUN_00028ba0(void)" (identifier "FUN_00028ba0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)xmalloc(0x30);\n  FUN_00035790(puVar1 + 1);\n  FUN_00035790(puVar1 + 4);\n  FUN_00035790(puVar1 + 7);\n  *puVar1 = 0;\n  puVar1[0xb] = 0;\n  return puVar1;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = (undefined4 *)xmalloc(0x30);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(0x30)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)xmalloc(0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x30)" (identifier "xmalloc") (argument_list "(0x30)" (( "(") (number_literal "0x30") () ")"))))) (; ";")) (expression_statement "FUN_00035790(puVar1 + 1);" (call_expression "FUN_00035790(puVar1 + 1)" (identifier "FUN_00035790") (argument_list "(puVar1 + 1)" (( "(") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "FUN_00035790(puVar1 + 4);" (call_expression "FUN_00035790(puVar1 + 4)" (identifier "FUN_00035790") (argument_list "(puVar1 + 4)" (( "(") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4")) () ")"))) (; ";")) (expression_statement "FUN_00035790(puVar1 + 7);" (call_expression "FUN_00035790(puVar1 + 7)" (identifier "FUN_00035790") (argument_list "(puVar1 + 7)" (( "(") (binary_expression "puVar1 + 7" (identifier "puVar1") (+ "+") (number_literal "7")) () ")"))) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1[0xb] = 0;" (assignment_expression "puVar1[0xb] = 0" (subscript_expression "puVar1[0xb]" (identifier "puVar1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

type_1 * function_1(void)

{
  type_1 *pfVar1;
  
  pfVar1 = (type_1 *)var_1(0x30);
  var_2(&pfVar1->name);
  var_2(&pfVar1->def);
  var_2(&pfVar1->actual);
  pfVar1->next = (type_2 *)0x0;
  pfVar1->type = FORMAL_OPTIONAL;
  return pfVar1;
}


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

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

undefined4 * MASKED(void)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)xmalloc(0x30);
  FUN_00035790(puVar1 + 1);
  FUN_00035790(puVar1 + 4);
  FUN_00035790(puVar1 + 7);
  *puVar1 = 0;
  puVar1[0xb] = 0;
  return puVar1;
}

