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

void print_symbol_filename_bsd(bfd *archive_bfd,bfd *abfd)

{
  if (filename_per_symbol != 0) {
    if (archive_bfd != (bfd *)0x0) {
      printf("%s:",archive_bfd->filename);
    }
    printf("%s:",abfd->filename);
  }
  return;
}



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

void FUN_000152a0(undefined4 *param_1,undefined4 *param_2)

{
  if (DAT_0001d3e0 != 0) {
    if (param_1 != (undefined4 *)0x0) {
      printf("%s:",*param_1);
    }
    printf("%s:",*param_2);
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00012a60
ADD EBX,0x7d59
SUB ESP,0x4
MOV EDX,dword ptr [EBX + 0x3e0]
TEST EDX,EDX
JZ 0x000152ec
MOV EAX,dword ptr [ESP + 0x10]
LEA ESI,[EBX + 0xffffb0a1]
TEST EAX,EAX
JZ 0x000152da
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x18]
PUSH dword ptr [EAX]
PUSH ESI
CALL 0x00012080
ADD ESP,0x10
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x1c]
PUSH dword ptr [EAX]
PUSH ESI
CALL 0x00012080
ADD ESP,0x10
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000152a0(undefined4 *param_1,undefined4 *param_2)\n\n{\n  if (DAT_0001d3e0 != 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }\n    printf("%s:",*param_2);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000152a0(undefined4 *param_1,undefined4 *param_2)\n\n{\n  if (DAT_0001d3e0 != 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }\n    printf("%s:",*param_2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000152a0(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (DAT_0001d3e0 != 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }\n    printf("%s:",*param_2);\n  }\n  return;\n}" { (if_statement "if (DAT_0001d3e0 != 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }\n    printf("%s:",*param_2);\n  }" if (parenthesized_expression "(DAT_0001d3e0 != 0)" ( (binary_expression "DAT_0001d3e0 != 0" identifier != number_literal) )) (compound_statement "{\n    if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }\n    printf("%s:",*param_2);\n  }" { (if_statement "if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      printf("%s:",*param_1);\n    }" { (expression_statement "printf("%s:",*param_1);" (call_expression "printf("%s:",*param_1)" identifier (argument_list "("%s:",*param_1)" ( (string_literal ""%s:"" " string_content ") , (pointer_expression "*param_1" * identifier) ))) ;) })) (expression_statement "printf("%s:",*param_2);" (call_expression "printf("%s:",*param_2)" identifier (argument_list "("%s:",*param_2)" ( (string_literal ""%s:"" " string_content ") , (pointer_expression "*param_2" * 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 */\n\nvoid print_symbol_filename_bsd(bfd *archive_bfd,bfd *abfd)\n\n{\n  if (filename_per_symbol != 0) {\n    if (archive_bfd != (bfd *)0x0) {\n      printf("%s:",archive_bfd->filename);\n    }\n    printf("%s:",abfd->filename);\n  }\n  return;\n}\n\n" comment comment (function_definition "void print_symbol_filename_bsd(bfd *archive_bfd,bfd *abfd)\n\n{\n  if (filename_per_symbol != 0) {\n    if (archive_bfd != (bfd *)0x0) {\n      printf("%s:",archive_bfd->filename);\n    }\n    printf("%s:",abfd->filename);\n  }\n  return;\n}" primitive_type (function_declarator "print_symbol_filename_bsd(bfd *archive_bfd,bfd *abfd)" identifier (parameter_list "(bfd *archive_bfd,bfd *abfd)" ( (parameter_declaration "bfd *archive_bfd" type_identifier (pointer_declarator "*archive_bfd" * identifier)) , (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) ))) (compound_statement "{\n  if (filename_per_symbol != 0) {\n    if (archive_bfd != (bfd *)0x0) {\n      printf("%s:",archive_bfd->filename);\n    }\n    printf("%s:",abfd->filename);\n  }\n  return;\n}" { (if_statement "if (filename_per_symbol != 0) {\n    if (archive_bfd != (bfd *)0x0) {\n      printf("%s:",archive_bfd->filename);\n    }\n    printf("%s:",abfd->filename);\n  }" if (parenthesized_expression "(filename_per_symbol != 0)" ( (binary_expression "filename_per_symbol != 0" identifier != number_literal) )) (compound_statement "{\n    if (archive_bfd != (bfd *)0x0) {\n      printf("%s:",archive_bfd->filename);\n    }\n    printf("%s:",abfd->filename);\n  }" { (if_statement "if (archive_bfd != (bfd *)0x0) {\n      printf("%s:",archive_bfd->filename);\n    }" if (parenthesized_expression "(archive_bfd != (bfd *)0x0)" ( (binary_expression "archive_bfd != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      printf("%s:",archive_bfd->filename);\n    }" { (expression_statement "printf("%s:",archive_bfd->filename);" (call_expression "printf("%s:",archive_bfd->filename)" identifier (argument_list "("%s:",archive_bfd->filename)" ( (string_literal ""%s:"" " string_content ") , (field_expression "archive_bfd->filename" identifier -> field_identifier) ))) ;) })) (expression_statement "printf("%s:",abfd->filename);" (call_expression "printf("%s:",abfd->filename)" identifier (argument_list "("%s:",abfd->filename)" ( (string_literal ""%s:"" " string_content ") , (field_expression "abfd->filename" identifier -> field_identifier) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000152a0(undefined4 *param_1,undefined4 *param_2)\n\n{\n  if (DAT_0001d3e0 != 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }\n    printf("%s:",*param_2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000152a0(undefined4 *param_1,undefined4 *param_2)\n\n{\n  if (DAT_0001d3e0 != 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }\n    printf("%s:",*param_2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000152a0(undefined4 *param_1,undefined4 *param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (DAT_0001d3e0 != 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }\n    printf("%s:",*param_2);\n  }\n  return;\n}" { (if_statement "if (DAT_0001d3e0 != 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }\n    printf("%s:",*param_2);\n  }" if (parenthesized_expression "(DAT_0001d3e0 != 0)" ( (binary_expression "DAT_0001d3e0 != 0" identifier != number_literal) )) (compound_statement "{\n    if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }\n    printf("%s:",*param_2);\n  }" { (if_statement "if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      printf("%s:",*param_1);\n    }" { (expression_statement "printf("%s:",*param_1);" (call_expression "printf("%s:",*param_1)" identifier (argument_list "("%s:",*param_1)" ( (string_literal ""%s:"" " string_content ") , (pointer_expression "*param_1" * identifier) ))) ;) })) (expression_statement "printf("%s:",*param_2);" (call_expression "printf("%s:",*param_2)" identifier (argument_list "("%s:",*param_2)" ( (string_literal ""%s:"" " string_content ") , (pointer_expression "*param_2" * identifier) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (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 ( (string_literal " string_content ") , (pointer_expression * IDENT) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * IDENT) ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000152a0(undefined4 *param_1,undefined4 *param_2)\n\n{\n  if (DAT_0001d3e0 != 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }\n    printf("%s:",*param_2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000152a0(undefined4 *param_1,undefined4 *param_2)" (identifier "FUN_000152a0") (parameter_list "(undefined4 *param_1,undefined4 *param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  if (DAT_0001d3e0 != 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }\n    printf("%s:",*param_2);\n  }\n  return;\n}" ({ "{") (if_statement "if (DAT_0001d3e0 != 0) {\n    if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }\n    printf("%s:",*param_2);\n  }" (if "if") (parenthesized_expression "(DAT_0001d3e0 != 0)" (( "(") (binary_expression "DAT_0001d3e0 != 0" (identifier "DAT_0001d3e0") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }\n    printf("%s:",*param_2);\n  }" ({ "{") (if_statement "if (param_1 != (undefined4 *)0x0) {\n      printf("%s:",*param_1);\n    }" (if "if") (parenthesized_expression "(param_1 != (undefined4 *)0x0)" (( "(") (binary_expression "param_1 != (undefined4 *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      printf("%s:",*param_1);\n    }" ({ "{") (expression_statement "printf("%s:",*param_1);" (call_expression "printf("%s:",*param_1)" (identifier "printf") (argument_list "("%s:",*param_1)" (( "(") (string_literal ""%s:"" (" """) (string_content "%s:") (" """)) (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (} "}"))) (expression_statement "printf("%s:",*param_2);" (call_expression "printf("%s:",*param_2)" (identifier "printf") (argument_list "("%s:",*param_2)" (( "(") (string_literal ""%s:"" (" """) (string_content "%s:") (" """)) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *var_2,type_1 *abfd)

{
  if (var_1 != 0) {
    if (var_2 != (type_1 *)0x0) {
      var_3("%s:",var_2->filename);
    }
    var_3("%s:",abfd->filename);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (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 (string_literal (string_content)) (pointer_expression argument: (identifier))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (pointer_expression argument: (identifier))))))) (return_statement))))

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

void MASKED(undefined4 *param_1,undefined4 *param_2)

{
  if (DAT_0001d3e0 != 0) {
    if (param_1 != (undefined4 *)0x0) {
      printf("%s:",*param_1);
    }
    printf("%s:",*param_2);
  }
  return;
}

