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

bfd_boolean pe_undef_cdecl_match(bfd_link_hash_entry *h,void *inf)

{
  char *__s1;
  bfd_boolean bVar1;
  size_t __n;
  int iVar2;
  
  bVar1 = 1;
  if (h->field_0xc == '\x03') {
    __s1 = (h->root).string;
    __n = strlen((char *)inf);
                    /* WARNING: Load size is inaccurate */
    if ((((*__s1 != '@') || (*inf != '_')) ||
        (iVar2 = strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1), iVar2 != 0)) &&
       (iVar2 = strncmp(__s1,(char *)inf,__n), iVar2 != 0)) {
      return 1;
    }
    bVar1 = 1;
    if (__s1[__n] == '@') {
      pe_undef_found_sym = h;
      bVar1 = 0;
    }
  }
  return bVar1;
}



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

undefined4 FUN_00055530(int param_1,char *param_2)

{
  char *__s1;
  undefined4 uVar1;
  size_t __n;
  int iVar2;
  
  uVar1 = 1;
  if (*(char *)(param_1 + 0xc) == '\x03') {
    __s1 = *(char **)(param_1 + 4);
    __n = strlen(param_2);
    if ((((*__s1 != '@') || (*param_2 != '_')) ||
        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&
       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {
      return 1;
    }
    uVar1 = 1;
    if (__s1[__n] == '@') {
      DAT_001cff8c = param_1;
      uVar1 = 0;
    }
  }
  return uVar1;
}


PUSH EBP
MOV EAX,0x1
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017b80
ADD EBX,0x178ac2
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
CMP byte ptr [ESI + 0xc],0x3
JZ 0x00055560
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
MOV EDI,dword ptr [ESI + 0x4]
PUSH dword ptr [ESP + 0x30]
CALL 0x00016760
ADD ESP,0x10
CMP byte ptr [EDI],0x40
MOV EBP,EAX
JZ 0x000555b0
SUB ESP,0x4
PUSH EBP
PUSH dword ptr [ESP + 0x2c]
PUSH EDI
CALL 0x00016c00
ADD ESP,0x10
MOV EDX,EAX
MOV EAX,0x1
TEST EDX,EDX
JNZ 0x00055551
CMP byte ptr [EDI + EBP*0x1],0x40
MOV EAX,0x1
JNZ 0x00055551
MOV dword ptr [EBX + 0x1f8c],ESI
XOR EAX,EAX
JMP 0x00055551
MOV EAX,dword ptr [ESP + 0x24]
CMP byte ptr [EAX],0x5f
JNZ 0x00055579
SUB ESP,0x4
LEA EAX,[EBP + -0x1]
PUSH EAX
MOV EAX,dword ptr [ESP + 0x2c]
ADD EAX,0x1
PUSH EAX
LEA EAX,[EDI + 0x1]
PUSH EAX
CALL 0x00016c00
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00055595
JMP 0x00055579
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00055530(int param_1,char *param_2)\n\n{\n  char *__s1;\n  undefined4 uVar1;\n  size_t __n;\n  int iVar2;\n  \n  uVar1 = 1;\n  if (*(char *)(param_1 + 0xc) == '\x03') {\n    __s1 = *(char **)(param_1 + 4);\n    __n = strlen(param_2);\n    if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }\n    uVar1 = 1;\n    if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 FUN_00055530(int param_1,char *param_2)\n\n{\n  char *__s1;\n  undefined4 uVar1;\n  size_t __n;\n  int iVar2;\n  \n  uVar1 = 1;\n  if (*(char *)(param_1 + 0xc) == '\x03') {\n    __s1 = *(char **)(param_1 + 4);\n    __n = strlen(param_2);\n    if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }\n    uVar1 = 1;\n    if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00055530(int param_1,char *param_2)" identifier (parameter_list "(int param_1,char *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  undefined4 uVar1;\n  size_t __n;\n  int iVar2;\n  \n  uVar1 = 1;\n  if (*(char *)(param_1 + 0xc) == '\x03') {\n    __s1 = *(char **)(param_1 + 4);\n    __n = strlen(param_2);\n    if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }\n    uVar1 = 1;\n    if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if (*(char *)(param_1 + 0xc) == '\x03') {\n    __s1 = *(char **)(param_1 + 4);\n    __n = strlen(param_2);\n    if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }\n    uVar1 = 1;\n    if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0xc) == '\x03')" ( (binary_expression "*(char *)(param_1 + 0xc) == '\x03'" (pointer_expression "*(char *)(param_1 + 0xc)" * (cast_expression "(char *)(param_1 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n    __s1 = *(char **)(param_1 + 4);\n    __n = strlen(param_2);\n    if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }\n    uVar1 = 1;\n    if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }\n  }" { (expression_statement "__s1 = *(char **)(param_1 + 4);" (assignment_expression "__s1 = *(char **)(param_1 + 4)" identifier = (pointer_expression "*(char **)(param_1 + 4)" * (cast_expression "(char **)(param_1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "__n = strlen(param_2);" (assignment_expression "__n = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }" if (parenthesized_expression "((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0))" ( (binary_expression "(((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)" (parenthesized_expression "(((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0))" ( (binary_expression "((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)" (parenthesized_expression "((*__s1 != '@') || (*param_2 != '_'))" ( (binary_expression "(*__s1 != '@') || (*param_2 != '_')" (parenthesized_expression "(*__s1 != '@')" ( (binary_expression "*__s1 != '@'" (pointer_expression "*__s1" * identifier) != (char_literal "'@'" ' character ')) )) || (parenthesized_expression "(*param_2 != '_')" ( (binary_expression "*param_2 != '_'" (pointer_expression "*param_2" * identifier) != (char_literal "'_'" ' character ')) ))) )) || (parenthesized_expression "(iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)" ( (comma_expression "iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0" (assignment_expression "iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1)" identifier = (call_expression "strncmp(__s1 + 1,param_2 + 1,__n - 1)" identifier (argument_list "(__s1 + 1,param_2 + 1,__n - 1)" ( (binary_expression "__s1 + 1" identifier + number_literal) , (binary_expression "param_2 + 1" identifier + number_literal) , (binary_expression "__n - 1" identifier - number_literal) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)" ( (comma_expression "iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0" (assignment_expression "iVar2 = strncmp(__s1,param_2,__n)" identifier = (call_expression "strncmp(__s1,param_2,__n)" identifier (argument_list "(__s1,param_2,__n)" ( identifier , identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }" if (parenthesized_expression "(__s1[__n] == '@')" ( (binary_expression "__s1[__n] == '@'" (subscript_expression "__s1[__n]" identifier [ identifier ]) == (char_literal "'@'" ' character ')) )) (compound_statement "{\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }" { (expression_statement "DAT_001cff8c = param_1;" (assignment_expression "DAT_001cff8c = param_1" identifier = identifier) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nbfd_boolean pe_undef_cdecl_match(bfd_link_hash_entry *h,void *inf)\n\n{\n  char *__s1;\n  bfd_boolean bVar1;\n  size_t __n;\n  int iVar2;\n  \n  bVar1 = 1;\n  if (h->field_0xc == '\x03') {\n    __s1 = (h->root).string;\n    __n = strlen((char *)inf);\n                    /* WARNING: Load size is inaccurate */\n    if ((((*__s1 != '@') || (*inf != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,(char *)inf,__n), iVar2 != 0)) {\n      return 1;\n    }\n    bVar1 = 1;\n    if (__s1[__n] == '@') {\n      pe_undef_found_sym = h;\n      bVar1 = 0;\n    }\n  }\n  return bVar1;\n}\n\n" comment comment (function_definition "bfd_boolean pe_undef_cdecl_match(bfd_link_hash_entry *h,void *inf)\n\n{\n  char *__s1;\n  bfd_boolean bVar1;\n  size_t __n;\n  int iVar2;\n  \n  bVar1 = 1;\n  if (h->field_0xc == '\x03') {\n    __s1 = (h->root).string;\n    __n = strlen((char *)inf);\n                    /* WARNING: Load size is inaccurate */\n    if ((((*__s1 != '@') || (*inf != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,(char *)inf,__n), iVar2 != 0)) {\n      return 1;\n    }\n    bVar1 = 1;\n    if (__s1[__n] == '@') {\n      pe_undef_found_sym = h;\n      bVar1 = 0;\n    }\n  }\n  return bVar1;\n}" type_identifier (function_declarator "pe_undef_cdecl_match(bfd_link_hash_entry *h,void *inf)" identifier (parameter_list "(bfd_link_hash_entry *h,void *inf)" ( (parameter_declaration "bfd_link_hash_entry *h" type_identifier (pointer_declarator "*h" * identifier)) , (parameter_declaration "void *inf" primitive_type (pointer_declarator "*inf" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  bfd_boolean bVar1;\n  size_t __n;\n  int iVar2;\n  \n  bVar1 = 1;\n  if (h->field_0xc == '\x03') {\n    __s1 = (h->root).string;\n    __n = strlen((char *)inf);\n                    /* WARNING: Load size is inaccurate */\n    if ((((*__s1 != '@') || (*inf != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,(char *)inf,__n), iVar2 != 0)) {\n      return 1;\n    }\n    bVar1 = 1;\n    if (__s1[__n] == '@') {\n      pe_undef_found_sym = h;\n      bVar1 = 0;\n    }\n  }\n  return bVar1;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "bVar1 = 1;" (assignment_expression "bVar1 = 1" identifier = number_literal) ;) (if_statement "if (h->field_0xc == '\x03') {\n    __s1 = (h->root).string;\n    __n = strlen((char *)inf);\n                    /* WARNING: Load size is inaccurate */\n    if ((((*__s1 != '@') || (*inf != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,(char *)inf,__n), iVar2 != 0)) {\n      return 1;\n    }\n    bVar1 = 1;\n    if (__s1[__n] == '@') {\n      pe_undef_found_sym = h;\n      bVar1 = 0;\n    }\n  }" if (parenthesized_expression "(h->field_0xc == '\x03')" ( (binary_expression "h->field_0xc == '\x03'" (field_expression "h->field_0xc" identifier -> field_identifier) == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n    __s1 = (h->root).string;\n    __n = strlen((char *)inf);\n                    /* WARNING: Load size is inaccurate */\n    if ((((*__s1 != '@') || (*inf != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,(char *)inf,__n), iVar2 != 0)) {\n      return 1;\n    }\n    bVar1 = 1;\n    if (__s1[__n] == '@') {\n      pe_undef_found_sym = h;\n      bVar1 = 0;\n    }\n  }" { (expression_statement "__s1 = (h->root).string;" (assignment_expression "__s1 = (h->root).string" identifier = (field_expression "(h->root).string" (parenthesized_expression "(h->root)" ( (field_expression "h->root" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "__n = strlen((char *)inf);" (assignment_expression "__n = strlen((char *)inf)" identifier = (call_expression "strlen((char *)inf)" identifier (argument_list "((char *)inf)" ( (cast_expression "(char *)inf" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) comment (if_statement "if ((((*__s1 != '@') || (*inf != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,(char *)inf,__n), iVar2 != 0)) {\n      return 1;\n    }" if (parenthesized_expression "((((*__s1 != '@') || (*inf != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,(char *)inf,__n), iVar2 != 0))" ( (binary_expression "(((*__s1 != '@') || (*inf != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,(char *)inf,__n), iVar2 != 0)" (parenthesized_expression "(((*__s1 != '@') || (*inf != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1), iVar2 != 0))" ( (binary_expression "((*__s1 != '@') || (*inf != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1), iVar2 != 0)" (parenthesized_expression "((*__s1 != '@') || (*inf != '_'))" ( (binary_expression "(*__s1 != '@') || (*inf != '_')" (parenthesized_expression "(*__s1 != '@')" ( (binary_expression "*__s1 != '@'" (pointer_expression "*__s1" * identifier) != (char_literal "'@'" ' character ')) )) || (parenthesized_expression "(*inf != '_')" ( (binary_expression "*inf != '_'" (pointer_expression "*inf" * identifier) != (char_literal "'_'" ' character ')) ))) )) || (parenthesized_expression "(iVar2 = strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1), iVar2 != 0)" ( (comma_expression "iVar2 = strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1), iVar2 != 0" (assignment_expression "iVar2 = strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1)" identifier = (call_expression "strncmp(__s1 + 1,(char *)((int)inf + 1),__n - 1)" identifier (argument_list "(__s1 + 1,(char *)((int)inf + 1),__n - 1)" ( (binary_expression "__s1 + 1" identifier + number_literal) , (cast_expression "(char *)((int)inf + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)inf + 1)" ( (binary_expression "(int)inf + 1" (cast_expression "(int)inf" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) , (binary_expression "__n - 1" identifier - number_literal) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar2 = strncmp(__s1,(char *)inf,__n), iVar2 != 0)" ( (comma_expression "iVar2 = strncmp(__s1,(char *)inf,__n), iVar2 != 0" (assignment_expression "iVar2 = strncmp(__s1,(char *)inf,__n)" identifier = (call_expression "strncmp(__s1,(char *)inf,__n)" identifier (argument_list "(__s1,(char *)inf,__n)" ( identifier , (cast_expression "(char *)inf" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "bVar1 = 1;" (assignment_expression "bVar1 = 1" identifier = number_literal) ;) (if_statement "if (__s1[__n] == '@') {\n      pe_undef_found_sym = h;\n      bVar1 = 0;\n    }" if (parenthesized_expression "(__s1[__n] == '@')" ( (binary_expression "__s1[__n] == '@'" (subscript_expression "__s1[__n]" identifier [ identifier ]) == (char_literal "'@'" ' character ')) )) (compound_statement "{\n      pe_undef_found_sym = h;\n      bVar1 = 0;\n    }" { (expression_statement "pe_undef_found_sym = h;" (assignment_expression "pe_undef_found_sym = h" identifier = identifier) ;) (expression_statement "bVar1 = 0;" (assignment_expression "bVar1 = 0" identifier = number_literal) ;) })) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "undefined4 FUN_00055530(int param_1,char *param_2)\n\n{\n  char *__s1;\n  undefined4 uVar1;\n  size_t __n;\n  int iVar2;\n  \n  uVar1 = 1;\n  if (*(char *)(param_1 + 0xc) == '\x03') {\n    __s1 = *(char **)(param_1 + 4);\n    __n = strlen(param_2);\n    if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }\n    uVar1 = 1;\n    if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_00055530(int param_1,char *param_2)\n\n{\n  char *__s1;\n  undefined4 uVar1;\n  size_t __n;\n  int iVar2;\n  \n  uVar1 = 1;\n  if (*(char *)(param_1 + 0xc) == '\x03') {\n    __s1 = *(char **)(param_1 + 4);\n    __n = strlen(param_2);\n    if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }\n    uVar1 = 1;\n    if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00055530(int param_1,char *param_2)" identifier (parameter_list "(int param_1,char *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  undefined4 uVar1;\n  size_t __n;\n  int iVar2;\n  \n  uVar1 = 1;\n  if (*(char *)(param_1 + 0xc) == '\x03') {\n    __s1 = *(char **)(param_1 + 4);\n    __n = strlen(param_2);\n    if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }\n    uVar1 = 1;\n    if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if (*(char *)(param_1 + 0xc) == '\x03') {\n    __s1 = *(char **)(param_1 + 4);\n    __n = strlen(param_2);\n    if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }\n    uVar1 = 1;\n    if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0xc) == '\x03')" ( (binary_expression "*(char *)(param_1 + 0xc) == '\x03'" (pointer_expression "*(char *)(param_1 + 0xc)" * (cast_expression "(char *)(param_1 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n    __s1 = *(char **)(param_1 + 4);\n    __n = strlen(param_2);\n    if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }\n    uVar1 = 1;\n    if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }\n  }" { (expression_statement "__s1 = *(char **)(param_1 + 4);" (assignment_expression "__s1 = *(char **)(param_1 + 4)" identifier = (pointer_expression "*(char **)(param_1 + 4)" * (cast_expression "(char **)(param_1 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "__n = strlen(param_2);" (assignment_expression "__n = strlen(param_2)" identifier = (call_expression "strlen(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }" if (parenthesized_expression "((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0))" ( (binary_expression "(((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)" (parenthesized_expression "(((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0))" ( (binary_expression "((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)" (parenthesized_expression "((*__s1 != '@') || (*param_2 != '_'))" ( (binary_expression "(*__s1 != '@') || (*param_2 != '_')" (parenthesized_expression "(*__s1 != '@')" ( (binary_expression "*__s1 != '@'" (pointer_expression "*__s1" * identifier) != (char_literal "'@'" ' character ')) )) || (parenthesized_expression "(*param_2 != '_')" ( (binary_expression "*param_2 != '_'" (pointer_expression "*param_2" * identifier) != (char_literal "'_'" ' character ')) ))) )) || (parenthesized_expression "(iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)" ( (comma_expression "iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0" (assignment_expression "iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1)" identifier = (call_expression "strncmp(__s1 + 1,param_2 + 1,__n - 1)" identifier (argument_list "(__s1 + 1,param_2 + 1,__n - 1)" ( (binary_expression "__s1 + 1" identifier + number_literal) , (binary_expression "param_2 + 1" identifier + number_literal) , (binary_expression "__n - 1" identifier - number_literal) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)" ( (comma_expression "iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0" (assignment_expression "iVar2 = strncmp(__s1,param_2,__n)" identifier = (call_expression "strncmp(__s1,param_2,__n)" identifier (argument_list "(__s1,param_2,__n)" ( identifier , identifier , identifier )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }" if (parenthesized_expression "(__s1[__n] == '@')" ( (binary_expression "__s1[__n] == '@'" (subscript_expression "__s1[__n]" identifier [ identifier ]) == (char_literal "'@'" ' character ')) )) (compound_statement "{\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }" { (expression_statement "DAT_001cff8c = param_1;" (assignment_expression "DAT_001cff8c = param_1" identifier = identifier) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) ))) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT - LIT) )))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00055530(int param_1,char *param_2)\n\n{\n  char *__s1;\n  undefined4 uVar1;\n  size_t __n;\n  int iVar2;\n  \n  uVar1 = 1;\n  if (*(char *)(param_1 + 0xc) == '\x03') {\n    __s1 = *(char **)(param_1 + 4);\n    __n = strlen(param_2);\n    if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }\n    uVar1 = 1;\n    if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_00055530(int param_1,char *param_2)" (identifier "FUN_00055530") (parameter_list "(int param_1,char *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  char *__s1;\n  undefined4 uVar1;\n  size_t __n;\n  int iVar2;\n  \n  uVar1 = 1;\n  if (*(char *)(param_1 + 0xc) == '\x03') {\n    __s1 = *(char **)(param_1 + 4);\n    __n = strlen(param_2);\n    if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }\n    uVar1 = 1;\n    if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }\n  }\n  return uVar1;\n}" ({ "{") (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (if_statement "if (*(char *)(param_1 + 0xc) == '\x03') {\n    __s1 = *(char **)(param_1 + 4);\n    __n = strlen(param_2);\n    if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }\n    uVar1 = 1;\n    if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0xc) == '\x03')" (( "(") (binary_expression "*(char *)(param_1 + 0xc) == '\x03'" (pointer_expression "*(char *)(param_1 + 0xc)" (* "*") (cast_expression "(char *)(param_1 + 0xc)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (char_literal "'\x03'" (' "'") (escape_sequence "\x03") (' "'"))) () ")")) (compound_statement "{\n    __s1 = *(char **)(param_1 + 4);\n    __n = strlen(param_2);\n    if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }\n    uVar1 = 1;\n    if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }\n  }" ({ "{") (expression_statement "__s1 = *(char **)(param_1 + 4);" (assignment_expression "__s1 = *(char **)(param_1 + 4)" (identifier "__s1") (= "=") (pointer_expression "*(char **)(param_1 + 4)" (* "*") (cast_expression "(char **)(param_1 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "__n = strlen(param_2);" (assignment_expression "__n = strlen(param_2)" (identifier "__n") (= "=") (call_expression "strlen(param_2)" (identifier "strlen") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if ((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {\n      return 1;\n    }" (if "if") (parenthesized_expression "((((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0))" (( "(") (binary_expression "(((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&\n       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)" (parenthesized_expression "(((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0))" (( "(") (binary_expression "((*__s1 != '@') || (*param_2 != '_')) ||\n        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)" (parenthesized_expression "((*__s1 != '@') || (*param_2 != '_'))" (( "(") (binary_expression "(*__s1 != '@') || (*param_2 != '_')" (parenthesized_expression "(*__s1 != '@')" (( "(") (binary_expression "*__s1 != '@'" (pointer_expression "*__s1" (* "*") (identifier "__s1")) (!= "!=") (char_literal "'@'" (' "'") (character "@") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(*param_2 != '_')" (( "(") (binary_expression "*param_2 != '_'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (char_literal "'_'" (' "'") (character "_") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)" (( "(") (comma_expression "iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0" (assignment_expression "iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1)" (identifier "iVar2") (= "=") (call_expression "strncmp(__s1 + 1,param_2 + 1,__n - 1)" (identifier "strncmp") (argument_list "(__s1 + 1,param_2 + 1,__n - 1)" (( "(") (binary_expression "__s1 + 1" (identifier "__s1") (+ "+") (number_literal "1")) (, ",") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) (, ",") (binary_expression "__n - 1" (identifier "__n") (- "-") (number_literal "1")) () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)" (( "(") (comma_expression "iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0" (assignment_expression "iVar2 = strncmp(__s1,param_2,__n)" (identifier "iVar2") (= "=") (call_expression "strncmp(__s1,param_2,__n)" (identifier "strncmp") (argument_list "(__s1,param_2,__n)" (( "(") (identifier "__s1") (, ",") (identifier "param_2") (, ",") (identifier "__n") () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (if_statement "if (__s1[__n] == '@') {\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }" (if "if") (parenthesized_expression "(__s1[__n] == '@')" (( "(") (binary_expression "__s1[__n] == '@'" (subscript_expression "__s1[__n]" (identifier "__s1") ([ "[") (identifier "__n") (] "]")) (== "==") (char_literal "'@'" (' "'") (character "@") (' "'"))) () ")")) (compound_statement "{\n      DAT_001cff8c = param_1;\n      uVar1 = 0;\n    }" ({ "{") (expression_statement "DAT_001cff8c = param_1;" (assignment_expression "DAT_001cff8c = param_1" (identifier "DAT_001cff8c") (= "=") (identifier "param_1")) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

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

type_1 function_1(type_2 *h,void *inf)

{
  char *var_3;
  type_1 bVar1;
  size_t var_4;
  int var_5;
  
  bVar1 = 1;
  if (h->field_0xc == '\x03') {
    var_3 = (h->root).string;
    var_4 = var_1((char *)inf);
                    /* WARNING: Load size is inaccurate */
    if ((((*var_3 != '@') || (*inf != '_')) ||
        (var_5 = var_2(var_3 + 1,(char *)((int)inf + 1),var_4 - 1), var_5 != 0)) &&
       (var_5 = var_2(var_3,(char *)inf,var_4), var_5 != 0)) {
      return 1;
    }
    bVar1 = 1;
    if (var_3[var_4] == '@') {
      pe_undef_found_sym = h;
      bVar1 = 0;
    }
  }
  return bVar1;
}


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

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

undefined4 MASKED(int param_1,char *param_2)

{
  char *__s1;
  undefined4 uVar1;
  size_t __n;
  int iVar2;
  
  uVar1 = 1;
  if (*(char *)(param_1 + 0xc) == '\x03') {
    __s1 = *(char **)(param_1 + 4);
    __n = strlen(param_2);
    if ((((*__s1 != '@') || (*param_2 != '_')) ||
        (iVar2 = strncmp(__s1 + 1,param_2 + 1,__n - 1), iVar2 != 0)) &&
       (iVar2 = strncmp(__s1,param_2,__n), iVar2 != 0)) {
      return 1;
    }
    uVar1 = 1;
    if (__s1[__n] == '@') {
      DAT_001cff8c = param_1;
      uVar1 = 0;
    }
  }
  return uVar1;
}

