
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "LogEventType": Some values do not have unique names */

size_t EncodeImage(Image *image,uchar *scanline,size_t bytes_per_line,uchar *pixels)

{
  Image *image_00;
  int iVar1;
  uint extraout_ECX;
  int iVar2;
  Image *pIVar3;
  Image *pIVar4;
  undefined1 uVar5;
  undefined1 uVar6;
  int iVar7;
  size_t sVar8;
  Image *pIVar9;
  char *pcVar10;
  int unaff_EDI;
  undefined8 uVar11;
  int local_2c;
  
  uVar11 = __x86_get_pc_thunk_di();
  iVar7 = (int)((ulonglong)uVar11 >> 0x20);
  image_00 = (Image *)uVar11;
  if (image_00 == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,
                  (char *)(unaff_EDI + 0xc8f21));
  }
  if (image_00->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,
                  (char *)(unaff_EDI + 0xc8f21));
  }
  if (image_00->debug != MagickFalse) {
    LogMagickEvent(TraceEvent,(char *)(unaff_EDI + 0xc8f4c),(char *)(unaff_EDI + 0xc8f15),0x267,
                   (char *)(unaff_EDI + 0x78db7),image_00->filename);
  }
  if (iVar7 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,
                  (char *)(unaff_EDI + 0xc8f21));
  }
  if (image == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail((char *)(unaff_EDI + 0xce3b9),(char *)(unaff_EDI + 0xc8f4c),0x269,
                  (char *)(unaff_EDI + 0xc8f21));
  }
  pcVar10 = (char *)(iVar7 + -1 + extraout_ECX);
  uVar5 = *pcVar10;
  pIVar4 = image;
  if (0 < (int)extraout_ECX) {
    iVar1 = 0;
    local_2c = 0;
    pIVar3 = image;
    uVar6 = uVar5;
    do {
      if (uVar6 == uVar5) {
        iVar1 = iVar1 + 1;
      }
      else if (iVar1 < 3) {
        if (iVar1 == 0) {
          iVar1 = 1;
          uVar5 = uVar6;
        }
        else {
          local_2c = local_2c + 1;
          *(undefined1 *)&pIVar3->storage_class = uVar5;
          if (local_2c == 0x80) goto LAB_0023e166;
          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {
            while( true ) {
              local_2c = local_2c + 1;
              iVar1 = 1;
              *(undefined1 *)&pIVar3->storage_class = uVar5;
              if (local_2c != 0x80) break;
LAB_0023e166:
              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;
              local_2c = 0;
              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);
              if (iVar1 == 1) goto LAB_0023e174;
            }
          }
LAB_0023e174:
          uVar5 = *pcVar10;
        }
      }
      else {
        pIVar4 = pIVar3;
        if (local_2c != 0) {
          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;
          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);
        }
        do {
          iVar2 = 0x80;
          if (iVar1 < 0x81) {
            iVar2 = iVar1;
          }
          *(undefined1 *)&pIVar4->storage_class = uVar5;
          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);
          iVar1 = iVar1 - iVar2;
          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;
          pIVar4 = pIVar3;
        } while (0 < iVar1);
        uVar5 = *pcVar10;
        iVar1 = 1;
        local_2c = 0;
      }
      if ((char *)(iVar7 + -1) == pcVar10 + -1) goto LAB_0023e186;
      pcVar10 = pcVar10 + -1;
      uVar6 = *pcVar10;
    } while( true );
  }
LAB_0023e1cf:
  iVar7 = (int)pIVar4 - (int)image;
joined_r0x0023e303:
  if (extraout_ECX < 0xc9) {
    sVar8 = iVar7 + 1;
    WriteBlobByte(image_00,(uchar)iVar7);
  }
  else {
    sVar8 = iVar7 + 2;
    WriteBlobMSBShort(image_00,(ushort)iVar7);
  }
  while (pIVar4 != image) {
    pIVar4 = (Image *)((int)&pIVar4[-1].channels + 3);
    WriteBlobByte(image_00,(char)pIVar4->storage_class);
  }
  return sVar8;
LAB_0023e186:
  if (iVar1 < 3) {
    local_2c = local_2c + 1;
    *(undefined1 *)&pIVar3->storage_class = uVar5;
    if (local_2c == 0x80) goto LAB_0023e2d7;
    while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {
      while( true ) {
        local_2c = local_2c + 1;
        iVar1 = 1;
        *(undefined1 *)&pIVar3->storage_class = uVar5;
        if (local_2c != 0x80) break;
LAB_0023e2d7:
        *(undefined1 *)((int)&pIVar3->storage_class + 1) = 0x7f;
        local_2c = 0;
        pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);
        if (iVar1 == 1) goto LAB_0023e2e5;
      }
    }
LAB_0023e2e5:
    pIVar4 = pIVar3;
    if (local_2c != 0) {
      pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);
      iVar7 = (int)pIVar4 - (int)image;
      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;
      goto joined_r0x0023e303;
    }
  }
  else {
    pIVar9 = pIVar3;
    if (local_2c != 0) {
      pIVar9 = (Image *)((int)&pIVar3->storage_class + 1);
      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;
    }
    do {
      *(undefined1 *)&pIVar9->storage_class = uVar5;
      iVar7 = 0x80;
      if (iVar1 < 0x81) {
        iVar7 = iVar1;
      }
      pIVar4 = (Image *)((int)&pIVar9->storage_class + 2);
      iVar1 = iVar1 - iVar7;
      *(byte *)((int)&pIVar9->storage_class + 1) = 1 - (char)iVar7;
      pIVar9 = pIVar4;
    } while (0 < iVar1);
  }
  goto LAB_0023e1cf;
}



int FUN_0023e090(char *param_1)

{
  int iVar1;
  int iVar2;
  uint extraout_ECX;
  int iVar3;
  char *pcVar4;
  char cVar5;
  char cVar6;
  uint uVar7;
  int iVar8;
  char *pcVar9;
  char *pcVar10;
  int unaff_EDI;
  undefined8 uVar11;
  int local_2c;
  
  uVar11 = FUN_0004c803();
  iVar8 = (int)((ulonglong)uVar11 >> 0x20);
  iVar1 = (int)uVar11;
  if (iVar1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,
                  &UNK_000c8f21 + unaff_EDI);
  }
  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,
                  &UNK_000c8f21 + unaff_EDI);
  }
  if (*(int *)(iVar1 + 0x3328) != 0) {
    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,
                   iVar1 + 0x318);
  }
  if (iVar8 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,
                  &UNK_000c8f21 + unaff_EDI);
  }
  if (param_1 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,
                  &UNK_000c8f21 + unaff_EDI);
  }
  pcVar10 = (char *)(iVar8 + -1 + extraout_ECX);
  cVar5 = *pcVar10;
  pcVar9 = param_1;
  if (0 < (int)extraout_ECX) {
    iVar2 = 0;
    local_2c = 0;
    pcVar4 = param_1;
    cVar6 = cVar5;
    do {
      if (cVar6 == cVar5) {
        iVar2 = iVar2 + 1;
      }
      else if (iVar2 < 3) {
        if (iVar2 == 0) {
          iVar2 = 1;
          cVar5 = cVar6;
        }
        else {
          local_2c = local_2c + 1;
          *pcVar4 = cVar5;
          if (local_2c == 0x80) goto LAB_0023e166;
          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {
            while( true ) {
              local_2c = local_2c + 1;
              iVar2 = 1;
              *pcVar4 = cVar5;
              if (local_2c != 0x80) break;
LAB_0023e166:
              pcVar4[1] = '\x7f';
              local_2c = 0;
              pcVar4 = pcVar4 + 2;
              if (iVar2 == 1) goto LAB_0023e174;
            }
          }
LAB_0023e174:
          cVar5 = *pcVar10;
        }
      }
      else {
        pcVar9 = pcVar4;
        if (local_2c != 0) {
          *pcVar4 = (char)local_2c + -1;
          pcVar9 = pcVar4 + 1;
        }
        do {
          iVar3 = 0x80;
          if (iVar2 < 0x81) {
            iVar3 = iVar2;
          }
          *pcVar9 = cVar5;
          pcVar4 = pcVar9 + 2;
          iVar2 = iVar2 - iVar3;
          pcVar9[1] = '\x01' - (char)iVar3;
          pcVar9 = pcVar4;
        } while (0 < iVar2);
        cVar5 = *pcVar10;
        iVar2 = 1;
        local_2c = 0;
      }
      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;
      pcVar10 = pcVar10 + -1;
      cVar6 = *pcVar10;
    } while( true );
  }
LAB_0023e1cf:
  uVar7 = (int)pcVar9 - (int)param_1;
joined_r0x0023e303:
  if (extraout_ECX < 0xc9) {
    iVar8 = uVar7 + 1;
    WriteBlobByte(iVar1,uVar7 & 0xff);
  }
  else {
    iVar8 = uVar7 + 2;
    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);
  }
  while (pcVar9 != param_1) {
    pcVar9 = pcVar9 + -1;
    WriteBlobByte(iVar1,*pcVar9);
  }
  return iVar8;
LAB_0023e186:
  if (iVar2 < 3) {
    local_2c = local_2c + 1;
    *pcVar4 = cVar5;
    if (local_2c == 0x80) goto LAB_0023e2d7;
    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {
      while( true ) {
        local_2c = local_2c + 1;
        iVar2 = 1;
        *pcVar4 = cVar5;
        if (local_2c != 0x80) break;
LAB_0023e2d7:
        pcVar4[1] = '\x7f';
        local_2c = 0;
        pcVar4 = pcVar4 + 2;
        if (iVar2 == 1) goto LAB_0023e2e5;
      }
    }
LAB_0023e2e5:
    pcVar9 = pcVar4;
    if (local_2c != 0) {
      pcVar9 = pcVar4 + 1;
      uVar7 = (int)pcVar9 - (int)param_1;
      *pcVar4 = (char)local_2c + -1;
      goto joined_r0x0023e303;
    }
  }
  else {
    pcVar10 = pcVar4;
    if (local_2c != 0) {
      pcVar10 = pcVar4 + 1;
      *pcVar4 = (char)local_2c + -1;
    }
    do {
      *pcVar10 = cVar5;
      iVar8 = 0x80;
      if (iVar2 < 0x81) {
        iVar8 = iVar2;
      }
      iVar2 = iVar2 - iVar8;
      pcVar10[1] = '\x01' - (char)iVar8;
      pcVar9 = pcVar10 + 2;
      pcVar10 = pcVar10 + 2;
    } while (0 < iVar2);
  }
  goto LAB_0023e1cf;
}


