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

int __regparm3 pa_parse_nullif(char **s)

{
  char cVar1;
  int iVar2;
  char *pcVar3;
  char *__s1;
  
  pcVar3 = *s;
  if (*pcVar3 != ',') {
    return 0;
  }
  __s1 = pcVar3 + 1;
  *s = __s1;
  iVar2 = strncasecmp(__s1,"n",1);
  if (iVar2 != 0) {
    cVar1 = pcVar3[1];
    pcVar3 = (char *)dcgettext(0,"Invalid Nullification: (%c)",5);
    as_bad(pcVar3,(int)cVar1);
    __s1 = *s;
  }
  *s = __s1 + 1;
  return (uint)(iVar2 == 0);
}



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

bool __regparm3 FUN_00041950(undefined4 *param_1)

{
  char cVar1;
  char *pcVar2;
  int iVar3;
  undefined4 uVar4;
  char *__s1;
  
  pcVar2 = (char *)*param_1;
  if (*pcVar2 != ',') {
    return false;
  }
  __s1 = pcVar2 + 1;
  *param_1 = __s1;
  iVar3 = strncasecmp(__s1,"n",1);
  if (iVar3 != 0) {
    cVar1 = pcVar2[1];
    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);
    FUN_0002d660(uVar4,(int)cVar1);
    __s1 = (char *)*param_1;
  }
  *param_1 = __s1 + 1;
  return iVar3 == 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00019010
