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

symbolS * symbol_find_or_make(char *name)

{
  symbolS *psVar1;
  bfd_boolean bVar2;
  
  psVar1 = symbol_find_noref(name,0);
  if (psVar1 != (symbolS *)0x0) {
    return psVar1;
  }
  if ((flag_keep_locals == 0) &&
     (bVar2 = (*stdoutput->xvec->_bfd_is_local_label_name)(stdoutput,name), bVar2 != 0)) {
    psVar1 = md_undefined_symbol(name);
    if (psVar1 != (symbolS *)0x0) {
      return psVar1;
    }
    psVar1 = (symbolS *)
             local_symbol_make(name,(segT)(PTR__bfd_std_section_00069fb4 + 0xa8),0,
                               (fragS *)PTR_zero_address_frag_00069f70);
    return psVar1;
  }
  psVar1 = symbol_make(name);
  symbol_table_insert(psVar1);
  return psVar1;
}



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

int FUN_00038410(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = FUN_00038350(param_1,0);
  if (iVar1 != 0) {
    return iVar1;
  }
  if ((DAT_00072d74 == 0) &&
     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))
  {
    iVar1 = FUN_00042f90(param_1);
    if (iVar1 != 0) {
      return iVar1;
    }
    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);
    return iVar1;
  }
  iVar1 = FUN_00036b40(param_1);
  FUN_00035090(iVar1);
  return iVar1;
}


