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

void ld_cleanup(void)

{
  bfd_cache_close_all();
  plugin_call_cleanup();
  if ((output_filename != (char *)0x0) && (delete_output_file_on_failure != 0)) {
    unlink_if_ordinary(output_filename);
    return;
  }
  return;
}



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

void FUN_0002ba20(void)

{
  bfd_cache_close_all();
  FUN_000351f0();
  if ((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)) {
    unlink_if_ordinary(PTR_s_a_out_0009439c);
    return;
  }
  return;
}


PUSH EBX
CALL 0x00015a10
ADD EBX,0x685da
SUB ESP,0x8
CALL 0x000148f0
CALL 0x000351f0
MOV EAX,dword ptr [EBX + 0x39c]
TEST EAX,EAX
JZ 0x0002ba4f
LEA EDX,[EBX + 0x8c4]
MOV EDX,dword ptr [EDX]
TEST EDX,EDX
JNZ 0x0002ba58
ADD ESP,0x8
POP EBX
RET
SUB ESP,0xc
PUSH EAX
CALL 0x00014790
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0002ba20(void)\n\n{\n  bfd_cache_close_all();\n  FUN_000351f0();\n  if ((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)) {\n    unlink_if_ordinary(PTR_s_a_out_0009439c);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0002ba20(void)\n\n{\n  bfd_cache_close_all();\n  FUN_000351f0();\n  if ((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)) {\n    unlink_if_ordinary(PTR_s_a_out_0009439c);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0002ba20(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bfd_cache_close_all();\n  FUN_000351f0();\n  if ((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)) {\n    unlink_if_ordinary(PTR_s_a_out_0009439c);\n    return;\n  }\n  return;\n}" { (expression_statement "bfd_cache_close_all();" (call_expression "bfd_cache_close_all()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_000351f0();" (call_expression "FUN_000351f0()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)) {\n    unlink_if_ordinary(PTR_s_a_out_0009439c);\n    return;\n  }" if (parenthesized_expression "((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0))" ( (binary_expression "(PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)" (parenthesized_expression "(PTR_s_a_out_0009439c != (undefined *)0x0)" ( (binary_expression "PTR_s_a_out_0009439c != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(DAT_000948c4 != 0)" ( (binary_expression "DAT_000948c4 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    unlink_if_ordinary(PTR_s_a_out_0009439c);\n    return;\n  }" { (expression_statement "unlink_if_ordinary(PTR_s_a_out_0009439c);" (call_expression "unlink_if_ordinary(PTR_s_a_out_0009439c)" identifier (argument_list "(PTR_s_a_out_0009439c)" ( identifier ))) ;) (return_statement "return;" return ;) })) (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 ld_cleanup(void)\n\n{\n  bfd_cache_close_all();\n  plugin_call_cleanup();\n  if ((output_filename != (char *)0x0) && (delete_output_file_on_failure != 0)) {\n    unlink_if_ordinary(output_filename);\n    return;\n  }\n  return;\n}\n\n" comment comment (function_definition "void ld_cleanup(void)\n\n{\n  bfd_cache_close_all();\n  plugin_call_cleanup();\n  if ((output_filename != (char *)0x0) && (delete_output_file_on_failure != 0)) {\n    unlink_if_ordinary(output_filename);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "ld_cleanup(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bfd_cache_close_all();\n  plugin_call_cleanup();\n  if ((output_filename != (char *)0x0) && (delete_output_file_on_failure != 0)) {\n    unlink_if_ordinary(output_filename);\n    return;\n  }\n  return;\n}" { (expression_statement "bfd_cache_close_all();" (call_expression "bfd_cache_close_all()" identifier (argument_list "()" ( ))) ;) (expression_statement "plugin_call_cleanup();" (call_expression "plugin_call_cleanup()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((output_filename != (char *)0x0) && (delete_output_file_on_failure != 0)) {\n    unlink_if_ordinary(output_filename);\n    return;\n  }" if (parenthesized_expression "((output_filename != (char *)0x0) && (delete_output_file_on_failure != 0))" ( (binary_expression "(output_filename != (char *)0x0) && (delete_output_file_on_failure != 0)" (parenthesized_expression "(output_filename != (char *)0x0)" ( (binary_expression "output_filename != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(delete_output_file_on_failure != 0)" ( (binary_expression "delete_output_file_on_failure != 0" identifier != number_literal) ))) )) (compound_statement "{\n    unlink_if_ordinary(output_filename);\n    return;\n  }" { (expression_statement "unlink_if_ordinary(output_filename);" (call_expression "unlink_if_ordinary(output_filename)" identifier (argument_list "(output_filename)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0002ba20(void)\n\n{\n  bfd_cache_close_all();\n  FUN_000351f0();\n  if ((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)) {\n    unlink_if_ordinary(PTR_s_a_out_0009439c);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0002ba20(void)\n\n{\n  bfd_cache_close_all();\n  FUN_000351f0();\n  if ((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)) {\n    unlink_if_ordinary(PTR_s_a_out_0009439c);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0002ba20(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  bfd_cache_close_all();\n  FUN_000351f0();\n  if ((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)) {\n    unlink_if_ordinary(PTR_s_a_out_0009439c);\n    return;\n  }\n  return;\n}" { (expression_statement "bfd_cache_close_all();" (call_expression "bfd_cache_close_all()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_000351f0();" (call_expression "FUN_000351f0()" identifier (argument_list "()" ( ))) ;) (if_statement "if ((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)) {\n    unlink_if_ordinary(PTR_s_a_out_0009439c);\n    return;\n  }" if (parenthesized_expression "((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0))" ( (binary_expression "(PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)" (parenthesized_expression "(PTR_s_a_out_0009439c != (undefined *)0x0)" ( (binary_expression "PTR_s_a_out_0009439c != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(DAT_000948c4 != 0)" ( (binary_expression "DAT_000948c4 != 0" identifier != number_literal) ))) )) (compound_statement "{\n    unlink_if_ordinary(PTR_s_a_out_0009439c);\n    return;\n  }" { (expression_statement "unlink_if_ordinary(PTR_s_a_out_0009439c);" (call_expression "unlink_if_ordinary(PTR_s_a_out_0009439c)" identifier (argument_list "(PTR_s_a_out_0009439c)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_0002ba20(void)\n\n{\n  bfd_cache_close_all();\n  FUN_000351f0();\n  if ((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)) {\n    unlink_if_ordinary(PTR_s_a_out_0009439c);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0002ba20(void)" (identifier "FUN_0002ba20") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  bfd_cache_close_all();\n  FUN_000351f0();\n  if ((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)) {\n    unlink_if_ordinary(PTR_s_a_out_0009439c);\n    return;\n  }\n  return;\n}" ({ "{") (expression_statement "bfd_cache_close_all();" (call_expression "bfd_cache_close_all()" (identifier "bfd_cache_close_all") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_000351f0();" (call_expression "FUN_000351f0()" (identifier "FUN_000351f0") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if ((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)) {\n    unlink_if_ordinary(PTR_s_a_out_0009439c);\n    return;\n  }" (if "if") (parenthesized_expression "((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0))" (( "(") (binary_expression "(PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)" (parenthesized_expression "(PTR_s_a_out_0009439c != (undefined *)0x0)" (( "(") (binary_expression "PTR_s_a_out_0009439c != (undefined *)0x0" (identifier "PTR_s_a_out_0009439c") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(DAT_000948c4 != 0)" (( "(") (binary_expression "DAT_000948c4 != 0" (identifier "DAT_000948c4") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    unlink_if_ordinary(PTR_s_a_out_0009439c);\n    return;\n  }" ({ "{") (expression_statement "unlink_if_ordinary(PTR_s_a_out_0009439c);" (call_expression "unlink_if_ordinary(PTR_s_a_out_0009439c)" (identifier "unlink_if_ordinary") (argument_list "(PTR_s_a_out_0009439c)" (( "(") (identifier "PTR_s_a_out_0009439c") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (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)

{
  var_1();
  var_2();
  if ((var_3 != (char *)0x0) && (var_4 != 0)) {
    var_5(var_3);
    return;
  }
  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: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))) (return_statement))))

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

void MASKED(void)

{
  bfd_cache_close_all();
  FUN_000351f0();
  if ((PTR_s_a_out_0009439c != (undefined *)0x0) && (DAT_000948c4 != 0)) {
    unlink_if_ordinary(PTR_s_a_out_0009439c);
    return;
  }
  return;
}

