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

void fpush(int val)

{
  fstack_rec *pfVar1;
  
  pfVar1 = (fstack_rec *)bc_malloc(8);
  pfVar1->s_next = fn_stack;
  pfVar1->s_val = val;
  fn_stack = pfVar1;
  return;
}



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

void FUN_00017d00(undefined4 param_1)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)FUN_00019450(8);
  puVar1[1] = DAT_00029250;
  *puVar1 = param_1;
  DAT_00029250 = puVar1;
  return;
}


PUSH EBX
CALL 0x00011650
ADD EBX,0x111fe
SUB ESP,0x14
PUSH 0x8
CALL 0x00019450
LEA EDX,[EBX + 0x34c]
MOV ECX,dword ptr [EDX]
MOV dword ptr [EAX + 0x4],ECX
MOV ECX,dword ptr [ESP + 0x20]
MOV dword ptr [EAX],ECX
MOV dword ptr [EDX],EAX
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_00017d00(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00019450(8);\n  puVar1[1] = DAT_00029250;\n  *puVar1 = param_1;\n  DAT_00029250 = puVar1;\n  return;\n}\n\n" comment (function_definition "void FUN_00017d00(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00019450(8);\n  puVar1[1] = DAT_00029250;\n  *puVar1 = param_1;\n  DAT_00029250 = puVar1;\n  return;\n}" primitive_type (function_declarator "FUN_00017d00(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00019450(8);\n  puVar1[1] = DAT_00029250;\n  *puVar1 = param_1;\n  DAT_00029250 = puVar1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)FUN_00019450(8);" (assignment_expression "puVar1 = (undefined4 *)FUN_00019450(8)" identifier = (cast_expression "(undefined4 *)FUN_00019450(8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019450(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar1[1] = DAT_00029250;" (assignment_expression "puVar1[1] = DAT_00029250" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = param_1;" (assignment_expression "*puVar1 = param_1" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "DAT_00029250 = puVar1;" (assignment_expression "DAT_00029250 = puVar1" identifier = identifier) ;) (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 */\n\nvoid fpush(int val)\n\n{\n  fstack_rec *pfVar1;\n  \n  pfVar1 = (fstack_rec *)bc_malloc(8);\n  pfVar1->s_next = fn_stack;\n  pfVar1->s_val = val;\n  fn_stack = pfVar1;\n  return;\n}\n\n" comment comment (function_definition "void fpush(int val)\n\n{\n  fstack_rec *pfVar1;\n  \n  pfVar1 = (fstack_rec *)bc_malloc(8);\n  pfVar1->s_next = fn_stack;\n  pfVar1->s_val = val;\n  fn_stack = pfVar1;\n  return;\n}" primitive_type (function_declarator "fpush(int val)" identifier (parameter_list "(int val)" ( (parameter_declaration "int val" primitive_type identifier) ))) (compound_statement "{\n  fstack_rec *pfVar1;\n  \n  pfVar1 = (fstack_rec *)bc_malloc(8);\n  pfVar1->s_next = fn_stack;\n  pfVar1->s_val = val;\n  fn_stack = pfVar1;\n  return;\n}" { (declaration "fstack_rec *pfVar1;" type_identifier (pointer_declarator "*pfVar1" * identifier) ;) (expression_statement "pfVar1 = (fstack_rec *)bc_malloc(8);" (assignment_expression "pfVar1 = (fstack_rec *)bc_malloc(8)" identifier = (cast_expression "(fstack_rec *)bc_malloc(8)" ( (type_descriptor "fstack_rec *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "bc_malloc(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "pfVar1->s_next = fn_stack;" (assignment_expression "pfVar1->s_next = fn_stack" (field_expression "pfVar1->s_next" identifier -> field_identifier) = identifier) ;) (expression_statement "pfVar1->s_val = val;" (assignment_expression "pfVar1->s_val = val" (field_expression "pfVar1->s_val" identifier -> field_identifier) = identifier) ;) (expression_statement "fn_stack = pfVar1;" (assignment_expression "fn_stack = pfVar1" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00017d00(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00019450(8);\n  puVar1[1] = DAT_00029250;\n  *puVar1 = param_1;\n  DAT_00029250 = puVar1;\n  return;\n}\n\n" (function_definition "void FUN_00017d00(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00019450(8);\n  puVar1[1] = DAT_00029250;\n  *puVar1 = param_1;\n  DAT_00029250 = puVar1;\n  return;\n}" primitive_type (function_declarator "FUN_00017d00(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00019450(8);\n  puVar1[1] = DAT_00029250;\n  *puVar1 = param_1;\n  DAT_00029250 = puVar1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = (undefined4 *)FUN_00019450(8);" (assignment_expression "puVar1 = (undefined4 *)FUN_00019450(8)" identifier = (cast_expression "(undefined4 *)FUN_00019450(8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00019450(8)" identifier (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar1[1] = DAT_00029250;" (assignment_expression "puVar1[1] = DAT_00029250" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = param_1;" (assignment_expression "*puVar1 = param_1" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "DAT_00029250 = puVar1;" (assignment_expression "DAT_00029250 = puVar1" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (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 (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00017d00(undefined4 param_1)\n\n{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00019450(8);\n  puVar1[1] = DAT_00029250;\n  *puVar1 = param_1;\n  DAT_00029250 = puVar1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00017d00(undefined4 param_1)" (identifier "FUN_00017d00") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  puVar1 = (undefined4 *)FUN_00019450(8);\n  puVar1[1] = DAT_00029250;\n  *puVar1 = param_1;\n  DAT_00029250 = puVar1;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_00019450(8);" (assignment_expression "puVar1 = (undefined4 *)FUN_00019450(8)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_00019450(8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00019450(8)" (identifier "FUN_00019450") (argument_list "(8)" (( "(") (number_literal "8") () ")"))))) (; ";")) (expression_statement "puVar1[1] = DAT_00029250;" (assignment_expression "puVar1[1] = DAT_00029250" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "DAT_00029250")) (; ";")) (expression_statement "*puVar1 = param_1;" (assignment_expression "*puVar1 = param_1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "DAT_00029250 = puVar1;" (assignment_expression "DAT_00029250 = puVar1" (identifier "DAT_00029250") (= "=") (identifier "puVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(int val)

{
  type_1 *pfVar1;
  
  pfVar1 = (type_1 *)var_1(8);
  pfVar1->s_next = fn_stack;
  pfVar1->s_val = val;
  fn_stack = pfVar1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) 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 (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement))))

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

void MASKED(undefined4 param_1)

{
  undefined4 *puVar1;
  
  puVar1 = (undefined4 *)FUN_00019450(8);
  puVar1[1] = DAT_00029250;
  *puVar1 = param_1;
  DAT_00029250 = puVar1;
  return;
}