PUSH ESI
PUSH EBX
CALL 0x000160b0
ADD EBX,0x31be9
SUB ESP,0x1c
MOV ESI,dword ptr [ESP + 0x28]
PUSH 0x0
PUSH ESI
CALL 0x00038350
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00038440
ADD ESP,0x14
POP EBX
POP ESI
RET
LEA EAX,[EBX + 0x8d74]
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JNZ 0x00038469
LEA EAX,[EBX + 0x8e64]
SUB ESP,0x8
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EAX + 0x4]
PUSH ESI
PUSH EAX
CALL dword ptr [EDX + 0x11c]
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00038490
SUB ESP,0xc
PUSH ESI
CALL 0x00036b40
MOV dword ptr [ESP],EAX
MOV dword ptr [ESP + 0x1c],EAX
CALL 0x00035090
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xc]
ADD ESP,0x14
POP EBX
POP ESI
RET
SUB ESP,0xc
PUSH ESI
CALL 0x00042f90
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00038433
MOV EAX,dword ptr [EBX + 0xffffffb4]
PUSH dword ptr [EBX + 0xffffff70]
PUSH 0x0
ADD EAX,0xa8
PUSH EAX
PUSH ESI
CALL 0x00034fa0
ADD ESP,0x10
JMP 0x00038433
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_00038410(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00038350(param_1,0);\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  if ((DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))\n  {\n    iVar1 = FUN_00042f90(param_1);\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);\n    return iVar1;\n  }\n  iVar1 = FUN_00036b40(param_1);\n  FUN_00035090(iVar1);\n  return iVar1;\n}\n\n" comment (function_definition "int FUN_00038410(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00038350(param_1,0);\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  if ((DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))\n  {\n    iVar1 = FUN_00042f90(param_1);\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);\n    return iVar1;\n  }\n  iVar1 = FUN_00036b40(param_1);\n  FUN_00035090(iVar1);\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00038410(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00038350(param_1,0);\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  if ((DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))\n  {\n    iVar1 = FUN_00042f90(param_1);\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);\n    return iVar1;\n  }\n  iVar1 = FUN_00036b40(param_1);\n  FUN_00035090(iVar1);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00038350(param_1,0);" (assignment_expression "iVar1 = FUN_00038350(param_1,0)" identifier = (call_expression "FUN_00038350(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    return iVar1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (if_statement "if ((DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))\n  {\n    iVar1 = FUN_00042f90(param_1);\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);\n    return iVar1;\n  }" if (parenthesized_expression "((DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))" ( (binary_expression "(DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0)" (parenthesized_expression "(DAT_00072d74 == 0)" ( (binary_expression "DAT_00072d74 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0)" ( (comma_expression "iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0" (assignment_expression "iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1)" identifier = (call_expression "(**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))" ( (pointer_expression "**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c)" * (pointer_expression "*(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c)" * (cast_expression "(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_00072e64 + 4) + 0x11c)" ( (binary_expression "*(int *)(DAT_00072e64 + 4) + 0x11c" (pointer_expression "*(int *)(DAT_00072e64 + 4)" * (cast_expression "(int *)(DAT_00072e64 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00072e64 + 4)" ( (binary_expression "DAT_00072e64 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(DAT_00072e64,param_1)" ( identifier , identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar1 = FUN_00042f90(param_1);\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);\n    return iVar1;\n  }" { (expression_statement "iVar1 = FUN_00042f90(param_1);" (assignment_expression "iVar1 = FUN_00042f90(param_1)" identifier = (call_expression "FUN_00042f90(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return iVar1;\n    }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);" (assignment_expression "iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70)" identifier = (call_expression "FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70)" identifier (argument_list "(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70)" ( identifier , (binary_expression "PTR__bfd_std_section_00069fb4 + 0xa8" identifier + number_literal) , number_literal , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = FUN_00036b40(param_1);" (assignment_expression "iVar1 = FUN_00036b40(param_1)" identifier = (call_expression "FUN_00036b40(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "FUN_00035090(iVar1);" (call_expression "FUN_00035090(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nsymbolS * symbol_find_or_make(char *name)\n\n{\n  symbolS *psVar1;\n  bfd_boolean bVar2;\n  \n  psVar1 = symbol_find_noref(name,0);\n  if (psVar1 != (symbolS *)0x0) {\n    return psVar1;\n  }\n  if ((flag_keep_locals == 0) &&\n     (bVar2 = (*stdoutput->xvec->_bfd_is_local_label_name)(stdoutput,name), bVar2 != 0)) {\n    psVar1 = md_undefined_symbol(name);\n    if (psVar1 != (symbolS *)0x0) {\n      return psVar1;\n    }\n    psVar1 = (symbolS *)\n             local_symbol_make(name,(segT)(PTR__bfd_std_section_00069fb4 + 0xa8),0,\n                               (fragS *)PTR_zero_address_frag_00069f70);\n    return psVar1;\n  }\n  psVar1 = symbol_make(name);\n  symbol_table_insert(psVar1);\n  return psVar1;\n}\n\n" comment comment (function_definition "symbolS * symbol_find_or_make(char *name)\n\n{\n  symbolS *psVar1;\n  bfd_boolean bVar2;\n  \n  psVar1 = symbol_find_noref(name,0);\n  if (psVar1 != (symbolS *)0x0) {\n    return psVar1;\n  }\n  if ((flag_keep_locals == 0) &&\n     (bVar2 = (*stdoutput->xvec->_bfd_is_local_label_name)(stdoutput,name), bVar2 != 0)) {\n    psVar1 = md_undefined_symbol(name);\n    if (psVar1 != (symbolS *)0x0) {\n      return psVar1;\n    }\n    psVar1 = (symbolS *)\n             local_symbol_make(name,(segT)(PTR__bfd_std_section_00069fb4 + 0xa8),0,\n                               (fragS *)PTR_zero_address_frag_00069f70);\n    return psVar1;\n  }\n  psVar1 = symbol_make(name);\n  symbol_table_insert(psVar1);\n  return psVar1;\n}" type_identifier (pointer_declarator "* symbol_find_or_make(char *name)" * (function_declarator "symbol_find_or_make(char *name)" identifier (parameter_list "(char *name)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) )))) (compound_statement "{\n  symbolS *psVar1;\n  bfd_boolean bVar2;\n  \n  psVar1 = symbol_find_noref(name,0);\n  if (psVar1 != (symbolS *)0x0) {\n    return psVar1;\n  }\n  if ((flag_keep_locals == 0) &&\n     (bVar2 = (*stdoutput->xvec->_bfd_is_local_label_name)(stdoutput,name), bVar2 != 0)) {\n    psVar1 = md_undefined_symbol(name);\n    if (psVar1 != (symbolS *)0x0) {\n      return psVar1;\n    }\n    psVar1 = (symbolS *)\n             local_symbol_make(name,(segT)(PTR__bfd_std_section_00069fb4 + 0xa8),0,\n                               (fragS *)PTR_zero_address_frag_00069f70);\n    return psVar1;\n  }\n  psVar1 = symbol_make(name);\n  symbol_table_insert(psVar1);\n  return psVar1;\n}" { (declaration "symbolS *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "bfd_boolean bVar2;" type_identifier identifier ;) (expression_statement "psVar1 = symbol_find_noref(name,0);" (assignment_expression "psVar1 = symbol_find_noref(name,0)" identifier = (call_expression "symbol_find_noref(name,0)" identifier (argument_list "(name,0)" ( identifier , number_literal )))) ;) (if_statement "if (psVar1 != (symbolS *)0x0) {\n    return psVar1;\n  }" if (parenthesized_expression "(psVar1 != (symbolS *)0x0)" ( (binary_expression "psVar1 != (symbolS *)0x0" identifier != (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return psVar1;\n  }" { (return_statement "return psVar1;" return identifier ;) })) (if_statement "if ((flag_keep_locals == 0) &&\n     (bVar2 = (*stdoutput->xvec->_bfd_is_local_label_name)(stdoutput,name), bVar2 != 0)) {\n    psVar1 = md_undefined_symbol(name);\n    if (psVar1 != (symbolS *)0x0) {\n      return psVar1;\n    }\n    psVar1 = (symbolS *)\n             local_symbol_make(name,(segT)(PTR__bfd_std_section_00069fb4 + 0xa8),0,\n                               (fragS *)PTR_zero_address_frag_00069f70);\n    return psVar1;\n  }" if (parenthesized_expression "((flag_keep_locals == 0) &&\n     (bVar2 = (*stdoutput->xvec->_bfd_is_local_label_name)(stdoutput,name), bVar2 != 0))" ( (binary_expression "(flag_keep_locals == 0) &&\n     (bVar2 = (*stdoutput->xvec->_bfd_is_local_label_name)(stdoutput,name), bVar2 != 0)" (parenthesized_expression "(flag_keep_locals == 0)" ( (binary_expression "flag_keep_locals == 0" identifier == number_literal) )) && (parenthesized_expression "(bVar2 = (*stdoutput->xvec->_bfd_is_local_label_name)(stdoutput,name), bVar2 != 0)" ( (comma_expression "bVar2 = (*stdoutput->xvec->_bfd_is_local_label_name)(stdoutput,name), bVar2 != 0" (assignment_expression "bVar2 = (*stdoutput->xvec->_bfd_is_local_label_name)(stdoutput,name)" identifier = (call_expression "(*stdoutput->xvec->_bfd_is_local_label_name)(stdoutput,name)" (parenthesized_expression "(*stdoutput->xvec->_bfd_is_local_label_name)" ( (pointer_expression "*stdoutput->xvec->_bfd_is_local_label_name" * (field_expression "stdoutput->xvec->_bfd_is_local_label_name" (field_expression "stdoutput->xvec" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(stdoutput,name)" ( identifier , identifier )))) , (binary_expression "bVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    psVar1 = md_undefined_symbol(name);\n    if (psVar1 != (symbolS *)0x0) {\n      return psVar1;\n    }\n    psVar1 = (symbolS *)\n             local_symbol_make(name,(segT)(PTR__bfd_std_section_00069fb4 + 0xa8),0,\n                               (fragS *)PTR_zero_address_frag_00069f70);\n    return psVar1;\n  }" { (expression_statement "psVar1 = md_undefined_symbol(name);" (assignment_expression "psVar1 = md_undefined_symbol(name)" identifier = (call_expression "md_undefined_symbol(name)" identifier (argument_list "(name)" ( identifier )))) ;) (if_statement "if (psVar1 != (symbolS *)0x0) {\n      return psVar1;\n    }" if (parenthesized_expression "(psVar1 != (symbolS *)0x0)" ( (binary_expression "psVar1 != (symbolS *)0x0" identifier != (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return psVar1;\n    }" { (return_statement "return psVar1;" return identifier ;) })) (expression_statement "psVar1 = (symbolS *)\n             local_symbol_make(name,(segT)(PTR__bfd_std_section_00069fb4 + 0xa8),0,\n                               (fragS *)PTR_zero_address_frag_00069f70);" (assignment_expression "psVar1 = (symbolS *)\n             local_symbol_make(name,(segT)(PTR__bfd_std_section_00069fb4 + 0xa8),0,\n                               (fragS *)PTR_zero_address_frag_00069f70)" identifier = (cast_expression "(symbolS *)\n             local_symbol_make(name,(segT)(PTR__bfd_std_section_00069fb4 + 0xa8),0,\n                               (fragS *)PTR_zero_address_frag_00069f70)" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "local_symbol_make(name,(segT)(PTR__bfd_std_section_00069fb4 + 0xa8),0,\n                               (fragS *)PTR_zero_address_frag_00069f70)" identifier (argument_list "(name,(segT)(PTR__bfd_std_section_00069fb4 + 0xa8),0,\n                               (fragS *)PTR_zero_address_frag_00069f70)" ( identifier , (call_expression "(segT)(PTR__bfd_std_section_00069fb4 + 0xa8)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "(PTR__bfd_std_section_00069fb4 + 0xa8)" ( (binary_expression "PTR__bfd_std_section_00069fb4 + 0xa8" identifier + number_literal) ))) , number_literal , (cast_expression "(fragS *)PTR_zero_address_frag_00069f70" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))))) ;) (return_statement "return psVar1;" return identifier ;) })) (expression_statement "psVar1 = symbol_make(name);" (assignment_expression "psVar1 = symbol_make(name)" identifier = (call_expression "symbol_make(name)" identifier (argument_list "(name)" ( identifier )))) ;) (expression_statement "symbol_table_insert(psVar1);" (call_expression "symbol_table_insert(psVar1)" identifier (argument_list "(psVar1)" ( identifier ))) ;) (return_statement "return psVar1;" return identifier ;) })))
(translation_unit "int FUN_00038410(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00038350(param_1,0);\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  if ((DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))\n  {\n    iVar1 = FUN_00042f90(param_1);\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);\n    return iVar1;\n  }\n  iVar1 = FUN_00036b40(param_1);\n  FUN_00035090(iVar1);\n  return iVar1;\n}\n\n" (function_definition "int FUN_00038410(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00038350(param_1,0);\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  if ((DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))\n  {\n    iVar1 = FUN_00042f90(param_1);\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);\n    return iVar1;\n  }\n  iVar1 = FUN_00036b40(param_1);\n  FUN_00035090(iVar1);\n  return iVar1;\n}" primitive_type (function_declarator "FUN_00038410(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00038350(param_1,0);\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  if ((DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))\n  {\n    iVar1 = FUN_00042f90(param_1);\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);\n    return iVar1;\n  }\n  iVar1 = FUN_00036b40(param_1);\n  FUN_00035090(iVar1);\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00038350(param_1,0);" (assignment_expression "iVar1 = FUN_00038350(param_1,0)" identifier = (call_expression "FUN_00038350(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    return iVar1;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return iVar1;\n  }" { (return_statement "return iVar1;" return identifier ;) })) (if_statement "if ((DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))\n  {\n    iVar1 = FUN_00042f90(param_1);\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);\n    return iVar1;\n  }" if (parenthesized_expression "((DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))" ( (binary_expression "(DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0)" (parenthesized_expression "(DAT_00072d74 == 0)" ( (binary_expression "DAT_00072d74 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0)" ( (comma_expression "iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0" (assignment_expression "iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1)" identifier = (call_expression "(**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))" ( (pointer_expression "**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c)" * (pointer_expression "*(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c)" * (cast_expression "(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_00072e64 + 4) + 0x11c)" ( (binary_expression "*(int *)(DAT_00072e64 + 4) + 0x11c" (pointer_expression "*(int *)(DAT_00072e64 + 4)" * (cast_expression "(int *)(DAT_00072e64 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00072e64 + 4)" ( (binary_expression "DAT_00072e64 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(DAT_00072e64,param_1)" ( identifier , identifier )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar1 = FUN_00042f90(param_1);\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);\n    return iVar1;\n  }" { (expression_statement "iVar1 = FUN_00042f90(param_1);" (assignment_expression "iVar1 = FUN_00042f90(param_1)" identifier = (call_expression "FUN_00042f90(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      return iVar1;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return iVar1;\n    }" { (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);" (assignment_expression "iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70)" identifier = (call_expression "FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70)" identifier (argument_list "(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70)" ( identifier , (binary_expression "PTR__bfd_std_section_00069fb4 + 0xa8" identifier + number_literal) , number_literal , identifier )))) ;) (return_statement "return iVar1;" return identifier ;) })) (expression_statement "iVar1 = FUN_00036b40(param_1);" (assignment_expression "iVar1 = FUN_00036b40(param_1)" identifier = (call_expression "FUN_00036b40(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "FUN_00035090(iVar1);" (call_expression "FUN_00035090(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , LIT , IDENT )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_00038410(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00038350(param_1,0);\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  if ((DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))\n  {\n    iVar1 = FUN_00042f90(param_1);\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);\n    return iVar1;\n  }\n  iVar1 = FUN_00036b40(param_1);\n  FUN_00035090(iVar1);\n  return iVar1;\n}" (primitive_type "int") (function_declarator "FUN_00038410(undefined4 param_1)" (identifier "FUN_00038410") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00038350(param_1,0);\n  if (iVar1 != 0) {\n    return iVar1;\n  }\n  if ((DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))\n  {\n    iVar1 = FUN_00042f90(param_1);\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);\n    return iVar1;\n  }\n  iVar1 = FUN_00036b40(param_1);\n  FUN_00035090(iVar1);\n  return iVar1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_00038350(param_1,0);" (assignment_expression "iVar1 = FUN_00038350(param_1,0)" (identifier "iVar1") (= "=") (call_expression "FUN_00038350(param_1,0)" (identifier "FUN_00038350") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return iVar1;\n  }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (if_statement "if ((DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))\n  {\n    iVar1 = FUN_00042f90(param_1);\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);\n    return iVar1;\n  }" (if "if") (parenthesized_expression "((DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))" (( "(") (binary_expression "(DAT_00072d74 == 0) &&\n     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0)" (parenthesized_expression "(DAT_00072d74 == 0)" (( "(") (binary_expression "DAT_00072d74 == 0" (identifier "DAT_00072d74") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0)" (( "(") (comma_expression "iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0" (assignment_expression "iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))" (( "(") (pointer_expression "**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c)" (* "*") (pointer_expression "*(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c)" (* "*") (cast_expression "(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_00072e64 + 4) + 0x11c)" (( "(") (binary_expression "*(int *)(DAT_00072e64 + 4) + 0x11c" (pointer_expression "*(int *)(DAT_00072e64 + 4)" (* "*") (cast_expression "(int *)(DAT_00072e64 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00072e64 + 4)" (( "(") (binary_expression "DAT_00072e64 + 4" (identifier "DAT_00072e64") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x11c")) () ")"))))) () ")")) (argument_list "(DAT_00072e64,param_1)" (( "(") (identifier "DAT_00072e64") (, ",") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    iVar1 = FUN_00042f90(param_1);\n    if (iVar1 != 0) {\n      return iVar1;\n    }\n    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);\n    return iVar1;\n  }" ({ "{") (expression_statement "iVar1 = FUN_00042f90(param_1);" (assignment_expression "iVar1 = FUN_00042f90(param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_00042f90(param_1)" (identifier "FUN_00042f90") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      return iVar1;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return iVar1;\n    }" ({ "{") (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);" (assignment_expression "iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70)" (identifier "iVar1") (= "=") (call_expression "FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70)" (identifier "FUN_00034fa0") (argument_list "(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70)" (( "(") (identifier "param_1") (, ",") (binary_expression "PTR__bfd_std_section_00069fb4 + 0xa8" (identifier "PTR__bfd_std_section_00069fb4") (+ "+") (number_literal "0xa8")) (, ",") (number_literal "0") (, ",") (identifier "PTR_DAT_00069f70") () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (expression_statement "iVar1 = FUN_00036b40(param_1);" (assignment_expression "iVar1 = FUN_00036b40(param_1)" (identifier "iVar1") (= "=") (call_expression "FUN_00036b40(param_1)" (identifier "FUN_00036b40") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "FUN_00035090(iVar1);" (call_expression "FUN_00035090(iVar1)" (identifier "FUN_00035090") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}")))

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

type_1 * function_1(char *name)

{
  type_1 *var_2;
  type_2 var_4;
  
  var_2 = var_1(name,0);
  if (var_2 != (type_1 *)0x0) {
    return var_2;
  }
  if ((var_3 == 0) &&
     (var_4 = (*stdoutput->xvec->_bfd_is_local_label_name)(stdoutput,name), var_4 != 0)) {
    var_2 = var_5(name);
    if (var_2 != (type_1 *)0x0) {
      return var_2;
    }
    var_2 = (type_1 *)
             var_6(name,(segT)(var_7 + 0xa8),0,
                               (type_3 *)PTR_zero_address_frag_00069f70);
    return var_2;
  }
  var_2 = var_8(name);
  var_9(var_2);
  return var_2;
}


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

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

int MASKED(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = FUN_00038350(param_1,0);
  if (iVar1 != 0) {
    return iVar1;
  }
  if ((DAT_00072d74 == 0) &&
     (iVar1 = (**(code **)(*(int *)(DAT_00072e64 + 4) + 0x11c))(DAT_00072e64,param_1), iVar1 != 0))
  {
    iVar1 = FUN_00042f90(param_1);
    if (iVar1 != 0) {
      return iVar1;
    }
    iVar1 = FUN_00034fa0(param_1,PTR__bfd_std_section_00069fb4 + 0xa8,0,PTR_DAT_00069f70);
    return iVar1;
  }
  iVar1 = FUN_00036b40(param_1);
  FUN_00035090(iVar1);
  return iVar1;
}

