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

bfd_elf_version_tree *
lang_new_vers_node(bfd_elf_version_expr *globals,bfd_elf_version_expr *locals)

{
  bfd_elf_version_tree *pbVar1;
  
  pbVar1 = (bfd_elf_version_tree *)xcalloc(1,0x3c);
  pbVar1->name_indx = 0xffffffff;
  (pbVar1->globals).list = globals;
  (pbVar1->locals).list = locals;
  pbVar1->match = lang_vers_match;
  return pbVar1;
}



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

void FUN_000283a0(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  
  iVar1 = xcalloc(1,0x3c);
  *(undefined4 *)(iVar1 + 0x30) = 0xffffffff;
  *(undefined4 *)(iVar1 + 0xc) = param_1;
  *(undefined4 *)(iVar1 + 0x1c) = param_2;
  *(code **)(iVar1 + 0x38) = FUN_0001ecd0;
  return;
}


PUSH EBX
CALL 0x00015a40
ADD EBX,0x6fc5a
SUB ESP,0x10
PUSH 0x3c
PUSH 0x1
CALL 0x00014bf0
MOV EDX,dword ptr [ESP + 0x20]
MOV dword ptr [EAX + 0x30],0xffffffff
MOV dword ptr [EAX + 0xc],EDX
MOV EDX,dword ptr [ESP + 0x24]
MOV dword ptr [EAX + 0x1c],EDX
LEA EDX,[EBX + 0xfff86cd0]
MOV dword ptr [EAX + 0x38],EDX
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_000283a0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = xcalloc(1,0x3c);\n  *(undefined4 *)(iVar1 + 0x30) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0xc) = param_1;\n  *(undefined4 *)(iVar1 + 0x1c) = param_2;\n  *(code **)(iVar1 + 0x38) = FUN_0001ecd0;\n  return;\n}\n\n" comment (function_definition "void FUN_000283a0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = xcalloc(1,0x3c);\n  *(undefined4 *)(iVar1 + 0x30) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0xc) = param_1;\n  *(undefined4 *)(iVar1 + 0x1c) = param_2;\n  *(code **)(iVar1 + 0x38) = FUN_0001ecd0;\n  return;\n}" primitive_type (function_declarator "FUN_000283a0(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  int iVar1;\n  \n  iVar1 = xcalloc(1,0x3c);\n  *(undefined4 *)(iVar1 + 0x30) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0xc) = param_1;\n  *(undefined4 *)(iVar1 + 0x1c) = param_2;\n  *(code **)(iVar1 + 0x38) = FUN_0001ecd0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = xcalloc(1,0x3c);" (assignment_expression "iVar1 = xcalloc(1,0x3c)" identifier = (call_expression "xcalloc(1,0x3c)" identifier (argument_list "(1,0x3c)" ( number_literal , number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" * (cast_expression "(undefined4 *)(iVar1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = param_1;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = param_1" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = param_2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = param_2" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" * (cast_expression "(undefined4 *)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(iVar1 + 0x38) = FUN_0001ecd0;" (assignment_expression "*(code **)(iVar1 + 0x38) = FUN_0001ecd0" (pointer_expression "*(code **)(iVar1 + 0x38)" * (cast_expression "(code **)(iVar1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x38)" ( (binary_expression "iVar1 + 0x38" identifier + number_literal) )))) = 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\nbfd_elf_version_tree *\nlang_new_vers_node(bfd_elf_version_expr *globals,bfd_elf_version_expr *locals)\n\n{\n  bfd_elf_version_tree *pbVar1;\n  \n  pbVar1 = (bfd_elf_version_tree *)xcalloc(1,0x3c);\n  pbVar1->name_indx = 0xffffffff;\n  (pbVar1->globals).list = globals;\n  (pbVar1->locals).list = locals;\n  pbVar1->match = lang_vers_match;\n  return pbVar1;\n}\n\n" comment comment (function_definition "bfd_elf_version_tree *\nlang_new_vers_node(bfd_elf_version_expr *globals,bfd_elf_version_expr *locals)\n\n{\n  bfd_elf_version_tree *pbVar1;\n  \n  pbVar1 = (bfd_elf_version_tree *)xcalloc(1,0x3c);\n  pbVar1->name_indx = 0xffffffff;\n  (pbVar1->globals).list = globals;\n  (pbVar1->locals).list = locals;\n  pbVar1->match = lang_vers_match;\n  return pbVar1;\n}" type_identifier (pointer_declarator "*\nlang_new_vers_node(bfd_elf_version_expr *globals,bfd_elf_version_expr *locals)" * (function_declarator "lang_new_vers_node(bfd_elf_version_expr *globals,bfd_elf_version_expr *locals)" identifier (parameter_list "(bfd_elf_version_expr *globals,bfd_elf_version_expr *locals)" ( (parameter_declaration "bfd_elf_version_expr *globals" type_identifier (pointer_declarator "*globals" * identifier)) , (parameter_declaration "bfd_elf_version_expr *locals" type_identifier (pointer_declarator "*locals" * identifier)) )))) (compound_statement "{\n  bfd_elf_version_tree *pbVar1;\n  \n  pbVar1 = (bfd_elf_version_tree *)xcalloc(1,0x3c);\n  pbVar1->name_indx = 0xffffffff;\n  (pbVar1->globals).list = globals;\n  (pbVar1->locals).list = locals;\n  pbVar1->match = lang_vers_match;\n  return pbVar1;\n}" { (declaration "bfd_elf_version_tree *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (expression_statement "pbVar1 = (bfd_elf_version_tree *)xcalloc(1,0x3c);" (assignment_expression "pbVar1 = (bfd_elf_version_tree *)xcalloc(1,0x3c)" identifier = (cast_expression "(bfd_elf_version_tree *)xcalloc(1,0x3c)" ( (type_descriptor "bfd_elf_version_tree *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xcalloc(1,0x3c)" identifier (argument_list "(1,0x3c)" ( number_literal , number_literal ))))) ;) (expression_statement "pbVar1->name_indx = 0xffffffff;" (assignment_expression "pbVar1->name_indx = 0xffffffff" (field_expression "pbVar1->name_indx" identifier -> field_identifier) = number_literal) ;) (expression_statement "(pbVar1->globals).list = globals;" (assignment_expression "(pbVar1->globals).list = globals" (field_expression "(pbVar1->globals).list" (parenthesized_expression "(pbVar1->globals)" ( (field_expression "pbVar1->globals" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(pbVar1->locals).list = locals;" (assignment_expression "(pbVar1->locals).list = locals" (field_expression "(pbVar1->locals).list" (parenthesized_expression "(pbVar1->locals)" ( (field_expression "pbVar1->locals" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pbVar1->match = lang_vers_match;" (assignment_expression "pbVar1->match = lang_vers_match" (field_expression "pbVar1->match" identifier -> field_identifier) = identifier) ;) (return_statement "return pbVar1;" return identifier ;) })))
(translation_unit "void FUN_000283a0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = xcalloc(1,0x3c);\n  *(undefined4 *)(iVar1 + 0x30) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0xc) = param_1;\n  *(undefined4 *)(iVar1 + 0x1c) = param_2;\n  *(code **)(iVar1 + 0x38) = FUN_0001ecd0;\n  return;\n}\n\n" (function_definition "void FUN_000283a0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = xcalloc(1,0x3c);\n  *(undefined4 *)(iVar1 + 0x30) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0xc) = param_1;\n  *(undefined4 *)(iVar1 + 0x1c) = param_2;\n  *(code **)(iVar1 + 0x38) = FUN_0001ecd0;\n  return;\n}" primitive_type (function_declarator "FUN_000283a0(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  int iVar1;\n  \n  iVar1 = xcalloc(1,0x3c);\n  *(undefined4 *)(iVar1 + 0x30) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0xc) = param_1;\n  *(undefined4 *)(iVar1 + 0x1c) = param_2;\n  *(code **)(iVar1 + 0x38) = FUN_0001ecd0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = xcalloc(1,0x3c);" (assignment_expression "iVar1 = xcalloc(1,0x3c)" identifier = (call_expression "xcalloc(1,0x3c)" identifier (argument_list "(1,0x3c)" ( number_literal , number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" * (cast_expression "(undefined4 *)(iVar1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x30)" ( (binary_expression "iVar1 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = param_1;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = param_1" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = param_2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = param_2" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" * (cast_expression "(undefined4 *)(iVar1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(code **)(iVar1 + 0x38) = FUN_0001ecd0;" (assignment_expression "*(code **)(iVar1 + 0x38) = FUN_0001ecd0" (pointer_expression "*(code **)(iVar1 + 0x38)" * (cast_expression "(code **)(iVar1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x38)" ( (binary_expression "iVar1 + 0x38" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_000283a0(undefined4 param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = xcalloc(1,0x3c);\n  *(undefined4 *)(iVar1 + 0x30) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0xc) = param_1;\n  *(undefined4 *)(iVar1 + 0x1c) = param_2;\n  *(code **)(iVar1 + 0x38) = FUN_0001ecd0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000283a0(undefined4 param_1,undefined4 param_2)" (identifier "FUN_000283a0") (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  int iVar1;\n  \n  iVar1 = xcalloc(1,0x3c);\n  *(undefined4 *)(iVar1 + 0x30) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0xc) = param_1;\n  *(undefined4 *)(iVar1 + 0x1c) = param_2;\n  *(code **)(iVar1 + 0x38) = FUN_0001ecd0;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = xcalloc(1,0x3c);" (assignment_expression "iVar1 = xcalloc(1,0x3c)" (identifier "iVar1") (= "=") (call_expression "xcalloc(1,0x3c)" (identifier "xcalloc") (argument_list "(1,0x3c)" (( "(") (number_literal "1") (, ",") (number_literal "0x3c") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x30) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0x30) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x30)" (( "(") (binary_expression "iVar1 + 0x30" (identifier "iVar1") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0xc) = param_1;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = param_1" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x1c) = param_2;" (assignment_expression "*(undefined4 *)(iVar1 + 0x1c) = param_2" (pointer_expression "*(undefined4 *)(iVar1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(code **)(iVar1 + 0x38) = FUN_0001ecd0;" (assignment_expression "*(code **)(iVar1 + 0x38) = FUN_0001ecd0" (pointer_expression "*(code **)(iVar1 + 0x38)" (* "*") (cast_expression "(code **)(iVar1 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x38)" (( "(") (binary_expression "iVar1 + 0x38" (identifier "iVar1") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (identifier "FUN_0001ecd0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

type_1 *
function_1(type_2 *globals,type_2 *locals)

{
  type_1 *pbVar1;
  
  pbVar1 = (type_1 *)var_1(1,0x3c);
  pbVar1->name_indx = 0xffffffff;
  (pbVar1->globals).list = globals;
  (pbVar1->locals).list = locals;
  pbVar1->match = lang_vers_match;
  return pbVar1;
}


(translation_unit (function_definition type: (primitive_type) 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: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (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: (identifier))) (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: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement))))

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

void MASKED(undefined4 param_1,undefined4 param_2)

{
  int iVar1;
  
  iVar1 = xcalloc(1,0x3c);
  *(undefined4 *)(iVar1 + 0x30) = 0xffffffff;
  *(undefined4 *)(iVar1 + 0xc) = param_1;
  *(undefined4 *)(iVar1 + 0x1c) = param_2;
  *(code **)(iVar1 + 0x38) = FUN_0001ecd0;
  return;
}

