
void print_strings(char *filename,FILE *stream,file_ptr address,int stop_point,int magiccount,
                  char *magic)

{
  ushort uVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  char *pcVar5;
  FILE *pFVar6;
  char *__s;
  uint uVar7;
  char *__format;
  FILE *stream_00;
  char *pcVar8;
  int iVar9;
  int unaff_EDI;
  undefined8 uVar10;
  char *local_24;
  FILE *local_20;
  
  uVar10 = __x86_get_pc_thunk_di();
  stream_00 = (FILE *)((ulonglong)uVar10 >> 0x20);
  local_24 = filename;
  local_20 = stream;
  __s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);
  iVar2 = *(int *)(unaff_EDI + 0x6fe9);
LAB_0001204c:
  do {
    pFVar6 = local_20;
    pcVar5 = local_24;
    pcVar8 = __s;
    if (0 < *(int *)(unaff_EDI + 0x7231)) {
      iVar3 = *(int *)(unaff_EDI + 0x6fe9);
      iVar9 = 0;
      do {
        uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,
                         (char **)((int)&address + 4));
        if (uVar7 == 0xffffffff) {
          free(__s);
          return;
        }
        if ((0xff < uVar7) ||
           ((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&
             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&
            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;
        __s[iVar9] = (char)uVar7;
        iVar9 = iVar9 + 1;
      } while (iVar9 < *(int *)(unaff_EDI + 0x7231));
      pcVar8 = __s + iVar9;
    }
    if (*(int *)(unaff_EDI + 0x7225) != 0) {
      printf((char *)(unaff_EDI + 0x3545),(int)uVar10);
    }
    if (*(int *)(unaff_EDI + 0x7229) != 0) {
      iVar3 = *(int *)(unaff_EDI + 0x7235);
      if (iVar3 == 10) {
        __format = (char *)(unaff_EDI + 0x3551);
      }
      else if (iVar3 == 0x10) {
        __format = (char *)(unaff_EDI + 0x3558);
      }
      else {
        if (iVar3 != 8) goto LAB_0001211f;
        __format = (char *)(unaff_EDI + 0x354a);
      }
      printf(__format,pcVar5,pFVar6);
    }
LAB_0001211f:
    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);
    *pcVar8 = '\0';
    fputs(__s,(FILE *)*puVar4);
    while ((uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,
                             (char **)((int)&address + 4)), uVar7 < 0x100 &&
           ((((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||
             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||
            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {
      putc(uVar7,(FILE *)*puVar4);
    }
    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {
      putc(10,(FILE *)*puVar4);
    }
    else {
      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);
    }
  } while( true );
}



void FUN_00011ff0(undefined4 param_1,undefined4 param_2)

{
  ushort uVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  char *__s;
  uint uVar6;
  char *__format;
  char *pcVar7;
  int iVar8;
  int unaff_EDI;
  
  uVar5 = FUN_00012287();
  __s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);
  iVar2 = *(int *)(unaff_EDI + 0x6fe9);
LAB_0001204c:
  do {
    pcVar7 = __s;
    if (0 < *(int *)(unaff_EDI + 0x7231)) {
      iVar3 = *(int *)(unaff_EDI + 0x6fe9);
      iVar8 = 0;
      do {
        uVar6 = FUN_00011de0(&stack0x00000010);
        if (uVar6 == 0xffffffff) {
          free(__s);
          return;
        }
        if ((0xff < uVar6) ||
           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&
             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&
            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;
        __s[iVar8] = (char)uVar6;
        iVar8 = iVar8 + 1;
      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));
      pcVar7 = __s + iVar8;
    }
    if (*(int *)(unaff_EDI + 0x7225) != 0) {
      printf((char *)(unaff_EDI + 0x3545),uVar5);
    }
    if (*(int *)(unaff_EDI + 0x7229) != 0) {
      iVar3 = *(int *)(unaff_EDI + 0x7235);
      if (iVar3 == 10) {
        __format = (char *)(unaff_EDI + 0x3551);
      }
      else if (iVar3 == 0x10) {
        __format = (char *)(unaff_EDI + 0x3558);
      }
      else {
        if (iVar3 != 8) goto LAB_0001211f;
        __format = (char *)(unaff_EDI + 0x354a);
      }
      printf(__format,param_1,param_2);
    }
LAB_0001211f:
    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);
    *pcVar7 = '\0';
    fputs(__s,(FILE *)*puVar4);
    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&
           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||
             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||
            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {
      putc(uVar6,(FILE *)*puVar4);
    }
    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {
      putc(10,(FILE *)*puVar4);
    }
    else {
      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);
    }
  } while( true );
}


PUSH EBP
PUSH EDI
CALL 0x00012287
ADD EDI,0x7009
PUSH ESI
PUSH EBX
SUB ESP,0x48
MOV dword ptr [ESP + 0x30],EAX
MOV EAX,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0x14],EDX
MOV EBX,EDI
MOV dword ptr [ESP + 0x34],EAX
MOV EAX,dword ptr [ESP + 0x60]
MOV dword ptr [ESP + 0x38],EAX
MOV EAX,dword ptr [EDI + 0x228]
ADD EAX,0x1
PUSH EAX
CALL 0x000111b0
MOV dword ptr [ESP + 0x20],EAX
ADD ESP,0x10
LEA EAX,[ESP + 0x58]
LEA ESI,[ESP + 0x28]
LEA EBP,[ESP + 0x5c]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [EDI + 0xffffffe0]
MOV dword ptr [ESP + 0x20],EAX
MOV EAX,dword ptr [ESP + 0x28]
MOV EDX,dword ptr [ESP + 0x2c]
MOV EBX,dword ptr [EDI + 0x228]
MOV dword ptr [ESP + 0x18],EAX
MOV dword ptr [ESP + 0x1c],EDX
TEST EBX,EBX
JLE 0x0001227e
MOV EAX,dword ptr [EDI + 0xffffffe0]
XOR EBX,EBX
MOV dword ptr [ESP + 0x14],EAX
JMP 0x000120c8
CMP EAX,0xff
JA 0x0001204c
CMP EAX,0x9
JZ 0x000120b6
MOV ECX,dword ptr [ESP + 0x14]
MOVZX EDX,word ptr [ECX + EAX*0x2]
TEST DL,0x10
JNZ 0x000120b6
CMP byte ptr [EDI + 0x210],0x53
JNZ 0x000120a7
CMP EAX,0x7f
JG 0x000120b6
MOV ECX,dword ptr [EDI + 0x224]
TEST ECX,ECX
JZ 0x0001204c
AND EDX,0x40
JZ 0x0001204c
MOV ECX,dword ptr [ESP + 0x10]
MOV byte ptr [ECX + EBX*0x1],AL
ADD EBX,0x1
CMP EBX,dword ptr [EDI + 0x228]
JGE 0x00012100
SUB ESP,0xc
MOV EDX,ESI
PUSH EBP
MOV ECX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x18]
CALL 0x00011de0
ADD ESP,0x10
CMP EAX,-0x1
JNZ 0x00012080
SUB ESP,0xc
MOV EBX,EDI
PUSH dword ptr [ESP + 0x1c]
CALL 0x000110a0
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EDX,[ECX + EBX*0x1]
MOV EAX,dword ptr [EDI + 0x21c]
TEST EAX,EAX
JNZ 0x00012216
MOV EBX,dword ptr [EDI + 0x220]
TEST EBX,EBX
JNZ 0x000121d0
MOV EAX,dword ptr [EDI + 0xfffffff0]
SUB ESP,0x8
MOV byte ptr [EDX],0x0
MOV EBX,EDI
MOV dword ptr [ESP + 0x1c],EAX
PUSH dword ptr [EAX]
PUSH dword ptr [ESP + 0x1c]
CALL 0x00011450
ADD ESP,0x10
JMP 0x0001218b
CMP EAX,0x9
JZ 0x00012177
MOV EDX,dword ptr [ESP + 0x20]
MOVZX EDX,word ptr [EDX + EAX*0x2]
TEST DL,0x10
JNZ 0x00012177
CMP byte ptr [EDI + 0x210],0x53
JNZ 0x00012168
CMP EAX,0x7f
JG 0x00012177
MOV ECX,dword ptr [EDI + 0x224]
TEST ECX,ECX
JZ 0x000121a8
AND EDX,0x40
JZ 0x000121a8
SUB ESP,0x8
MOV EBX,dword ptr [ESP + 0x1c]
PUSH dword ptr [EBX]
MOV EBX,EDI
PUSH EAX
CALL 0x000113c0
ADD ESP,0x10
SUB ESP,0xc
MOV EDX,ESI
PUSH EBP
MOV ECX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x18]
CALL 0x00011de0
ADD ESP,0x10
CMP EAX,0xff
JBE 0x00012148
MOV EBX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EDI + 0x208]
MOV EDX,dword ptr [EBX]
TEST EAX,EAX
JZ 0x0001223b
SUB ESP,0x8
MOV EBX,EDI
PUSH EDX
PUSH EAX
CALL 0x00011450
ADD ESP,0x10
JMP 0x0001204c
MOV EAX,dword ptr [EDI + 0x22c]
CMP EAX,0xa
JZ 0x00012267
CMP EAX,0x10
JZ 0x00012250
CMP EAX,0x8
JNZ 0x0001211f
MOV dword ptr [ESP + 0x14],EDX
SUB ESP,0x4
LEA EAX,[EDI + 0xffffc541]
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0x20]
PUSH EAX
MOV EBX,EDI
CALL 0x00011050
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x14]
JMP 0x0001211f
MOV dword ptr [ESP + 0x14],EDX
LEA EAX,[EDI + 0xffffc53c]
SUB ESP,0x8
MOV EBX,EDI
PUSH dword ptr [ESP + 0x2c]
PUSH EAX
CALL 0x00011050
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x14]
JMP 0x00012111
SUB ESP,0x8
MOV EBX,EDI
PUSH EDX
PUSH 0xa
CALL 0x000113c0
ADD ESP,0x10
JMP 0x0001204c
MOV dword ptr [ESP + 0x14],EDX
SUB ESP,0x4
LEA EAX,[EDI + 0xffffc54f]
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0x20]
JMP 0x00012202
MOV dword ptr [ESP + 0x14],EDX
SUB ESP,0x4
LEA EAX,[EDI + 0xffffc548]
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0x20]
JMP 0x00012202
MOV EDX,dword ptr [ESP + 0x10]
JMP 0x00012103
(translation_unit "void FUN_00011ff0(undefined4 param_1,undefined4 param_2)\n\n{\n  ushort uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  char *__s;\n  uint uVar6;\n  char *__format;\n  char *pcVar7;\n  int iVar8;\n  int unaff_EDI;\n  \n  uVar5 = FUN_00012287();\n  __s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);\n  iVar2 = *(int *)(unaff_EDI + 0x6fe9);\nLAB_0001204c:\n  do {\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_00011ff0(undefined4 param_1,undefined4 param_2)\n\n{\n  ushort uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  char *__s;\n  uint uVar6;\n  char *__format;\n  char *pcVar7;\n  int iVar8;\n  int unaff_EDI;\n  \n  uVar5 = FUN_00012287();\n  __s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);\n  iVar2 = *(int *)(unaff_EDI + 0x6fe9);\nLAB_0001204c:\n  do {\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_00011ff0(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  ushort uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  char *__s;\n  uint uVar6;\n  char *__format;\n  char *pcVar7;\n  int iVar8;\n  int unaff_EDI;\n  \n  uVar5 = FUN_00012287();\n  __s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);\n  iVar2 = *(int *)(unaff_EDI + 0x6fe9);\nLAB_0001204c:\n  do {\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "uVar5 = FUN_00012287();" (assignment_expression "uVar5 = FUN_00012287()" identifier = (call_expression "FUN_00012287()" identifier (argument_list "()" ( )))) ;) (expression_statement "__s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);" (assignment_expression "__s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1)" identifier = (cast_expression "(char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(*(int *)(unaff_EDI + 0x7231) + 1)" identifier (argument_list "(*(int *)(unaff_EDI + 0x7231) + 1)" ( (binary_expression "*(int *)(unaff_EDI + 0x7231) + 1" (pointer_expression "*(int *)(unaff_EDI + 0x7231)" * (cast_expression "(int *)(unaff_EDI + 0x7231)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7231)" ( (binary_expression "unaff_EDI + 0x7231" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(unaff_EDI + 0x6fe9);" (assignment_expression "iVar2 = *(int *)(unaff_EDI + 0x6fe9)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x6fe9)" * (cast_expression "(int *)(unaff_EDI + 0x6fe9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x6fe9)" ( (binary_expression "unaff_EDI + 0x6fe9" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0001204c:\n  do {\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );" statement_identifier : (do_statement "do {\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );" do (compound_statement "{\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  }" { (expression_statement "pcVar7 = __s;" (assignment_expression "pcVar7 = __s" identifier = identifier) ;) (if_statement "if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }" if (parenthesized_expression "(0 < *(int *)(unaff_EDI + 0x7231))" ( (binary_expression "0 < *(int *)(unaff_EDI + 0x7231)" number_literal < (pointer_expression "*(int *)(unaff_EDI + 0x7231)" * (cast_expression "(int *)(unaff_EDI + 0x7231)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7231)" ( (binary_expression "unaff_EDI + 0x7231" identifier + number_literal) ))))) )) (compound_statement "{\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }" { (expression_statement "iVar3 = *(int *)(unaff_EDI + 0x6fe9);" (assignment_expression "iVar3 = *(int *)(unaff_EDI + 0x6fe9)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x6fe9)" * (cast_expression "(int *)(unaff_EDI + 0x6fe9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x6fe9)" ( (binary_expression "unaff_EDI + 0x6fe9" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));" do (compound_statement "{\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      }" { (expression_statement "uVar6 = FUN_00011de0(&stack0x00000010);" (assignment_expression "uVar6 = FUN_00011de0(&stack0x00000010)" identifier = (call_expression "FUN_00011de0(&stack0x00000010)" identifier (argument_list "(&stack0x00000010)" ( (pointer_expression "&stack0x00000010" & identifier) )))) ;) (if_statement "if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }" if (parenthesized_expression "(uVar6 == 0xffffffff)" ( (binary_expression "uVar6 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n          free(__s);\n          return;\n        }" { (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;" if (parenthesized_expression "((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0))))))" ( (binary_expression "(0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))" (parenthesized_expression "(0xff < uVar6)" ( (binary_expression "0xff < uVar6" number_literal < identifier) )) || (parenthesized_expression "((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))" ( (parenthesized_expression "(((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0))))" ( (binary_expression "((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))" (parenthesized_expression "((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80))))" ( (binary_expression "(uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))" (parenthesized_expression "(uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0))" ( (binary_expression "uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)" (binary_expression "uVar6 != 9" identifier != number_literal) && (parenthesized_expression "(uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)" ( (comma_expression "uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0" (assignment_expression "uVar1 = *(ushort *)(iVar3 + uVar6 * 2)" identifier = (pointer_expression "*(ushort *)(iVar3 + uVar6 * 2)" * (cast_expression "(ushort *)(iVar3 + uVar6 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + uVar6 * 2)" ( (binary_expression "iVar3 + uVar6 * 2" identifier + (binary_expression "uVar6 * 2" identifier * number_literal)) ))))) , (binary_expression "(uVar1 & 0x10) == 0" (parenthesized_expression "(uVar1 & 0x10)" ( (binary_expression "uVar1 & 0x10" identifier & number_literal) )) == number_literal)) ))) )) && (parenthesized_expression "((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))" ( (parenthesized_expression "(*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80))" ( (binary_expression "*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)" (binary_expression "*(char *)(unaff_EDI + 0x7219) != 'S'" (pointer_expression "*(char *)(unaff_EDI + 0x7219)" * (cast_expression "(char *)(unaff_EDI + 0x7219)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7219)" ( (binary_expression "unaff_EDI + 0x7219" identifier + number_literal) )))) != (char_literal "'S'" ' character ')) || (parenthesized_expression "((int)uVar6 < 0x80)" ( (binary_expression "(int)uVar6 < 0x80" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) ))) )) ))) )) && (parenthesized_expression "((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))" ( (parenthesized_expression "(*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0))" ( (binary_expression "*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)" (binary_expression "*(int *)(unaff_EDI + 0x722d) == 0" (pointer_expression "*(int *)(unaff_EDI + 0x722d)" * (cast_expression "(int *)(unaff_EDI + 0x722d)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x722d)" ( (binary_expression "unaff_EDI + 0x722d" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "((uVar1 & 0x40) == 0)" ( (binary_expression "(uVar1 & 0x40) == 0" (parenthesized_expression "(uVar1 & 0x40)" ( (binary_expression "uVar1 & 0x40" identifier & number_literal) )) == number_literal) ))) )) ))) )) ))) )) (goto_statement "goto LAB_0001204c;" goto statement_identifier ;)) (expression_statement "__s[iVar8] = (char)uVar6;" (assignment_expression "__s[iVar8] = (char)uVar6" (subscript_expression "__s[iVar8]" identifier [ identifier ]) = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 < *(int *)(unaff_EDI + 0x7231))" ( (binary_expression "iVar8 < *(int *)(unaff_EDI + 0x7231)" identifier < (pointer_expression "*(int *)(unaff_EDI + 0x7231)" * (cast_expression "(int *)(unaff_EDI + 0x7231)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7231)" ( (binary_expression "unaff_EDI + 0x7231" identifier + number_literal) ))))) )) ;) (expression_statement "pcVar7 = __s + iVar8;" (assignment_expression "pcVar7 = __s + iVar8" identifier = (binary_expression "__s + iVar8" identifier + identifier)) ;) })) (if_statement "if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x7225) != 0)" ( (binary_expression "*(int *)(unaff_EDI + 0x7225) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x7225)" * (cast_expression "(int *)(unaff_EDI + 0x7225)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7225)" ( (binary_expression "unaff_EDI + 0x7225" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }" { (expression_statement "printf((char *)(unaff_EDI + 0x3545),uVar5);" (call_expression "printf((char *)(unaff_EDI + 0x3545),uVar5)" identifier (argument_list "((char *)(unaff_EDI + 0x3545),uVar5)" ( (cast_expression "(char *)(unaff_EDI + 0x3545)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3545)" ( (binary_expression "unaff_EDI + 0x3545" identifier + number_literal) ))) , identifier ))) ;) })) (if_statement "if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x7229) != 0)" ( (binary_expression "*(int *)(unaff_EDI + 0x7229) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x7229)" * (cast_expression "(int *)(unaff_EDI + 0x7229)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7229)" ( (binary_expression "unaff_EDI + 0x7229" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }" { (expression_statement "iVar3 = *(int *)(unaff_EDI + 0x7235);" (assignment_expression "iVar3 = *(int *)(unaff_EDI + 0x7235)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x7235)" * (cast_expression "(int *)(unaff_EDI + 0x7235)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7235)" ( (binary_expression "unaff_EDI + 0x7235" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" if (parenthesized_expression "(iVar3 == 10)" ( (binary_expression "iVar3 == 10" identifier == number_literal) )) (compound_statement "{\n        __format = (char *)(unaff_EDI + 0x3551);\n      }" { (expression_statement "__format = (char *)(unaff_EDI + 0x3551);" (assignment_expression "__format = (char *)(unaff_EDI + 0x3551)" identifier = (cast_expression "(char *)(unaff_EDI + 0x3551)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3551)" ( (binary_expression "unaff_EDI + 0x3551" identifier + number_literal) )))) ;) }) (else_clause "else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" else (if_statement "if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" if (parenthesized_expression "(iVar3 == 0x10)" ( (binary_expression "iVar3 == 0x10" identifier == number_literal) )) (compound_statement "{\n        __format = (char *)(unaff_EDI + 0x3558);\n      }" { (expression_statement "__format = (char *)(unaff_EDI + 0x3558);" (assignment_expression "__format = (char *)(unaff_EDI + 0x3558)" identifier = (cast_expression "(char *)(unaff_EDI + 0x3558)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3558)" ( (binary_expression "unaff_EDI + 0x3558" identifier + number_literal) )))) ;) }) (else_clause "else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" else (compound_statement "{\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" { (if_statement "if (iVar3 != 8) goto LAB_0001211f;" if (parenthesized_expression "(iVar3 != 8)" ( (binary_expression "iVar3 != 8" identifier != number_literal) )) (goto_statement "goto LAB_0001211f;" goto statement_identifier ;)) (expression_statement "__format = (char *)(unaff_EDI + 0x354a);" (assignment_expression "__format = (char *)(unaff_EDI + 0x354a)" identifier = (cast_expression "(char *)(unaff_EDI + 0x354a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x354a)" ( (binary_expression "unaff_EDI + 0x354a" identifier + number_literal) )))) ;) }))))) (expression_statement "printf(__format,param_1,param_2);" (call_expression "printf(__format,param_1,param_2)" identifier (argument_list "(__format,param_1,param_2)" ( identifier , identifier , identifier ))) ;) })) (labeled_statement "LAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);" statement_identifier : (expression_statement "puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);" (assignment_expression "puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9)" identifier = (pointer_expression "*(undefined4 **)(unaff_EDI + 0x6ff9)" * (cast_expression "(undefined4 **)(unaff_EDI + 0x6ff9)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x6ff9)" ( (binary_expression "unaff_EDI + 0x6ff9" identifier + number_literal) ))))) ;)) (expression_statement "*pcVar7 = '\0';" (assignment_expression "*pcVar7 = '\0'" (pointer_expression "*pcVar7" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "fputs(__s,(FILE *)*puVar4);" (call_expression "fputs(__s,(FILE *)*puVar4)" identifier (argument_list "(__s,(FILE *)*puVar4)" ( identifier , (cast_expression "(FILE *)*puVar4" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) ))) ;) (while_statement "while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }" while (parenthesized_expression "((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))))" ( (parenthesized_expression "(uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))" ( (comma_expression "uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))" (assignment_expression "uVar6 = FUN_00011de0(&stack0x00000010)" identifier = (call_expression "FUN_00011de0(&stack0x00000010)" identifier (argument_list "(&stack0x00000010)" ( (pointer_expression "&stack0x00000010" & identifier) )))) , (binary_expression "uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))" (binary_expression "uVar6 < 0x100" identifier < number_literal) && (parenthesized_expression "((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))" ( (parenthesized_expression "(((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))" ( (binary_expression "((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))" (parenthesized_expression "((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6))))" ( (binary_expression "(uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))" (parenthesized_expression "(uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0))" ( (binary_expression "uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)" (binary_expression "uVar6 == 9" identifier == number_literal) || (parenthesized_expression "(uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)" ( (comma_expression "uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0" (assignment_expression "uVar1 = *(ushort *)(iVar2 + uVar6 * 2)" identifier = (pointer_expression "*(ushort *)(iVar2 + uVar6 * 2)" * (cast_expression "(ushort *)(iVar2 + uVar6 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar6 * 2)" ( (binary_expression "iVar2 + uVar6 * 2" identifier + (binary_expression "uVar6 * 2" identifier * number_literal)) ))))) , (binary_expression "(uVar1 & 0x10) != 0" (parenthesized_expression "(uVar1 & 0x10)" ( (binary_expression "uVar1 & 0x10" identifier & number_literal) )) != number_literal)) ))) )) || (parenthesized_expression "((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))" ( (parenthesized_expression "(*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6))" ( (binary_expression "*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)" (binary_expression "*(char *)(unaff_EDI + 0x7219) == 'S'" (pointer_expression "*(char *)(unaff_EDI + 0x7219)" * (cast_expression "(char *)(unaff_EDI + 0x7219)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7219)" ( (binary_expression "unaff_EDI + 0x7219" identifier + number_literal) )))) == (char_literal "'S'" ' character ')) && (parenthesized_expression "(0x7f < (int)uVar6)" ( (binary_expression "0x7f < (int)uVar6" number_literal < (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) ))) )) || (parenthesized_expression "((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))" ( (parenthesized_expression "(*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))" ( (binary_expression "*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)" (binary_expression "*(int *)(unaff_EDI + 0x722d) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x722d)" * (cast_expression "(int *)(unaff_EDI + 0x722d)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x722d)" ( (binary_expression "unaff_EDI + 0x722d" identifier + number_literal) )))) != number_literal) && (parenthesized_expression "((uVar1 & 0x40) != 0)" ( (binary_expression "(uVar1 & 0x40) != 0" (parenthesized_expression "(uVar1 & 0x40)" ( (binary_expression "uVar1 & 0x40" identifier & number_literal) )) != number_literal) ))) )) ))) )) )))) )) )) (compound_statement "{\n      putc(uVar6,(FILE *)*puVar4);\n    }" { (expression_statement "putc(uVar6,(FILE *)*puVar4);" (call_expression "putc(uVar6,(FILE *)*puVar4)" identifier (argument_list "(uVar6,(FILE *)*puVar4)" ( identifier , (cast_expression "(FILE *)*puVar4" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) ))) ;) })) (if_statement "if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }" if (parenthesized_expression "(*(char **)(unaff_EDI + 0x7211) == (char *)0x0)" ( (binary_expression "*(char **)(unaff_EDI + 0x7211) == (char *)0x0" (pointer_expression "*(char **)(unaff_EDI + 0x7211)" * (cast_expression "(char **)(unaff_EDI + 0x7211)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x7211)" ( (binary_expression "unaff_EDI + 0x7211" identifier + number_literal) )))) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      putc(10,(FILE *)*puVar4);\n    }" { (expression_statement "putc(10,(FILE *)*puVar4);" (call_expression "putc(10,(FILE *)*puVar4)" identifier (argument_list "(10,(FILE *)*puVar4)" ( number_literal , (cast_expression "(FILE *)*puVar4" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) ))) ;) }) (else_clause "else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }" else (compound_statement "{\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }" { (expression_statement "fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);" (call_expression "fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4)" identifier (argument_list "(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4)" ( (pointer_expression "*(char **)(unaff_EDI + 0x7211)" * (cast_expression "(char **)(unaff_EDI + 0x7211)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x7211)" ( (binary_expression "unaff_EDI + 0x7211" identifier + number_literal) )))) , (cast_expression "(FILE *)*puVar4" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) ))) ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "void print_strings(char *filename,FILE *stream,file_ptr address,int stop_point,int magiccount,\n                  char *magic)\n\n{\n  ushort uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  char *pcVar5;\n  FILE *pFVar6;\n  char *__s;\n  uint uVar7;\n  char *__format;\n  FILE *stream_00;\n  char *pcVar8;\n  int iVar9;\n  int unaff_EDI;\n  undefined8 uVar10;\n  char *local_24;\n  FILE *local_20;\n  \n  uVar10 = __x86_get_pc_thunk_di();\n  stream_00 = (FILE *)((ulonglong)uVar10 >> 0x20);\n  local_24 = filename;\n  local_20 = stream;\n  __s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);\n  iVar2 = *(int *)(unaff_EDI + 0x6fe9);\nLAB_0001204c:\n  do {\n    pFVar6 = local_20;\n    pcVar5 = local_24;\n    pcVar8 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar9 = 0;\n      do {\n        uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                         (char **)((int)&address + 4));\n        if (uVar7 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar7) ||\n           ((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar9] = (char)uVar7;\n        iVar9 = iVar9 + 1;\n      } while (iVar9 < *(int *)(unaff_EDI + 0x7231));\n      pcVar8 = __s + iVar9;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),(int)uVar10);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,pcVar5,pFVar6);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar8 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                             (char **)((int)&address + 4)), uVar7 < 0x100 &&\n           ((((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar7,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );\n}\n\n" (function_definition "void print_strings(char *filename,FILE *stream,file_ptr address,int stop_point,int magiccount,\n                  char *magic)\n\n{\n  ushort uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  char *pcVar5;\n  FILE *pFVar6;\n  char *__s;\n  uint uVar7;\n  char *__format;\n  FILE *stream_00;\n  char *pcVar8;\n  int iVar9;\n  int unaff_EDI;\n  undefined8 uVar10;\n  char *local_24;\n  FILE *local_20;\n  \n  uVar10 = __x86_get_pc_thunk_di();\n  stream_00 = (FILE *)((ulonglong)uVar10 >> 0x20);\n  local_24 = filename;\n  local_20 = stream;\n  __s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);\n  iVar2 = *(int *)(unaff_EDI + 0x6fe9);\nLAB_0001204c:\n  do {\n    pFVar6 = local_20;\n    pcVar5 = local_24;\n    pcVar8 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar9 = 0;\n      do {\n        uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                         (char **)((int)&address + 4));\n        if (uVar7 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar7) ||\n           ((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar9] = (char)uVar7;\n        iVar9 = iVar9 + 1;\n      } while (iVar9 < *(int *)(unaff_EDI + 0x7231));\n      pcVar8 = __s + iVar9;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),(int)uVar10);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,pcVar5,pFVar6);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar8 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                             (char **)((int)&address + 4)), uVar7 < 0x100 &&\n           ((((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar7,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );\n}" primitive_type (function_declarator "print_strings(char *filename,FILE *stream,file_ptr address,int stop_point,int magiccount,\n                  char *magic)" identifier (parameter_list "(char *filename,FILE *stream,file_ptr address,int stop_point,int magiccount,\n                  char *magic)" ( (parameter_declaration "char *filename" primitive_type (pointer_declarator "*filename" * identifier)) , (parameter_declaration "FILE *stream" type_identifier (pointer_declarator "*stream" * identifier)) , (parameter_declaration "file_ptr address" type_identifier identifier) , (parameter_declaration "int stop_point" primitive_type identifier) , (parameter_declaration "int magiccount" primitive_type identifier) , (parameter_declaration "char *magic" primitive_type (pointer_declarator "*magic" * identifier)) ))) (compound_statement "{\n  ushort uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  char *pcVar5;\n  FILE *pFVar6;\n  char *__s;\n  uint uVar7;\n  char *__format;\n  FILE *stream_00;\n  char *pcVar8;\n  int iVar9;\n  int unaff_EDI;\n  undefined8 uVar10;\n  char *local_24;\n  FILE *local_20;\n  \n  uVar10 = __x86_get_pc_thunk_di();\n  stream_00 = (FILE *)((ulonglong)uVar10 >> 0x20);\n  local_24 = filename;\n  local_20 = stream;\n  __s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);\n  iVar2 = *(int *)(unaff_EDI + 0x6fe9);\nLAB_0001204c:\n  do {\n    pFVar6 = local_20;\n    pcVar5 = local_24;\n    pcVar8 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar9 = 0;\n      do {\n        uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                         (char **)((int)&address + 4));\n        if (uVar7 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar7) ||\n           ((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar9] = (char)uVar7;\n        iVar9 = iVar9 + 1;\n      } while (iVar9 < *(int *)(unaff_EDI + 0x7231));\n      pcVar8 = __s + iVar9;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),(int)uVar10);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,pcVar5,pFVar6);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar8 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                             (char **)((int)&address + 4)), uVar7 < 0x100 &&\n           ((((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar7,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "FILE *pFVar6;" type_identifier (pointer_declarator "*pFVar6" * identifier) ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "FILE *stream_00;" type_identifier (pointer_declarator "*stream_00" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "char *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "FILE *local_20;" type_identifier (pointer_declarator "*local_20" * identifier) ;) (expression_statement "uVar10 = __x86_get_pc_thunk_di();" (assignment_expression "uVar10 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "stream_00 = (FILE *)((ulonglong)uVar10 >> 0x20);" (assignment_expression "stream_00 = (FILE *)((ulonglong)uVar10 >> 0x20)" identifier = (cast_expression "(FILE *)((ulonglong)uVar10 >> 0x20)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar10 >> 0x20)" ( (binary_expression "(ulonglong)uVar10 >> 0x20" (cast_expression "(ulonglong)uVar10" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_24 = filename;" (assignment_expression "local_24 = filename" identifier = identifier) ;) (expression_statement "local_20 = stream;" (assignment_expression "local_20 = stream" identifier = identifier) ;) (expression_statement "__s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);" (assignment_expression "__s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1)" identifier = (cast_expression "(char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(*(int *)(unaff_EDI + 0x7231) + 1)" identifier (argument_list "(*(int *)(unaff_EDI + 0x7231) + 1)" ( (binary_expression "*(int *)(unaff_EDI + 0x7231) + 1" (pointer_expression "*(int *)(unaff_EDI + 0x7231)" * (cast_expression "(int *)(unaff_EDI + 0x7231)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7231)" ( (binary_expression "unaff_EDI + 0x7231" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(unaff_EDI + 0x6fe9);" (assignment_expression "iVar2 = *(int *)(unaff_EDI + 0x6fe9)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x6fe9)" * (cast_expression "(int *)(unaff_EDI + 0x6fe9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x6fe9)" ( (binary_expression "unaff_EDI + 0x6fe9" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0001204c:\n  do {\n    pFVar6 = local_20;\n    pcVar5 = local_24;\n    pcVar8 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar9 = 0;\n      do {\n        uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                         (char **)((int)&address + 4));\n        if (uVar7 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar7) ||\n           ((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar9] = (char)uVar7;\n        iVar9 = iVar9 + 1;\n      } while (iVar9 < *(int *)(unaff_EDI + 0x7231));\n      pcVar8 = __s + iVar9;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),(int)uVar10);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,pcVar5,pFVar6);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar8 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                             (char **)((int)&address + 4)), uVar7 < 0x100 &&\n           ((((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar7,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );" statement_identifier : (do_statement "do {\n    pFVar6 = local_20;\n    pcVar5 = local_24;\n    pcVar8 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar9 = 0;\n      do {\n        uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                         (char **)((int)&address + 4));\n        if (uVar7 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar7) ||\n           ((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar9] = (char)uVar7;\n        iVar9 = iVar9 + 1;\n      } while (iVar9 < *(int *)(unaff_EDI + 0x7231));\n      pcVar8 = __s + iVar9;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),(int)uVar10);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,pcVar5,pFVar6);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar8 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                             (char **)((int)&address + 4)), uVar7 < 0x100 &&\n           ((((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar7,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );" do (compound_statement "{\n    pFVar6 = local_20;\n    pcVar5 = local_24;\n    pcVar8 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar9 = 0;\n      do {\n        uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                         (char **)((int)&address + 4));\n        if (uVar7 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar7) ||\n           ((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar9] = (char)uVar7;\n        iVar9 = iVar9 + 1;\n      } while (iVar9 < *(int *)(unaff_EDI + 0x7231));\n      pcVar8 = __s + iVar9;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),(int)uVar10);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,pcVar5,pFVar6);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar8 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                             (char **)((int)&address + 4)), uVar7 < 0x100 &&\n           ((((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar7,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  }" { (expression_statement "pFVar6 = local_20;" (assignment_expression "pFVar6 = local_20" identifier = identifier) ;) (expression_statement "pcVar5 = local_24;" (assignment_expression "pcVar5 = local_24" identifier = identifier) ;) (expression_statement "pcVar8 = __s;" (assignment_expression "pcVar8 = __s" identifier = identifier) ;) (if_statement "if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar9 = 0;\n      do {\n        uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                         (char **)((int)&address + 4));\n        if (uVar7 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar7) ||\n           ((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar9] = (char)uVar7;\n        iVar9 = iVar9 + 1;\n      } while (iVar9 < *(int *)(unaff_EDI + 0x7231));\n      pcVar8 = __s + iVar9;\n    }" if (parenthesized_expression "(0 < *(int *)(unaff_EDI + 0x7231))" ( (binary_expression "0 < *(int *)(unaff_EDI + 0x7231)" number_literal < (pointer_expression "*(int *)(unaff_EDI + 0x7231)" * (cast_expression "(int *)(unaff_EDI + 0x7231)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7231)" ( (binary_expression "unaff_EDI + 0x7231" identifier + number_literal) ))))) )) (compound_statement "{\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar9 = 0;\n      do {\n        uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                         (char **)((int)&address + 4));\n        if (uVar7 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar7) ||\n           ((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar9] = (char)uVar7;\n        iVar9 = iVar9 + 1;\n      } while (iVar9 < *(int *)(unaff_EDI + 0x7231));\n      pcVar8 = __s + iVar9;\n    }" { (expression_statement "iVar3 = *(int *)(unaff_EDI + 0x6fe9);" (assignment_expression "iVar3 = *(int *)(unaff_EDI + 0x6fe9)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x6fe9)" * (cast_expression "(int *)(unaff_EDI + 0x6fe9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x6fe9)" ( (binary_expression "unaff_EDI + 0x6fe9" identifier + number_literal) ))))) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                         (char **)((int)&address + 4));\n        if (uVar7 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar7) ||\n           ((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar9] = (char)uVar7;\n        iVar9 = iVar9 + 1;\n      } while (iVar9 < *(int *)(unaff_EDI + 0x7231));" do (compound_statement "{\n        uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                         (char **)((int)&address + 4));\n        if (uVar7 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar7) ||\n           ((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar9] = (char)uVar7;\n        iVar9 = iVar9 + 1;\n      }" { (expression_statement "uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                         (char **)((int)&address + 4));" (assignment_expression "uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                         (char **)((int)&address + 4))" identifier = (call_expression "get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                         (char **)((int)&address + 4))" identifier (argument_list "(stream_00,(file_ptr *)&local_24,(int *)&address,\n                         (char **)((int)&address + 4))" ( identifier , (cast_expression "(file_ptr *)&local_24" ( (type_descriptor "file_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (cast_expression "(int *)&address" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&address" & identifier)) , (cast_expression "(char **)((int)&address + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&address + 4)" ( (binary_expression "(int)&address + 4" (cast_expression "(int)&address" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&address" & identifier)) + number_literal) ))) )))) ;) (if_statement "if (uVar7 == 0xffffffff) {\n          free(__s);\n          return;\n        }" if (parenthesized_expression "(uVar7 == 0xffffffff)" ( (binary_expression "uVar7 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n          free(__s);\n          return;\n        }" { (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if ((0xff < uVar7) ||\n           ((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;" if (parenthesized_expression "((0xff < uVar7) ||\n           ((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0))))))" ( (binary_expression "(0xff < uVar7) ||\n           ((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))" (parenthesized_expression "(0xff < uVar7)" ( (binary_expression "0xff < uVar7" number_literal < identifier) )) || (parenthesized_expression "((((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))" ( (parenthesized_expression "(((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0))))" ( (binary_expression "((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))" (parenthesized_expression "((uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80))))" ( (binary_expression "(uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))" (parenthesized_expression "(uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0))" ( (binary_expression "uVar7 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)" (binary_expression "uVar7 != 9" identifier != number_literal) && (parenthesized_expression "(uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0)" ( (comma_expression "uVar1 = *(ushort *)(iVar3 + uVar7 * 2), (uVar1 & 0x10) == 0" (assignment_expression "uVar1 = *(ushort *)(iVar3 + uVar7 * 2)" identifier = (pointer_expression "*(ushort *)(iVar3 + uVar7 * 2)" * (cast_expression "(ushort *)(iVar3 + uVar7 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + uVar7 * 2)" ( (binary_expression "iVar3 + uVar7 * 2" identifier + (binary_expression "uVar7 * 2" identifier * number_literal)) ))))) , (binary_expression "(uVar1 & 0x10) == 0" (parenthesized_expression "(uVar1 & 0x10)" ( (binary_expression "uVar1 & 0x10" identifier & number_literal) )) == number_literal)) ))) )) && (parenthesized_expression "((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)))" ( (parenthesized_expression "(*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80))" ( (binary_expression "*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar7 < 0x80)" (binary_expression "*(char *)(unaff_EDI + 0x7219) != 'S'" (pointer_expression "*(char *)(unaff_EDI + 0x7219)" * (cast_expression "(char *)(unaff_EDI + 0x7219)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7219)" ( (binary_expression "unaff_EDI + 0x7219" identifier + number_literal) )))) != (char_literal "'S'" ' character ')) || (parenthesized_expression "((int)uVar7 < 0x80)" ( (binary_expression "(int)uVar7 < 0x80" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) ))) )) ))) )) && (parenthesized_expression "((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))" ( (parenthesized_expression "(*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0))" ( (binary_expression "*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)" (binary_expression "*(int *)(unaff_EDI + 0x722d) == 0" (pointer_expression "*(int *)(unaff_EDI + 0x722d)" * (cast_expression "(int *)(unaff_EDI + 0x722d)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x722d)" ( (binary_expression "unaff_EDI + 0x722d" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "((uVar1 & 0x40) == 0)" ( (binary_expression "(uVar1 & 0x40) == 0" (parenthesized_expression "(uVar1 & 0x40)" ( (binary_expression "uVar1 & 0x40" identifier & number_literal) )) == number_literal) ))) )) ))) )) ))) )) (goto_statement "goto LAB_0001204c;" goto statement_identifier ;)) (expression_statement "__s[iVar9] = (char)uVar7;" (assignment_expression "__s[iVar9] = (char)uVar7" (subscript_expression "__s[iVar9]" identifier [ identifier ]) = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar9 < *(int *)(unaff_EDI + 0x7231))" ( (binary_expression "iVar9 < *(int *)(unaff_EDI + 0x7231)" identifier < (pointer_expression "*(int *)(unaff_EDI + 0x7231)" * (cast_expression "(int *)(unaff_EDI + 0x7231)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7231)" ( (binary_expression "unaff_EDI + 0x7231" identifier + number_literal) ))))) )) ;) (expression_statement "pcVar8 = __s + iVar9;" (assignment_expression "pcVar8 = __s + iVar9" identifier = (binary_expression "__s + iVar9" identifier + identifier)) ;) })) (if_statement "if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),(int)uVar10);\n    }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x7225) != 0)" ( (binary_expression "*(int *)(unaff_EDI + 0x7225) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x7225)" * (cast_expression "(int *)(unaff_EDI + 0x7225)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7225)" ( (binary_expression "unaff_EDI + 0x7225" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      printf((char *)(unaff_EDI + 0x3545),(int)uVar10);\n    }" { (expression_statement "printf((char *)(unaff_EDI + 0x3545),(int)uVar10);" (call_expression "printf((char *)(unaff_EDI + 0x3545),(int)uVar10)" identifier (argument_list "((char *)(unaff_EDI + 0x3545),(int)uVar10)" ( (cast_expression "(char *)(unaff_EDI + 0x3545)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3545)" ( (binary_expression "unaff_EDI + 0x3545" identifier + number_literal) ))) , (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) })) (if_statement "if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,pcVar5,pFVar6);\n    }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x7229) != 0)" ( (binary_expression "*(int *)(unaff_EDI + 0x7229) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x7229)" * (cast_expression "(int *)(unaff_EDI + 0x7229)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7229)" ( (binary_expression "unaff_EDI + 0x7229" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,pcVar5,pFVar6);\n    }" { (expression_statement "iVar3 = *(int *)(unaff_EDI + 0x7235);" (assignment_expression "iVar3 = *(int *)(unaff_EDI + 0x7235)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x7235)" * (cast_expression "(int *)(unaff_EDI + 0x7235)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7235)" ( (binary_expression "unaff_EDI + 0x7235" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" if (parenthesized_expression "(iVar3 == 10)" ( (binary_expression "iVar3 == 10" identifier == number_literal) )) (compound_statement "{\n        __format = (char *)(unaff_EDI + 0x3551);\n      }" { (expression_statement "__format = (char *)(unaff_EDI + 0x3551);" (assignment_expression "__format = (char *)(unaff_EDI + 0x3551)" identifier = (cast_expression "(char *)(unaff_EDI + 0x3551)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3551)" ( (binary_expression "unaff_EDI + 0x3551" identifier + number_literal) )))) ;) }) (else_clause "else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" else (if_statement "if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" if (parenthesized_expression "(iVar3 == 0x10)" ( (binary_expression "iVar3 == 0x10" identifier == number_literal) )) (compound_statement "{\n        __format = (char *)(unaff_EDI + 0x3558);\n      }" { (expression_statement "__format = (char *)(unaff_EDI + 0x3558);" (assignment_expression "__format = (char *)(unaff_EDI + 0x3558)" identifier = (cast_expression "(char *)(unaff_EDI + 0x3558)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3558)" ( (binary_expression "unaff_EDI + 0x3558" identifier + number_literal) )))) ;) }) (else_clause "else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" else (compound_statement "{\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" { (if_statement "if (iVar3 != 8) goto LAB_0001211f;" if (parenthesized_expression "(iVar3 != 8)" ( (binary_expression "iVar3 != 8" identifier != number_literal) )) (goto_statement "goto LAB_0001211f;" goto statement_identifier ;)) (expression_statement "__format = (char *)(unaff_EDI + 0x354a);" (assignment_expression "__format = (char *)(unaff_EDI + 0x354a)" identifier = (cast_expression "(char *)(unaff_EDI + 0x354a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x354a)" ( (binary_expression "unaff_EDI + 0x354a" identifier + number_literal) )))) ;) }))))) (expression_statement "printf(__format,pcVar5,pFVar6);" (call_expression "printf(__format,pcVar5,pFVar6)" identifier (argument_list "(__format,pcVar5,pFVar6)" ( identifier , identifier , identifier ))) ;) })) (labeled_statement "LAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);" statement_identifier : (expression_statement "puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);" (assignment_expression "puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9)" identifier = (pointer_expression "*(undefined4 **)(unaff_EDI + 0x6ff9)" * (cast_expression "(undefined4 **)(unaff_EDI + 0x6ff9)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x6ff9)" ( (binary_expression "unaff_EDI + 0x6ff9" identifier + number_literal) ))))) ;)) (expression_statement "*pcVar8 = '\0';" (assignment_expression "*pcVar8 = '\0'" (pointer_expression "*pcVar8" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "fputs(__s,(FILE *)*puVar4);" (call_expression "fputs(__s,(FILE *)*puVar4)" identifier (argument_list "(__s,(FILE *)*puVar4)" ( identifier , (cast_expression "(FILE *)*puVar4" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) ))) ;) (while_statement "while ((uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                             (char **)((int)&address + 4)), uVar7 < 0x100 &&\n           ((((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar7,(FILE *)*puVar4);\n    }" while (parenthesized_expression "((uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                             (char **)((int)&address + 4)), uVar7 < 0x100 &&\n           ((((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))))" ( (parenthesized_expression "(uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                             (char **)((int)&address + 4)), uVar7 < 0x100 &&\n           ((((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))" ( (comma_expression "uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                             (char **)((int)&address + 4)), uVar7 < 0x100 &&\n           ((((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))" (assignment_expression "uVar7 = get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                             (char **)((int)&address + 4))" identifier = (call_expression "get_char(stream_00,(file_ptr *)&local_24,(int *)&address,\n                             (char **)((int)&address + 4))" identifier (argument_list "(stream_00,(file_ptr *)&local_24,(int *)&address,\n                             (char **)((int)&address + 4))" ( identifier , (cast_expression "(file_ptr *)&local_24" ( (type_descriptor "file_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier)) , (cast_expression "(int *)&address" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&address" & identifier)) , (cast_expression "(char **)((int)&address + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&address + 4)" ( (binary_expression "(int)&address + 4" (cast_expression "(int)&address" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&address" & identifier)) + number_literal) ))) )))) , (binary_expression "uVar7 < 0x100 &&\n           ((((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))" (binary_expression "uVar7 < 0x100" identifier < number_literal) && (parenthesized_expression "((((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))" ( (parenthesized_expression "(((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))" ( (binary_expression "((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))" (parenthesized_expression "((uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7))))" ( (binary_expression "(uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))" (parenthesized_expression "(uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0))" ( (binary_expression "uVar7 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)" (binary_expression "uVar7 == 9" identifier == number_literal) || (parenthesized_expression "(uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0)" ( (comma_expression "uVar1 = *(ushort *)(iVar2 + uVar7 * 2), (uVar1 & 0x10) != 0" (assignment_expression "uVar1 = *(ushort *)(iVar2 + uVar7 * 2)" identifier = (pointer_expression "*(ushort *)(iVar2 + uVar7 * 2)" * (cast_expression "(ushort *)(iVar2 + uVar7 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar7 * 2)" ( (binary_expression "iVar2 + uVar7 * 2" identifier + (binary_expression "uVar7 * 2" identifier * number_literal)) ))))) , (binary_expression "(uVar1 & 0x10) != 0" (parenthesized_expression "(uVar1 & 0x10)" ( (binary_expression "uVar1 & 0x10" identifier & number_literal) )) != number_literal)) ))) )) || (parenthesized_expression "((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)))" ( (parenthesized_expression "(*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7))" ( (binary_expression "*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar7)" (binary_expression "*(char *)(unaff_EDI + 0x7219) == 'S'" (pointer_expression "*(char *)(unaff_EDI + 0x7219)" * (cast_expression "(char *)(unaff_EDI + 0x7219)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7219)" ( (binary_expression "unaff_EDI + 0x7219" identifier + number_literal) )))) == (char_literal "'S'" ' character ')) && (parenthesized_expression "(0x7f < (int)uVar7)" ( (binary_expression "0x7f < (int)uVar7" number_literal < (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) ))) )) || (parenthesized_expression "((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))" ( (parenthesized_expression "(*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))" ( (binary_expression "*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)" (binary_expression "*(int *)(unaff_EDI + 0x722d) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x722d)" * (cast_expression "(int *)(unaff_EDI + 0x722d)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x722d)" ( (binary_expression "unaff_EDI + 0x722d" identifier + number_literal) )))) != number_literal) && (parenthesized_expression "((uVar1 & 0x40) != 0)" ( (binary_expression "(uVar1 & 0x40) != 0" (parenthesized_expression "(uVar1 & 0x40)" ( (binary_expression "uVar1 & 0x40" identifier & number_literal) )) != number_literal) ))) )) ))) )) )))) )) )) (compound_statement "{\n      putc(uVar7,(FILE *)*puVar4);\n    }" { (expression_statement "putc(uVar7,(FILE *)*puVar4);" (call_expression "putc(uVar7,(FILE *)*puVar4)" identifier (argument_list "(uVar7,(FILE *)*puVar4)" ( identifier , (cast_expression "(FILE *)*puVar4" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) ))) ;) })) (if_statement "if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }" if (parenthesized_expression "(*(char **)(unaff_EDI + 0x7211) == (char *)0x0)" ( (binary_expression "*(char **)(unaff_EDI + 0x7211) == (char *)0x0" (pointer_expression "*(char **)(unaff_EDI + 0x7211)" * (cast_expression "(char **)(unaff_EDI + 0x7211)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x7211)" ( (binary_expression "unaff_EDI + 0x7211" identifier + number_literal) )))) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      putc(10,(FILE *)*puVar4);\n    }" { (expression_statement "putc(10,(FILE *)*puVar4);" (call_expression "putc(10,(FILE *)*puVar4)" identifier (argument_list "(10,(FILE *)*puVar4)" ( number_literal , (cast_expression "(FILE *)*puVar4" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) ))) ;) }) (else_clause "else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }" else (compound_statement "{\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }" { (expression_statement "fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);" (call_expression "fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4)" identifier (argument_list "(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4)" ( (pointer_expression "*(char **)(unaff_EDI + 0x7211)" * (cast_expression "(char **)(unaff_EDI + 0x7211)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x7211)" ( (binary_expression "unaff_EDI + 0x7211" identifier + number_literal) )))) , (cast_expression "(FILE *)*puVar4" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) ))) ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "void FUN_00011ff0(undefined4 param_1,undefined4 param_2)\n\n{\n  ushort uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  char *__s;\n  uint uVar6;\n  char *__format;\n  char *pcVar7;\n  int iVar8;\n  int unaff_EDI;\n  \n  uVar5 = FUN_00012287();\n  __s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);\n  iVar2 = *(int *)(unaff_EDI + 0x6fe9);\nLAB_0001204c:\n  do {\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );\n}\n\n" (function_definition "void FUN_00011ff0(undefined4 param_1,undefined4 param_2)\n\n{\n  ushort uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  char *__s;\n  uint uVar6;\n  char *__format;\n  char *pcVar7;\n  int iVar8;\n  int unaff_EDI;\n  \n  uVar5 = FUN_00012287();\n  __s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);\n  iVar2 = *(int *)(unaff_EDI + 0x6fe9);\nLAB_0001204c:\n  do {\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );\n}" primitive_type (function_declarator "FUN_00011ff0(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  ushort uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  char *__s;\n  uint uVar6;\n  char *__format;\n  char *pcVar7;\n  int iVar8;\n  int unaff_EDI;\n  \n  uVar5 = FUN_00012287();\n  __s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);\n  iVar2 = *(int *)(unaff_EDI + 0x6fe9);\nLAB_0001204c:\n  do {\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char *__s;" primitive_type (pointer_declarator "*__s" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "uVar5 = FUN_00012287();" (assignment_expression "uVar5 = FUN_00012287()" identifier = (call_expression "FUN_00012287()" identifier (argument_list "()" ( )))) ;) (expression_statement "__s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);" (assignment_expression "__s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1)" identifier = (cast_expression "(char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(*(int *)(unaff_EDI + 0x7231) + 1)" identifier (argument_list "(*(int *)(unaff_EDI + 0x7231) + 1)" ( (binary_expression "*(int *)(unaff_EDI + 0x7231) + 1" (pointer_expression "*(int *)(unaff_EDI + 0x7231)" * (cast_expression "(int *)(unaff_EDI + 0x7231)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7231)" ( (binary_expression "unaff_EDI + 0x7231" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(unaff_EDI + 0x6fe9);" (assignment_expression "iVar2 = *(int *)(unaff_EDI + 0x6fe9)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x6fe9)" * (cast_expression "(int *)(unaff_EDI + 0x6fe9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x6fe9)" ( (binary_expression "unaff_EDI + 0x6fe9" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0001204c:\n  do {\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );" statement_identifier : (do_statement "do {\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );" do (compound_statement "{\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  }" { (expression_statement "pcVar7 = __s;" (assignment_expression "pcVar7 = __s" identifier = identifier) ;) (if_statement "if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }" if (parenthesized_expression "(0 < *(int *)(unaff_EDI + 0x7231))" ( (binary_expression "0 < *(int *)(unaff_EDI + 0x7231)" number_literal < (pointer_expression "*(int *)(unaff_EDI + 0x7231)" * (cast_expression "(int *)(unaff_EDI + 0x7231)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7231)" ( (binary_expression "unaff_EDI + 0x7231" identifier + number_literal) ))))) )) (compound_statement "{\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }" { (expression_statement "iVar3 = *(int *)(unaff_EDI + 0x6fe9);" (assignment_expression "iVar3 = *(int *)(unaff_EDI + 0x6fe9)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x6fe9)" * (cast_expression "(int *)(unaff_EDI + 0x6fe9)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x6fe9)" ( (binary_expression "unaff_EDI + 0x6fe9" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));" do (compound_statement "{\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      }" { (expression_statement "uVar6 = FUN_00011de0(&stack0x00000010);" (assignment_expression "uVar6 = FUN_00011de0(&stack0x00000010)" identifier = (call_expression "FUN_00011de0(&stack0x00000010)" identifier (argument_list "(&stack0x00000010)" ( (pointer_expression "&stack0x00000010" & identifier) )))) ;) (if_statement "if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }" if (parenthesized_expression "(uVar6 == 0xffffffff)" ( (binary_expression "uVar6 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n          free(__s);\n          return;\n        }" { (expression_statement "free(__s);" (call_expression "free(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (return_statement "return;" return ;) })) (if_statement "if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;" if (parenthesized_expression "((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0))))))" ( (binary_expression "(0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))" (parenthesized_expression "(0xff < uVar6)" ( (binary_expression "0xff < uVar6" number_literal < identifier) )) || (parenthesized_expression "((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))" ( (parenthesized_expression "(((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0))))" ( (binary_expression "((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))" (parenthesized_expression "((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80))))" ( (binary_expression "(uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))" (parenthesized_expression "(uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0))" ( (binary_expression "uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)" (binary_expression "uVar6 != 9" identifier != number_literal) && (parenthesized_expression "(uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)" ( (comma_expression "uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0" (assignment_expression "uVar1 = *(ushort *)(iVar3 + uVar6 * 2)" identifier = (pointer_expression "*(ushort *)(iVar3 + uVar6 * 2)" * (cast_expression "(ushort *)(iVar3 + uVar6 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + uVar6 * 2)" ( (binary_expression "iVar3 + uVar6 * 2" identifier + (binary_expression "uVar6 * 2" identifier * number_literal)) ))))) , (binary_expression "(uVar1 & 0x10) == 0" (parenthesized_expression "(uVar1 & 0x10)" ( (binary_expression "uVar1 & 0x10" identifier & number_literal) )) == number_literal)) ))) )) && (parenthesized_expression "((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))" ( (parenthesized_expression "(*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80))" ( (binary_expression "*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)" (binary_expression "*(char *)(unaff_EDI + 0x7219) != 'S'" (pointer_expression "*(char *)(unaff_EDI + 0x7219)" * (cast_expression "(char *)(unaff_EDI + 0x7219)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7219)" ( (binary_expression "unaff_EDI + 0x7219" identifier + number_literal) )))) != (char_literal "'S'" ' character ')) || (parenthesized_expression "((int)uVar6 < 0x80)" ( (binary_expression "(int)uVar6 < 0x80" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) ))) )) ))) )) && (parenthesized_expression "((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))" ( (parenthesized_expression "(*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0))" ( (binary_expression "*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)" (binary_expression "*(int *)(unaff_EDI + 0x722d) == 0" (pointer_expression "*(int *)(unaff_EDI + 0x722d)" * (cast_expression "(int *)(unaff_EDI + 0x722d)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x722d)" ( (binary_expression "unaff_EDI + 0x722d" identifier + number_literal) )))) == number_literal) || (parenthesized_expression "((uVar1 & 0x40) == 0)" ( (binary_expression "(uVar1 & 0x40) == 0" (parenthesized_expression "(uVar1 & 0x40)" ( (binary_expression "uVar1 & 0x40" identifier & number_literal) )) == number_literal) ))) )) ))) )) ))) )) (goto_statement "goto LAB_0001204c;" goto statement_identifier ;)) (expression_statement "__s[iVar8] = (char)uVar6;" (assignment_expression "__s[iVar8] = (char)uVar6" (subscript_expression "__s[iVar8]" identifier [ identifier ]) = (cast_expression "(char)uVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 < *(int *)(unaff_EDI + 0x7231))" ( (binary_expression "iVar8 < *(int *)(unaff_EDI + 0x7231)" identifier < (pointer_expression "*(int *)(unaff_EDI + 0x7231)" * (cast_expression "(int *)(unaff_EDI + 0x7231)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7231)" ( (binary_expression "unaff_EDI + 0x7231" identifier + number_literal) ))))) )) ;) (expression_statement "pcVar7 = __s + iVar8;" (assignment_expression "pcVar7 = __s + iVar8" identifier = (binary_expression "__s + iVar8" identifier + identifier)) ;) })) (if_statement "if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x7225) != 0)" ( (binary_expression "*(int *)(unaff_EDI + 0x7225) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x7225)" * (cast_expression "(int *)(unaff_EDI + 0x7225)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7225)" ( (binary_expression "unaff_EDI + 0x7225" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }" { (expression_statement "printf((char *)(unaff_EDI + 0x3545),uVar5);" (call_expression "printf((char *)(unaff_EDI + 0x3545),uVar5)" identifier (argument_list "((char *)(unaff_EDI + 0x3545),uVar5)" ( (cast_expression "(char *)(unaff_EDI + 0x3545)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3545)" ( (binary_expression "unaff_EDI + 0x3545" identifier + number_literal) ))) , identifier ))) ;) })) (if_statement "if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0x7229) != 0)" ( (binary_expression "*(int *)(unaff_EDI + 0x7229) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x7229)" * (cast_expression "(int *)(unaff_EDI + 0x7229)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7229)" ( (binary_expression "unaff_EDI + 0x7229" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }" { (expression_statement "iVar3 = *(int *)(unaff_EDI + 0x7235);" (assignment_expression "iVar3 = *(int *)(unaff_EDI + 0x7235)" identifier = (pointer_expression "*(int *)(unaff_EDI + 0x7235)" * (cast_expression "(int *)(unaff_EDI + 0x7235)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7235)" ( (binary_expression "unaff_EDI + 0x7235" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" if (parenthesized_expression "(iVar3 == 10)" ( (binary_expression "iVar3 == 10" identifier == number_literal) )) (compound_statement "{\n        __format = (char *)(unaff_EDI + 0x3551);\n      }" { (expression_statement "__format = (char *)(unaff_EDI + 0x3551);" (assignment_expression "__format = (char *)(unaff_EDI + 0x3551)" identifier = (cast_expression "(char *)(unaff_EDI + 0x3551)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3551)" ( (binary_expression "unaff_EDI + 0x3551" identifier + number_literal) )))) ;) }) (else_clause "else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" else (if_statement "if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" if (parenthesized_expression "(iVar3 == 0x10)" ( (binary_expression "iVar3 == 0x10" identifier == number_literal) )) (compound_statement "{\n        __format = (char *)(unaff_EDI + 0x3558);\n      }" { (expression_statement "__format = (char *)(unaff_EDI + 0x3558);" (assignment_expression "__format = (char *)(unaff_EDI + 0x3558)" identifier = (cast_expression "(char *)(unaff_EDI + 0x3558)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x3558)" ( (binary_expression "unaff_EDI + 0x3558" identifier + number_literal) )))) ;) }) (else_clause "else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" else (compound_statement "{\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" { (if_statement "if (iVar3 != 8) goto LAB_0001211f;" if (parenthesized_expression "(iVar3 != 8)" ( (binary_expression "iVar3 != 8" identifier != number_literal) )) (goto_statement "goto LAB_0001211f;" goto statement_identifier ;)) (expression_statement "__format = (char *)(unaff_EDI + 0x354a);" (assignment_expression "__format = (char *)(unaff_EDI + 0x354a)" identifier = (cast_expression "(char *)(unaff_EDI + 0x354a)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x354a)" ( (binary_expression "unaff_EDI + 0x354a" identifier + number_literal) )))) ;) }))))) (expression_statement "printf(__format,param_1,param_2);" (call_expression "printf(__format,param_1,param_2)" identifier (argument_list "(__format,param_1,param_2)" ( identifier , identifier , identifier ))) ;) })) (labeled_statement "LAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);" statement_identifier : (expression_statement "puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);" (assignment_expression "puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9)" identifier = (pointer_expression "*(undefined4 **)(unaff_EDI + 0x6ff9)" * (cast_expression "(undefined4 **)(unaff_EDI + 0x6ff9)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x6ff9)" ( (binary_expression "unaff_EDI + 0x6ff9" identifier + number_literal) ))))) ;)) (expression_statement "*pcVar7 = '\0';" (assignment_expression "*pcVar7 = '\0'" (pointer_expression "*pcVar7" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "fputs(__s,(FILE *)*puVar4);" (call_expression "fputs(__s,(FILE *)*puVar4)" identifier (argument_list "(__s,(FILE *)*puVar4)" ( identifier , (cast_expression "(FILE *)*puVar4" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) ))) ;) (while_statement "while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }" while (parenthesized_expression "((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))))" ( (parenthesized_expression "(uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))" ( (comma_expression "uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))" (assignment_expression "uVar6 = FUN_00011de0(&stack0x00000010)" identifier = (call_expression "FUN_00011de0(&stack0x00000010)" identifier (argument_list "(&stack0x00000010)" ( (pointer_expression "&stack0x00000010" & identifier) )))) , (binary_expression "uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))" (binary_expression "uVar6 < 0x100" identifier < number_literal) && (parenthesized_expression "((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))" ( (parenthesized_expression "(((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))" ( (binary_expression "((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))" (parenthesized_expression "((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6))))" ( (binary_expression "(uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))" (parenthesized_expression "(uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0))" ( (binary_expression "uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)" (binary_expression "uVar6 == 9" identifier == number_literal) || (parenthesized_expression "(uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)" ( (comma_expression "uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0" (assignment_expression "uVar1 = *(ushort *)(iVar2 + uVar6 * 2)" identifier = (pointer_expression "*(ushort *)(iVar2 + uVar6 * 2)" * (cast_expression "(ushort *)(iVar2 + uVar6 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + uVar6 * 2)" ( (binary_expression "iVar2 + uVar6 * 2" identifier + (binary_expression "uVar6 * 2" identifier * number_literal)) ))))) , (binary_expression "(uVar1 & 0x10) != 0" (parenthesized_expression "(uVar1 & 0x10)" ( (binary_expression "uVar1 & 0x10" identifier & number_literal) )) != number_literal)) ))) )) || (parenthesized_expression "((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))" ( (parenthesized_expression "(*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6))" ( (binary_expression "*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)" (binary_expression "*(char *)(unaff_EDI + 0x7219) == 'S'" (pointer_expression "*(char *)(unaff_EDI + 0x7219)" * (cast_expression "(char *)(unaff_EDI + 0x7219)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x7219)" ( (binary_expression "unaff_EDI + 0x7219" identifier + number_literal) )))) == (char_literal "'S'" ' character ')) && (parenthesized_expression "(0x7f < (int)uVar6)" ( (binary_expression "0x7f < (int)uVar6" number_literal < (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )) ))) )) || (parenthesized_expression "((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))" ( (parenthesized_expression "(*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))" ( (binary_expression "*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)" (binary_expression "*(int *)(unaff_EDI + 0x722d) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x722d)" * (cast_expression "(int *)(unaff_EDI + 0x722d)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x722d)" ( (binary_expression "unaff_EDI + 0x722d" identifier + number_literal) )))) != number_literal) && (parenthesized_expression "((uVar1 & 0x40) != 0)" ( (binary_expression "(uVar1 & 0x40) != 0" (parenthesized_expression "(uVar1 & 0x40)" ( (binary_expression "uVar1 & 0x40" identifier & number_literal) )) != number_literal) ))) )) ))) )) )))) )) )) (compound_statement "{\n      putc(uVar6,(FILE *)*puVar4);\n    }" { (expression_statement "putc(uVar6,(FILE *)*puVar4);" (call_expression "putc(uVar6,(FILE *)*puVar4)" identifier (argument_list "(uVar6,(FILE *)*puVar4)" ( identifier , (cast_expression "(FILE *)*puVar4" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) ))) ;) })) (if_statement "if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }" if (parenthesized_expression "(*(char **)(unaff_EDI + 0x7211) == (char *)0x0)" ( (binary_expression "*(char **)(unaff_EDI + 0x7211) == (char *)0x0" (pointer_expression "*(char **)(unaff_EDI + 0x7211)" * (cast_expression "(char **)(unaff_EDI + 0x7211)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x7211)" ( (binary_expression "unaff_EDI + 0x7211" identifier + number_literal) )))) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      putc(10,(FILE *)*puVar4);\n    }" { (expression_statement "putc(10,(FILE *)*puVar4);" (call_expression "putc(10,(FILE *)*puVar4)" identifier (argument_list "(10,(FILE *)*puVar4)" ( number_literal , (cast_expression "(FILE *)*puVar4" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) ))) ;) }) (else_clause "else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }" else (compound_statement "{\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }" { (expression_statement "fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);" (call_expression "fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4)" identifier (argument_list "(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4)" ( (pointer_expression "*(char **)(unaff_EDI + 0x7211)" * (cast_expression "(char **)(unaff_EDI + 0x7211)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x7211)" ( (binary_expression "unaff_EDI + 0x7211" identifier + number_literal) )))) , (cast_expression "(FILE *)*puVar4" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier)) ))) ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (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) ))))) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (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 = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) , (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' character ')) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ))) )) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) ))) )) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (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 { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , IDENT ))) ;) })) (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 { (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 IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }))))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) (labeled_statement statement_identifier : (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 (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) , (binary_expression (binary_expression IDENT < LIT) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) , (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT)) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' character ')) && (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) ))) )) )))) )) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) }))) }) while (parenthesized_expression ( BOOL )) ;)) })))
(function_definition "void FUN_00011ff0(undefined4 param_1,undefined4 param_2)\n\n{\n  ushort uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  char *__s;\n  uint uVar6;\n  char *__format;\n  char *pcVar7;\n  int iVar8;\n  int unaff_EDI;\n  \n  uVar5 = FUN_00012287();\n  __s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);\n  iVar2 = *(int *)(unaff_EDI + 0x6fe9);\nLAB_0001204c:\n  do {\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_00011ff0(undefined4 param_1,undefined4 param_2)" (identifier "FUN_00011ff0") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  ushort uVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  char *__s;\n  uint uVar6;\n  char *__format;\n  char *pcVar7;\n  int iVar8;\n  int unaff_EDI;\n  \n  uVar5 = FUN_00012287();\n  __s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);\n  iVar2 = *(int *)(unaff_EDI + 0x6fe9);\nLAB_0001204c:\n  do {\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );\n}" ({ "{") (declaration "ushort uVar1;" (type_identifier "ushort") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "char *__s;" (primitive_type "char") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (expression_statement "uVar5 = FUN_00012287();" (assignment_expression "uVar5 = FUN_00012287()" (identifier "uVar5") (= "=") (call_expression "FUN_00012287()" (identifier "FUN_00012287") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "__s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);" (assignment_expression "__s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1)" (identifier "__s") (= "=") (cast_expression "(char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(*(int *)(unaff_EDI + 0x7231) + 1)" (identifier "xmalloc") (argument_list "(*(int *)(unaff_EDI + 0x7231) + 1)" (( "(") (binary_expression "*(int *)(unaff_EDI + 0x7231) + 1" (pointer_expression "*(int *)(unaff_EDI + 0x7231)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x7231)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x7231)" (( "(") (binary_expression "unaff_EDI + 0x7231" (identifier "unaff_EDI") (+ "+") (number_literal "0x7231")) () ")")))) (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(unaff_EDI + 0x6fe9);" (assignment_expression "iVar2 = *(int *)(unaff_EDI + 0x6fe9)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(unaff_EDI + 0x6fe9)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x6fe9)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x6fe9)" (( "(") (binary_expression "unaff_EDI + 0x6fe9" (identifier "unaff_EDI") (+ "+") (number_literal "0x6fe9")) () ")"))))) (; ";")) (labeled_statement "LAB_0001204c:\n  do {\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );" (statement_identifier "LAB_0001204c") (: ":") (do_statement "do {\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  } while( true );" (do "do") (compound_statement "{\n    pcVar7 = __s;\n    if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }\n    if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }\n    if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }\nLAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);\n    *pcVar7 = '\0';\n    fputs(__s,(FILE *)*puVar4);\n    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }\n    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }\n  }" ({ "{") (expression_statement "pcVar7 = __s;" (assignment_expression "pcVar7 = __s" (identifier "pcVar7") (= "=") (identifier "__s")) (; ";")) (if_statement "if (0 < *(int *)(unaff_EDI + 0x7231)) {\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }" (if "if") (parenthesized_expression "(0 < *(int *)(unaff_EDI + 0x7231))" (( "(") (binary_expression "0 < *(int *)(unaff_EDI + 0x7231)" (number_literal "0") (< "<") (pointer_expression "*(int *)(unaff_EDI + 0x7231)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x7231)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x7231)" (( "(") (binary_expression "unaff_EDI + 0x7231" (identifier "unaff_EDI") (+ "+") (number_literal "0x7231")) () ")"))))) () ")")) (compound_statement "{\n      iVar3 = *(int *)(unaff_EDI + 0x6fe9);\n      iVar8 = 0;\n      do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));\n      pcVar7 = __s + iVar8;\n    }" ({ "{") (expression_statement "iVar3 = *(int *)(unaff_EDI + 0x6fe9);" (assignment_expression "iVar3 = *(int *)(unaff_EDI + 0x6fe9)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(unaff_EDI + 0x6fe9)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x6fe9)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x6fe9)" (( "(") (binary_expression "unaff_EDI + 0x6fe9" (identifier "unaff_EDI") (+ "+") (number_literal "0x6fe9")) () ")"))))) (; ";")) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));" (do "do") (compound_statement "{\n        uVar6 = FUN_00011de0(&stack0x00000010);\n        if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }\n        if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;\n        __s[iVar8] = (char)uVar6;\n        iVar8 = iVar8 + 1;\n      }" ({ "{") (expression_statement "uVar6 = FUN_00011de0(&stack0x00000010);" (assignment_expression "uVar6 = FUN_00011de0(&stack0x00000010)" (identifier "uVar6") (= "=") (call_expression "FUN_00011de0(&stack0x00000010)" (identifier "FUN_00011de0") (argument_list "(&stack0x00000010)" (( "(") (pointer_expression "&stack0x00000010" (& "&") (identifier "stack0x00000010")) () ")")))) (; ";")) (if_statement "if (uVar6 == 0xffffffff) {\n          free(__s);\n          return;\n        }" (if "if") (parenthesized_expression "(uVar6 == 0xffffffff)" (( "(") (binary_expression "uVar6 == 0xffffffff" (identifier "uVar6") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n          free(__s);\n          return;\n        }" ({ "{") (expression_statement "free(__s);" (call_expression "free(__s)" (identifier "free") (argument_list "(__s)" (( "(") (identifier "__s") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;" (if "if") (parenthesized_expression "((0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0))))))" (( "(") (binary_expression "(0xff < uVar6) ||\n           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))" (parenthesized_expression "(0xff < uVar6)" (( "(") (binary_expression "0xff < uVar6" (number_literal "0xff") (< "<") (identifier "uVar6")) () ")")) (|| "||") (parenthesized_expression "((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))" (( "(") (parenthesized_expression "(((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0))))" (( "(") (binary_expression "((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&\n            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))" (parenthesized_expression "((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80))))" (( "(") (binary_expression "(uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&\n             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))" (parenthesized_expression "(uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0))" (( "(") (binary_expression "uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)" (binary_expression "uVar6 != 9" (identifier "uVar6") (!= "!=") (number_literal "9")) (&& "&&") (parenthesized_expression "(uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)" (( "(") (comma_expression "uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0" (assignment_expression "uVar1 = *(ushort *)(iVar3 + uVar6 * 2)" (identifier "uVar1") (= "=") (pointer_expression "*(ushort *)(iVar3 + uVar6 * 2)" (* "*") (cast_expression "(ushort *)(iVar3 + uVar6 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + uVar6 * 2)" (( "(") (binary_expression "iVar3 + uVar6 * 2" (identifier "iVar3") (+ "+") (binary_expression "uVar6 * 2" (identifier "uVar6") (* "*") (number_literal "2"))) () ")"))))) (, ",") (binary_expression "(uVar1 & 0x10) == 0" (parenthesized_expression "(uVar1 & 0x10)" (( "(") (binary_expression "uVar1 & 0x10" (identifier "uVar1") (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))" (( "(") (parenthesized_expression "(*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80))" (( "(") (binary_expression "*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)" (binary_expression "*(char *)(unaff_EDI + 0x7219) != 'S'" (pointer_expression "*(char *)(unaff_EDI + 0x7219)" (* "*") (cast_expression "(char *)(unaff_EDI + 0x7219)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x7219)" (( "(") (binary_expression "unaff_EDI + 0x7219" (identifier "unaff_EDI") (+ "+") (number_literal "0x7219")) () ")")))) (!= "!=") (char_literal "'S'" (' "'") (character "S") (' "'"))) (|| "||") (parenthesized_expression "((int)uVar6 < 0x80)" (( "(") (binary_expression "(int)uVar6 < 0x80" (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6")) (< "<") (number_literal "0x80")) () ")"))) () ")")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))" (( "(") (parenthesized_expression "(*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0))" (( "(") (binary_expression "*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)" (binary_expression "*(int *)(unaff_EDI + 0x722d) == 0" (pointer_expression "*(int *)(unaff_EDI + 0x722d)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x722d)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x722d)" (( "(") (binary_expression "unaff_EDI + 0x722d" (identifier "unaff_EDI") (+ "+") (number_literal "0x722d")) () ")")))) (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "((uVar1 & 0x40) == 0)" (( "(") (binary_expression "(uVar1 & 0x40) == 0" (parenthesized_expression "(uVar1 & 0x40)" (( "(") (binary_expression "uVar1 & 0x40" (identifier "uVar1") (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_0001204c;" (goto "goto") (statement_identifier "LAB_0001204c") (; ";"))) (expression_statement "__s[iVar8] = (char)uVar6;" (assignment_expression "__s[iVar8] = (char)uVar6" (subscript_expression "__s[iVar8]" (identifier "__s") ([ "[") (identifier "iVar8") (] "]")) (= "=") (cast_expression "(char)uVar6" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar6"))) (; ";")) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar8 < *(int *)(unaff_EDI + 0x7231))" (( "(") (binary_expression "iVar8 < *(int *)(unaff_EDI + 0x7231)" (identifier "iVar8") (< "<") (pointer_expression "*(int *)(unaff_EDI + 0x7231)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x7231)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x7231)" (( "(") (binary_expression "unaff_EDI + 0x7231" (identifier "unaff_EDI") (+ "+") (number_literal "0x7231")) () ")"))))) () ")")) (; ";")) (expression_statement "pcVar7 = __s + iVar8;" (assignment_expression "pcVar7 = __s + iVar8" (identifier "pcVar7") (= "=") (binary_expression "__s + iVar8" (identifier "__s") (+ "+") (identifier "iVar8"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(unaff_EDI + 0x7225) != 0) {\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }" (if "if") (parenthesized_expression "(*(int *)(unaff_EDI + 0x7225) != 0)" (( "(") (binary_expression "*(int *)(unaff_EDI + 0x7225) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x7225)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x7225)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x7225)" (( "(") (binary_expression "unaff_EDI + 0x7225" (identifier "unaff_EDI") (+ "+") (number_literal "0x7225")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      printf((char *)(unaff_EDI + 0x3545),uVar5);\n    }" ({ "{") (expression_statement "printf((char *)(unaff_EDI + 0x3545),uVar5);" (call_expression "printf((char *)(unaff_EDI + 0x3545),uVar5)" (identifier "printf") (argument_list "((char *)(unaff_EDI + 0x3545),uVar5)" (( "(") (cast_expression "(char *)(unaff_EDI + 0x3545)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x3545)" (( "(") (binary_expression "unaff_EDI + 0x3545" (identifier "unaff_EDI") (+ "+") (number_literal "0x3545")) () ")"))) (, ",") (identifier "uVar5") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(unaff_EDI + 0x7229) != 0) {\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }" (if "if") (parenthesized_expression "(*(int *)(unaff_EDI + 0x7229) != 0)" (( "(") (binary_expression "*(int *)(unaff_EDI + 0x7229) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x7229)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x7229)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x7229)" (( "(") (binary_expression "unaff_EDI + 0x7229" (identifier "unaff_EDI") (+ "+") (number_literal "0x7229")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = *(int *)(unaff_EDI + 0x7235);\n      if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }\n      printf(__format,param_1,param_2);\n    }" ({ "{") (expression_statement "iVar3 = *(int *)(unaff_EDI + 0x7235);" (assignment_expression "iVar3 = *(int *)(unaff_EDI + 0x7235)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(unaff_EDI + 0x7235)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x7235)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x7235)" (( "(") (binary_expression "unaff_EDI + 0x7235" (identifier "unaff_EDI") (+ "+") (number_literal "0x7235")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 10) {\n        __format = (char *)(unaff_EDI + 0x3551);\n      }\n      else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" (if "if") (parenthesized_expression "(iVar3 == 10)" (( "(") (binary_expression "iVar3 == 10" (identifier "iVar3") (== "==") (number_literal "10")) () ")")) (compound_statement "{\n        __format = (char *)(unaff_EDI + 0x3551);\n      }" ({ "{") (expression_statement "__format = (char *)(unaff_EDI + 0x3551);" (assignment_expression "__format = (char *)(unaff_EDI + 0x3551)" (identifier "__format") (= "=") (cast_expression "(char *)(unaff_EDI + 0x3551)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x3551)" (( "(") (binary_expression "unaff_EDI + 0x3551" (identifier "unaff_EDI") (+ "+") (number_literal "0x3551")) () ")")))) (; ";")) (} "}")) (else_clause "else if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" (else "else") (if_statement "if (iVar3 == 0x10) {\n        __format = (char *)(unaff_EDI + 0x3558);\n      }\n      else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" (if "if") (parenthesized_expression "(iVar3 == 0x10)" (( "(") (binary_expression "iVar3 == 0x10" (identifier "iVar3") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n        __format = (char *)(unaff_EDI + 0x3558);\n      }" ({ "{") (expression_statement "__format = (char *)(unaff_EDI + 0x3558);" (assignment_expression "__format = (char *)(unaff_EDI + 0x3558)" (identifier "__format") (= "=") (cast_expression "(char *)(unaff_EDI + 0x3558)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x3558)" (( "(") (binary_expression "unaff_EDI + 0x3558" (identifier "unaff_EDI") (+ "+") (number_literal "0x3558")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" (else "else") (compound_statement "{\n        if (iVar3 != 8) goto LAB_0001211f;\n        __format = (char *)(unaff_EDI + 0x354a);\n      }" ({ "{") (if_statement "if (iVar3 != 8) goto LAB_0001211f;" (if "if") (parenthesized_expression "(iVar3 != 8)" (( "(") (binary_expression "iVar3 != 8" (identifier "iVar3") (!= "!=") (number_literal "8")) () ")")) (goto_statement "goto LAB_0001211f;" (goto "goto") (statement_identifier "LAB_0001211f") (; ";"))) (expression_statement "__format = (char *)(unaff_EDI + 0x354a);" (assignment_expression "__format = (char *)(unaff_EDI + 0x354a)" (identifier "__format") (= "=") (cast_expression "(char *)(unaff_EDI + 0x354a)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x354a)" (( "(") (binary_expression "unaff_EDI + 0x354a" (identifier "unaff_EDI") (+ "+") (number_literal "0x354a")) () ")")))) (; ";")) (} "}")))))) (expression_statement "printf(__format,param_1,param_2);" (call_expression "printf(__format,param_1,param_2)" (identifier "printf") (argument_list "(__format,param_1,param_2)" (( "(") (identifier "__format") (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_0001211f:\n    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);" (statement_identifier "LAB_0001211f") (: ":") (expression_statement "puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);" (assignment_expression "puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)(unaff_EDI + 0x6ff9)" (* "*") (cast_expression "(undefined4 **)(unaff_EDI + 0x6ff9)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EDI + 0x6ff9)" (( "(") (binary_expression "unaff_EDI + 0x6ff9" (identifier "unaff_EDI") (+ "+") (number_literal "0x6ff9")) () ")"))))) (; ";"))) (expression_statement "*pcVar7 = '\0';" (assignment_expression "*pcVar7 = '\0'" (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "fputs(__s,(FILE *)*puVar4);" (call_expression "fputs(__s,(FILE *)*puVar4)" (identifier "fputs") (argument_list "(__s,(FILE *)*puVar4)" (( "(") (identifier "__s") (, ",") (cast_expression "(FILE *)*puVar4" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) () ")"))) (; ";")) (while_statement "while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {\n      putc(uVar6,(FILE *)*puVar4);\n    }" (while "while") (parenthesized_expression "((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))))" (( "(") (parenthesized_expression "(uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))" (( "(") (comma_expression "uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))" (assignment_expression "uVar6 = FUN_00011de0(&stack0x00000010)" (identifier "uVar6") (= "=") (call_expression "FUN_00011de0(&stack0x00000010)" (identifier "FUN_00011de0") (argument_list "(&stack0x00000010)" (( "(") (pointer_expression "&stack0x00000010" (& "&") (identifier "stack0x00000010")) () ")")))) (, ",") (binary_expression "uVar6 < 0x100 &&\n           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))" (binary_expression "uVar6 < 0x100" (identifier "uVar6") (< "<") (number_literal "0x100")) (&& "&&") (parenthesized_expression "((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))))" (( "(") (parenthesized_expression "(((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))" (( "(") (binary_expression "((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||\n            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))" (parenthesized_expression "((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6))))" (( "(") (binary_expression "(uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||\n             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))" (parenthesized_expression "(uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0))" (( "(") (binary_expression "uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)" (binary_expression "uVar6 == 9" (identifier "uVar6") (== "==") (number_literal "9")) (|| "||") (parenthesized_expression "(uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)" (( "(") (comma_expression "uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0" (assignment_expression "uVar1 = *(ushort *)(iVar2 + uVar6 * 2)" (identifier "uVar1") (= "=") (pointer_expression "*(ushort *)(iVar2 + uVar6 * 2)" (* "*") (cast_expression "(ushort *)(iVar2 + uVar6 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + uVar6 * 2)" (( "(") (binary_expression "iVar2 + uVar6 * 2" (identifier "iVar2") (+ "+") (binary_expression "uVar6 * 2" (identifier "uVar6") (* "*") (number_literal "2"))) () ")"))))) (, ",") (binary_expression "(uVar1 & 0x10) != 0" (parenthesized_expression "(uVar1 & 0x10)" (( "(") (binary_expression "uVar1 & 0x10" (identifier "uVar1") (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))" (( "(") (parenthesized_expression "(*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6))" (( "(") (binary_expression "*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)" (binary_expression "*(char *)(unaff_EDI + 0x7219) == 'S'" (pointer_expression "*(char *)(unaff_EDI + 0x7219)" (* "*") (cast_expression "(char *)(unaff_EDI + 0x7219)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x7219)" (( "(") (binary_expression "unaff_EDI + 0x7219" (identifier "unaff_EDI") (+ "+") (number_literal "0x7219")) () ")")))) (== "==") (char_literal "'S'" (' "'") (character "S") (' "'"))) (&& "&&") (parenthesized_expression "(0x7f < (int)uVar6)" (( "(") (binary_expression "0x7f < (int)uVar6" (number_literal "0x7f") (< "<") (cast_expression "(int)uVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar6"))) () ")"))) () ")")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)))" (( "(") (parenthesized_expression "(*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))" (( "(") (binary_expression "*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0)" (binary_expression "*(int *)(unaff_EDI + 0x722d) != 0" (pointer_expression "*(int *)(unaff_EDI + 0x722d)" (* "*") (cast_expression "(int *)(unaff_EDI + 0x722d)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x722d)" (( "(") (binary_expression "unaff_EDI + 0x722d" (identifier "unaff_EDI") (+ "+") (number_literal "0x722d")) () ")")))) (!= "!=") (number_literal "0")) (&& "&&") (parenthesized_expression "((uVar1 & 0x40) != 0)" (( "(") (binary_expression "(uVar1 & 0x40) != 0" (parenthesized_expression "(uVar1 & 0x40)" (( "(") (binary_expression "uVar1 & 0x40" (identifier "uVar1") (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) () ")")))) () ")")) () ")")) (compound_statement "{\n      putc(uVar6,(FILE *)*puVar4);\n    }" ({ "{") (expression_statement "putc(uVar6,(FILE *)*puVar4);" (call_expression "putc(uVar6,(FILE *)*puVar4)" (identifier "putc") (argument_list "(uVar6,(FILE *)*puVar4)" (( "(") (identifier "uVar6") (, ",") (cast_expression "(FILE *)*puVar4" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {\n      putc(10,(FILE *)*puVar4);\n    }\n    else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }" (if "if") (parenthesized_expression "(*(char **)(unaff_EDI + 0x7211) == (char *)0x0)" (( "(") (binary_expression "*(char **)(unaff_EDI + 0x7211) == (char *)0x0" (pointer_expression "*(char **)(unaff_EDI + 0x7211)" (* "*") (cast_expression "(char **)(unaff_EDI + 0x7211)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EDI + 0x7211)" (( "(") (binary_expression "unaff_EDI + 0x7211" (identifier "unaff_EDI") (+ "+") (number_literal "0x7211")) () ")")))) (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      putc(10,(FILE *)*puVar4);\n    }" ({ "{") (expression_statement "putc(10,(FILE *)*puVar4);" (call_expression "putc(10,(FILE *)*puVar4)" (identifier "putc") (argument_list "(10,(FILE *)*puVar4)" (( "(") (number_literal "10") (, ",") (cast_expression "(FILE *)*puVar4" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) () ")"))) (; ";")) (} "}")) (else_clause "else {\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }" (else "else") (compound_statement "{\n      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);\n    }" ({ "{") (expression_statement "fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);" (call_expression "fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4)" (identifier "fputs") (argument_list "(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4)" (( "(") (pointer_expression "*(char **)(unaff_EDI + 0x7211)" (* "*") (cast_expression "(char **)(unaff_EDI + 0x7211)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EDI + 0x7211)" (( "(") (binary_expression "unaff_EDI + 0x7211" (identifier "unaff_EDI") (+ "+") (number_literal "0x7211")) () ")")))) (, ",") (cast_expression "(FILE *)*puVar4" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) () ")"))) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";"))) (} "}")))

void function_1(char *filename,type_1 *stream,type_2 address,int stop_point,int magiccount,
                  char *magic)

{
  type_3 var_8;
  int var_13;
  int var_7;
  type_4 *puVar4;
  char *pcVar5;
  type_1 *pFVar6;
  char *var_10;
  type_5 var_5;
  char *__format;
  type_1 *stream_00;
  char *pcVar8;
  int var_9;
  int var_3;
  type_6 uVar10;
  char *local_24;
  type_1 *local_20;
  
  uVar10 = var_1();
  stream_00 = (type_1 *)((type_7)uVar10 >> 0x20);
  local_24 = filename;
  local_20 = stream;
  var_10 = (char *)var_2(*(int *)(var_3 + 0x7231) + 1);
  var_13 = *(int *)(var_3 + 0x6fe9);
LAB_0001204c:
  do {
    pFVar6 = local_20;
    pcVar5 = local_24;
    pcVar8 = var_10;
    if (0 < *(int *)(var_3 + 0x7231)) {
      var_7 = *(int *)(var_3 + 0x6fe9);
      var_9 = 0;
      do {
        var_5 = var_4(stream_00,(type_2 *)&local_24,(int *)&address,
                         (char **)((int)&address + 4));
        if (var_5 == 0xffffffff) {
          var_6(var_10);
          return;
        }
        if ((0xff < var_5) ||
           ((((var_5 != 9 && (var_8 = *(type_3 *)(var_7 + var_5 * 2), (var_8 & 0x10) == 0)) &&
             ((*(char *)(var_3 + 0x7219) != 'S' || ((int)var_5 < 0x80)))) &&
            ((*(int *)(var_3 + 0x722d) == 0 || ((var_8 & 0x40) == 0)))))) goto LAB_0001204c;
        var_10[var_9] = (char)var_5;
        var_9 = var_9 + 1;
      } while (var_9 < *(int *)(var_3 + 0x7231));
      pcVar8 = var_10 + var_9;
    }
    if (*(int *)(var_3 + 0x7225) != 0) {
      var_11((char *)(var_3 + 0x3545),(int)uVar10);
    }
    if (*(int *)(var_3 + 0x7229) != 0) {
      var_7 = *(int *)(var_3 + 0x7235);
      if (var_7 == 10) {
        __format = (char *)(var_3 + 0x3551);
      }
      else if (var_7 == 0x10) {
        __format = (char *)(var_3 + 0x3558);
      }
      else {
        if (var_7 != 8) goto LAB_0001211f;
        __format = (char *)(var_3 + 0x354a);
      }
      var_11(__format,pcVar5,pFVar6);
    }
LAB_0001211f:
    puVar4 = *(type_4 **)(var_3 + 0x6ff9);
    *pcVar8 = '\0';
    var_12(var_10,(type_1 *)*puVar4);
    while ((var_5 = var_4(stream_00,(type_2 *)&local_24,(int *)&address,
                             (char **)((int)&address + 4)), var_5 < 0x100 &&
           ((((var_5 == 9 || (var_8 = *(type_3 *)(var_13 + var_5 * 2), (var_8 & 0x10) != 0)) ||
             ((*(char *)(var_3 + 0x7219) == 'S' && (0x7f < (int)var_5)))) ||
            ((*(int *)(var_3 + 0x722d) != 0 && ((var_8 & 0x40) != 0))))))) {
      var_14(var_5,(type_1 *)*puVar4);
    }
    if (*(char **)(var_3 + 0x7211) == (char *)0x0) {
      var_14(10,(type_1 *)*puVar4);
    }
    else {
      var_12(*(char **)(var_3 + 0x7211),(type_1 *)*puVar4);
    }
  } while( true );
}


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

void MASKED(undefined4 param_1,undefined4 param_2)

{
  ushort uVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  char *__s;
  uint uVar6;
  char *__format;
  char *pcVar7;
  int iVar8;
  int unaff_EDI;
  
  uVar5 = FUN_00012287();
  __s = (char *)xmalloc(*(int *)(unaff_EDI + 0x7231) + 1);
  iVar2 = *(int *)(unaff_EDI + 0x6fe9);
LAB_0001204c:
  do {
    pcVar7 = __s;
    if (0 < *(int *)(unaff_EDI + 0x7231)) {
      iVar3 = *(int *)(unaff_EDI + 0x6fe9);
      iVar8 = 0;
      do {
        uVar6 = FUN_00011de0(&stack0x00000010);
        if (uVar6 == 0xffffffff) {
          free(__s);
          return;
        }
        if ((0xff < uVar6) ||
           ((((uVar6 != 9 && (uVar1 = *(ushort *)(iVar3 + uVar6 * 2), (uVar1 & 0x10) == 0)) &&
             ((*(char *)(unaff_EDI + 0x7219) != 'S' || ((int)uVar6 < 0x80)))) &&
            ((*(int *)(unaff_EDI + 0x722d) == 0 || ((uVar1 & 0x40) == 0)))))) goto LAB_0001204c;
        __s[iVar8] = (char)uVar6;
        iVar8 = iVar8 + 1;
      } while (iVar8 < *(int *)(unaff_EDI + 0x7231));
      pcVar7 = __s + iVar8;
    }
    if (*(int *)(unaff_EDI + 0x7225) != 0) {
      printf((char *)(unaff_EDI + 0x3545),uVar5);
    }
    if (*(int *)(unaff_EDI + 0x7229) != 0) {
      iVar3 = *(int *)(unaff_EDI + 0x7235);
      if (iVar3 == 10) {
        __format = (char *)(unaff_EDI + 0x3551);
      }
      else if (iVar3 == 0x10) {
        __format = (char *)(unaff_EDI + 0x3558);
      }
      else {
        if (iVar3 != 8) goto LAB_0001211f;
        __format = (char *)(unaff_EDI + 0x354a);
      }
      printf(__format,param_1,param_2);
    }
LAB_0001211f:
    puVar4 = *(undefined4 **)(unaff_EDI + 0x6ff9);
    *pcVar7 = '\0';
    fputs(__s,(FILE *)*puVar4);
    while ((uVar6 = FUN_00011de0(&stack0x00000010), uVar6 < 0x100 &&
           ((((uVar6 == 9 || (uVar1 = *(ushort *)(iVar2 + uVar6 * 2), (uVar1 & 0x10) != 0)) ||
             ((*(char *)(unaff_EDI + 0x7219) == 'S' && (0x7f < (int)uVar6)))) ||
            ((*(int *)(unaff_EDI + 0x722d) != 0 && ((uVar1 & 0x40) != 0))))))) {
      putc(uVar6,(FILE *)*puVar4);
    }
    if (*(char **)(unaff_EDI + 0x7211) == (char *)0x0) {
      putc(10,(FILE *)*puVar4);
    }
    else {
      fputs(*(char **)(unaff_EDI + 0x7211),(FILE *)*puVar4);
    }
  } while( true );
}

