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

char * next_line(char *p)

{
}



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

char * FUN_0009caa8(void)

{
  char *pcVar1;
  
  pcVar1 = (char *)FUN_0009ca70();
  if ((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')) {
    pcVar1 = pcVar1 + 1;
  }
  return pcVar1;
}


PUSH EBX
SUB ESP,0x8
CALL 0x00017640
ADD EBX,0x33f6f
CALL 0x0009ca70
MOV EDX,dword ptr [EBX + 0xce0]
MOV EDX,dword ptr [EDX + 0x4]
DEC EDX
CMP EAX,EDX
JNC 0x0009cad0
CMP byte ptr [EAX],0xa
JNZ 0x0009cad0
INC EAX
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * FUN_0009caa8(void)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)FUN_0009ca70();\n  if ((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')) {\n    pcVar1 = pcVar1 + 1;\n  }\n  return pcVar1;\n}\n\n" comment (function_definition "char * FUN_0009caa8(void)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)FUN_0009ca70();\n  if ((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')) {\n    pcVar1 = pcVar1 + 1;\n  }\n  return pcVar1;\n}" primitive_type (pointer_declarator "* FUN_0009caa8(void)" * (function_declarator "FUN_0009caa8(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = (char *)FUN_0009ca70();\n  if ((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')) {\n    pcVar1 = pcVar1 + 1;\n  }\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = (char *)FUN_0009ca70();" (assignment_expression "pcVar1 = (char *)FUN_0009ca70()" identifier = (cast_expression "(char *)FUN_0009ca70()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0009ca70()" identifier (argument_list "()" ( ))))) ;) (if_statement "if ((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')) {\n    pcVar1 = pcVar1 + 1;\n  }" if (parenthesized_expression "((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n'))" ( (binary_expression "(pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')" (parenthesized_expression "(pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1))" ( (binary_expression "pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)" identifier < (cast_expression "(char *)(*(int *)(DAT_000d1700 + 4) + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_000d1700 + 4) + -1)" ( (binary_expression "*(int *)(DAT_000d1700 + 4) + -1" (pointer_expression "*(int *)(DAT_000d1700 + 4)" * (cast_expression "(int *)(DAT_000d1700 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1700 + 4)" ( (binary_expression "DAT_000d1700 + 4" identifier + number_literal) )))) + number_literal) )))) )) && (parenthesized_expression "(*pcVar1 == '\n')" ( (binary_expression "*pcVar1 == '\n'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\n'" ' escape_sequence ')) ))) )) (compound_statement "{\n    pcVar1 = pcVar1 + 1;\n  }" { (expression_statement "pcVar1 = pcVar1 + 1;" (assignment_expression "pcVar1 = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) })) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * next_line(char *p)\n\n{\n}\n\n" comment (function_definition "char * next_line(char *p)\n\n{\n}" primitive_type (pointer_declarator "* next_line(char *p)" * (function_declarator "next_line(char *p)" identifier (parameter_list "(char *p)" ( (parameter_declaration "char *p" primitive_type (pointer_declarator "*p" * identifier)) )))) (compound_statement "{\n}" { })))
(translation_unit "char * FUN_0009caa8(void)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)FUN_0009ca70();\n  if ((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')) {\n    pcVar1 = pcVar1 + 1;\n  }\n  return pcVar1;\n}\n\n" (function_definition "char * FUN_0009caa8(void)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)FUN_0009ca70();\n  if ((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')) {\n    pcVar1 = pcVar1 + 1;\n  }\n  return pcVar1;\n}" primitive_type (pointer_declarator "* FUN_0009caa8(void)" * (function_declarator "FUN_0009caa8(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = (char *)FUN_0009ca70();\n  if ((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')) {\n    pcVar1 = pcVar1 + 1;\n  }\n  return pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = (char *)FUN_0009ca70();" (assignment_expression "pcVar1 = (char *)FUN_0009ca70()" identifier = (cast_expression "(char *)FUN_0009ca70()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0009ca70()" identifier (argument_list "()" ( ))))) ;) (if_statement "if ((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')) {\n    pcVar1 = pcVar1 + 1;\n  }" if (parenthesized_expression "((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n'))" ( (binary_expression "(pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')" (parenthesized_expression "(pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1))" ( (binary_expression "pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)" identifier < (cast_expression "(char *)(*(int *)(DAT_000d1700 + 4) + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_000d1700 + 4) + -1)" ( (binary_expression "*(int *)(DAT_000d1700 + 4) + -1" (pointer_expression "*(int *)(DAT_000d1700 + 4)" * (cast_expression "(int *)(DAT_000d1700 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1700 + 4)" ( (binary_expression "DAT_000d1700 + 4" identifier + number_literal) )))) + number_literal) )))) )) && (parenthesized_expression "(*pcVar1 == '\n')" ( (binary_expression "*pcVar1 == '\n'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\n'" ' escape_sequence ')) ))) )) (compound_statement "{\n    pcVar1 = pcVar1 + 1;\n  }" { (expression_statement "pcVar1 = pcVar1 + 1;" (assignment_expression "pcVar1 = pcVar1 + 1" identifier = (binary_expression "pcVar1 + 1" identifier + number_literal)) ;) })) (return_statement "return pcVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < (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) )))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "char * FUN_0009caa8(void)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = (char *)FUN_0009ca70();\n  if ((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')) {\n    pcVar1 = pcVar1 + 1;\n  }\n  return pcVar1;\n}" (primitive_type "char") (pointer_declarator "* FUN_0009caa8(void)" (* "*") (function_declarator "FUN_0009caa8(void)" (identifier "FUN_0009caa8") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = (char *)FUN_0009ca70();\n  if ((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')) {\n    pcVar1 = pcVar1 + 1;\n  }\n  return pcVar1;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (expression_statement "pcVar1 = (char *)FUN_0009ca70();" (assignment_expression "pcVar1 = (char *)FUN_0009ca70()" (identifier "pcVar1") (= "=") (cast_expression "(char *)FUN_0009ca70()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0009ca70()" (identifier "FUN_0009ca70") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if ((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')) {\n    pcVar1 = pcVar1 + 1;\n  }" (if "if") (parenthesized_expression "((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n'))" (( "(") (binary_expression "(pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')" (parenthesized_expression "(pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1))" (( "(") (binary_expression "pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)" (identifier "pcVar1") (< "<") (cast_expression "(char *)(*(int *)(DAT_000d1700 + 4) + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_000d1700 + 4) + -1)" (( "(") (binary_expression "*(int *)(DAT_000d1700 + 4) + -1" (pointer_expression "*(int *)(DAT_000d1700 + 4)" (* "*") (cast_expression "(int *)(DAT_000d1700 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1700 + 4)" (( "(") (binary_expression "DAT_000d1700 + 4" (identifier "DAT_000d1700") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "-1")) () ")")))) () ")")) (&& "&&") (parenthesized_expression "(*pcVar1 == '\n')" (( "(") (binary_expression "*pcVar1 == '\n'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (== "==") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    pcVar1 = pcVar1 + 1;\n  }" ({ "{") (expression_statement "pcVar1 = pcVar1 + 1;" (assignment_expression "pcVar1 = pcVar1 + 1" (identifier "pcVar1") (= "=") (binary_expression "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return pcVar1;" (return "return") (identifier "pcVar1") (; ";")) (} "}")))

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

char * function_1(char *p)

{
}


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

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

char * MASKED(void)

{
  char *pcVar1;
  
  pcVar1 = (char *)FUN_0009ca70();
  if ((pcVar1 < (char *)(*(int *)(DAT_000d1700 + 4) + -1)) && (*pcVar1 == '\n')) {
    pcVar1 = pcVar1 + 1;
  }
  return pcVar1;
}

