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

segT __regparm3 get_cfi_seg(segT cseg,char *base,flagword flags,int align)

{
  segT seg;
  
  seg = subseg_new((char *)cseg,0);
  bfd_set_section_flags(stdoutput,seg,base);
  record_alignment(seg,flags);
  return seg;
}



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

undefined4 __regparm3 FUN_0001ed90(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 uVar1;
  
  uVar1 = FUN_000366b0(param_1,0);
  bfd_set_section_flags(DAT_00077ec4,uVar1,param_2);
  FUN_0003f050(uVar1,param_3);
  return uVar1;
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
MOV EDI,ECX
PUSH ESI
PUSH EBX
CALL 0x00016090
ADD EBX,0x50263
SUB ESP,0x14
PUSH 0x0
PUSH EAX
CALL 0x000366b0
ADD ESP,0xc
PUSH EBP
MOV ESI,EAX
PUSH EAX
LEA EAX,[EBX + 0x8ec4]
PUSH dword ptr [EAX]
CALL 0x00014780
POP EAX
POP EDX
PUSH EDI
PUSH ESI
CALL 0x0003f050
ADD ESP,0x1c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_0001ed90(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000366b0(param_1,0);\n  bfd_set_section_flags(DAT_00077ec4,uVar1,param_2);\n  FUN_0003f050(uVar1,param_3);\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_0001ed90(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000366b0(param_1,0);\n  bfd_set_section_flags(DAT_00077ec4,uVar1,param_2);\n  FUN_0003f050(uVar1,param_3);\n  return uVar1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0001ed90(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000366b0(param_1,0);\n  bfd_set_section_flags(DAT_00077ec4,uVar1,param_2);\n  FUN_0003f050(uVar1,param_3);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_000366b0(param_1,0);" (assignment_expression "uVar1 = FUN_000366b0(param_1,0)" identifier = (call_expression "FUN_000366b0(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (expression_statement "bfd_set_section_flags(DAT_00077ec4,uVar1,param_2);" (call_expression "bfd_set_section_flags(DAT_00077ec4,uVar1,param_2)" identifier (argument_list "(DAT_00077ec4,uVar1,param_2)" ( identifier , identifier , identifier ))) ;) (expression_statement "FUN_0003f050(uVar1,param_3);" (call_expression "FUN_0003f050(uVar1,param_3)" identifier (argument_list "(uVar1,param_3)" ( identifier , identifier ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nsegT __regparm3 get_cfi_seg(segT cseg,char *base,flagword flags,int align)\n\n{\n  segT seg;\n  \n  seg = subseg_new((char *)cseg,0);\n  bfd_set_section_flags(stdoutput,seg,base);\n  record_alignment(seg,flags);\n  return seg;\n}\n\n" comment (function_definition "segT __regparm3 get_cfi_seg(segT cseg,char *base,flagword flags,int align)\n\n{\n  segT seg;\n  \n  seg = subseg_new((char *)cseg,0);\n  bfd_set_section_flags(stdoutput,seg,base);\n  record_alignment(seg,flags);\n  return seg;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "get_cfi_seg(segT cseg,char *base,flagword flags,int align)" identifier (parameter_list "(segT cseg,char *base,flagword flags,int align)" ( (parameter_declaration "segT cseg" type_identifier identifier) , (parameter_declaration "char *base" primitive_type (pointer_declarator "*base" * identifier)) , (parameter_declaration "flagword flags" type_identifier identifier) , (parameter_declaration "int align" primitive_type identifier) ))) (compound_statement "{\n  segT seg;\n  \n  seg = subseg_new((char *)cseg,0);\n  bfd_set_section_flags(stdoutput,seg,base);\n  record_alignment(seg,flags);\n  return seg;\n}" { (declaration "segT seg;" type_identifier identifier ;) (expression_statement "seg = subseg_new((char *)cseg,0);" (assignment_expression "seg = subseg_new((char *)cseg,0)" identifier = (call_expression "subseg_new((char *)cseg,0)" identifier (argument_list "((char *)cseg,0)" ( (cast_expression "(char *)cseg" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (expression_statement "bfd_set_section_flags(stdoutput,seg,base);" (call_expression "bfd_set_section_flags(stdoutput,seg,base)" identifier (argument_list "(stdoutput,seg,base)" ( identifier , identifier , identifier ))) ;) (expression_statement "record_alignment(seg,flags);" (call_expression "record_alignment(seg,flags)" identifier (argument_list "(seg,flags)" ( identifier , identifier ))) ;) (return_statement "return seg;" return identifier ;) })))
(translation_unit "undefined4 __regparm3 FUN_0001ed90(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000366b0(param_1,0);\n  bfd_set_section_flags(DAT_00077ec4,uVar1,param_2);\n  FUN_0003f050(uVar1,param_3);\n  return uVar1;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0001ed90(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000366b0(param_1,0);\n  bfd_set_section_flags(DAT_00077ec4,uVar1,param_2);\n  FUN_0003f050(uVar1,param_3);\n  return uVar1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0001ed90(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000366b0(param_1,0);\n  bfd_set_section_flags(DAT_00077ec4,uVar1,param_2);\n  FUN_0003f050(uVar1,param_3);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = FUN_000366b0(param_1,0);" (assignment_expression "uVar1 = FUN_000366b0(param_1,0)" identifier = (call_expression "FUN_000366b0(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (expression_statement "bfd_set_section_flags(DAT_00077ec4,uVar1,param_2);" (call_expression "bfd_set_section_flags(DAT_00077ec4,uVar1,param_2)" identifier (argument_list "(DAT_00077ec4,uVar1,param_2)" ( identifier , identifier , identifier ))) ;) (expression_statement "FUN_0003f050(uVar1,param_3);" (call_expression "FUN_0003f050(uVar1,param_3)" identifier (argument_list "(uVar1,param_3)" ( identifier , identifier ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 __regparm3 FUN_0001ed90(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000366b0(param_1,0);\n  bfd_set_section_flags(DAT_00077ec4,uVar1,param_2);\n  FUN_0003f050(uVar1,param_3);\n  return uVar1;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001ed90(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_0001ed90") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (( "(") (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")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = FUN_000366b0(param_1,0);\n  bfd_set_section_flags(DAT_00077ec4,uVar1,param_2);\n  FUN_0003f050(uVar1,param_3);\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = FUN_000366b0(param_1,0);" (assignment_expression "uVar1 = FUN_000366b0(param_1,0)" (identifier "uVar1") (= "=") (call_expression "FUN_000366b0(param_1,0)" (identifier "FUN_000366b0") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "bfd_set_section_flags(DAT_00077ec4,uVar1,param_2);" (call_expression "bfd_set_section_flags(DAT_00077ec4,uVar1,param_2)" (identifier "bfd_set_section_flags") (argument_list "(DAT_00077ec4,uVar1,param_2)" (( "(") (identifier "DAT_00077ec4") (, ",") (identifier "uVar1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "FUN_0003f050(uVar1,param_3);" (call_expression "FUN_0003f050(uVar1,param_3)" (identifier "FUN_0003f050") (argument_list "(uVar1,param_3)" (( "(") (identifier "uVar1") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

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

type_1 __regparm3 function_1(type_1 cseg,char *base,type_2 flags,int align)

{
  type_1 seg;
  
  seg = var_1((char *)cseg,0);
  var_2(stdoutput,seg,base);
  var_3(seg,flags);
  return seg;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) 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)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement (identifier)))))

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

undefined4 __regparm3 MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 uVar1;
  
  uVar1 = FUN_000366b0(param_1,0);
  bfd_set_section_flags(DAT_00077ec4,uVar1,param_2);
  FUN_0003f050(uVar1,param_3);
  return uVar1;
}

