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

bfd_boolean gld_i386pe_recognized_file(lang_input_statement_type *entry)

{
  bfd_boolean bVar1;
  
  pe_dll_id_target("pei-i386");
  bVar1 = pe_bfd_is_dll(entry->the_bfd);
  if (bVar1 == 0) {
    return 0;
  }
  bVar1 = pe_implied_import_dll(entry->filename);
  return bVar1;
}



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

void FUN_00056190(int param_1)

{
  int iVar1;
  
  FUN_00063a00("pei-i386");
  iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10));
  if (iVar1 == 0) {
    return;
  }
  FUN_00066060(*(undefined4 *)(param_1 + 8));
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00017b80
ADD EBX,0x177e69
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
LEA EAX,[EBX + 0xfffd25e0]
PUSH EAX
CALL 0x00063a00
POP EAX
PUSH dword ptr [ESI + 0x10]
CALL 0x000683e0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000561d0
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0xc
PUSH dword ptr [ESI + 0x8]
CALL 0x00066060
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_00056190(int param_1)\n\n{\n  int iVar1;\n  \n  FUN_00063a00("pei-i386");\n  iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10));\n  if (iVar1 == 0) {\n    return;\n  }\n  FUN_00066060(*(undefined4 *)(param_1 + 8));\n  return;\n}\n\n" comment (function_definition "void FUN_00056190(int param_1)\n\n{\n  int iVar1;\n  \n  FUN_00063a00("pei-i386");\n  iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10));\n  if (iVar1 == 0) {\n    return;\n  }\n  FUN_00066060(*(undefined4 *)(param_1 + 8));\n  return;\n}" primitive_type (function_declarator "FUN_00056190(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  FUN_00063a00("pei-i386");\n  iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10));\n  if (iVar1 == 0) {\n    return;\n  }\n  FUN_00066060(*(undefined4 *)(param_1 + 8));\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "FUN_00063a00("pei-i386");" (call_expression "FUN_00063a00("pei-i386")" identifier (argument_list "("pei-i386")" ( (string_literal ""pei-i386"" " string_content ") ))) ;) (expression_statement "iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10));" (assignment_expression "iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10))" identifier = (call_expression "FUN_000683e0(*(undefined4 *)(param_1 + 0x10))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_00066060(*(undefined4 *)(param_1 + 8));" (call_expression "FUN_00066060(*(undefined4 *)(param_1 + 8))" identifier (argument_list "(*(undefined4 *)(param_1 + 8))" ( (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) ))) ;) (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\nbfd_boolean gld_i386pe_recognized_file(lang_input_statement_type *entry)\n\n{\n  bfd_boolean bVar1;\n  \n  pe_dll_id_target("pei-i386");\n  bVar1 = pe_bfd_is_dll(entry->the_bfd);\n  if (bVar1 == 0) {\n    return 0;\n  }\n  bVar1 = pe_implied_import_dll(entry->filename);\n  return bVar1;\n}\n\n" comment comment (function_definition "bfd_boolean gld_i386pe_recognized_file(lang_input_statement_type *entry)\n\n{\n  bfd_boolean bVar1;\n  \n  pe_dll_id_target("pei-i386");\n  bVar1 = pe_bfd_is_dll(entry->the_bfd);\n  if (bVar1 == 0) {\n    return 0;\n  }\n  bVar1 = pe_implied_import_dll(entry->filename);\n  return bVar1;\n}" type_identifier (function_declarator "gld_i386pe_recognized_file(lang_input_statement_type *entry)" identifier (parameter_list "(lang_input_statement_type *entry)" ( (parameter_declaration "lang_input_statement_type *entry" type_identifier (pointer_declarator "*entry" * identifier)) ))) (compound_statement "{\n  bfd_boolean bVar1;\n  \n  pe_dll_id_target("pei-i386");\n  bVar1 = pe_bfd_is_dll(entry->the_bfd);\n  if (bVar1 == 0) {\n    return 0;\n  }\n  bVar1 = pe_implied_import_dll(entry->filename);\n  return bVar1;\n}" { (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (expression_statement "pe_dll_id_target("pei-i386");" (call_expression "pe_dll_id_target("pei-i386")" identifier (argument_list "("pei-i386")" ( (string_literal ""pei-i386"" " string_content ") ))) ;) (expression_statement "bVar1 = pe_bfd_is_dll(entry->the_bfd);" (assignment_expression "bVar1 = pe_bfd_is_dll(entry->the_bfd)" identifier = (call_expression "pe_bfd_is_dll(entry->the_bfd)" identifier (argument_list "(entry->the_bfd)" ( (field_expression "entry->the_bfd" identifier -> field_identifier) )))) ;) (if_statement "if (bVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(bVar1 == 0)" ( (binary_expression "bVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar1 = pe_implied_import_dll(entry->filename);" (assignment_expression "bVar1 = pe_implied_import_dll(entry->filename)" identifier = (call_expression "pe_implied_import_dll(entry->filename)" identifier (argument_list "(entry->filename)" ( (field_expression "entry->filename" identifier -> field_identifier) )))) ;) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "void FUN_00056190(int param_1)\n\n{\n  int iVar1;\n  \n  FUN_00063a00("pei-i386");\n  iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10));\n  if (iVar1 == 0) {\n    return;\n  }\n  FUN_00066060(*(undefined4 *)(param_1 + 8));\n  return;\n}\n\n" (function_definition "void FUN_00056190(int param_1)\n\n{\n  int iVar1;\n  \n  FUN_00063a00("pei-i386");\n  iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10));\n  if (iVar1 == 0) {\n    return;\n  }\n  FUN_00066060(*(undefined4 *)(param_1 + 8));\n  return;\n}" primitive_type (function_declarator "FUN_00056190(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  FUN_00063a00("pei-i386");\n  iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10));\n  if (iVar1 == 0) {\n    return;\n  }\n  FUN_00066060(*(undefined4 *)(param_1 + 8));\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "FUN_00063a00("pei-i386");" (call_expression "FUN_00063a00("pei-i386")" identifier (argument_list "("pei-i386")" ( (string_literal ""pei-i386"" " string_content ") ))) ;) (expression_statement "iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10));" (assignment_expression "iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10))" identifier = (call_expression "FUN_000683e0(*(undefined4 *)(param_1 + 0x10))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar1 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_00066060(*(undefined4 *)(param_1 + 8));" (call_expression "FUN_00066060(*(undefined4 *)(param_1 + 8))" identifier (argument_list "(*(undefined4 *)(param_1 + 8))" ( (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00056190(int param_1)\n\n{\n  int iVar1;\n  \n  FUN_00063a00("pei-i386");\n  iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10));\n  if (iVar1 == 0) {\n    return;\n  }\n  FUN_00066060(*(undefined4 *)(param_1 + 8));\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00056190(int param_1)" (identifier "FUN_00056190") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  FUN_00063a00("pei-i386");\n  iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10));\n  if (iVar1 == 0) {\n    return;\n  }\n  FUN_00066060(*(undefined4 *)(param_1 + 8));\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "FUN_00063a00("pei-i386");" (call_expression "FUN_00063a00("pei-i386")" (identifier "FUN_00063a00") (argument_list "("pei-i386")" (( "(") (string_literal ""pei-i386"" (" """) (string_content "pei-i386") (" """)) () ")"))) (; ";")) (expression_statement "iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10));" (assignment_expression "iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10))" (identifier "iVar1") (= "=") (call_expression "FUN_000683e0(*(undefined4 *)(param_1 + 0x10))" (identifier "FUN_000683e0") (argument_list "(*(undefined4 *)(param_1 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00066060(*(undefined4 *)(param_1 + 8));" (call_expression "FUN_00066060(*(undefined4 *)(param_1 + 8))" (identifier "FUN_00066060") (argument_list "(*(undefined4 *)(param_1 + 8))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

type_1 function_1(type_2 *entry)

{
  type_1 var_3;
  
  var_1("pei-i386");
  var_3 = var_2(entry->the_bfd);
  if (var_3 == 0) {
    return 0;
  }
  var_3 = var_4(entry->filename);
  return var_3;
}


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

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

void MASKED(int param_1)

{
  int iVar1;
  
  FUN_00063a00("pei-i386");
  iVar1 = FUN_000683e0(*(undefined4 *)(param_1 + 0x10));
  if (iVar1 == 0) {
    return;
  }
  FUN_00066060(*(undefined4 *)(param_1 + 8));
  return;
}

