
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

void lang_add_reloc(bfd_reloc_code_real_type reloc,reloc_howto_type *howto,asection *section,
                   char *name,etree_union *addend)

{
  lang_statement_list_type *plVar1;
  lang_statement_union *plVar2;
  
  plVar1 = stat_ptr;
  plVar2 = (lang_statement_union *)stat_alloc(0x30);
  (plVar2->header).type = lang_reloc_statement_enum;
  (plVar2->header).next = (lang_statement_union *)0x0;
  *plVar1->tail = plVar2;
  plVar1->tail = (lang_statement_union **)plVar2;
  (plVar2->reloc_statement).reloc = reloc;
  (plVar2->wild_statement).children.tail = (lang_statement_union **)0x0;
  (plVar2->reloc_statement).howto = howto;
  (plVar2->wild_statement).exclude_name_list = (name_list *)0x0;
  (plVar2->reloc_statement).section = section;
  (plVar2->wild_statement).walk_wild_section_handler = (walk_wild_section_handler_t)0x0;
  (plVar2->reloc_statement).name = name;
  (plVar2->wild_statement).handler_data[0] = (wildcard_list *)0x0;
  (plVar2->reloc_statement).addend_exp = addend;
  (plVar2->wild_statement).handler_data[1] = (wildcard_list *)0x0;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_000295c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5)

{
  undefined *puVar1;
  undefined4 *puVar2;
  
  puVar1 = PTR_DAT_001c23b8;
  puVar2 = (undefined4 *)FUN_00023860(0x30);
  puVar2[1] = 9;
  *puVar2 = 0;
  **(undefined4 **)(puVar1 + 4) = puVar2;
  *(undefined4 **)(puVar1 + 4) = puVar2;
  puVar2[2] = param_1;
  puVar2[7] = 0;
  puVar2[3] = param_2;
  puVar2[8] = 0;
  puVar2[4] = param_3;
  puVar2[9] = 0;
  puVar2[5] = param_4;
  puVar2[10] = 0;
  puVar2[6] = param_5;
  puVar2[0xb] = 0;
  return;
}


