
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

int count_lines(char *start,char *stop)

{
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

int __regparm3 FUN_0009caff(char *param_1,char *param_2)

{
  int iVar1;
  char *pcVar2;
  int iVar3;
  
  if (param_2 < param_1) {
    param_1 = param_2;
  }
  pcVar2 = (char *)FUN_0009ca70();
  iVar3 = 0;
  if (param_1 <= pcVar2) {
    iVar1 = *(int *)(DAT_000d1700 + 4);
    do {
      if ((char *)(iVar1 + -1) < param_1) {
        return iVar3;
      }
      param_1 = (char *)FUN_0009ca70();
      if (*param_1 == '\n') {
        iVar3 = iVar3 + 1;
      }
      param_1 = param_1 + 1;
    } while (param_1 <= pcVar2);
  }
  return iVar3;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xc
CALL 0x00018a3c
ADD ESI,0x33f15
MOV EBX,EAX
MOV EAX,EDX
CMP EDX,EBX
JNC 0x0009cb1f
MOV EDX,EBX
MOV EBX,EAX
MOV EAX,EDX
CALL 0x0009ca70
MOV EBP,EAX
XOR EDI,EDI
CMP EBX,EAX
JA 0x0009cb4e
MOV EAX,dword ptr [ESI + 0xce0]
MOV ESI,dword ptr [EAX + 0x4]
DEC ESI
CMP EBX,ESI
JA 0x0009cb4e
MOV EAX,EBX
CALL 0x0009ca70
CMP byte ptr [EAX],0xa
JNZ 0x0009cb47
INC EDI
LEA EBX,[EAX + 0x1]
CMP EBP,EBX
JNC 0x0009cb36
MOV EAX,EDI
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nint __regparm3 FUN_0009caff(char *param_1,char *param_2)\n\n{\n  int iVar1;\n  char *pcVar2;\n  int iVar3;\n  \n  if (param_2 < param_1) {\n    param_1 = param_2;\n  }\n  pcVar2 = (char *)FUN_0009ca70();\n  iVar3 = 0;\n  if (param_1 <= pcVar2) {\n    iVar1 = *(int *)(DAT_000d1700 + 4);\n    do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);\n  }\n  return iVar3;\n}\n\n" comment (function_definition "int __regparm3 FUN_0009caff(char *param_1,char *param_2)\n\n{\n  int iVar1;\n  char *pcVar2;\n  int iVar3;\n  \n  if (param_2 < param_1) {\n    param_1 = param_2;\n  }\n  pcVar2 = (char *)FUN_0009ca70();\n  iVar3 = 0;\n  if (param_1 <= pcVar2) {\n    iVar1 = *(int *)(DAT_000d1700 + 4);\n    do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);\n  }\n  return iVar3;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0009caff(char *param_1,char *param_2)" identifier (parameter_list "(char *param_1,char *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  int iVar3;\n  \n  if (param_2 < param_1) {\n    param_1 = param_2;\n  }\n  pcVar2 = (char *)FUN_0009ca70();\n  iVar3 = 0;\n  if (param_1 <= pcVar2) {\n    iVar1 = *(int *)(DAT_000d1700 + 4);\n    do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);\n  }\n  return iVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_2 < param_1) {\n    param_1 = param_2;\n  }" if (parenthesized_expression "(param_2 < param_1)" ( (binary_expression "param_2 < param_1" identifier < identifier) )) (compound_statement "{\n    param_1 = param_2;\n  }" { (expression_statement "param_1 = param_2;" (assignment_expression "param_1 = param_2" identifier = identifier) ;) })) (expression_statement "pcVar2 = (char *)FUN_0009ca70();" (assignment_expression "pcVar2 = (char *)FUN_0009ca70()" identifier = (cast_expression "(char *)FUN_0009ca70()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0009ca70()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (param_1 <= pcVar2) {\n    iVar1 = *(int *)(DAT_000d1700 + 4);\n    do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);\n  }" if (parenthesized_expression "(param_1 <= pcVar2)" ( (binary_expression "param_1 <= pcVar2" identifier <= identifier) )) (compound_statement "{\n    iVar1 = *(int *)(DAT_000d1700 + 4);\n    do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);\n  }" { (expression_statement "iVar1 = *(int *)(DAT_000d1700 + 4);" (assignment_expression "iVar1 = *(int *)(DAT_000d1700 + 4)" identifier = (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) ))))) ;) (do_statement "do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);" do (compound_statement "{\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    }" { (if_statement "if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }" if (parenthesized_expression "((char *)(iVar1 + -1) < param_1)" ( (binary_expression "(char *)(iVar1 + -1) < param_1" (cast_expression "(char *)(iVar1 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -1)" ( (binary_expression "iVar1 + -1" identifier + number_literal) ))) < identifier) )) (compound_statement "{\n        return iVar3;\n      }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "param_1 = (char *)FUN_0009ca70();" (assignment_expression "param_1 = (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 (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }" if (parenthesized_expression "(*param_1 == '\n')" ( (binary_expression "*param_1 == '\n'" (pointer_expression "*param_1" * identifier) == (char_literal "'\n'" ' escape_sequence ')) )) (compound_statement "{\n        iVar3 = iVar3 + 1;\n      }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_1 <= pcVar2)" ( (binary_expression "param_1 <= pcVar2" identifier <= identifier) )) ;) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nint count_lines(char *start,char *stop)\n\n{\n}\n\n" comment (function_definition "int count_lines(char *start,char *stop)\n\n{\n}" primitive_type (function_declarator "count_lines(char *start,char *stop)" identifier (parameter_list "(char *start,char *stop)" ( (parameter_declaration "char *start" primitive_type (pointer_declarator "*start" * identifier)) , (parameter_declaration "char *stop" primitive_type (pointer_declarator "*stop" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "int __regparm3 FUN_0009caff(char *param_1,char *param_2)\n\n{\n  int iVar1;\n  char *pcVar2;\n  int iVar3;\n  \n  if (param_2 < param_1) {\n    param_1 = param_2;\n  }\n  pcVar2 = (char *)FUN_0009ca70();\n  iVar3 = 0;\n  if (param_1 <= pcVar2) {\n    iVar1 = *(int *)(DAT_000d1700 + 4);\n    do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);\n  }\n  return iVar3;\n}\n\n" (function_definition "int __regparm3 FUN_0009caff(char *param_1,char *param_2)\n\n{\n  int iVar1;\n  char *pcVar2;\n  int iVar3;\n  \n  if (param_2 < param_1) {\n    param_1 = param_2;\n  }\n  pcVar2 = (char *)FUN_0009ca70();\n  iVar3 = 0;\n  if (param_1 <= pcVar2) {\n    iVar1 = *(int *)(DAT_000d1700 + 4);\n    do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);\n  }\n  return iVar3;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0009caff(char *param_1,char *param_2)" identifier (parameter_list "(char *param_1,char *param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  int iVar3;\n  \n  if (param_2 < param_1) {\n    param_1 = param_2;\n  }\n  pcVar2 = (char *)FUN_0009ca70();\n  iVar3 = 0;\n  if (param_1 <= pcVar2) {\n    iVar1 = *(int *)(DAT_000d1700 + 4);\n    do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);\n  }\n  return iVar3;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if (param_2 < param_1) {\n    param_1 = param_2;\n  }" if (parenthesized_expression "(param_2 < param_1)" ( (binary_expression "param_2 < param_1" identifier < identifier) )) (compound_statement "{\n    param_1 = param_2;\n  }" { (expression_statement "param_1 = param_2;" (assignment_expression "param_1 = param_2" identifier = identifier) ;) })) (expression_statement "pcVar2 = (char *)FUN_0009ca70();" (assignment_expression "pcVar2 = (char *)FUN_0009ca70()" identifier = (cast_expression "(char *)FUN_0009ca70()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0009ca70()" identifier (argument_list "()" ( ))))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (param_1 <= pcVar2) {\n    iVar1 = *(int *)(DAT_000d1700 + 4);\n    do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);\n  }" if (parenthesized_expression "(param_1 <= pcVar2)" ( (binary_expression "param_1 <= pcVar2" identifier <= identifier) )) (compound_statement "{\n    iVar1 = *(int *)(DAT_000d1700 + 4);\n    do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);\n  }" { (expression_statement "iVar1 = *(int *)(DAT_000d1700 + 4);" (assignment_expression "iVar1 = *(int *)(DAT_000d1700 + 4)" identifier = (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) ))))) ;) (do_statement "do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);" do (compound_statement "{\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    }" { (if_statement "if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }" if (parenthesized_expression "((char *)(iVar1 + -1) < param_1)" ( (binary_expression "(char *)(iVar1 + -1) < param_1" (cast_expression "(char *)(iVar1 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -1)" ( (binary_expression "iVar1 + -1" identifier + number_literal) ))) < identifier) )) (compound_statement "{\n        return iVar3;\n      }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "param_1 = (char *)FUN_0009ca70();" (assignment_expression "param_1 = (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 (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }" if (parenthesized_expression "(*param_1 == '\n')" ( (binary_expression "*param_1 == '\n'" (pointer_expression "*param_1" * identifier) == (char_literal "'\n'" ' escape_sequence ')) )) (compound_statement "{\n        iVar3 = iVar3 + 1;\n      }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_1 <= pcVar2)" ( (binary_expression "param_1 <= pcVar2" identifier <= identifier) )) ;) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) < IDENT) )) (compound_statement { (return_statement return 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 (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) ;) })) (return_statement return IDENT ;) })))
(function_definition "int __regparm3 FUN_0009caff(char *param_1,char *param_2)\n\n{\n  int iVar1;\n  char *pcVar2;\n  int iVar3;\n  \n  if (param_2 < param_1) {\n    param_1 = param_2;\n  }\n  pcVar2 = (char *)FUN_0009ca70();\n  iVar3 = 0;\n  if (param_1 <= pcVar2) {\n    iVar1 = *(int *)(DAT_000d1700 + 4);\n    do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);\n  }\n  return iVar3;\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0009caff(char *param_1,char *param_2)" (identifier "FUN_0009caff") (parameter_list "(char *param_1,char *param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  char *pcVar2;\n  int iVar3;\n  \n  if (param_2 < param_1) {\n    param_1 = param_2;\n  }\n  pcVar2 = (char *)FUN_0009ca70();\n  iVar3 = 0;\n  if (param_1 <= pcVar2) {\n    iVar1 = *(int *)(DAT_000d1700 + 4);\n    do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);\n  }\n  return iVar3;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if (param_2 < param_1) {\n    param_1 = param_2;\n  }" (if "if") (parenthesized_expression "(param_2 < param_1)" (( "(") (binary_expression "param_2 < param_1" (identifier "param_2") (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n    param_1 = param_2;\n  }" ({ "{") (expression_statement "param_1 = param_2;" (assignment_expression "param_1 = param_2" (identifier "param_1") (= "=") (identifier "param_2")) (; ";")) (} "}"))) (expression_statement "pcVar2 = (char *)FUN_0009ca70();" (assignment_expression "pcVar2 = (char *)FUN_0009ca70()" (identifier "pcVar2") (= "=") (cast_expression "(char *)FUN_0009ca70()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0009ca70()" (identifier "FUN_0009ca70") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1 <= pcVar2) {\n    iVar1 = *(int *)(DAT_000d1700 + 4);\n    do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);\n  }" (if "if") (parenthesized_expression "(param_1 <= pcVar2)" (( "(") (binary_expression "param_1 <= pcVar2" (identifier "param_1") (<= "<=") (identifier "pcVar2")) () ")")) (compound_statement "{\n    iVar1 = *(int *)(DAT_000d1700 + 4);\n    do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(DAT_000d1700 + 4);" (assignment_expression "iVar1 = *(int *)(DAT_000d1700 + 4)" (identifier "iVar1") (= "=") (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")) () ")"))))) (; ";")) (do_statement "do {\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    } while (param_1 <= pcVar2);" (do "do") (compound_statement "{\n      if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }\n      param_1 = (char *)FUN_0009ca70();\n      if (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }\n      param_1 = param_1 + 1;\n    }" ({ "{") (if_statement "if ((char *)(iVar1 + -1) < param_1) {\n        return iVar3;\n      }" (if "if") (parenthesized_expression "((char *)(iVar1 + -1) < param_1)" (( "(") (binary_expression "(char *)(iVar1 + -1) < param_1" (cast_expression "(char *)(iVar1 + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + -1)" (( "(") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1")) () ")"))) (< "<") (identifier "param_1")) () ")")) (compound_statement "{\n        return iVar3;\n      }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "param_1 = (char *)FUN_0009ca70();" (assignment_expression "param_1 = (char *)FUN_0009ca70()" (identifier "param_1") (= "=") (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 (*param_1 == '\n') {\n        iVar3 = iVar3 + 1;\n      }" (if "if") (parenthesized_expression "(*param_1 == '\n')" (( "(") (binary_expression "*param_1 == '\n'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) () ")")) (compound_statement "{\n        iVar3 = iVar3 + 1;\n      }" ({ "{") (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1 <= pcVar2)" (( "(") (binary_expression "param_1 <= pcVar2" (identifier "param_1") (<= "<=") (identifier "pcVar2")) () ")")) (; ";")) (} "}"))) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

int function_1(char *start,char *stop)

{
}


(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))) (parameter_declaration type: (primitive_type) 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)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) 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)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (identifier))) consequence: (compound_statement (return_statement (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: (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)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

int __regparm3 MASKED(char *param_1,char *param_2)

{
  int iVar1;
  char *pcVar2;
  int iVar3;
  
  if (param_2 < param_1) {
    param_1 = param_2;
  }
  pcVar2 = (char *)FUN_0009ca70();
  iVar3 = 0;
  if (param_1 <= pcVar2) {
    iVar1 = *(int *)(DAT_000d1700 + 4);
    do {
      if ((char *)(iVar1 + -1) < param_1) {
        return iVar3;
      }
      param_1 = (char *)FUN_0009ca70();
      if (*param_1 == '\n') {
        iVar3 = iVar3 + 1;
      }
      param_1 = param_1 + 1;
    } while (param_1 <= pcVar2);
  }
  return iVar3;
}