PUSH EBP
PUSH EDI
CALL 0x0004c803
ADD EDI,0x19af69
PUSH ESI
PUSH EBX
SUB ESP,0x2c
MOV dword ptr [ESP + 0x14],ECX
MOV dword ptr [ESP + 0xc],EDI
TEST EAX,EAX
JZ 0x0023e401
CMP dword ptr [EAX + 0x3344],0xabacadab
MOV EDI,EAX
JNZ 0x0023e3de
MOV ECX,dword ptr [EAX + 0x3328]
TEST ECX,ECX
JNZ 0x0023e340
TEST EDX,EDX
JZ 0x0023e398
MOV EAX,dword ptr [ESP + 0x40]
TEST EAX,EAX
JZ 0x0023e3bb
MOV EAX,dword ptr [ESP + 0x14]
LEA ESI,[EDX + EAX*0x1 + -0x1]
TEST EAX,EAX
MOVZX EBX,byte ptr [ESI]
JLE 0x0023e388
LEA EAX,[EDX + -0x1]
MOV dword ptr [ESP + 0x1c],EDI
MOV EDX,dword ptr [ESP + 0x40]
XOR ECX,ECX
MOV dword ptr [ESP + 0x18],EAX
MOV EDI,dword ptr [ESP + 0x18]
MOV EBP,EBX
XOR EAX,EAX
MOV dword ptr [ESP + 0x10],ECX
LEA ESI,[ESI]
LEA EDI,[EDI]
MOV ECX,EBP
CMP CL,BL
JZ 0x0023e240
CMP EAX,0x2
JG 0x0023e260
MOV ECX,dword ptr [ESP + 0x10]
TEST EAX,EAX
JZ 0x0023e330
ADD ECX,0x1
MOV byte ptr [EDX],BL
CMP ECX,0x80
JZ 0x0023e166
ADD EDX,0x1
CMP EAX,0x1
JZ 0x0023e174
ADD ECX,0x1
MOV EAX,0x1
MOV byte ptr [EDX],BL
CMP ECX,0x80
JNZ 0x0023e14c
MOV byte ptr [EDX + 0x1],0x7f
XOR ECX,ECX
ADD EDX,0x2
CMP EAX,0x1
JNZ 0x0023e154
MOVZX EBX,byte ptr [ESI]
SUB ESI,0x1
MOV dword ptr [ESP + 0x10],ECX
CMP EDI,ESI
JNZ 0x0023e24e
CMP EAX,0x2
MOV ECX,dword ptr [ESP + 0x10]
MOV EDI,dword ptr [ESP + 0x1c]
JLE 0x0023e2b0
MOV ESI,EDX
TEST ECX,ECX
JZ 0x0023e1a5
SUB ECX,0x1
ADD ESI,0x1
MOV byte ptr [EDX],CL
MOV EBP,0x80
LEA ESI,[ESI]
CMP EAX,0x80
MOV EDX,EBP
MOV ECX,0x1
MOV byte ptr [ESI],BL
CMOVLE EDX,EAX
ADD ESI,0x2
SUB EAX,EDX
SUB ECX,EDX
TEST EAX,EAX
MOV byte ptr [ESI + -0x1],CL
JG 0x0023e1b0
MOV EBP,ESI
SUB EBP,dword ptr [ESP + 0x40]
CMP dword ptr [ESP + 0x14],0xc8
JBE 0x0023e309
SUB ESP,0x8
MOVZX EAX,BP
ADD EBP,0x2
PUSH EAX
PUSH EDI
MOV EBX,dword ptr [ESP + 0x1c]
CALL 0x00032150
ADD ESP,0x10
CMP ESI,dword ptr [ESP + 0x40]
JZ 0x0023e230
MOV dword ptr [ESP + 0x10],EBP
MOV EBP,ESI
MOV ESI,dword ptr [ESP + 0x40]
LEA ESI,[ESI]
SUB EBP,0x1
MOVZX EAX,byte ptr [EBP]
SUB ESP,0x8
PUSH EAX
PUSH EDI
MOV EBX,dword ptr [ESP + 0x1c]
CALL 0x00032b80
ADD ESP,0x10
CMP ESI,EBP
JNZ 0x0023e210
MOV EBP,dword ptr [ESP + 0x10]
ADD ESP,0x2c
MOV EAX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD EAX,0x1
SUB ESI,0x1
CMP EDI,ESI
JZ 0x0023e186
MOVZX EBP,byte ptr [ESI]
JMP 0x0023e120
MOV ECX,dword ptr [ESP + 0x10]
MOV EBP,EBX
TEST ECX,ECX
JZ 0x0023e278
SUB ECX,0x1
ADD EDX,0x1
MOV byte ptr [EDX + -0x1],CL
NOP
LEA ESI,[ESI]
CMP EAX,0x80
MOV ECX,0x80
MOV EBX,EBP
CMOVLE ECX,EAX
MOV byte ptr [EDX],BL
MOV EBX,0x1
ADD EDX,0x2
SUB EAX,ECX
SUB EBX,ECX
TEST EAX,EAX
MOV byte ptr [EDX + -0x1],BL
JG 0x0023e278
MOVZX EBX,byte ptr [ESI]
MOV EAX,0x1
MOV dword ptr [ESP + 0x10],0x0
JMP 0x0023e243
ADD ECX,0x1
MOV byte ptr [EDX],BL
CMP ECX,0x80
JZ 0x0023e2d7
ADD EDX,0x1
CMP EAX,0x1
JZ 0x0023e2e5
ADD ECX,0x1
MOV EAX,0x1
MOV byte ptr [EDX],BL
CMP ECX,0x80
JNZ 0x0023e2bd
MOV byte ptr [EDX + 0x1],0x7f
XOR ECX,ECX
ADD EDX,0x2
CMP EAX,0x1
JNZ 0x0023e2c5
TEST ECX,ECX
JZ 0x0023e391
LEA ESI,[EDX + 0x1]
SUB ECX,0x1
MOV EBP,ESI
SUB EBP,dword ptr [ESP + 0x40]
MOV byte ptr [EDX],CL
CMP dword ptr [ESP + 0x14],0xc8
JA 0x0023e1e3
MOV EAX,EBP
SUB ESP,0x8
ADD EBP,0x1
MOVZX EAX,AL
PUSH EAX
PUSH EDI
MOV EBX,dword ptr [ESP + 0x1c]
CALL 0x00032b80
ADD ESP,0x10
JMP 0x0023e1fa
MOV EBX,EBP
MOV EAX,0x1
JMP 0x0023e243
MOV dword ptr [ESP + 0x10],EDX
LEA EAX,[EAX + 0x318]
SUB ESP,0x8
PUSH EAX
MOV EBX,dword ptr [ESP + 0x18]
LEA EAX,[EBX + 0xffedde4e]
PUSH EAX
LEA EAX,[EBX + 0xfff2dfac]
PUSH 0x267
PUSH EAX
LEA EAX,[EBX + 0xfff2dfe3]
PUSH EAX
PUSH 0x8000
CALL 0x000323b0
ADD ESP,0x20
MOV EDX,dword ptr [ESP + 0x10]
JMP 0x0023e0d2
MOV ESI,dword ptr [ESP + 0x40]
JMP 0x0023e1cf
MOV ESI,EDX
JMP 0x0023e1cf
MOV EBX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xfff2dfb8]
PUSH EAX
LEA EAX,[EBX + 0xfff2dfe3]
PUSH 0x268
PUSH EAX
LEA EAX,[EBX + 0xfff2e6a4]
PUSH EAX
CALL 0x000313d0
MOV EBX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xfff2dfb8]
PUSH EAX
LEA EAX,[EBX + 0xfff2dfe3]
PUSH 0x269
PUSH EAX
LEA EAX,[EBX + 0xfff33450]
PUSH EAX
CALL 0x000313d0
MOV EBX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xfff2dfb8]
PUSH EAX
LEA EAX,[EBX + 0xfff2dfe3]
PUSH 0x265
PUSH EAX
LEA EAX,[EBX + 0xffed1338]
PUSH EAX
CALL 0x000313d0
MOV EBX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xfff2dfb8]
PUSH EAX
LEA EAX,[EBX + 0xfff2dfe3]
PUSH 0x264
PUSH EAX
LEA EAX,[EBX + 0xffede594]
PUSH EAX
CALL 0x000313d0
(translation_unit "int FUN_0023e090(char *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  uint extraout_ECX;\n  int iVar3;\n  char *pcVar4;\n  char cVar5;\n  char cVar6;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  int local_2c;\n  \n  uVar11 = FUN_0004c803();\n  iVar8 = (int)((ulonglong)uVar11 >> 0x20);\n  iVar1 = (int)uVar11;\n  if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);\n  }\n  if (iVar8 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (param_1 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  pcVar10 = (char *)(iVar8 + -1 + extraout_ECX);\n  cVar5 = *pcVar10;\n  pcVar9 = param_1;\n  if (0 < (int)extraout_ECX) {\n    iVar2 = 0;\n    local_2c = 0;\n    pcVar4 = param_1;\n    cVar6 = cVar5;\n    do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );\n  }\nLAB_0023e1cf:\n  uVar7 = (int)pcVar9 - (int)param_1;\njoined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }\n  else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }\n  while (pcVar9 != param_1) {\n    pcVar9 = pcVar9 + -1;\n    WriteBlobByte(iVar1,*pcVar9);\n  }\n  return iVar8;\nLAB_0023e186:\n  if (iVar2 < 3) {\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }\n  goto LAB_0023e1cf;\n}\n\n" (function_definition "int FUN_0023e090(char *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  uint extraout_ECX;\n  int iVar3;\n  char *pcVar4;\n  char cVar5;\n  char cVar6;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  int local_2c;\n  \n  uVar11 = FUN_0004c803();\n  iVar8 = (int)((ulonglong)uVar11 >> 0x20);\n  iVar1 = (int)uVar11;\n  if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);\n  }\n  if (iVar8 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (param_1 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  pcVar10 = (char *)(iVar8 + -1 + extraout_ECX);\n  cVar5 = *pcVar10;\n  pcVar9 = param_1;\n  if (0 < (int)extraout_ECX) {\n    iVar2 = 0;\n    local_2c = 0;\n    pcVar4 = param_1;\n    cVar6 = cVar5;\n    do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );\n  }\nLAB_0023e1cf:\n  uVar7 = (int)pcVar9 - (int)param_1;\njoined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }\n  else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }\n  while (pcVar9 != param_1) {\n    pcVar9 = pcVar9 + -1;\n    WriteBlobByte(iVar1,*pcVar9);\n  }\n  return iVar8;\nLAB_0023e186:\n  if (iVar2 < 3) {\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }\n  goto LAB_0023e1cf;\n}" primitive_type (function_declarator "FUN_0023e090(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint extraout_ECX;\n  int iVar3;\n  char *pcVar4;\n  char cVar5;\n  char cVar6;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  int local_2c;\n  \n  uVar11 = FUN_0004c803();\n  iVar8 = (int)((ulonglong)uVar11 >> 0x20);\n  iVar1 = (int)uVar11;\n  if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);\n  }\n  if (iVar8 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (param_1 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  pcVar10 = (char *)(iVar8 + -1 + extraout_ECX);\n  cVar5 = *pcVar10;\n  pcVar9 = param_1;\n  if (0 < (int)extraout_ECX) {\n    iVar2 = 0;\n    local_2c = 0;\n    pcVar4 = param_1;\n    cVar6 = cVar5;\n    do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );\n  }\nLAB_0023e1cf:\n  uVar7 = (int)pcVar9 - (int)param_1;\njoined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }\n  else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }\n  while (pcVar9 != param_1) {\n    pcVar9 = pcVar9 + -1;\n    WriteBlobByte(iVar1,*pcVar9);\n  }\n  return iVar8;\nLAB_0023e186:\n  if (iVar2 < 3) {\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }\n  goto LAB_0023e1cf;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint extraout_ECX;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "uVar11 = FUN_0004c803();" (assignment_expression "uVar11 = FUN_0004c803()" identifier = (call_expression "FUN_0004c803()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar8 = (int)((ulonglong)uVar11 >> 0x20);" (assignment_expression "iVar8 = (int)((ulonglong)uVar11 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar11 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar11 >> 0x20)" ( (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar1 = (int)uVar11;" (assignment_expression "iVar1 = (int)uVar11" identifier = (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" { comment (expression_statement "__assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);" (call_expression "__assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI)" identifier (argument_list "((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI)" ( (cast_expression "(char *)(unaff_EDI + 0x794fd)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x794fd)" ( (binary_expression "unaff_EDI + 0x794fd" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f4c)" ( (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_000c8f21 + unaff_EDI" (pointer_expression "&UNK_000c8f21" & identifier) + identifier) ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(iVar1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(iVar1 + 0x3344)" * (cast_expression "(int *)(iVar1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3344)" ( (binary_expression "iVar1 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" { comment (expression_statement "__assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);" (call_expression "__assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI)" identifier (argument_list "((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI)" ( (cast_expression "(char *)(unaff_EDI + 0x6c2a1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x6c2a1)" ( (binary_expression "unaff_EDI + 0x6c2a1" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f4c)" ( (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_000c8f21 + unaff_EDI" (pointer_expression "&UNK_000c8f21" & identifier) + identifier) ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x3328) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x3328) != 0" (pointer_expression "*(int *)(iVar1 + 0x3328)" * (cast_expression "(int *)(iVar1 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3328)" ( (binary_expression "iVar1 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);\n  }" { (expression_statement "LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);" (call_expression "LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318)" identifier (argument_list "(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318)" ( number_literal , (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) , (binary_expression "&UNK_000c8f15 + unaff_EDI" (pointer_expression "&UNK_000c8f15" & identifier) + identifier) , number_literal , (binary_expression "unaff_EDI + 0x78db7" identifier + number_literal) , (binary_expression "iVar1 + 0x318" identifier + number_literal) ))) ;) })) (if_statement "if (iVar8 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" { comment (expression_statement "__assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);" (call_expression "__assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI)" identifier (argument_list "((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI)" ( (cast_expression "(char *)(unaff_EDI + 0xc960d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc960d)" ( (binary_expression "unaff_EDI + 0xc960d" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f4c)" ( (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_000c8f21 + unaff_EDI" (pointer_expression "&UNK_000c8f21" & identifier) + identifier) ))) ;) })) (if_statement "if (param_1 == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" { comment (expression_statement "__assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);" (call_expression "__assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI)" identifier (argument_list "(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI)" ( (binary_expression "&UNK_000ce3b9 + unaff_EDI" (pointer_expression "&UNK_000ce3b9" & identifier) + identifier) , (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f4c)" ( (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_000c8f21 + unaff_EDI" (pointer_expression "&UNK_000c8f21" & identifier) + identifier) ))) ;) })) (expression_statement "pcVar10 = (char *)(iVar8 + -1 + extraout_ECX);" (assignment_expression "pcVar10 = (char *)(iVar8 + -1 + extraout_ECX)" identifier = (cast_expression "(char *)(iVar8 + -1 + extraout_ECX)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + -1 + extraout_ECX)" ( (binary_expression "iVar8 + -1 + extraout_ECX" (binary_expression "iVar8 + -1" identifier + number_literal) + identifier) )))) ;) (expression_statement "cVar5 = *pcVar10;" (assignment_expression "cVar5 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) (expression_statement "pcVar9 = param_1;" (assignment_expression "pcVar9 = param_1" identifier = identifier) ;) (if_statement "if (0 < (int)extraout_ECX) {\n    iVar2 = 0;\n    local_2c = 0;\n    pcVar4 = param_1;\n    cVar6 = cVar5;\n    do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );\n  }" if (parenthesized_expression "(0 < (int)extraout_ECX)" ( (binary_expression "0 < (int)extraout_ECX" number_literal < (cast_expression "(int)extraout_ECX" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    iVar2 = 0;\n    local_2c = 0;\n    pcVar4 = param_1;\n    cVar6 = cVar5;\n    do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = param_1;" (assignment_expression "pcVar4 = param_1" identifier = identifier) ;) (expression_statement "cVar6 = cVar5;" (assignment_expression "cVar6 = cVar5" identifier = identifier) ;) (do_statement "do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );" do (compound_statement "{\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    }" { (if_statement "if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" if (parenthesized_expression "(cVar6 == cVar5)" ( (binary_expression "cVar6 == cVar5" identifier == identifier) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" else (if_statement "if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" if (parenthesized_expression "(iVar2 < 3)" ( (binary_expression "iVar2 < 3" identifier < number_literal) )) (compound_statement "{\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }" { (if_statement "if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }" { (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "cVar5 = cVar6;" (assignment_expression "cVar5 = cVar6" identifier = identifier) ;) }) (else_clause "else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }" else (compound_statement "{\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }" { (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "*pcVar4 = cVar5;" (assignment_expression "*pcVar4 = cVar5" (pointer_expression "*pcVar4" * identifier) = identifier) ;) (if_statement "if (local_2c == 0x80) goto LAB_0023e166;" if (parenthesized_expression "(local_2c == 0x80)" ( (binary_expression "local_2c == 0x80" identifier == number_literal) )) (goto_statement "goto LAB_0023e166;" goto statement_identifier ;)) (while_statement "while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }" while (parenthesized_expression "(pcVar4 = pcVar4 + 1, iVar2 != 1)" ( (comma_expression "pcVar4 = pcVar4 + 1, iVar2 != 1" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) , (binary_expression "iVar2 != 1" identifier != number_literal)) )) (compound_statement "{\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }" { (while_statement "while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }" { (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "*pcVar4 = cVar5;" (assignment_expression "*pcVar4 = cVar5" (pointer_expression "*pcVar4" * identifier) = identifier) ;) (if_statement "if (local_2c != 0x80) break;" if (parenthesized_expression "(local_2c != 0x80)" ( (binary_expression "local_2c != 0x80" identifier != number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0023e166:\n              pcVar4[1] = '\x7f';" statement_identifier : (expression_statement "pcVar4[1] = '\x7f';" (assignment_expression "pcVar4[1] = '\x7f'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "'\x7f'" ' escape_sequence ')) ;)) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = pcVar4 + 2;" (assignment_expression "pcVar4 = pcVar4 + 2" identifier = (binary_expression "pcVar4 + 2" identifier + number_literal)) ;) (if_statement "if (iVar2 == 1) goto LAB_0023e174;" if (parenthesized_expression "(iVar2 == 1)" ( (binary_expression "iVar2 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0023e174;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_0023e174:\n          cVar5 = *pcVar10;" statement_identifier : (expression_statement "cVar5 = *pcVar10;" (assignment_expression "cVar5 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;)) }))) }) (else_clause "else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" else (compound_statement "{\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" { (expression_statement "pcVar9 = pcVar4;" (assignment_expression "pcVar9 = pcVar4" identifier = identifier) ;) (if_statement "if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (compound_statement "{\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }" { (expression_statement "*pcVar4 = (char)local_2c + -1;" (assignment_expression "*pcVar4 = (char)local_2c + -1" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(char)local_2c + -1" (cast_expression "(char)local_2c" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "pcVar9 = pcVar4 + 1;" (assignment_expression "pcVar9 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) })) (do_statement "do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);" do (compound_statement "{\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        }" { (expression_statement "iVar3 = 0x80;" (assignment_expression "iVar3 = 0x80" identifier = number_literal) ;) (if_statement "if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }" if (parenthesized_expression "(iVar2 < 0x81)" ( (binary_expression "iVar2 < 0x81" identifier < number_literal) )) (compound_statement "{\n            iVar3 = iVar2;\n          }" { (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) })) (expression_statement "*pcVar9 = cVar5;" (assignment_expression "*pcVar9 = cVar5" (pointer_expression "*pcVar9" * identifier) = identifier) ;) (expression_statement "pcVar4 = pcVar9 + 2;" (assignment_expression "pcVar4 = pcVar9 + 2" identifier = (binary_expression "pcVar9 + 2" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar2 - iVar3;" (assignment_expression "iVar2 = iVar2 - iVar3" identifier = (binary_expression "iVar2 - iVar3" identifier - identifier)) ;) (expression_statement "pcVar9[1] = '\x01' - (char)iVar3;" (assignment_expression "pcVar9[1] = '\x01' - (char)iVar3" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) = (binary_expression "'\x01' - (char)iVar3" (char_literal "'\x01'" ' escape_sequence ') - (cast_expression "(char)iVar3" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (expression_statement "pcVar9 = pcVar4;" (assignment_expression "pcVar9 = pcVar4" identifier = identifier) ;) }) while (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) ;) (expression_statement "cVar5 = *pcVar10;" (assignment_expression "cVar5 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) }))))) (if_statement "if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;" if (parenthesized_expression "((char *)(iVar8 + -1) == pcVar10 + -1)" ( (binary_expression "(char *)(iVar8 + -1) == pcVar10 + -1" (cast_expression "(char *)(iVar8 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + -1)" ( (binary_expression "iVar8 + -1" identifier + number_literal) ))) == (binary_expression "pcVar10 + -1" identifier + number_literal)) )) (goto_statement "goto LAB_0023e186;" goto statement_identifier ;)) (expression_statement "pcVar10 = pcVar10 + -1;" (assignment_expression "pcVar10 = pcVar10 + -1" identifier = (binary_expression "pcVar10 + -1" identifier + number_literal)) ;) (expression_statement "cVar6 = *pcVar10;" (assignment_expression "cVar6 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (labeled_statement "LAB_0023e1cf:\n  uVar7 = (int)pcVar9 - (int)param_1;" statement_identifier : (expression_statement "uVar7 = (int)pcVar9 - (int)param_1;" (assignment_expression "uVar7 = (int)pcVar9 - (int)param_1" identifier = (binary_expression "(int)pcVar9 - (int)param_1" (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (labeled_statement "joined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }\n  else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }" statement_identifier : (if_statement "if (extraout_ECX < 0xc9) {\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }\n  else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }" if (parenthesized_expression "(extraout_ECX < 0xc9)" ( (binary_expression "extraout_ECX < 0xc9" identifier < number_literal) )) (compound_statement "{\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }" { (expression_statement "iVar8 = uVar7 + 1;" (assignment_expression "iVar8 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "WriteBlobByte(iVar1,uVar7 & 0xff);" (call_expression "WriteBlobByte(iVar1,uVar7 & 0xff)" identifier (argument_list "(iVar1,uVar7 & 0xff)" ( identifier , (binary_expression "uVar7 & 0xff" identifier & number_literal) ))) ;) }) (else_clause "else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }" else (compound_statement "{\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }" { (expression_statement "iVar8 = uVar7 + 2;" (assignment_expression "iVar8 = uVar7 + 2" identifier = (binary_expression "uVar7 + 2" identifier + number_literal)) ;) (expression_statement "WriteBlobMSBShort(iVar1,uVar7 & 0xffff);" (call_expression "WriteBlobMSBShort(iVar1,uVar7 & 0xffff)" identifier (argument_list "(iVar1,uVar7 & 0xffff)" ( identifier , (binary_expression "uVar7 & 0xffff" identifier & number_literal) ))) ;) })))) (while_statement "while (pcVar9 != param_1) {\n    pcVar9 = pcVar9 + -1;\n    WriteBlobByte(iVar1,*pcVar9);\n  }" while (parenthesized_expression "(pcVar9 != param_1)" ( (binary_expression "pcVar9 != param_1" identifier != identifier) )) (compound_statement "{\n    pcVar9 = pcVar9 + -1;\n    WriteBlobByte(iVar1,*pcVar9);\n  }" { (expression_statement "pcVar9 = pcVar9 + -1;" (assignment_expression "pcVar9 = pcVar9 + -1" identifier = (binary_expression "pcVar9 + -1" identifier + number_literal)) ;) (expression_statement "WriteBlobByte(iVar1,*pcVar9);" (call_expression "WriteBlobByte(iVar1,*pcVar9)" identifier (argument_list "(iVar1,*pcVar9)" ( identifier , (pointer_expression "*pcVar9" * identifier) ))) ;) })) (return_statement "return iVar8;" return identifier ;) (labeled_statement "LAB_0023e186:\n  if (iVar2 < 3) {\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }" statement_identifier : (if_statement "if (iVar2 < 3) {\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }" if (parenthesized_expression "(iVar2 < 3)" ( (binary_expression "iVar2 < 3" identifier < number_literal) )) (compound_statement "{\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }" { (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "*pcVar4 = cVar5;" (assignment_expression "*pcVar4 = cVar5" (pointer_expression "*pcVar4" * identifier) = identifier) ;) (if_statement "if (local_2c == 0x80) goto LAB_0023e2d7;" if (parenthesized_expression "(local_2c == 0x80)" ( (binary_expression "local_2c == 0x80" identifier == number_literal) )) (goto_statement "goto LAB_0023e2d7;" goto statement_identifier ;)) (while_statement "while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }" while (parenthesized_expression "(pcVar4 = pcVar4 + 1, iVar2 != 1)" ( (comma_expression "pcVar4 = pcVar4 + 1, iVar2 != 1" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) , (binary_expression "iVar2 != 1" identifier != number_literal)) )) (compound_statement "{\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }" { (while_statement "while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }" { (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "*pcVar4 = cVar5;" (assignment_expression "*pcVar4 = cVar5" (pointer_expression "*pcVar4" * identifier) = identifier) ;) (if_statement "if (local_2c != 0x80) break;" if (parenthesized_expression "(local_2c != 0x80)" ( (binary_expression "local_2c != 0x80" identifier != number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0023e2d7:\n        pcVar4[1] = '\x7f';" statement_identifier : (expression_statement "pcVar4[1] = '\x7f';" (assignment_expression "pcVar4[1] = '\x7f'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "'\x7f'" ' escape_sequence ')) ;)) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = pcVar4 + 2;" (assignment_expression "pcVar4 = pcVar4 + 2" identifier = (binary_expression "pcVar4 + 2" identifier + number_literal)) ;) (if_statement "if (iVar2 == 1) goto LAB_0023e2e5;" if (parenthesized_expression "(iVar2 == 1)" ( (binary_expression "iVar2 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0023e2e5;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_0023e2e5:\n    pcVar9 = pcVar4;" statement_identifier : (expression_statement "pcVar9 = pcVar4;" (assignment_expression "pcVar9 = pcVar4" identifier = identifier) ;)) (if_statement "if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }" { (expression_statement "pcVar9 = pcVar4 + 1;" (assignment_expression "pcVar9 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = (int)pcVar9 - (int)param_1;" (assignment_expression "uVar7 = (int)pcVar9 - (int)param_1" identifier = (binary_expression "(int)pcVar9 - (int)param_1" (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*pcVar4 = (char)local_2c + -1;" (assignment_expression "*pcVar4 = (char)local_2c + -1" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(char)local_2c + -1" (cast_expression "(char)local_2c" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal)) ;) (goto_statement "goto joined_r0x0023e303;" goto statement_identifier ;) })) }) (else_clause "else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }" else (compound_statement "{\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }" { (expression_statement "pcVar10 = pcVar4;" (assignment_expression "pcVar10 = pcVar4" identifier = identifier) ;) (if_statement "if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }" { (expression_statement "pcVar10 = pcVar4 + 1;" (assignment_expression "pcVar10 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar4 = (char)local_2c + -1;" (assignment_expression "*pcVar4 = (char)local_2c + -1" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(char)local_2c + -1" (cast_expression "(char)local_2c" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal)) ;) })) (do_statement "do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);" do (compound_statement "{\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    }" { (expression_statement "*pcVar10 = cVar5;" (assignment_expression "*pcVar10 = cVar5" (pointer_expression "*pcVar10" * identifier) = identifier) ;) (expression_statement "iVar8 = 0x80;" (assignment_expression "iVar8 = 0x80" identifier = number_literal) ;) (if_statement "if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }" if (parenthesized_expression "(iVar2 < 0x81)" ( (binary_expression "iVar2 < 0x81" identifier < number_literal) )) (compound_statement "{\n        iVar8 = iVar2;\n      }" { (expression_statement "iVar8 = iVar2;" (assignment_expression "iVar8 = iVar2" identifier = identifier) ;) })) (expression_statement "iVar2 = iVar2 - iVar8;" (assignment_expression "iVar2 = iVar2 - iVar8" identifier = (binary_expression "iVar2 - iVar8" identifier - identifier)) ;) (expression_statement "pcVar10[1] = '\x01' - (char)iVar8;" (assignment_expression "pcVar10[1] = '\x01' - (char)iVar8" (subscript_expression "pcVar10[1]" identifier [ number_literal ]) = (binary_expression "'\x01' - (char)iVar8" (char_literal "'\x01'" ' escape_sequence ') - (cast_expression "(char)iVar8" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (expression_statement "pcVar9 = pcVar10 + 2;" (assignment_expression "pcVar9 = pcVar10 + 2" identifier = (binary_expression "pcVar10 + 2" identifier + number_literal)) ;) (expression_statement "pcVar10 = pcVar10 + 2;" (assignment_expression "pcVar10 = pcVar10 + 2" identifier = (binary_expression "pcVar10 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) ;) })))) (goto_statement "goto LAB_0023e1cf;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "LogEventType": Some values do not have unique names */\n\nsize_t EncodeImage(Image *image,uchar *scanline,size_t bytes_per_line,uchar *pixels)\n\n{\n  Image *image_00;\n  int iVar1;\n  uint extraout_ECX;\n  int iVar2;\n  Image *pIVar3;\n  Image *pIVar4;\n  undefined1 uVar5;\n  undefined1 uVar6;\n  int iVar7;\n  size_t sVar8;\n  Image *pIVar9;\n  char *pcVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  int local_2c;\n  \n  uVar11 = __x86_get_pc_thunk_di();\n  iVar7 = (int)((ulonglong)uVar11 >> 0x20);\n  image_00 = (Image *)uVar11;\n  if (image_00 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }\n  if (image_00->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }\n  if (image_00->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,(char *)(unaff_EDI + 0xc8f4c),(char *)(unaff_EDI + 0xc8f15),0x267,\n                   (char *)(unaff_EDI + 0x78db7),image_00->filename);\n  }\n  if (iVar7 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xce3b9),(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }\n  pcVar10 = (char *)(iVar7 + -1 + extraout_ECX);\n  uVar5 = *pcVar10;\n  pIVar4 = image;\n  if (0 < (int)extraout_ECX) {\n    iVar1 = 0;\n    local_2c = 0;\n    pIVar3 = image;\n    uVar6 = uVar5;\n    do {\n      if (uVar6 == uVar5) {\n        iVar1 = iVar1 + 1;\n      }\n      else if (iVar1 < 3) {\n        if (iVar1 == 0) {\n          iVar1 = 1;\n          uVar5 = uVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *(undefined1 *)&pIVar3->storage_class = uVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          uVar5 = *pcVar10;\n        }\n      }\n      else {\n        pIVar4 = pIVar3;\n        if (local_2c != 0) {\n          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n        }\n        do {\n          iVar2 = 0x80;\n          if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }\n          *(undefined1 *)&pIVar4->storage_class = uVar5;\n          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);\n          iVar1 = iVar1 - iVar2;\n          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;\n          pIVar4 = pIVar3;\n        } while (0 < iVar1);\n        uVar5 = *pcVar10;\n        iVar1 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar7 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      uVar6 = *pcVar10;\n    } while( true );\n  }\nLAB_0023e1cf:\n  iVar7 = (int)pIVar4 - (int)image;\njoined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    sVar8 = iVar7 + 1;\n    WriteBlobByte(image_00,(uchar)iVar7);\n  }\n  else {\n    sVar8 = iVar7 + 2;\n    WriteBlobMSBShort(image_00,(ushort)iVar7);\n  }\n  while (pIVar4 != image) {\n    pIVar4 = (Image *)((int)&pIVar4[-1].channels + 3);\n    WriteBlobByte(image_00,(char)pIVar4->storage_class);\n  }\n  return sVar8;\nLAB_0023e186:\n  if (iVar1 < 3) {\n    local_2c = local_2c + 1;\n    *(undefined1 *)&pIVar3->storage_class = uVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar1 = 1;\n        *(undefined1 *)&pIVar3->storage_class = uVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        *(undefined1 *)((int)&pIVar3->storage_class + 1) = 0x7f;\n        local_2c = 0;\n        pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n        if (iVar1 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pIVar4 = pIVar3;\n    if (local_2c != 0) {\n      pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n      iVar7 = (int)pIVar4 - (int)image;\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pIVar9 = pIVar3;\n    if (local_2c != 0) {\n      pIVar9 = (Image *)((int)&pIVar3->storage_class + 1);\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n    }\n    do {\n      *(undefined1 *)&pIVar9->storage_class = uVar5;\n      iVar7 = 0x80;\n      if (iVar1 < 0x81) {\n        iVar7 = iVar1;\n      }\n      pIVar4 = (Image *)((int)&pIVar9->storage_class + 2);\n      iVar1 = iVar1 - iVar7;\n      *(byte *)((int)&pIVar9->storage_class + 1) = 1 - (char)iVar7;\n      pIVar9 = pIVar4;\n    } while (0 < iVar1);\n  }\n  goto LAB_0023e1cf;\n}\n\n" comment comment comment comment comment (function_definition "size_t EncodeImage(Image *image,uchar *scanline,size_t bytes_per_line,uchar *pixels)\n\n{\n  Image *image_00;\n  int iVar1;\n  uint extraout_ECX;\n  int iVar2;\n  Image *pIVar3;\n  Image *pIVar4;\n  undefined1 uVar5;\n  undefined1 uVar6;\n  int iVar7;\n  size_t sVar8;\n  Image *pIVar9;\n  char *pcVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  int local_2c;\n  \n  uVar11 = __x86_get_pc_thunk_di();\n  iVar7 = (int)((ulonglong)uVar11 >> 0x20);\n  image_00 = (Image *)uVar11;\n  if (image_00 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }\n  if (image_00->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }\n  if (image_00->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,(char *)(unaff_EDI + 0xc8f4c),(char *)(unaff_EDI + 0xc8f15),0x267,\n                   (char *)(unaff_EDI + 0x78db7),image_00->filename);\n  }\n  if (iVar7 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xce3b9),(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }\n  pcVar10 = (char *)(iVar7 + -1 + extraout_ECX);\n  uVar5 = *pcVar10;\n  pIVar4 = image;\n  if (0 < (int)extraout_ECX) {\n    iVar1 = 0;\n    local_2c = 0;\n    pIVar3 = image;\n    uVar6 = uVar5;\n    do {\n      if (uVar6 == uVar5) {\n        iVar1 = iVar1 + 1;\n      }\n      else if (iVar1 < 3) {\n        if (iVar1 == 0) {\n          iVar1 = 1;\n          uVar5 = uVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *(undefined1 *)&pIVar3->storage_class = uVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          uVar5 = *pcVar10;\n        }\n      }\n      else {\n        pIVar4 = pIVar3;\n        if (local_2c != 0) {\n          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n        }\n        do {\n          iVar2 = 0x80;\n          if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }\n          *(undefined1 *)&pIVar4->storage_class = uVar5;\n          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);\n          iVar1 = iVar1 - iVar2;\n          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;\n          pIVar4 = pIVar3;\n        } while (0 < iVar1);\n        uVar5 = *pcVar10;\n        iVar1 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar7 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      uVar6 = *pcVar10;\n    } while( true );\n  }\nLAB_0023e1cf:\n  iVar7 = (int)pIVar4 - (int)image;\njoined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    sVar8 = iVar7 + 1;\n    WriteBlobByte(image_00,(uchar)iVar7);\n  }\n  else {\n    sVar8 = iVar7 + 2;\n    WriteBlobMSBShort(image_00,(ushort)iVar7);\n  }\n  while (pIVar4 != image) {\n    pIVar4 = (Image *)((int)&pIVar4[-1].channels + 3);\n    WriteBlobByte(image_00,(char)pIVar4->storage_class);\n  }\n  return sVar8;\nLAB_0023e186:\n  if (iVar1 < 3) {\n    local_2c = local_2c + 1;\n    *(undefined1 *)&pIVar3->storage_class = uVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar1 = 1;\n        *(undefined1 *)&pIVar3->storage_class = uVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        *(undefined1 *)((int)&pIVar3->storage_class + 1) = 0x7f;\n        local_2c = 0;\n        pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n        if (iVar1 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pIVar4 = pIVar3;\n    if (local_2c != 0) {\n      pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n      iVar7 = (int)pIVar4 - (int)image;\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pIVar9 = pIVar3;\n    if (local_2c != 0) {\n      pIVar9 = (Image *)((int)&pIVar3->storage_class + 1);\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n    }\n    do {\n      *(undefined1 *)&pIVar9->storage_class = uVar5;\n      iVar7 = 0x80;\n      if (iVar1 < 0x81) {\n        iVar7 = iVar1;\n      }\n      pIVar4 = (Image *)((int)&pIVar9->storage_class + 2);\n      iVar1 = iVar1 - iVar7;\n      *(byte *)((int)&pIVar9->storage_class + 1) = 1 - (char)iVar7;\n      pIVar9 = pIVar4;\n    } while (0 < iVar1);\n  }\n  goto LAB_0023e1cf;\n}" primitive_type (function_declarator "EncodeImage(Image *image,uchar *scanline,size_t bytes_per_line,uchar *pixels)" identifier (parameter_list "(Image *image,uchar *scanline,size_t bytes_per_line,uchar *pixels)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "uchar *scanline" type_identifier (pointer_declarator "*scanline" * identifier)) , (parameter_declaration "size_t bytes_per_line" primitive_type identifier) , (parameter_declaration "uchar *pixels" type_identifier (pointer_declarator "*pixels" * identifier)) ))) (compound_statement "{\n  Image *image_00;\n  int iVar1;\n  uint extraout_ECX;\n  int iVar2;\n  Image *pIVar3;\n  Image *pIVar4;\n  undefined1 uVar5;\n  undefined1 uVar6;\n  int iVar7;\n  size_t sVar8;\n  Image *pIVar9;\n  char *pcVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  int local_2c;\n  \n  uVar11 = __x86_get_pc_thunk_di();\n  iVar7 = (int)((ulonglong)uVar11 >> 0x20);\n  image_00 = (Image *)uVar11;\n  if (image_00 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }\n  if (image_00->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }\n  if (image_00->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,(char *)(unaff_EDI + 0xc8f4c),(char *)(unaff_EDI + 0xc8f15),0x267,\n                   (char *)(unaff_EDI + 0x78db7),image_00->filename);\n  }\n  if (iVar7 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xce3b9),(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }\n  pcVar10 = (char *)(iVar7 + -1 + extraout_ECX);\n  uVar5 = *pcVar10;\n  pIVar4 = image;\n  if (0 < (int)extraout_ECX) {\n    iVar1 = 0;\n    local_2c = 0;\n    pIVar3 = image;\n    uVar6 = uVar5;\n    do {\n      if (uVar6 == uVar5) {\n        iVar1 = iVar1 + 1;\n      }\n      else if (iVar1 < 3) {\n        if (iVar1 == 0) {\n          iVar1 = 1;\n          uVar5 = uVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *(undefined1 *)&pIVar3->storage_class = uVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          uVar5 = *pcVar10;\n        }\n      }\n      else {\n        pIVar4 = pIVar3;\n        if (local_2c != 0) {\n          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n        }\n        do {\n          iVar2 = 0x80;\n          if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }\n          *(undefined1 *)&pIVar4->storage_class = uVar5;\n          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);\n          iVar1 = iVar1 - iVar2;\n          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;\n          pIVar4 = pIVar3;\n        } while (0 < iVar1);\n        uVar5 = *pcVar10;\n        iVar1 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar7 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      uVar6 = *pcVar10;\n    } while( true );\n  }\nLAB_0023e1cf:\n  iVar7 = (int)pIVar4 - (int)image;\njoined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    sVar8 = iVar7 + 1;\n    WriteBlobByte(image_00,(uchar)iVar7);\n  }\n  else {\n    sVar8 = iVar7 + 2;\n    WriteBlobMSBShort(image_00,(ushort)iVar7);\n  }\n  while (pIVar4 != image) {\n    pIVar4 = (Image *)((int)&pIVar4[-1].channels + 3);\n    WriteBlobByte(image_00,(char)pIVar4->storage_class);\n  }\n  return sVar8;\nLAB_0023e186:\n  if (iVar1 < 3) {\n    local_2c = local_2c + 1;\n    *(undefined1 *)&pIVar3->storage_class = uVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar1 = 1;\n        *(undefined1 *)&pIVar3->storage_class = uVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        *(undefined1 *)((int)&pIVar3->storage_class + 1) = 0x7f;\n        local_2c = 0;\n        pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n        if (iVar1 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pIVar4 = pIVar3;\n    if (local_2c != 0) {\n      pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n      iVar7 = (int)pIVar4 - (int)image;\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pIVar9 = pIVar3;\n    if (local_2c != 0) {\n      pIVar9 = (Image *)((int)&pIVar3->storage_class + 1);\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n    }\n    do {\n      *(undefined1 *)&pIVar9->storage_class = uVar5;\n      iVar7 = 0x80;\n      if (iVar1 < 0x81) {\n        iVar7 = iVar1;\n      }\n      pIVar4 = (Image *)((int)&pIVar9->storage_class + 2);\n      iVar1 = iVar1 - iVar7;\n      *(byte *)((int)&pIVar9->storage_class + 1) = 1 - (char)iVar7;\n      pIVar9 = pIVar4;\n    } while (0 < iVar1);\n  }\n  goto LAB_0023e1cf;\n}" { (declaration "Image *image_00;" type_identifier (pointer_declarator "*image_00" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint extraout_ECX;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "Image *pIVar3;" type_identifier (pointer_declarator "*pIVar3" * identifier) ;) (declaration "Image *pIVar4;" type_identifier (pointer_declarator "*pIVar4" * identifier) ;) (declaration "undefined1 uVar5;" type_identifier identifier ;) (declaration "undefined1 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "size_t sVar8;" primitive_type identifier ;) (declaration "Image *pIVar9;" type_identifier (pointer_declarator "*pIVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "uVar11 = __x86_get_pc_thunk_di();" (assignment_expression "uVar11 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar7 = (int)((ulonglong)uVar11 >> 0x20);" (assignment_expression "iVar7 = (int)((ulonglong)uVar11 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar11 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar11 >> 0x20)" ( (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "image_00 = (Image *)uVar11;" (assignment_expression "image_00 = (Image *)uVar11" identifier = (cast_expression "(Image *)uVar11" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (image_00 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }" if (parenthesized_expression "(image_00 == (Image *)0x0)" ( (binary_expression "image_00 == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }" { comment (expression_statement "__assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  (char *)(unaff_EDI + 0xc8f21));" (call_expression "__assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  (char *)(unaff_EDI + 0xc8f21))" identifier (argument_list "((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  (char *)(unaff_EDI + 0xc8f21))" ( (cast_expression "(char *)(unaff_EDI + 0x794fd)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x794fd)" ( (binary_expression "unaff_EDI + 0x794fd" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f4c)" ( (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0xc8f21)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f21)" ( (binary_expression "unaff_EDI + 0xc8f21" identifier + number_literal) ))) ))) ;) })) (if_statement "if (image_00->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }" if (parenthesized_expression "(image_00->signature != 0xabacadab)" ( (binary_expression "image_00->signature != 0xabacadab" (field_expression "image_00->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }" { comment (expression_statement "__assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  (char *)(unaff_EDI + 0xc8f21));" (call_expression "__assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  (char *)(unaff_EDI + 0xc8f21))" identifier (argument_list "((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  (char *)(unaff_EDI + 0xc8f21))" ( (cast_expression "(char *)(unaff_EDI + 0x6c2a1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x6c2a1)" ( (binary_expression "unaff_EDI + 0x6c2a1" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f4c)" ( (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0xc8f21)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f21)" ( (binary_expression "unaff_EDI + 0xc8f21" identifier + number_literal) ))) ))) ;) })) (if_statement "if (image_00->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,(char *)(unaff_EDI + 0xc8f4c),(char *)(unaff_EDI + 0xc8f15),0x267,\n                   (char *)(unaff_EDI + 0x78db7),image_00->filename);\n  }" if (parenthesized_expression "(image_00->debug != MagickFalse)" ( (binary_expression "image_00->debug != MagickFalse" (field_expression "image_00->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    LogMagickEvent(TraceEvent,(char *)(unaff_EDI + 0xc8f4c),(char *)(unaff_EDI + 0xc8f15),0x267,\n                   (char *)(unaff_EDI + 0x78db7),image_00->filename);\n  }" { (expression_statement "LogMagickEvent(TraceEvent,(char *)(unaff_EDI + 0xc8f4c),(char *)(unaff_EDI + 0xc8f15),0x267,\n                   (char *)(unaff_EDI + 0x78db7),image_00->filename);" (call_expression "LogMagickEvent(TraceEvent,(char *)(unaff_EDI + 0xc8f4c),(char *)(unaff_EDI + 0xc8f15),0x267,\n                   (char *)(unaff_EDI + 0x78db7),image_00->filename)" identifier (argument_list "(TraceEvent,(char *)(unaff_EDI + 0xc8f4c),(char *)(unaff_EDI + 0xc8f15),0x267,\n                   (char *)(unaff_EDI + 0x78db7),image_00->filename)" ( identifier , (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f4c)" ( (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0xc8f15)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f15)" ( (binary_expression "unaff_EDI + 0xc8f15" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x78db7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x78db7)" ( (binary_expression "unaff_EDI + 0x78db7" identifier + number_literal) ))) , (field_expression "image_00->filename" identifier -> field_identifier) ))) ;) })) (if_statement "if (iVar7 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }" { comment (expression_statement "__assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  (char *)(unaff_EDI + 0xc8f21));" (call_expression "__assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  (char *)(unaff_EDI + 0xc8f21))" identifier (argument_list "((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  (char *)(unaff_EDI + 0xc8f21))" ( (cast_expression "(char *)(unaff_EDI + 0xc960d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc960d)" ( (binary_expression "unaff_EDI + 0xc960d" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f4c)" ( (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0xc8f21)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f21)" ( (binary_expression "unaff_EDI + 0xc8f21" identifier + number_literal) ))) ))) ;) })) (if_statement "if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xce3b9),(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }" if (parenthesized_expression "(image == (Image *)0x0)" ( (binary_expression "image == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail((char *)(unaff_EDI + 0xce3b9),(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  (char *)(unaff_EDI + 0xc8f21));\n  }" { comment (expression_statement "__assert_fail((char *)(unaff_EDI + 0xce3b9),(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  (char *)(unaff_EDI + 0xc8f21));" (call_expression "__assert_fail((char *)(unaff_EDI + 0xce3b9),(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  (char *)(unaff_EDI + 0xc8f21))" identifier (argument_list "((char *)(unaff_EDI + 0xce3b9),(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  (char *)(unaff_EDI + 0xc8f21))" ( (cast_expression "(char *)(unaff_EDI + 0xce3b9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xce3b9)" ( (binary_expression "unaff_EDI + 0xce3b9" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f4c)" ( (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0xc8f21)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f21)" ( (binary_expression "unaff_EDI + 0xc8f21" identifier + number_literal) ))) ))) ;) })) (expression_statement "pcVar10 = (char *)(iVar7 + -1 + extraout_ECX);" (assignment_expression "pcVar10 = (char *)(iVar7 + -1 + extraout_ECX)" identifier = (cast_expression "(char *)(iVar7 + -1 + extraout_ECX)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + -1 + extraout_ECX)" ( (binary_expression "iVar7 + -1 + extraout_ECX" (binary_expression "iVar7 + -1" identifier + number_literal) + identifier) )))) ;) (expression_statement "uVar5 = *pcVar10;" (assignment_expression "uVar5 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) (expression_statement "pIVar4 = image;" (assignment_expression "pIVar4 = image" identifier = identifier) ;) (if_statement "if (0 < (int)extraout_ECX) {\n    iVar1 = 0;\n    local_2c = 0;\n    pIVar3 = image;\n    uVar6 = uVar5;\n    do {\n      if (uVar6 == uVar5) {\n        iVar1 = iVar1 + 1;\n      }\n      else if (iVar1 < 3) {\n        if (iVar1 == 0) {\n          iVar1 = 1;\n          uVar5 = uVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *(undefined1 *)&pIVar3->storage_class = uVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          uVar5 = *pcVar10;\n        }\n      }\n      else {\n        pIVar4 = pIVar3;\n        if (local_2c != 0) {\n          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n        }\n        do {\n          iVar2 = 0x80;\n          if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }\n          *(undefined1 *)&pIVar4->storage_class = uVar5;\n          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);\n          iVar1 = iVar1 - iVar2;\n          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;\n          pIVar4 = pIVar3;\n        } while (0 < iVar1);\n        uVar5 = *pcVar10;\n        iVar1 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar7 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      uVar6 = *pcVar10;\n    } while( true );\n  }" if (parenthesized_expression "(0 < (int)extraout_ECX)" ( (binary_expression "0 < (int)extraout_ECX" number_literal < (cast_expression "(int)extraout_ECX" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    iVar1 = 0;\n    local_2c = 0;\n    pIVar3 = image;\n    uVar6 = uVar5;\n    do {\n      if (uVar6 == uVar5) {\n        iVar1 = iVar1 + 1;\n      }\n      else if (iVar1 < 3) {\n        if (iVar1 == 0) {\n          iVar1 = 1;\n          uVar5 = uVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *(undefined1 *)&pIVar3->storage_class = uVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          uVar5 = *pcVar10;\n        }\n      }\n      else {\n        pIVar4 = pIVar3;\n        if (local_2c != 0) {\n          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n        }\n        do {\n          iVar2 = 0x80;\n          if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }\n          *(undefined1 *)&pIVar4->storage_class = uVar5;\n          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);\n          iVar1 = iVar1 - iVar2;\n          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;\n          pIVar4 = pIVar3;\n        } while (0 < iVar1);\n        uVar5 = *pcVar10;\n        iVar1 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar7 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      uVar6 = *pcVar10;\n    } while( true );\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "pIVar3 = image;" (assignment_expression "pIVar3 = image" identifier = identifier) ;) (expression_statement "uVar6 = uVar5;" (assignment_expression "uVar6 = uVar5" identifier = identifier) ;) (do_statement "do {\n      if (uVar6 == uVar5) {\n        iVar1 = iVar1 + 1;\n      }\n      else if (iVar1 < 3) {\n        if (iVar1 == 0) {\n          iVar1 = 1;\n          uVar5 = uVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *(undefined1 *)&pIVar3->storage_class = uVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          uVar5 = *pcVar10;\n        }\n      }\n      else {\n        pIVar4 = pIVar3;\n        if (local_2c != 0) {\n          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n        }\n        do {\n          iVar2 = 0x80;\n          if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }\n          *(undefined1 *)&pIVar4->storage_class = uVar5;\n          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);\n          iVar1 = iVar1 - iVar2;\n          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;\n          pIVar4 = pIVar3;\n        } while (0 < iVar1);\n        uVar5 = *pcVar10;\n        iVar1 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar7 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      uVar6 = *pcVar10;\n    } while( true );" do (compound_statement "{\n      if (uVar6 == uVar5) {\n        iVar1 = iVar1 + 1;\n      }\n      else if (iVar1 < 3) {\n        if (iVar1 == 0) {\n          iVar1 = 1;\n          uVar5 = uVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *(undefined1 *)&pIVar3->storage_class = uVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          uVar5 = *pcVar10;\n        }\n      }\n      else {\n        pIVar4 = pIVar3;\n        if (local_2c != 0) {\n          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n        }\n        do {\n          iVar2 = 0x80;\n          if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }\n          *(undefined1 *)&pIVar4->storage_class = uVar5;\n          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);\n          iVar1 = iVar1 - iVar2;\n          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;\n          pIVar4 = pIVar3;\n        } while (0 < iVar1);\n        uVar5 = *pcVar10;\n        iVar1 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar7 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      uVar6 = *pcVar10;\n    }" { (if_statement "if (uVar6 == uVar5) {\n        iVar1 = iVar1 + 1;\n      }\n      else if (iVar1 < 3) {\n        if (iVar1 == 0) {\n          iVar1 = 1;\n          uVar5 = uVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *(undefined1 *)&pIVar3->storage_class = uVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          uVar5 = *pcVar10;\n        }\n      }\n      else {\n        pIVar4 = pIVar3;\n        if (local_2c != 0) {\n          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n        }\n        do {\n          iVar2 = 0x80;\n          if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }\n          *(undefined1 *)&pIVar4->storage_class = uVar5;\n          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);\n          iVar1 = iVar1 - iVar2;\n          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;\n          pIVar4 = pIVar3;\n        } while (0 < iVar1);\n        uVar5 = *pcVar10;\n        iVar1 = 1;\n        local_2c = 0;\n      }" if (parenthesized_expression "(uVar6 == uVar5)" ( (binary_expression "uVar6 == uVar5" identifier == identifier) )) (compound_statement "{\n        iVar1 = iVar1 + 1;\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) }) (else_clause "else if (iVar1 < 3) {\n        if (iVar1 == 0) {\n          iVar1 = 1;\n          uVar5 = uVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *(undefined1 *)&pIVar3->storage_class = uVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          uVar5 = *pcVar10;\n        }\n      }\n      else {\n        pIVar4 = pIVar3;\n        if (local_2c != 0) {\n          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n        }\n        do {\n          iVar2 = 0x80;\n          if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }\n          *(undefined1 *)&pIVar4->storage_class = uVar5;\n          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);\n          iVar1 = iVar1 - iVar2;\n          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;\n          pIVar4 = pIVar3;\n        } while (0 < iVar1);\n        uVar5 = *pcVar10;\n        iVar1 = 1;\n        local_2c = 0;\n      }" else (if_statement "if (iVar1 < 3) {\n        if (iVar1 == 0) {\n          iVar1 = 1;\n          uVar5 = uVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *(undefined1 *)&pIVar3->storage_class = uVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          uVar5 = *pcVar10;\n        }\n      }\n      else {\n        pIVar4 = pIVar3;\n        if (local_2c != 0) {\n          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n        }\n        do {\n          iVar2 = 0x80;\n          if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }\n          *(undefined1 *)&pIVar4->storage_class = uVar5;\n          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);\n          iVar1 = iVar1 - iVar2;\n          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;\n          pIVar4 = pIVar3;\n        } while (0 < iVar1);\n        uVar5 = *pcVar10;\n        iVar1 = 1;\n        local_2c = 0;\n      }" if (parenthesized_expression "(iVar1 < 3)" ( (binary_expression "iVar1 < 3" identifier < number_literal) )) (compound_statement "{\n        if (iVar1 == 0) {\n          iVar1 = 1;\n          uVar5 = uVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *(undefined1 *)&pIVar3->storage_class = uVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          uVar5 = *pcVar10;\n        }\n      }" { (if_statement "if (iVar1 == 0) {\n          iVar1 = 1;\n          uVar5 = uVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *(undefined1 *)&pIVar3->storage_class = uVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          uVar5 = *pcVar10;\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar1 = 1;\n          uVar5 = uVar6;\n        }" { (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (expression_statement "uVar5 = uVar6;" (assignment_expression "uVar5 = uVar6" identifier = identifier) ;) }) (else_clause "else {\n          local_2c = local_2c + 1;\n          *(undefined1 *)&pIVar3->storage_class = uVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          uVar5 = *pcVar10;\n        }" else (compound_statement "{\n          local_2c = local_2c + 1;\n          *(undefined1 *)&pIVar3->storage_class = uVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          uVar5 = *pcVar10;\n        }" { (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "*(undefined1 *)&pIVar3->storage_class = uVar5;" (assignment_expression "*(undefined1 *)&pIVar3->storage_class = uVar5" (pointer_expression "*(undefined1 *)&pIVar3->storage_class" * (cast_expression "(undefined1 *)&pIVar3->storage_class" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier)))) = identifier) ;) (if_statement "if (local_2c == 0x80) goto LAB_0023e166;" if (parenthesized_expression "(local_2c == 0x80)" ( (binary_expression "local_2c == 0x80" identifier == number_literal) )) (goto_statement "goto LAB_0023e166;" goto statement_identifier ;)) (while_statement "while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }" while (parenthesized_expression "(pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1)" ( (comma_expression "pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1" (assignment_expression "pIVar3 = (Image *)((int)&pIVar3->storage_class + 1)" identifier = (cast_expression "(Image *)((int)&pIVar3->storage_class + 1)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar3->storage_class + 1)" ( (binary_expression "(int)&pIVar3->storage_class + 1" (cast_expression "(int)&pIVar3->storage_class" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier))) + number_literal) )))) , (binary_expression "iVar1 != 1" identifier != number_literal)) )) (compound_statement "{\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }\n          }" { (while_statement "while( true ) {\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              local_2c = local_2c + 1;\n              iVar1 = 1;\n              *(undefined1 *)&pIVar3->storage_class = uVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;\n              local_2c = 0;\n              pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n              if (iVar1 == 1) goto LAB_0023e174;\n            }" { (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (expression_statement "*(undefined1 *)&pIVar3->storage_class = uVar5;" (assignment_expression "*(undefined1 *)&pIVar3->storage_class = uVar5" (pointer_expression "*(undefined1 *)&pIVar3->storage_class" * (cast_expression "(undefined1 *)&pIVar3->storage_class" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier)))) = identifier) ;) (if_statement "if (local_2c != 0x80) break;" if (parenthesized_expression "(local_2c != 0x80)" ( (binary_expression "local_2c != 0x80" identifier != number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0023e166:\n              *(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;" statement_identifier : (expression_statement "*(byte *)((int)&pIVar3->storage_class + 1) = 0x7f;" (assignment_expression "*(byte *)((int)&pIVar3->storage_class + 1) = 0x7f" (pointer_expression "*(byte *)((int)&pIVar3->storage_class + 1)" * (cast_expression "(byte *)((int)&pIVar3->storage_class + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar3->storage_class + 1)" ( (binary_expression "(int)&pIVar3->storage_class + 1" (cast_expression "(int)&pIVar3->storage_class" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;)) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);" (assignment_expression "pIVar3 = (Image *)((int)&pIVar3->storage_class + 2)" identifier = (cast_expression "(Image *)((int)&pIVar3->storage_class + 2)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar3->storage_class + 2)" ( (binary_expression "(int)&pIVar3->storage_class + 2" (cast_expression "(int)&pIVar3->storage_class" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier))) + number_literal) )))) ;) (if_statement "if (iVar1 == 1) goto LAB_0023e174;" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0023e174;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_0023e174:\n          uVar5 = *pcVar10;" statement_identifier : (expression_statement "uVar5 = *pcVar10;" (assignment_expression "uVar5 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;)) }))) }) (else_clause "else {\n        pIVar4 = pIVar3;\n        if (local_2c != 0) {\n          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n        }\n        do {\n          iVar2 = 0x80;\n          if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }\n          *(undefined1 *)&pIVar4->storage_class = uVar5;\n          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);\n          iVar1 = iVar1 - iVar2;\n          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;\n          pIVar4 = pIVar3;\n        } while (0 < iVar1);\n        uVar5 = *pcVar10;\n        iVar1 = 1;\n        local_2c = 0;\n      }" else (compound_statement "{\n        pIVar4 = pIVar3;\n        if (local_2c != 0) {\n          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n        }\n        do {\n          iVar2 = 0x80;\n          if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }\n          *(undefined1 *)&pIVar4->storage_class = uVar5;\n          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);\n          iVar1 = iVar1 - iVar2;\n          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;\n          pIVar4 = pIVar3;\n        } while (0 < iVar1);\n        uVar5 = *pcVar10;\n        iVar1 = 1;\n        local_2c = 0;\n      }" { (expression_statement "pIVar4 = pIVar3;" (assignment_expression "pIVar4 = pIVar3" identifier = identifier) ;) (if_statement "if (local_2c != 0) {\n          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n        }" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (compound_statement "{\n          *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n          pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n        }" { (expression_statement "*(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;" (assignment_expression "*(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass" (pointer_expression "*(undefined1 *)&pIVar3->storage_class" * (cast_expression "(undefined1 *)&pIVar3->storage_class" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier)))) = (binary_expression "(char)local_2c - DirectClass" (cast_expression "(char)local_2c" ( (type_descriptor "char" primitive_type) ) identifier) - identifier)) ;) (expression_statement "pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);" (assignment_expression "pIVar4 = (Image *)((int)&pIVar3->storage_class + 1)" identifier = (cast_expression "(Image *)((int)&pIVar3->storage_class + 1)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar3->storage_class + 1)" ( (binary_expression "(int)&pIVar3->storage_class + 1" (cast_expression "(int)&pIVar3->storage_class" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier))) + number_literal) )))) ;) })) (do_statement "do {\n          iVar2 = 0x80;\n          if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }\n          *(undefined1 *)&pIVar4->storage_class = uVar5;\n          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);\n          iVar1 = iVar1 - iVar2;\n          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;\n          pIVar4 = pIVar3;\n        } while (0 < iVar1);" do (compound_statement "{\n          iVar2 = 0x80;\n          if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }\n          *(undefined1 *)&pIVar4->storage_class = uVar5;\n          pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);\n          iVar1 = iVar1 - iVar2;\n          *(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;\n          pIVar4 = pIVar3;\n        }" { (expression_statement "iVar2 = 0x80;" (assignment_expression "iVar2 = 0x80" identifier = number_literal) ;) (if_statement "if (iVar1 < 0x81) {\n            iVar2 = iVar1;\n          }" if (parenthesized_expression "(iVar1 < 0x81)" ( (binary_expression "iVar1 < 0x81" identifier < number_literal) )) (compound_statement "{\n            iVar2 = iVar1;\n          }" { (expression_statement "iVar2 = iVar1;" (assignment_expression "iVar2 = iVar1" identifier = identifier) ;) })) (expression_statement "*(undefined1 *)&pIVar4->storage_class = uVar5;" (assignment_expression "*(undefined1 *)&pIVar4->storage_class = uVar5" (pointer_expression "*(undefined1 *)&pIVar4->storage_class" * (cast_expression "(undefined1 *)&pIVar4->storage_class" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar4->storage_class" & (field_expression "pIVar4->storage_class" identifier -> field_identifier)))) = identifier) ;) (expression_statement "pIVar3 = (Image *)((int)&pIVar4->storage_class + 2);" (assignment_expression "pIVar3 = (Image *)((int)&pIVar4->storage_class + 2)" identifier = (cast_expression "(Image *)((int)&pIVar4->storage_class + 2)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar4->storage_class + 2)" ( (binary_expression "(int)&pIVar4->storage_class + 2" (cast_expression "(int)&pIVar4->storage_class" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar4->storage_class" & (field_expression "pIVar4->storage_class" identifier -> field_identifier))) + number_literal) )))) ;) (expression_statement "iVar1 = iVar1 - iVar2;" (assignment_expression "iVar1 = iVar1 - iVar2" identifier = (binary_expression "iVar1 - iVar2" identifier - identifier)) ;) (expression_statement "*(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2;" (assignment_expression "*(byte *)((int)&pIVar4->storage_class + 1) = 1 - (char)iVar2" (pointer_expression "*(byte *)((int)&pIVar4->storage_class + 1)" * (cast_expression "(byte *)((int)&pIVar4->storage_class + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar4->storage_class + 1)" ( (binary_expression "(int)&pIVar4->storage_class + 1" (cast_expression "(int)&pIVar4->storage_class" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar4->storage_class" & (field_expression "pIVar4->storage_class" identifier -> field_identifier))) + number_literal) )))) = (binary_expression "1 - (char)iVar2" number_literal - (cast_expression "(char)iVar2" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (expression_statement "pIVar4 = pIVar3;" (assignment_expression "pIVar4 = pIVar3" identifier = identifier) ;) }) while (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) ;) (expression_statement "uVar5 = *pcVar10;" (assignment_expression "uVar5 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) }))))) (if_statement "if ((char *)(iVar7 + -1) == pcVar10 + -1) goto LAB_0023e186;" if (parenthesized_expression "((char *)(iVar7 + -1) == pcVar10 + -1)" ( (binary_expression "(char *)(iVar7 + -1) == pcVar10 + -1" (cast_expression "(char *)(iVar7 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + -1)" ( (binary_expression "iVar7 + -1" identifier + number_literal) ))) == (binary_expression "pcVar10 + -1" identifier + number_literal)) )) (goto_statement "goto LAB_0023e186;" goto statement_identifier ;)) (expression_statement "pcVar10 = pcVar10 + -1;" (assignment_expression "pcVar10 = pcVar10 + -1" identifier = (binary_expression "pcVar10 + -1" identifier + number_literal)) ;) (expression_statement "uVar6 = *pcVar10;" (assignment_expression "uVar6 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (labeled_statement "LAB_0023e1cf:\n  iVar7 = (int)pIVar4 - (int)image;" statement_identifier : (expression_statement "iVar7 = (int)pIVar4 - (int)image;" (assignment_expression "iVar7 = (int)pIVar4 - (int)image" identifier = (binary_expression "(int)pIVar4 - (int)image" (cast_expression "(int)pIVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)image" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (labeled_statement "joined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    sVar8 = iVar7 + 1;\n    WriteBlobByte(image_00,(uchar)iVar7);\n  }\n  else {\n    sVar8 = iVar7 + 2;\n    WriteBlobMSBShort(image_00,(ushort)iVar7);\n  }" statement_identifier : (if_statement "if (extraout_ECX < 0xc9) {\n    sVar8 = iVar7 + 1;\n    WriteBlobByte(image_00,(uchar)iVar7);\n  }\n  else {\n    sVar8 = iVar7 + 2;\n    WriteBlobMSBShort(image_00,(ushort)iVar7);\n  }" if (parenthesized_expression "(extraout_ECX < 0xc9)" ( (binary_expression "extraout_ECX < 0xc9" identifier < number_literal) )) (compound_statement "{\n    sVar8 = iVar7 + 1;\n    WriteBlobByte(image_00,(uchar)iVar7);\n  }" { (expression_statement "sVar8 = iVar7 + 1;" (assignment_expression "sVar8 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "WriteBlobByte(image_00,(uchar)iVar7);" (call_expression "WriteBlobByte(image_00,(uchar)iVar7)" identifier (argument_list "(image_00,(uchar)iVar7)" ( identifier , (cast_expression "(uchar)iVar7" ( (type_descriptor "uchar" type_identifier) ) identifier) ))) ;) }) (else_clause "else {\n    sVar8 = iVar7 + 2;\n    WriteBlobMSBShort(image_00,(ushort)iVar7);\n  }" else (compound_statement "{\n    sVar8 = iVar7 + 2;\n    WriteBlobMSBShort(image_00,(ushort)iVar7);\n  }" { (expression_statement "sVar8 = iVar7 + 2;" (assignment_expression "sVar8 = iVar7 + 2" identifier = (binary_expression "iVar7 + 2" identifier + number_literal)) ;) (expression_statement "WriteBlobMSBShort(image_00,(ushort)iVar7);" (call_expression "WriteBlobMSBShort(image_00,(ushort)iVar7)" identifier (argument_list "(image_00,(ushort)iVar7)" ( identifier , (cast_expression "(ushort)iVar7" ( (type_descriptor "ushort" type_identifier) ) identifier) ))) ;) })))) (while_statement "while (pIVar4 != image) {\n    pIVar4 = (Image *)((int)&pIVar4[-1].channels + 3);\n    WriteBlobByte(image_00,(char)pIVar4->storage_class);\n  }" while (parenthesized_expression "(pIVar4 != image)" ( (binary_expression "pIVar4 != image" identifier != identifier) )) (compound_statement "{\n    pIVar4 = (Image *)((int)&pIVar4[-1].channels + 3);\n    WriteBlobByte(image_00,(char)pIVar4->storage_class);\n  }" { (expression_statement "pIVar4 = (Image *)((int)&pIVar4[-1].channels + 3);" (assignment_expression "pIVar4 = (Image *)((int)&pIVar4[-1].channels + 3)" identifier = (cast_expression "(Image *)((int)&pIVar4[-1].channels + 3)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar4[-1].channels + 3)" ( (binary_expression "(int)&pIVar4[-1].channels + 3" (cast_expression "(int)&pIVar4[-1].channels" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar4[-1].channels" & (field_expression "pIVar4[-1].channels" (subscript_expression "pIVar4[-1]" identifier [ number_literal ]) . field_identifier))) + number_literal) )))) ;) (expression_statement "WriteBlobByte(image_00,(char)pIVar4->storage_class);" (call_expression "WriteBlobByte(image_00,(char)pIVar4->storage_class)" identifier (argument_list "(image_00,(char)pIVar4->storage_class)" ( identifier , (cast_expression "(char)pIVar4->storage_class" ( (type_descriptor "char" primitive_type) ) (field_expression "pIVar4->storage_class" identifier -> field_identifier)) ))) ;) })) (return_statement "return sVar8;" return identifier ;) (labeled_statement "LAB_0023e186:\n  if (iVar1 < 3) {\n    local_2c = local_2c + 1;\n    *(undefined1 *)&pIVar3->storage_class = uVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar1 = 1;\n        *(undefined1 *)&pIVar3->storage_class = uVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        *(undefined1 *)((int)&pIVar3->storage_class + 1) = 0x7f;\n        local_2c = 0;\n        pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n        if (iVar1 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pIVar4 = pIVar3;\n    if (local_2c != 0) {\n      pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n      iVar7 = (int)pIVar4 - (int)image;\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pIVar9 = pIVar3;\n    if (local_2c != 0) {\n      pIVar9 = (Image *)((int)&pIVar3->storage_class + 1);\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n    }\n    do {\n      *(undefined1 *)&pIVar9->storage_class = uVar5;\n      iVar7 = 0x80;\n      if (iVar1 < 0x81) {\n        iVar7 = iVar1;\n      }\n      pIVar4 = (Image *)((int)&pIVar9->storage_class + 2);\n      iVar1 = iVar1 - iVar7;\n      *(byte *)((int)&pIVar9->storage_class + 1) = 1 - (char)iVar7;\n      pIVar9 = pIVar4;\n    } while (0 < iVar1);\n  }" statement_identifier : (if_statement "if (iVar1 < 3) {\n    local_2c = local_2c + 1;\n    *(undefined1 *)&pIVar3->storage_class = uVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar1 = 1;\n        *(undefined1 *)&pIVar3->storage_class = uVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        *(undefined1 *)((int)&pIVar3->storage_class + 1) = 0x7f;\n        local_2c = 0;\n        pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n        if (iVar1 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pIVar4 = pIVar3;\n    if (local_2c != 0) {\n      pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n      iVar7 = (int)pIVar4 - (int)image;\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pIVar9 = pIVar3;\n    if (local_2c != 0) {\n      pIVar9 = (Image *)((int)&pIVar3->storage_class + 1);\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n    }\n    do {\n      *(undefined1 *)&pIVar9->storage_class = uVar5;\n      iVar7 = 0x80;\n      if (iVar1 < 0x81) {\n        iVar7 = iVar1;\n      }\n      pIVar4 = (Image *)((int)&pIVar9->storage_class + 2);\n      iVar1 = iVar1 - iVar7;\n      *(byte *)((int)&pIVar9->storage_class + 1) = 1 - (char)iVar7;\n      pIVar9 = pIVar4;\n    } while (0 < iVar1);\n  }" if (parenthesized_expression "(iVar1 < 3)" ( (binary_expression "iVar1 < 3" identifier < number_literal) )) (compound_statement "{\n    local_2c = local_2c + 1;\n    *(undefined1 *)&pIVar3->storage_class = uVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar1 = 1;\n        *(undefined1 *)&pIVar3->storage_class = uVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        *(undefined1 *)((int)&pIVar3->storage_class + 1) = 0x7f;\n        local_2c = 0;\n        pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n        if (iVar1 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pIVar4 = pIVar3;\n    if (local_2c != 0) {\n      pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n      iVar7 = (int)pIVar4 - (int)image;\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n      goto joined_r0x0023e303;\n    }\n  }" { (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "*(undefined1 *)&pIVar3->storage_class = uVar5;" (assignment_expression "*(undefined1 *)&pIVar3->storage_class = uVar5" (pointer_expression "*(undefined1 *)&pIVar3->storage_class" * (cast_expression "(undefined1 *)&pIVar3->storage_class" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier)))) = identifier) ;) (if_statement "if (local_2c == 0x80) goto LAB_0023e2d7;" if (parenthesized_expression "(local_2c == 0x80)" ( (binary_expression "local_2c == 0x80" identifier == number_literal) )) (goto_statement "goto LAB_0023e2d7;" goto statement_identifier ;)) (while_statement "while (pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar1 = 1;\n        *(undefined1 *)&pIVar3->storage_class = uVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        *(undefined1 *)((int)&pIVar3->storage_class + 1) = 0x7f;\n        local_2c = 0;\n        pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n        if (iVar1 == 1) goto LAB_0023e2e5;\n      }\n    }" while (parenthesized_expression "(pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1)" ( (comma_expression "pIVar3 = (Image *)((int)&pIVar3->storage_class + 1), iVar1 != 1" (assignment_expression "pIVar3 = (Image *)((int)&pIVar3->storage_class + 1)" identifier = (cast_expression "(Image *)((int)&pIVar3->storage_class + 1)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar3->storage_class + 1)" ( (binary_expression "(int)&pIVar3->storage_class + 1" (cast_expression "(int)&pIVar3->storage_class" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier))) + number_literal) )))) , (binary_expression "iVar1 != 1" identifier != number_literal)) )) (compound_statement "{\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar1 = 1;\n        *(undefined1 *)&pIVar3->storage_class = uVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        *(undefined1 *)((int)&pIVar3->storage_class + 1) = 0x7f;\n        local_2c = 0;\n        pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n        if (iVar1 == 1) goto LAB_0023e2e5;\n      }\n    }" { (while_statement "while( true ) {\n        local_2c = local_2c + 1;\n        iVar1 = 1;\n        *(undefined1 *)&pIVar3->storage_class = uVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        *(undefined1 *)((int)&pIVar3->storage_class + 1) = 0x7f;\n        local_2c = 0;\n        pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n        if (iVar1 == 1) goto LAB_0023e2e5;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        local_2c = local_2c + 1;\n        iVar1 = 1;\n        *(undefined1 *)&pIVar3->storage_class = uVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        *(undefined1 *)((int)&pIVar3->storage_class + 1) = 0x7f;\n        local_2c = 0;\n        pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);\n        if (iVar1 == 1) goto LAB_0023e2e5;\n      }" { (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (expression_statement "*(undefined1 *)&pIVar3->storage_class = uVar5;" (assignment_expression "*(undefined1 *)&pIVar3->storage_class = uVar5" (pointer_expression "*(undefined1 *)&pIVar3->storage_class" * (cast_expression "(undefined1 *)&pIVar3->storage_class" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier)))) = identifier) ;) (if_statement "if (local_2c != 0x80) break;" if (parenthesized_expression "(local_2c != 0x80)" ( (binary_expression "local_2c != 0x80" identifier != number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0023e2d7:\n        *(undefined1 *)((int)&pIVar3->storage_class + 1) = 0x7f;" statement_identifier : (expression_statement "*(undefined1 *)((int)&pIVar3->storage_class + 1) = 0x7f;" (assignment_expression "*(undefined1 *)((int)&pIVar3->storage_class + 1) = 0x7f" (pointer_expression "*(undefined1 *)((int)&pIVar3->storage_class + 1)" * (cast_expression "(undefined1 *)((int)&pIVar3->storage_class + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar3->storage_class + 1)" ( (binary_expression "(int)&pIVar3->storage_class + 1" (cast_expression "(int)&pIVar3->storage_class" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;)) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "pIVar3 = (Image *)((int)&pIVar3->storage_class + 2);" (assignment_expression "pIVar3 = (Image *)((int)&pIVar3->storage_class + 2)" identifier = (cast_expression "(Image *)((int)&pIVar3->storage_class + 2)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar3->storage_class + 2)" ( (binary_expression "(int)&pIVar3->storage_class + 2" (cast_expression "(int)&pIVar3->storage_class" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier))) + number_literal) )))) ;) (if_statement "if (iVar1 == 1) goto LAB_0023e2e5;" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0023e2e5;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_0023e2e5:\n    pIVar4 = pIVar3;" statement_identifier : (expression_statement "pIVar4 = pIVar3;" (assignment_expression "pIVar4 = pIVar3" identifier = identifier) ;)) (if_statement "if (local_2c != 0) {\n      pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n      iVar7 = (int)pIVar4 - (int)image;\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n      goto joined_r0x0023e303;\n    }" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (compound_statement "{\n      pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);\n      iVar7 = (int)pIVar4 - (int)image;\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n      goto joined_r0x0023e303;\n    }" { (expression_statement "pIVar4 = (Image *)((int)&pIVar3->storage_class + 1);" (assignment_expression "pIVar4 = (Image *)((int)&pIVar3->storage_class + 1)" identifier = (cast_expression "(Image *)((int)&pIVar3->storage_class + 1)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar3->storage_class + 1)" ( (binary_expression "(int)&pIVar3->storage_class + 1" (cast_expression "(int)&pIVar3->storage_class" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier))) + number_literal) )))) ;) (expression_statement "iVar7 = (int)pIVar4 - (int)image;" (assignment_expression "iVar7 = (int)pIVar4 - (int)image" identifier = (binary_expression "(int)pIVar4 - (int)image" (cast_expression "(int)pIVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)image" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;" (assignment_expression "*(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass" (pointer_expression "*(undefined1 *)&pIVar3->storage_class" * (cast_expression "(undefined1 *)&pIVar3->storage_class" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier)))) = (binary_expression "(char)local_2c - DirectClass" (cast_expression "(char)local_2c" ( (type_descriptor "char" primitive_type) ) identifier) - identifier)) ;) (goto_statement "goto joined_r0x0023e303;" goto statement_identifier ;) })) }) (else_clause "else {\n    pIVar9 = pIVar3;\n    if (local_2c != 0) {\n      pIVar9 = (Image *)((int)&pIVar3->storage_class + 1);\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n    }\n    do {\n      *(undefined1 *)&pIVar9->storage_class = uVar5;\n      iVar7 = 0x80;\n      if (iVar1 < 0x81) {\n        iVar7 = iVar1;\n      }\n      pIVar4 = (Image *)((int)&pIVar9->storage_class + 2);\n      iVar1 = iVar1 - iVar7;\n      *(byte *)((int)&pIVar9->storage_class + 1) = 1 - (char)iVar7;\n      pIVar9 = pIVar4;\n    } while (0 < iVar1);\n  }" else (compound_statement "{\n    pIVar9 = pIVar3;\n    if (local_2c != 0) {\n      pIVar9 = (Image *)((int)&pIVar3->storage_class + 1);\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n    }\n    do {\n      *(undefined1 *)&pIVar9->storage_class = uVar5;\n      iVar7 = 0x80;\n      if (iVar1 < 0x81) {\n        iVar7 = iVar1;\n      }\n      pIVar4 = (Image *)((int)&pIVar9->storage_class + 2);\n      iVar1 = iVar1 - iVar7;\n      *(byte *)((int)&pIVar9->storage_class + 1) = 1 - (char)iVar7;\n      pIVar9 = pIVar4;\n    } while (0 < iVar1);\n  }" { (expression_statement "pIVar9 = pIVar3;" (assignment_expression "pIVar9 = pIVar3" identifier = identifier) ;) (if_statement "if (local_2c != 0) {\n      pIVar9 = (Image *)((int)&pIVar3->storage_class + 1);\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n    }" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (compound_statement "{\n      pIVar9 = (Image *)((int)&pIVar3->storage_class + 1);\n      *(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;\n    }" { (expression_statement "pIVar9 = (Image *)((int)&pIVar3->storage_class + 1);" (assignment_expression "pIVar9 = (Image *)((int)&pIVar3->storage_class + 1)" identifier = (cast_expression "(Image *)((int)&pIVar3->storage_class + 1)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar3->storage_class + 1)" ( (binary_expression "(int)&pIVar3->storage_class + 1" (cast_expression "(int)&pIVar3->storage_class" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier))) + number_literal) )))) ;) (expression_statement "*(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass;" (assignment_expression "*(undefined1 *)&pIVar3->storage_class = (char)local_2c - DirectClass" (pointer_expression "*(undefined1 *)&pIVar3->storage_class" * (cast_expression "(undefined1 *)&pIVar3->storage_class" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar3->storage_class" & (field_expression "pIVar3->storage_class" identifier -> field_identifier)))) = (binary_expression "(char)local_2c - DirectClass" (cast_expression "(char)local_2c" ( (type_descriptor "char" primitive_type) ) identifier) - identifier)) ;) })) (do_statement "do {\n      *(undefined1 *)&pIVar9->storage_class = uVar5;\n      iVar7 = 0x80;\n      if (iVar1 < 0x81) {\n        iVar7 = iVar1;\n      }\n      pIVar4 = (Image *)((int)&pIVar9->storage_class + 2);\n      iVar1 = iVar1 - iVar7;\n      *(byte *)((int)&pIVar9->storage_class + 1) = 1 - (char)iVar7;\n      pIVar9 = pIVar4;\n    } while (0 < iVar1);" do (compound_statement "{\n      *(undefined1 *)&pIVar9->storage_class = uVar5;\n      iVar7 = 0x80;\n      if (iVar1 < 0x81) {\n        iVar7 = iVar1;\n      }\n      pIVar4 = (Image *)((int)&pIVar9->storage_class + 2);\n      iVar1 = iVar1 - iVar7;\n      *(byte *)((int)&pIVar9->storage_class + 1) = 1 - (char)iVar7;\n      pIVar9 = pIVar4;\n    }" { (expression_statement "*(undefined1 *)&pIVar9->storage_class = uVar5;" (assignment_expression "*(undefined1 *)&pIVar9->storage_class = uVar5" (pointer_expression "*(undefined1 *)&pIVar9->storage_class" * (cast_expression "(undefined1 *)&pIVar9->storage_class" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar9->storage_class" & (field_expression "pIVar9->storage_class" identifier -> field_identifier)))) = identifier) ;) (expression_statement "iVar7 = 0x80;" (assignment_expression "iVar7 = 0x80" identifier = number_literal) ;) (if_statement "if (iVar1 < 0x81) {\n        iVar7 = iVar1;\n      }" if (parenthesized_expression "(iVar1 < 0x81)" ( (binary_expression "iVar1 < 0x81" identifier < number_literal) )) (compound_statement "{\n        iVar7 = iVar1;\n      }" { (expression_statement "iVar7 = iVar1;" (assignment_expression "iVar7 = iVar1" identifier = identifier) ;) })) (expression_statement "pIVar4 = (Image *)((int)&pIVar9->storage_class + 2);" (assignment_expression "pIVar4 = (Image *)((int)&pIVar9->storage_class + 2)" identifier = (cast_expression "(Image *)((int)&pIVar9->storage_class + 2)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar9->storage_class + 2)" ( (binary_expression "(int)&pIVar9->storage_class + 2" (cast_expression "(int)&pIVar9->storage_class" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar9->storage_class" & (field_expression "pIVar9->storage_class" identifier -> field_identifier))) + number_literal) )))) ;) (expression_statement "iVar1 = iVar1 - iVar7;" (assignment_expression "iVar1 = iVar1 - iVar7" identifier = (binary_expression "iVar1 - iVar7" identifier - identifier)) ;) (expression_statement "*(byte *)((int)&pIVar9->storage_class + 1) = 1 - (char)iVar7;" (assignment_expression "*(byte *)((int)&pIVar9->storage_class + 1) = 1 - (char)iVar7" (pointer_expression "*(byte *)((int)&pIVar9->storage_class + 1)" * (cast_expression "(byte *)((int)&pIVar9->storage_class + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar9->storage_class + 1)" ( (binary_expression "(int)&pIVar9->storage_class + 1" (cast_expression "(int)&pIVar9->storage_class" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar9->storage_class" & (field_expression "pIVar9->storage_class" identifier -> field_identifier))) + number_literal) )))) = (binary_expression "1 - (char)iVar7" number_literal - (cast_expression "(char)iVar7" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (expression_statement "pIVar9 = pIVar4;" (assignment_expression "pIVar9 = pIVar4" identifier = identifier) ;) }) while (parenthesized_expression "(0 < iVar1)" ( (binary_expression "0 < iVar1" number_literal < identifier) )) ;) })))) (goto_statement "goto LAB_0023e1cf;" goto statement_identifier ;) })))
(translation_unit "int FUN_0023e090(char *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  uint extraout_ECX;\n  int iVar3;\n  char *pcVar4;\n  char cVar5;\n  char cVar6;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  int local_2c;\n  \n  uVar11 = FUN_0004c803();\n  iVar8 = (int)((ulonglong)uVar11 >> 0x20);\n  iVar1 = (int)uVar11;\n  if (iVar1 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);\n  }\n  if (iVar8 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (param_1 == (char *)0x0) {\n                    \n    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  pcVar10 = (char *)(iVar8 + -1 + extraout_ECX);\n  cVar5 = *pcVar10;\n  pcVar9 = param_1;\n  if (0 < (int)extraout_ECX) {\n    iVar2 = 0;\n    local_2c = 0;\n    pcVar4 = param_1;\n    cVar6 = cVar5;\n    do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );\n  }\nLAB_0023e1cf:\n  uVar7 = (int)pcVar9 - (int)param_1;\njoined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }\n  else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }\n  while (pcVar9 != param_1) {\n    pcVar9 = pcVar9 + -1;\n    WriteBlobByte(iVar1,*pcVar9);\n  }\n  return iVar8;\nLAB_0023e186:\n  if (iVar2 < 3) {\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }\n  goto LAB_0023e1cf;\n}\n\n" (function_definition "int FUN_0023e090(char *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  uint extraout_ECX;\n  int iVar3;\n  char *pcVar4;\n  char cVar5;\n  char cVar6;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  int local_2c;\n  \n  uVar11 = FUN_0004c803();\n  iVar8 = (int)((ulonglong)uVar11 >> 0x20);\n  iVar1 = (int)uVar11;\n  if (iVar1 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);\n  }\n  if (iVar8 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (param_1 == (char *)0x0) {\n                    \n    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  pcVar10 = (char *)(iVar8 + -1 + extraout_ECX);\n  cVar5 = *pcVar10;\n  pcVar9 = param_1;\n  if (0 < (int)extraout_ECX) {\n    iVar2 = 0;\n    local_2c = 0;\n    pcVar4 = param_1;\n    cVar6 = cVar5;\n    do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );\n  }\nLAB_0023e1cf:\n  uVar7 = (int)pcVar9 - (int)param_1;\njoined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }\n  else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }\n  while (pcVar9 != param_1) {\n    pcVar9 = pcVar9 + -1;\n    WriteBlobByte(iVar1,*pcVar9);\n  }\n  return iVar8;\nLAB_0023e186:\n  if (iVar2 < 3) {\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }\n  goto LAB_0023e1cf;\n}" primitive_type (function_declarator "FUN_0023e090(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint extraout_ECX;\n  int iVar3;\n  char *pcVar4;\n  char cVar5;\n  char cVar6;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  int local_2c;\n  \n  uVar11 = FUN_0004c803();\n  iVar8 = (int)((ulonglong)uVar11 >> 0x20);\n  iVar1 = (int)uVar11;\n  if (iVar1 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);\n  }\n  if (iVar8 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (param_1 == (char *)0x0) {\n                    \n    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  pcVar10 = (char *)(iVar8 + -1 + extraout_ECX);\n  cVar5 = *pcVar10;\n  pcVar9 = param_1;\n  if (0 < (int)extraout_ECX) {\n    iVar2 = 0;\n    local_2c = 0;\n    pcVar4 = param_1;\n    cVar6 = cVar5;\n    do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );\n  }\nLAB_0023e1cf:\n  uVar7 = (int)pcVar9 - (int)param_1;\njoined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }\n  else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }\n  while (pcVar9 != param_1) {\n    pcVar9 = pcVar9 + -1;\n    WriteBlobByte(iVar1,*pcVar9);\n  }\n  return iVar8;\nLAB_0023e186:\n  if (iVar2 < 3) {\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }\n  goto LAB_0023e1cf;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint extraout_ECX;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "uVar11 = FUN_0004c803();" (assignment_expression "uVar11 = FUN_0004c803()" identifier = (call_expression "FUN_0004c803()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar8 = (int)((ulonglong)uVar11 >> 0x20);" (assignment_expression "iVar8 = (int)((ulonglong)uVar11 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar11 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar11 >> 0x20)" ( (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar1 = (int)uVar11;" (assignment_expression "iVar1 = (int)uVar11" identifier = (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (iVar1 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" { (expression_statement "__assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);" (call_expression "__assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI)" identifier (argument_list "((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI)" ( (cast_expression "(char *)(unaff_EDI + 0x794fd)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x794fd)" ( (binary_expression "unaff_EDI + 0x794fd" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f4c)" ( (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_000c8f21 + unaff_EDI" (pointer_expression "&UNK_000c8f21" & identifier) + identifier) ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(iVar1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(iVar1 + 0x3344)" * (cast_expression "(int *)(iVar1 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3344)" ( (binary_expression "iVar1 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" { (expression_statement "__assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);" (call_expression "__assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI)" identifier (argument_list "((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI)" ( (cast_expression "(char *)(unaff_EDI + 0x6c2a1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x6c2a1)" ( (binary_expression "unaff_EDI + 0x6c2a1" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f4c)" ( (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_000c8f21 + unaff_EDI" (pointer_expression "&UNK_000c8f21" & identifier) + identifier) ))) ;) })) (if_statement "if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);\n  }" if (parenthesized_expression "(*(int *)(iVar1 + 0x3328) != 0)" ( (binary_expression "*(int *)(iVar1 + 0x3328) != 0" (pointer_expression "*(int *)(iVar1 + 0x3328)" * (cast_expression "(int *)(iVar1 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3328)" ( (binary_expression "iVar1 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);\n  }" { (expression_statement "LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);" (call_expression "LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318)" identifier (argument_list "(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318)" ( number_literal , (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) , (binary_expression "&UNK_000c8f15 + unaff_EDI" (pointer_expression "&UNK_000c8f15" & identifier) + identifier) , number_literal , (binary_expression "unaff_EDI + 0x78db7" identifier + number_literal) , (binary_expression "iVar1 + 0x318" identifier + number_literal) ))) ;) })) (if_statement "if (iVar8 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" { (expression_statement "__assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);" (call_expression "__assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI)" identifier (argument_list "((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI)" ( (cast_expression "(char *)(unaff_EDI + 0xc960d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc960d)" ( (binary_expression "unaff_EDI + 0xc960d" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f4c)" ( (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_000c8f21 + unaff_EDI" (pointer_expression "&UNK_000c8f21" & identifier) + identifier) ))) ;) })) (if_statement "if (param_1 == (char *)0x0) {\n                    \n    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" { (expression_statement "__assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);" (call_expression "__assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI)" identifier (argument_list "(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI)" ( (binary_expression "&UNK_000ce3b9 + unaff_EDI" (pointer_expression "&UNK_000ce3b9" & identifier) + identifier) , (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xc8f4c)" ( (binary_expression "unaff_EDI + 0xc8f4c" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_000c8f21 + unaff_EDI" (pointer_expression "&UNK_000c8f21" & identifier) + identifier) ))) ;) })) (expression_statement "pcVar10 = (char *)(iVar8 + -1 + extraout_ECX);" (assignment_expression "pcVar10 = (char *)(iVar8 + -1 + extraout_ECX)" identifier = (cast_expression "(char *)(iVar8 + -1 + extraout_ECX)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + -1 + extraout_ECX)" ( (binary_expression "iVar8 + -1 + extraout_ECX" (binary_expression "iVar8 + -1" identifier + number_literal) + identifier) )))) ;) (expression_statement "cVar5 = *pcVar10;" (assignment_expression "cVar5 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) (expression_statement "pcVar9 = param_1;" (assignment_expression "pcVar9 = param_1" identifier = identifier) ;) (if_statement "if (0 < (int)extraout_ECX) {\n    iVar2 = 0;\n    local_2c = 0;\n    pcVar4 = param_1;\n    cVar6 = cVar5;\n    do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );\n  }" if (parenthesized_expression "(0 < (int)extraout_ECX)" ( (binary_expression "0 < (int)extraout_ECX" number_literal < (cast_expression "(int)extraout_ECX" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    iVar2 = 0;\n    local_2c = 0;\n    pcVar4 = param_1;\n    cVar6 = cVar5;\n    do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = param_1;" (assignment_expression "pcVar4 = param_1" identifier = identifier) ;) (expression_statement "cVar6 = cVar5;" (assignment_expression "cVar6 = cVar5" identifier = identifier) ;) (do_statement "do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );" do (compound_statement "{\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    }" { (if_statement "if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" if (parenthesized_expression "(cVar6 == cVar5)" ( (binary_expression "cVar6 == cVar5" identifier == identifier) )) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) (else_clause "else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" else (if_statement "if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" if (parenthesized_expression "(iVar2 < 3)" ( (binary_expression "iVar2 < 3" identifier < number_literal) )) (compound_statement "{\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }" { (if_statement "if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }" { (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "cVar5 = cVar6;" (assignment_expression "cVar5 = cVar6" identifier = identifier) ;) }) (else_clause "else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }" else (compound_statement "{\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }" { (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "*pcVar4 = cVar5;" (assignment_expression "*pcVar4 = cVar5" (pointer_expression "*pcVar4" * identifier) = identifier) ;) (if_statement "if (local_2c == 0x80) goto LAB_0023e166;" if (parenthesized_expression "(local_2c == 0x80)" ( (binary_expression "local_2c == 0x80" identifier == number_literal) )) (goto_statement "goto LAB_0023e166;" goto statement_identifier ;)) (while_statement "while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }" while (parenthesized_expression "(pcVar4 = pcVar4 + 1, iVar2 != 1)" ( (comma_expression "pcVar4 = pcVar4 + 1, iVar2 != 1" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) , (binary_expression "iVar2 != 1" identifier != number_literal)) )) (compound_statement "{\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }" { (while_statement "while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }" { (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "*pcVar4 = cVar5;" (assignment_expression "*pcVar4 = cVar5" (pointer_expression "*pcVar4" * identifier) = identifier) ;) (if_statement "if (local_2c != 0x80) break;" if (parenthesized_expression "(local_2c != 0x80)" ( (binary_expression "local_2c != 0x80" identifier != number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0023e166:\n              pcVar4[1] = '\x7f';" statement_identifier : (expression_statement "pcVar4[1] = '\x7f';" (assignment_expression "pcVar4[1] = '\x7f'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "'\x7f'" ' escape_sequence ')) ;)) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = pcVar4 + 2;" (assignment_expression "pcVar4 = pcVar4 + 2" identifier = (binary_expression "pcVar4 + 2" identifier + number_literal)) ;) (if_statement "if (iVar2 == 1) goto LAB_0023e174;" if (parenthesized_expression "(iVar2 == 1)" ( (binary_expression "iVar2 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0023e174;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_0023e174:\n          cVar5 = *pcVar10;" statement_identifier : (expression_statement "cVar5 = *pcVar10;" (assignment_expression "cVar5 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;)) }))) }) (else_clause "else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" else (compound_statement "{\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" { (expression_statement "pcVar9 = pcVar4;" (assignment_expression "pcVar9 = pcVar4" identifier = identifier) ;) (if_statement "if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (compound_statement "{\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }" { (expression_statement "*pcVar4 = (char)local_2c + -1;" (assignment_expression "*pcVar4 = (char)local_2c + -1" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(char)local_2c + -1" (cast_expression "(char)local_2c" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "pcVar9 = pcVar4 + 1;" (assignment_expression "pcVar9 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) })) (do_statement "do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);" do (compound_statement "{\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        }" { (expression_statement "iVar3 = 0x80;" (assignment_expression "iVar3 = 0x80" identifier = number_literal) ;) (if_statement "if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }" if (parenthesized_expression "(iVar2 < 0x81)" ( (binary_expression "iVar2 < 0x81" identifier < number_literal) )) (compound_statement "{\n            iVar3 = iVar2;\n          }" { (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" identifier = identifier) ;) })) (expression_statement "*pcVar9 = cVar5;" (assignment_expression "*pcVar9 = cVar5" (pointer_expression "*pcVar9" * identifier) = identifier) ;) (expression_statement "pcVar4 = pcVar9 + 2;" (assignment_expression "pcVar4 = pcVar9 + 2" identifier = (binary_expression "pcVar9 + 2" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar2 - iVar3;" (assignment_expression "iVar2 = iVar2 - iVar3" identifier = (binary_expression "iVar2 - iVar3" identifier - identifier)) ;) (expression_statement "pcVar9[1] = '\x01' - (char)iVar3;" (assignment_expression "pcVar9[1] = '\x01' - (char)iVar3" (subscript_expression "pcVar9[1]" identifier [ number_literal ]) = (binary_expression "'\x01' - (char)iVar3" (char_literal "'\x01'" ' escape_sequence ') - (cast_expression "(char)iVar3" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (expression_statement "pcVar9 = pcVar4;" (assignment_expression "pcVar9 = pcVar4" identifier = identifier) ;) }) while (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) ;) (expression_statement "cVar5 = *pcVar10;" (assignment_expression "cVar5 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) }))))) (if_statement "if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;" if (parenthesized_expression "((char *)(iVar8 + -1) == pcVar10 + -1)" ( (binary_expression "(char *)(iVar8 + -1) == pcVar10 + -1" (cast_expression "(char *)(iVar8 + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + -1)" ( (binary_expression "iVar8 + -1" identifier + number_literal) ))) == (binary_expression "pcVar10 + -1" identifier + number_literal)) )) (goto_statement "goto LAB_0023e186;" goto statement_identifier ;)) (expression_statement "pcVar10 = pcVar10 + -1;" (assignment_expression "pcVar10 = pcVar10 + -1" identifier = (binary_expression "pcVar10 + -1" identifier + number_literal)) ;) (expression_statement "cVar6 = *pcVar10;" (assignment_expression "cVar6 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (labeled_statement "LAB_0023e1cf:\n  uVar7 = (int)pcVar9 - (int)param_1;" statement_identifier : (expression_statement "uVar7 = (int)pcVar9 - (int)param_1;" (assignment_expression "uVar7 = (int)pcVar9 - (int)param_1" identifier = (binary_expression "(int)pcVar9 - (int)param_1" (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (labeled_statement "joined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }\n  else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }" statement_identifier : (if_statement "if (extraout_ECX < 0xc9) {\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }\n  else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }" if (parenthesized_expression "(extraout_ECX < 0xc9)" ( (binary_expression "extraout_ECX < 0xc9" identifier < number_literal) )) (compound_statement "{\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }" { (expression_statement "iVar8 = uVar7 + 1;" (assignment_expression "iVar8 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "WriteBlobByte(iVar1,uVar7 & 0xff);" (call_expression "WriteBlobByte(iVar1,uVar7 & 0xff)" identifier (argument_list "(iVar1,uVar7 & 0xff)" ( identifier , (binary_expression "uVar7 & 0xff" identifier & number_literal) ))) ;) }) (else_clause "else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }" else (compound_statement "{\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }" { (expression_statement "iVar8 = uVar7 + 2;" (assignment_expression "iVar8 = uVar7 + 2" identifier = (binary_expression "uVar7 + 2" identifier + number_literal)) ;) (expression_statement "WriteBlobMSBShort(iVar1,uVar7 & 0xffff);" (call_expression "WriteBlobMSBShort(iVar1,uVar7 & 0xffff)" identifier (argument_list "(iVar1,uVar7 & 0xffff)" ( identifier , (binary_expression "uVar7 & 0xffff" identifier & number_literal) ))) ;) })))) (while_statement "while (pcVar9 != param_1) {\n    pcVar9 = pcVar9 + -1;\n    WriteBlobByte(iVar1,*pcVar9);\n  }" while (parenthesized_expression "(pcVar9 != param_1)" ( (binary_expression "pcVar9 != param_1" identifier != identifier) )) (compound_statement "{\n    pcVar9 = pcVar9 + -1;\n    WriteBlobByte(iVar1,*pcVar9);\n  }" { (expression_statement "pcVar9 = pcVar9 + -1;" (assignment_expression "pcVar9 = pcVar9 + -1" identifier = (binary_expression "pcVar9 + -1" identifier + number_literal)) ;) (expression_statement "WriteBlobByte(iVar1,*pcVar9);" (call_expression "WriteBlobByte(iVar1,*pcVar9)" identifier (argument_list "(iVar1,*pcVar9)" ( identifier , (pointer_expression "*pcVar9" * identifier) ))) ;) })) (return_statement "return iVar8;" return identifier ;) (labeled_statement "LAB_0023e186:\n  if (iVar2 < 3) {\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }" statement_identifier : (if_statement "if (iVar2 < 3) {\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }" if (parenthesized_expression "(iVar2 < 3)" ( (binary_expression "iVar2 < 3" identifier < number_literal) )) (compound_statement "{\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }" { (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "*pcVar4 = cVar5;" (assignment_expression "*pcVar4 = cVar5" (pointer_expression "*pcVar4" * identifier) = identifier) ;) (if_statement "if (local_2c == 0x80) goto LAB_0023e2d7;" if (parenthesized_expression "(local_2c == 0x80)" ( (binary_expression "local_2c == 0x80" identifier == number_literal) )) (goto_statement "goto LAB_0023e2d7;" goto statement_identifier ;)) (while_statement "while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }" while (parenthesized_expression "(pcVar4 = pcVar4 + 1, iVar2 != 1)" ( (comma_expression "pcVar4 = pcVar4 + 1, iVar2 != 1" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) , (binary_expression "iVar2 != 1" identifier != number_literal)) )) (compound_statement "{\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }" { (while_statement "while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }" { (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" identifier = number_literal) ;) (expression_statement "*pcVar4 = cVar5;" (assignment_expression "*pcVar4 = cVar5" (pointer_expression "*pcVar4" * identifier) = identifier) ;) (if_statement "if (local_2c != 0x80) break;" if (parenthesized_expression "(local_2c != 0x80)" ( (binary_expression "local_2c != 0x80" identifier != number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0023e2d7:\n        pcVar4[1] = '\x7f';" statement_identifier : (expression_statement "pcVar4[1] = '\x7f';" (assignment_expression "pcVar4[1] = '\x7f'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "'\x7f'" ' escape_sequence ')) ;)) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = pcVar4 + 2;" (assignment_expression "pcVar4 = pcVar4 + 2" identifier = (binary_expression "pcVar4 + 2" identifier + number_literal)) ;) (if_statement "if (iVar2 == 1) goto LAB_0023e2e5;" if (parenthesized_expression "(iVar2 == 1)" ( (binary_expression "iVar2 == 1" identifier == number_literal) )) (goto_statement "goto LAB_0023e2e5;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_0023e2e5:\n    pcVar9 = pcVar4;" statement_identifier : (expression_statement "pcVar9 = pcVar4;" (assignment_expression "pcVar9 = pcVar4" identifier = identifier) ;)) (if_statement "if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }" { (expression_statement "pcVar9 = pcVar4 + 1;" (assignment_expression "pcVar9 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = (int)pcVar9 - (int)param_1;" (assignment_expression "uVar7 = (int)pcVar9 - (int)param_1" identifier = (binary_expression "(int)pcVar9 - (int)param_1" (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*pcVar4 = (char)local_2c + -1;" (assignment_expression "*pcVar4 = (char)local_2c + -1" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(char)local_2c + -1" (cast_expression "(char)local_2c" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal)) ;) (goto_statement "goto joined_r0x0023e303;" goto statement_identifier ;) })) }) (else_clause "else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }" else (compound_statement "{\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }" { (expression_statement "pcVar10 = pcVar4;" (assignment_expression "pcVar10 = pcVar4" identifier = identifier) ;) (if_statement "if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }" if (parenthesized_expression "(local_2c != 0)" ( (binary_expression "local_2c != 0" identifier != number_literal) )) (compound_statement "{\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }" { (expression_statement "pcVar10 = pcVar4 + 1;" (assignment_expression "pcVar10 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar4 = (char)local_2c + -1;" (assignment_expression "*pcVar4 = (char)local_2c + -1" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(char)local_2c + -1" (cast_expression "(char)local_2c" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal)) ;) })) (do_statement "do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);" do (compound_statement "{\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    }" { (expression_statement "*pcVar10 = cVar5;" (assignment_expression "*pcVar10 = cVar5" (pointer_expression "*pcVar10" * identifier) = identifier) ;) (expression_statement "iVar8 = 0x80;" (assignment_expression "iVar8 = 0x80" identifier = number_literal) ;) (if_statement "if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }" if (parenthesized_expression "(iVar2 < 0x81)" ( (binary_expression "iVar2 < 0x81" identifier < number_literal) )) (compound_statement "{\n        iVar8 = iVar2;\n      }" { (expression_statement "iVar8 = iVar2;" (assignment_expression "iVar8 = iVar2" identifier = identifier) ;) })) (expression_statement "iVar2 = iVar2 - iVar8;" (assignment_expression "iVar2 = iVar2 - iVar8" identifier = (binary_expression "iVar2 - iVar8" identifier - identifier)) ;) (expression_statement "pcVar10[1] = '\x01' - (char)iVar8;" (assignment_expression "pcVar10[1] = '\x01' - (char)iVar8" (subscript_expression "pcVar10[1]" identifier [ number_literal ]) = (binary_expression "'\x01' - (char)iVar8" (char_literal "'\x01'" ' escape_sequence ') - (cast_expression "(char)iVar8" ( (type_descriptor "char" primitive_type) ) identifier))) ;) (expression_statement "pcVar9 = pcVar10 + 2;" (assignment_expression "pcVar9 = pcVar10 + 2" identifier = (binary_expression "pcVar10 + 2" identifier + number_literal)) ;) (expression_statement "pcVar10 = pcVar10 + 2;" (assignment_expression "pcVar10 = pcVar10 + 2" identifier = (binary_expression "pcVar10 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) ;) })))) (goto_statement "goto LAB_0023e1cf;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , LIT , (binary_expression (pointer_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) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , LIT , (binary_expression (pointer_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 ( LIT , (binary_expression IDENT + LIT) , (binary_expression (pointer_expression & IDENT) + IDENT) , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , LIT , (binary_expression (pointer_expression & IDENT) + IDENT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression (pointer_expression & IDENT) + IDENT) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , LIT , (binary_expression (pointer_expression & IDENT) + IDENT) ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != LIT)) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (char_literal ' escape_sequence ') - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression LIT < IDENT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))))) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) == (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT & LIT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT & LIT) ))) ;) })))) (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) })) (return_statement return IDENT ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != LIT)) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT)) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT)) ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (char_literal ' escape_sequence ') - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression LIT < IDENT) )) ;) })))) (goto_statement goto statement_identifier ;) })))
(function_definition "int FUN_0023e090(char *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  uint extraout_ECX;\n  int iVar3;\n  char *pcVar4;\n  char cVar5;\n  char cVar6;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  int local_2c;\n  \n  uVar11 = FUN_0004c803();\n  iVar8 = (int)((ulonglong)uVar11 >> 0x20);\n  iVar1 = (int)uVar11;\n  if (iVar1 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);\n  }\n  if (iVar8 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (param_1 == (char *)0x0) {\n                    \n    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  pcVar10 = (char *)(iVar8 + -1 + extraout_ECX);\n  cVar5 = *pcVar10;\n  pcVar9 = param_1;\n  if (0 < (int)extraout_ECX) {\n    iVar2 = 0;\n    local_2c = 0;\n    pcVar4 = param_1;\n    cVar6 = cVar5;\n    do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );\n  }\nLAB_0023e1cf:\n  uVar7 = (int)pcVar9 - (int)param_1;\njoined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }\n  else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }\n  while (pcVar9 != param_1) {\n    pcVar9 = pcVar9 + -1;\n    WriteBlobByte(iVar1,*pcVar9);\n  }\n  return iVar8;\nLAB_0023e186:\n  if (iVar2 < 3) {\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }\n  goto LAB_0023e1cf;\n}" (primitive_type "int") (function_declarator "FUN_0023e090(char *param_1)" (identifier "FUN_0023e090") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  uint extraout_ECX;\n  int iVar3;\n  char *pcVar4;\n  char cVar5;\n  char cVar6;\n  uint uVar7;\n  int iVar8;\n  char *pcVar9;\n  char *pcVar10;\n  int unaff_EDI;\n  undefined8 uVar11;\n  int local_2c;\n  \n  uVar11 = FUN_0004c803();\n  iVar8 = (int)((ulonglong)uVar11 >> 0x20);\n  iVar1 = (int)uVar11;\n  if (iVar1 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);\n  }\n  if (iVar8 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  if (param_1 == (char *)0x0) {\n                    \n    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);\n  }\n  pcVar10 = (char *)(iVar8 + -1 + extraout_ECX);\n  cVar5 = *pcVar10;\n  pcVar9 = param_1;\n  if (0 < (int)extraout_ECX) {\n    iVar2 = 0;\n    local_2c = 0;\n    pcVar4 = param_1;\n    cVar6 = cVar5;\n    do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );\n  }\nLAB_0023e1cf:\n  uVar7 = (int)pcVar9 - (int)param_1;\njoined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }\n  else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }\n  while (pcVar9 != param_1) {\n    pcVar9 = pcVar9 + -1;\n    WriteBlobByte(iVar1,*pcVar9);\n  }\n  return iVar8;\nLAB_0023e186:\n  if (iVar2 < 3) {\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }\n  goto LAB_0023e1cf;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint extraout_ECX;" (type_identifier "uint") (identifier "extraout_ECX") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "char cVar5;" (primitive_type "char") (identifier "cVar5") (; ";")) (declaration "char cVar6;" (primitive_type "char") (identifier "cVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "char *pcVar10;" (primitive_type "char") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "undefined8 uVar11;" (type_identifier "undefined8") (identifier "uVar11") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "uVar11 = FUN_0004c803();" (assignment_expression "uVar11 = FUN_0004c803()" (identifier "uVar11") (= "=") (call_expression "FUN_0004c803()" (identifier "FUN_0004c803") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar8 = (int)((ulonglong)uVar11 >> 0x20);" (assignment_expression "iVar8 = (int)((ulonglong)uVar11 >> 0x20)" (identifier "iVar8") (= "=") (cast_expression "(int)((ulonglong)uVar11 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar11 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar11")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "iVar1 = (int)uVar11;" (assignment_expression "iVar1 = (int)uVar11" (identifier "iVar1") (= "=") (cast_expression "(int)uVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar11"))) (; ";")) (if_statement "if (iVar1 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" ({ "{") (expression_statement "__assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI);" (call_expression "__assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI)" (identifier "__assert_fail") (argument_list "((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,\n                  &UNK_000c8f21 + unaff_EDI)" (( "(") (cast_expression "(char *)(unaff_EDI + 0x794fd)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x794fd)" (( "(") (binary_expression "unaff_EDI + 0x794fd" (identifier "unaff_EDI") (+ "+") (number_literal "0x794fd")) () ")"))) (, ",") (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xc8f4c)" (( "(") (binary_expression "unaff_EDI + 0xc8f4c" (identifier "unaff_EDI") (+ "+") (number_literal "0xc8f4c")) () ")"))) (, ",") (number_literal "0x264") (, ",") (binary_expression "&UNK_000c8f21 + unaff_EDI" (pointer_expression "&UNK_000c8f21" (& "&") (identifier "UNK_000c8f21")) (+ "+") (identifier "unaff_EDI")) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x3344) != -0x54535255)" (( "(") (binary_expression "*(int *)(iVar1 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(iVar1 + 0x3344)" (* "*") (cast_expression "(int *)(iVar1 + 0x3344)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x3344)" (( "(") (binary_expression "iVar1 + 0x3344" (identifier "iVar1") (+ "+") (number_literal "0x3344")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" ({ "{") (expression_statement "__assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI);" (call_expression "__assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI)" (identifier "__assert_fail") (argument_list "((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,\n                  &UNK_000c8f21 + unaff_EDI)" (( "(") (cast_expression "(char *)(unaff_EDI + 0x6c2a1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x6c2a1)" (( "(") (binary_expression "unaff_EDI + 0x6c2a1" (identifier "unaff_EDI") (+ "+") (number_literal "0x6c2a1")) () ")"))) (, ",") (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xc8f4c)" (( "(") (binary_expression "unaff_EDI + 0xc8f4c" (identifier "unaff_EDI") (+ "+") (number_literal "0xc8f4c")) () ")"))) (, ",") (number_literal "0x265") (, ",") (binary_expression "&UNK_000c8f21 + unaff_EDI" (pointer_expression "&UNK_000c8f21" (& "&") (identifier "UNK_000c8f21")) (+ "+") (identifier "unaff_EDI")) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar1 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar1 + 0x3328) != 0)" (( "(") (binary_expression "*(int *)(iVar1 + 0x3328) != 0" (pointer_expression "*(int *)(iVar1 + 0x3328)" (* "*") (cast_expression "(int *)(iVar1 + 0x3328)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x3328)" (( "(") (binary_expression "iVar1 + 0x3328" (identifier "iVar1") (+ "+") (number_literal "0x3328")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);\n  }" ({ "{") (expression_statement "LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318);" (call_expression "LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318)" (identifier "LogMagickEvent") (argument_list "(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,\n                   iVar1 + 0x318)" (( "(") (number_literal "0x8000") (, ",") (binary_expression "unaff_EDI + 0xc8f4c" (identifier "unaff_EDI") (+ "+") (number_literal "0xc8f4c")) (, ",") (binary_expression "&UNK_000c8f15 + unaff_EDI" (pointer_expression "&UNK_000c8f15" (& "&") (identifier "UNK_000c8f15")) (+ "+") (identifier "unaff_EDI")) (, ",") (number_literal "0x267") (, ",") (binary_expression "unaff_EDI + 0x78db7" (identifier "unaff_EDI") (+ "+") (number_literal "0x78db7")) (, ",") (binary_expression "iVar1 + 0x318" (identifier "iVar1") (+ "+") (number_literal "0x318")) () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar8 == 0) {\n                    \n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" ({ "{") (expression_statement "__assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI);" (call_expression "__assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI)" (identifier "__assert_fail") (argument_list "((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,\n                  &UNK_000c8f21 + unaff_EDI)" (( "(") (cast_expression "(char *)(unaff_EDI + 0xc960d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xc960d)" (( "(") (binary_expression "unaff_EDI + 0xc960d" (identifier "unaff_EDI") (+ "+") (number_literal "0xc960d")) () ")"))) (, ",") (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xc8f4c)" (( "(") (binary_expression "unaff_EDI + 0xc8f4c" (identifier "unaff_EDI") (+ "+") (number_literal "0xc8f4c")) () ")"))) (, ",") (number_literal "0x268") (, ",") (binary_expression "&UNK_000c8f21 + unaff_EDI" (pointer_expression "&UNK_000c8f21" (& "&") (identifier "UNK_000c8f21")) (+ "+") (identifier "unaff_EDI")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1 == (char *)0x0) {\n                    \n    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" (if "if") (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);\n  }" ({ "{") (expression_statement "__assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI);" (call_expression "__assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI)" (identifier "__assert_fail") (argument_list "(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,\n                  &UNK_000c8f21 + unaff_EDI)" (( "(") (binary_expression "&UNK_000ce3b9 + unaff_EDI" (pointer_expression "&UNK_000ce3b9" (& "&") (identifier "UNK_000ce3b9")) (+ "+") (identifier "unaff_EDI")) (, ",") (cast_expression "(char *)(unaff_EDI + 0xc8f4c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xc8f4c)" (( "(") (binary_expression "unaff_EDI + 0xc8f4c" (identifier "unaff_EDI") (+ "+") (number_literal "0xc8f4c")) () ")"))) (, ",") (number_literal "0x269") (, ",") (binary_expression "&UNK_000c8f21 + unaff_EDI" (pointer_expression "&UNK_000c8f21" (& "&") (identifier "UNK_000c8f21")) (+ "+") (identifier "unaff_EDI")) () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar10 = (char *)(iVar8 + -1 + extraout_ECX);" (assignment_expression "pcVar10 = (char *)(iVar8 + -1 + extraout_ECX)" (identifier "pcVar10") (= "=") (cast_expression "(char *)(iVar8 + -1 + extraout_ECX)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + -1 + extraout_ECX)" (( "(") (binary_expression "iVar8 + -1 + extraout_ECX" (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1")) (+ "+") (identifier "extraout_ECX")) () ")")))) (; ";")) (expression_statement "cVar5 = *pcVar10;" (assignment_expression "cVar5 = *pcVar10" (identifier "cVar5") (= "=") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10"))) (; ";")) (expression_statement "pcVar9 = param_1;" (assignment_expression "pcVar9 = param_1" (identifier "pcVar9") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (0 < (int)extraout_ECX) {\n    iVar2 = 0;\n    local_2c = 0;\n    pcVar4 = param_1;\n    cVar6 = cVar5;\n    do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );\n  }" (if "if") (parenthesized_expression "(0 < (int)extraout_ECX)" (( "(") (binary_expression "0 < (int)extraout_ECX" (number_literal "0") (< "<") (cast_expression "(int)extraout_ECX" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "extraout_ECX"))) () ")")) (compound_statement "{\n    iVar2 = 0;\n    local_2c = 0;\n    pcVar4 = param_1;\n    cVar6 = cVar5;\n    do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );\n  }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar4 = param_1;" (assignment_expression "pcVar4 = param_1" (identifier "pcVar4") (= "=") (identifier "param_1")) (; ";")) (expression_statement "cVar6 = cVar5;" (assignment_expression "cVar6 = cVar5" (identifier "cVar6") (= "=") (identifier "cVar5")) (; ";")) (do_statement "do {\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    } while( true );" (do "do") (compound_statement "{\n      if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }\n      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;\n      pcVar10 = pcVar10 + -1;\n      cVar6 = *pcVar10;\n    }" ({ "{") (if_statement "if (cVar6 == cVar5) {\n        iVar2 = iVar2 + 1;\n      }\n      else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" (if "if") (parenthesized_expression "(cVar6 == cVar5)" (( "(") (binary_expression "cVar6 == cVar5" (identifier "cVar6") (== "==") (identifier "cVar5")) () ")")) (compound_statement "{\n        iVar2 = iVar2 + 1;\n      }" ({ "{") (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" (else "else") (if_statement "if (iVar2 < 3) {\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }\n      else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" (if "if") (parenthesized_expression "(iVar2 < 3)" (( "(") (binary_expression "iVar2 < 3" (identifier "iVar2") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n        if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }\n      }" ({ "{") (if_statement "if (iVar2 == 0) {\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }\n        else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar2 = 1;\n          cVar5 = cVar6;\n        }" ({ "{") (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "cVar5 = cVar6;" (assignment_expression "cVar5 = cVar6" (identifier "cVar5") (= "=") (identifier "cVar6")) (; ";")) (} "}")) (else_clause "else {\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }" (else "else") (compound_statement "{\n          local_2c = local_2c + 1;\n          *pcVar4 = cVar5;\n          if (local_2c == 0x80) goto LAB_0023e166;\n          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }\nLAB_0023e174:\n          cVar5 = *pcVar10;\n        }" ({ "{") (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" (identifier "local_2c") (= "=") (binary_expression "local_2c + 1" (identifier "local_2c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pcVar4 = cVar5;" (assignment_expression "*pcVar4 = cVar5" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (identifier "cVar5")) (; ";")) (if_statement "if (local_2c == 0x80) goto LAB_0023e166;" (if "if") (parenthesized_expression "(local_2c == 0x80)" (( "(") (binary_expression "local_2c == 0x80" (identifier "local_2c") (== "==") (number_literal "0x80")) () ")")) (goto_statement "goto LAB_0023e166;" (goto "goto") (statement_identifier "LAB_0023e166") (; ";"))) (while_statement "while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }" (while "while") (parenthesized_expression "(pcVar4 = pcVar4 + 1, iVar2 != 1)" (( "(") (comma_expression "pcVar4 = pcVar4 + 1, iVar2 != 1" (assignment_expression "pcVar4 = pcVar4 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (, ",") (binary_expression "iVar2 != 1" (identifier "iVar2") (!= "!=") (number_literal "1"))) () ")")) (compound_statement "{\n            while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }\n          }" ({ "{") (while_statement "while( true ) {\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n              local_2c = local_2c + 1;\n              iVar2 = 1;\n              *pcVar4 = cVar5;\n              if (local_2c != 0x80) break;\nLAB_0023e166:\n              pcVar4[1] = '\x7f';\n              local_2c = 0;\n              pcVar4 = pcVar4 + 2;\n              if (iVar2 == 1) goto LAB_0023e174;\n            }" ({ "{") (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" (identifier "local_2c") (= "=") (binary_expression "local_2c + 1" (identifier "local_2c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "*pcVar4 = cVar5;" (assignment_expression "*pcVar4 = cVar5" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (identifier "cVar5")) (; ";")) (if_statement "if (local_2c != 0x80) break;" (if "if") (parenthesized_expression "(local_2c != 0x80)" (( "(") (binary_expression "local_2c != 0x80" (identifier "local_2c") (!= "!=") (number_literal "0x80")) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_0023e166:\n              pcVar4[1] = '\x7f';" (statement_identifier "LAB_0023e166") (: ":") (expression_statement "pcVar4[1] = '\x7f';" (assignment_expression "pcVar4[1] = '\x7f'" (subscript_expression "pcVar4[1]" (identifier "pcVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (char_literal "'\x7f'" (' "'") (escape_sequence "\x7f") (' "'"))) (; ";"))) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar4 = pcVar4 + 2;" (assignment_expression "pcVar4 = pcVar4 + 2" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 2" (identifier "pcVar4") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (iVar2 == 1) goto LAB_0023e174;" (if "if") (parenthesized_expression "(iVar2 == 1)" (( "(") (binary_expression "iVar2 == 1" (identifier "iVar2") (== "==") (number_literal "1")) () ")")) (goto_statement "goto LAB_0023e174;" (goto "goto") (statement_identifier "LAB_0023e174") (; ";"))) (} "}"))) (} "}"))) (labeled_statement "LAB_0023e174:\n          cVar5 = *pcVar10;" (statement_identifier "LAB_0023e174") (: ":") (expression_statement "cVar5 = *pcVar10;" (assignment_expression "cVar5 = *pcVar10" (identifier "cVar5") (= "=") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10"))) (; ";"))) (} "}")))) (} "}")) (else_clause "else {\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" (else "else") (compound_statement "{\n        pcVar9 = pcVar4;\n        if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }\n        do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);\n        cVar5 = *pcVar10;\n        iVar2 = 1;\n        local_2c = 0;\n      }" ({ "{") (expression_statement "pcVar9 = pcVar4;" (assignment_expression "pcVar9 = pcVar4" (identifier "pcVar9") (= "=") (identifier "pcVar4")) (; ";")) (if_statement "if (local_2c != 0) {\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }" (if "if") (parenthesized_expression "(local_2c != 0)" (( "(") (binary_expression "local_2c != 0" (identifier "local_2c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          *pcVar4 = (char)local_2c + -1;\n          pcVar9 = pcVar4 + 1;\n        }" ({ "{") (expression_statement "*pcVar4 = (char)local_2c + -1;" (assignment_expression "*pcVar4 = (char)local_2c + -1" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (binary_expression "(char)local_2c + -1" (cast_expression "(char)local_2c" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_2c")) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "pcVar9 = pcVar4 + 1;" (assignment_expression "pcVar9 = pcVar4 + 1" (identifier "pcVar9") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (do_statement "do {\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        } while (0 < iVar2);" (do "do") (compound_statement "{\n          iVar3 = 0x80;\n          if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }\n          *pcVar9 = cVar5;\n          pcVar4 = pcVar9 + 2;\n          iVar2 = iVar2 - iVar3;\n          pcVar9[1] = '\x01' - (char)iVar3;\n          pcVar9 = pcVar4;\n        }" ({ "{") (expression_statement "iVar3 = 0x80;" (assignment_expression "iVar3 = 0x80" (identifier "iVar3") (= "=") (number_literal "0x80")) (; ";")) (if_statement "if (iVar2 < 0x81) {\n            iVar3 = iVar2;\n          }" (if "if") (parenthesized_expression "(iVar2 < 0x81)" (( "(") (binary_expression "iVar2 < 0x81" (identifier "iVar2") (< "<") (number_literal "0x81")) () ")")) (compound_statement "{\n            iVar3 = iVar2;\n          }" ({ "{") (expression_statement "iVar3 = iVar2;" (assignment_expression "iVar3 = iVar2" (identifier "iVar3") (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (expression_statement "*pcVar9 = cVar5;" (assignment_expression "*pcVar9 = cVar5" (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) (= "=") (identifier "cVar5")) (; ";")) (expression_statement "pcVar4 = pcVar9 + 2;" (assignment_expression "pcVar4 = pcVar9 + 2" (identifier "pcVar4") (= "=") (binary_expression "pcVar9 + 2" (identifier "pcVar9") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar2 = iVar2 - iVar3;" (assignment_expression "iVar2 = iVar2 - iVar3" (identifier "iVar2") (= "=") (binary_expression "iVar2 - iVar3" (identifier "iVar2") (- "-") (identifier "iVar3"))) (; ";")) (expression_statement "pcVar9[1] = '\x01' - (char)iVar3;" (assignment_expression "pcVar9[1] = '\x01' - (char)iVar3" (subscript_expression "pcVar9[1]" (identifier "pcVar9") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "'\x01' - (char)iVar3" (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'")) (- "-") (cast_expression "(char)iVar3" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "iVar3")))) (; ";")) (expression_statement "pcVar9 = pcVar4;" (assignment_expression "pcVar9 = pcVar4" (identifier "pcVar9") (= "=") (identifier "pcVar4")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0 < iVar2)" (( "(") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2")) () ")")) (; ";")) (expression_statement "cVar5 = *pcVar10;" (assignment_expression "cVar5 = *pcVar10" (identifier "cVar5") (= "=") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10"))) (; ";")) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (} "}")))))) (if_statement "if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;" (if "if") (parenthesized_expression "((char *)(iVar8 + -1) == pcVar10 + -1)" (( "(") (binary_expression "(char *)(iVar8 + -1) == pcVar10 + -1" (cast_expression "(char *)(iVar8 + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + -1)" (( "(") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1")) () ")"))) (== "==") (binary_expression "pcVar10 + -1" (identifier "pcVar10") (+ "+") (number_literal "-1"))) () ")")) (goto_statement "goto LAB_0023e186;" (goto "goto") (statement_identifier "LAB_0023e186") (; ";"))) (expression_statement "pcVar10 = pcVar10 + -1;" (assignment_expression "pcVar10 = pcVar10 + -1" (identifier "pcVar10") (= "=") (binary_expression "pcVar10 + -1" (identifier "pcVar10") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "cVar6 = *pcVar10;" (assignment_expression "cVar6 = *pcVar10" (identifier "cVar6") (= "=") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_0023e1cf:\n  uVar7 = (int)pcVar9 - (int)param_1;" (statement_identifier "LAB_0023e1cf") (: ":") (expression_statement "uVar7 = (int)pcVar9 - (int)param_1;" (assignment_expression "uVar7 = (int)pcVar9 - (int)param_1" (identifier "uVar7") (= "=") (binary_expression "(int)pcVar9 - (int)param_1" (cast_expression "(int)pcVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar9")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";"))) (labeled_statement "joined_r0x0023e303:\n  if (extraout_ECX < 0xc9) {\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }\n  else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }" (statement_identifier "joined_r0x0023e303") (: ":") (if_statement "if (extraout_ECX < 0xc9) {\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }\n  else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }" (if "if") (parenthesized_expression "(extraout_ECX < 0xc9)" (( "(") (binary_expression "extraout_ECX < 0xc9" (identifier "extraout_ECX") (< "<") (number_literal "0xc9")) () ")")) (compound_statement "{\n    iVar8 = uVar7 + 1;\n    WriteBlobByte(iVar1,uVar7 & 0xff);\n  }" ({ "{") (expression_statement "iVar8 = uVar7 + 1;" (assignment_expression "iVar8 = uVar7 + 1" (identifier "iVar8") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "WriteBlobByte(iVar1,uVar7 & 0xff);" (call_expression "WriteBlobByte(iVar1,uVar7 & 0xff)" (identifier "WriteBlobByte") (argument_list "(iVar1,uVar7 & 0xff)" (( "(") (identifier "iVar1") (, ",") (binary_expression "uVar7 & 0xff" (identifier "uVar7") (& "&") (number_literal "0xff")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }" (else "else") (compound_statement "{\n    iVar8 = uVar7 + 2;\n    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);\n  }" ({ "{") (expression_statement "iVar8 = uVar7 + 2;" (assignment_expression "iVar8 = uVar7 + 2" (identifier "iVar8") (= "=") (binary_expression "uVar7 + 2" (identifier "uVar7") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "WriteBlobMSBShort(iVar1,uVar7 & 0xffff);" (call_expression "WriteBlobMSBShort(iVar1,uVar7 & 0xffff)" (identifier "WriteBlobMSBShort") (argument_list "(iVar1,uVar7 & 0xffff)" (( "(") (identifier "iVar1") (, ",") (binary_expression "uVar7 & 0xffff" (identifier "uVar7") (& "&") (number_literal "0xffff")) () ")"))) (; ";")) (} "}"))))) (while_statement "while (pcVar9 != param_1) {\n    pcVar9 = pcVar9 + -1;\n    WriteBlobByte(iVar1,*pcVar9);\n  }" (while "while") (parenthesized_expression "(pcVar9 != param_1)" (( "(") (binary_expression "pcVar9 != param_1" (identifier "pcVar9") (!= "!=") (identifier "param_1")) () ")")) (compound_statement "{\n    pcVar9 = pcVar9 + -1;\n    WriteBlobByte(iVar1,*pcVar9);\n  }" ({ "{") (expression_statement "pcVar9 = pcVar9 + -1;" (assignment_expression "pcVar9 = pcVar9 + -1" (identifier "pcVar9") (= "=") (binary_expression "pcVar9 + -1" (identifier "pcVar9") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "WriteBlobByte(iVar1,*pcVar9);" (call_expression "WriteBlobByte(iVar1,*pcVar9)" (identifier "WriteBlobByte") (argument_list "(iVar1,*pcVar9)" (( "(") (identifier "iVar1") (, ",") (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) () ")"))) (; ";")) (} "}"))) (return_statement "return iVar8;" (return "return") (identifier "iVar8") (; ";")) (labeled_statement "LAB_0023e186:\n  if (iVar2 < 3) {\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }" (statement_identifier "LAB_0023e186") (: ":") (if_statement "if (iVar2 < 3) {\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }\n  else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }" (if "if") (parenthesized_expression "(iVar2 < 3)" (( "(") (binary_expression "iVar2 < 3" (identifier "iVar2") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n    local_2c = local_2c + 1;\n    *pcVar4 = cVar5;\n    if (local_2c == 0x80) goto LAB_0023e2d7;\n    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }\nLAB_0023e2e5:\n    pcVar9 = pcVar4;\n    if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }\n  }" ({ "{") (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" (identifier "local_2c") (= "=") (binary_expression "local_2c + 1" (identifier "local_2c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pcVar4 = cVar5;" (assignment_expression "*pcVar4 = cVar5" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (identifier "cVar5")) (; ";")) (if_statement "if (local_2c == 0x80) goto LAB_0023e2d7;" (if "if") (parenthesized_expression "(local_2c == 0x80)" (( "(") (binary_expression "local_2c == 0x80" (identifier "local_2c") (== "==") (number_literal "0x80")) () ")")) (goto_statement "goto LAB_0023e2d7;" (goto "goto") (statement_identifier "LAB_0023e2d7") (; ";"))) (while_statement "while (pcVar4 = pcVar4 + 1, iVar2 != 1) {\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }" (while "while") (parenthesized_expression "(pcVar4 = pcVar4 + 1, iVar2 != 1)" (( "(") (comma_expression "pcVar4 = pcVar4 + 1, iVar2 != 1" (assignment_expression "pcVar4 = pcVar4 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (, ",") (binary_expression "iVar2 != 1" (identifier "iVar2") (!= "!=") (number_literal "1"))) () ")")) (compound_statement "{\n      while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }\n    }" ({ "{") (while_statement "while( true ) {\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        local_2c = local_2c + 1;\n        iVar2 = 1;\n        *pcVar4 = cVar5;\n        if (local_2c != 0x80) break;\nLAB_0023e2d7:\n        pcVar4[1] = '\x7f';\n        local_2c = 0;\n        pcVar4 = pcVar4 + 2;\n        if (iVar2 == 1) goto LAB_0023e2e5;\n      }" ({ "{") (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" (identifier "local_2c") (= "=") (binary_expression "local_2c + 1" (identifier "local_2c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar2 = 1;" (assignment_expression "iVar2 = 1" (identifier "iVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "*pcVar4 = cVar5;" (assignment_expression "*pcVar4 = cVar5" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (identifier "cVar5")) (; ";")) (if_statement "if (local_2c != 0x80) break;" (if "if") (parenthesized_expression "(local_2c != 0x80)" (( "(") (binary_expression "local_2c != 0x80" (identifier "local_2c") (!= "!=") (number_literal "0x80")) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_0023e2d7:\n        pcVar4[1] = '\x7f';" (statement_identifier "LAB_0023e2d7") (: ":") (expression_statement "pcVar4[1] = '\x7f';" (assignment_expression "pcVar4[1] = '\x7f'" (subscript_expression "pcVar4[1]" (identifier "pcVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (char_literal "'\x7f'" (' "'") (escape_sequence "\x7f") (' "'"))) (; ";"))) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar4 = pcVar4 + 2;" (assignment_expression "pcVar4 = pcVar4 + 2" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 2" (identifier "pcVar4") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (iVar2 == 1) goto LAB_0023e2e5;" (if "if") (parenthesized_expression "(iVar2 == 1)" (( "(") (binary_expression "iVar2 == 1" (identifier "iVar2") (== "==") (number_literal "1")) () ")")) (goto_statement "goto LAB_0023e2e5;" (goto "goto") (statement_identifier "LAB_0023e2e5") (; ";"))) (} "}"))) (} "}"))) (labeled_statement "LAB_0023e2e5:\n    pcVar9 = pcVar4;" (statement_identifier "LAB_0023e2e5") (: ":") (expression_statement "pcVar9 = pcVar4;" (assignment_expression "pcVar9 = pcVar4" (identifier "pcVar9") (= "=") (identifier "pcVar4")) (; ";"))) (if_statement "if (local_2c != 0) {\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }" (if "if") (parenthesized_expression "(local_2c != 0)" (( "(") (binary_expression "local_2c != 0" (identifier "local_2c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar9 = pcVar4 + 1;\n      uVar7 = (int)pcVar9 - (int)param_1;\n      *pcVar4 = (char)local_2c + -1;\n      goto joined_r0x0023e303;\n    }" ({ "{") (expression_statement "pcVar9 = pcVar4 + 1;" (assignment_expression "pcVar9 = pcVar4 + 1" (identifier "pcVar9") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar7 = (int)pcVar9 - (int)param_1;" (assignment_expression "uVar7 = (int)pcVar9 - (int)param_1" (identifier "uVar7") (= "=") (binary_expression "(int)pcVar9 - (int)param_1" (cast_expression "(int)pcVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar9")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (expression_statement "*pcVar4 = (char)local_2c + -1;" (assignment_expression "*pcVar4 = (char)local_2c + -1" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (binary_expression "(char)local_2c + -1" (cast_expression "(char)local_2c" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_2c")) (+ "+") (number_literal "-1"))) (; ";")) (goto_statement "goto joined_r0x0023e303;" (goto "goto") (statement_identifier "joined_r0x0023e303") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }" (else "else") (compound_statement "{\n    pcVar10 = pcVar4;\n    if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }\n    do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);\n  }" ({ "{") (expression_statement "pcVar10 = pcVar4;" (assignment_expression "pcVar10 = pcVar4" (identifier "pcVar10") (= "=") (identifier "pcVar4")) (; ";")) (if_statement "if (local_2c != 0) {\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }" (if "if") (parenthesized_expression "(local_2c != 0)" (( "(") (binary_expression "local_2c != 0" (identifier "local_2c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      pcVar10 = pcVar4 + 1;\n      *pcVar4 = (char)local_2c + -1;\n    }" ({ "{") (expression_statement "pcVar10 = pcVar4 + 1;" (assignment_expression "pcVar10 = pcVar4 + 1" (identifier "pcVar10") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pcVar4 = (char)local_2c + -1;" (assignment_expression "*pcVar4 = (char)local_2c + -1" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (binary_expression "(char)local_2c + -1" (cast_expression "(char)local_2c" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "local_2c")) (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (do_statement "do {\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    } while (0 < iVar2);" (do "do") (compound_statement "{\n      *pcVar10 = cVar5;\n      iVar8 = 0x80;\n      if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }\n      iVar2 = iVar2 - iVar8;\n      pcVar10[1] = '\x01' - (char)iVar8;\n      pcVar9 = pcVar10 + 2;\n      pcVar10 = pcVar10 + 2;\n    }" ({ "{") (expression_statement "*pcVar10 = cVar5;" (assignment_expression "*pcVar10 = cVar5" (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) (= "=") (identifier "cVar5")) (; ";")) (expression_statement "iVar8 = 0x80;" (assignment_expression "iVar8 = 0x80" (identifier "iVar8") (= "=") (number_literal "0x80")) (; ";")) (if_statement "if (iVar2 < 0x81) {\n        iVar8 = iVar2;\n      }" (if "if") (parenthesized_expression "(iVar2 < 0x81)" (( "(") (binary_expression "iVar2 < 0x81" (identifier "iVar2") (< "<") (number_literal "0x81")) () ")")) (compound_statement "{\n        iVar8 = iVar2;\n      }" ({ "{") (expression_statement "iVar8 = iVar2;" (assignment_expression "iVar8 = iVar2" (identifier "iVar8") (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (expression_statement "iVar2 = iVar2 - iVar8;" (assignment_expression "iVar2 = iVar2 - iVar8" (identifier "iVar2") (= "=") (binary_expression "iVar2 - iVar8" (identifier "iVar2") (- "-") (identifier "iVar8"))) (; ";")) (expression_statement "pcVar10[1] = '\x01' - (char)iVar8;" (assignment_expression "pcVar10[1] = '\x01' - (char)iVar8" (subscript_expression "pcVar10[1]" (identifier "pcVar10") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "'\x01' - (char)iVar8" (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'")) (- "-") (cast_expression "(char)iVar8" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "iVar8")))) (; ";")) (expression_statement "pcVar9 = pcVar10 + 2;" (assignment_expression "pcVar9 = pcVar10 + 2" (identifier "pcVar9") (= "=") (binary_expression "pcVar10 + 2" (identifier "pcVar10") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "pcVar10 = pcVar10 + 2;" (assignment_expression "pcVar10 = pcVar10 + 2" (identifier "pcVar10") (= "=") (binary_expression "pcVar10 + 2" (identifier "pcVar10") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0 < iVar2)" (( "(") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2")) () ")")) (; ";")) (} "}"))))) (goto_statement "goto LAB_0023e1cf;" (goto "goto") (statement_identifier "LAB_0023e1cf") (; ";")) (} "}")))

/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "LogEventType": Some values do not have unique names */

size_t function_1(type_1 *var_8,type_2 *scanline,size_t bytes_per_line,type_2 *pixels)

{
  type_1 *var_2;
  int var_12;
  type_3 var_9;
  int var_15;
  type_1 *pIVar3;
  type_1 *var_19;
  type_4 var_11;
  type_4 var_10;
  int var_7;
  size_t sVar8;
  type_1 *pIVar9;
  char *var_16;
  int var_4;
  type_5 uVar11;
  int var_13;
  
  uVar11 = var_1();
  var_7 = (int)((type_6)uVar11 >> 0x20);
  var_2 = (type_1 *)uVar11;
  if (var_2 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3((char *)(var_4 + 0x794fd),(char *)(var_4 + 0xc8f4c),0x264,
                  (char *)(var_4 + 0xc8f21));
  }
  if (var_2->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_3((char *)(var_4 + 0x6c2a1),(char *)(var_4 + 0xc8f4c),0x265,
                  (char *)(var_4 + 0xc8f21));
  }
  if (var_2->debug != var_5) {
    var_6(TraceEvent,(char *)(var_4 + 0xc8f4c),(char *)(var_4 + 0xc8f15),0x267,
                   (char *)(var_4 + 0x78db7),var_2->filename);
  }
  if (var_7 == 0) {
                    /* WARNING: Subroutine does not return */
    var_3((char *)(var_4 + 0xc960d),(char *)(var_4 + 0xc8f4c),0x268,
                  (char *)(var_4 + 0xc8f21));
  }
  if (var_8 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3((char *)(var_4 + 0xce3b9),(char *)(var_4 + 0xc8f4c),0x269,
                  (char *)(var_4 + 0xc8f21));
  }
  var_16 = (char *)(var_7 + -1 + var_9);
  var_11 = *var_16;
  var_19 = var_8;
  if (0 < (int)var_9) {
    var_12 = 0;
    var_13 = 0;
    pIVar3 = var_8;
    var_10 = var_11;
    do {
      if (var_10 == var_11) {
        var_12 = var_12 + 1;
      }
      else if (var_12 < 3) {
        if (var_12 == 0) {
          var_12 = 1;
          var_11 = var_10;
        }
        else {
          var_13 = var_13 + 1;
          *(type_4 *)&pIVar3->storage_class = var_11;
          if (var_13 == 0x80) goto LAB_0023e166;
          while (pIVar3 = (type_1 *)((int)&pIVar3->storage_class + 1), var_12 != 1) {
            while( true ) {
              var_13 = var_13 + 1;
              var_12 = 1;
              *(type_4 *)&pIVar3->storage_class = var_11;
              if (var_13 != 0x80) break;
LAB_0023e166:
              *(type_7 *)((int)&pIVar3->storage_class + 1) = 0x7f;
              var_13 = 0;
              pIVar3 = (type_1 *)((int)&pIVar3->storage_class + 2);
              if (var_12 == 1) goto LAB_0023e174;
            }
          }
LAB_0023e174:
          var_11 = *var_16;
        }
      }
      else {
        var_19 = pIVar3;
        if (var_13 != 0) {
          *(type_4 *)&pIVar3->storage_class = (char)var_13 - var_14;
          var_19 = (type_1 *)((int)&pIVar3->storage_class + 1);
        }
        do {
          var_15 = 0x80;
          if (var_12 < 0x81) {
            var_15 = var_12;
          }
          *(type_4 *)&var_19->storage_class = var_11;
          pIVar3 = (type_1 *)((int)&var_19->storage_class + 2);
          var_12 = var_12 - var_15;
          *(type_7 *)((int)&var_19->storage_class + 1) = 1 - (char)var_15;
          var_19 = pIVar3;
        } while (0 < var_12);
        var_11 = *var_16;
        var_12 = 1;
        var_13 = 0;
      }
      if ((char *)(var_7 + -1) == var_16 + -1) goto LAB_0023e186;
      var_16 = var_16 + -1;
      var_10 = *var_16;
    } while( true );
  }
LAB_0023e1cf:
  var_7 = (int)var_19 - (int)var_8;
joined_r0x0023e303:
  if (var_9 < 0xc9) {
    sVar8 = var_7 + 1;
    var_17(var_2,(type_2)var_7);
  }
  else {
    sVar8 = var_7 + 2;
    var_18(var_2,(type_8)var_7);
  }
  while (var_19 != var_8) {
    var_19 = (type_1 *)((int)&var_19[-1].channels + 3);
    var_17(var_2,(char)var_19->storage_class);
  }
  return sVar8;
LAB_0023e186:
  if (var_12 < 3) {
    var_13 = var_13 + 1;
    *(type_4 *)&pIVar3->storage_class = var_11;
    if (var_13 == 0x80) goto LAB_0023e2d7;
    while (pIVar3 = (type_1 *)((int)&pIVar3->storage_class + 1), var_12 != 1) {
      while( true ) {
        var_13 = var_13 + 1;
        var_12 = 1;
        *(type_4 *)&pIVar3->storage_class = var_11;
        if (var_13 != 0x80) break;
LAB_0023e2d7:
        *(type_4 *)((int)&pIVar3->storage_class + 1) = 0x7f;
        var_13 = 0;
        pIVar3 = (type_1 *)((int)&pIVar3->storage_class + 2);
        if (var_12 == 1) goto LAB_0023e2e5;
      }
    }
LAB_0023e2e5:
    var_19 = pIVar3;
    if (var_13 != 0) {
      var_19 = (type_1 *)((int)&pIVar3->storage_class + 1);
      var_7 = (int)var_19 - (int)var_8;
      *(type_4 *)&pIVar3->storage_class = (char)var_13 - var_14;
      goto joined_r0x0023e303;
    }
  }
  else {
    pIVar9 = pIVar3;
    if (var_13 != 0) {
      pIVar9 = (type_1 *)((int)&pIVar3->storage_class + 1);
      *(type_4 *)&pIVar3->storage_class = (char)var_13 - var_14;
    }
    do {
      *(type_4 *)&pIVar9->storage_class = var_11;
      var_7 = 0x80;
      if (var_12 < 0x81) {
        var_7 = var_12;
      }
      var_19 = (type_1 *)((int)&pIVar9->storage_class + 2);
      var_12 = var_12 - var_7;
      *(type_7 *)((int)&pIVar9->storage_class + 1) = 1 - (char)var_7;
      pIVar9 = var_19;
    } while (0 < var_12);
  }
  goto LAB_0023e1cf;
}


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

int MASKED(char *param_1)

{
  int iVar1;
  int iVar2;
  uint extraout_ECX;
  int iVar3;
  char *pcVar4;
  char cVar5;
  char cVar6;
  uint uVar7;
  int iVar8;
  char *pcVar9;
  char *pcVar10;
  int unaff_EDI;
  undefined8 uVar11;
  int local_2c;
  
  uVar11 = FUN_0004c803();
  iVar8 = (int)((ulonglong)uVar11 >> 0x20);
  iVar1 = (int)uVar11;
  if (iVar1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail((char *)(unaff_EDI + 0x794fd),(char *)(unaff_EDI + 0xc8f4c),0x264,
                  &UNK_000c8f21 + unaff_EDI);
  }
  if (*(int *)(iVar1 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail((char *)(unaff_EDI + 0x6c2a1),(char *)(unaff_EDI + 0xc8f4c),0x265,
                  &UNK_000c8f21 + unaff_EDI);
  }
  if (*(int *)(iVar1 + 0x3328) != 0) {
    LogMagickEvent(0x8000,unaff_EDI + 0xc8f4c,&UNK_000c8f15 + unaff_EDI,0x267,unaff_EDI + 0x78db7,
                   iVar1 + 0x318);
  }
  if (iVar8 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail((char *)(unaff_EDI + 0xc960d),(char *)(unaff_EDI + 0xc8f4c),0x268,
                  &UNK_000c8f21 + unaff_EDI);
  }
  if (param_1 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail(&UNK_000ce3b9 + unaff_EDI,(char *)(unaff_EDI + 0xc8f4c),0x269,
                  &UNK_000c8f21 + unaff_EDI);
  }
  pcVar10 = (char *)(iVar8 + -1 + extraout_ECX);
  cVar5 = *pcVar10;
  pcVar9 = param_1;
  if (0 < (int)extraout_ECX) {
    iVar2 = 0;
    local_2c = 0;
    pcVar4 = param_1;
    cVar6 = cVar5;
    do {
      if (cVar6 == cVar5) {
        iVar2 = iVar2 + 1;
      }
      else if (iVar2 < 3) {
        if (iVar2 == 0) {
          iVar2 = 1;
          cVar5 = cVar6;
        }
        else {
          local_2c = local_2c + 1;
          *pcVar4 = cVar5;
          if (local_2c == 0x80) goto LAB_0023e166;
          while (pcVar4 = pcVar4 + 1, iVar2 != 1) {
            while( true ) {
              local_2c = local_2c + 1;
              iVar2 = 1;
              *pcVar4 = cVar5;
              if (local_2c != 0x80) break;
LAB_0023e166:
              pcVar4[1] = '\x7f';
              local_2c = 0;
              pcVar4 = pcVar4 + 2;
              if (iVar2 == 1) goto LAB_0023e174;
            }
          }
LAB_0023e174:
          cVar5 = *pcVar10;
        }
      }
      else {
        pcVar9 = pcVar4;
        if (local_2c != 0) {
          *pcVar4 = (char)local_2c + -1;
          pcVar9 = pcVar4 + 1;
        }
        do {
          iVar3 = 0x80;
          if (iVar2 < 0x81) {
            iVar3 = iVar2;
          }
          *pcVar9 = cVar5;
          pcVar4 = pcVar9 + 2;
          iVar2 = iVar2 - iVar3;
          pcVar9[1] = '\x01' - (char)iVar3;
          pcVar9 = pcVar4;
        } while (0 < iVar2);
        cVar5 = *pcVar10;
        iVar2 = 1;
        local_2c = 0;
      }
      if ((char *)(iVar8 + -1) == pcVar10 + -1) goto LAB_0023e186;
      pcVar10 = pcVar10 + -1;
      cVar6 = *pcVar10;
    } while( true );
  }
LAB_0023e1cf:
  uVar7 = (int)pcVar9 - (int)param_1;
joined_r0x0023e303:
  if (extraout_ECX < 0xc9) {
    iVar8 = uVar7 + 1;
    WriteBlobByte(iVar1,uVar7 & 0xff);
  }
  else {
    iVar8 = uVar7 + 2;
    WriteBlobMSBShort(iVar1,uVar7 & 0xffff);
  }
  while (pcVar9 != param_1) {
    pcVar9 = pcVar9 + -1;
    WriteBlobByte(iVar1,*pcVar9);
  }
  return iVar8;
LAB_0023e186:
  if (iVar2 < 3) {
    local_2c = local_2c + 1;
    *pcVar4 = cVar5;
    if (local_2c == 0x80) goto LAB_0023e2d7;
    while (pcVar4 = pcVar4 + 1, iVar2 != 1) {
      while( true ) {
        local_2c = local_2c + 1;
        iVar2 = 1;
        *pcVar4 = cVar5;
        if (local_2c != 0x80) break;
LAB_0023e2d7:
        pcVar4[1] = '\x7f';
        local_2c = 0;
        pcVar4 = pcVar4 + 2;
        if (iVar2 == 1) goto LAB_0023e2e5;
      }
    }
LAB_0023e2e5:
    pcVar9 = pcVar4;
    if (local_2c != 0) {
      pcVar9 = pcVar4 + 1;
      uVar7 = (int)pcVar9 - (int)param_1;
      *pcVar4 = (char)local_2c + -1;
      goto joined_r0x0023e303;
    }
  }
  else {
    pcVar10 = pcVar4;
    if (local_2c != 0) {
      pcVar10 = pcVar4 + 1;
      *pcVar4 = (char)local_2c + -1;
    }
    do {
      *pcVar10 = cVar5;
      iVar8 = 0x80;
      if (iVar2 < 0x81) {
        iVar8 = iVar2;
      }
      iVar2 = iVar2 - iVar8;
      pcVar10[1] = '\x01' - (char)iVar8;
      pcVar9 = pcVar10 + 2;
      pcVar10 = pcVar10 + 2;
    } while (0 < iVar2);
  }
  goto LAB_0023e1cf;
}

