
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

int S_IS_DEFINED(symbolS *s)

{
  segT paVar1;
  
  paVar1 = (segT)s->bsym;
  if (((uint)s->sy_flags & 1) != 0) {
    if (reg_section != paVar1) {
      return (uint)(paVar1 != (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));
    }
    paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;
  }
  return (uint)((undefined *)paVar1->flags != PTR__bfd_std_section_0007ffb0 + 0xc0);
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

bool FUN_000386c0(byte *param_1)

{
  undefined *puVar1;
  
  puVar1 = *(undefined **)(param_1 + 4);
  if ((*param_1 & 1) != 0) {
    if (DAT_000897ec != puVar1) {
      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;
    }
    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);
  }
  return *(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0;
}


CALL 0x00019a25
ADD ECX,0x4793b
PUSH EBX
MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [EAX + 0x4]
TEST byte ptr [EAX],0x1
JZ 0x00038706
LEA EBX,[ECX + 0x97ec]
CMP dword ptr [EBX],EDX
JZ 0x00038700
MOV EAX,dword ptr [ECX + 0xffffffb0]
POP EBX
ADD EAX,0xc0
CMP EDX,EAX
SETNZ AL
MOVZX EAX,AL
RET
MOV EAX,dword ptr [EAX + 0xc]
MOV EDX,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [ECX + 0xffffffb0]
POP EBX
ADD EAX,0xc0
CMP dword ptr [EDX + 0x14],EAX
SETNZ AL
MOVZX EAX,AL
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nbool FUN_000386c0(byte *param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = *(undefined **)(param_1 + 4);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }\n    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n  }\n  return *(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0;\n}\n\n" comment (function_definition "bool FUN_000386c0(byte *param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = *(undefined **)(param_1 + 4);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }\n    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n  }\n  return *(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0;\n}" primitive_type (function_declarator "FUN_000386c0(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = *(undefined **)(param_1 + 4);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }\n    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n  }\n  return *(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = *(undefined **)(param_1 + 4);" (assignment_expression "puVar1 = *(undefined **)(param_1 + 4)" identifier = (pointer_expression "*(undefined **)(param_1 + 4)" * (cast_expression "(undefined **)(param_1 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((*param_1 & 1) != 0) {\n    if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }\n    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n  }" if (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }\n    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n  }" { (if_statement "if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }" if (parenthesized_expression "(DAT_000897ec != puVar1)" ( (binary_expression "DAT_000897ec != puVar1" identifier != identifier) )) (compound_statement "{\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }" { (return_statement "return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;" return (binary_expression "puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0" identifier != (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" identifier + number_literal)) ;) })) (expression_statement "puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);" (assignment_expression "puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4)" identifier = (pointer_expression "*(undefined **)(*(int *)(param_1 + 0xc) + 4)" * (cast_expression "(undefined **)(*(int *)(param_1 + 0xc) + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" ( (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) })) (return_statement "return *(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0;" return (binary_expression "*(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0" (pointer_expression "*(undefined **)(puVar1 + 0x14)" * (cast_expression "(undefined **)(puVar1 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 0x14)" ( (binary_expression "puVar1 + 0x14" identifier + number_literal) )))) != (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" identifier + number_literal)) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nint S_IS_DEFINED(symbolS *s)\n\n{\n  segT paVar1;\n  \n  paVar1 = (segT)s->bsym;\n  if (((uint)s->sy_flags & 1) != 0) {\n    if (reg_section != paVar1) {\n      return (uint)(paVar1 != (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n    }\n    paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;\n  }\n  return (uint)((undefined *)paVar1->flags != PTR__bfd_std_section_0007ffb0 + 0xc0);\n}\n\n" comment (function_definition "int S_IS_DEFINED(symbolS *s)\n\n{\n  segT paVar1;\n  \n  paVar1 = (segT)s->bsym;\n  if (((uint)s->sy_flags & 1) != 0) {\n    if (reg_section != paVar1) {\n      return (uint)(paVar1 != (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n    }\n    paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;\n  }\n  return (uint)((undefined *)paVar1->flags != PTR__bfd_std_section_0007ffb0 + 0xc0);\n}" primitive_type (function_declarator "S_IS_DEFINED(symbolS *s)" identifier (parameter_list "(symbolS *s)" ( (parameter_declaration "symbolS *s" type_identifier (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  segT paVar1;\n  \n  paVar1 = (segT)s->bsym;\n  if (((uint)s->sy_flags & 1) != 0) {\n    if (reg_section != paVar1) {\n      return (uint)(paVar1 != (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n    }\n    paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;\n  }\n  return (uint)((undefined *)paVar1->flags != PTR__bfd_std_section_0007ffb0 + 0xc0);\n}" { (declaration "segT paVar1;" type_identifier identifier ;) (expression_statement "paVar1 = (segT)s->bsym;" (assignment_expression "paVar1 = (segT)s->bsym" identifier = (cast_expression "(segT)s->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "s->bsym" identifier -> field_identifier))) ;) (if_statement "if (((uint)s->sy_flags & 1) != 0) {\n    if (reg_section != paVar1) {\n      return (uint)(paVar1 != (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n    }\n    paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;\n  }" if (parenthesized_expression "(((uint)s->sy_flags & 1) != 0)" ( (binary_expression "((uint)s->sy_flags & 1) != 0" (parenthesized_expression "((uint)s->sy_flags & 1)" ( (binary_expression "(uint)s->sy_flags & 1" (cast_expression "(uint)s->sy_flags" ( (type_descriptor "uint" type_identifier) ) (field_expression "s->sy_flags" identifier -> field_identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n    if (reg_section != paVar1) {\n      return (uint)(paVar1 != (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n    }\n    paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;\n  }" { (if_statement "if (reg_section != paVar1) {\n      return (uint)(paVar1 != (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n    }" if (parenthesized_expression "(reg_section != paVar1)" ( (binary_expression "reg_section != paVar1" identifier != identifier) )) (compound_statement "{\n      return (uint)(paVar1 != (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n    }" { (return_statement "return (uint)(paVar1 != (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));" return (call_expression "(uint)(paVar1 != (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(paVar1 != (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0))" ( (binary_expression "paVar1 != (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0)" identifier != (call_expression "(segT)(PTR__bfd_std_section_0007ffb0 + 0xc0)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "(PTR__bfd_std_section_0007ffb0 + 0xc0)" ( (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" identifier + number_literal) )))) ))) ;) })) (expression_statement "paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym;" (assignment_expression "paVar1 = (segT)((s->sy_value).X_op_symbol)->bsym" identifier = (field_expression "(segT)((s->sy_value).X_op_symbol)->bsym" (call_expression "(segT)((s->sy_value).X_op_symbol)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "((s->sy_value).X_op_symbol)" ( (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) ))) -> field_identifier)) ;) })) (return_statement "return (uint)((undefined *)paVar1->flags != PTR__bfd_std_section_0007ffb0 + 0xc0);" return (call_expression "(uint)((undefined *)paVar1->flags != PTR__bfd_std_section_0007ffb0 + 0xc0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((undefined *)paVar1->flags != PTR__bfd_std_section_0007ffb0 + 0xc0)" ( (binary_expression "(undefined *)paVar1->flags != PTR__bfd_std_section_0007ffb0 + 0xc0" (cast_expression "(undefined *)paVar1->flags" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "paVar1->flags" identifier -> field_identifier)) != (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" identifier + number_literal)) ))) ;) })))
(translation_unit "bool FUN_000386c0(byte *param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = *(undefined **)(param_1 + 4);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }\n    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n  }\n  return *(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0;\n}\n\n" (function_definition "bool FUN_000386c0(byte *param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = *(undefined **)(param_1 + 4);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }\n    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n  }\n  return *(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0;\n}" primitive_type (function_declarator "FUN_000386c0(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = *(undefined **)(param_1 + 4);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }\n    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n  }\n  return *(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = *(undefined **)(param_1 + 4);" (assignment_expression "puVar1 = *(undefined **)(param_1 + 4)" identifier = (pointer_expression "*(undefined **)(param_1 + 4)" * (cast_expression "(undefined **)(param_1 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((*param_1 & 1) != 0) {\n    if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }\n    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n  }" if (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }\n    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n  }" { (if_statement "if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }" if (parenthesized_expression "(DAT_000897ec != puVar1)" ( (binary_expression "DAT_000897ec != puVar1" identifier != identifier) )) (compound_statement "{\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }" { (return_statement "return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;" return (binary_expression "puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0" identifier != (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" identifier + number_literal)) ;) })) (expression_statement "puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);" (assignment_expression "puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4)" identifier = (pointer_expression "*(undefined **)(*(int *)(param_1 + 0xc) + 4)" * (cast_expression "(undefined **)(*(int *)(param_1 + 0xc) + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" ( (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) })) (return_statement "return *(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0;" return (binary_expression "*(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0" (pointer_expression "*(undefined **)(puVar1 + 0x14)" * (cast_expression "(undefined **)(puVar1 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar1 + 0x14)" ( (binary_expression "puVar1 + 0x14" identifier + number_literal) )))) != (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" identifier + number_literal)) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (return_statement return (binary_expression IDENT != (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (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) ))))) ;) })) (return_statement return (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (binary_expression IDENT + LIT)) ;) })))
(function_definition "bool FUN_000386c0(byte *param_1)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = *(undefined **)(param_1 + 4);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }\n    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n  }\n  return *(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0;\n}" (primitive_type "bool") (function_declarator "FUN_000386c0(byte *param_1)" (identifier "FUN_000386c0") (parameter_list "(byte *param_1)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  \n  puVar1 = *(undefined **)(param_1 + 4);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }\n    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n  }\n  return *(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "puVar1 = *(undefined **)(param_1 + 4);" (assignment_expression "puVar1 = *(undefined **)(param_1 + 4)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined **)(param_1 + 4)" (* "*") (cast_expression "(undefined **)(param_1 + 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if ((*param_1 & 1) != 0) {\n    if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }\n    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n  }" (if "if") (parenthesized_expression "((*param_1 & 1) != 0)" (( "(") (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" (( "(") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }\n    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n  }" ({ "{") (if_statement "if (DAT_000897ec != puVar1) {\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }" (if "if") (parenthesized_expression "(DAT_000897ec != puVar1)" (( "(") (binary_expression "DAT_000897ec != puVar1" (identifier "DAT_000897ec") (!= "!=") (identifier "puVar1")) () ")")) (compound_statement "{\n      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;\n    }" ({ "{") (return_statement "return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;" (return "return") (binary_expression "puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0" (identifier "puVar1") (!= "!=") (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" (identifier "PTR__bfd_std_section_0007ffb0") (+ "+") (number_literal "0xc0"))) (; ";")) (} "}"))) (expression_statement "puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);" (assignment_expression "puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined **)(*(int *)(param_1 + 0xc) + 4)" (* "*") (cast_expression "(undefined **)(*(int *)(param_1 + 0xc) + 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}"))) (return_statement "return *(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0;" (return "return") (binary_expression "*(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0" (pointer_expression "*(undefined **)(puVar1 + 0x14)" (* "*") (cast_expression "(undefined **)(puVar1 + 0x14)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar1 + 0x14)" (( "(") (binary_expression "puVar1 + 0x14" (identifier "puVar1") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" (identifier "PTR__bfd_std_section_0007ffb0") (+ "+") (number_literal "0xc0"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

int function_1(type_1 *s)

{
  type_2 var_2;
  
  var_2 = (type_2)s->bsym;
  if (((type_3)s->sy_flags & 1) != 0) {
    if (var_1 != var_2) {
      return (type_3)(var_2 != (type_2)(var_3 + 0xc0));
    }
    var_2 = (type_2)((s->sy_value).X_op_symbol)->bsym;
  }
  return (type_3)((type_4 *)var_2->flags != var_3 + 0xc0);
}


(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))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))))) (return_statement (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: (binary_expression left: (identifier) right: (number_literal)))))))

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

bool MASKED(byte *param_1)

{
  undefined *puVar1;
  
  puVar1 = *(undefined **)(param_1 + 4);
  if ((*param_1 & 1) != 0) {
    if (DAT_000897ec != puVar1) {
      return puVar1 != PTR__bfd_std_section_0007ffb0 + 0xc0;
    }
    puVar1 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);
  }
  return *(undefined **)(puVar1 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0;
}

