
/* WARNING: Unknown calling convention */

bfd_boolean pe_bfd_is_dll(bfd *abfd)

{
  int iVar1;
  
  iVar1 = 0;
  if ((abfd->field_0x28 & 7) == 1) {
    iVar1 = (((abfd->tdata).pe_obj_data)->coff).pe;
    if (iVar1 != 0) {
      return (uint)(((abfd->tdata).pe_obj_data)->dll != 0);
    }
  }
  return iVar1;
}



uint FUN_000683e0(int param_1)

{
  uint uVar1;
  
  uVar1 = 0;
  if ((*(byte *)(param_1 + 0x28) & 7) == 1) {
    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);
    if (uVar1 != 0) {
      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);
    }
  }
  return uVar1;
}


MOV ECX,dword ptr [ESP + 0x4]
XOR EAX,EAX
MOVZX EDX,byte ptr [ECX + 0x28]
AND EDX,0x7
CMP DL,0x1
JZ 0x000683f8
RET
MOV EDX,dword ptr [ECX + 0xa0]
MOV EAX,dword ptr [EDX + 0x58]
TEST EAX,EAX
JZ 0x000683f2
MOV EDX,dword ptr [EDX + 0x1c4]
XOR EAX,EAX
TEST EDX,EDX
SETNZ AL
RET
(translation_unit "uint FUN_000683e0(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if ((*(byte *)(param_1 + 0x28) & 7) == 1) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);\n    if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_000683e0(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if ((*(byte *)(param_1 + 0x28) & 7) == 1) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);\n    if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000683e0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if ((*(byte *)(param_1 + 0x28) & 7) == 1) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);\n    if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if ((*(byte *)(param_1 + 0x28) & 7) == 1) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);\n    if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x28) & 7) == 1)" ( (binary_expression "(*(byte *)(param_1 + 0x28) & 7) == 1" (parenthesized_expression "(*(byte *)(param_1 + 0x28) & 7)" ( (binary_expression "*(byte *)(param_1 + 0x28) & 7" (pointer_expression "*(byte *)(param_1 + 0x28)" * (cast_expression "(byte *)(param_1 + 0x28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);\n    if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }\n  }" { (expression_statement "uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);" (assignment_expression "uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58)" identifier = (pointer_expression "*(uint *)(*(int *)(param_1 + 0xa0) + 0x58)" * (cast_expression "(uint *)(*(int *)(param_1 + 0xa0) + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xa0) + 0x58)" ( (binary_expression "*(int *)(param_1 + 0xa0) + 0x58" (pointer_expression "*(int *)(param_1 + 0xa0)" * (cast_expression "(int *)(param_1 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xa0)" ( (binary_expression "param_1 + 0xa0" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }" { (return_statement "return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);" return (call_expression "(uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4)" * (cast_expression "(int *)(*(int *)(param_1 + 0xa0) + 0x1c4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xa0) + 0x1c4)" ( (binary_expression "*(int *)(param_1 + 0xa0) + 0x1c4" (pointer_expression "*(int *)(param_1 + 0xa0)" * (cast_expression "(int *)(param_1 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xa0)" ( (binary_expression "param_1 + 0xa0" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) ;) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nbfd_boolean pe_bfd_is_dll(bfd *abfd)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if ((abfd->field_0x28 & 7) == 1) {\n    iVar1 = (((abfd->tdata).pe_obj_data)->coff).pe;\n    if (iVar1 != 0) {\n      return (uint)(((abfd->tdata).pe_obj_data)->dll != 0);\n    }\n  }\n  return iVar1;\n}\n\n" comment (function_definition "bfd_boolean pe_bfd_is_dll(bfd *abfd)\n\n{\n  int iVar1;\n  \n  iVar1 = 0;\n  if ((abfd->field_0x28 & 7) == 1) {\n    iVar1 = (((abfd->tdata).pe_obj_data)->coff).pe;\n    if (iVar1 != 0) {\n      return (uint)(((abfd->tdata).pe_obj_data)->dll != 0);\n    }\n  }\n  return iVar1;\n}" type_identifier (function_declarator "pe_bfd_is_dll(bfd *abfd)" identifier (parameter_list "(bfd *abfd)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = 0;\n  if ((abfd->field_0x28 & 7) == 1) {\n    iVar1 = (((abfd->tdata).pe_obj_data)->coff).pe;\n    if (iVar1 != 0) {\n      return (uint)(((abfd->tdata).pe_obj_data)->dll != 0);\n    }\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if ((abfd->field_0x28 & 7) == 1) {\n    iVar1 = (((abfd->tdata).pe_obj_data)->coff).pe;\n    if (iVar1 != 0) {\n      return (uint)(((abfd->tdata).pe_obj_data)->dll != 0);\n    }\n  }" if (parenthesized_expression "((abfd->field_0x28 & 7) == 1)" ( (binary_expression "(abfd->field_0x28 & 7) == 1" (parenthesized_expression "(abfd->field_0x28 & 7)" ( (binary_expression "abfd->field_0x28 & 7" (field_expression "abfd->field_0x28" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = (((abfd->tdata).pe_obj_data)->coff).pe;\n    if (iVar1 != 0) {\n      return (uint)(((abfd->tdata).pe_obj_data)->dll != 0);\n    }\n  }" { (expression_statement "iVar1 = (((abfd->tdata).pe_obj_data)->coff).pe;" (assignment_expression "iVar1 = (((abfd->tdata).pe_obj_data)->coff).pe" identifier = (field_expression "(((abfd->tdata).pe_obj_data)->coff).pe" (parenthesized_expression "(((abfd->tdata).pe_obj_data)->coff)" ( (field_expression "((abfd->tdata).pe_obj_data)->coff" (parenthesized_expression "((abfd->tdata).pe_obj_data)" ( (field_expression "(abfd->tdata).pe_obj_data" (parenthesized_expression "(abfd->tdata)" ( (field_expression "abfd->tdata" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) )) . field_identifier)) ;) (if_statement "if (iVar1 != 0) {\n      return (uint)(((abfd->tdata).pe_obj_data)->dll != 0);\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return (uint)(((abfd->tdata).pe_obj_data)->dll != 0);\n    }" { (return_statement "return (uint)(((abfd->tdata).pe_obj_data)->dll != 0);" return (call_expression "(uint)(((abfd->tdata).pe_obj_data)->dll != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(((abfd->tdata).pe_obj_data)->dll != 0)" ( (binary_expression "((abfd->tdata).pe_obj_data)->dll != 0" (field_expression "((abfd->tdata).pe_obj_data)->dll" (parenthesized_expression "((abfd->tdata).pe_obj_data)" ( (field_expression "(abfd->tdata).pe_obj_data" (parenthesized_expression "(abfd->tdata)" ( (field_expression "abfd->tdata" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) != number_literal) ))) ;) })) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "uint FUN_000683e0(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if ((*(byte *)(param_1 + 0x28) & 7) == 1) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);\n    if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_000683e0(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if ((*(byte *)(param_1 + 0x28) & 7) == 1) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);\n    if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000683e0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if ((*(byte *)(param_1 + 0x28) & 7) == 1) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);\n    if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if ((*(byte *)(param_1 + 0x28) & 7) == 1) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);\n    if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x28) & 7) == 1)" ( (binary_expression "(*(byte *)(param_1 + 0x28) & 7) == 1" (parenthesized_expression "(*(byte *)(param_1 + 0x28) & 7)" ( (binary_expression "*(byte *)(param_1 + 0x28) & 7" (pointer_expression "*(byte *)(param_1 + 0x28)" * (cast_expression "(byte *)(param_1 + 0x28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);\n    if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }\n  }" { (expression_statement "uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);" (assignment_expression "uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58)" identifier = (pointer_expression "*(uint *)(*(int *)(param_1 + 0xa0) + 0x58)" * (cast_expression "(uint *)(*(int *)(param_1 + 0xa0) + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xa0) + 0x58)" ( (binary_expression "*(int *)(param_1 + 0xa0) + 0x58" (pointer_expression "*(int *)(param_1 + 0xa0)" * (cast_expression "(int *)(param_1 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xa0)" ( (binary_expression "param_1 + 0xa0" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }" { (return_statement "return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);" return (call_expression "(uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4)" * (cast_expression "(int *)(*(int *)(param_1 + 0xa0) + 0x1c4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xa0) + 0x1c4)" ( (binary_expression "*(int *)(param_1 + 0xa0) + 0x1c4" (pointer_expression "*(int *)(param_1 + 0xa0)" * (cast_expression "(int *)(param_1 + 0xa0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xa0)" ( (binary_expression "param_1 + 0xa0" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) ;) })) })) (return_statement "return uVar1;" 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 = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) ))) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_000683e0(int param_1)\n\n{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if ((*(byte *)(param_1 + 0x28) & 7) == 1) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);\n    if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_000683e0(int param_1)" (identifier "FUN_000683e0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = 0;\n  if ((*(byte *)(param_1 + 0x28) & 7) == 1) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);\n    if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((*(byte *)(param_1 + 0x28) & 7) == 1) {\n    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);\n    if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_1 + 0x28) & 7) == 1)" (( "(") (binary_expression "(*(byte *)(param_1 + 0x28) & 7) == 1" (parenthesized_expression "(*(byte *)(param_1 + 0x28) & 7)" (( "(") (binary_expression "*(byte *)(param_1 + 0x28) & 7" (pointer_expression "*(byte *)(param_1 + 0x28)" (* "*") (cast_expression "(byte *)(param_1 + 0x28)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (& "&") (number_literal "7")) () ")")) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);\n    if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }\n  }" ({ "{") (expression_statement "uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);" (assignment_expression "uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(*(int *)(param_1 + 0xa0) + 0x58)" (* "*") (cast_expression "(uint *)(*(int *)(param_1 + 0xa0) + 0x58)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xa0) + 0x58)" (( "(") (binary_expression "*(int *)(param_1 + 0xa0) + 0x58" (pointer_expression "*(int *)(param_1 + 0xa0)" (* "*") (cast_expression "(int *)(param_1 + 0xa0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xa0)" (( "(") (binary_expression "param_1 + 0xa0" (identifier "param_1") (+ "+") (number_literal "0xa0")) () ")")))) (+ "+") (number_literal "0x58")) () ")"))))) (; ";")) (if_statement "if (uVar1 != 0) {\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }" (if "if") (parenthesized_expression "(uVar1 != 0)" (( "(") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);\n    }" ({ "{") (return_statement "return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);" (return "return") (call_expression "(uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0)" (( "(") (binary_expression "*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0" (pointer_expression "*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0xa0) + 0x1c4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xa0) + 0x1c4)" (( "(") (binary_expression "*(int *)(param_1 + 0xa0) + 0x1c4" (pointer_expression "*(int *)(param_1 + 0xa0)" (* "*") (cast_expression "(int *)(param_1 + 0xa0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xa0)" (( "(") (binary_expression "param_1 + 0xa0" (identifier "param_1") (+ "+") (number_literal "0xa0")) () ")")))) (+ "+") (number_literal "0x1c4")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 function_1(type_2 *abfd)

{
  int var_1;
  
  var_1 = 0;
  if ((abfd->field_0x28 & 7) == 1) {
    var_1 = (((abfd->tdata).pe_obj_data)->coff).pe;
    if (var_1 != 0) {
      return (uint)(((abfd->tdata).pe_obj_data)->dll != 0);
    }
  }
  return var_1;
}


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

uint MASKED(int param_1)

{
  uint uVar1;
  
  uVar1 = 0;
  if ((*(byte *)(param_1 + 0x28) & 7) == 1) {
    uVar1 = *(uint *)(*(int *)(param_1 + 0xa0) + 0x58);
    if (uVar1 != 0) {
      return (uint)(*(int *)(*(int *)(param_1 + 0xa0) + 0x1c4) != 0);
    }
  }
  return uVar1;
}

