
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void set_output_arch_default(void)

{
  (*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)
            (link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine);
  bfd_emul_set_maxpagesize(output_target,(undefined4)config.maxpagesize,config.maxpagesize._4_4_);
  bfd_emul_set_commonpagesize
            (output_target,(undefined4)config.commonpagesize,config.commonpagesize._4_4_);
  return;
}



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

void FUN_00033a90(void)

{
  (**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800);
  bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748);
  bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750);
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017c50
ADD EBX,0x18e568
SUB ESP,0x4
LEA EAX,[EBX + 0x25e0]
LEA ECX,[EBX + 0x2800]
MOV EAX,dword ptr [EAX + 0x34]
MOV EDX,dword ptr [EAX + 0x4]
PUSH dword ptr [ECX]
LEA ECX,[EBX + 0x27fc]
PUSH dword ptr [ECX]
PUSH EAX
CALL dword ptr [EDX + 0x154]
LEA EDI,[EBX + 0x26e0]
LEA ESI,[EBX + 0x259c]
ADD ESP,0xc
PUSH dword ptr [EDI + 0x68]
PUSH dword ptr [EDI + 0x64]
PUSH dword ptr [ESI]
CALL 0x00016b90
ADD ESP,0xc
PUSH dword ptr [EDI + 0x70]
PUSH dword ptr [EDI + 0x6c]
PUSH dword ptr [ESI]
CALL 0x000166f0
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00033a90(void)\n\n{\n  (**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800);\n  bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748);\n  bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750);\n  return;\n}\n\n" comment (function_definition "void FUN_00033a90(void)\n\n{\n  (**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800);\n  bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748);\n  bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750);\n  return;\n}" primitive_type (function_declarator "FUN_00033a90(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  (**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800);\n  bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748);\n  bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750);\n  return;\n}" { (expression_statement "(**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800);" (call_expression "(**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800)" (parenthesized_expression "(**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))" ( (pointer_expression "**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154)" * (pointer_expression "*(code **)(*(int *)(DAT_001c4614 + 4) + 0x154)" * (cast_expression "(code **)(*(int *)(DAT_001c4614 + 4) + 0x154)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_001c4614 + 4) + 0x154)" ( (binary_expression "*(int *)(DAT_001c4614 + 4) + 0x154" (pointer_expression "*(int *)(DAT_001c4614 + 4)" * (cast_expression "(int *)(DAT_001c4614 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001c4614 + 4)" ( (binary_expression "DAT_001c4614 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(DAT_001c4614,DAT_001c47fc,DAT_001c4800)" ( identifier , identifier , identifier ))) ;) (expression_statement "bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748);" (call_expression "bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748)" identifier (argument_list "(DAT_001c459c,DAT_001c4744,DAT_001c4748)" ( identifier , identifier , identifier ))) ;) (expression_statement "bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750);" (call_expression "bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750)" identifier (argument_list "(DAT_001c459c,DAT_001c474c,DAT_001c4750)" ( identifier , 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 -- yet parameter storage is locked */\n\nvoid set_output_arch_default(void)\n\n{\n  (*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)\n            (link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine);\n  bfd_emul_set_maxpagesize(output_target,(undefined4)config.maxpagesize,config.maxpagesize._4_4_);\n  bfd_emul_set_commonpagesize\n            (output_target,(undefined4)config.commonpagesize,config.commonpagesize._4_4_);\n  return;\n}\n\n" comment comment (function_definition "void set_output_arch_default(void)\n\n{\n  (*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)\n            (link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine);\n  bfd_emul_set_maxpagesize(output_target,(undefined4)config.maxpagesize,config.maxpagesize._4_4_);\n  bfd_emul_set_commonpagesize\n            (output_target,(undefined4)config.commonpagesize,config.commonpagesize._4_4_);\n  return;\n}" primitive_type (function_declarator "set_output_arch_default(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  (*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)\n            (link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine);\n  bfd_emul_set_maxpagesize(output_target,(undefined4)config.maxpagesize,config.maxpagesize._4_4_);\n  bfd_emul_set_commonpagesize\n            (output_target,(undefined4)config.commonpagesize,config.commonpagesize._4_4_);\n  return;\n}" { (expression_statement "(*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)\n            (link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine);" (call_expression "(*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)\n            (link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine)" (parenthesized_expression "(*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)" ( (pointer_expression "*(link_info.output_bfd)->xvec->_bfd_set_arch_mach" * (field_expression "(link_info.output_bfd)->xvec->_bfd_set_arch_mach" (field_expression "(link_info.output_bfd)->xvec" (parenthesized_expression "(link_info.output_bfd)" ( (field_expression "link_info.output_bfd" identifier . field_identifier) )) -> field_identifier) -> field_identifier)) )) (argument_list "(link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine)" ( (field_expression "link_info.output_bfd" identifier . field_identifier) , identifier , identifier ))) ;) (expression_statement "bfd_emul_set_maxpagesize(output_target,(undefined4)config.maxpagesize,config.maxpagesize._4_4_);" (call_expression "bfd_emul_set_maxpagesize(output_target,(undefined4)config.maxpagesize,config.maxpagesize._4_4_)" identifier (argument_list "(output_target,(undefined4)config.maxpagesize,config.maxpagesize._4_4_)" ( identifier , (cast_expression "(undefined4)config.maxpagesize" ( (type_descriptor "undefined4" type_identifier) ) (field_expression "config.maxpagesize" identifier . field_identifier)) , (field_expression "config.maxpagesize._4_4_" (field_expression "config.maxpagesize" identifier . field_identifier) . field_identifier) ))) ;) (expression_statement "bfd_emul_set_commonpagesize\n            (output_target,(undefined4)config.commonpagesize,config.commonpagesize._4_4_);" (call_expression "bfd_emul_set_commonpagesize\n            (output_target,(undefined4)config.commonpagesize,config.commonpagesize._4_4_)" identifier (argument_list "(output_target,(undefined4)config.commonpagesize,config.commonpagesize._4_4_)" ( identifier , (cast_expression "(undefined4)config.commonpagesize" ( (type_descriptor "undefined4" type_identifier) ) (field_expression "config.commonpagesize" identifier . field_identifier)) , (field_expression "config.commonpagesize._4_4_" (field_expression "config.commonpagesize" identifier . field_identifier) . field_identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00033a90(void)\n\n{\n  (**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800);\n  bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748);\n  bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750);\n  return;\n}\n\n" (function_definition "void FUN_00033a90(void)\n\n{\n  (**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800);\n  bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748);\n  bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750);\n  return;\n}" primitive_type (function_declarator "FUN_00033a90(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  (**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800);\n  bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748);\n  bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750);\n  return;\n}" { (expression_statement "(**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800);" (call_expression "(**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800)" (parenthesized_expression "(**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))" ( (pointer_expression "**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154)" * (pointer_expression "*(code **)(*(int *)(DAT_001c4614 + 4) + 0x154)" * (cast_expression "(code **)(*(int *)(DAT_001c4614 + 4) + 0x154)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_001c4614 + 4) + 0x154)" ( (binary_expression "*(int *)(DAT_001c4614 + 4) + 0x154" (pointer_expression "*(int *)(DAT_001c4614 + 4)" * (cast_expression "(int *)(DAT_001c4614 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_001c4614 + 4)" ( (binary_expression "DAT_001c4614 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(DAT_001c4614,DAT_001c47fc,DAT_001c4800)" ( identifier , identifier , identifier ))) ;) (expression_statement "bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748);" (call_expression "bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748)" identifier (argument_list "(DAT_001c459c,DAT_001c4744,DAT_001c4748)" ( identifier , identifier , identifier ))) ;) (expression_statement "bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750);" (call_expression "bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750)" identifier (argument_list "(DAT_001c459c,DAT_001c474c,DAT_001c4750)" ( identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00033a90(void)\n\n{\n  (**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800);\n  bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748);\n  bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00033a90(void)" (identifier "FUN_00033a90") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  (**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800);\n  bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748);\n  bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750);\n  return;\n}" ({ "{") (expression_statement "(**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800);" (call_expression "(**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800)" (parenthesized_expression "(**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))" (( "(") (pointer_expression "**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154)" (* "*") (pointer_expression "*(code **)(*(int *)(DAT_001c4614 + 4) + 0x154)" (* "*") (cast_expression "(code **)(*(int *)(DAT_001c4614 + 4) + 0x154)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_001c4614 + 4) + 0x154)" (( "(") (binary_expression "*(int *)(DAT_001c4614 + 4) + 0x154" (pointer_expression "*(int *)(DAT_001c4614 + 4)" (* "*") (cast_expression "(int *)(DAT_001c4614 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_001c4614 + 4)" (( "(") (binary_expression "DAT_001c4614 + 4" (identifier "DAT_001c4614") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x154")) () ")"))))) () ")")) (argument_list "(DAT_001c4614,DAT_001c47fc,DAT_001c4800)" (( "(") (identifier "DAT_001c4614") (, ",") (identifier "DAT_001c47fc") (, ",") (identifier "DAT_001c4800") () ")"))) (; ";")) (expression_statement "bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748);" (call_expression "bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748)" (identifier "bfd_emul_set_maxpagesize") (argument_list "(DAT_001c459c,DAT_001c4744,DAT_001c4748)" (( "(") (identifier "DAT_001c459c") (, ",") (identifier "DAT_001c4744") (, ",") (identifier "DAT_001c4748") () ")"))) (; ";")) (expression_statement "bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750);" (call_expression "bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750)" (identifier "bfd_emul_set_commonpagesize") (argument_list "(DAT_001c459c,DAT_001c474c,DAT_001c4750)" (( "(") (identifier "DAT_001c459c") (, ",") (identifier "DAT_001c474c") (, ",") (identifier "DAT_001c4750") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  (*(link_info.output_bfd)->xvec->_bfd_set_arch_mach)
            (link_info.output_bfd,ldfile_output_architecture,ldfile_output_machine);
  var_1(output_target,(type_1)config.maxpagesize,config.maxpagesize._4_4_);
  var_2
            (output_target,(type_1)config.commonpagesize,config.commonpagesize._4_4_);
  return;
}


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

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

void MASKED(void)

{
  (**(code **)(*(int *)(DAT_001c4614 + 4) + 0x154))(DAT_001c4614,DAT_001c47fc,DAT_001c4800);
  bfd_emul_set_maxpagesize(DAT_001c459c,DAT_001c4744,DAT_001c4748);
  bfd_emul_set_commonpagesize(DAT_001c459c,DAT_001c474c,DAT_001c4750);
  return;
}

