
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void print_sep_string(void)

{
  byte bVar1;
  undefined4 *puVar2;
  _IO_FILE *p_Var3;
  int iVar4;
  int iVar5;
  byte *pbVar6;
  byte *pbVar7;
  int unaff_EDI;
  int local_28;
  byte *local_24;
  
  __x86_get_pc_thunk_di();
  iVar5 = *(int *)(unaff_EDI + 0x15c41);
  if (*(int *)(unaff_EDI + 0x15bf1) < 1) {
    if (iVar5 < 1) {
      return;
    }
    print_white_space();
    return;
  }
  local_24 = *(byte **)(unaff_EDI + 0x15b41);
  local_28 = *(int *)(unaff_EDI + 0x15bf5);
  puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);
  do {
    pbVar6 = local_24;
    if (0 < local_28) {
      do {
        while( true ) {
          bVar1 = *pbVar6;
          pbVar7 = pbVar6 + 1;
          if (bVar1 != 0x20) break;
          iVar5 = iVar5 + 1;
          *(int *)(unaff_EDI + 0x15c41) = iVar5;
          pbVar6 = pbVar7;
          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;
        }
        if (0 < iVar5) {
          print_white_space();
          bVar1 = *pbVar6;
        }
        p_Var3 = (_IO_FILE *)*puVar2;
        pbVar6 = (byte *)p_Var3->_IO_write_ptr;
        if (pbVar6 < p_Var3->_IO_write_end) {
          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);
          *pbVar6 = bVar1;
        }
        else {
          __overflow(p_Var3,(uint)bVar1);
        }
        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;
        iVar5 = *(int *)(unaff_EDI + 0x15c41);
        pbVar6 = pbVar7;
      } while (local_24 + local_28 != pbVar7);
    }
LAB_000136d2:
    iVar4 = 0;
    if (-1 < local_28) {
      iVar4 = local_28;
    }
    local_24 = local_24 + iVar4;
    local_28 = (local_28 + -1) - iVar4;
    if (0 < iVar5) {
      print_white_space();
    }
    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;
    *(int *)(unaff_EDI + 0x15bf1) = iVar5;
    if (iVar5 < 1) {
      return;
    }
    iVar5 = *(int *)(unaff_EDI + 0x15c41);
  } while( true );
}



void FUN_00013620(void)

{
  byte bVar1;
  undefined4 *puVar2;
  _IO_FILE *p_Var3;
  int iVar4;
  int iVar5;
  byte *pbVar6;
  byte *pbVar7;
  int unaff_EDI;
  int local_28;
  byte *local_24;
  
  FUN_0001688c();
  iVar5 = *(int *)(unaff_EDI + 0x15c41);
  if (*(int *)(unaff_EDI + 0x15bf1) < 1) {
    if (iVar5 < 1) {
      return;
    }
    FUN_00013520();
    return;
  }
  local_24 = *(byte **)(unaff_EDI + 0x15b41);
  local_28 = *(int *)(unaff_EDI + 0x15bf5);
  puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);
  do {
    pbVar6 = local_24;
    if (0 < local_28) {
      do {
        while( true ) {
          bVar1 = *pbVar6;
          pbVar7 = pbVar6 + 1;
          if (bVar1 != 0x20) break;
          iVar5 = iVar5 + 1;
          *(int *)(unaff_EDI + 0x15c41) = iVar5;
          pbVar6 = pbVar7;
          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;
        }
        if (0 < iVar5) {
          FUN_00013520();
          bVar1 = *pbVar6;
        }
        p_Var3 = (_IO_FILE *)*puVar2;
        pbVar6 = (byte *)p_Var3->_IO_write_ptr;
        if (pbVar6 < p_Var3->_IO_write_end) {
          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);
          *pbVar6 = bVar1;
        }
        else {
          __overflow(p_Var3,(uint)bVar1);
        }
        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;
        iVar5 = *(int *)(unaff_EDI + 0x15c41);
        pbVar6 = pbVar7;
      } while (local_24 + local_28 != pbVar7);
    }
LAB_000136d2:
    iVar4 = 0;
    if (-1 < local_28) {
      iVar4 = local_28;
    }
    local_24 = local_24 + iVar4;
    local_28 = (local_28 + -1) - iVar4;
    if (0 < iVar5) {
      FUN_00013520();
    }
    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;
    *(int *)(unaff_EDI + 0x15bf1) = iVar5;
    if (iVar5 < 1) {
      return;
    }
    iVar5 = *(int *)(unaff_EDI + 0x15c41);
  } while( true );
}