CALL 0x0001d3b2
ADD EAX,0x198a3b
PUSH EBX
SUB ESP,0x14
PUSH 0x30
MOV EBX,dword ptr [EAX + 0x3b8]
CALL 0x00023860
MOV dword ptr [EAX + 0x4],0x9
MOV dword ptr [EAX],0x0
MOV EDX,dword ptr [EBX + 0x4]
MOV dword ptr [EDX],EAX
MOV EDX,dword ptr [ESP + 0x20]
MOV dword ptr [EBX + 0x4],EAX
MOV dword ptr [EAX + 0x8],EDX
MOV EDX,dword ptr [ESP + 0x24]
MOV dword ptr [EAX + 0x1c],0x0
MOV dword ptr [EAX + 0xc],EDX
MOV EDX,dword ptr [ESP + 0x28]
MOV dword ptr [EAX + 0x20],0x0
MOV dword ptr [EAX + 0x10],EDX
MOV EDX,dword ptr [ESP + 0x2c]
MOV dword ptr [EAX + 0x24],0x0
MOV dword ptr [EAX + 0x14],EDX
MOV EDX,dword ptr [ESP + 0x30]
MOV dword ptr [EAX + 0x28],0x0
MOV dword ptr [EAX + 0x18],EDX
MOV dword ptr [EAX + 0x2c],0x0
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_000295c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = PTR_DAT_001c23b8;\n  puVar2 = (undefined4 *)FUN_00023860(0x30);\n  puVar2[1] = 9;\n  *puVar2 = 0;\n  **(undefined4 **)(puVar1 + 4) = puVar2;\n  *(undefined4 **)(puVar1 + 4) = puVar2;\n  puVar2[2] = param_1;\n  puVar2[7] = 0;\n  puVar2[3] = param_2;\n  puVar2[8] = 0;\n  puVar2[4] = param_3;\n  puVar2[9] = 0;\n  puVar2[5] = param_4;\n  puVar2[10] = 0;\n  puVar2[6] = param_5;\n  puVar2[0xb] = 0;\n  return;\n}\n\n" comment (function_definition "void FUN_000295c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = PTR_DAT_001c23b8;\n  puVar2 = (undefined4 *)FUN_00023860(0x30);\n  puVar2[1] = 9;\n  *puVar2 = 0;\n  **(undefined4 **)(puVar1 + 4) = puVar2;\n  *(undefined4 **)(puVar1 + 4) = puVar2;\n  puVar2[2] = param_1;\n  puVar2[7] = 0;\n  puVar2[3] = param_2;\n  puVar2[8] = 0;\n  puVar2[4] = param_3;\n  puVar2[9] = 0;\n  puVar2[5] = param_4;\n  puVar2[10] = 0;\n  puVar2[6] = param_5;\n  puVar2[0xb] = 0;\n  return;\n}" primitive_type (function_declarator "FUN_000295c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = PTR_DAT_001c23b8;\n  puVar2 = (undefined4 *)FUN_00023860(0x30);\n  puVar2[1] = 9;\n  *puVar2 = 0;\n  **(undefined4 **)(puVar1 + 4) = puVar2;\n  *(undefined4 **)(puVar1 + 4) = puVar2;\n  puVar2[2] = param_1;\n  puVar2[7] = 0;\n  puVar2[3] = param_2;\n  puVar2[8] = 0;\n  puVar2[4] = param_3;\n  puVar2[9] = 0;\n  puVar2[5] = param_4;\n  puVar2[10] = 0;\n  puVar2[6] = param_5;\n  puVar2[0xb] = 0;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar1 = PTR_DAT_001c23b8;" (assignment_expression "puVar1 = PTR_DAT_001c23b8" identifier = identifier) ;) (expression_statement "puVar2 = (undefined4 *)FUN_00023860(0x30);" (assignment_expression "puVar2 = (undefined4 *)FUN_00023860(0x30)" identifier = (cast_expression "(undefined4 *)FUN_00023860(0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00023860(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "puVar2[1] = 9;" (assignment_expression "puVar2[1] = 9" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "**(undefined4 **)(puVar1 + 4) = puVar2;" (assignment_expression "**(undefined4 **)(puVar1 + 4) = puVar2" (pointer_expression "**(undefined4 **)(puVar1 + 4)" * (pointer_expression "*(undefined4 **)(puVar1 + 4)" * (cast_expression "(undefined4 **)(puVar1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) ))))) = identifier) ;) (expression_statement "*(undefined4 **)(puVar1 + 4) = puVar2;" (assignment_expression "*(undefined4 **)(puVar1 + 4) = puVar2" (pointer_expression "*(undefined4 **)(puVar1 + 4)" * (cast_expression "(undefined4 **)(puVar1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar2[2] = param_1;" (assignment_expression "puVar2[2] = param_1" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[7] = 0;" (assignment_expression "puVar2[7] = 0" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[3] = param_2;" (assignment_expression "puVar2[3] = param_2" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[8] = 0;" (assignment_expression "puVar2[8] = 0" (subscript_expression "puVar2[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[4] = param_3;" (assignment_expression "puVar2[4] = param_3" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[9] = 0;" (assignment_expression "puVar2[9] = 0" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[5] = param_4;" (assignment_expression "puVar2[5] = param_4" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[10] = 0;" (assignment_expression "puVar2[10] = 0" (subscript_expression "puVar2[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[6] = param_5;" (assignment_expression "puVar2[6] = param_5" (subscript_expression "puVar2[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0xb] = 0;" (assignment_expression "puVar2[0xb] = 0" (subscript_expression "puVar2[0xb]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n\nvoid lang_add_reloc(bfd_reloc_code_real_type reloc,reloc_howto_type *howto,asection *section,\n                   char *name,etree_union *addend)\n\n{\n  lang_statement_list_type *plVar1;\n  lang_statement_union *plVar2;\n  \n  plVar1 = stat_ptr;\n  plVar2 = (lang_statement_union *)stat_alloc(0x30);\n  (plVar2->header).type = lang_reloc_statement_enum;\n  (plVar2->header).next = (lang_statement_union *)0x0;\n  *plVar1->tail = plVar2;\n  plVar1->tail = (lang_statement_union **)plVar2;\n  (plVar2->reloc_statement).reloc = reloc;\n  (plVar2->wild_statement).children.tail = (lang_statement_union **)0x0;\n  (plVar2->reloc_statement).howto = howto;\n  (plVar2->wild_statement).exclude_name_list = (name_list *)0x0;\n  (plVar2->reloc_statement).section = section;\n  (plVar2->wild_statement).walk_wild_section_handler = (walk_wild_section_handler_t)0x0;\n  (plVar2->reloc_statement).name = name;\n  (plVar2->wild_statement).handler_data[0] = (wildcard_list *)0x0;\n  (plVar2->reloc_statement).addend_exp = addend;\n  (plVar2->wild_statement).handler_data[1] = (wildcard_list *)0x0;\n  return;\n}\n\n" comment comment (function_definition "void lang_add_reloc(bfd_reloc_code_real_type reloc,reloc_howto_type *howto,asection *section,\n                   char *name,etree_union *addend)\n\n{\n  lang_statement_list_type *plVar1;\n  lang_statement_union *plVar2;\n  \n  plVar1 = stat_ptr;\n  plVar2 = (lang_statement_union *)stat_alloc(0x30);\n  (plVar2->header).type = lang_reloc_statement_enum;\n  (plVar2->header).next = (lang_statement_union *)0x0;\n  *plVar1->tail = plVar2;\n  plVar1->tail = (lang_statement_union **)plVar2;\n  (plVar2->reloc_statement).reloc = reloc;\n  (plVar2->wild_statement).children.tail = (lang_statement_union **)0x0;\n  (plVar2->reloc_statement).howto = howto;\n  (plVar2->wild_statement).exclude_name_list = (name_list *)0x0;\n  (plVar2->reloc_statement).section = section;\n  (plVar2->wild_statement).walk_wild_section_handler = (walk_wild_section_handler_t)0x0;\n  (plVar2->reloc_statement).name = name;\n  (plVar2->wild_statement).handler_data[0] = (wildcard_list *)0x0;\n  (plVar2->reloc_statement).addend_exp = addend;\n  (plVar2->wild_statement).handler_data[1] = (wildcard_list *)0x0;\n  return;\n}" primitive_type (function_declarator "lang_add_reloc(bfd_reloc_code_real_type reloc,reloc_howto_type *howto,asection *section,\n                   char *name,etree_union *addend)" identifier (parameter_list "(bfd_reloc_code_real_type reloc,reloc_howto_type *howto,asection *section,\n                   char *name,etree_union *addend)" ( (parameter_declaration "bfd_reloc_code_real_type reloc" type_identifier identifier) , (parameter_declaration "reloc_howto_type *howto" type_identifier (pointer_declarator "*howto" * identifier)) , (parameter_declaration "asection *section" type_identifier (pointer_declarator "*section" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "etree_union *addend" type_identifier (pointer_declarator "*addend" * identifier)) ))) (compound_statement "{\n  lang_statement_list_type *plVar1;\n  lang_statement_union *plVar2;\n  \n  plVar1 = stat_ptr;\n  plVar2 = (lang_statement_union *)stat_alloc(0x30);\n  (plVar2->header).type = lang_reloc_statement_enum;\n  (plVar2->header).next = (lang_statement_union *)0x0;\n  *plVar1->tail = plVar2;\n  plVar1->tail = (lang_statement_union **)plVar2;\n  (plVar2->reloc_statement).reloc = reloc;\n  (plVar2->wild_statement).children.tail = (lang_statement_union **)0x0;\n  (plVar2->reloc_statement).howto = howto;\n  (plVar2->wild_statement).exclude_name_list = (name_list *)0x0;\n  (plVar2->reloc_statement).section = section;\n  (plVar2->wild_statement).walk_wild_section_handler = (walk_wild_section_handler_t)0x0;\n  (plVar2->reloc_statement).name = name;\n  (plVar2->wild_statement).handler_data[0] = (wildcard_list *)0x0;\n  (plVar2->reloc_statement).addend_exp = addend;\n  (plVar2->wild_statement).handler_data[1] = (wildcard_list *)0x0;\n  return;\n}" { (declaration "lang_statement_list_type *plVar1;" type_identifier (pointer_declarator "*plVar1" * identifier) ;) (declaration "lang_statement_union *plVar2;" type_identifier (pointer_declarator "*plVar2" * identifier) ;) (expression_statement "plVar1 = stat_ptr;" (assignment_expression "plVar1 = stat_ptr" identifier = identifier) ;) (expression_statement "plVar2 = (lang_statement_union *)stat_alloc(0x30);" (assignment_expression "plVar2 = (lang_statement_union *)stat_alloc(0x30)" identifier = (cast_expression "(lang_statement_union *)stat_alloc(0x30)" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "stat_alloc(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "(plVar2->header).type = lang_reloc_statement_enum;" (assignment_expression "(plVar2->header).type = lang_reloc_statement_enum" (field_expression "(plVar2->header).type" (parenthesized_expression "(plVar2->header)" ( (field_expression "plVar2->header" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(plVar2->header).next = (lang_statement_union *)0x0;" (assignment_expression "(plVar2->header).next = (lang_statement_union *)0x0" (field_expression "(plVar2->header).next" (parenthesized_expression "(plVar2->header)" ( (field_expression "plVar2->header" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*plVar1->tail = plVar2;" (assignment_expression "*plVar1->tail = plVar2" (pointer_expression "*plVar1->tail" * (field_expression "plVar1->tail" identifier -> field_identifier)) = identifier) ;) (expression_statement "plVar1->tail = (lang_statement_union **)plVar2;" (assignment_expression "plVar1->tail = (lang_statement_union **)plVar2" (field_expression "plVar1->tail" identifier -> field_identifier) = (cast_expression "(lang_statement_union **)plVar2" ( (type_descriptor "lang_statement_union **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (expression_statement "(plVar2->reloc_statement).reloc = reloc;" (assignment_expression "(plVar2->reloc_statement).reloc = reloc" (field_expression "(plVar2->reloc_statement).reloc" (parenthesized_expression "(plVar2->reloc_statement)" ( (field_expression "plVar2->reloc_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(plVar2->wild_statement).children.tail = (lang_statement_union **)0x0;" (assignment_expression "(plVar2->wild_statement).children.tail = (lang_statement_union **)0x0" (field_expression "(plVar2->wild_statement).children.tail" (field_expression "(plVar2->wild_statement).children" (parenthesized_expression "(plVar2->wild_statement)" ( (field_expression "plVar2->wild_statement" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(lang_statement_union **)0x0" ( (type_descriptor "lang_statement_union **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "(plVar2->reloc_statement).howto = howto;" (assignment_expression "(plVar2->reloc_statement).howto = howto" (field_expression "(plVar2->reloc_statement).howto" (parenthesized_expression "(plVar2->reloc_statement)" ( (field_expression "plVar2->reloc_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(plVar2->wild_statement).exclude_name_list = (name_list *)0x0;" (assignment_expression "(plVar2->wild_statement).exclude_name_list = (name_list *)0x0" (field_expression "(plVar2->wild_statement).exclude_name_list" (parenthesized_expression "(plVar2->wild_statement)" ( (field_expression "plVar2->wild_statement" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(name_list *)0x0" ( (type_descriptor "name_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(plVar2->reloc_statement).section = section;" (assignment_expression "(plVar2->reloc_statement).section = section" (field_expression "(plVar2->reloc_statement).section" (parenthesized_expression "(plVar2->reloc_statement)" ( (field_expression "plVar2->reloc_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(plVar2->wild_statement).walk_wild_section_handler = (walk_wild_section_handler_t)0x0;" (assignment_expression "(plVar2->wild_statement).walk_wild_section_handler = (walk_wild_section_handler_t)0x0" (field_expression "(plVar2->wild_statement).walk_wild_section_handler" (parenthesized_expression "(plVar2->wild_statement)" ( (field_expression "plVar2->wild_statement" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(walk_wild_section_handler_t)0x0" ( (type_descriptor "walk_wild_section_handler_t" type_identifier) ) number_literal)) ;) (expression_statement "(plVar2->reloc_statement).name = name;" (assignment_expression "(plVar2->reloc_statement).name = name" (field_expression "(plVar2->reloc_statement).name" (parenthesized_expression "(plVar2->reloc_statement)" ( (field_expression "plVar2->reloc_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(plVar2->wild_statement).handler_data[0] = (wildcard_list *)0x0;" (assignment_expression "(plVar2->wild_statement).handler_data[0] = (wildcard_list *)0x0" (subscript_expression "(plVar2->wild_statement).handler_data[0]" (field_expression "(plVar2->wild_statement).handler_data" (parenthesized_expression "(plVar2->wild_statement)" ( (field_expression "plVar2->wild_statement" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(plVar2->reloc_statement).addend_exp = addend;" (assignment_expression "(plVar2->reloc_statement).addend_exp = addend" (field_expression "(plVar2->reloc_statement).addend_exp" (parenthesized_expression "(plVar2->reloc_statement)" ( (field_expression "plVar2->reloc_statement" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(plVar2->wild_statement).handler_data[1] = (wildcard_list *)0x0;" (assignment_expression "(plVar2->wild_statement).handler_data[1] = (wildcard_list *)0x0" (subscript_expression "(plVar2->wild_statement).handler_data[1]" (field_expression "(plVar2->wild_statement).handler_data" (parenthesized_expression "(plVar2->wild_statement)" ( (field_expression "plVar2->wild_statement" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = (cast_expression "(wildcard_list *)0x0" ( (type_descriptor "wildcard_list *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000295c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = PTR_DAT_001c23b8;\n  puVar2 = (undefined4 *)FUN_00023860(0x30);\n  puVar2[1] = 9;\n  *puVar2 = 0;\n  **(undefined4 **)(puVar1 + 4) = puVar2;\n  *(undefined4 **)(puVar1 + 4) = puVar2;\n  puVar2[2] = param_1;\n  puVar2[7] = 0;\n  puVar2[3] = param_2;\n  puVar2[8] = 0;\n  puVar2[4] = param_3;\n  puVar2[9] = 0;\n  puVar2[5] = param_4;\n  puVar2[10] = 0;\n  puVar2[6] = param_5;\n  puVar2[0xb] = 0;\n  return;\n}\n\n" (function_definition "void FUN_000295c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = PTR_DAT_001c23b8;\n  puVar2 = (undefined4 *)FUN_00023860(0x30);\n  puVar2[1] = 9;\n  *puVar2 = 0;\n  **(undefined4 **)(puVar1 + 4) = puVar2;\n  *(undefined4 **)(puVar1 + 4) = puVar2;\n  puVar2[2] = param_1;\n  puVar2[7] = 0;\n  puVar2[3] = param_2;\n  puVar2[8] = 0;\n  puVar2[4] = param_3;\n  puVar2[9] = 0;\n  puVar2[5] = param_4;\n  puVar2[10] = 0;\n  puVar2[6] = param_5;\n  puVar2[0xb] = 0;\n  return;\n}" primitive_type (function_declarator "FUN_000295c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = PTR_DAT_001c23b8;\n  puVar2 = (undefined4 *)FUN_00023860(0x30);\n  puVar2[1] = 9;\n  *puVar2 = 0;\n  **(undefined4 **)(puVar1 + 4) = puVar2;\n  *(undefined4 **)(puVar1 + 4) = puVar2;\n  puVar2[2] = param_1;\n  puVar2[7] = 0;\n  puVar2[3] = param_2;\n  puVar2[8] = 0;\n  puVar2[4] = param_3;\n  puVar2[9] = 0;\n  puVar2[5] = param_4;\n  puVar2[10] = 0;\n  puVar2[6] = param_5;\n  puVar2[0xb] = 0;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar1 = PTR_DAT_001c23b8;" (assignment_expression "puVar1 = PTR_DAT_001c23b8" identifier = identifier) ;) (expression_statement "puVar2 = (undefined4 *)FUN_00023860(0x30);" (assignment_expression "puVar2 = (undefined4 *)FUN_00023860(0x30)" identifier = (cast_expression "(undefined4 *)FUN_00023860(0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00023860(0x30)" identifier (argument_list "(0x30)" ( number_literal ))))) ;) (expression_statement "puVar2[1] = 9;" (assignment_expression "puVar2[1] = 9" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "**(undefined4 **)(puVar1 + 4) = puVar2;" (assignment_expression "**(undefined4 **)(puVar1 + 4) = puVar2" (pointer_expression "**(undefined4 **)(puVar1 + 4)" * (pointer_expression "*(undefined4 **)(puVar1 + 4)" * (cast_expression "(undefined4 **)(puVar1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) ))))) = identifier) ;) (expression_statement "*(undefined4 **)(puVar1 + 4) = puVar2;" (assignment_expression "*(undefined4 **)(puVar1 + 4) = puVar2" (pointer_expression "*(undefined4 **)(puVar1 + 4)" * (cast_expression "(undefined4 **)(puVar1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 4)" ( (binary_expression "puVar1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar2[2] = param_1;" (assignment_expression "puVar2[2] = param_1" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[7] = 0;" (assignment_expression "puVar2[7] = 0" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[3] = param_2;" (assignment_expression "puVar2[3] = param_2" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[8] = 0;" (assignment_expression "puVar2[8] = 0" (subscript_expression "puVar2[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[4] = param_3;" (assignment_expression "puVar2[4] = param_3" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[9] = 0;" (assignment_expression "puVar2[9] = 0" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[5] = param_4;" (assignment_expression "puVar2[5] = param_4" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[10] = 0;" (assignment_expression "puVar2[10] = 0" (subscript_expression "puVar2[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[6] = param_5;" (assignment_expression "puVar2[6] = param_5" (subscript_expression "puVar2[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0xb] = 0;" (assignment_expression "puVar2[0xb] = 0" (subscript_expression "puVar2[0xb]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = 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 ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (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) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (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 ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (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 ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_000295c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = PTR_DAT_001c23b8;\n  puVar2 = (undefined4 *)FUN_00023860(0x30);\n  puVar2[1] = 9;\n  *puVar2 = 0;\n  **(undefined4 **)(puVar1 + 4) = puVar2;\n  *(undefined4 **)(puVar1 + 4) = puVar2;\n  puVar2[2] = param_1;\n  puVar2[7] = 0;\n  puVar2[3] = param_2;\n  puVar2[8] = 0;\n  puVar2[4] = param_3;\n  puVar2[9] = 0;\n  puVar2[5] = param_4;\n  puVar2[10] = 0;\n  puVar2[6] = param_5;\n  puVar2[0xb] = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000295c0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)" (identifier "FUN_000295c0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n                 undefined4 param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  \n  puVar1 = PTR_DAT_001c23b8;\n  puVar2 = (undefined4 *)FUN_00023860(0x30);\n  puVar2[1] = 9;\n  *puVar2 = 0;\n  **(undefined4 **)(puVar1 + 4) = puVar2;\n  *(undefined4 **)(puVar1 + 4) = puVar2;\n  puVar2[2] = param_1;\n  puVar2[7] = 0;\n  puVar2[3] = param_2;\n  puVar2[8] = 0;\n  puVar2[4] = param_3;\n  puVar2[9] = 0;\n  puVar2[5] = param_4;\n  puVar2[10] = 0;\n  puVar2[6] = param_5;\n  puVar2[0xb] = 0;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "puVar1 = PTR_DAT_001c23b8;" (assignment_expression "puVar1 = PTR_DAT_001c23b8" (identifier "puVar1") (= "=") (identifier "PTR_DAT_001c23b8")) (; ";")) (expression_statement "puVar2 = (undefined4 *)FUN_00023860(0x30);" (assignment_expression "puVar2 = (undefined4 *)FUN_00023860(0x30)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)FUN_00023860(0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00023860(0x30)" (identifier "FUN_00023860") (argument_list "(0x30)" (( "(") (number_literal "0x30") () ")"))))) (; ";")) (expression_statement "puVar2[1] = 9;" (assignment_expression "puVar2[1] = 9" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "9")) (; ";")) (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "**(undefined4 **)(puVar1 + 4) = puVar2;" (assignment_expression "**(undefined4 **)(puVar1 + 4) = puVar2" (pointer_expression "**(undefined4 **)(puVar1 + 4)" (* "*") (pointer_expression "*(undefined4 **)(puVar1 + 4)" (* "*") (cast_expression "(undefined4 **)(puVar1 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar1 + 4)" (( "(") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4")) () ")"))))) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "*(undefined4 **)(puVar1 + 4) = puVar2;" (assignment_expression "*(undefined4 **)(puVar1 + 4) = puVar2" (pointer_expression "*(undefined4 **)(puVar1 + 4)" (* "*") (cast_expression "(undefined4 **)(puVar1 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar1 + 4)" (( "(") (binary_expression "puVar1 + 4" (identifier "puVar1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "puVar2[2] = param_1;" (assignment_expression "puVar2[2] = param_1" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "puVar2[7] = 0;" (assignment_expression "puVar2[7] = 0" (subscript_expression "puVar2[7]" (identifier "puVar2") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[3] = param_2;" (assignment_expression "puVar2[3] = param_2" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar2[8] = 0;" (assignment_expression "puVar2[8] = 0" (subscript_expression "puVar2[8]" (identifier "puVar2") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[4] = param_3;" (assignment_expression "puVar2[4] = param_3" (subscript_expression "puVar2[4]" (identifier "puVar2") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "puVar2[9] = 0;" (assignment_expression "puVar2[9] = 0" (subscript_expression "puVar2[9]" (identifier "puVar2") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[5] = param_4;" (assignment_expression "puVar2[5] = param_4" (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "param_4")) (; ";")) (expression_statement "puVar2[10] = 0;" (assignment_expression "puVar2[10] = 0" (subscript_expression "puVar2[10]" (identifier "puVar2") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[6] = param_5;" (assignment_expression "puVar2[6] = param_5" (subscript_expression "puVar2[6]" (identifier "puVar2") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "puVar2[0xb] = 0;" (assignment_expression "puVar2[0xb] = 0" (subscript_expression "puVar2[0xb]" (identifier "puVar2") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

void function_1(type_1 reloc,type_2 *howto,type_3 *section,
                   char *name,type_4 *addend)

{
  type_5 *plVar1;
  type_6 *plVar2;
  
  plVar1 = stat_ptr;
  plVar2 = (type_6 *)var_1(0x30);
  (plVar2->header).type = lang_reloc_statement_enum;
  (plVar2->header).next = (type_6 *)0x0;
  *plVar1->tail = plVar2;
  plVar1->tail = (type_6 **)plVar2;
  (plVar2->reloc_statement).reloc = reloc;
  (plVar2->wild_statement).children.tail = (type_6 **)0x0;
  (plVar2->reloc_statement).howto = howto;
  (plVar2->wild_statement).exclude_name_list = (type_7 *)0x0;
  (plVar2->reloc_statement).section = section;
  (plVar2->wild_statement).walk_wild_section_handler = (type_8)0x0;
  (plVar2->reloc_statement).name = name;
  (plVar2->wild_statement).handler_data[0] = (type_9 *)0x0;
  (plVar2->reloc_statement).addend_exp = addend;
  (plVar2->wild_statement).handler_data[1] = (type_9 *)0x0;
  return;
}


(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)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (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: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (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))) (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))) (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: (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: (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: (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: (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: (number_literal))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
                 undefined4 param_5)

{
  undefined *puVar1;
  undefined4 *puVar2;
  
  puVar1 = PTR_DAT_001c23b8;
  puVar2 = (undefined4 *)FUN_00023860(0x30);
  puVar2[1] = 9;
  *puVar2 = 0;
  **(undefined4 **)(puVar1 + 4) = puVar2;
  *(undefined4 **)(puVar1 + 4) = puVar2;
  puVar2[2] = param_1;
  puVar2[7] = 0;
  puVar2[3] = param_2;
  puVar2[8] = 0;
  puVar2[4] = param_3;
  puVar2[9] = 0;
  puVar2[5] = param_4;
  puVar2[10] = 0;
  puVar2[6] = param_5;
  puVar2[0xb] = 0;
  return;
}

