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

void __regparm3 wrap_output(FILE *f,char *string,int spacer)

{
  int iVar1;
  
  iVar1 = quote_string_for_make((FILE *)0x0,string);
  if (iVar1 != 0) {
    if ((column == 0) || (column + iVar1 < 0x46)) {
      if (spacer == 0x20) {
        putc(0x20,(FILE *)f);
        column = column + 1;
        quote_string_for_make(f,string);
        column = column + iVar1;
        return;
      }
    }
    else {
      fwrite(&DAT_0005d131,1,4,(FILE *)f);
      column = 0;
      if (spacer == 0x20) {
        quote_string_for_make(f,string);
        column = column + iVar1;
        return;
      }
    }
    quote_string_for_make(f,string);
    column = column + iVar1;
    if (spacer == 0x3a) {
      putc(0x3a,(FILE *)f);
      column = column + 1;
      return;
    }
  }
  return;
}



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

void __regparm3 FUN_00019b50(FILE *param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  
  iVar1 = FUN_00019a30();
  if (iVar1 != 0) {
    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {
      if (param_3 == 0x20) {
        putc(0x20,param_1);
        DAT_0008893c = DAT_0008893c + 1;
        FUN_00019a30();
        DAT_0008893c = DAT_0008893c + iVar1;
        return;
      }
    }
    else {
      fwrite(&DAT_0005d131,1,4,param_1);
      DAT_0008893c = 0;
      if (param_3 == 0x20) {
        FUN_00019a30();
        DAT_0008893c = DAT_0008893c + iVar1;
        return;
      }
    }
    FUN_00019a30();
    DAT_0008893c = DAT_0008893c + iVar1;
    if (param_3 == 0x3a) {
      putc(0x3a,param_1);
      DAT_0008893c = DAT_0008893c + 1;
      return;
    }
  }
  return;
}


