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

int __regparm3 isVowel(char *z)

{
  int iVar1;
  
  if (*z == '\0') {
    return 0;
  }
  if (1 < ""[*z + 0xef]) {
    iVar1 = isConsonant(z + 1);
    return iVar1;
  }
  return 1 - ""[*z + 0xef];
}



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

int __regparm3 FUN_000315f0(char *param_1)

{
  int iVar1;
  
  if (*param_1 == '\0') {
    return 0;
  }
  if (1 < (char)(&DAT_000fecef)[*param_1]) {
    iVar1 = FUN_000315a0();
    return iVar1;
  }
  return 1 - (char)(&DAT_000fecef)[*param_1];
}


CALL 0x000f41e8
ADD ECX,0x1178df
MOVSX EDX,byte ptr [EAX]
TEST DL,DL
JZ 0x00031620
MOVSX EDX,byte ptr [ECX + EDX*0x1 + 0xfffb5e1b]
CMP EDX,0x1
JLE 0x00031618
ADD EAX,0x1
JMP 0x000315a0
MOV EAX,0x1
SUB EAX,EDX
RET
XOR EAX,EAX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nint __regparm3 FUN_000315f0(char *param_1)\n\n{\n  int iVar1;\n  \n  if (*param_1 == '\0') {\n    return 0;\n  }\n  if (1 < (char)(&DAT_000fecef)[*param_1]) {\n    iVar1 = FUN_000315a0();\n    return iVar1;\n  }\n  return 1 - (char)(&DAT_000fecef)[*param_1];\n}\n\n" comment (function_definition "int __regparm3 FUN_000315f0(char *param_1)\n\n{\n  int iVar1;\n  \n  if (*param_1 == '\0') {\n    return 0;\n  }\n  if (1 < (char)(&DAT_000fecef)[*param_1]) {\n    iVar1 = FUN_000315a0();\n    return iVar1;\n  }\n  return 1 - (char)(&DAT_000fecef)[*param_1];\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000315f0(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*param_1 == '\0') {\n    return 0;\n  }\n  if (1 < (char)(&DAT_000fecef)[*param_1]) {\n    iVar1 = FUN_000315a0();\n    return iVar1;\n  }\n  return 1 - (char)(&DAT_000fecef)[*param_1];\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*param_1 == '\0') {\n    return 0;\n  }" if (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (1 < (char)(&DAT_000fecef)[*param_1]) {\n    iVar1 = FUN_000315a0();\n    return iVar1;\n  }" if (parenthesized_expression "(1 < (char)(&DAT_000fecef)[*param_1])" ( (binary_expression "1 < (char)(&DAT_000fecef)[*param_1]" number_literal < (cast_expression "(char)(&DAT_000fecef)[*param_1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "(&DAT_000fecef)[*param_1]" (parenthesized_expression "(&DAT_000fecef)" ( (pointer_expression "&DAT_000fecef" & identifier) )) [ (pointer_expression "*param_1" * identifier) ]))) )) (compound_statement "{\n    iVar1 = FUN_000315a0();\n    return iVar1;\n  }" { (expression_statement "iVar1 = FUN_000315a0();" (assignment_expression "iVar1 = FUN_000315a0()" identifier = (call_expression "FUN_000315a0()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 1 - (char)(&DAT_000fecef)[*param_1];" return (binary_expression "1 - (char)(&DAT_000fecef)[*param_1]" number_literal - (cast_expression "(char)(&DAT_000fecef)[*param_1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "(&DAT_000fecef)[*param_1]" (parenthesized_expression "(&DAT_000fecef)" ( (pointer_expression "&DAT_000fecef" & identifier) )) [ (pointer_expression "*param_1" * identifier) ]))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nint __regparm3 isVowel(char *z)\n\n{\n  int iVar1;\n  \n  if (*z == '\0') {\n    return 0;\n  }\n  if (1 < ""[*z + 0xef]) {\n    iVar1 = isConsonant(z + 1);\n    return iVar1;\n  }\n  return 1 - ""[*z + 0xef];\n}\n\n" comment (function_definition "int __regparm3 isVowel(char *z)\n\n{\n  int iVar1;\n  \n  if (*z == '\0') {\n    return 0;\n  }\n  if (1 < ""[*z + 0xef]) {\n    iVar1 = isConsonant(z + 1);\n    return iVar1;\n  }\n  return 1 - ""[*z + 0xef];\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "isVowel(char *z)" identifier (parameter_list "(char *z)" ( (parameter_declaration "char *z" primitive_type (pointer_declarator "*z" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*z == '\0') {\n    return 0;\n  }\n  if (1 < ""[*z + 0xef]) {\n    iVar1 = isConsonant(z + 1);\n    return iVar1;\n  }\n  return 1 - ""[*z + 0xef];\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*z == '\0') {\n    return 0;\n  }" if (parenthesized_expression "(*z == '\0')" ( (binary_expression "*z == '\0'" (pointer_expression "*z" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (1 < ""[*z + 0xef]) {\n    iVar1 = isConsonant(z + 1);\n    return iVar1;\n  }" if (parenthesized_expression "(1 < ""[*z + 0xef])" ( (binary_expression "1 < ""[*z + 0xef]" number_literal < (subscript_expression """[*z + 0xef]" (string_literal """" " ") [ (binary_expression "*z + 0xef" (pointer_expression "*z" * identifier) + number_literal) ])) )) (compound_statement "{\n    iVar1 = isConsonant(z + 1);\n    return iVar1;\n  }" { (expression_statement "iVar1 = isConsonant(z + 1);" (assignment_expression "iVar1 = isConsonant(z + 1)" identifier = (call_expression "isConsonant(z + 1)" identifier (argument_list "(z + 1)" ( (binary_expression "z + 1" identifier + number_literal) )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 1 - ""[*z + 0xef];" return (binary_expression "1 - ""[*z + 0xef]" number_literal - (subscript_expression """[*z + 0xef]" (string_literal """" " ") [ (binary_expression "*z + 0xef" (pointer_expression "*z" * identifier) + number_literal) ])) ;) })))
(translation_unit "int __regparm3 FUN_000315f0(char *param_1)\n\n{\n  int iVar1;\n  \n  if (*param_1 == '\0') {\n    return 0;\n  }\n  if (1 < (char)(&DAT_000fecef)[*param_1]) {\n    iVar1 = FUN_000315a0();\n    return iVar1;\n  }\n  return 1 - (char)(&DAT_000fecef)[*param_1];\n}\n\n" (function_definition "int __regparm3 FUN_000315f0(char *param_1)\n\n{\n  int iVar1;\n  \n  if (*param_1 == '\0') {\n    return 0;\n  }\n  if (1 < (char)(&DAT_000fecef)[*param_1]) {\n    iVar1 = FUN_000315a0();\n    return iVar1;\n  }\n  return 1 - (char)(&DAT_000fecef)[*param_1];\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000315f0(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*param_1 == '\0') {\n    return 0;\n  }\n  if (1 < (char)(&DAT_000fecef)[*param_1]) {\n    iVar1 = FUN_000315a0();\n    return iVar1;\n  }\n  return 1 - (char)(&DAT_000fecef)[*param_1];\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*param_1 == '\0') {\n    return 0;\n  }" if (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (1 < (char)(&DAT_000fecef)[*param_1]) {\n    iVar1 = FUN_000315a0();\n    return iVar1;\n  }" if (parenthesized_expression "(1 < (char)(&DAT_000fecef)[*param_1])" ( (binary_expression "1 < (char)(&DAT_000fecef)[*param_1]" number_literal < (cast_expression "(char)(&DAT_000fecef)[*param_1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "(&DAT_000fecef)[*param_1]" (parenthesized_expression "(&DAT_000fecef)" ( (pointer_expression "&DAT_000fecef" & identifier) )) [ (pointer_expression "*param_1" * identifier) ]))) )) (compound_statement "{\n    iVar1 = FUN_000315a0();\n    return iVar1;\n  }" { (expression_statement "iVar1 = FUN_000315a0();" (assignment_expression "iVar1 = FUN_000315a0()" identifier = (call_expression "FUN_000315a0()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })) (return_statement "return 1 - (char)(&DAT_000fecef)[*param_1];" return (binary_expression "1 - (char)(&DAT_000fecef)[*param_1]" number_literal - (cast_expression "(char)(&DAT_000fecef)[*param_1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "(&DAT_000fecef)[*param_1]" (parenthesized_expression "(&DAT_000fecef)" ( (pointer_expression "&DAT_000fecef" & identifier) )) [ (pointer_expression "*param_1" * identifier) ]))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (return_statement return (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (pointer_expression * IDENT) ]))) ;) })))
(function_definition "int __regparm3 FUN_000315f0(char *param_1)\n\n{\n  int iVar1;\n  \n  if (*param_1 == '\0') {\n    return 0;\n  }\n  if (1 < (char)(&DAT_000fecef)[*param_1]) {\n    iVar1 = FUN_000315a0();\n    return iVar1;\n  }\n  return 1 - (char)(&DAT_000fecef)[*param_1];\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000315f0(char *param_1)" (identifier "FUN_000315f0") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (*param_1 == '\0') {\n    return 0;\n  }\n  if (1 < (char)(&DAT_000fecef)[*param_1]) {\n    iVar1 = FUN_000315a0();\n    return iVar1;\n  }\n  return 1 - (char)(&DAT_000fecef)[*param_1];\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (*param_1 == '\0') {\n    return 0;\n  }" (if "if") (parenthesized_expression "(*param_1 == '\0')" (( "(") (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (1 < (char)(&DAT_000fecef)[*param_1]) {\n    iVar1 = FUN_000315a0();\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(1 < (char)(&DAT_000fecef)[*param_1])" (( "(") (binary_expression "1 < (char)(&DAT_000fecef)[*param_1]" (number_literal "1") (< "<") (cast_expression "(char)(&DAT_000fecef)[*param_1]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "(&DAT_000fecef)[*param_1]" (parenthesized_expression "(&DAT_000fecef)" (( "(") (pointer_expression "&DAT_000fecef" (& "&") (identifier "DAT_000fecef")) () ")")) ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]")))) () ")")) (compound_statement "{\n    iVar1 = FUN_000315a0();\n    return iVar1;\n  }" ({ "{") (expression_statement "iVar1 = FUN_000315a0();" (assignment_expression "iVar1 = FUN_000315a0()" (identifier "iVar1") (= "=") (call_expression "FUN_000315a0()" (identifier "FUN_000315a0") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (return_statement "return 1 - (char)(&DAT_000fecef)[*param_1];" (return "return") (binary_expression "1 - (char)(&DAT_000fecef)[*param_1]" (number_literal "1") (- "-") (cast_expression "(char)(&DAT_000fecef)[*param_1]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "(&DAT_000fecef)[*param_1]" (parenthesized_expression "(&DAT_000fecef)" (( "(") (pointer_expression "&DAT_000fecef" (& "&") (identifier "DAT_000fecef")) () ")")) ([ "[") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (] "]")))) (; ";")) (} "}")))

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

int __regparm3 function_1(char *var_2)

{
  int iVar1;
  
  if (*var_2 == '\0') {
    return 0;
  }
  if (1 < ""[*var_2 + 0xef]) {
    iVar1 = var_1(var_2 + 1);
    return iVar1;
  }
  return 1 - ""[*var_2 + 0xef];
}


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

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

int __regparm3 MASKED(char *param_1)

{
  int iVar1;
  
  if (*param_1 == '\0') {
    return 0;
  }
  if (1 < (char)(&DAT_000fecef)[*param_1]) {
    iVar1 = FUN_000315a0();
    return iVar1;
  }
  return 1 - (char)(&DAT_000fecef)[*param_1];
}

