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

void ar_end(void)

{
  if (obfd != (bfd *)0x0) {
    bfd_cache_close(obfd);
    unlink(obfd->filename);
  }
  return;
}



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

void FUN_00017320(void)

{
  if (DAT_000212e4 != (undefined4 *)0x0) {
    bfd_cache_close(DAT_000212e4);
    unlink((char *)*DAT_000212e4);
  }
  return;
}


PUSH EBX
CALL 0x00013710
ADD EBX,0x9cda
SUB ESP,0x8
MOV EAX,dword ptr [EBX + 0x2e4]
TEST EAX,EAX
JZ 0x00017353
SUB ESP,0xc
PUSH EAX
CALL 0x00012060
POP EAX
MOV EAX,dword ptr [EBX + 0x2e4]
PUSH dword ptr [EAX]
CALL 0x00012190
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_00017320(void)\n\n{\n  if (DAT_000212e4 != (undefined4 *)0x0) {\n    bfd_cache_close(DAT_000212e4);\n    unlink((char *)*DAT_000212e4);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00017320(void)\n\n{\n  if (DAT_000212e4 != (undefined4 *)0x0) {\n    bfd_cache_close(DAT_000212e4);\n    unlink((char *)*DAT_000212e4);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00017320(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_000212e4 != (undefined4 *)0x0) {\n    bfd_cache_close(DAT_000212e4);\n    unlink((char *)*DAT_000212e4);\n  }\n  return;\n}" { (if_statement "if (DAT_000212e4 != (undefined4 *)0x0) {\n    bfd_cache_close(DAT_000212e4);\n    unlink((char *)*DAT_000212e4);\n  }" if (parenthesized_expression "(DAT_000212e4 != (undefined4 *)0x0)" ( (binary_expression "DAT_000212e4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bfd_cache_close(DAT_000212e4);\n    unlink((char *)*DAT_000212e4);\n  }" { (expression_statement "bfd_cache_close(DAT_000212e4);" (call_expression "bfd_cache_close(DAT_000212e4)" identifier (argument_list "(DAT_000212e4)" ( identifier ))) ;) (expression_statement "unlink((char *)*DAT_000212e4);" (call_expression "unlink((char *)*DAT_000212e4)" identifier (argument_list "((char *)*DAT_000212e4)" ( (cast_expression "(char *)*DAT_000212e4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_000212e4" * 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 ar_end(void)\n\n{\n  if (obfd != (bfd *)0x0) {\n    bfd_cache_close(obfd);\n    unlink(obfd->filename);\n  }\n  return;\n}\n\n" comment comment (function_definition "void ar_end(void)\n\n{\n  if (obfd != (bfd *)0x0) {\n    bfd_cache_close(obfd);\n    unlink(obfd->filename);\n  }\n  return;\n}" primitive_type (function_declarator "ar_end(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (obfd != (bfd *)0x0) {\n    bfd_cache_close(obfd);\n    unlink(obfd->filename);\n  }\n  return;\n}" { (if_statement "if (obfd != (bfd *)0x0) {\n    bfd_cache_close(obfd);\n    unlink(obfd->filename);\n  }" if (parenthesized_expression "(obfd != (bfd *)0x0)" ( (binary_expression "obfd != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bfd_cache_close(obfd);\n    unlink(obfd->filename);\n  }" { (expression_statement "bfd_cache_close(obfd);" (call_expression "bfd_cache_close(obfd)" identifier (argument_list "(obfd)" ( identifier ))) ;) (expression_statement "unlink(obfd->filename);" (call_expression "unlink(obfd->filename)" identifier (argument_list "(obfd->filename)" ( (field_expression "obfd->filename" identifier -> field_identifier) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00017320(void)\n\n{\n  if (DAT_000212e4 != (undefined4 *)0x0) {\n    bfd_cache_close(DAT_000212e4);\n    unlink((char *)*DAT_000212e4);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00017320(void)\n\n{\n  if (DAT_000212e4 != (undefined4 *)0x0) {\n    bfd_cache_close(DAT_000212e4);\n    unlink((char *)*DAT_000212e4);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00017320(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_000212e4 != (undefined4 *)0x0) {\n    bfd_cache_close(DAT_000212e4);\n    unlink((char *)*DAT_000212e4);\n  }\n  return;\n}" { (if_statement "if (DAT_000212e4 != (undefined4 *)0x0) {\n    bfd_cache_close(DAT_000212e4);\n    unlink((char *)*DAT_000212e4);\n  }" if (parenthesized_expression "(DAT_000212e4 != (undefined4 *)0x0)" ( (binary_expression "DAT_000212e4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bfd_cache_close(DAT_000212e4);\n    unlink((char *)*DAT_000212e4);\n  }" { (expression_statement "bfd_cache_close(DAT_000212e4);" (call_expression "bfd_cache_close(DAT_000212e4)" identifier (argument_list "(DAT_000212e4)" ( identifier ))) ;) (expression_statement "unlink((char *)*DAT_000212e4);" (call_expression "unlink((char *)*DAT_000212e4)" identifier (argument_list "((char *)*DAT_000212e4)" ( (cast_expression "(char *)*DAT_000212e4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*DAT_000212e4" * identifier)) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00017320(void)\n\n{\n  if (DAT_000212e4 != (undefined4 *)0x0) {\n    bfd_cache_close(DAT_000212e4);\n    unlink((char *)*DAT_000212e4);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00017320(void)" (identifier "FUN_00017320") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (DAT_000212e4 != (undefined4 *)0x0) {\n    bfd_cache_close(DAT_000212e4);\n    unlink((char *)*DAT_000212e4);\n  }\n  return;\n}" ({ "{") (if_statement "if (DAT_000212e4 != (undefined4 *)0x0) {\n    bfd_cache_close(DAT_000212e4);\n    unlink((char *)*DAT_000212e4);\n  }" (if "if") (parenthesized_expression "(DAT_000212e4 != (undefined4 *)0x0)" (( "(") (binary_expression "DAT_000212e4 != (undefined4 *)0x0" (identifier "DAT_000212e4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    bfd_cache_close(DAT_000212e4);\n    unlink((char *)*DAT_000212e4);\n  }" ({ "{") (expression_statement "bfd_cache_close(DAT_000212e4);" (call_expression "bfd_cache_close(DAT_000212e4)" (identifier "bfd_cache_close") (argument_list "(DAT_000212e4)" (( "(") (identifier "DAT_000212e4") () ")"))) (; ";")) (expression_statement "unlink((char *)*DAT_000212e4);" (call_expression "unlink((char *)*DAT_000212e4)" (identifier "unlink") (argument_list "((char *)*DAT_000212e4)" (( "(") (cast_expression "(char *)*DAT_000212e4" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*DAT_000212e4" (* "*") (identifier "DAT_000212e4"))) () ")"))) (; ";")) (} "}"))) (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)

{
  if (var_1 != (type_1 *)0x0) {
    var_2(var_1);
    var_3(var_1->filename);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))))) (return_statement))))

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

void MASKED(void)

{
  if (DAT_000212e4 != (undefined4 *)0x0) {
    bfd_cache_close(DAT_000212e4);
    unlink((char *)*DAT_000212e4);
  }
  return;
}

