
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

int ldemul_find_potential_libraries(char *name,lang_input_statement_type *entry)

{
  int iVar1;
  
  if (ld_emulation->find_potential_libraries !=
      (_func_int_char_ptr_lang_input_statement_struct_ptr *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00033cc7. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar1 = (*ld_emulation->find_potential_libraries)(name,entry);
    return iVar1;
  }
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 FUN_00033cb0(void)

{
  undefined4 uVar1;
  
  if (*(code **)(DAT_001d086c + 0x60) != (code *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00033cc7. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar1 = (**(code **)(DAT_001d086c + 0x60))();
    return uVar1;
  }
  return 0;
}


CALL 0x0001d2e2
ADD EAX,0x19b34b
MOV EAX,dword ptr [EAX + 0x186c]
MOV EAX,dword ptr [EAX + 0x60]
TEST EAX,EAX
JZ 0x00033cd0
JMP EAX
XOR EAX,EAX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined4 FUN_00033cb0(void)\n\n{\n  undefined4 uVar1;\n  \n  if (*(code **)(DAT_001d086c + 0x60) != (code *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00033cc7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (**(code **)(DAT_001d086c + 0x60))();\n    return uVar1;\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_00033cb0(void)\n\n{\n  undefined4 uVar1;\n  \n  if (*(code **)(DAT_001d086c + 0x60) != (code *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00033cc7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (**(code **)(DAT_001d086c + 0x60))();\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00033cb0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(code **)(DAT_001d086c + 0x60) != (code *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00033cc7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (**(code **)(DAT_001d086c + 0x60))();\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(code **)(DAT_001d086c + 0x60) != (code *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00033cc7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (**(code **)(DAT_001d086c + 0x60))();\n    return uVar1;\n  }" if (parenthesized_expression "(*(code **)(DAT_001d086c + 0x60) != (code *)0x0)" ( (binary_expression "*(code **)(DAT_001d086c + 0x60) != (code *)0x0" (pointer_expression "*(code **)(DAT_001d086c + 0x60)" * (cast_expression "(code **)(DAT_001d086c + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_001d086c + 0x60)" ( (binary_expression "DAT_001d086c + 0x60" identifier + number_literal) )))) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00033cc7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    uVar1 = (**(code **)(DAT_001d086c + 0x60))();\n    return uVar1;\n  }" { comment comment (expression_statement "uVar1 = (**(code **)(DAT_001d086c + 0x60))();" (assignment_expression "uVar1 = (**(code **)(DAT_001d086c + 0x60))()" identifier = (call_expression "(**(code **)(DAT_001d086c + 0x60))()" (parenthesized_expression "(**(code **)(DAT_001d086c + 0x60))" ( (pointer_expression "**(code **)(DAT_001d086c + 0x60)" * (pointer_expression "*(code **)(DAT_001d086c + 0x60)" * (cast_expression "(code **)(DAT_001d086c + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_001d086c + 0x60)" ( (binary_expression "DAT_001d086c + 0x60" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n\nint ldemul_find_potential_libraries(char *name,lang_input_statement_type *entry)\n\n{\n  int iVar1;\n  \n  if (ld_emulation->find_potential_libraries !=\n      (_func_int_char_ptr_lang_input_statement_struct_ptr *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00033cc7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*ld_emulation->find_potential_libraries)(name,entry);\n    return iVar1;\n  }\n  return 0;\n}\n\n" comment comment (function_definition "int ldemul_find_potential_libraries(char *name,lang_input_statement_type *entry)\n\n{\n  int iVar1;\n  \n  if (ld_emulation->find_potential_libraries !=\n      (_func_int_char_ptr_lang_input_statement_struct_ptr *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00033cc7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*ld_emulation->find_potential_libraries)(name,entry);\n    return iVar1;\n  }\n  return 0;\n}" primitive_type (function_declarator "ldemul_find_potential_libraries(char *name,lang_input_statement_type *entry)" identifier (parameter_list "(char *name,lang_input_statement_type *entry)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "lang_input_statement_type *entry" type_identifier (pointer_declarator "*entry" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (ld_emulation->find_potential_libraries !=\n      (_func_int_char_ptr_lang_input_statement_struct_ptr *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00033cc7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*ld_emulation->find_potential_libraries)(name,entry);\n    return iVar1;\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (ld_emulation->find_potential_libraries !=\n      (_func_int_char_ptr_lang_input_statement_struct_ptr *)0x0) {\n                    /* WARNING: Could not recover jumptable at 0x00033cc7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*ld_emulation->find_potential_libraries)(name,entry);\n    return iVar1;\n  }" if (parenthesized_expression "(ld_emulation->find_potential_libraries !=\n      (_func_int_char_ptr_lang_input_statement_struct_ptr *)0x0)" ( (binary_expression "ld_emulation->find_potential_libraries !=\n      (_func_int_char_ptr_lang_input_statement_struct_ptr *)0x0" (field_expression "ld_emulation->find_potential_libraries" identifier -> field_identifier) != (cast_expression "(_func_int_char_ptr_lang_input_statement_struct_ptr *)0x0" ( (type_descriptor "_func_int_char_ptr_lang_input_statement_struct_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x00033cc7. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    iVar1 = (*ld_emulation->find_potential_libraries)(name,entry);\n    return iVar1;\n  }" { comment comment (expression_statement "iVar1 = (*ld_emulation->find_potential_libraries)(name,entry);" (assignment_expression "iVar1 = (*ld_emulation->find_potential_libraries)(name,entry)" identifier = (call_expression "(*ld_emulation->find_potential_libraries)(name,entry)" (parenthesized_expression "(*ld_emulation->find_potential_libraries)" ( (pointer_expression "*ld_emulation->find_potential_libraries" * (field_expression "ld_emulation->find_potential_libraries" identifier -> field_identifier)) )) (argument_list "(name,entry)" ( identifier , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_00033cb0(void)\n\n{\n  undefined4 uVar1;\n  \n  if (*(code **)(DAT_001d086c + 0x60) != (code *)0x0) {\n                    \n                    \n    uVar1 = (**(code **)(DAT_001d086c + 0x60))();\n    return uVar1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00033cb0(void)\n\n{\n  undefined4 uVar1;\n  \n  if (*(code **)(DAT_001d086c + 0x60) != (code *)0x0) {\n                    \n                    \n    uVar1 = (**(code **)(DAT_001d086c + 0x60))();\n    return uVar1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00033cb0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(code **)(DAT_001d086c + 0x60) != (code *)0x0) {\n                    \n                    \n    uVar1 = (**(code **)(DAT_001d086c + 0x60))();\n    return uVar1;\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (*(code **)(DAT_001d086c + 0x60) != (code *)0x0) {\n                    \n                    \n    uVar1 = (**(code **)(DAT_001d086c + 0x60))();\n    return uVar1;\n  }" if (parenthesized_expression "(*(code **)(DAT_001d086c + 0x60) != (code *)0x0)" ( (binary_expression "*(code **)(DAT_001d086c + 0x60) != (code *)0x0" (pointer_expression "*(code **)(DAT_001d086c + 0x60)" * (cast_expression "(code **)(DAT_001d086c + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_001d086c + 0x60)" ( (binary_expression "DAT_001d086c + 0x60" identifier + number_literal) )))) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n                    \n    uVar1 = (**(code **)(DAT_001d086c + 0x60))();\n    return uVar1;\n  }" { (expression_statement "uVar1 = (**(code **)(DAT_001d086c + 0x60))();" (assignment_expression "uVar1 = (**(code **)(DAT_001d086c + 0x60))()" identifier = (call_expression "(**(code **)(DAT_001d086c + 0x60))()" (parenthesized_expression "(**(code **)(DAT_001d086c + 0x60))" ( (pointer_expression "**(code **)(DAT_001d086c + 0x60)" * (pointer_expression "*(code **)(DAT_001d086c + 0x60)" * (cast_expression "(code **)(DAT_001d086c + 0x60)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_001d086c + 0x60)" ( (binary_expression "DAT_001d086c + 0x60" identifier + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar1;" return identifier ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00033cb0(void)\n\n{\n  undefined4 uVar1;\n  \n  if (*(code **)(DAT_001d086c + 0x60) != (code *)0x0) {\n                    \n                    \n    uVar1 = (**(code **)(DAT_001d086c + 0x60))();\n    return uVar1;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00033cb0(void)" (identifier "FUN_00033cb0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (*(code **)(DAT_001d086c + 0x60) != (code *)0x0) {\n                    \n                    \n    uVar1 = (**(code **)(DAT_001d086c + 0x60))();\n    return uVar1;\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (*(code **)(DAT_001d086c + 0x60) != (code *)0x0) {\n                    \n                    \n    uVar1 = (**(code **)(DAT_001d086c + 0x60))();\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(*(code **)(DAT_001d086c + 0x60) != (code *)0x0)" (( "(") (binary_expression "*(code **)(DAT_001d086c + 0x60) != (code *)0x0" (pointer_expression "*(code **)(DAT_001d086c + 0x60)" (* "*") (cast_expression "(code **)(DAT_001d086c + 0x60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_001d086c + 0x60)" (( "(") (binary_expression "DAT_001d086c + 0x60" (identifier "DAT_001d086c") (+ "+") (number_literal "0x60")) () ")")))) (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n                    \n    uVar1 = (**(code **)(DAT_001d086c + 0x60))();\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = (**(code **)(DAT_001d086c + 0x60))();" (assignment_expression "uVar1 = (**(code **)(DAT_001d086c + 0x60))()" (identifier "uVar1") (= "=") (call_expression "(**(code **)(DAT_001d086c + 0x60))()" (parenthesized_expression "(**(code **)(DAT_001d086c + 0x60))" (( "(") (pointer_expression "**(code **)(DAT_001d086c + 0x60)" (* "*") (pointer_expression "*(code **)(DAT_001d086c + 0x60)" (* "*") (cast_expression "(code **)(DAT_001d086c + 0x60)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_001d086c + 0x60)" (( "(") (binary_expression "DAT_001d086c + 0x60" (identifier "DAT_001d086c") (+ "+") (number_literal "0x60")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

int function_1(char *name,type_1 *entry)

{
  int iVar1;
  
  if (ld_emulation->find_potential_libraries !=
      (type_2 *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00033cc7. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    iVar1 = (*ld_emulation->find_potential_libraries)(name,entry);
    return iVar1;
  }
  return 0;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 MASKED(void)

{
  undefined4 uVar1;
  
  if (*(code **)(DAT_001d086c + 0x60) != (code *)0x0) {
                    /* WARNING: Could not recover jumptable at 0x00033cc7. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    uVar1 = (**(code **)(DAT_001d086c + 0x60))();
    return uVar1;
  }
  return 0;
}