PUSH EBP
PUSH EDI
CALL 0x0001688c
ADD EDI,0x159d9
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EAX,dword ptr [EDI + 0x218]
MOV EDX,dword ptr [EDI + 0x268]
TEST EAX,EAX
JLE 0x00013729
MOV EAX,dword ptr [EDI + 0x168]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [EDI + 0x21c]
MOV dword ptr [ESP + 0x4],EAX
MOV EAX,dword ptr [EDI + 0xffffffd8]
MOV dword ptr [ESP],EAX
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [ESP + 0x4]
MOV ESI,dword ptr [ESP + 0x8]
LEA EBX,[EAX + -0x1]
MOV EBP,ESI
MOV dword ptr [ESP + 0xc],EBX
ADD EBP,EAX
TEST EAX,EAX
JG 0x000136bb
JMP 0x000136d2
TEST EDX,EDX
JLE 0x00013695
CALL 0x00013520
MOVZX EAX,byte ptr [ESI + -0x1]
MOV EBX,dword ptr [ESP]
MOV EDX,dword ptr [EBX]
MOV ECX,dword ptr [EDX + 0x14]
CMP ECX,dword ptr [EDX + 0x18]
JNC 0x00013718
LEA EBX,[ECX + 0x1]
MOV dword ptr [EDX + 0x14],EBX
MOV byte ptr [ECX],AL
ADD dword ptr [EDI + 0x260],0x1
MOV EDX,dword ptr [EDI + 0x268]
CMP EBP,ESI
JZ 0x000136d2
MOVZX EAX,byte ptr [ESI]
ADD ESI,0x1
CMP AL,0x20
JNZ 0x00013688
ADD EDX,0x1
MOV dword ptr [EDI + 0x268],EDX
CMP EBP,ESI
JNZ 0x000136bb
MOV ECX,dword ptr [ESP + 0x4]
MOV EAX,0x0
MOV EBX,dword ptr [ESP + 0xc]
TEST ECX,ECX
CMOVNS EAX,ECX
ADD dword ptr [ESP + 0x8],EAX
SUB EBX,EAX
MOV dword ptr [ESP + 0x4],EBX
TEST EDX,EDX
JLE 0x000136f7
CALL 0x00013520
MOV EAX,dword ptr [EDI + 0x218]
SUB EAX,0x1
MOV dword ptr [EDI + 0x218],EAX
TEST EAX,EAX
JLE 0x0001372d
MOV EDX,dword ptr [EDI + 0x268]
JMP 0x00013668
SUB ESP,0x8
MOV EBX,EDI
PUSH EAX
PUSH EDX
CALL 0x00012380
ADD ESP,0x10
JMP 0x000136aa
TEST EDX,EDX
JG 0x00013735
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x00013520
(translation_unit "void FUN_00013620(void)\n\n{\n  byte bVar1;\n  undefined4 *puVar2;\n  _IO_FILE *p_Var3;\n  int iVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int local_28;\n  byte *local_24;\n  \n  FUN_0001688c();\n  iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    FUN_00013520();\n    return;\n  }\n  local_24 = *(byte **)(unaff_EDI + 0x15b41);\n  local_28 = *(int *)(unaff_EDI + 0x15bf5);\n  puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);\n  do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      FUN_00013520();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );\n}\n\n" (function_definition "void FUN_00013620(void)\n\n{\n  byte bVar1;\n  undefined4 *puVar2;\n  _IO_FILE *p_Var3;\n  int iVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int local_28;\n  byte *local_24;\n  \n  FUN_0001688c();\n  iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    FUN_00013520();\n    return;\n  }\n  local_24 = *(byte **)(unaff_EDI + 0x15b41);\n  local_28 = *(int *)(unaff_EDI + 0x15bf5);\n  puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);\n  do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      FUN_00013520();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );\n}" primitive_type (function_declarator "FUN_00013620(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte bVar1;\n  undefined4 *puVar2;\n  _IO_FILE *p_Var3;\n  int iVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int local_28;\n  byte *local_24;\n  \n  FUN_0001688c();\n  iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    FUN_00013520();\n    return;\n  }\n  local_24 = *(byte **)(unaff_EDI + 0x15b41);\n  local_28 = *(int *)(unaff_EDI + 0x15bf5);\n  puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);\n  do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      FUN_00013520();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "_IO_FILE *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "byte *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "FUN_0001688c();" (call_expression "FUN_0001688c()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15c41);" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15c41)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" * (cast_expression "(int *)(unaff_EDI + 0x15c41)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c41)" ( (binary_expression "unaff_EDI + 0x15c41" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    FUN_00013520();\n    return;\n  }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x15bf1) < 1)" ( (binary_expression "*(int *)(unaff_EDI + 0x15bf1) < 1" (pointer_expression "*(int *)(unaff_EDI + 0x15bf1)" * (cast_expression "(int *)(unaff_EDI + 0x15bf1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15bf1)" ( (binary_expression "unaff_EDI + 0x15bf1" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    if (iVar5 < 1) {\n      return;\n    }\n    FUN_00013520();\n    return;\n  }" { (if_statement "if (iVar5 < 1) {\n      return;\n    }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "FUN_00013520();" (call_expression "FUN_00013520()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "local_24 = *(byte **)(unaff_EDI + 0x15b41);" (assignment_expression "local_24 = *(byte **)(unaff_EDI + 0x15b41)" identifier = (pointer_expression "*(byte **)(unaff_EDI + 0x15b41)" * (cast_expression "(byte **)(unaff_EDI + 0x15b41)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x15b41)" ( (binary_expression "unaff_EDI + 0x15b41" identifier + number_literal) ))))) ;) (expression_statement "local_28 = *(int *)(unaff_EDI + 0x15bf5);" (assignment_expression "local_28 = *(int *)(unaff_EDI + 0x15bf5)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x15bf5)" * (cast_expression "(int *)(unaff_EDI + 0x15bf5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15bf5)" ( (binary_expression "unaff_EDI + 0x15bf5" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);" (assignment_expression "puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1)" identifier = (pointer_expression "*(undefined4 **)(unaff_EDI + 0x159b1)" * (cast_expression "(undefined4 **)(unaff_EDI + 0x159b1)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x159b1)" ( (binary_expression "unaff_EDI + 0x159b1" identifier + number_literal) ))))) ;) (do_statement "do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      FUN_00013520();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );" do (compound_statement "{\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      FUN_00013520();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  }" { (expression_statement "pbVar6 = local_24;" (assignment_expression "pbVar6 = local_24" identifier = identifier) ;) (if_statement "if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }" if (parenthesized_expression "(0 < local_28)" ( (binary_expression "0 < local_28" number_literal < identifier) )) (compound_statement "{\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }" { (do_statement "do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);" do (compound_statement "{\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      }" { (while_statement "while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }" { (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) (expression_statement "pbVar7 = pbVar6 + 1;" (assignment_expression "pbVar7 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1 != 0x20) break;" if (parenthesized_expression "(bVar1 != 0x20)" ( (binary_expression "bVar1 != 0x20" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(unaff_EDI + 0x15c41) = iVar5;" (assignment_expression "*(int *)(unaff_EDI + 0x15c41) = iVar5" (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" * (cast_expression "(int *)(unaff_EDI + 0x15c41)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c41)" ( (binary_expression "unaff_EDI + 0x15c41" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = pbVar7;" (assignment_expression "pbVar6 = pbVar7" identifier = identifier) ;) (if_statement "if (local_24 + local_28 == pbVar7) goto LAB_000136d2;" if (parenthesized_expression "(local_24 + local_28 == pbVar7)" ( (binary_expression "local_24 + local_28 == pbVar7" (binary_expression "local_24 + local_28" identifier + identifier) == identifier) )) (goto_statement "goto LAB_000136d2;" goto statement_identifier ;)) })) (if_statement "if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }" { (expression_statement "FUN_00013520();" (call_expression "FUN_00013520()" identifier (argument_list "()" ( ))) ;) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) })) (expression_statement "p_Var3 = (_IO_FILE *)*puVar2;" (assignment_expression "p_Var3 = (_IO_FILE *)*puVar2" identifier = (cast_expression "(_IO_FILE *)*puVar2" ( (type_descriptor "_IO_FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "pbVar6 = (byte *)p_Var3->_IO_write_ptr;" (assignment_expression "pbVar6 = (byte *)p_Var3->_IO_write_ptr" identifier = (cast_expression "(byte *)p_Var3->_IO_write_ptr" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var3->_IO_write_ptr" identifier -> field_identifier))) ;) (if_statement "if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }" if (parenthesized_expression "(pbVar6 < p_Var3->_IO_write_end)" ( (binary_expression "pbVar6 < p_Var3->_IO_write_end" identifier < (field_expression "p_Var3->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }" { (expression_statement "p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);" (assignment_expression "p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1)" (field_expression "p_Var3->_IO_write_ptr" identifier -> field_identifier) = (cast_expression "(char *)(pbVar6 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar6 + 1)" ( (binary_expression "pbVar6 + 1" identifier + number_literal) )))) ;) (expression_statement "*pbVar6 = bVar1;" (assignment_expression "*pbVar6 = bVar1" (pointer_expression "*pbVar6" * identifier) = identifier) ;) }) (else_clause "else {\n          __overflow(p_Var3,(uint)bVar1);\n        }" else (compound_statement "{\n          __overflow(p_Var3,(uint)bVar1);\n        }" { (expression_statement "__overflow(p_Var3,(uint)bVar1);" (call_expression "__overflow(p_Var3,(uint)bVar1)" identifier (argument_list "(p_Var3,(uint)bVar1)" ( identifier , (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) }))) (expression_statement "*(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;" (assignment_expression "*(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1" (pointer_expression "*(int *)(unaff_EDI + 0x15c39)" * (cast_expression "(int *)(unaff_EDI + 0x15c39)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c39)" ( (binary_expression "unaff_EDI + 0x15c39" identifier + number_literal) )))) = (binary_expression "*(int *)(unaff_EDI + 0x15c39) + 1" (pointer_expression "*(int *)(unaff_EDI + 0x15c39)" * (cast_expression "(int *)(unaff_EDI + 0x15c39)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c39)" ( (binary_expression "unaff_EDI + 0x15c39" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15c41);" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15c41)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" * (cast_expression "(int *)(unaff_EDI + 0x15c41)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c41)" ( (binary_expression "unaff_EDI + 0x15c41" identifier + number_literal) ))))) ;) (expression_statement "pbVar6 = pbVar7;" (assignment_expression "pbVar6 = pbVar7" identifier = identifier) ;) }) while (parenthesized_expression "(local_24 + local_28 != pbVar7)" ( (binary_expression "local_24 + local_28 != pbVar7" (binary_expression "local_24 + local_28" identifier + identifier) != identifier) )) ;) })) (labeled_statement "LAB_000136d2:\n    iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) (if_statement "if (-1 < local_28) {\n      iVar4 = local_28;\n    }" if (parenthesized_expression "(-1 < local_28)" ( (binary_expression "-1 < local_28" number_literal < identifier) )) (compound_statement "{\n      iVar4 = local_28;\n    }" { (expression_statement "iVar4 = local_28;" (assignment_expression "iVar4 = local_28" identifier = identifier) ;) })) (expression_statement "local_24 = local_24 + iVar4;" (assignment_expression "local_24 = local_24 + iVar4" identifier = (binary_expression "local_24 + iVar4" identifier + identifier)) ;) (expression_statement "local_28 = (local_28 + -1) - iVar4;" (assignment_expression "local_28 = (local_28 + -1) - iVar4" identifier = (binary_expression "(local_28 + -1) - iVar4" (parenthesized_expression "(local_28 + -1)" ( (binary_expression "local_28 + -1" identifier + number_literal) )) - identifier)) ;) (if_statement "if (0 < iVar5) {\n      FUN_00013520();\n    }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n      FUN_00013520();\n    }" { (expression_statement "FUN_00013520();" (call_expression "FUN_00013520()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1" identifier = (binary_expression "*(int *)(unaff_EDI + 0x15bf1) + -1" (pointer_expression "*(int *)(unaff_EDI + 0x15bf1)" * (cast_expression "(int *)(unaff_EDI + 0x15bf1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15bf1)" ( (binary_expression "unaff_EDI + 0x15bf1" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(unaff_EDI + 0x15bf1) = iVar5;" (assignment_expression "*(int *)(unaff_EDI + 0x15bf1) = iVar5" (pointer_expression "*(int *)(unaff_EDI + 0x15bf1)" * (cast_expression "(int *)(unaff_EDI + 0x15bf1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15bf1)" ( (binary_expression "unaff_EDI + 0x15bf1" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar5 < 1) {\n      return;\n    }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15c41);" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15c41)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" * (cast_expression "(int *)(unaff_EDI + 0x15c41)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c41)" ( (binary_expression "unaff_EDI + 0x15c41" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid print_sep_string(void)\n\n{\n  byte bVar1;\n  undefined4 *puVar2;\n  _IO_FILE *p_Var3;\n  int iVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int local_28;\n  byte *local_24;\n  \n  __x86_get_pc_thunk_di();\n  iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    print_white_space();\n    return;\n  }\n  local_24 = *(byte **)(unaff_EDI + 0x15b41);\n  local_28 = *(int *)(unaff_EDI + 0x15bf5);\n  puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);\n  do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          print_white_space();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      print_white_space();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );\n}\n\n" comment (function_definition "void print_sep_string(void)\n\n{\n  byte bVar1;\n  undefined4 *puVar2;\n  _IO_FILE *p_Var3;\n  int iVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int local_28;\n  byte *local_24;\n  \n  __x86_get_pc_thunk_di();\n  iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    print_white_space();\n    return;\n  }\n  local_24 = *(byte **)(unaff_EDI + 0x15b41);\n  local_28 = *(int *)(unaff_EDI + 0x15bf5);\n  puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);\n  do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          print_white_space();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      print_white_space();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );\n}" primitive_type (function_declarator "print_sep_string(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte bVar1;\n  undefined4 *puVar2;\n  _IO_FILE *p_Var3;\n  int iVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int local_28;\n  byte *local_24;\n  \n  __x86_get_pc_thunk_di();\n  iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    print_white_space();\n    return;\n  }\n  local_24 = *(byte **)(unaff_EDI + 0x15b41);\n  local_28 = *(int *)(unaff_EDI + 0x15bf5);\n  puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);\n  do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          print_white_space();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      print_white_space();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "_IO_FILE *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "byte *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15c41);" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15c41)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" * (cast_expression "(int *)(unaff_EDI + 0x15c41)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c41)" ( (binary_expression "unaff_EDI + 0x15c41" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    print_white_space();\n    return;\n  }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x15bf1) < 1)" ( (binary_expression "*(int *)(unaff_EDI + 0x15bf1) < 1" (pointer_expression "*(int *)(unaff_EDI + 0x15bf1)" * (cast_expression "(int *)(unaff_EDI + 0x15bf1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15bf1)" ( (binary_expression "unaff_EDI + 0x15bf1" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    if (iVar5 < 1) {\n      return;\n    }\n    print_white_space();\n    return;\n  }" { (if_statement "if (iVar5 < 1) {\n      return;\n    }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "print_white_space();" (call_expression "print_white_space()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "local_24 = *(byte **)(unaff_EDI + 0x15b41);" (assignment_expression "local_24 = *(byte **)(unaff_EDI + 0x15b41)" identifier = (pointer_expression "*(byte **)(unaff_EDI + 0x15b41)" * (cast_expression "(byte **)(unaff_EDI + 0x15b41)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x15b41)" ( (binary_expression "unaff_EDI + 0x15b41" identifier + number_literal) ))))) ;) (expression_statement "local_28 = *(int *)(unaff_EDI + 0x15bf5);" (assignment_expression "local_28 = *(int *)(unaff_EDI + 0x15bf5)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x15bf5)" * (cast_expression "(int *)(unaff_EDI + 0x15bf5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15bf5)" ( (binary_expression "unaff_EDI + 0x15bf5" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);" (assignment_expression "puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1)" identifier = (pointer_expression "*(undefined4 **)(unaff_EDI + 0x159b1)" * (cast_expression "(undefined4 **)(unaff_EDI + 0x159b1)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x159b1)" ( (binary_expression "unaff_EDI + 0x159b1" identifier + number_literal) ))))) ;) (do_statement "do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          print_white_space();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      print_white_space();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );" do (compound_statement "{\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          print_white_space();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      print_white_space();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  }" { (expression_statement "pbVar6 = local_24;" (assignment_expression "pbVar6 = local_24" identifier = identifier) ;) (if_statement "if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          print_white_space();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }" if (parenthesized_expression "(0 < local_28)" ( (binary_expression "0 < local_28" number_literal < identifier) )) (compound_statement "{\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          print_white_space();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }" { (do_statement "do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          print_white_space();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);" do (compound_statement "{\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          print_white_space();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      }" { (while_statement "while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }" { (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) (expression_statement "pbVar7 = pbVar6 + 1;" (assignment_expression "pbVar7 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1 != 0x20) break;" if (parenthesized_expression "(bVar1 != 0x20)" ( (binary_expression "bVar1 != 0x20" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(unaff_EDI + 0x15c41) = iVar5;" (assignment_expression "*(int *)(unaff_EDI + 0x15c41) = iVar5" (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" * (cast_expression "(int *)(unaff_EDI + 0x15c41)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c41)" ( (binary_expression "unaff_EDI + 0x15c41" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = pbVar7;" (assignment_expression "pbVar6 = pbVar7" identifier = identifier) ;) (if_statement "if (local_24 + local_28 == pbVar7) goto LAB_000136d2;" if (parenthesized_expression "(local_24 + local_28 == pbVar7)" ( (binary_expression "local_24 + local_28 == pbVar7" (binary_expression "local_24 + local_28" identifier + identifier) == identifier) )) (goto_statement "goto LAB_000136d2;" goto statement_identifier ;)) })) (if_statement "if (0 < iVar5) {\n          print_white_space();\n          bVar1 = *pbVar6;\n        }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n          print_white_space();\n          bVar1 = *pbVar6;\n        }" { (expression_statement "print_white_space();" (call_expression "print_white_space()" identifier (argument_list "()" ( ))) ;) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) })) (expression_statement "p_Var3 = (_IO_FILE *)*puVar2;" (assignment_expression "p_Var3 = (_IO_FILE *)*puVar2" identifier = (cast_expression "(_IO_FILE *)*puVar2" ( (type_descriptor "_IO_FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "pbVar6 = (byte *)p_Var3->_IO_write_ptr;" (assignment_expression "pbVar6 = (byte *)p_Var3->_IO_write_ptr" identifier = (cast_expression "(byte *)p_Var3->_IO_write_ptr" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var3->_IO_write_ptr" identifier -> field_identifier))) ;) (if_statement "if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }" if (parenthesized_expression "(pbVar6 < p_Var3->_IO_write_end)" ( (binary_expression "pbVar6 < p_Var3->_IO_write_end" identifier < (field_expression "p_Var3->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }" { (expression_statement "p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);" (assignment_expression "p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1)" (field_expression "p_Var3->_IO_write_ptr" identifier -> field_identifier) = (cast_expression "(char *)(pbVar6 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar6 + 1)" ( (binary_expression "pbVar6 + 1" identifier + number_literal) )))) ;) (expression_statement "*pbVar6 = bVar1;" (assignment_expression "*pbVar6 = bVar1" (pointer_expression "*pbVar6" * identifier) = identifier) ;) }) (else_clause "else {\n          __overflow(p_Var3,(uint)bVar1);\n        }" else (compound_statement "{\n          __overflow(p_Var3,(uint)bVar1);\n        }" { (expression_statement "__overflow(p_Var3,(uint)bVar1);" (call_expression "__overflow(p_Var3,(uint)bVar1)" identifier (argument_list "(p_Var3,(uint)bVar1)" ( identifier , (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) }))) (expression_statement "*(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;" (assignment_expression "*(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1" (pointer_expression "*(int *)(unaff_EDI + 0x15c39)" * (cast_expression "(int *)(unaff_EDI + 0x15c39)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c39)" ( (binary_expression "unaff_EDI + 0x15c39" identifier + number_literal) )))) = (binary_expression "*(int *)(unaff_EDI + 0x15c39) + 1" (pointer_expression "*(int *)(unaff_EDI + 0x15c39)" * (cast_expression "(int *)(unaff_EDI + 0x15c39)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c39)" ( (binary_expression "unaff_EDI + 0x15c39" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15c41);" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15c41)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" * (cast_expression "(int *)(unaff_EDI + 0x15c41)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c41)" ( (binary_expression "unaff_EDI + 0x15c41" identifier + number_literal) ))))) ;) (expression_statement "pbVar6 = pbVar7;" (assignment_expression "pbVar6 = pbVar7" identifier = identifier) ;) }) while (parenthesized_expression "(local_24 + local_28 != pbVar7)" ( (binary_expression "local_24 + local_28 != pbVar7" (binary_expression "local_24 + local_28" identifier + identifier) != identifier) )) ;) })) (labeled_statement "LAB_000136d2:\n    iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) (if_statement "if (-1 < local_28) {\n      iVar4 = local_28;\n    }" if (parenthesized_expression "(-1 < local_28)" ( (binary_expression "-1 < local_28" number_literal < identifier) )) (compound_statement "{\n      iVar4 = local_28;\n    }" { (expression_statement "iVar4 = local_28;" (assignment_expression "iVar4 = local_28" identifier = identifier) ;) })) (expression_statement "local_24 = local_24 + iVar4;" (assignment_expression "local_24 = local_24 + iVar4" identifier = (binary_expression "local_24 + iVar4" identifier + identifier)) ;) (expression_statement "local_28 = (local_28 + -1) - iVar4;" (assignment_expression "local_28 = (local_28 + -1) - iVar4" identifier = (binary_expression "(local_28 + -1) - iVar4" (parenthesized_expression "(local_28 + -1)" ( (binary_expression "local_28 + -1" identifier + number_literal) )) - identifier)) ;) (if_statement "if (0 < iVar5) {\n      print_white_space();\n    }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n      print_white_space();\n    }" { (expression_statement "print_white_space();" (call_expression "print_white_space()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1" identifier = (binary_expression "*(int *)(unaff_EDI + 0x15bf1) + -1" (pointer_expression "*(int *)(unaff_EDI + 0x15bf1)" * (cast_expression "(int *)(unaff_EDI + 0x15bf1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15bf1)" ( (binary_expression "unaff_EDI + 0x15bf1" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(unaff_EDI + 0x15bf1) = iVar5;" (assignment_expression "*(int *)(unaff_EDI + 0x15bf1) = iVar5" (pointer_expression "*(int *)(unaff_EDI + 0x15bf1)" * (cast_expression "(int *)(unaff_EDI + 0x15bf1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15bf1)" ( (binary_expression "unaff_EDI + 0x15bf1" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar5 < 1) {\n      return;\n    }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15c41);" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15c41)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" * (cast_expression "(int *)(unaff_EDI + 0x15c41)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c41)" ( (binary_expression "unaff_EDI + 0x15c41" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_00013620(void)\n\n{\n  byte bVar1;\n  undefined4 *puVar2;\n  _IO_FILE *p_Var3;\n  int iVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int local_28;\n  byte *local_24;\n  \n  FUN_0001688c();\n  iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    FUN_00013520();\n    return;\n  }\n  local_24 = *(byte **)(unaff_EDI + 0x15b41);\n  local_28 = *(int *)(unaff_EDI + 0x15bf5);\n  puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);\n  do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      FUN_00013520();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );\n}\n\n" (function_definition "void FUN_00013620(void)\n\n{\n  byte bVar1;\n  undefined4 *puVar2;\n  _IO_FILE *p_Var3;\n  int iVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int local_28;\n  byte *local_24;\n  \n  FUN_0001688c();\n  iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    FUN_00013520();\n    return;\n  }\n  local_24 = *(byte **)(unaff_EDI + 0x15b41);\n  local_28 = *(int *)(unaff_EDI + 0x15bf5);\n  puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);\n  do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      FUN_00013520();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );\n}" primitive_type (function_declarator "FUN_00013620(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte bVar1;\n  undefined4 *puVar2;\n  _IO_FILE *p_Var3;\n  int iVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int local_28;\n  byte *local_24;\n  \n  FUN_0001688c();\n  iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    FUN_00013520();\n    return;\n  }\n  local_24 = *(byte **)(unaff_EDI + 0x15b41);\n  local_28 = *(int *)(unaff_EDI + 0x15bf5);\n  puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);\n  do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      FUN_00013520();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "_IO_FILE *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "byte *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "FUN_0001688c();" (call_expression "FUN_0001688c()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15c41);" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15c41)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" * (cast_expression "(int *)(unaff_EDI + 0x15c41)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c41)" ( (binary_expression "unaff_EDI + 0x15c41" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    FUN_00013520();\n    return;\n  }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x15bf1) < 1)" ( (binary_expression "*(int *)(unaff_EDI + 0x15bf1) < 1" (pointer_expression "*(int *)(unaff_EDI + 0x15bf1)" * (cast_expression "(int *)(unaff_EDI + 0x15bf1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15bf1)" ( (binary_expression "unaff_EDI + 0x15bf1" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n    if (iVar5 < 1) {\n      return;\n    }\n    FUN_00013520();\n    return;\n  }" { (if_statement "if (iVar5 < 1) {\n      return;\n    }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "FUN_00013520();" (call_expression "FUN_00013520()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "local_24 = *(byte **)(unaff_EDI + 0x15b41);" (assignment_expression "local_24 = *(byte **)(unaff_EDI + 0x15b41)" identifier = (pointer_expression "*(byte **)(unaff_EDI + 0x15b41)" * (cast_expression "(byte **)(unaff_EDI + 0x15b41)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x15b41)" ( (binary_expression "unaff_EDI + 0x15b41" identifier + number_literal) ))))) ;) (expression_statement "local_28 = *(int *)(unaff_EDI + 0x15bf5);" (assignment_expression "local_28 = *(int *)(unaff_EDI + 0x15bf5)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x15bf5)" * (cast_expression "(int *)(unaff_EDI + 0x15bf5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15bf5)" ( (binary_expression "unaff_EDI + 0x15bf5" identifier + number_literal) ))))) ;) (expression_statement "puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);" (assignment_expression "puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1)" identifier = (pointer_expression "*(undefined4 **)(unaff_EDI + 0x159b1)" * (cast_expression "(undefined4 **)(unaff_EDI + 0x159b1)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x159b1)" ( (binary_expression "unaff_EDI + 0x159b1" identifier + number_literal) ))))) ;) (do_statement "do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      FUN_00013520();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );" do (compound_statement "{\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      FUN_00013520();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  }" { (expression_statement "pbVar6 = local_24;" (assignment_expression "pbVar6 = local_24" identifier = identifier) ;) (if_statement "if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }" if (parenthesized_expression "(0 < local_28)" ( (binary_expression "0 < local_28" number_literal < identifier) )) (compound_statement "{\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }" { (do_statement "do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);" do (compound_statement "{\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      }" { (while_statement "while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }" { (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) (expression_statement "pbVar7 = pbVar6 + 1;" (assignment_expression "pbVar7 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1 != 0x20) break;" if (parenthesized_expression "(bVar1 != 0x20)" ( (binary_expression "bVar1 != 0x20" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(unaff_EDI + 0x15c41) = iVar5;" (assignment_expression "*(int *)(unaff_EDI + 0x15c41) = iVar5" (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" * (cast_expression "(int *)(unaff_EDI + 0x15c41)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c41)" ( (binary_expression "unaff_EDI + 0x15c41" identifier + number_literal) )))) = identifier) ;) (expression_statement "pbVar6 = pbVar7;" (assignment_expression "pbVar6 = pbVar7" identifier = identifier) ;) (if_statement "if (local_24 + local_28 == pbVar7) goto LAB_000136d2;" if (parenthesized_expression "(local_24 + local_28 == pbVar7)" ( (binary_expression "local_24 + local_28 == pbVar7" (binary_expression "local_24 + local_28" identifier + identifier) == identifier) )) (goto_statement "goto LAB_000136d2;" goto statement_identifier ;)) })) (if_statement "if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }" { (expression_statement "FUN_00013520();" (call_expression "FUN_00013520()" identifier (argument_list "()" ( ))) ;) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" identifier = (pointer_expression "*pbVar6" * identifier)) ;) })) (expression_statement "p_Var3 = (_IO_FILE *)*puVar2;" (assignment_expression "p_Var3 = (_IO_FILE *)*puVar2" identifier = (cast_expression "(_IO_FILE *)*puVar2" ( (type_descriptor "_IO_FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "pbVar6 = (byte *)p_Var3->_IO_write_ptr;" (assignment_expression "pbVar6 = (byte *)p_Var3->_IO_write_ptr" identifier = (cast_expression "(byte *)p_Var3->_IO_write_ptr" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var3->_IO_write_ptr" identifier -> field_identifier))) ;) (if_statement "if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }" if (parenthesized_expression "(pbVar6 < p_Var3->_IO_write_end)" ( (binary_expression "pbVar6 < p_Var3->_IO_write_end" identifier < (field_expression "p_Var3->_IO_write_end" identifier -> field_identifier)) )) (compound_statement "{\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }" { (expression_statement "p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);" (assignment_expression "p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1)" (field_expression "p_Var3->_IO_write_ptr" identifier -> field_identifier) = (cast_expression "(char *)(pbVar6 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar6 + 1)" ( (binary_expression "pbVar6 + 1" identifier + number_literal) )))) ;) (expression_statement "*pbVar6 = bVar1;" (assignment_expression "*pbVar6 = bVar1" (pointer_expression "*pbVar6" * identifier) = identifier) ;) }) (else_clause "else {\n          __overflow(p_Var3,(uint)bVar1);\n        }" else (compound_statement "{\n          __overflow(p_Var3,(uint)bVar1);\n        }" { (expression_statement "__overflow(p_Var3,(uint)bVar1);" (call_expression "__overflow(p_Var3,(uint)bVar1)" identifier (argument_list "(p_Var3,(uint)bVar1)" ( identifier , (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) }))) (expression_statement "*(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;" (assignment_expression "*(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1" (pointer_expression "*(int *)(unaff_EDI + 0x15c39)" * (cast_expression "(int *)(unaff_EDI + 0x15c39)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c39)" ( (binary_expression "unaff_EDI + 0x15c39" identifier + number_literal) )))) = (binary_expression "*(int *)(unaff_EDI + 0x15c39) + 1" (pointer_expression "*(int *)(unaff_EDI + 0x15c39)" * (cast_expression "(int *)(unaff_EDI + 0x15c39)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c39)" ( (binary_expression "unaff_EDI + 0x15c39" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15c41);" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15c41)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" * (cast_expression "(int *)(unaff_EDI + 0x15c41)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c41)" ( (binary_expression "unaff_EDI + 0x15c41" identifier + number_literal) ))))) ;) (expression_statement "pbVar6 = pbVar7;" (assignment_expression "pbVar6 = pbVar7" identifier = identifier) ;) }) while (parenthesized_expression "(local_24 + local_28 != pbVar7)" ( (binary_expression "local_24 + local_28 != pbVar7" (binary_expression "local_24 + local_28" identifier + identifier) != identifier) )) ;) })) (labeled_statement "LAB_000136d2:\n    iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) (if_statement "if (-1 < local_28) {\n      iVar4 = local_28;\n    }" if (parenthesized_expression "(-1 < local_28)" ( (binary_expression "-1 < local_28" number_literal < identifier) )) (compound_statement "{\n      iVar4 = local_28;\n    }" { (expression_statement "iVar4 = local_28;" (assignment_expression "iVar4 = local_28" identifier = identifier) ;) })) (expression_statement "local_24 = local_24 + iVar4;" (assignment_expression "local_24 = local_24 + iVar4" identifier = (binary_expression "local_24 + iVar4" identifier + identifier)) ;) (expression_statement "local_28 = (local_28 + -1) - iVar4;" (assignment_expression "local_28 = (local_28 + -1) - iVar4" identifier = (binary_expression "(local_28 + -1) - iVar4" (parenthesized_expression "(local_28 + -1)" ( (binary_expression "local_28 + -1" identifier + number_literal) )) - identifier)) ;) (if_statement "if (0 < iVar5) {\n      FUN_00013520();\n    }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n      FUN_00013520();\n    }" { (expression_statement "FUN_00013520();" (call_expression "FUN_00013520()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1" identifier = (binary_expression "*(int *)(unaff_EDI + 0x15bf1) + -1" (pointer_expression "*(int *)(unaff_EDI + 0x15bf1)" * (cast_expression "(int *)(unaff_EDI + 0x15bf1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15bf1)" ( (binary_expression "unaff_EDI + 0x15bf1" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(unaff_EDI + 0x15bf1) = iVar5;" (assignment_expression "*(int *)(unaff_EDI + 0x15bf1) = iVar5" (pointer_expression "*(int *)(unaff_EDI + 0x15bf1)" * (cast_expression "(int *)(unaff_EDI + 0x15bf1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15bf1)" ( (binary_expression "unaff_EDI + 0x15bf1" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar5 < 1) {\n      return;\n    }" if (parenthesized_expression "(iVar5 < 1)" ( (binary_expression "iVar5 < 1" identifier < number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15c41);" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15c41)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" * (cast_expression "(int *)(unaff_EDI + 0x15c41)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x15c41)" ( (binary_expression "unaff_EDI + 0x15c41" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) == IDENT) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (field_expression IDENT -> field_identifier))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (field_expression IDENT -> field_identifier)) )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT -> field_identifier) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) != IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_00013620(void)\n\n{\n  byte bVar1;\n  undefined4 *puVar2;\n  _IO_FILE *p_Var3;\n  int iVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int local_28;\n  byte *local_24;\n  \n  FUN_0001688c();\n  iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    FUN_00013520();\n    return;\n  }\n  local_24 = *(byte **)(unaff_EDI + 0x15b41);\n  local_28 = *(int *)(unaff_EDI + 0x15bf5);\n  puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);\n  do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      FUN_00013520();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_00013620(void)" (identifier "FUN_00013620") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined4 *puVar2;\n  _IO_FILE *p_Var3;\n  int iVar4;\n  int iVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  int unaff_EDI;\n  int local_28;\n  byte *local_24;\n  \n  FUN_0001688c();\n  iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    FUN_00013520();\n    return;\n  }\n  local_24 = *(byte **)(unaff_EDI + 0x15b41);\n  local_28 = *(int *)(unaff_EDI + 0x15bf5);\n  puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);\n  do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      FUN_00013520();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "_IO_FILE *p_Var3;" (type_identifier "_IO_FILE") (pointer_declarator "*p_Var3" (* "*") (identifier "p_Var3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "byte *local_24;" (type_identifier "byte") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (expression_statement "FUN_0001688c();" (call_expression "FUN_0001688c()" (identifier "FUN_0001688c") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15c41);" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15c41)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x15c41)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x15c41)" (( "(") (binary_expression "unaff_EDI + 0x15c41" (identifier "unaff_EDI") (+ "+") (number_literal "0x15c41")) () ")"))))) (; ";")) (if_statement "if (*(int *)(unaff_EDI + 0x15bf1) < 1) {\n    if (iVar5 < 1) {\n      return;\n    }\n    FUN_00013520();\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(unaff_EDI + 0x15bf1) < 1)" (( "(") (binary_expression "*(int *)(unaff_EDI + 0x15bf1) < 1" (pointer_expression "*(int *)(unaff_EDI + 0x15bf1)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x15bf1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x15bf1)" (( "(") (binary_expression "unaff_EDI + 0x15bf1" (identifier "unaff_EDI") (+ "+") (number_literal "0x15bf1")) () ")")))) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    if (iVar5 < 1) {\n      return;\n    }\n    FUN_00013520();\n    return;\n  }" ({ "{") (if_statement "if (iVar5 < 1) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar5 < 1)" (( "(") (binary_expression "iVar5 < 1" (identifier "iVar5") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00013520();" (call_expression "FUN_00013520()" (identifier "FUN_00013520") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "local_24 = *(byte **)(unaff_EDI + 0x15b41);" (assignment_expression "local_24 = *(byte **)(unaff_EDI + 0x15b41)" (identifier "local_24") (= "=") (pointer_expression "*(byte **)(unaff_EDI + 0x15b41)" (* "*") (cast_expression "(byte **)(unaff_EDI + 0x15b41)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EDI + 0x15b41)" (( "(") (binary_expression "unaff_EDI + 0x15b41" (identifier "unaff_EDI") (+ "+") (number_literal "0x15b41")) () ")"))))) (; ";")) (expression_statement "local_28 = *(int *)(unaff_EDI + 0x15bf5);" (assignment_expression "local_28 = *(int *)(unaff_EDI + 0x15bf5)" (identifier "local_28") (= "=") (pointer_expression "*(int *)(unaff_EDI + 0x15bf5)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x15bf5)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x15bf5)" (( "(") (binary_expression "unaff_EDI + 0x15bf5" (identifier "unaff_EDI") (+ "+") (number_literal "0x15bf5")) () ")"))))) (; ";")) (expression_statement "puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);" (assignment_expression "puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(unaff_EDI + 0x159b1)" (* "*") (cast_expression "(undefined4 **)(unaff_EDI + 0x159b1)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EDI + 0x159b1)" (( "(") (binary_expression "unaff_EDI + 0x159b1" (identifier "unaff_EDI") (+ "+") (number_literal "0x159b1")) () ")"))))) (; ";")) (do_statement "do {\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      FUN_00013520();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  } while( true );" (do "do") (compound_statement "{\n    pbVar6 = local_24;\n    if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }\nLAB_000136d2:\n    iVar4 = 0;\n    if (-1 < local_28) {\n      iVar4 = local_28;\n    }\n    local_24 = local_24 + iVar4;\n    local_28 = (local_28 + -1) - iVar4;\n    if (0 < iVar5) {\n      FUN_00013520();\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;\n    *(int *)(unaff_EDI + 0x15bf1) = iVar5;\n    if (iVar5 < 1) {\n      return;\n    }\n    iVar5 = *(int *)(unaff_EDI + 0x15c41);\n  }" ({ "{") (expression_statement "pbVar6 = local_24;" (assignment_expression "pbVar6 = local_24" (identifier "pbVar6") (= "=") (identifier "local_24")) (; ";")) (if_statement "if (0 < local_28) {\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }" (if "if") (parenthesized_expression "(0 < local_28)" (( "(") (binary_expression "0 < local_28" (number_literal "0") (< "<") (identifier "local_28")) () ")")) (compound_statement "{\n      do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);\n    }" ({ "{") (do_statement "do {\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      } while (local_24 + local_28 != pbVar7);" (do "do") (compound_statement "{\n        while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }\n        if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }\n        p_Var3 = (_IO_FILE *)*puVar2;\n        pbVar6 = (byte *)p_Var3->_IO_write_ptr;\n        if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }\n        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;\n        iVar5 = *(int *)(unaff_EDI + 0x15c41);\n        pbVar6 = pbVar7;\n      }" ({ "{") (while_statement "while( true ) {\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          bVar1 = *pbVar6;\n          pbVar7 = pbVar6 + 1;\n          if (bVar1 != 0x20) break;\n          iVar5 = iVar5 + 1;\n          *(int *)(unaff_EDI + 0x15c41) = iVar5;\n          pbVar6 = pbVar7;\n          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;\n        }" ({ "{") (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" (identifier "bVar1") (= "=") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6"))) (; ";")) (expression_statement "pbVar7 = pbVar6 + 1;" (assignment_expression "pbVar7 = pbVar6 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (bVar1 != 0x20) break;" (if "if") (parenthesized_expression "(bVar1 != 0x20)" (( "(") (binary_expression "bVar1 != 0x20" (identifier "bVar1") (!= "!=") (number_literal "0x20")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(unaff_EDI + 0x15c41) = iVar5;" (assignment_expression "*(int *)(unaff_EDI + 0x15c41) = iVar5" (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x15c41)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x15c41)" (( "(") (binary_expression "unaff_EDI + 0x15c41" (identifier "unaff_EDI") (+ "+") (number_literal "0x15c41")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "pbVar6 = pbVar7;" (assignment_expression "pbVar6 = pbVar7" (identifier "pbVar6") (= "=") (identifier "pbVar7")) (; ";")) (if_statement "if (local_24 + local_28 == pbVar7) goto LAB_000136d2;" (if "if") (parenthesized_expression "(local_24 + local_28 == pbVar7)" (( "(") (binary_expression "local_24 + local_28 == pbVar7" (binary_expression "local_24 + local_28" (identifier "local_24") (+ "+") (identifier "local_28")) (== "==") (identifier "pbVar7")) () ")")) (goto_statement "goto LAB_000136d2;" (goto "goto") (statement_identifier "LAB_000136d2") (; ";"))) (} "}"))) (if_statement "if (0 < iVar5) {\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }" (if "if") (parenthesized_expression "(0 < iVar5)" (( "(") (binary_expression "0 < iVar5" (number_literal "0") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n          FUN_00013520();\n          bVar1 = *pbVar6;\n        }" ({ "{") (expression_statement "FUN_00013520();" (call_expression "FUN_00013520()" (identifier "FUN_00013520") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "bVar1 = *pbVar6;" (assignment_expression "bVar1 = *pbVar6" (identifier "bVar1") (= "=") (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6"))) (; ";")) (} "}"))) (expression_statement "p_Var3 = (_IO_FILE *)*puVar2;" (assignment_expression "p_Var3 = (_IO_FILE *)*puVar2" (identifier "p_Var3") (= "=") (cast_expression "(_IO_FILE *)*puVar2" (( "(") (type_descriptor "_IO_FILE *" (type_identifier "_IO_FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (; ";")) (expression_statement "pbVar6 = (byte *)p_Var3->_IO_write_ptr;" (assignment_expression "pbVar6 = (byte *)p_Var3->_IO_write_ptr" (identifier "pbVar6") (= "=") (cast_expression "(byte *)p_Var3->_IO_write_ptr" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (field_expression "p_Var3->_IO_write_ptr" (identifier "p_Var3") (-> "->") (field_identifier "_IO_write_ptr")))) (; ";")) (if_statement "if (pbVar6 < p_Var3->_IO_write_end) {\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }\n        else {\n          __overflow(p_Var3,(uint)bVar1);\n        }" (if "if") (parenthesized_expression "(pbVar6 < p_Var3->_IO_write_end)" (( "(") (binary_expression "pbVar6 < p_Var3->_IO_write_end" (identifier "pbVar6") (< "<") (field_expression "p_Var3->_IO_write_end" (identifier "p_Var3") (-> "->") (field_identifier "_IO_write_end"))) () ")")) (compound_statement "{\n          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);\n          *pbVar6 = bVar1;\n        }" ({ "{") (expression_statement "p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);" (assignment_expression "p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1)" (field_expression "p_Var3->_IO_write_ptr" (identifier "p_Var3") (-> "->") (field_identifier "_IO_write_ptr")) (= "=") (cast_expression "(char *)(pbVar6 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar6 + 1)" (( "(") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "*pbVar6 = bVar1;" (assignment_expression "*pbVar6 = bVar1" (pointer_expression "*pbVar6" (* "*") (identifier "pbVar6")) (= "=") (identifier "bVar1")) (; ";")) (} "}")) (else_clause "else {\n          __overflow(p_Var3,(uint)bVar1);\n        }" (else "else") (compound_statement "{\n          __overflow(p_Var3,(uint)bVar1);\n        }" ({ "{") (expression_statement "__overflow(p_Var3,(uint)bVar1);" (call_expression "__overflow(p_Var3,(uint)bVar1)" (identifier "__overflow") (argument_list "(p_Var3,(uint)bVar1)" (( "(") (identifier "p_Var3") (, ",") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) () ")"))) (; ";")) (} "}")))) (expression_statement "*(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;" (assignment_expression "*(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1" (pointer_expression "*(int *)(unaff_EDI + 0x15c39)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x15c39)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x15c39)" (( "(") (binary_expression "unaff_EDI + 0x15c39" (identifier "unaff_EDI") (+ "+") (number_literal "0x15c39")) () ")")))) (= "=") (binary_expression "*(int *)(unaff_EDI + 0x15c39) + 1" (pointer_expression "*(int *)(unaff_EDI + 0x15c39)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x15c39)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x15c39)" (( "(") (binary_expression "unaff_EDI + 0x15c39" (identifier "unaff_EDI") (+ "+") (number_literal "0x15c39")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15c41);" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15c41)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x15c41)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x15c41)" (( "(") (binary_expression "unaff_EDI + 0x15c41" (identifier "unaff_EDI") (+ "+") (number_literal "0x15c41")) () ")"))))) (; ";")) (expression_statement "pbVar6 = pbVar7;" (assignment_expression "pbVar6 = pbVar7" (identifier "pbVar6") (= "=") (identifier "pbVar7")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_24 + local_28 != pbVar7)" (( "(") (binary_expression "local_24 + local_28 != pbVar7" (binary_expression "local_24 + local_28" (identifier "local_24") (+ "+") (identifier "local_28")) (!= "!=") (identifier "pbVar7")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_000136d2:\n    iVar4 = 0;" (statement_identifier "LAB_000136d2") (: ":") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";"))) (if_statement "if (-1 < local_28) {\n      iVar4 = local_28;\n    }" (if "if") (parenthesized_expression "(-1 < local_28)" (( "(") (binary_expression "-1 < local_28" (number_literal "-1") (< "<") (identifier "local_28")) () ")")) (compound_statement "{\n      iVar4 = local_28;\n    }" ({ "{") (expression_statement "iVar4 = local_28;" (assignment_expression "iVar4 = local_28" (identifier "iVar4") (= "=") (identifier "local_28")) (; ";")) (} "}"))) (expression_statement "local_24 = local_24 + iVar4;" (assignment_expression "local_24 = local_24 + iVar4" (identifier "local_24") (= "=") (binary_expression "local_24 + iVar4" (identifier "local_24") (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "local_28 = (local_28 + -1) - iVar4;" (assignment_expression "local_28 = (local_28 + -1) - iVar4" (identifier "local_28") (= "=") (binary_expression "(local_28 + -1) - iVar4" (parenthesized_expression "(local_28 + -1)" (( "(") (binary_expression "local_28 + -1" (identifier "local_28") (+ "+") (number_literal "-1")) () ")")) (- "-") (identifier "iVar4"))) (; ";")) (if_statement "if (0 < iVar5) {\n      FUN_00013520();\n    }" (if "if") (parenthesized_expression "(0 < iVar5)" (( "(") (binary_expression "0 < iVar5" (number_literal "0") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n      FUN_00013520();\n    }" ({ "{") (expression_statement "FUN_00013520();" (call_expression "FUN_00013520()" (identifier "FUN_00013520") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1" (identifier "iVar5") (= "=") (binary_expression "*(int *)(unaff_EDI + 0x15bf1) + -1" (pointer_expression "*(int *)(unaff_EDI + 0x15bf1)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x15bf1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x15bf1)" (( "(") (binary_expression "unaff_EDI + 0x15bf1" (identifier "unaff_EDI") (+ "+") (number_literal "0x15bf1")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*(int *)(unaff_EDI + 0x15bf1) = iVar5;" (assignment_expression "*(int *)(unaff_EDI + 0x15bf1) = iVar5" (pointer_expression "*(int *)(unaff_EDI + 0x15bf1)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x15bf1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x15bf1)" (( "(") (binary_expression "unaff_EDI + 0x15bf1" (identifier "unaff_EDI") (+ "+") (number_literal "0x15bf1")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (iVar5 < 1) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar5 < 1)" (( "(") (binary_expression "iVar5 < 1" (identifier "iVar5") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar5 = *(int *)(unaff_EDI + 0x15c41);" (assignment_expression "iVar5 = *(int *)(unaff_EDI + 0x15c41)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(unaff_EDI + 0x15c41)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x15c41)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x15c41)" (( "(") (binary_expression "unaff_EDI + 0x15c41" (identifier "unaff_EDI") (+ "+") (number_literal "0x15c41")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 var_7;
  type_2 *puVar2;
  type_3 *p_Var3;
  int var_11;
  int var_3;
  type_1 *var_6;
  type_1 *var_9;
  int var_2;
  int var_5;
  type_1 *var_8;
  
  var_1();
  var_3 = *(int *)(var_2 + 0x15c41);
  if (*(int *)(var_2 + 0x15bf1) < 1) {
    if (var_3 < 1) {
      return;
    }
    var_4();
    return;
  }
  var_8 = *(type_1 **)(var_2 + 0x15b41);
  var_5 = *(int *)(var_2 + 0x15bf5);
  puVar2 = *(type_2 **)(var_2 + 0x159b1);
  do {
    var_6 = var_8;
    if (0 < var_5) {
      do {
        while( true ) {
          var_7 = *var_6;
          var_9 = var_6 + 1;
          if (var_7 != 0x20) break;
          var_3 = var_3 + 1;
          *(int *)(var_2 + 0x15c41) = var_3;
          var_6 = var_9;
          if (var_8 + var_5 == var_9) goto LAB_000136d2;
        }
        if (0 < var_3) {
          var_4();
          var_7 = *var_6;
        }
        p_Var3 = (type_3 *)*puVar2;
        var_6 = (type_1 *)p_Var3->_IO_write_ptr;
        if (var_6 < p_Var3->_IO_write_end) {
          p_Var3->_IO_write_ptr = (char *)(var_6 + 1);
          *var_6 = var_7;
        }
        else {
          var_10(p_Var3,(type_4)var_7);
        }
        *(int *)(var_2 + 0x15c39) = *(int *)(var_2 + 0x15c39) + 1;
        var_3 = *(int *)(var_2 + 0x15c41);
        var_6 = var_9;
      } while (var_8 + var_5 != var_9);
    }
LAB_000136d2:
    var_11 = 0;
    if (-1 < var_5) {
      var_11 = var_5;
    }
    var_8 = var_8 + var_11;
    var_5 = (var_5 + -1) - var_11;
    if (0 < var_3) {
      var_4();
    }
    var_3 = *(int *)(var_2 + 0x15bf1) + -1;
    *(int *)(var_2 + 0x15bf1) = var_3;
    if (var_3 < 1) {
      return;
    }
    var_3 = *(int *)(var_2 + 0x15c41);
  } while( true );
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (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))))))) (if_statement condition: (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))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (field_expression argument: (identifier) field: (field_identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))))) (expression_statement (assignment_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: (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)))) (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))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (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)))) (expression_statement (assignment_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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_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)))))))) condition: (parenthesized_expression (true))))))