ADD EBX,0x396a7
SUB ESP,0xc
MOV EDI,dword ptr [EAX]
CMP byte ptr [EDI],0x2c
JZ 0x00041978
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EBP,[EDI + 0x1]
SUB ESP,0x4
MOV ESI,EAX
MOV dword ptr [EAX],EBP
LEA EAX,[EBX + 0xfffdae7c]
PUSH 0x1
PUSH EAX
PUSH EBP
CALL 0x00017540
ADD ESP,0x10
MOV EDX,EAX
MOV EAX,0x1
TEST EDX,EDX
JNZ 0x000419b0
ADD EBP,0x1
MOV dword ptr [ESI],EBP
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffdfcc4]
MOVSX EDI,byte ptr [EDI + 0x1]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000171a0
POP EDX
POP ECX
PUSH EDI
PUSH EAX
CALL 0x0002d660
MOV EBP,dword ptr [ESI]
ADD ESP,0x10
XOR EAX,EAX
JMP 0x0004199f
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool __regparm3 FUN_00041950(undefined4 *param_1)\n\n{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *__s1;\n  \n  pcVar2 = (char *)*param_1;\n  if (*pcVar2 != ',') {\n    return false;\n  }\n  __s1 = pcVar2 + 1;\n  *param_1 = __s1;\n  iVar3 = strncasecmp(__s1,"n",1);\n  if (iVar3 != 0) {\n    cVar1 = pcVar2[1];\n    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);\n    FUN_0002d660(uVar4,(int)cVar1);\n    __s1 = (char *)*param_1;\n  }\n  *param_1 = __s1 + 1;\n  return iVar3 == 0;\n}\n\n" comment (function_definition "bool __regparm3 FUN_00041950(undefined4 *param_1)\n\n{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *__s1;\n  \n  pcVar2 = (char *)*param_1;\n  if (*pcVar2 != ',') {\n    return false;\n  }\n  __s1 = pcVar2 + 1;\n  *param_1 = __s1;\n  iVar3 = strncasecmp(__s1,"n",1);\n  if (iVar3 != 0) {\n    cVar1 = pcVar2[1];\n    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);\n    FUN_0002d660(uVar4,(int)cVar1);\n    __s1 = (char *)*param_1;\n  }\n  *param_1 = __s1 + 1;\n  return iVar3 == 0;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00041950(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *__s1;\n  \n  pcVar2 = (char *)*param_1;\n  if (*pcVar2 != ',') {\n    return false;\n  }\n  __s1 = pcVar2 + 1;\n  *param_1 = __s1;\n  iVar3 = strncasecmp(__s1,"n",1);\n  if (iVar3 != 0) {\n    cVar1 = pcVar2[1];\n    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);\n    FUN_0002d660(uVar4,(int)cVar1);\n    __s1 = (char *)*param_1;\n  }\n  *param_1 = __s1 + 1;\n  return iVar3 == 0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (expression_statement "pcVar2 = (char *)*param_1;" (assignment_expression "pcVar2 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (*pcVar2 != ',') {\n    return false;\n  }" if (parenthesized_expression "(*pcVar2 != ',')" ( (binary_expression "*pcVar2 != ','" (pointer_expression "*pcVar2" * identifier) != (char_literal "','" ' character ')) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "__s1 = pcVar2 + 1;" (assignment_expression "__s1 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = __s1;" (assignment_expression "*param_1 = __s1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "iVar3 = strncasecmp(__s1,"n",1);" (assignment_expression "iVar3 = strncasecmp(__s1,"n",1)" identifier = (call_expression "strncasecmp(__s1,"n",1)" identifier (argument_list "(__s1,"n",1)" ( identifier , (string_literal ""n"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n    cVar1 = pcVar2[1];\n    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);\n    FUN_0002d660(uVar4,(int)cVar1);\n    __s1 = (char *)*param_1;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    cVar1 = pcVar2[1];\n    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);\n    FUN_0002d660(uVar4,(int)cVar1);\n    __s1 = (char *)*param_1;\n  }" { (expression_statement "cVar1 = pcVar2[1];" (assignment_expression "cVar1 = pcVar2[1]" identifier = (subscript_expression "pcVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);" (assignment_expression "uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5)" identifier = (call_expression "dcgettext(0,"Invalid Nullification: (%c)",5)" identifier (argument_list "(0,"Invalid Nullification: (%c)",5)" ( number_literal , (string_literal ""Invalid Nullification: (%c)"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002d660(uVar4,(int)cVar1);" (call_expression "FUN_0002d660(uVar4,(int)cVar1)" identifier (argument_list "(uVar4,(int)cVar1)" ( identifier , (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "__s1 = (char *)*param_1;" (assignment_expression "__s1 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) })) (expression_statement "*param_1 = __s1 + 1;" (assignment_expression "*param_1 = __s1 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "__s1 + 1" identifier + number_literal)) ;) (return_statement "return iVar3 == 0;" return (binary_expression "iVar3 == 0" identifier == number_literal) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 pa_parse_nullif(char **s)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  char *__s1;\n  \n  pcVar3 = *s;\n  if (*pcVar3 != ',') {\n    return 0;\n  }\n  __s1 = pcVar3 + 1;\n  *s = __s1;\n  iVar2 = strncasecmp(__s1,"n",1);\n  if (iVar2 != 0) {\n    cVar1 = pcVar3[1];\n    pcVar3 = (char *)dcgettext(0,"Invalid Nullification: (%c)",5);\n    as_bad(pcVar3,(int)cVar1);\n    __s1 = *s;\n  }\n  *s = __s1 + 1;\n  return (uint)(iVar2 == 0);\n}\n\n" comment (function_definition "int __regparm3 pa_parse_nullif(char **s)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  char *__s1;\n  \n  pcVar3 = *s;\n  if (*pcVar3 != ',') {\n    return 0;\n  }\n  __s1 = pcVar3 + 1;\n  *s = __s1;\n  iVar2 = strncasecmp(__s1,"n",1);\n  if (iVar2 != 0) {\n    cVar1 = pcVar3[1];\n    pcVar3 = (char *)dcgettext(0,"Invalid Nullification: (%c)",5);\n    as_bad(pcVar3,(int)cVar1);\n    __s1 = *s;\n  }\n  *s = __s1 + 1;\n  return (uint)(iVar2 == 0);\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "pa_parse_nullif(char **s)" identifier (parameter_list "(char **s)" ( (parameter_declaration "char **s" primitive_type (pointer_declarator "**s" * (pointer_declarator "*s" * identifier))) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  char *__s1;\n  \n  pcVar3 = *s;\n  if (*pcVar3 != ',') {\n    return 0;\n  }\n  __s1 = pcVar3 + 1;\n  *s = __s1;\n  iVar2 = strncasecmp(__s1,"n",1);\n  if (iVar2 != 0) {\n    cVar1 = pcVar3[1];\n    pcVar3 = (char *)dcgettext(0,"Invalid Nullification: (%c)",5);\n    as_bad(pcVar3,(int)cVar1);\n    __s1 = *s;\n  }\n  *s = __s1 + 1;\n  return (uint)(iVar2 == 0);\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (expression_statement "pcVar3 = *s;" (assignment_expression "pcVar3 = *s" identifier = (pointer_expression "*s" * identifier)) ;) (if_statement "if (*pcVar3 != ',') {\n    return 0;\n  }" if (parenthesized_expression "(*pcVar3 != ',')" ( (binary_expression "*pcVar3 != ','" (pointer_expression "*pcVar3" * identifier) != (char_literal "','" ' character ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "__s1 = pcVar3 + 1;" (assignment_expression "__s1 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "*s = __s1;" (assignment_expression "*s = __s1" (pointer_expression "*s" * identifier) = identifier) ;) (expression_statement "iVar2 = strncasecmp(__s1,"n",1);" (assignment_expression "iVar2 = strncasecmp(__s1,"n",1)" identifier = (call_expression "strncasecmp(__s1,"n",1)" identifier (argument_list "(__s1,"n",1)" ( identifier , (string_literal ""n"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar2 != 0) {\n    cVar1 = pcVar3[1];\n    pcVar3 = (char *)dcgettext(0,"Invalid Nullification: (%c)",5);\n    as_bad(pcVar3,(int)cVar1);\n    __s1 = *s;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    cVar1 = pcVar3[1];\n    pcVar3 = (char *)dcgettext(0,"Invalid Nullification: (%c)",5);\n    as_bad(pcVar3,(int)cVar1);\n    __s1 = *s;\n  }" { (expression_statement "cVar1 = pcVar3[1];" (assignment_expression "cVar1 = pcVar3[1]" identifier = (subscript_expression "pcVar3[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar3 = (char *)dcgettext(0,"Invalid Nullification: (%c)",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"Invalid Nullification: (%c)",5)" identifier = (cast_expression "(char *)dcgettext(0,"Invalid Nullification: (%c)",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"Invalid Nullification: (%c)",5)" identifier (argument_list "(0,"Invalid Nullification: (%c)",5)" ( number_literal , (string_literal ""Invalid Nullification: (%c)"" " string_content ") , number_literal ))))) ;) (expression_statement "as_bad(pcVar3,(int)cVar1);" (call_expression "as_bad(pcVar3,(int)cVar1)" identifier (argument_list "(pcVar3,(int)cVar1)" ( identifier , (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "__s1 = *s;" (assignment_expression "__s1 = *s" identifier = (pointer_expression "*s" * identifier)) ;) })) (expression_statement "*s = __s1 + 1;" (assignment_expression "*s = __s1 + 1" (pointer_expression "*s" * identifier) = (binary_expression "__s1 + 1" identifier + number_literal)) ;) (return_statement "return (uint)(iVar2 == 0);" return (call_expression "(uint)(iVar2 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) ))) ;) })))
(translation_unit "bool __regparm3 FUN_00041950(undefined4 *param_1)\n\n{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *__s1;\n  \n  pcVar2 = (char *)*param_1;\n  if (*pcVar2 != ',') {\n    return false;\n  }\n  __s1 = pcVar2 + 1;\n  *param_1 = __s1;\n  iVar3 = strncasecmp(__s1,"n",1);\n  if (iVar3 != 0) {\n    cVar1 = pcVar2[1];\n    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);\n    FUN_0002d660(uVar4,(int)cVar1);\n    __s1 = (char *)*param_1;\n  }\n  *param_1 = __s1 + 1;\n  return iVar3 == 0;\n}\n\n" (function_definition "bool __regparm3 FUN_00041950(undefined4 *param_1)\n\n{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *__s1;\n  \n  pcVar2 = (char *)*param_1;\n  if (*pcVar2 != ',') {\n    return false;\n  }\n  __s1 = pcVar2 + 1;\n  *param_1 = __s1;\n  iVar3 = strncasecmp(__s1,"n",1);\n  if (iVar3 != 0) {\n    cVar1 = pcVar2[1];\n    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);\n    FUN_0002d660(uVar4,(int)cVar1);\n    __s1 = (char *)*param_1;\n  }\n  *param_1 = __s1 + 1;\n  return iVar3 == 0;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00041950(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *__s1;\n  \n  pcVar2 = (char *)*param_1;\n  if (*pcVar2 != ',') {\n    return false;\n  }\n  __s1 = pcVar2 + 1;\n  *param_1 = __s1;\n  iVar3 = strncasecmp(__s1,"n",1);\n  if (iVar3 != 0) {\n    cVar1 = pcVar2[1];\n    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);\n    FUN_0002d660(uVar4,(int)cVar1);\n    __s1 = (char *)*param_1;\n  }\n  *param_1 = __s1 + 1;\n  return iVar3 == 0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (expression_statement "pcVar2 = (char *)*param_1;" (assignment_expression "pcVar2 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (*pcVar2 != ',') {\n    return false;\n  }" if (parenthesized_expression "(*pcVar2 != ',')" ( (binary_expression "*pcVar2 != ','" (pointer_expression "*pcVar2" * identifier) != (char_literal "','" ' character ')) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "__s1 = pcVar2 + 1;" (assignment_expression "__s1 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = __s1;" (assignment_expression "*param_1 = __s1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "iVar3 = strncasecmp(__s1,"n",1);" (assignment_expression "iVar3 = strncasecmp(__s1,"n",1)" identifier = (call_expression "strncasecmp(__s1,"n",1)" identifier (argument_list "(__s1,"n",1)" ( identifier , (string_literal ""n"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar3 != 0) {\n    cVar1 = pcVar2[1];\n    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);\n    FUN_0002d660(uVar4,(int)cVar1);\n    __s1 = (char *)*param_1;\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    cVar1 = pcVar2[1];\n    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);\n    FUN_0002d660(uVar4,(int)cVar1);\n    __s1 = (char *)*param_1;\n  }" { (expression_statement "cVar1 = pcVar2[1];" (assignment_expression "cVar1 = pcVar2[1]" identifier = (subscript_expression "pcVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);" (assignment_expression "uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5)" identifier = (call_expression "dcgettext(0,"Invalid Nullification: (%c)",5)" identifier (argument_list "(0,"Invalid Nullification: (%c)",5)" ( number_literal , (string_literal ""Invalid Nullification: (%c)"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002d660(uVar4,(int)cVar1);" (call_expression "FUN_0002d660(uVar4,(int)cVar1)" identifier (argument_list "(uVar4,(int)cVar1)" ( identifier , (cast_expression "(int)cVar1" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "__s1 = (char *)*param_1;" (assignment_expression "__s1 = (char *)*param_1" identifier = (cast_expression "(char *)*param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) })) (expression_statement "*param_1 = __s1 + 1;" (assignment_expression "*param_1 = __s1 + 1" (pointer_expression "*param_1" * identifier) = (binary_expression "__s1 + 1" identifier + number_literal)) ;) (return_statement "return iVar3 == 0;" return (binary_expression "iVar3 == 0" identifier == number_literal) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) (compound_statement { (return_statement return BOOL ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (return_statement return (binary_expression IDENT == LIT) ;) })))
(function_definition "bool __regparm3 FUN_00041950(undefined4 *param_1)\n\n{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *__s1;\n  \n  pcVar2 = (char *)*param_1;\n  if (*pcVar2 != ',') {\n    return false;\n  }\n  __s1 = pcVar2 + 1;\n  *param_1 = __s1;\n  iVar3 = strncasecmp(__s1,"n",1);\n  if (iVar3 != 0) {\n    cVar1 = pcVar2[1];\n    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);\n    FUN_0002d660(uVar4,(int)cVar1);\n    __s1 = (char *)*param_1;\n  }\n  *param_1 = __s1 + 1;\n  return iVar3 == 0;\n}" (primitive_type "bool") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00041950(undefined4 *param_1)" (identifier "FUN_00041950") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char cVar1;\n  char *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  char *__s1;\n  \n  pcVar2 = (char *)*param_1;\n  if (*pcVar2 != ',') {\n    return false;\n  }\n  __s1 = pcVar2 + 1;\n  *param_1 = __s1;\n  iVar3 = strncasecmp(__s1,"n",1);\n  if (iVar3 != 0) {\n    cVar1 = pcVar2[1];\n    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);\n    FUN_0002d660(uVar4,(int)cVar1);\n    __s1 = (char *)*param_1;\n  }\n  *param_1 = __s1 + 1;\n  return iVar3 == 0;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (expression_statement "pcVar2 = (char *)*param_1;" (assignment_expression "pcVar2 = (char *)*param_1" (identifier "pcVar2") (= "=") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (*pcVar2 != ',') {\n    return false;\n  }" (if "if") (parenthesized_expression "(*pcVar2 != ',')" (( "(") (binary_expression "*pcVar2 != ','" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (!= "!=") (char_literal "','" (' "'") (character ",") (' "'"))) () ")")) (compound_statement "{\n    return false;\n  }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (expression_statement "__s1 = pcVar2 + 1;" (assignment_expression "__s1 = pcVar2 + 1" (identifier "__s1") (= "=") (binary_expression "pcVar2 + 1" (identifier "pcVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = __s1;" (assignment_expression "*param_1 = __s1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "__s1")) (; ";")) (expression_statement "iVar3 = strncasecmp(__s1,"n",1);" (assignment_expression "iVar3 = strncasecmp(__s1,"n",1)" (identifier "iVar3") (= "=") (call_expression "strncasecmp(__s1,"n",1)" (identifier "strncasecmp") (argument_list "(__s1,"n",1)" (( "(") (identifier "__s1") (, ",") (string_literal ""n"" (" """) (string_content "n") (" """)) (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n    cVar1 = pcVar2[1];\n    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);\n    FUN_0002d660(uVar4,(int)cVar1);\n    __s1 = (char *)*param_1;\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    cVar1 = pcVar2[1];\n    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);\n    FUN_0002d660(uVar4,(int)cVar1);\n    __s1 = (char *)*param_1;\n  }" ({ "{") (expression_statement "cVar1 = pcVar2[1];" (assignment_expression "cVar1 = pcVar2[1]" (identifier "cVar1") (= "=") (subscript_expression "pcVar2[1]" (identifier "pcVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);" (assignment_expression "uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"Invalid Nullification: (%c)",5)" (identifier "dcgettext") (argument_list "(0,"Invalid Nullification: (%c)",5)" (( "(") (number_literal "0") (, ",") (string_literal ""Invalid Nullification: (%c)"" (" """) (string_content "Invalid Nullification: (%c)") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002d660(uVar4,(int)cVar1);" (call_expression "FUN_0002d660(uVar4,(int)cVar1)" (identifier "FUN_0002d660") (argument_list "(uVar4,(int)cVar1)" (( "(") (identifier "uVar4") (, ",") (cast_expression "(int)cVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar1")) () ")"))) (; ";")) (expression_statement "__s1 = (char *)*param_1;" (assignment_expression "__s1 = (char *)*param_1" (identifier "__s1") (= "=") (cast_expression "(char *)*param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}"))) (expression_statement "*param_1 = __s1 + 1;" (assignment_expression "*param_1 = __s1 + 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "__s1 + 1" (identifier "__s1") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return iVar3 == 0;" (return "return") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) (; ";")) (} "}")))

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

int __regparm3 function_1(char **s)

{
  char cVar1;
  int var_3;
  char *var_1;
  char *var_6;
  
  var_1 = *s;
  if (*var_1 != ',') {
    return 0;
  }
  var_6 = var_1 + 1;
  *s = var_6;
  var_3 = var_2(var_6,"n",1);
  if (var_3 != 0) {
    cVar1 = var_1[1];
    var_1 = (char *)var_4(0,"Invalid Nullification: (%c)",5);
    var_5(var_1,(int)cVar1);
    var_6 = *s;
  }
  *s = var_6 + 1;
  return (uint)(var_3 == 0);
}


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

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

bool __regparm3 MASKED(undefined4 *param_1)

{
  char cVar1;
  char *pcVar2;
  int iVar3;
  undefined4 uVar4;
  char *__s1;
  
  pcVar2 = (char *)*param_1;
  if (*pcVar2 != ',') {
    return false;
  }
  __s1 = pcVar2 + 1;
  *param_1 = __s1;
  iVar3 = strncasecmp(__s1,"n",1);
  if (iVar3 != 0) {
    cVar1 = pcVar2[1];
    uVar4 = dcgettext(0,"Invalid Nullification: (%c)",5);
    FUN_0002d660(uVar4,(int)cVar1);
    __s1 = (char *)*param_1;
  }
  *param_1 = __s1 + 1;
  return iVar3 == 0;
}

