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

etree_type * exp_nameop(int code,char *name)

{
  etree_type *peVar1;
  char *pcVar2;
  
  peVar1 = (etree_type *)stat_alloc(0x14);
  (peVar1->type).node_code = code;
  pcVar2 = ldlex_filename();
  (peVar1->type).node_class = etree_name;
  (peVar1->type).filename = pcVar2;
  (peVar1->type).lineno = lineno;
  (peVar1->assign).dst = name;
  return peVar1;
}



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

undefined4 * FUN_0002f6b0(undefined4 param_1,undefined4 param_2)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  
  puVar1 = (undefined4 *)FUN_00021210(0x14);
  *puVar1 = param_1;
  uVar2 = FUN_0001b130();
  puVar1[3] = 3;
  puVar1[2] = uVar2;
  puVar1[1] = DAT_00091bac;
  puVar1[4] = param_2;
  return puVar1;
}


PUSH ESI
PUSH EBX
CALL 0x00015a80
ADD EBX,0x61949
SUB ESP,0x10
PUSH 0x14
CALL 0x00021210
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [ESI],EAX
CALL 0x0001b130
MOV dword ptr [ESI + 0xc],0x3
MOV dword ptr [ESI + 0x8],EAX
LEA EAX,[EBX + 0xbac]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESI + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x24]
MOV dword ptr [ESI + 0x10],EAX
ADD ESP,0x14
MOV EAX,ESI
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 * FUN_0002f6b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_00021210(0x14);\n  *puVar1 = param_1;\n  uVar2 = FUN_0001b130();\n  puVar1[3] = 3;\n  puVar1[2] = uVar2;\n  puVar1[1] = DAT_00091bac;\n  puVar1[4] = param_2;\n  return puVar1;\n}\n\n" comment (function_definition "undefined4 * FUN_0002f6b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_00021210(0x14);\n  *puVar1 = param_1;\n  uVar2 = FUN_0001b130();\n  puVar1[3] = 3;\n  puVar1[2] = uVar2;\n  puVar1[1] = DAT_00091bac;\n  puVar1[4] = param_2;\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_0002f6b0(undefined4 param_1,undefined4 param_2)" * (function_declarator "FUN_0002f6b0(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_00021210(0x14);\n  *puVar1 = param_1;\n  uVar2 = FUN_0001b130();\n  puVar1[3] = 3;\n  puVar1[2] = uVar2;\n  puVar1[1] = DAT_00091bac;\n  puVar1[4] = param_2;\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)FUN_00021210(0x14);" (assignment_expression "puVar1 = (undefined4 *)FUN_00021210(0x14)" identifier = (cast_expression "(undefined4 *)FUN_00021210(0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00021210(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "*puVar1 = param_1;" (assignment_expression "*puVar1 = param_1" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "uVar2 = FUN_0001b130();" (assignment_expression "uVar2 = FUN_0001b130()" identifier = (call_expression "FUN_0001b130()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1[3] = 3;" (assignment_expression "puVar1[3] = 3" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[2] = uVar2;" (assignment_expression "puVar1[2] = uVar2" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[1] = DAT_00091bac;" (assignment_expression "puVar1[1] = DAT_00091bac" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[4] = param_2;" (assignment_expression "puVar1[4] = param_2" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = identifier) ;) (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\netree_type * exp_nameop(int code,char *name)\n\n{\n  etree_type *peVar1;\n  char *pcVar2;\n  \n  peVar1 = (etree_type *)stat_alloc(0x14);\n  (peVar1->type).node_code = code;\n  pcVar2 = ldlex_filename();\n  (peVar1->type).node_class = etree_name;\n  (peVar1->type).filename = pcVar2;\n  (peVar1->type).lineno = lineno;\n  (peVar1->assign).dst = name;\n  return peVar1;\n}\n\n" comment comment (function_definition "etree_type * exp_nameop(int code,char *name)\n\n{\n  etree_type *peVar1;\n  char *pcVar2;\n  \n  peVar1 = (etree_type *)stat_alloc(0x14);\n  (peVar1->type).node_code = code;\n  pcVar2 = ldlex_filename();\n  (peVar1->type).node_class = etree_name;\n  (peVar1->type).filename = pcVar2;\n  (peVar1->type).lineno = lineno;\n  (peVar1->assign).dst = name;\n  return peVar1;\n}" type_identifier (pointer_declarator "* exp_nameop(int code,char *name)" * (function_declarator "exp_nameop(int code,char *name)" identifier (parameter_list "(int code,char *name)" ( (parameter_declaration "int code" primitive_type identifier) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) )))) (compound_statement "{\n  etree_type *peVar1;\n  char *pcVar2;\n  \n  peVar1 = (etree_type *)stat_alloc(0x14);\n  (peVar1->type).node_code = code;\n  pcVar2 = ldlex_filename();\n  (peVar1->type).node_class = etree_name;\n  (peVar1->type).filename = pcVar2;\n  (peVar1->type).lineno = lineno;\n  (peVar1->assign).dst = name;\n  return peVar1;\n}" { (declaration "etree_type *peVar1;" type_identifier (pointer_declarator "*peVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "peVar1 = (etree_type *)stat_alloc(0x14);" (assignment_expression "peVar1 = (etree_type *)stat_alloc(0x14)" identifier = (cast_expression "(etree_type *)stat_alloc(0x14)" ( (type_descriptor "etree_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "stat_alloc(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "(peVar1->type).node_code = code;" (assignment_expression "(peVar1->type).node_code = code" (field_expression "(peVar1->type).node_code" (parenthesized_expression "(peVar1->type)" ( (field_expression "peVar1->type" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pcVar2 = ldlex_filename();" (assignment_expression "pcVar2 = ldlex_filename()" identifier = (call_expression "ldlex_filename()" identifier (argument_list "()" ( )))) ;) (expression_statement "(peVar1->type).node_class = etree_name;" (assignment_expression "(peVar1->type).node_class = etree_name" (field_expression "(peVar1->type).node_class" (parenthesized_expression "(peVar1->type)" ( (field_expression "peVar1->type" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(peVar1->type).filename = pcVar2;" (assignment_expression "(peVar1->type).filename = pcVar2" (field_expression "(peVar1->type).filename" (parenthesized_expression "(peVar1->type)" ( (field_expression "peVar1->type" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(peVar1->type).lineno = lineno;" (assignment_expression "(peVar1->type).lineno = lineno" (field_expression "(peVar1->type).lineno" (parenthesized_expression "(peVar1->type)" ( (field_expression "peVar1->type" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(peVar1->assign).dst = name;" (assignment_expression "(peVar1->assign).dst = name" (field_expression "(peVar1->assign).dst" (parenthesized_expression "(peVar1->assign)" ( (field_expression "peVar1->assign" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (return_statement "return peVar1;" return identifier ;) })))
(translation_unit "undefined4 * FUN_0002f6b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_00021210(0x14);\n  *puVar1 = param_1;\n  uVar2 = FUN_0001b130();\n  puVar1[3] = 3;\n  puVar1[2] = uVar2;\n  puVar1[1] = DAT_00091bac;\n  puVar1[4] = param_2;\n  return puVar1;\n}\n\n" (function_definition "undefined4 * FUN_0002f6b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_00021210(0x14);\n  *puVar1 = param_1;\n  uVar2 = FUN_0001b130();\n  puVar1[3] = 3;\n  puVar1[2] = uVar2;\n  puVar1[1] = DAT_00091bac;\n  puVar1[4] = param_2;\n  return puVar1;\n}" type_identifier (pointer_declarator "* FUN_0002f6b0(undefined4 param_1,undefined4 param_2)" * (function_declarator "FUN_0002f6b0(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_00021210(0x14);\n  *puVar1 = param_1;\n  uVar2 = FUN_0001b130();\n  puVar1[3] = 3;\n  puVar1[2] = uVar2;\n  puVar1[1] = DAT_00091bac;\n  puVar1[4] = param_2;\n  return puVar1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = (undefined4 *)FUN_00021210(0x14);" (assignment_expression "puVar1 = (undefined4 *)FUN_00021210(0x14)" identifier = (cast_expression "(undefined4 *)FUN_00021210(0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00021210(0x14)" identifier (argument_list "(0x14)" ( number_literal ))))) ;) (expression_statement "*puVar1 = param_1;" (assignment_expression "*puVar1 = param_1" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "uVar2 = FUN_0001b130();" (assignment_expression "uVar2 = FUN_0001b130()" identifier = (call_expression "FUN_0001b130()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1[3] = 3;" (assignment_expression "puVar1[3] = 3" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[2] = uVar2;" (assignment_expression "puVar1[2] = uVar2" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[1] = DAT_00091bac;" (assignment_expression "puVar1[1] = DAT_00091bac" (subscript_expression "puVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[4] = param_2;" (assignment_expression "puVar1[4] = param_2" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = identifier) ;) (return_statement "return puVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_0002f6b0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_00021210(0x14);\n  *puVar1 = param_1;\n  uVar2 = FUN_0001b130();\n  puVar1[3] = 3;\n  puVar1[2] = uVar2;\n  puVar1[1] = DAT_00091bac;\n  puVar1[4] = param_2;\n  return puVar1;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_0002f6b0(undefined4 param_1,undefined4 param_2)" (* "*") (function_declarator "FUN_0002f6b0(undefined4 param_1,undefined4 param_2)" (identifier "FUN_0002f6b0") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  \n  puVar1 = (undefined4 *)FUN_00021210(0x14);\n  *puVar1 = param_1;\n  uVar2 = FUN_0001b130();\n  puVar1[3] = 3;\n  puVar1[2] = uVar2;\n  puVar1[1] = DAT_00091bac;\n  puVar1[4] = param_2;\n  return puVar1;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_00021210(0x14);" (assignment_expression "puVar1 = (undefined4 *)FUN_00021210(0x14)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_00021210(0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00021210(0x14)" (identifier "FUN_00021210") (argument_list "(0x14)" (( "(") (number_literal "0x14") () ")"))))) (; ";")) (expression_statement "*puVar1 = param_1;" (assignment_expression "*puVar1 = param_1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "uVar2 = FUN_0001b130();" (assignment_expression "uVar2 = FUN_0001b130()" (identifier "uVar2") (= "=") (call_expression "FUN_0001b130()" (identifier "FUN_0001b130") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar1[3] = 3;" (assignment_expression "puVar1[3] = 3" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "3")) (; ";")) (expression_statement "puVar1[2] = uVar2;" (assignment_expression "puVar1[2] = uVar2" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar1[1] = DAT_00091bac;" (assignment_expression "puVar1[1] = DAT_00091bac" (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "DAT_00091bac")) (; ";")) (expression_statement "puVar1[4] = param_2;" (assignment_expression "puVar1[4] = param_2" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "param_2")) (; ";")) (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(int code,char *name)

{
  type_1 *peVar1;
  char *pcVar2;
  
  peVar1 = (type_1 *)var_1(0x14);
  (peVar1->type).node_code = code;
  pcVar2 = var_2();
  (peVar1->type).node_class = etree_name;
  (peVar1->type).filename = pcVar2;
  (peVar1->type).lineno = lineno;
  (peVar1->assign).dst = name;
  return peVar1;
}


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

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

undefined4 * MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  
  puVar1 = (undefined4 *)FUN_00021210(0x14);
  *puVar1 = param_1;
  uVar2 = FUN_0001b130();
  puVar1[3] = 3;
  puVar1[2] = uVar2;
  puVar1[1] = DAT_00091bac;
  puVar1[4] = param_2;
  return puVar1;
}