PUSH EBP
MOV EBP,EAX
XOR EAX,EAX
PUSH EDI
MOV EDI,ECX
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x00016000
ADD EBX,0x6649f
SUB ESP,0x1c
CALL 0x00019a30
TEST EAX,EAX
JZ 0x00019bab
MOV ECX,EAX
MOV EAX,dword ptr [EBX + 0x893c]
TEST EAX,EAX
JZ 0x00019b8a
ADD EAX,ECX
CMP EAX,0x45
JG 0x00019c10
CMP EDI,0x20
JZ 0x00019bd8
MOV EDX,ESI
MOV EAX,EBP
MOV dword ptr [ESP + 0xc],ECX
CALL 0x00019a30
MOV ECX,dword ptr [ESP + 0xc]
ADD dword ptr [EBX + 0x893c],ECX
CMP EDI,0x3a
JZ 0x00019bb8
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
PUSH EBP
PUSH 0x3a
CALL 0x00014660
ADD ESP,0x10
ADD dword ptr [EBX + 0x893c],0x1
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0xc],ECX
SUB ESP,0x8
PUSH EBP
PUSH 0x20
CALL 0x00014660
MOV EDX,ESI
MOV EAX,EBP
ADD dword ptr [EBX + 0x893c],0x1
CALL 0x00019a30
MOV ECX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
ADD dword ptr [EBX + 0x893c],ECX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xfffdd131]
MOV dword ptr [ESP + 0xc],ECX
PUSH EBP
PUSH 0x4
PUSH 0x1
PUSH EAX
CALL 0x000142d0
ADD ESP,0x10
CMP EDI,0x20
MOV ECX,dword ptr [ESP + 0xc]
MOV dword ptr [EBX + 0x893c],0x0
JNZ 0x00019b8f
MOV EDX,ESI
MOV EAX,EBP
MOV dword ptr [ESP + 0xc],ECX
CALL 0x00019a30
MOV ECX,dword ptr [ESP + 0xc]
ADD dword ptr [EBX + 0x893c],ECX
JMP 0x00019bab
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00019b50(FILE *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00019a30();\n  if (iVar1 != 0) {\n    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    FUN_00019a30();\n    DAT_0008893c = DAT_0008893c + iVar1;\n    if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00019b50(FILE *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00019a30();\n  if (iVar1 != 0) {\n    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    FUN_00019a30();\n    DAT_0008893c = DAT_0008893c + iVar1;\n    if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00019b50(FILE *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(FILE *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00019a30();\n  if (iVar1 != 0) {\n    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    FUN_00019a30();\n    DAT_0008893c = DAT_0008893c + iVar1;\n    if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00019a30();" (assignment_expression "iVar1 = FUN_00019a30()" identifier = (call_expression "FUN_00019a30()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    FUN_00019a30();\n    DAT_0008893c = DAT_0008893c + iVar1;\n    if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    FUN_00019a30();\n    DAT_0008893c = DAT_0008893c + iVar1;\n    if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }\n  }" { (if_statement "if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }" if (parenthesized_expression "((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46))" ( (binary_expression "(DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)" (parenthesized_expression "(DAT_0008893c == 0)" ( (binary_expression "DAT_0008893c == 0" identifier == number_literal) )) || (parenthesized_expression "(DAT_0008893c + iVar1 < 0x46)" ( (binary_expression "DAT_0008893c + iVar1 < 0x46" (binary_expression "DAT_0008893c + iVar1" identifier + identifier) < number_literal) ))) )) (compound_statement "{\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }" { (if_statement "if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }" if (parenthesized_expression "(param_3 == 0x20)" ( (binary_expression "param_3 == 0x20" identifier == number_literal) )) (compound_statement "{\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }" { (expression_statement "putc(0x20,param_1);" (call_expression "putc(0x20,param_1)" identifier (argument_list "(0x20,param_1)" ( number_literal , identifier ))) ;) (expression_statement "DAT_0008893c = DAT_0008893c + 1;" (assignment_expression "DAT_0008893c = DAT_0008893c + 1" identifier = (binary_expression "DAT_0008893c + 1" identifier + number_literal)) ;) (expression_statement "FUN_00019a30();" (call_expression "FUN_00019a30()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_0008893c = DAT_0008893c + iVar1;" (assignment_expression "DAT_0008893c = DAT_0008893c + iVar1" identifier = (binary_expression "DAT_0008893c + iVar1" identifier + identifier)) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }" else (compound_statement "{\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }" { (expression_statement "fwrite(&DAT_0005d131,1,4,param_1);" (call_expression "fwrite(&DAT_0005d131,1,4,param_1)" identifier (argument_list "(&DAT_0005d131,1,4,param_1)" ( (pointer_expression "&DAT_0005d131" & identifier) , number_literal , number_literal , identifier ))) ;) (expression_statement "DAT_0008893c = 0;" (assignment_expression "DAT_0008893c = 0" identifier = number_literal) ;) (if_statement "if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }" if (parenthesized_expression "(param_3 == 0x20)" ( (binary_expression "param_3 == 0x20" identifier == number_literal) )) (compound_statement "{\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }" { (expression_statement "FUN_00019a30();" (call_expression "FUN_00019a30()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_0008893c = DAT_0008893c + iVar1;" (assignment_expression "DAT_0008893c = DAT_0008893c + iVar1" identifier = (binary_expression "DAT_0008893c + iVar1" identifier + identifier)) ;) (return_statement "return;" return ;) })) }))) (expression_statement "FUN_00019a30();" (call_expression "FUN_00019a30()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_0008893c = DAT_0008893c + iVar1;" (assignment_expression "DAT_0008893c = DAT_0008893c + iVar1" identifier = (binary_expression "DAT_0008893c + iVar1" identifier + identifier)) ;) (if_statement "if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }" if (parenthesized_expression "(param_3 == 0x3a)" ( (binary_expression "param_3 == 0x3a" identifier == number_literal) )) (compound_statement "{\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }" { (expression_statement "putc(0x3a,param_1);" (call_expression "putc(0x3a,param_1)" identifier (argument_list "(0x3a,param_1)" ( number_literal , identifier ))) ;) (expression_statement "DAT_0008893c = DAT_0008893c + 1;" (assignment_expression "DAT_0008893c = DAT_0008893c + 1" identifier = (binary_expression "DAT_0008893c + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 wrap_output(FILE *f,char *string,int spacer)\n\n{\n  int iVar1;\n  \n  iVar1 = quote_string_for_make((FILE *)0x0,string);\n  if (iVar1 != 0) {\n    if ((column == 0) || (column + iVar1 < 0x46)) {\n      if (spacer == 0x20) {\n        putc(0x20,(FILE *)f);\n        column = column + 1;\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,(FILE *)f);\n      column = 0;\n      if (spacer == 0x20) {\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }\n    quote_string_for_make(f,string);\n    column = column + iVar1;\n    if (spacer == 0x3a) {\n      putc(0x3a,(FILE *)f);\n      column = column + 1;\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 wrap_output(FILE *f,char *string,int spacer)\n\n{\n  int iVar1;\n  \n  iVar1 = quote_string_for_make((FILE *)0x0,string);\n  if (iVar1 != 0) {\n    if ((column == 0) || (column + iVar1 < 0x46)) {\n      if (spacer == 0x20) {\n        putc(0x20,(FILE *)f);\n        column = column + 1;\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,(FILE *)f);\n      column = 0;\n      if (spacer == 0x20) {\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }\n    quote_string_for_make(f,string);\n    column = column + iVar1;\n    if (spacer == 0x3a) {\n      putc(0x3a,(FILE *)f);\n      column = column + 1;\n      return;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "wrap_output(FILE *f,char *string,int spacer)" identifier (parameter_list "(FILE *f,char *string,int spacer)" ( (parameter_declaration "FILE *f" type_identifier (pointer_declarator "*f" * identifier)) , (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) , (parameter_declaration "int spacer" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = quote_string_for_make((FILE *)0x0,string);\n  if (iVar1 != 0) {\n    if ((column == 0) || (column + iVar1 < 0x46)) {\n      if (spacer == 0x20) {\n        putc(0x20,(FILE *)f);\n        column = column + 1;\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,(FILE *)f);\n      column = 0;\n      if (spacer == 0x20) {\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }\n    quote_string_for_make(f,string);\n    column = column + iVar1;\n    if (spacer == 0x3a) {\n      putc(0x3a,(FILE *)f);\n      column = column + 1;\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = quote_string_for_make((FILE *)0x0,string);" (assignment_expression "iVar1 = quote_string_for_make((FILE *)0x0,string)" identifier = (call_expression "quote_string_for_make((FILE *)0x0,string)" identifier (argument_list "((FILE *)0x0,string)" ( (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    if ((column == 0) || (column + iVar1 < 0x46)) {\n      if (spacer == 0x20) {\n        putc(0x20,(FILE *)f);\n        column = column + 1;\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,(FILE *)f);\n      column = 0;\n      if (spacer == 0x20) {\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }\n    quote_string_for_make(f,string);\n    column = column + iVar1;\n    if (spacer == 0x3a) {\n      putc(0x3a,(FILE *)f);\n      column = column + 1;\n      return;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((column == 0) || (column + iVar1 < 0x46)) {\n      if (spacer == 0x20) {\n        putc(0x20,(FILE *)f);\n        column = column + 1;\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,(FILE *)f);\n      column = 0;\n      if (spacer == 0x20) {\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }\n    quote_string_for_make(f,string);\n    column = column + iVar1;\n    if (spacer == 0x3a) {\n      putc(0x3a,(FILE *)f);\n      column = column + 1;\n      return;\n    }\n  }" { (if_statement "if ((column == 0) || (column + iVar1 < 0x46)) {\n      if (spacer == 0x20) {\n        putc(0x20,(FILE *)f);\n        column = column + 1;\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,(FILE *)f);\n      column = 0;\n      if (spacer == 0x20) {\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }" if (parenthesized_expression "((column == 0) || (column + iVar1 < 0x46))" ( (binary_expression "(column == 0) || (column + iVar1 < 0x46)" (parenthesized_expression "(column == 0)" ( (binary_expression "column == 0" identifier == number_literal) )) || (parenthesized_expression "(column + iVar1 < 0x46)" ( (binary_expression "column + iVar1 < 0x46" (binary_expression "column + iVar1" identifier + identifier) < number_literal) ))) )) (compound_statement "{\n      if (spacer == 0x20) {\n        putc(0x20,(FILE *)f);\n        column = column + 1;\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }" { (if_statement "if (spacer == 0x20) {\n        putc(0x20,(FILE *)f);\n        column = column + 1;\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }" if (parenthesized_expression "(spacer == 0x20)" ( (binary_expression "spacer == 0x20" identifier == number_literal) )) (compound_statement "{\n        putc(0x20,(FILE *)f);\n        column = column + 1;\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }" { (expression_statement "putc(0x20,(FILE *)f);" (call_expression "putc(0x20,(FILE *)f)" identifier (argument_list "(0x20,(FILE *)f)" ( number_literal , (cast_expression "(FILE *)f" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "column = column + 1;" (assignment_expression "column = column + 1" identifier = (binary_expression "column + 1" identifier + number_literal)) ;) (expression_statement "quote_string_for_make(f,string);" (call_expression "quote_string_for_make(f,string)" identifier (argument_list "(f,string)" ( identifier , identifier ))) ;) (expression_statement "column = column + iVar1;" (assignment_expression "column = column + iVar1" identifier = (binary_expression "column + iVar1" identifier + identifier)) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n      fwrite(&DAT_0005d131,1,4,(FILE *)f);\n      column = 0;\n      if (spacer == 0x20) {\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }" else (compound_statement "{\n      fwrite(&DAT_0005d131,1,4,(FILE *)f);\n      column = 0;\n      if (spacer == 0x20) {\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }\n    }" { (expression_statement "fwrite(&DAT_0005d131,1,4,(FILE *)f);" (call_expression "fwrite(&DAT_0005d131,1,4,(FILE *)f)" identifier (argument_list "(&DAT_0005d131,1,4,(FILE *)f)" ( (pointer_expression "&DAT_0005d131" & identifier) , number_literal , number_literal , (cast_expression "(FILE *)f" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "column = 0;" (assignment_expression "column = 0" identifier = number_literal) ;) (if_statement "if (spacer == 0x20) {\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }" if (parenthesized_expression "(spacer == 0x20)" ( (binary_expression "spacer == 0x20" identifier == number_literal) )) (compound_statement "{\n        quote_string_for_make(f,string);\n        column = column + iVar1;\n        return;\n      }" { (expression_statement "quote_string_for_make(f,string);" (call_expression "quote_string_for_make(f,string)" identifier (argument_list "(f,string)" ( identifier , identifier ))) ;) (expression_statement "column = column + iVar1;" (assignment_expression "column = column + iVar1" identifier = (binary_expression "column + iVar1" identifier + identifier)) ;) (return_statement "return;" return ;) })) }))) (expression_statement "quote_string_for_make(f,string);" (call_expression "quote_string_for_make(f,string)" identifier (argument_list "(f,string)" ( identifier , identifier ))) ;) (expression_statement "column = column + iVar1;" (assignment_expression "column = column + iVar1" identifier = (binary_expression "column + iVar1" identifier + identifier)) ;) (if_statement "if (spacer == 0x3a) {\n      putc(0x3a,(FILE *)f);\n      column = column + 1;\n      return;\n    }" if (parenthesized_expression "(spacer == 0x3a)" ( (binary_expression "spacer == 0x3a" identifier == number_literal) )) (compound_statement "{\n      putc(0x3a,(FILE *)f);\n      column = column + 1;\n      return;\n    }" { (expression_statement "putc(0x3a,(FILE *)f);" (call_expression "putc(0x3a,(FILE *)f)" identifier (argument_list "(0x3a,(FILE *)f)" ( number_literal , (cast_expression "(FILE *)f" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "column = column + 1;" (assignment_expression "column = column + 1" identifier = (binary_expression "column + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00019b50(FILE *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00019a30();\n  if (iVar1 != 0) {\n    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    FUN_00019a30();\n    DAT_0008893c = DAT_0008893c + iVar1;\n    if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00019b50(FILE *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00019a30();\n  if (iVar1 != 0) {\n    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    FUN_00019a30();\n    DAT_0008893c = DAT_0008893c + iVar1;\n    if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00019b50(FILE *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(FILE *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "FILE *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00019a30();\n  if (iVar1 != 0) {\n    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    FUN_00019a30();\n    DAT_0008893c = DAT_0008893c + iVar1;\n    if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00019a30();" (assignment_expression "iVar1 = FUN_00019a30()" identifier = (call_expression "FUN_00019a30()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    FUN_00019a30();\n    DAT_0008893c = DAT_0008893c + iVar1;\n    if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    FUN_00019a30();\n    DAT_0008893c = DAT_0008893c + iVar1;\n    if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }\n  }" { (if_statement "if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }" if (parenthesized_expression "((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46))" ( (binary_expression "(DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)" (parenthesized_expression "(DAT_0008893c == 0)" ( (binary_expression "DAT_0008893c == 0" identifier == number_literal) )) || (parenthesized_expression "(DAT_0008893c + iVar1 < 0x46)" ( (binary_expression "DAT_0008893c + iVar1 < 0x46" (binary_expression "DAT_0008893c + iVar1" identifier + identifier) < number_literal) ))) )) (compound_statement "{\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }" { (if_statement "if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }" if (parenthesized_expression "(param_3 == 0x20)" ( (binary_expression "param_3 == 0x20" identifier == number_literal) )) (compound_statement "{\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }" { (expression_statement "putc(0x20,param_1);" (call_expression "putc(0x20,param_1)" identifier (argument_list "(0x20,param_1)" ( number_literal , identifier ))) ;) (expression_statement "DAT_0008893c = DAT_0008893c + 1;" (assignment_expression "DAT_0008893c = DAT_0008893c + 1" identifier = (binary_expression "DAT_0008893c + 1" identifier + number_literal)) ;) (expression_statement "FUN_00019a30();" (call_expression "FUN_00019a30()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_0008893c = DAT_0008893c + iVar1;" (assignment_expression "DAT_0008893c = DAT_0008893c + iVar1" identifier = (binary_expression "DAT_0008893c + iVar1" identifier + identifier)) ;) (return_statement "return;" return ;) })) }) (else_clause "else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }" else (compound_statement "{\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }" { (expression_statement "fwrite(&DAT_0005d131,1,4,param_1);" (call_expression "fwrite(&DAT_0005d131,1,4,param_1)" identifier (argument_list "(&DAT_0005d131,1,4,param_1)" ( (pointer_expression "&DAT_0005d131" & identifier) , number_literal , number_literal , identifier ))) ;) (expression_statement "DAT_0008893c = 0;" (assignment_expression "DAT_0008893c = 0" identifier = number_literal) ;) (if_statement "if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }" if (parenthesized_expression "(param_3 == 0x20)" ( (binary_expression "param_3 == 0x20" identifier == number_literal) )) (compound_statement "{\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }" { (expression_statement "FUN_00019a30();" (call_expression "FUN_00019a30()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_0008893c = DAT_0008893c + iVar1;" (assignment_expression "DAT_0008893c = DAT_0008893c + iVar1" identifier = (binary_expression "DAT_0008893c + iVar1" identifier + identifier)) ;) (return_statement "return;" return ;) })) }))) (expression_statement "FUN_00019a30();" (call_expression "FUN_00019a30()" identifier (argument_list "()" ( ))) ;) (expression_statement "DAT_0008893c = DAT_0008893c + iVar1;" (assignment_expression "DAT_0008893c = DAT_0008893c + iVar1" identifier = (binary_expression "DAT_0008893c + iVar1" identifier + identifier)) ;) (if_statement "if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }" if (parenthesized_expression "(param_3 == 0x3a)" ( (binary_expression "param_3 == 0x3a" identifier == number_literal) )) (compound_statement "{\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }" { (expression_statement "putc(0x3a,param_1);" (call_expression "putc(0x3a,param_1)" identifier (argument_list "(0x3a,param_1)" ( number_literal , identifier ))) ;) (expression_statement "DAT_0008893c = DAT_0008893c + 1;" (assignment_expression "DAT_0008893c = DAT_0008893c + 1" identifier = (binary_expression "DAT_0008893c + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) < LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (return_statement return ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (return_statement return ;) })) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00019b50(FILE *param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00019a30();\n  if (iVar1 != 0) {\n    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    FUN_00019a30();\n    DAT_0008893c = DAT_0008893c + iVar1;\n    if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00019b50(FILE *param_1,undefined4 param_2,int param_3)" (identifier "FUN_00019b50") (parameter_list "(FILE *param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "FILE *param_1" (type_identifier "FILE") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00019a30();\n  if (iVar1 != 0) {\n    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    FUN_00019a30();\n    DAT_0008893c = DAT_0008893c + iVar1;\n    if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_00019a30();" (assignment_expression "iVar1 = FUN_00019a30()" (identifier "iVar1") (= "=") (call_expression "FUN_00019a30()" (identifier "FUN_00019a30") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    FUN_00019a30();\n    DAT_0008893c = DAT_0008893c + iVar1;\n    if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    FUN_00019a30();\n    DAT_0008893c = DAT_0008893c + iVar1;\n    if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }\n  }" ({ "{") (if_statement "if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }\n    else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }" (if "if") (parenthesized_expression "((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46))" (( "(") (binary_expression "(DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)" (parenthesized_expression "(DAT_0008893c == 0)" (( "(") (binary_expression "DAT_0008893c == 0" (identifier "DAT_0008893c") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(DAT_0008893c + iVar1 < 0x46)" (( "(") (binary_expression "DAT_0008893c + iVar1 < 0x46" (binary_expression "DAT_0008893c + iVar1" (identifier "DAT_0008893c") (+ "+") (identifier "iVar1")) (< "<") (number_literal "0x46")) () ")"))) () ")")) (compound_statement "{\n      if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }" ({ "{") (if_statement "if (param_3 == 0x20) {\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }" (if "if") (parenthesized_expression "(param_3 == 0x20)" (( "(") (binary_expression "param_3 == 0x20" (identifier "param_3") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n        putc(0x20,param_1);\n        DAT_0008893c = DAT_0008893c + 1;\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }" ({ "{") (expression_statement "putc(0x20,param_1);" (call_expression "putc(0x20,param_1)" (identifier "putc") (argument_list "(0x20,param_1)" (( "(") (number_literal "0x20") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "DAT_0008893c = DAT_0008893c + 1;" (assignment_expression "DAT_0008893c = DAT_0008893c + 1" (identifier "DAT_0008893c") (= "=") (binary_expression "DAT_0008893c + 1" (identifier "DAT_0008893c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_00019a30();" (call_expression "FUN_00019a30()" (identifier "FUN_00019a30") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "DAT_0008893c = DAT_0008893c + iVar1;" (assignment_expression "DAT_0008893c = DAT_0008893c + iVar1" (identifier "DAT_0008893c") (= "=") (binary_expression "DAT_0008893c + iVar1" (identifier "DAT_0008893c") (+ "+") (identifier "iVar1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }" (else "else") (compound_statement "{\n      fwrite(&DAT_0005d131,1,4,param_1);\n      DAT_0008893c = 0;\n      if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }\n    }" ({ "{") (expression_statement "fwrite(&DAT_0005d131,1,4,param_1);" (call_expression "fwrite(&DAT_0005d131,1,4,param_1)" (identifier "fwrite") (argument_list "(&DAT_0005d131,1,4,param_1)" (( "(") (pointer_expression "&DAT_0005d131" (& "&") (identifier "DAT_0005d131")) (, ",") (number_literal "1") (, ",") (number_literal "4") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "DAT_0008893c = 0;" (assignment_expression "DAT_0008893c = 0" (identifier "DAT_0008893c") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_3 == 0x20) {\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }" (if "if") (parenthesized_expression "(param_3 == 0x20)" (( "(") (binary_expression "param_3 == 0x20" (identifier "param_3") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n        FUN_00019a30();\n        DAT_0008893c = DAT_0008893c + iVar1;\n        return;\n      }" ({ "{") (expression_statement "FUN_00019a30();" (call_expression "FUN_00019a30()" (identifier "FUN_00019a30") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "DAT_0008893c = DAT_0008893c + iVar1;" (assignment_expression "DAT_0008893c = DAT_0008893c + iVar1" (identifier "DAT_0008893c") (= "=") (binary_expression "DAT_0008893c + iVar1" (identifier "DAT_0008893c") (+ "+") (identifier "iVar1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")))) (expression_statement "FUN_00019a30();" (call_expression "FUN_00019a30()" (identifier "FUN_00019a30") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "DAT_0008893c = DAT_0008893c + iVar1;" (assignment_expression "DAT_0008893c = DAT_0008893c + iVar1" (identifier "DAT_0008893c") (= "=") (binary_expression "DAT_0008893c + iVar1" (identifier "DAT_0008893c") (+ "+") (identifier "iVar1"))) (; ";")) (if_statement "if (param_3 == 0x3a) {\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }" (if "if") (parenthesized_expression "(param_3 == 0x3a)" (( "(") (binary_expression "param_3 == 0x3a" (identifier "param_3") (== "==") (number_literal "0x3a")) () ")")) (compound_statement "{\n      putc(0x3a,param_1);\n      DAT_0008893c = DAT_0008893c + 1;\n      return;\n    }" ({ "{") (expression_statement "putc(0x3a,param_1);" (call_expression "putc(0x3a,param_1)" (identifier "putc") (argument_list "(0x3a,param_1)" (( "(") (number_literal "0x3a") (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "DAT_0008893c = DAT_0008893c + 1;" (assignment_expression "DAT_0008893c = DAT_0008893c + 1" (identifier "DAT_0008893c") (= "=") (binary_expression "DAT_0008893c + 1" (identifier "DAT_0008893c") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *f,char *string,int var_4)

{
  int var_2;
  
  var_2 = var_1((type_1 *)0x0,string);
  if (var_2 != 0) {
    if ((var_3 == 0) || (var_3 + var_2 < 0x46)) {
      if (var_4 == 0x20) {
        var_5(0x20,(type_1 *)f);
        var_3 = var_3 + 1;
        var_1(f,string);
        var_3 = var_3 + var_2;
        return;
      }
    }
    else {
      var_6(&DAT_0005d131,1,4,(type_1 *)f);
      var_3 = 0;
      if (var_4 == 0x20) {
        var_1(f,string);
        var_3 = var_3 + var_2;
        return;
      }
    }
    var_1(f,string);
    var_3 = var_3 + var_2;
    if (var_4 == 0x3a) {
      var_5(0x3a,(type_1 *)f);
      var_3 = var_3 + 1;
      return;
    }
  }
  return;
}


(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))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (return_statement)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (return_statement)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement))))) (return_statement))))

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

void __regparm3 MASKED(FILE *param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  
  iVar1 = FUN_00019a30();
  if (iVar1 != 0) {
    if ((DAT_0008893c == 0) || (DAT_0008893c + iVar1 < 0x46)) {
      if (param_3 == 0x20) {
        putc(0x20,param_1);
        DAT_0008893c = DAT_0008893c + 1;
        FUN_00019a30();
        DAT_0008893c = DAT_0008893c + iVar1;
        return;
      }
    }
    else {
      fwrite(&DAT_0005d131,1,4,param_1);
      DAT_0008893c = 0;
      if (param_3 == 0x20) {
        FUN_00019a30();
        DAT_0008893c = DAT_0008893c + iVar1;
        return;
      }
    }
    FUN_00019a30();
    DAT_0008893c = DAT_0008893c + iVar1;
    if (param_3 == 0x3a) {
      putc(0x3a,param_1);
      DAT_0008893c = DAT_0008893c + 1;
      return;
    }
  }
  return;
}