void MASKED(void)

{
  byte bVar1;
  undefined4 *puVar2;
  _IO_FILE *p_Var3;
  int iVar4;
  int iVar5;
  byte *pbVar6;
  byte *pbVar7;
  int unaff_EDI;
  int local_28;
  byte *local_24;
  
  FUN_0001688c();
  iVar5 = *(int *)(unaff_EDI + 0x15c41);
  if (*(int *)(unaff_EDI + 0x15bf1) < 1) {
    if (iVar5 < 1) {
      return;
    }
    FUN_00013520();
    return;
  }
  local_24 = *(byte **)(unaff_EDI + 0x15b41);
  local_28 = *(int *)(unaff_EDI + 0x15bf5);
  puVar2 = *(undefined4 **)(unaff_EDI + 0x159b1);
  do {
    pbVar6 = local_24;
    if (0 < local_28) {
      do {
        while( true ) {
          bVar1 = *pbVar6;
          pbVar7 = pbVar6 + 1;
          if (bVar1 != 0x20) break;
          iVar5 = iVar5 + 1;
          *(int *)(unaff_EDI + 0x15c41) = iVar5;
          pbVar6 = pbVar7;
          if (local_24 + local_28 == pbVar7) goto LAB_000136d2;
        }
        if (0 < iVar5) {
          FUN_00013520();
          bVar1 = *pbVar6;
        }
        p_Var3 = (_IO_FILE *)*puVar2;
        pbVar6 = (byte *)p_Var3->_IO_write_ptr;
        if (pbVar6 < p_Var3->_IO_write_end) {
          p_Var3->_IO_write_ptr = (char *)(pbVar6 + 1);
          *pbVar6 = bVar1;
        }
        else {
          __overflow(p_Var3,(uint)bVar1);
        }
        *(int *)(unaff_EDI + 0x15c39) = *(int *)(unaff_EDI + 0x15c39) + 1;
        iVar5 = *(int *)(unaff_EDI + 0x15c41);
        pbVar6 = pbVar7;
      } while (local_24 + local_28 != pbVar7);
    }
LAB_000136d2:
    iVar4 = 0;
    if (-1 < local_28) {
      iVar4 = local_28;
    }
    local_24 = local_24 + iVar4;
    local_28 = (local_28 + -1) - iVar4;
    if (0 < iVar5) {
      FUN_00013520();
    }
    iVar5 = *(int *)(unaff_EDI + 0x15bf1) + -1;
    *(int *)(unaff_EDI + 0x15bf1) = iVar5;
    if (iVar5 < 1) {
      return;
    }
    iVar5 = *(int *)(unaff_EDI + 0x15c41);
  } while( true );
}

