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

char * display_string(char *buf,size_t column,size_t span,_Bool isdata)

{
  undefined4 uVar1;
  _Bool _Var2;
  char cVar3;
  size_t sVar4;
  size_t sVar5;
  char *buf_00;
  uint uVar6;
  int iVar7;
  char *pcVar8;
  char *pcVar9;
  uint uVar10;
  uint uVar11;
  char *pcVar12;
  int iVar13;
  char *pcVar14;
  size_t sVar15;
  size_t pos;
  int iVar16;
  int in_GS_OFFSET;
  char *local_40;
  int charwidth;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x3fe99;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  sVar4 = actual_x(buf,column);
  local_40 = buf + sVar4;
  sVar4 = strnlenpt(buf,sVar4);
  uVar11 = column + span;
  sVar5 = strlen(local_40);
  buf_00 = (char *)nmalloc((tabsize + 6) * sVar5 + 1);
  cVar3 = *local_40;
  if ((cVar3 == '\0') || (cVar3 == '\t')) {
    pos = 0;
    goto joined_r0x0003ff74;
  }
  if (sVar4 < column) {
    _Var2 = is_cntrl_mbchar(local_40);
    if (_Var2) {
      pos = 1;
      cVar3 = control_mbrep(local_40,isdata);
      column = column + 1;
      *buf_00 = cVar3;
      iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0);
      local_40 = local_40 + iVar7;
      cVar3 = *local_40;
      goto joined_r0x0003ff74;
    }
    iVar7 = mbwidth(local_40);
    if (iVar7 != 2) {
      cVar3 = *local_40;
      pos = 0;
      goto joined_r0x0003ff74;
    }
LAB_00040455:
    pos = 1;
    pcVar14 = buf_00;
  }
  else {
    if (((sVar4 == 0) || (!isdata)) || ((flags[1] & 2) != 0)) {
      pos = 0;
      goto LAB_00040018;
    }
    _Var2 = is_cntrl_mbchar(local_40);
    if ((_Var2) || (iVar7 = mbwidth(local_40), iVar7 != 2)) {
      cVar3 = *local_40;
      pos = 0;
      goto joined_r0x0003ff74;
    }
    if (column != sVar4) goto LAB_00040455;
    *buf_00 = ' ';
    pos = 2;
    column = column + 1;
    pcVar14 = buf_00 + 1;
  }
  column = column + 1;
  *pcVar14 = '<';
  iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0);
  local_40 = local_40 + iVar7;
  cVar3 = *local_40;
joined_r0x0003ff74:
  do {
    if (cVar3 == '\0') {
LAB_0004007e:
      pcVar14 = buf_00 + pos;
LAB_00040082:
      *pcVar14 = '\0';
      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
        __stack_chk_fail_local();
      }
      return buf_00;
    }
LAB_00040018:
    iVar7 = whitespace_len[0];
    if (uVar11 <= column) {
      iVar7 = mbwidth(local_40);
      if (iVar7 != 0) {
        if ((*local_40 != '\0') && ((uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))))) {
          sVar4 = move_mbleft(buf_00,pos);
          pcVar14 = buf_00 + sVar4;
          iVar7 = mbwidth(pcVar14);
          if (iVar7 == 2) {
            *pcVar14 = '>';
            pcVar14 = buf_00 + sVar4 + 1;
          }
          goto LAB_00040082;
        }
        goto LAB_0004007e;
      }
      cVar3 = *local_40;
      iVar7 = whitespace_len[0];
    }
    whitespace_len[0] = iVar7;
    if (cVar3 == ' ') {
      charwidth = 1;
      if ((flags[0] & 0x2000000) == 0) {
        buf_00[pos] = ' ';
        pos = pos + 1;
      }
      else if (0 < whitespace_len[1]) {
        iVar16 = pos - iVar7;
        iVar13 = pos - iVar7;
        do {
          pos = iVar13 + 1 + iVar7;
          buf_00[iVar7 + iVar16] = whitespace[iVar7];
          iVar7 = iVar7 + 1;
        } while (iVar7 < whitespace_len[1] + whitespace_len[0]);
      }
      local_40 = local_40 + 1;
      cVar3 = *local_40;
      column = column + 1;
    }
    else {
      charwidth = 1;
      if (cVar3 == '\t') {
        if ((flags[0] & 0x2000000) == 0) {
LAB_00040130:
          buf_00[pos] = ' ';
          sVar15 = pos + 1;
        }
        else {
          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {
            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;
            pos = 0;
          }
          sVar15 = pos;
          if (0 < iVar7) {
            iVar7 = 0;
            do {
              sVar15 = pos + 1 + iVar7;
              buf_00[iVar7 + pos] = whitespace[iVar7];
              iVar7 = iVar7 + 1;
            } while (iVar7 < whitespace_len[0]);
          }
        }
        uVar6 = column + 1;
        if ((uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11)) {
          iVar7 = sVar15 - column;
          do {
            buf_00[uVar6 + iVar7 + -1] = ' ';
            sVar15 = iVar7 + uVar6;
            uVar6 = uVar6 + 1;
            if (uVar6 % (uint)tabsize == 0) break;
          } while (uVar6 < uVar11);
        }
        local_40 = local_40 + 1;
        column = uVar6;
      }
      else {
        uVar6 = length_of_char(local_40,&charwidth);
        _Var2 = is_cntrl_mbchar(local_40);
        pcVar14 = buf_00 + pos;
        if (_Var2) {
          *pcVar14 = '^';
          sVar15 = pos + 2;
          cVar3 = control_mbrep(local_40,isdata);
          buf_00[pos + 1] = cVar3;
          local_40 = local_40 + uVar6;
          column = column + 2;
        }
        else if ((int)uVar6 < 1) {
          *pcVar14 = -0x11;
          sVar15 = pos + 3;
          column = column + 1;
          buf_00[pos + 1] = -0x41;
          buf_00[pos + 2] = -0x43;
          pcVar14 = local_40 + uVar6 + 8;
          local_40 = local_40 + 1;
          if ((int)uVar6 < -1) {
            local_40 = pcVar14;
          }
        }
        else {
          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||
               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {
            pcVar8 = local_40;
            do {
              pcVar12 = pcVar8 + 1;
              *pcVar14 = *pcVar8;
              pcVar14 = pcVar14 + 1;
              pcVar8 = pcVar12;
            } while (local_40 + uVar6 != pcVar12);
          }
          else {
            pcVar8 = pcVar14;
            pcVar12 = local_40;
            do {
              uVar1 = *(undefined4 *)pcVar12;
              pcVar9 = pcVar8 + 4;
              pcVar12 = pcVar12 + 4;
              *(undefined4 *)pcVar8 = uVar1;
              pcVar8 = pcVar9;
            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));
            uVar10 = uVar6 & 0xfffffffc;
            pcVar14 = local_40 + uVar10;
            iVar7 = uVar10 + pos;
            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&
               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {
              buf_00[iVar7 + 2] = pcVar14[2];
            }
          }
          local_40 = local_40 + uVar6;
          sVar15 = pos + uVar6;
          column = column + charwidth;
        }
      }
      cVar3 = *local_40;
      pos = sVar15;
    }
  } while( true );
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

undefined1 * FUN_0003fe90(int param_1,uint param_2,int param_3,char param_4)

{
  undefined4 uVar1;
  char cVar2;
  undefined1 uVar3;
  int iVar4;
  uint uVar5;
  size_t sVar6;
  undefined1 *puVar7;
  uint uVar8;
  int iVar9;
  char *pcVar10;
  char *pcVar11;
  uint uVar12;
  char *pcVar13;
  uint uVar14;
  char *pcVar15;
  int iVar16;
  undefined1 *puVar17;
  int iVar18;
  int in_GS_OFFSET;
  char *local_40;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x3fe99;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar4 = FUN_0003dfb0(param_1,param_2);
  local_40 = (char *)(iVar4 + param_1);
  uVar5 = FUN_0003e040(param_1,iVar4);
  uVar14 = param_2 + param_3;
  sVar6 = strlen(local_40);
  puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1);
  cVar2 = *local_40;
  if ((cVar2 == '\0') || (cVar2 == '\t')) {
    iVar4 = 0;
    goto joined_r0x0003ff74;
  }
  if (uVar5 < param_2) {
    cVar2 = FUN_00017ac0(local_40);
    if (cVar2 != '\0') {
      iVar4 = 1;
      uVar3 = FUN_00017d90(local_40,param_4);
      param_2 = param_2 + 1;
      *puVar7 = uVar3;
      iVar9 = FUN_00018090(local_40,0,0);
      local_40 = local_40 + iVar9;
      cVar2 = *local_40;
      goto joined_r0x0003ff74;
    }
    iVar4 = FUN_00017f40(local_40);
    if (iVar4 != 2) {
      cVar2 = *local_40;
      iVar4 = 0;
      goto joined_r0x0003ff74;
    }
LAB_00040455:
    iVar4 = 1;
    puVar17 = puVar7;
  }
  else {
    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {
      iVar4 = 0;
      goto LAB_00040018;
    }
    cVar2 = FUN_00017ac0(local_40);
    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {
      cVar2 = *local_40;
      iVar4 = 0;
      goto joined_r0x0003ff74;
    }
    if (param_2 != uVar5) goto LAB_00040455;
    *puVar7 = 0x20;
    iVar4 = 2;
    param_2 = param_2 + 1;
    puVar17 = puVar7 + 1;
  }
  param_2 = param_2 + 1;
  *puVar17 = 0x3c;
  iVar9 = FUN_00018090(local_40,0,0);
  local_40 = local_40 + iVar9;
  cVar2 = *local_40;
joined_r0x0003ff74:
  do {
    if (cVar2 == '\0') {
LAB_0004007e:
      puVar17 = puVar7 + iVar4;
LAB_00040082:
      *puVar17 = 0;
      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
        FUN_0005a8b0();
      }
      return puVar7;
    }
LAB_00040018:
    iVar9 = DAT_0007ba58;
    if (uVar14 <= param_2) {
      iVar9 = FUN_00017f40(local_40);
      if (iVar9 != 0) {
        if ((*local_40 != '\0') &&
           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {
          iVar4 = FUN_000182e0(puVar7,iVar4);
          puVar17 = puVar7 + iVar4;
          iVar9 = FUN_00017f40(puVar17);
          if (iVar9 == 2) {
            *puVar17 = 0x3e;
            puVar17 = puVar7 + iVar4 + 1;
          }
          goto LAB_00040082;
        }
        goto LAB_0004007e;
      }
      cVar2 = *local_40;
      iVar9 = DAT_0007ba58;
    }
    DAT_0007ba58 = iVar9;
    if (cVar2 == ' ') {
      local_24 = 1;
      if ((DAT_0007b664 & 0x2000000) == 0) {
        puVar7[iVar4] = 0x20;
        iVar4 = iVar4 + 1;
      }
      else if (0 < DAT_0007ba5c) {
        iVar18 = iVar4 - iVar9;
        iVar16 = iVar4 - iVar9;
        do {
          iVar4 = iVar16 + 1 + iVar9;
          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);
          iVar9 = iVar9 + 1;
        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);
      }
      local_40 = local_40 + 1;
      cVar2 = *local_40;
      param_2 = param_2 + 1;
    }
    else {
      local_24 = 1;
      if (cVar2 == '\t') {
        if ((DAT_0007b664 & 0x2000000) == 0) {
LAB_00040130:
          puVar7[iVar4] = 0x20;
          iVar16 = iVar4 + 1;
        }
        else {
          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {
            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;
            iVar4 = 0;
          }
          iVar16 = iVar4;
          if (0 < iVar9) {
            iVar9 = 0;
            do {
              iVar16 = iVar4 + 1 + iVar9;
              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);
              iVar9 = iVar9 + 1;
            } while (iVar9 < DAT_0007ba58);
          }
        }
        uVar8 = param_2 + 1;
        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {
          iVar4 = iVar16 - param_2;
          do {
            puVar7[uVar8 + iVar4 + -1] = 0x20;
            iVar16 = iVar4 + uVar8;
            uVar8 = uVar8 + 1;
            if (uVar8 % DAT_0007b068 == 0) break;
          } while (uVar8 < uVar14);
        }
        local_40 = local_40 + 1;
        param_2 = uVar8;
      }
      else {
        uVar8 = FUN_00017e50(local_40,&local_24);
        cVar2 = FUN_00017ac0(local_40);
        pcVar13 = puVar7 + iVar4;
        if (cVar2 == '\0') {
          if ((int)uVar8 < 1) {
            *pcVar13 = -0x11;
            iVar16 = iVar4 + 3;
            param_2 = param_2 + 1;
            puVar7[iVar4 + 1] = 0xbf;
            puVar7[iVar4 + 2] = 0xbd;
            pcVar13 = local_40 + uVar8 + 8;
            local_40 = local_40 + 1;
            if ((int)uVar8 < -1) {
              local_40 = pcVar13;
            }
          }
          else {
            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||
                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {
              pcVar10 = local_40;
              do {
                pcVar15 = pcVar10 + 1;
                *pcVar13 = *pcVar10;
                pcVar13 = pcVar13 + 1;
                pcVar10 = pcVar15;
              } while (local_40 + uVar8 != pcVar15);
            }
            else {
              pcVar10 = pcVar13;
              pcVar15 = local_40;
              do {
                uVar1 = *(undefined4 *)pcVar15;
                pcVar11 = pcVar10 + 4;
                pcVar15 = pcVar15 + 4;
                *(undefined4 *)pcVar10 = uVar1;
                pcVar10 = pcVar11;
              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));
              uVar12 = uVar8 & 0xfffffffc;
              pcVar13 = local_40 + uVar12;
              iVar9 = uVar12 + iVar4;
              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&
                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {
                puVar7[iVar9 + 2] = pcVar13[2];
              }
            }
            local_40 = local_40 + uVar8;
            iVar16 = iVar4 + uVar8;
            param_2 = param_2 + local_24;
          }
        }
        else {
          *pcVar13 = '^';
          iVar16 = iVar4 + 2;
          uVar3 = FUN_00017d90(local_40,param_4);
          puVar7[iVar4 + 1] = uVar3;
          local_40 = local_40 + uVar8;
          param_2 = param_2 + 2;
        }
      }
      cVar2 = *local_40;
      iVar4 = iVar16;
    }
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00015680
ADD EBX,0x3ad37
SUB ESP,0x54
MOV EDI,dword ptr [ESP + 0x74]
MOV ESI,dword ptr [ESP + 0x68]
MOV EAX,EDI
MOV dword ptr [ESP + 0x34],EDI
MOV byte ptr [ESP + 0x23],AL
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x44],EAX
XOR EAX,EAX
PUSH dword ptr [ESP + 0x6c]
PUSH ESI
CALL 0x0003dfb0
POP ECX
POP EDX
PUSH EAX
MOV EBP,EAX
PUSH ESI
ADD EBP,ESI
CALL 0x0003e040
MOV EDX,dword ptr [ESP + 0x74]
ADD EDX,dword ptr [ESP + 0x78]
MOV dword ptr [ESP],EBP
MOV dword ptr [ESP + 0x14],EDX
MOV dword ptr [ESP + 0x38],EAX
CALL 0x00013630
LEA ESI,[EBX + 0x498]
MOV EDX,dword ptr [ESI]
MOV dword ptr [ESP + 0x1c],ESI
MOV dword ptr [ESP + 0x18],EDX
ADD EDX,0x6
IMUL EDX,EAX
LEA EAX,[EDX + 0x1]
MOV dword ptr [ESP],EAX
CALL 0x0003da70
MOV dword ptr [ESP + 0x18],EAX
MOVZX EAX,byte ptr [EBP]
ADD ESP,0x10
TEST AL,AL
JZ 0x0003ff70
CMP AL,0x9
JZ 0x0003ff70
MOV ESI,dword ptr [ESP + 0x28]
CMP dword ptr [ESP + 0x64],ESI
JA 0x000403e0
TEST ESI,ESI
JZ 0x00040338
MOV EDX,EDI
TEST DL,DL
JZ 0x00040338
LEA EDX,[EBX + 0xa94]
MOV ESI,dword ptr [EDX + 0x4]
AND ESI,0x2
JNZ 0x00040338
SUB ESP,0xc
PUSH EBP
CALL 0x00017ac0
ADD ESP,0x10
TEST AL,AL
JZ 0x0004047d
MOVZX EAX,byte ptr [EBP]
JMP 0x0003ff72
XOR ESI,ESI
TEST AL,AL
JZ 0x0004007e
LEA EDI,[EBX + 0xa94]
MOV dword ptr [ESP + 0x20],EDI
LEA EDI,[EBX + 0xe88]
MOV dword ptr [ESP + 0x14],EDI
MOV EDI,ESI
JMP 0x00040018
MOV dword ptr [ESP + 0x38],0x1
CMP AL,0x20
JZ 0x0004004e
CMP AL,0x9
JZ 0x000400e0
SUB ESP,0x8
LEA EAX,[ESP + 0x40]
PUSH EAX
PUSH EBP
CALL 0x00017e50
MOV dword ptr [ESP],EBP
MOV ESI,EAX
CALL 0x00017ac0
MOV ECX,dword ptr [ESP + 0x18]
ADD ESP,0x10
LEA EDX,[ECX + EDI*0x1]
LEA ECX,[EDI + 0x1]
TEST AL,AL
JNZ 0x000400a8
LEA EAX,[EBP + 0x1]
TEST ESI,ESI
JG 0x00040210
MOV EBP,dword ptr [ESP + 0x8]
MOV byte ptr [EDX],0xef
LEA EDX,[EDI + 0x2]
ADD EDI,0x3
ADD dword ptr [ESP + 0x64],0x1
CMP ESI,-0x1
MOV byte ptr [EBP + ECX*0x1],0xbf
MOV byte ptr [EBP + EDX*0x1],0xbd
LEA EDX,[EAX + ESI*0x1 + 0x7]
CMOVL EAX,EDX
MOV EBP,EAX
MOVZX EAX,byte ptr [EBP]
TEST AL,AL
JZ 0x0004007c
MOV ESI,dword ptr [ESP + 0x4]
CMP ESI,dword ptr [ESP + 0x64]
JA 0x0003ff98
SUB ESP,0xc
PUSH EBP
CALL 0x00017f40
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00040340
MOVZX EAX,byte ptr [EBP]
MOV dword ptr [ESP + 0x38],0x1
CMP AL,0x20
JNZ 0x0003ffa8
LEA EAX,[EBX + 0xa94]
MOV EAX,dword ptr [EAX]
TEST EAX,0x2000000
JNZ 0x000402d8
MOV EAX,dword ptr [ESP + 0x8]
MOV byte ptr [EAX + EDI*0x1],0x20
ADD EDI,0x1
ADD EBP,0x1
MOVZX EAX,byte ptr [EBP]
ADD dword ptr [ESP + 0x64],0x1
TEST AL,AL
JNZ 0x00040018
MOV ESI,EDI
ADD ESI,dword ptr [ESP + 0x8]
MOV byte ptr [ESI],0x0
MOV EAX,dword ptr [ESP + 0x8]
MOV EBX,dword ptr [ESP + 0x3c]
XOR EBX,dword ptr GS:[0x14]
JNZ 0x000404b2
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ECX,dword ptr [ESP + 0x8]
SUB ESP,0x8
MOV byte ptr [EDX],0x5e
ADD EDI,0x2
MOV dword ptr [ESP + 0x18],ECX
MOVZX EAX,byte ptr [ESP + 0x23]
PUSH EAX
PUSH EBP
ADD EBP,ESI
CALL 0x00017d90
MOV ECX,dword ptr [ESP + 0x20]
ADD dword ptr [ESP + 0x74],0x2
ADD ESP,0x10
MOV byte ptr [ECX],AL
JMP 0x00040010
MOV ESI,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP + 0x10],EAX
TEST EAX,0x2000000
JZ 0x00040130
TEST EDI,EDI
JNZ 0x000401b2
CMP byte ptr [ESP + 0x1b],0x1
JNZ 0x000401b2
TEST byte ptr [ESI + 0x4],0x2
JZ 0x000401b2
MOV ESI,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x64]
XOR EDX,EDX
DIV dword ptr [ESI]
TEST EDX,EDX
JZ 0x000401b0
MOV EAX,dword ptr [ESP + 0x28]
CMP EAX,dword ptr [ESP + 0x64]
JZ 0x000401b0
LEA EAX,[EDI + 0x1]
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x8]
MOV byte ptr [EAX + EDI*0x1],0x20
MOV EAX,dword ptr [ESP + 0x64]
MOV EDI,dword ptr [ESP + 0xc]
XOR EDX,EDX
LEA ECX,[EAX + 0x1]
MOV EAX,ECX
DIV dword ptr [EDI]
TEST EDX,EDX
JZ 0x00040410
CMP dword ptr [ESP + 0x4],ECX
JBE 0x00040410
MOV EAX,dword ptr [ESP + 0x8]
SUB ESI,dword ptr [ESP + 0x64]
MOV dword ptr [ESP + 0x1c],EBP
ADD EAX,ESI
MOV EBP,EAX
JMP 0x0004017e
CMP dword ptr [ESP + 0x4],ECX
JBE 0x0004019b
MOV byte ptr [EBP + ECX*0x1 + -0x1],0x20
LEA EAX,[ESI + ECX*0x1]
MOV EDI,dword ptr [ESP + 0xc]
ADD ECX,0x1
MOV dword ptr [ESP + 0x10],EAX
XOR EDX,EDX
MOV EAX,ECX
DIV dword ptr [EDI]
TEST EDX,EDX
JNZ 0x00040178
MOV EBP,dword ptr [ESP + 0x1c]
MOV EDI,dword ptr [ESP + 0x10]
ADD EBP,0x1
MOV dword ptr [ESP + 0x64],ECX
JMP 0x00040010
XOR EDI,EDI
MOV EAX,dword ptr [ESP + 0x14]
MOV ESI,EDI
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JLE 0x0004013d
LEA EDX,[EDI + 0x1]
MOV ECX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x1c],EBP
XOR EAX,EAX
MOV dword ptr [ESP + 0x10],EDX
LEA ESI,[EBX + 0xa64]
ADD ECX,EDI
LEA ESI,[ESI]
NOP
MOV EDI,dword ptr [ESP + 0x10]
LEA EBP,[EDI + EAX*0x1]
MOV EDI,dword ptr [ESI]
MOVZX EDX,byte ptr [EDI + EAX*0x1]
MOV EDI,dword ptr [ESP + 0x14]
MOV byte ptr [ECX + EAX*0x1],DL
ADD EAX,0x1
CMP dword ptr [EDI],EAX
JG 0x000401e0
MOV ESI,EBP
MOV EBP,dword ptr [ESP + 0x1c]
JMP 0x0004013d
MOV EAX,dword ptr [ESP + 0x8]
LEA EAX,[EAX + EDI*0x1 + 0x4]
CMP EBP,EAX
LEA EAX,[EBP + 0x4]
SETNC CL
CMP EDX,EAX
SETNC AL
OR EAX,ECX
MOV ECX,EDX
OR ECX,EBP
AND ECX,0x3
SETZ CL
TEST AL,CL
JZ 0x000403b0
LEA EAX,[ESI + -0x1]
CMP EAX,0x3
JBE 0x000403b0
MOV ECX,ESI
MOV dword ptr [ESP + 0x10],ESI
MOV EAX,EDX
MOV EDX,EBP
AND ECX,0xfffffffc
ADD ECX,EAX
LEA ESI,[ESI]
MOV ESI,dword ptr [EDX]
ADD EAX,0x4
ADD EDX,0x4
MOV dword ptr [EAX + -0x4],ESI
CMP EAX,ECX
JNZ 0x00040258
MOV ESI,dword ptr [ESP + 0x10]
MOV EAX,ESI
AND EAX,0xfffffffc
LEA EDX,[EBP + EAX*0x1]
ADD EBP,ESI
LEA ECX,[EAX + EDI*0x1]
MOV dword ptr [ESP + 0x10],EDX
MOV EDX,ESI
SUB EDX,EAX
MOV dword ptr [ESP + 0x1c],EBP
MOV dword ptr [ESP + 0x24],EDX
CMP EAX,ESI
JZ 0x000402bf
MOV EAX,dword ptr [ESP + 0x10]
MOV EBP,EDX
MOV EDX,dword ptr [ESP + 0x8]
MOVZX EAX,byte ptr [EAX]
MOV byte ptr [EDX + ECX*0x1],AL
CMP EBP,0x1
JZ 0x000402bf
MOV EAX,dword ptr [ESP + 0x10]
MOVZX EAX,byte ptr [EAX + 0x1]
MOV byte ptr [EDX + ECX*0x1 + 0x1],AL
CMP EBP,0x2
JZ 0x000402bf
MOV EAX,dword ptr [ESP + 0x10]
MOVZX EAX,byte ptr [EAX + 0x2]
MOV byte ptr [EDX + ECX*0x1 + 0x2],AL
MOV EAX,dword ptr [ESP + 0x38]
MOV EBP,dword ptr [ESP + 0x1c]
ADD EDI,ESI
ADD dword ptr [ESP + 0x64],EAX
JMP 0x00040010
LEA ECX,[EBX + 0xe88]
MOV EDX,dword ptr [ECX + 0x4]
MOV EAX,dword ptr [ECX]
TEST EDX,EDX
JLE 0x0004006c
MOV EDX,EDI
LEA ESI,[EBX + 0xa64]
SUB EDI,EAX
ADD EDI,dword ptr [ESP + 0x8]
SUB EDX,EAX
MOV dword ptr [ESP + 0x1c],EBP
MOV EBP,EDI
ADD EDX,0x1
MOV dword ptr [ESP + 0x10],EDX
LEA ESI,[ESI]
NOP
MOV EDX,dword ptr [ESI]
MOV EDI,dword ptr [ESP + 0x10]
MOVZX EDX,byte ptr [EDX + EAX*0x1]
ADD EDI,EAX
MOV byte ptr [EBP + EAX*0x1],DL
ADD EAX,0x1
MOV EDX,dword ptr [ECX + 0x4]
ADD EDX,dword ptr [ECX]
CMP EDX,EAX
JG 0x00040310
MOV EBP,dword ptr [ESP + 0x1c]
JMP 0x0004006c
XOR ESI,ESI
JMP 0x0003ff7a
CMP byte ptr [EBP],0x0
MOV ESI,EDI
JZ 0x0004007e
MOV EAX,dword ptr [ESP + 0x4]
CMP EAX,dword ptr [ESP + 0x64]
JC 0x00040371
CMP byte ptr [ESP + 0x2c],0x0
JZ 0x0004007e
LEA EAX,[EBX + 0xa94]
TEST byte ptr [EAX + 0x4],0x2
JNZ 0x0004007e
SUB ESP,0x8
PUSH ESI
MOV ESI,dword ptr [ESP + 0x14]
PUSH ESI
CALL 0x000182e0
MOV EDI,EAX
LEA ESI,[ESI + EDI*0x1]
MOV dword ptr [ESP],ESI
CALL 0x00017f40
ADD ESP,0x10
CMP EAX,0x2
JNZ 0x00040082
MOV EAX,dword ptr [ESP + 0x8]
MOV byte ptr [ESI],0x3e
LEA ESI,[EAX + EDI*0x1 + 0x1]
JMP 0x00040082
LEA ECX,[EBP + ESI*0x1]
MOV EAX,EDX
MOV EDX,EBP
MOV dword ptr [ESP + 0x1c],ECX
MOV EBP,ECX
NOP
ADD EDX,0x1
MOVZX ECX,byte ptr [EDX + -0x1]
ADD EAX,0x1
MOV byte ptr [EAX + -0x1],CL
CMP EBP,EDX
JNZ 0x000403c0
JMP 0x000402bf
SUB ESP,0xc
PUSH EBP
CALL 0x00017ac0
ADD ESP,0x10
TEST AL,AL
JNZ 0x00040417
SUB ESP,0xc
PUSH EBP
CALL 0x00017f40
ADD ESP,0x10
CMP EAX,0x2
JZ 0x00040451
MOVZX EAX,byte ptr [EBP]
XOR ESI,ESI
JMP 0x0003ff72
MOV EDI,ESI
JMP 0x000401a3
SUB ESP,0x8
MOV ESI,0x1
MOVZX EAX,byte ptr [ESP + 0x34]
PUSH EAX
PUSH EBP
CALL 0x00017d90
MOV EDI,dword ptr [ESP + 0x18]
ADD dword ptr [ESP + 0x74],0x1
ADD ESP,0xc
MOV byte ptr [EDI],AL
PUSH 0x0
PUSH 0x0
PUSH EBP
CALL 0x00018090
ADD ESP,0x10
ADD EBP,EAX
MOVZX EAX,byte ptr [EBP]
JMP 0x0003ff72
MOV EAX,dword ptr [ESP + 0x8]
MOV ESI,0x1
ADD dword ptr [ESP + 0x64],0x1
SUB ESP,0x4
MOV byte ptr [EAX],0x3c
PUSH 0x0
PUSH 0x0
PUSH EBP
CALL 0x00018090
ADD ESP,0x10
ADD EBP,EAX
MOVZX EAX,byte ptr [EBP]
JMP 0x0003ff72
SUB ESP,0xc
PUSH EBP
CALL 0x00017f40
ADD ESP,0x10
CMP EAX,0x2
JNZ 0x0003ff69
MOV EAX,dword ptr [ESP + 0x28]
CMP dword ptr [ESP + 0x64],EAX
MOV EAX,dword ptr [ESP + 0x8]
JNZ 0x00040455
MOV byte ptr [EAX],0x20
MOV ESI,0x2
ADD EAX,0x1
ADD dword ptr [ESP + 0x64],0x1
JMP 0x0004045a
CALL 0x0005a8b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined1 * FUN_0003fe90(int param_1,uint param_2,int param_3,char param_4)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  undefined1 uVar3;\n  int iVar4;\n  uint uVar5;\n  size_t sVar6;\n  undefined1 *puVar7;\n  uint uVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  uint uVar12;\n  char *pcVar13;\n  uint uVar14;\n  char *pcVar15;\n  int iVar16;\n  undefined1 *puVar17;\n  int iVar18;\n  int in_GS_OFFSET;\n  char *local_40;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3fe99;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_0003dfb0(param_1,param_2);\n  local_40 = (char *)(iVar4 + param_1);\n  uVar5 = FUN_0003e040(param_1,iVar4);\n  uVar14 = param_2 + param_3;\n  sVar6 = strlen(local_40);\n  puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1);\n  cVar2 = *local_40;\n  if ((cVar2 == '\0') || (cVar2 == '\t')) {\n    iVar4 = 0;\n    goto joined_r0x0003ff74;\n  }\n  if (uVar5 < param_2) {\n    cVar2 = FUN_00017ac0(local_40);\n    if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar4 = FUN_00017f40(local_40);\n    if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    iVar4 = 1;\n    puVar17 = puVar7;\n  }\n  else {\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }\n  param_2 = param_2 + 1;\n  *puVar17 = 0x3c;\n  iVar9 = FUN_00018090(local_40,0,0);\n  local_40 = local_40 + iVar9;\n  cVar2 = *local_40;\njoined_r0x0003ff74:\n  do {\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  } while( true );\n}\n\n" comment comment (function_definition "undefined1 * FUN_0003fe90(int param_1,uint param_2,int param_3,char param_4)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  undefined1 uVar3;\n  int iVar4;\n  uint uVar5;\n  size_t sVar6;\n  undefined1 *puVar7;\n  uint uVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  uint uVar12;\n  char *pcVar13;\n  uint uVar14;\n  char *pcVar15;\n  int iVar16;\n  undefined1 *puVar17;\n  int iVar18;\n  int in_GS_OFFSET;\n  char *local_40;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3fe99;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_0003dfb0(param_1,param_2);\n  local_40 = (char *)(iVar4 + param_1);\n  uVar5 = FUN_0003e040(param_1,iVar4);\n  uVar14 = param_2 + param_3;\n  sVar6 = strlen(local_40);\n  puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1);\n  cVar2 = *local_40;\n  if ((cVar2 == '\0') || (cVar2 == '\t')) {\n    iVar4 = 0;\n    goto joined_r0x0003ff74;\n  }\n  if (uVar5 < param_2) {\n    cVar2 = FUN_00017ac0(local_40);\n    if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar4 = FUN_00017f40(local_40);\n    if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    iVar4 = 1;\n    puVar17 = puVar7;\n  }\n  else {\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }\n  param_2 = param_2 + 1;\n  *puVar17 = 0x3c;\n  iVar9 = FUN_00018090(local_40,0,0);\n  local_40 = local_40 + iVar9;\n  cVar2 = *local_40;\njoined_r0x0003ff74:\n  do {\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  } while( true );\n}" type_identifier (pointer_declarator "* FUN_0003fe90(int param_1,uint param_2,int param_3,char param_4)" * (function_declarator "FUN_0003fe90(int param_1,uint param_2,int param_3,char param_4)" identifier (parameter_list "(int param_1,uint param_2,int param_3,char param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "char param_4" primitive_type identifier) )))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  undefined1 uVar3;\n  int iVar4;\n  uint uVar5;\n  size_t sVar6;\n  undefined1 *puVar7;\n  uint uVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  uint uVar12;\n  char *pcVar13;\n  uint uVar14;\n  char *pcVar15;\n  int iVar16;\n  undefined1 *puVar17;\n  int iVar18;\n  int in_GS_OFFSET;\n  char *local_40;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3fe99;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_0003dfb0(param_1,param_2);\n  local_40 = (char *)(iVar4 + param_1);\n  uVar5 = FUN_0003e040(param_1,iVar4);\n  uVar14 = param_2 + param_3;\n  sVar6 = strlen(local_40);\n  puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1);\n  cVar2 = *local_40;\n  if ((cVar2 == '\0') || (cVar2 == '\t')) {\n    iVar4 = 0;\n    goto joined_r0x0003ff74;\n  }\n  if (uVar5 < param_2) {\n    cVar2 = FUN_00017ac0(local_40);\n    if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar4 = FUN_00017f40(local_40);\n    if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    iVar4 = 1;\n    puVar17 = puVar7;\n  }\n  else {\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }\n  param_2 = param_2 + 1;\n  *puVar17 = 0x3c;\n  iVar9 = FUN_00018090(local_40,0,0);\n  local_40 = local_40 + iVar9;\n  cVar2 = *local_40;\njoined_r0x0003ff74:\n  do {\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  } while( true );\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined1 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "char *pcVar15;" primitive_type (pointer_declarator "*pcVar15" * identifier) ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "undefined1 *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char *local_40;" primitive_type (pointer_declarator "*local_40" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x3fe99;" (assignment_expression "uStack_14 = 0x3fe99" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = FUN_0003dfb0(param_1,param_2);" (assignment_expression "iVar4 = FUN_0003dfb0(param_1,param_2)" identifier = (call_expression "FUN_0003dfb0(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (expression_statement "local_40 = (char *)(iVar4 + param_1);" (assignment_expression "local_40 = (char *)(iVar4 + param_1)" identifier = (cast_expression "(char *)(iVar4 + param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + param_1)" ( (binary_expression "iVar4 + param_1" identifier + identifier) )))) ;) (expression_statement "uVar5 = FUN_0003e040(param_1,iVar4);" (assignment_expression "uVar5 = FUN_0003e040(param_1,iVar4)" identifier = (call_expression "FUN_0003e040(param_1,iVar4)" identifier (argument_list "(param_1,iVar4)" ( identifier , identifier )))) ;) (expression_statement "uVar14 = param_2 + param_3;" (assignment_expression "uVar14 = param_2 + param_3" identifier = (binary_expression "param_2 + param_3" identifier + identifier)) ;) (expression_statement "sVar6 = strlen(local_40);" (assignment_expression "sVar6 = strlen(local_40)" identifier = (call_expression "strlen(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (expression_statement "puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1);" (assignment_expression "puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1)" identifier = (cast_expression "(undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1)" identifier (argument_list "((DAT_0007b068 + 6) * sVar6 + 1)" ( (binary_expression "(DAT_0007b068 + 6) * sVar6 + 1" (binary_expression "(DAT_0007b068 + 6) * sVar6" (parenthesized_expression "(DAT_0007b068 + 6)" ( (binary_expression "DAT_0007b068 + 6" identifier + number_literal) )) * identifier) + number_literal) ))))) ;) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (if_statement "if ((cVar2 == '\0') || (cVar2 == '\t')) {\n    iVar4 = 0;\n    goto joined_r0x0003ff74;\n  }" if (parenthesized_expression "((cVar2 == '\0') || (cVar2 == '\t'))" ( (binary_expression "(cVar2 == '\0') || (cVar2 == '\t')" (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(cVar2 == '\t')" ( (binary_expression "cVar2 == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n    iVar4 = 0;\n    goto joined_r0x0003ff74;\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto joined_r0x0003ff74;" goto statement_identifier ;) })) (if_statement "if (uVar5 < param_2) {\n    cVar2 = FUN_00017ac0(local_40);\n    if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar4 = FUN_00017f40(local_40);\n    if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    iVar4 = 1;\n    puVar17 = puVar7;\n  }\n  else {\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }" if (parenthesized_expression "(uVar5 < param_2)" ( (binary_expression "uVar5 < param_2" identifier < identifier) )) (compound_statement "{\n    cVar2 = FUN_00017ac0(local_40);\n    if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar4 = FUN_00017f40(local_40);\n    if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    iVar4 = 1;\n    puVar17 = puVar7;\n  }" { (expression_statement "cVar2 = FUN_00017ac0(local_40);" (assignment_expression "cVar2 = FUN_00017ac0(local_40)" identifier = (call_expression "FUN_00017ac0(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (if_statement "if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = FUN_00017d90(local_40,param_4);" (assignment_expression "uVar3 = FUN_00017d90(local_40,param_4)" identifier = (call_expression "FUN_00017d90(local_40,param_4)" identifier (argument_list "(local_40,param_4)" ( identifier , identifier )))) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar3;" (assignment_expression "*puVar7 = uVar3" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "iVar9 = FUN_00018090(local_40,0,0);" (assignment_expression "iVar9 = FUN_00018090(local_40,0,0)" identifier = (call_expression "FUN_00018090(local_40,0,0)" identifier (argument_list "(local_40,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "local_40 = local_40 + iVar9;" (assignment_expression "local_40 = local_40 + iVar9" identifier = (binary_expression "local_40 + iVar9" identifier + identifier)) ;) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (goto_statement "goto joined_r0x0003ff74;" goto statement_identifier ;) })) (expression_statement "iVar4 = FUN_00017f40(local_40);" (assignment_expression "iVar4 = FUN_00017f40(local_40)" identifier = (call_expression "FUN_00017f40(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (if_statement "if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }" if (parenthesized_expression "(iVar4 != 2)" ( (binary_expression "iVar4 != 2" identifier != number_literal) )) (compound_statement "{\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }" { (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto joined_r0x0003ff74;" goto statement_identifier ;) })) (labeled_statement "LAB_00040455:\n    iVar4 = 1;" statement_identifier : (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;)) (expression_statement "puVar17 = puVar7;" (assignment_expression "puVar17 = puVar7" identifier = identifier) ;) }) (else_clause "else {\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }" else (compound_statement "{\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }" { (if_statement "if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }" if (parenthesized_expression "(((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0))" ( (binary_expression "((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)" (parenthesized_expression "((uVar5 == 0) || (param_4 == '\0'))" ( (binary_expression "(uVar5 == 0) || (param_4 == '\0')" (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(param_4 == '\0')" ( (binary_expression "param_4 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) || (parenthesized_expression "((_DAT_0007b668 & 2) != 0)" ( (binary_expression "(_DAT_0007b668 & 2) != 0" (parenthesized_expression "(_DAT_0007b668 & 2)" ( (binary_expression "_DAT_0007b668 & 2" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      iVar4 = 0;\n      goto LAB_00040018;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00040018;" goto statement_identifier ;) })) (expression_statement "cVar2 = FUN_00017ac0(local_40);" (assignment_expression "cVar2 = FUN_00017ac0(local_40)" identifier = (call_expression "FUN_00017ac0(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (if_statement "if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }" if (parenthesized_expression "((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2))" ( (binary_expression "(cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)" (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(iVar4 = FUN_00017f40(local_40), iVar4 != 2)" ( (comma_expression "iVar4 = FUN_00017f40(local_40), iVar4 != 2" (assignment_expression "iVar4 = FUN_00017f40(local_40)" identifier = (call_expression "FUN_00017f40(local_40)" identifier (argument_list "(local_40)" ( identifier )))) , (binary_expression "iVar4 != 2" identifier != number_literal)) ))) )) (compound_statement "{\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }" { (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto joined_r0x0003ff74;" goto statement_identifier ;) })) (if_statement "if (param_2 != uVar5) goto LAB_00040455;" if (parenthesized_expression "(param_2 != uVar5)" ( (binary_expression "param_2 != uVar5" identifier != identifier) )) (goto_statement "goto LAB_00040455;" goto statement_identifier ;)) (expression_statement "*puVar7 = 0x20;" (assignment_expression "*puVar7 = 0x20" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "puVar17 = puVar7 + 1;" (assignment_expression "puVar17 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar17 = 0x3c;" (assignment_expression "*puVar17 = 0x3c" (pointer_expression "*puVar17" * identifier) = number_literal) ;) (expression_statement "iVar9 = FUN_00018090(local_40,0,0);" (assignment_expression "iVar9 = FUN_00018090(local_40,0,0)" identifier = (call_expression "FUN_00018090(local_40,0,0)" identifier (argument_list "(local_40,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "local_40 = local_40 + iVar9;" (assignment_expression "local_40 = local_40 + iVar9" identifier = (binary_expression "local_40 + iVar9" identifier + identifier)) ;) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (labeled_statement "joined_r0x0003ff74:\n  do {\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  } while( true );" statement_identifier : (do_statement "do {\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  } while( true );" do (compound_statement "{\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  }" { (if_statement "if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }" { (labeled_statement "LAB_0004007e:\n      puVar17 = puVar7 + iVar4;" statement_identifier : (expression_statement "puVar17 = puVar7 + iVar4;" (assignment_expression "puVar17 = puVar7 + iVar4" identifier = (binary_expression "puVar7 + iVar4" identifier + identifier)) ;)) (labeled_statement "LAB_00040082:\n      *puVar17 = 0;" statement_identifier : (expression_statement "*puVar17 = 0;" (assignment_expression "*puVar17 = 0" (pointer_expression "*puVar17" * identifier) = number_literal) ;)) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0005a8b0();\n      }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0005a8b0();\n      }" { comment (expression_statement "FUN_0005a8b0();" (call_expression "FUN_0005a8b0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return puVar7;" return identifier ;) })) (labeled_statement "LAB_00040018:\n    iVar9 = DAT_0007ba58;" statement_identifier : (expression_statement "iVar9 = DAT_0007ba58;" (assignment_expression "iVar9 = DAT_0007ba58" identifier = identifier) ;)) (if_statement "if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }" if (parenthesized_expression "(uVar14 <= param_2)" ( (binary_expression "uVar14 <= param_2" identifier <= identifier) )) (compound_statement "{\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }" { (expression_statement "iVar9 = FUN_00017f40(local_40);" (assignment_expression "iVar9 = FUN_00017f40(local_40)" identifier = (call_expression "FUN_00017f40(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (if_statement "if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }" { (if_statement "if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }" if (parenthesized_expression "((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0))))))" ( (binary_expression "(*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))" (parenthesized_expression "(*local_40 != '\0')" ( (binary_expression "*local_40 != '\0'" (pointer_expression "*local_40" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))" ( (parenthesized_expression "(uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0))))" ( (binary_expression "uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))" (binary_expression "uVar14 < param_2" identifier < identifier) || (parenthesized_expression "((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))" ( (parenthesized_expression "(param_4 != '\0' && ((_DAT_0007b668 & 2) == 0))" ( (binary_expression "param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)" (binary_expression "param_4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "((_DAT_0007b668 & 2) == 0)" ( (binary_expression "(_DAT_0007b668 & 2) == 0" (parenthesized_expression "(_DAT_0007b668 & 2)" ( (binary_expression "_DAT_0007b668 & 2" identifier & number_literal) )) == number_literal) ))) )) ))) )) ))) )) (compound_statement "{\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }" { (expression_statement "iVar4 = FUN_000182e0(puVar7,iVar4);" (assignment_expression "iVar4 = FUN_000182e0(puVar7,iVar4)" identifier = (call_expression "FUN_000182e0(puVar7,iVar4)" identifier (argument_list "(puVar7,iVar4)" ( identifier , identifier )))) ;) (expression_statement "puVar17 = puVar7 + iVar4;" (assignment_expression "puVar17 = puVar7 + iVar4" identifier = (binary_expression "puVar7 + iVar4" identifier + identifier)) ;) (expression_statement "iVar9 = FUN_00017f40(puVar17);" (assignment_expression "iVar9 = FUN_00017f40(puVar17)" identifier = (call_expression "FUN_00017f40(puVar17)" identifier (argument_list "(puVar17)" ( identifier )))) ;) (if_statement "if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }" if (parenthesized_expression "(iVar9 == 2)" ( (binary_expression "iVar9 == 2" identifier == number_literal) )) (compound_statement "{\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }" { (expression_statement "*puVar17 = 0x3e;" (assignment_expression "*puVar17 = 0x3e" (pointer_expression "*puVar17" * identifier) = number_literal) ;) (expression_statement "puVar17 = puVar7 + iVar4 + 1;" (assignment_expression "puVar17 = puVar7 + iVar4 + 1" identifier = (binary_expression "puVar7 + iVar4 + 1" (binary_expression "puVar7 + iVar4" identifier + identifier) + number_literal)) ;) })) (goto_statement "goto LAB_00040082;" goto statement_identifier ;) })) (goto_statement "goto LAB_0004007e;" goto statement_identifier ;) })) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "iVar9 = DAT_0007ba58;" (assignment_expression "iVar9 = DAT_0007ba58" identifier = identifier) ;) })) (expression_statement "DAT_0007ba58 = iVar9;" (assignment_expression "DAT_0007ba58 = iVar9" identifier = identifier) ;) (if_statement "if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }" if (parenthesized_expression "(cVar2 == ' ')" ( (binary_expression "cVar2 == ' '" identifier == (char_literal "' '" ' character ')) )) (compound_statement "{\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }" { (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (if_statement "if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }" if (parenthesized_expression "((DAT_0007b664 & 0x2000000) == 0)" ( (binary_expression "(DAT_0007b664 & 0x2000000) == 0" (parenthesized_expression "(DAT_0007b664 & 0x2000000)" ( (binary_expression "DAT_0007b664 & 0x2000000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }" { (expression_statement "puVar7[iVar4] = 0x20;" (assignment_expression "puVar7[iVar4] = 0x20" (subscript_expression "puVar7[iVar4]" identifier [ identifier ]) = number_literal) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) (else_clause "else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }" else (if_statement "if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }" if (parenthesized_expression "(0 < DAT_0007ba5c)" ( (binary_expression "0 < DAT_0007ba5c" number_literal < identifier) )) (compound_statement "{\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }" { (expression_statement "iVar18 = iVar4 - iVar9;" (assignment_expression "iVar18 = iVar4 - iVar9" identifier = (binary_expression "iVar4 - iVar9" identifier - identifier)) ;) (expression_statement "iVar16 = iVar4 - iVar9;" (assignment_expression "iVar16 = iVar4 - iVar9" identifier = (binary_expression "iVar4 - iVar9" identifier - identifier)) ;) (do_statement "do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);" do (compound_statement "{\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        }" { (expression_statement "iVar4 = iVar16 + 1 + iVar9;" (assignment_expression "iVar4 = iVar16 + 1 + iVar9" identifier = (binary_expression "iVar16 + 1 + iVar9" (binary_expression "iVar16 + 1" identifier + number_literal) + identifier)) ;) (expression_statement "puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);" (assignment_expression "puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9)" (subscript_expression "puVar7[iVar9 + iVar18]" identifier [ (binary_expression "iVar9 + iVar18" identifier + identifier) ]) = (pointer_expression "*(undefined1 *)(DAT_0007b634 + iVar9)" * (cast_expression "(undefined1 *)(DAT_0007b634 + iVar9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0007b634 + iVar9)" ( (binary_expression "DAT_0007b634 + iVar9" identifier + identifier) ))))) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar9 < DAT_0007ba5c + DAT_0007ba58)" ( (binary_expression "iVar9 < DAT_0007ba5c + DAT_0007ba58" identifier < (binary_expression "DAT_0007ba5c + DAT_0007ba58" identifier + identifier)) )) ;) })))) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }" else (compound_statement "{\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }" { (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (if_statement "if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }" if (parenthesized_expression "(cVar2 == '\t')" ( (binary_expression "cVar2 == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) )) (compound_statement "{\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }" { (if_statement "if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }" if (parenthesized_expression "((DAT_0007b664 & 0x2000000) == 0)" ( (binary_expression "(DAT_0007b664 & 0x2000000) == 0" (parenthesized_expression "(DAT_0007b664 & 0x2000000)" ( (binary_expression "DAT_0007b664 & 0x2000000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }" { (labeled_statement "LAB_00040130:\n          puVar7[iVar4] = 0x20;" statement_identifier : (expression_statement "puVar7[iVar4] = 0x20;" (assignment_expression "puVar7[iVar4] = 0x20" (subscript_expression "puVar7[iVar4]" identifier [ identifier ]) = number_literal) ;)) (expression_statement "iVar16 = iVar4 + 1;" (assignment_expression "iVar16 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }" else (compound_statement "{\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }" { (if_statement "if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }" if (parenthesized_expression "(((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0))" ( (binary_expression "((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)" (parenthesized_expression "((iVar4 == 0) && (param_4 == '\x01'))" ( (binary_expression "(iVar4 == 0) && (param_4 == '\x01')" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(param_4 == '\x01')" ( (binary_expression "param_4 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) ))) )) && (parenthesized_expression "((_DAT_0007b668 & 2) != 0)" ( (binary_expression "(_DAT_0007b668 & 2) != 0" (parenthesized_expression "(_DAT_0007b668 & 2)" ( (binary_expression "_DAT_0007b668 & 2" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }" { (if_statement "if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;" if (parenthesized_expression "((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2))" ( (binary_expression "(param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)" (parenthesized_expression "(param_2 % DAT_0007b068 != 0)" ( (binary_expression "param_2 % DAT_0007b068 != 0" (binary_expression "param_2 % DAT_0007b068" identifier % identifier) != number_literal) )) && (parenthesized_expression "(uVar5 != param_2)" ( (binary_expression "uVar5 != param_2" identifier != identifier) ))) )) (goto_statement "goto LAB_00040130;" goto statement_identifier ;)) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) })) (expression_statement "iVar16 = iVar4;" (assignment_expression "iVar16 = iVar4" identifier = identifier) ;) (if_statement "if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }" if (parenthesized_expression "(0 < iVar9)" ( (binary_expression "0 < iVar9" number_literal < identifier) )) (compound_statement "{\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);" do (compound_statement "{\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            }" { (expression_statement "iVar16 = iVar4 + 1 + iVar9;" (assignment_expression "iVar16 = iVar4 + 1 + iVar9" identifier = (binary_expression "iVar4 + 1 + iVar9" (binary_expression "iVar4 + 1" identifier + number_literal) + identifier)) ;) (expression_statement "puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);" (assignment_expression "puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9)" (subscript_expression "puVar7[iVar9 + iVar4]" identifier [ (binary_expression "iVar9 + iVar4" identifier + identifier) ]) = (pointer_expression "*(undefined1 *)(DAT_0007b634 + iVar9)" * (cast_expression "(undefined1 *)(DAT_0007b634 + iVar9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0007b634 + iVar9)" ( (binary_expression "DAT_0007b634 + iVar9" identifier + identifier) ))))) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar9 < DAT_0007ba58)" ( (binary_expression "iVar9 < DAT_0007ba58" identifier < identifier) )) ;) })) }))) (expression_statement "uVar8 = param_2 + 1;" (assignment_expression "uVar8 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (if_statement "if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }" if (parenthesized_expression "((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14))" ( (binary_expression "(uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)" (parenthesized_expression "(uVar8 % DAT_0007b068 != 0)" ( (binary_expression "uVar8 % DAT_0007b068 != 0" (binary_expression "uVar8 % DAT_0007b068" identifier % identifier) != number_literal) )) && (parenthesized_expression "(uVar8 < uVar14)" ( (binary_expression "uVar8 < uVar14" identifier < identifier) ))) )) (compound_statement "{\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }" { (expression_statement "iVar4 = iVar16 - param_2;" (assignment_expression "iVar4 = iVar16 - param_2" identifier = (binary_expression "iVar16 - param_2" identifier - identifier)) ;) (do_statement "do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);" do (compound_statement "{\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          }" { (expression_statement "puVar7[uVar8 + iVar4 + -1] = 0x20;" (assignment_expression "puVar7[uVar8 + iVar4 + -1] = 0x20" (subscript_expression "puVar7[uVar8 + iVar4 + -1]" identifier [ (binary_expression "uVar8 + iVar4 + -1" (binary_expression "uVar8 + iVar4" identifier + identifier) + number_literal) ]) = number_literal) ;) (expression_statement "iVar16 = iVar4 + uVar8;" (assignment_expression "iVar16 = iVar4 + uVar8" identifier = (binary_expression "iVar4 + uVar8" identifier + identifier)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (if_statement "if (uVar8 % DAT_0007b068 == 0) break;" if (parenthesized_expression "(uVar8 % DAT_0007b068 == 0)" ( (binary_expression "uVar8 % DAT_0007b068 == 0" (binary_expression "uVar8 % DAT_0007b068" identifier % identifier) == number_literal) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(uVar8 < uVar14)" ( (binary_expression "uVar8 < uVar14" identifier < identifier) )) ;) })) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (expression_statement "param_2 = uVar8;" (assignment_expression "param_2 = uVar8" identifier = identifier) ;) }) (else_clause "else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }" else (compound_statement "{\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }" { (expression_statement "uVar8 = FUN_00017e50(local_40,&local_24);" (assignment_expression "uVar8 = FUN_00017e50(local_40,&local_24)" identifier = (call_expression "FUN_00017e50(local_40,&local_24)" identifier (argument_list "(local_40,&local_24)" ( identifier , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "cVar2 = FUN_00017ac0(local_40);" (assignment_expression "cVar2 = FUN_00017ac0(local_40)" identifier = (call_expression "FUN_00017ac0(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (expression_statement "pcVar13 = puVar7 + iVar4;" (assignment_expression "pcVar13 = puVar7 + iVar4" identifier = (binary_expression "puVar7 + iVar4" identifier + identifier)) ;) (if_statement "if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }" { (if_statement "if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }" if (parenthesized_expression "((int)uVar8 < 1)" ( (binary_expression "(int)uVar8 < 1" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }" { (expression_statement "*pcVar13 = -0x11;" (assignment_expression "*pcVar13 = -0x11" (pointer_expression "*pcVar13" * identifier) = number_literal) ;) (expression_statement "iVar16 = iVar4 + 3;" (assignment_expression "iVar16 = iVar4 + 3" identifier = (binary_expression "iVar4 + 3" identifier + number_literal)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "puVar7[iVar4 + 1] = 0xbf;" (assignment_expression "puVar7[iVar4 + 1] = 0xbf" (subscript_expression "puVar7[iVar4 + 1]" identifier [ (binary_expression "iVar4 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "puVar7[iVar4 + 2] = 0xbd;" (assignment_expression "puVar7[iVar4 + 2] = 0xbd" (subscript_expression "puVar7[iVar4 + 2]" identifier [ (binary_expression "iVar4 + 2" identifier + number_literal) ]) = number_literal) ;) (expression_statement "pcVar13 = local_40 + uVar8 + 8;" (assignment_expression "pcVar13 = local_40 + uVar8 + 8" identifier = (binary_expression "local_40 + uVar8 + 8" (binary_expression "local_40 + uVar8" identifier + identifier) + number_literal)) ;) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (if_statement "if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }" if (parenthesized_expression "((int)uVar8 < -1)" ( (binary_expression "(int)uVar8 < -1" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n              local_40 = pcVar13;\n            }" { (expression_statement "local_40 = pcVar13;" (assignment_expression "local_40 = pcVar13" identifier = identifier) ;) })) }) (else_clause "else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }" else (compound_statement "{\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }" { (if_statement "if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }" if (parenthesized_expression "((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4))" ( (binary_expression "(pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)" (parenthesized_expression "(pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0)" ( (binary_expression "pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0" (binary_expression "pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4" (binary_expression "pcVar13 < local_40 + 4" identifier < (binary_expression "local_40 + 4" identifier + number_literal)) && (binary_expression "local_40 < puVar7 + iVar4 + 4" identifier < (binary_expression "puVar7 + iVar4 + 4" (binary_expression "puVar7 + iVar4" identifier + identifier) + number_literal))) || (binary_expression "(((uint)pcVar13 | (uint)local_40) & 3) != 0" (parenthesized_expression "(((uint)pcVar13 | (uint)local_40) & 3)" ( (binary_expression "((uint)pcVar13 | (uint)local_40) & 3" (parenthesized_expression "((uint)pcVar13 | (uint)local_40)" ( (binary_expression "(uint)pcVar13 | (uint)local_40" (cast_expression "(uint)pcVar13" ( (type_descriptor "uint" type_identifier) ) identifier) | (cast_expression "(uint)local_40" ( (type_descriptor "uint" type_identifier) ) identifier)) )) & number_literal) )) != number_literal)) )) || (parenthesized_expression "(uVar8 - 1 < 4)" ( (binary_expression "uVar8 - 1 < 4" (binary_expression "uVar8 - 1" identifier - number_literal) < number_literal) ))) )) (compound_statement "{\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }" { (expression_statement "pcVar10 = local_40;" (assignment_expression "pcVar10 = local_40" identifier = identifier) ;) (do_statement "do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);" do (compound_statement "{\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              }" { (expression_statement "pcVar15 = pcVar10 + 1;" (assignment_expression "pcVar15 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar13 = *pcVar10;" (assignment_expression "*pcVar13 = *pcVar10" (pointer_expression "*pcVar13" * identifier) = (pointer_expression "*pcVar10" * identifier)) ;) (expression_statement "pcVar13 = pcVar13 + 1;" (assignment_expression "pcVar13 = pcVar13 + 1" identifier = (binary_expression "pcVar13 + 1" identifier + number_literal)) ;) (expression_statement "pcVar10 = pcVar15;" (assignment_expression "pcVar10 = pcVar15" identifier = identifier) ;) }) while (parenthesized_expression "(local_40 + uVar8 != pcVar15)" ( (binary_expression "local_40 + uVar8 != pcVar15" (binary_expression "local_40 + uVar8" identifier + identifier) != identifier) )) ;) }) (else_clause "else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }" else (compound_statement "{\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }" { (expression_statement "pcVar10 = pcVar13;" (assignment_expression "pcVar10 = pcVar13" identifier = identifier) ;) (expression_statement "pcVar15 = local_40;" (assignment_expression "pcVar15 = local_40" identifier = identifier) ;) (do_statement "do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));" do (compound_statement "{\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              }" { (expression_statement "uVar1 = *(undefined4 *)pcVar15;" (assignment_expression "uVar1 = *(undefined4 *)pcVar15" identifier = (pointer_expression "*(undefined4 *)pcVar15" * (cast_expression "(undefined4 *)pcVar15" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar11 = pcVar10 + 4;" (assignment_expression "pcVar11 = pcVar10 + 4" identifier = (binary_expression "pcVar10 + 4" identifier + number_literal)) ;) (expression_statement "pcVar15 = pcVar15 + 4;" (assignment_expression "pcVar15 = pcVar15 + 4" identifier = (binary_expression "pcVar15 + 4" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)pcVar10 = uVar1;" (assignment_expression "*(undefined4 *)pcVar10 = uVar1" (pointer_expression "*(undefined4 *)pcVar10" * (cast_expression "(undefined4 *)pcVar10" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "pcVar10 = pcVar11;" (assignment_expression "pcVar10 = pcVar11" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar11 != pcVar13 + (uVar8 & 0xfffffffc))" ( (binary_expression "pcVar11 != pcVar13 + (uVar8 & 0xfffffffc)" identifier != (binary_expression "pcVar13 + (uVar8 & 0xfffffffc)" identifier + (parenthesized_expression "(uVar8 & 0xfffffffc)" ( (binary_expression "uVar8 & 0xfffffffc" identifier & number_literal) )))) )) ;) (expression_statement "uVar12 = uVar8 & 0xfffffffc;" (assignment_expression "uVar12 = uVar8 & 0xfffffffc" identifier = (binary_expression "uVar8 & 0xfffffffc" identifier & number_literal)) ;) (expression_statement "pcVar13 = local_40 + uVar12;" (assignment_expression "pcVar13 = local_40 + uVar12" identifier = (binary_expression "local_40 + uVar12" identifier + identifier)) ;) (expression_statement "iVar9 = uVar12 + iVar4;" (assignment_expression "iVar9 = uVar12 + iVar4" identifier = (binary_expression "uVar12 + iVar4" identifier + identifier)) ;) (if_statement "if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }" if (parenthesized_expression "(((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2))" ( (binary_expression "((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)" (parenthesized_expression "((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1))" ( (binary_expression "(uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)" (parenthesized_expression "(uVar12 != uVar8)" ( (binary_expression "uVar12 != uVar8" identifier != identifier) )) && (parenthesized_expression "(puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)" ( (comma_expression "puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1" (assignment_expression "puVar7[iVar9] = *pcVar13" (subscript_expression "puVar7[iVar9]" identifier [ identifier ]) = (pointer_expression "*pcVar13" * identifier)) , (binary_expression "uVar8 - uVar12 != 1" (binary_expression "uVar8 - uVar12" identifier - identifier) != number_literal)) ))) )) && (parenthesized_expression "(puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)" ( (comma_expression "puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2" (assignment_expression "puVar7[iVar9 + 1] = pcVar13[1]" (subscript_expression "puVar7[iVar9 + 1]" identifier [ (binary_expression "iVar9 + 1" identifier + number_literal) ]) = (subscript_expression "pcVar13[1]" identifier [ number_literal ])) , (binary_expression "uVar8 - uVar12 != 2" (binary_expression "uVar8 - uVar12" identifier - identifier) != number_literal)) ))) )) (compound_statement "{\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }" { (expression_statement "puVar7[iVar9 + 2] = pcVar13[2];" (assignment_expression "puVar7[iVar9 + 2] = pcVar13[2]" (subscript_expression "puVar7[iVar9 + 2]" identifier [ (binary_expression "iVar9 + 2" identifier + number_literal) ]) = (subscript_expression "pcVar13[2]" identifier [ number_literal ])) ;) })) }))) (expression_statement "local_40 = local_40 + uVar8;" (assignment_expression "local_40 = local_40 + uVar8" identifier = (binary_expression "local_40 + uVar8" identifier + identifier)) ;) (expression_statement "iVar16 = iVar4 + uVar8;" (assignment_expression "iVar16 = iVar4 + uVar8" identifier = (binary_expression "iVar4 + uVar8" identifier + identifier)) ;) (expression_statement "param_2 = param_2 + local_24;" (assignment_expression "param_2 = param_2 + local_24" identifier = (binary_expression "param_2 + local_24" identifier + identifier)) ;) }))) }) (else_clause "else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }" else (compound_statement "{\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }" { (expression_statement "*pcVar13 = '^';" (assignment_expression "*pcVar13 = '^'" (pointer_expression "*pcVar13" * identifier) = (char_literal "'^'" ' character ')) ;) (expression_statement "iVar16 = iVar4 + 2;" (assignment_expression "iVar16 = iVar4 + 2" identifier = (binary_expression "iVar4 + 2" identifier + number_literal)) ;) (expression_statement "uVar3 = FUN_00017d90(local_40,param_4);" (assignment_expression "uVar3 = FUN_00017d90(local_40,param_4)" identifier = (call_expression "FUN_00017d90(local_40,param_4)" identifier (argument_list "(local_40,param_4)" ( identifier , identifier )))) ;) (expression_statement "puVar7[iVar4 + 1] = uVar3;" (assignment_expression "puVar7[iVar4 + 1] = uVar3" (subscript_expression "puVar7[iVar4 + 1]" identifier [ (binary_expression "iVar4 + 1" identifier + number_literal) ]) = identifier) ;) (expression_statement "local_40 = local_40 + uVar8;" (assignment_expression "local_40 = local_40 + uVar8" identifier = (binary_expression "local_40 + uVar8" identifier + identifier)) ;) (expression_statement "param_2 = param_2 + 2;" (assignment_expression "param_2 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) }))) }))) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "iVar4 = iVar16;" (assignment_expression "iVar4 = iVar16" identifier = identifier) ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * display_string(char *buf,size_t column,size_t span,_Bool isdata)\n\n{\n  undefined4 uVar1;\n  _Bool _Var2;\n  char cVar3;\n  size_t sVar4;\n  size_t sVar5;\n  char *buf_00;\n  uint uVar6;\n  int iVar7;\n  char *pcVar8;\n  char *pcVar9;\n  uint uVar10;\n  uint uVar11;\n  char *pcVar12;\n  int iVar13;\n  char *pcVar14;\n  size_t sVar15;\n  size_t pos;\n  int iVar16;\n  int in_GS_OFFSET;\n  char *local_40;\n  int charwidth;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3fe99;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  sVar4 = actual_x(buf,column);\n  local_40 = buf + sVar4;\n  sVar4 = strnlenpt(buf,sVar4);\n  uVar11 = column + span;\n  sVar5 = strlen(local_40);\n  buf_00 = (char *)nmalloc((tabsize + 6) * sVar5 + 1);\n  cVar3 = *local_40;\n  if ((cVar3 == '\0') || (cVar3 == '\t')) {\n    pos = 0;\n    goto joined_r0x0003ff74;\n  }\n  if (sVar4 < column) {\n    _Var2 = is_cntrl_mbchar(local_40);\n    if (_Var2) {\n      pos = 1;\n      cVar3 = control_mbrep(local_40,isdata);\n      column = column + 1;\n      *buf_00 = cVar3;\n      iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0);\n      local_40 = local_40 + iVar7;\n      cVar3 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar7 = mbwidth(local_40);\n    if (iVar7 != 2) {\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    pos = 1;\n    pcVar14 = buf_00;\n  }\n  else {\n    if (((sVar4 == 0) || (!isdata)) || ((flags[1] & 2) != 0)) {\n      pos = 0;\n      goto LAB_00040018;\n    }\n    _Var2 = is_cntrl_mbchar(local_40);\n    if ((_Var2) || (iVar7 = mbwidth(local_40), iVar7 != 2)) {\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (column != sVar4) goto LAB_00040455;\n    *buf_00 = ' ';\n    pos = 2;\n    column = column + 1;\n    pcVar14 = buf_00 + 1;\n  }\n  column = column + 1;\n  *pcVar14 = '<';\n  iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0);\n  local_40 = local_40 + iVar7;\n  cVar3 = *local_40;\njoined_r0x0003ff74:\n  do {\n    if (cVar3 == '\0') {\nLAB_0004007e:\n      pcVar14 = buf_00 + pos;\nLAB_00040082:\n      *pcVar14 = '\0';\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return buf_00;\n    }\nLAB_00040018:\n    iVar7 = whitespace_len[0];\n    if (uVar11 <= column) {\n      iVar7 = mbwidth(local_40);\n      if (iVar7 != 0) {\n        if ((*local_40 != '\0') && ((uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))))) {\n          sVar4 = move_mbleft(buf_00,pos);\n          pcVar14 = buf_00 + sVar4;\n          iVar7 = mbwidth(pcVar14);\n          if (iVar7 == 2) {\n            *pcVar14 = '>';\n            pcVar14 = buf_00 + sVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar3 = *local_40;\n      iVar7 = whitespace_len[0];\n    }\n    whitespace_len[0] = iVar7;\n    if (cVar3 == ' ') {\n      charwidth = 1;\n      if ((flags[0] & 0x2000000) == 0) {\n        buf_00[pos] = ' ';\n        pos = pos + 1;\n      }\n      else if (0 < whitespace_len[1]) {\n        iVar16 = pos - iVar7;\n        iVar13 = pos - iVar7;\n        do {\n          pos = iVar13 + 1 + iVar7;\n          buf_00[iVar7 + iVar16] = whitespace[iVar7];\n          iVar7 = iVar7 + 1;\n        } while (iVar7 < whitespace_len[1] + whitespace_len[0]);\n      }\n      local_40 = local_40 + 1;\n      cVar3 = *local_40;\n      column = column + 1;\n    }\n    else {\n      charwidth = 1;\n      if (cVar3 == '\t') {\n        if ((flags[0] & 0x2000000) == 0) {\nLAB_00040130:\n          buf_00[pos] = ' ';\n          sVar15 = pos + 1;\n        }\n        else {\n          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }\n          sVar15 = pos;\n          if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }\n        }\n        uVar6 = column + 1;\n        if ((uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11)) {\n          iVar7 = sVar15 - column;\n          do {\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          } while (uVar6 < uVar11);\n        }\n        local_40 = local_40 + 1;\n        column = uVar6;\n      }\n      else {\n        uVar6 = length_of_char(local_40,&charwidth);\n        _Var2 = is_cntrl_mbchar(local_40);\n        pcVar14 = buf_00 + pos;\n        if (_Var2) {\n          *pcVar14 = '^';\n          sVar15 = pos + 2;\n          cVar3 = control_mbrep(local_40,isdata);\n          buf_00[pos + 1] = cVar3;\n          local_40 = local_40 + uVar6;\n          column = column + 2;\n        }\n        else if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }\n      }\n      cVar3 = *local_40;\n      pos = sVar15;\n    }\n  } while( true );\n}\n\n" comment (function_definition "char * display_string(char *buf,size_t column,size_t span,_Bool isdata)\n\n{\n  undefined4 uVar1;\n  _Bool _Var2;\n  char cVar3;\n  size_t sVar4;\n  size_t sVar5;\n  char *buf_00;\n  uint uVar6;\n  int iVar7;\n  char *pcVar8;\n  char *pcVar9;\n  uint uVar10;\n  uint uVar11;\n  char *pcVar12;\n  int iVar13;\n  char *pcVar14;\n  size_t sVar15;\n  size_t pos;\n  int iVar16;\n  int in_GS_OFFSET;\n  char *local_40;\n  int charwidth;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3fe99;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  sVar4 = actual_x(buf,column);\n  local_40 = buf + sVar4;\n  sVar4 = strnlenpt(buf,sVar4);\n  uVar11 = column + span;\n  sVar5 = strlen(local_40);\n  buf_00 = (char *)nmalloc((tabsize + 6) * sVar5 + 1);\n  cVar3 = *local_40;\n  if ((cVar3 == '\0') || (cVar3 == '\t')) {\n    pos = 0;\n    goto joined_r0x0003ff74;\n  }\n  if (sVar4 < column) {\n    _Var2 = is_cntrl_mbchar(local_40);\n    if (_Var2) {\n      pos = 1;\n      cVar3 = control_mbrep(local_40,isdata);\n      column = column + 1;\n      *buf_00 = cVar3;\n      iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0);\n      local_40 = local_40 + iVar7;\n      cVar3 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar7 = mbwidth(local_40);\n    if (iVar7 != 2) {\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    pos = 1;\n    pcVar14 = buf_00;\n  }\n  else {\n    if (((sVar4 == 0) || (!isdata)) || ((flags[1] & 2) != 0)) {\n      pos = 0;\n      goto LAB_00040018;\n    }\n    _Var2 = is_cntrl_mbchar(local_40);\n    if ((_Var2) || (iVar7 = mbwidth(local_40), iVar7 != 2)) {\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (column != sVar4) goto LAB_00040455;\n    *buf_00 = ' ';\n    pos = 2;\n    column = column + 1;\n    pcVar14 = buf_00 + 1;\n  }\n  column = column + 1;\n  *pcVar14 = '<';\n  iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0);\n  local_40 = local_40 + iVar7;\n  cVar3 = *local_40;\njoined_r0x0003ff74:\n  do {\n    if (cVar3 == '\0') {\nLAB_0004007e:\n      pcVar14 = buf_00 + pos;\nLAB_00040082:\n      *pcVar14 = '\0';\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return buf_00;\n    }\nLAB_00040018:\n    iVar7 = whitespace_len[0];\n    if (uVar11 <= column) {\n      iVar7 = mbwidth(local_40);\n      if (iVar7 != 0) {\n        if ((*local_40 != '\0') && ((uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))))) {\n          sVar4 = move_mbleft(buf_00,pos);\n          pcVar14 = buf_00 + sVar4;\n          iVar7 = mbwidth(pcVar14);\n          if (iVar7 == 2) {\n            *pcVar14 = '>';\n            pcVar14 = buf_00 + sVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar3 = *local_40;\n      iVar7 = whitespace_len[0];\n    }\n    whitespace_len[0] = iVar7;\n    if (cVar3 == ' ') {\n      charwidth = 1;\n      if ((flags[0] & 0x2000000) == 0) {\n        buf_00[pos] = ' ';\n        pos = pos + 1;\n      }\n      else if (0 < whitespace_len[1]) {\n        iVar16 = pos - iVar7;\n        iVar13 = pos - iVar7;\n        do {\n          pos = iVar13 + 1 + iVar7;\n          buf_00[iVar7 + iVar16] = whitespace[iVar7];\n          iVar7 = iVar7 + 1;\n        } while (iVar7 < whitespace_len[1] + whitespace_len[0]);\n      }\n      local_40 = local_40 + 1;\n      cVar3 = *local_40;\n      column = column + 1;\n    }\n    else {\n      charwidth = 1;\n      if (cVar3 == '\t') {\n        if ((flags[0] & 0x2000000) == 0) {\nLAB_00040130:\n          buf_00[pos] = ' ';\n          sVar15 = pos + 1;\n        }\n        else {\n          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }\n          sVar15 = pos;\n          if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }\n        }\n        uVar6 = column + 1;\n        if ((uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11)) {\n          iVar7 = sVar15 - column;\n          do {\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          } while (uVar6 < uVar11);\n        }\n        local_40 = local_40 + 1;\n        column = uVar6;\n      }\n      else {\n        uVar6 = length_of_char(local_40,&charwidth);\n        _Var2 = is_cntrl_mbchar(local_40);\n        pcVar14 = buf_00 + pos;\n        if (_Var2) {\n          *pcVar14 = '^';\n          sVar15 = pos + 2;\n          cVar3 = control_mbrep(local_40,isdata);\n          buf_00[pos + 1] = cVar3;\n          local_40 = local_40 + uVar6;\n          column = column + 2;\n        }\n        else if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }\n      }\n      cVar3 = *local_40;\n      pos = sVar15;\n    }\n  } while( true );\n}" primitive_type (pointer_declarator "* display_string(char *buf,size_t column,size_t span,_Bool isdata)" * (function_declarator "display_string(char *buf,size_t column,size_t span,_Bool isdata)" identifier (parameter_list "(char *buf,size_t column,size_t span,_Bool isdata)" ( (parameter_declaration "char *buf" primitive_type (pointer_declarator "*buf" * identifier)) , (parameter_declaration "size_t column" primitive_type identifier) , (parameter_declaration "size_t span" primitive_type identifier) , (parameter_declaration "_Bool isdata" type_identifier identifier) )))) (compound_statement "{\n  undefined4 uVar1;\n  _Bool _Var2;\n  char cVar3;\n  size_t sVar4;\n  size_t sVar5;\n  char *buf_00;\n  uint uVar6;\n  int iVar7;\n  char *pcVar8;\n  char *pcVar9;\n  uint uVar10;\n  uint uVar11;\n  char *pcVar12;\n  int iVar13;\n  char *pcVar14;\n  size_t sVar15;\n  size_t pos;\n  int iVar16;\n  int in_GS_OFFSET;\n  char *local_40;\n  int charwidth;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3fe99;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  sVar4 = actual_x(buf,column);\n  local_40 = buf + sVar4;\n  sVar4 = strnlenpt(buf,sVar4);\n  uVar11 = column + span;\n  sVar5 = strlen(local_40);\n  buf_00 = (char *)nmalloc((tabsize + 6) * sVar5 + 1);\n  cVar3 = *local_40;\n  if ((cVar3 == '\0') || (cVar3 == '\t')) {\n    pos = 0;\n    goto joined_r0x0003ff74;\n  }\n  if (sVar4 < column) {\n    _Var2 = is_cntrl_mbchar(local_40);\n    if (_Var2) {\n      pos = 1;\n      cVar3 = control_mbrep(local_40,isdata);\n      column = column + 1;\n      *buf_00 = cVar3;\n      iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0);\n      local_40 = local_40 + iVar7;\n      cVar3 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar7 = mbwidth(local_40);\n    if (iVar7 != 2) {\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    pos = 1;\n    pcVar14 = buf_00;\n  }\n  else {\n    if (((sVar4 == 0) || (!isdata)) || ((flags[1] & 2) != 0)) {\n      pos = 0;\n      goto LAB_00040018;\n    }\n    _Var2 = is_cntrl_mbchar(local_40);\n    if ((_Var2) || (iVar7 = mbwidth(local_40), iVar7 != 2)) {\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (column != sVar4) goto LAB_00040455;\n    *buf_00 = ' ';\n    pos = 2;\n    column = column + 1;\n    pcVar14 = buf_00 + 1;\n  }\n  column = column + 1;\n  *pcVar14 = '<';\n  iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0);\n  local_40 = local_40 + iVar7;\n  cVar3 = *local_40;\njoined_r0x0003ff74:\n  do {\n    if (cVar3 == '\0') {\nLAB_0004007e:\n      pcVar14 = buf_00 + pos;\nLAB_00040082:\n      *pcVar14 = '\0';\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return buf_00;\n    }\nLAB_00040018:\n    iVar7 = whitespace_len[0];\n    if (uVar11 <= column) {\n      iVar7 = mbwidth(local_40);\n      if (iVar7 != 0) {\n        if ((*local_40 != '\0') && ((uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))))) {\n          sVar4 = move_mbleft(buf_00,pos);\n          pcVar14 = buf_00 + sVar4;\n          iVar7 = mbwidth(pcVar14);\n          if (iVar7 == 2) {\n            *pcVar14 = '>';\n            pcVar14 = buf_00 + sVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar3 = *local_40;\n      iVar7 = whitespace_len[0];\n    }\n    whitespace_len[0] = iVar7;\n    if (cVar3 == ' ') {\n      charwidth = 1;\n      if ((flags[0] & 0x2000000) == 0) {\n        buf_00[pos] = ' ';\n        pos = pos + 1;\n      }\n      else if (0 < whitespace_len[1]) {\n        iVar16 = pos - iVar7;\n        iVar13 = pos - iVar7;\n        do {\n          pos = iVar13 + 1 + iVar7;\n          buf_00[iVar7 + iVar16] = whitespace[iVar7];\n          iVar7 = iVar7 + 1;\n        } while (iVar7 < whitespace_len[1] + whitespace_len[0]);\n      }\n      local_40 = local_40 + 1;\n      cVar3 = *local_40;\n      column = column + 1;\n    }\n    else {\n      charwidth = 1;\n      if (cVar3 == '\t') {\n        if ((flags[0] & 0x2000000) == 0) {\nLAB_00040130:\n          buf_00[pos] = ' ';\n          sVar15 = pos + 1;\n        }\n        else {\n          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }\n          sVar15 = pos;\n          if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }\n        }\n        uVar6 = column + 1;\n        if ((uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11)) {\n          iVar7 = sVar15 - column;\n          do {\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          } while (uVar6 < uVar11);\n        }\n        local_40 = local_40 + 1;\n        column = uVar6;\n      }\n      else {\n        uVar6 = length_of_char(local_40,&charwidth);\n        _Var2 = is_cntrl_mbchar(local_40);\n        pcVar14 = buf_00 + pos;\n        if (_Var2) {\n          *pcVar14 = '^';\n          sVar15 = pos + 2;\n          cVar3 = control_mbrep(local_40,isdata);\n          buf_00[pos + 1] = cVar3;\n          local_40 = local_40 + uVar6;\n          column = column + 2;\n        }\n        else if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }\n      }\n      cVar3 = *local_40;\n      pos = sVar15;\n    }\n  } while( true );\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "_Bool _Var2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "size_t sVar4;" primitive_type identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "char *buf_00;" primitive_type (pointer_declarator "*buf_00" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "char *pcVar14;" primitive_type (pointer_declarator "*pcVar14" * identifier) ;) (declaration "size_t sVar15;" primitive_type identifier ;) (declaration "size_t pos;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char *local_40;" primitive_type (pointer_declarator "*local_40" * identifier) ;) (declaration "int charwidth;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x3fe99;" (assignment_expression "uStack_14 = 0x3fe99" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "sVar4 = actual_x(buf,column);" (assignment_expression "sVar4 = actual_x(buf,column)" identifier = (call_expression "actual_x(buf,column)" identifier (argument_list "(buf,column)" ( identifier , identifier )))) ;) (expression_statement "local_40 = buf + sVar4;" (assignment_expression "local_40 = buf + sVar4" identifier = (binary_expression "buf + sVar4" identifier + identifier)) ;) (expression_statement "sVar4 = strnlenpt(buf,sVar4);" (assignment_expression "sVar4 = strnlenpt(buf,sVar4)" identifier = (call_expression "strnlenpt(buf,sVar4)" identifier (argument_list "(buf,sVar4)" ( identifier , identifier )))) ;) (expression_statement "uVar11 = column + span;" (assignment_expression "uVar11 = column + span" identifier = (binary_expression "column + span" identifier + identifier)) ;) (expression_statement "sVar5 = strlen(local_40);" (assignment_expression "sVar5 = strlen(local_40)" identifier = (call_expression "strlen(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (expression_statement "buf_00 = (char *)nmalloc((tabsize + 6) * sVar5 + 1);" (assignment_expression "buf_00 = (char *)nmalloc((tabsize + 6) * sVar5 + 1)" identifier = (cast_expression "(char *)nmalloc((tabsize + 6) * sVar5 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "nmalloc((tabsize + 6) * sVar5 + 1)" identifier (argument_list "((tabsize + 6) * sVar5 + 1)" ( (binary_expression "(tabsize + 6) * sVar5 + 1" (binary_expression "(tabsize + 6) * sVar5" (parenthesized_expression "(tabsize + 6)" ( (binary_expression "tabsize + 6" identifier + number_literal) )) * identifier) + number_literal) ))))) ;) (expression_statement "cVar3 = *local_40;" (assignment_expression "cVar3 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (if_statement "if ((cVar3 == '\0') || (cVar3 == '\t')) {\n    pos = 0;\n    goto joined_r0x0003ff74;\n  }" if (parenthesized_expression "((cVar3 == '\0') || (cVar3 == '\t'))" ( (binary_expression "(cVar3 == '\0') || (cVar3 == '\t')" (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(cVar3 == '\t')" ( (binary_expression "cVar3 == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n    pos = 0;\n    goto joined_r0x0003ff74;\n  }" { (expression_statement "pos = 0;" (assignment_expression "pos = 0" identifier = number_literal) ;) (goto_statement "goto joined_r0x0003ff74;" goto statement_identifier ;) })) (if_statement "if (sVar4 < column) {\n    _Var2 = is_cntrl_mbchar(local_40);\n    if (_Var2) {\n      pos = 1;\n      cVar3 = control_mbrep(local_40,isdata);\n      column = column + 1;\n      *buf_00 = cVar3;\n      iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0);\n      local_40 = local_40 + iVar7;\n      cVar3 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar7 = mbwidth(local_40);\n    if (iVar7 != 2) {\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    pos = 1;\n    pcVar14 = buf_00;\n  }\n  else {\n    if (((sVar4 == 0) || (!isdata)) || ((flags[1] & 2) != 0)) {\n      pos = 0;\n      goto LAB_00040018;\n    }\n    _Var2 = is_cntrl_mbchar(local_40);\n    if ((_Var2) || (iVar7 = mbwidth(local_40), iVar7 != 2)) {\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (column != sVar4) goto LAB_00040455;\n    *buf_00 = ' ';\n    pos = 2;\n    column = column + 1;\n    pcVar14 = buf_00 + 1;\n  }" if (parenthesized_expression "(sVar4 < column)" ( (binary_expression "sVar4 < column" identifier < identifier) )) (compound_statement "{\n    _Var2 = is_cntrl_mbchar(local_40);\n    if (_Var2) {\n      pos = 1;\n      cVar3 = control_mbrep(local_40,isdata);\n      column = column + 1;\n      *buf_00 = cVar3;\n      iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0);\n      local_40 = local_40 + iVar7;\n      cVar3 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar7 = mbwidth(local_40);\n    if (iVar7 != 2) {\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    pos = 1;\n    pcVar14 = buf_00;\n  }" { (expression_statement "_Var2 = is_cntrl_mbchar(local_40);" (assignment_expression "_Var2 = is_cntrl_mbchar(local_40)" identifier = (call_expression "is_cntrl_mbchar(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (if_statement "if (_Var2) {\n      pos = 1;\n      cVar3 = control_mbrep(local_40,isdata);\n      column = column + 1;\n      *buf_00 = cVar3;\n      iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0);\n      local_40 = local_40 + iVar7;\n      cVar3 = *local_40;\n      goto joined_r0x0003ff74;\n    }" if (parenthesized_expression "(_Var2)" ( identifier )) (compound_statement "{\n      pos = 1;\n      cVar3 = control_mbrep(local_40,isdata);\n      column = column + 1;\n      *buf_00 = cVar3;\n      iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0);\n      local_40 = local_40 + iVar7;\n      cVar3 = *local_40;\n      goto joined_r0x0003ff74;\n    }" { (expression_statement "pos = 1;" (assignment_expression "pos = 1" identifier = number_literal) ;) (expression_statement "cVar3 = control_mbrep(local_40,isdata);" (assignment_expression "cVar3 = control_mbrep(local_40,isdata)" identifier = (call_expression "control_mbrep(local_40,isdata)" identifier (argument_list "(local_40,isdata)" ( identifier , identifier )))) ;) (expression_statement "column = column + 1;" (assignment_expression "column = column + 1" identifier = (binary_expression "column + 1" identifier + number_literal)) ;) (expression_statement "*buf_00 = cVar3;" (assignment_expression "*buf_00 = cVar3" (pointer_expression "*buf_00" * identifier) = identifier) ;) (expression_statement "iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0);" (assignment_expression "iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0)" identifier = (call_expression "parse_mbchar(local_40,(char *)0x0,(size_t *)0x0)" identifier (argument_list "(local_40,(char *)0x0,(size_t *)0x0)" ( identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(size_t *)0x0" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "local_40 = local_40 + iVar7;" (assignment_expression "local_40 = local_40 + iVar7" identifier = (binary_expression "local_40 + iVar7" identifier + identifier)) ;) (expression_statement "cVar3 = *local_40;" (assignment_expression "cVar3 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (goto_statement "goto joined_r0x0003ff74;" goto statement_identifier ;) })) (expression_statement "iVar7 = mbwidth(local_40);" (assignment_expression "iVar7 = mbwidth(local_40)" identifier = (call_expression "mbwidth(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (if_statement "if (iVar7 != 2) {\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }" if (parenthesized_expression "(iVar7 != 2)" ( (binary_expression "iVar7 != 2" identifier != number_literal) )) (compound_statement "{\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }" { (expression_statement "cVar3 = *local_40;" (assignment_expression "cVar3 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "pos = 0;" (assignment_expression "pos = 0" identifier = number_literal) ;) (goto_statement "goto joined_r0x0003ff74;" goto statement_identifier ;) })) (labeled_statement "LAB_00040455:\n    pos = 1;" statement_identifier : (expression_statement "pos = 1;" (assignment_expression "pos = 1" identifier = number_literal) ;)) (expression_statement "pcVar14 = buf_00;" (assignment_expression "pcVar14 = buf_00" identifier = identifier) ;) }) (else_clause "else {\n    if (((sVar4 == 0) || (!isdata)) || ((flags[1] & 2) != 0)) {\n      pos = 0;\n      goto LAB_00040018;\n    }\n    _Var2 = is_cntrl_mbchar(local_40);\n    if ((_Var2) || (iVar7 = mbwidth(local_40), iVar7 != 2)) {\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (column != sVar4) goto LAB_00040455;\n    *buf_00 = ' ';\n    pos = 2;\n    column = column + 1;\n    pcVar14 = buf_00 + 1;\n  }" else (compound_statement "{\n    if (((sVar4 == 0) || (!isdata)) || ((flags[1] & 2) != 0)) {\n      pos = 0;\n      goto LAB_00040018;\n    }\n    _Var2 = is_cntrl_mbchar(local_40);\n    if ((_Var2) || (iVar7 = mbwidth(local_40), iVar7 != 2)) {\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (column != sVar4) goto LAB_00040455;\n    *buf_00 = ' ';\n    pos = 2;\n    column = column + 1;\n    pcVar14 = buf_00 + 1;\n  }" { (if_statement "if (((sVar4 == 0) || (!isdata)) || ((flags[1] & 2) != 0)) {\n      pos = 0;\n      goto LAB_00040018;\n    }" if (parenthesized_expression "(((sVar4 == 0) || (!isdata)) || ((flags[1] & 2) != 0))" ( (binary_expression "((sVar4 == 0) || (!isdata)) || ((flags[1] & 2) != 0)" (parenthesized_expression "((sVar4 == 0) || (!isdata))" ( (binary_expression "(sVar4 == 0) || (!isdata)" (parenthesized_expression "(sVar4 == 0)" ( (binary_expression "sVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(!isdata)" ( (unary_expression "!isdata" ! identifier) ))) )) || (parenthesized_expression "((flags[1] & 2) != 0)" ( (binary_expression "(flags[1] & 2) != 0" (parenthesized_expression "(flags[1] & 2)" ( (binary_expression "flags[1] & 2" (subscript_expression "flags[1]" identifier [ number_literal ]) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      pos = 0;\n      goto LAB_00040018;\n    }" { (expression_statement "pos = 0;" (assignment_expression "pos = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00040018;" goto statement_identifier ;) })) (expression_statement "_Var2 = is_cntrl_mbchar(local_40);" (assignment_expression "_Var2 = is_cntrl_mbchar(local_40)" identifier = (call_expression "is_cntrl_mbchar(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (if_statement "if ((_Var2) || (iVar7 = mbwidth(local_40), iVar7 != 2)) {\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }" if (parenthesized_expression "((_Var2) || (iVar7 = mbwidth(local_40), iVar7 != 2))" ( (binary_expression "(_Var2) || (iVar7 = mbwidth(local_40), iVar7 != 2)" (parenthesized_expression "(_Var2)" ( identifier )) || (parenthesized_expression "(iVar7 = mbwidth(local_40), iVar7 != 2)" ( (comma_expression "iVar7 = mbwidth(local_40), iVar7 != 2" (assignment_expression "iVar7 = mbwidth(local_40)" identifier = (call_expression "mbwidth(local_40)" identifier (argument_list "(local_40)" ( identifier )))) , (binary_expression "iVar7 != 2" identifier != number_literal)) ))) )) (compound_statement "{\n      cVar3 = *local_40;\n      pos = 0;\n      goto joined_r0x0003ff74;\n    }" { (expression_statement "cVar3 = *local_40;" (assignment_expression "cVar3 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "pos = 0;" (assignment_expression "pos = 0" identifier = number_literal) ;) (goto_statement "goto joined_r0x0003ff74;" goto statement_identifier ;) })) (if_statement "if (column != sVar4) goto LAB_00040455;" if (parenthesized_expression "(column != sVar4)" ( (binary_expression "column != sVar4" identifier != identifier) )) (goto_statement "goto LAB_00040455;" goto statement_identifier ;)) (expression_statement "*buf_00 = ' ';" (assignment_expression "*buf_00 = ' '" (pointer_expression "*buf_00" * identifier) = (char_literal "' '" ' character ')) ;) (expression_statement "pos = 2;" (assignment_expression "pos = 2" identifier = number_literal) ;) (expression_statement "column = column + 1;" (assignment_expression "column = column + 1" identifier = (binary_expression "column + 1" identifier + number_literal)) ;) (expression_statement "pcVar14 = buf_00 + 1;" (assignment_expression "pcVar14 = buf_00 + 1" identifier = (binary_expression "buf_00 + 1" identifier + number_literal)) ;) }))) (expression_statement "column = column + 1;" (assignment_expression "column = column + 1" identifier = (binary_expression "column + 1" identifier + number_literal)) ;) (expression_statement "*pcVar14 = '<';" (assignment_expression "*pcVar14 = '<'" (pointer_expression "*pcVar14" * identifier) = (char_literal "'<'" ' character ')) ;) (expression_statement "iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0);" (assignment_expression "iVar7 = parse_mbchar(local_40,(char *)0x0,(size_t *)0x0)" identifier = (call_expression "parse_mbchar(local_40,(char *)0x0,(size_t *)0x0)" identifier (argument_list "(local_40,(char *)0x0,(size_t *)0x0)" ( identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(size_t *)0x0" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (expression_statement "local_40 = local_40 + iVar7;" (assignment_expression "local_40 = local_40 + iVar7" identifier = (binary_expression "local_40 + iVar7" identifier + identifier)) ;) (expression_statement "cVar3 = *local_40;" (assignment_expression "cVar3 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (labeled_statement "joined_r0x0003ff74:\n  do {\n    if (cVar3 == '\0') {\nLAB_0004007e:\n      pcVar14 = buf_00 + pos;\nLAB_00040082:\n      *pcVar14 = '\0';\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return buf_00;\n    }\nLAB_00040018:\n    iVar7 = whitespace_len[0];\n    if (uVar11 <= column) {\n      iVar7 = mbwidth(local_40);\n      if (iVar7 != 0) {\n        if ((*local_40 != '\0') && ((uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))))) {\n          sVar4 = move_mbleft(buf_00,pos);\n          pcVar14 = buf_00 + sVar4;\n          iVar7 = mbwidth(pcVar14);\n          if (iVar7 == 2) {\n            *pcVar14 = '>';\n            pcVar14 = buf_00 + sVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar3 = *local_40;\n      iVar7 = whitespace_len[0];\n    }\n    whitespace_len[0] = iVar7;\n    if (cVar3 == ' ') {\n      charwidth = 1;\n      if ((flags[0] & 0x2000000) == 0) {\n        buf_00[pos] = ' ';\n        pos = pos + 1;\n      }\n      else if (0 < whitespace_len[1]) {\n        iVar16 = pos - iVar7;\n        iVar13 = pos - iVar7;\n        do {\n          pos = iVar13 + 1 + iVar7;\n          buf_00[iVar7 + iVar16] = whitespace[iVar7];\n          iVar7 = iVar7 + 1;\n        } while (iVar7 < whitespace_len[1] + whitespace_len[0]);\n      }\n      local_40 = local_40 + 1;\n      cVar3 = *local_40;\n      column = column + 1;\n    }\n    else {\n      charwidth = 1;\n      if (cVar3 == '\t') {\n        if ((flags[0] & 0x2000000) == 0) {\nLAB_00040130:\n          buf_00[pos] = ' ';\n          sVar15 = pos + 1;\n        }\n        else {\n          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }\n          sVar15 = pos;\n          if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }\n        }\n        uVar6 = column + 1;\n        if ((uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11)) {\n          iVar7 = sVar15 - column;\n          do {\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          } while (uVar6 < uVar11);\n        }\n        local_40 = local_40 + 1;\n        column = uVar6;\n      }\n      else {\n        uVar6 = length_of_char(local_40,&charwidth);\n        _Var2 = is_cntrl_mbchar(local_40);\n        pcVar14 = buf_00 + pos;\n        if (_Var2) {\n          *pcVar14 = '^';\n          sVar15 = pos + 2;\n          cVar3 = control_mbrep(local_40,isdata);\n          buf_00[pos + 1] = cVar3;\n          local_40 = local_40 + uVar6;\n          column = column + 2;\n        }\n        else if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }\n      }\n      cVar3 = *local_40;\n      pos = sVar15;\n    }\n  } while( true );" statement_identifier : (do_statement "do {\n    if (cVar3 == '\0') {\nLAB_0004007e:\n      pcVar14 = buf_00 + pos;\nLAB_00040082:\n      *pcVar14 = '\0';\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return buf_00;\n    }\nLAB_00040018:\n    iVar7 = whitespace_len[0];\n    if (uVar11 <= column) {\n      iVar7 = mbwidth(local_40);\n      if (iVar7 != 0) {\n        if ((*local_40 != '\0') && ((uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))))) {\n          sVar4 = move_mbleft(buf_00,pos);\n          pcVar14 = buf_00 + sVar4;\n          iVar7 = mbwidth(pcVar14);\n          if (iVar7 == 2) {\n            *pcVar14 = '>';\n            pcVar14 = buf_00 + sVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar3 = *local_40;\n      iVar7 = whitespace_len[0];\n    }\n    whitespace_len[0] = iVar7;\n    if (cVar3 == ' ') {\n      charwidth = 1;\n      if ((flags[0] & 0x2000000) == 0) {\n        buf_00[pos] = ' ';\n        pos = pos + 1;\n      }\n      else if (0 < whitespace_len[1]) {\n        iVar16 = pos - iVar7;\n        iVar13 = pos - iVar7;\n        do {\n          pos = iVar13 + 1 + iVar7;\n          buf_00[iVar7 + iVar16] = whitespace[iVar7];\n          iVar7 = iVar7 + 1;\n        } while (iVar7 < whitespace_len[1] + whitespace_len[0]);\n      }\n      local_40 = local_40 + 1;\n      cVar3 = *local_40;\n      column = column + 1;\n    }\n    else {\n      charwidth = 1;\n      if (cVar3 == '\t') {\n        if ((flags[0] & 0x2000000) == 0) {\nLAB_00040130:\n          buf_00[pos] = ' ';\n          sVar15 = pos + 1;\n        }\n        else {\n          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }\n          sVar15 = pos;\n          if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }\n        }\n        uVar6 = column + 1;\n        if ((uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11)) {\n          iVar7 = sVar15 - column;\n          do {\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          } while (uVar6 < uVar11);\n        }\n        local_40 = local_40 + 1;\n        column = uVar6;\n      }\n      else {\n        uVar6 = length_of_char(local_40,&charwidth);\n        _Var2 = is_cntrl_mbchar(local_40);\n        pcVar14 = buf_00 + pos;\n        if (_Var2) {\n          *pcVar14 = '^';\n          sVar15 = pos + 2;\n          cVar3 = control_mbrep(local_40,isdata);\n          buf_00[pos + 1] = cVar3;\n          local_40 = local_40 + uVar6;\n          column = column + 2;\n        }\n        else if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }\n      }\n      cVar3 = *local_40;\n      pos = sVar15;\n    }\n  } while( true );" do (compound_statement "{\n    if (cVar3 == '\0') {\nLAB_0004007e:\n      pcVar14 = buf_00 + pos;\nLAB_00040082:\n      *pcVar14 = '\0';\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return buf_00;\n    }\nLAB_00040018:\n    iVar7 = whitespace_len[0];\n    if (uVar11 <= column) {\n      iVar7 = mbwidth(local_40);\n      if (iVar7 != 0) {\n        if ((*local_40 != '\0') && ((uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))))) {\n          sVar4 = move_mbleft(buf_00,pos);\n          pcVar14 = buf_00 + sVar4;\n          iVar7 = mbwidth(pcVar14);\n          if (iVar7 == 2) {\n            *pcVar14 = '>';\n            pcVar14 = buf_00 + sVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar3 = *local_40;\n      iVar7 = whitespace_len[0];\n    }\n    whitespace_len[0] = iVar7;\n    if (cVar3 == ' ') {\n      charwidth = 1;\n      if ((flags[0] & 0x2000000) == 0) {\n        buf_00[pos] = ' ';\n        pos = pos + 1;\n      }\n      else if (0 < whitespace_len[1]) {\n        iVar16 = pos - iVar7;\n        iVar13 = pos - iVar7;\n        do {\n          pos = iVar13 + 1 + iVar7;\n          buf_00[iVar7 + iVar16] = whitespace[iVar7];\n          iVar7 = iVar7 + 1;\n        } while (iVar7 < whitespace_len[1] + whitespace_len[0]);\n      }\n      local_40 = local_40 + 1;\n      cVar3 = *local_40;\n      column = column + 1;\n    }\n    else {\n      charwidth = 1;\n      if (cVar3 == '\t') {\n        if ((flags[0] & 0x2000000) == 0) {\nLAB_00040130:\n          buf_00[pos] = ' ';\n          sVar15 = pos + 1;\n        }\n        else {\n          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }\n          sVar15 = pos;\n          if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }\n        }\n        uVar6 = column + 1;\n        if ((uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11)) {\n          iVar7 = sVar15 - column;\n          do {\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          } while (uVar6 < uVar11);\n        }\n        local_40 = local_40 + 1;\n        column = uVar6;\n      }\n      else {\n        uVar6 = length_of_char(local_40,&charwidth);\n        _Var2 = is_cntrl_mbchar(local_40);\n        pcVar14 = buf_00 + pos;\n        if (_Var2) {\n          *pcVar14 = '^';\n          sVar15 = pos + 2;\n          cVar3 = control_mbrep(local_40,isdata);\n          buf_00[pos + 1] = cVar3;\n          local_40 = local_40 + uVar6;\n          column = column + 2;\n        }\n        else if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }\n      }\n      cVar3 = *local_40;\n      pos = sVar15;\n    }\n  }" { (if_statement "if (cVar3 == '\0') {\nLAB_0004007e:\n      pcVar14 = buf_00 + pos;\nLAB_00040082:\n      *pcVar14 = '\0';\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return buf_00;\n    }" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_0004007e:\n      pcVar14 = buf_00 + pos;\nLAB_00040082:\n      *pcVar14 = '\0';\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return buf_00;\n    }" { (labeled_statement "LAB_0004007e:\n      pcVar14 = buf_00 + pos;" statement_identifier : (expression_statement "pcVar14 = buf_00 + pos;" (assignment_expression "pcVar14 = buf_00 + pos" identifier = (binary_expression "buf_00 + pos" identifier + identifier)) ;)) (labeled_statement "LAB_00040082:\n      *pcVar14 = '\0';" statement_identifier : (expression_statement "*pcVar14 = '\0';" (assignment_expression "*pcVar14 = '\0'" (pointer_expression "*pcVar14" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;)) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return buf_00;" return identifier ;) })) (labeled_statement "LAB_00040018:\n    iVar7 = whitespace_len[0];" statement_identifier : (expression_statement "iVar7 = whitespace_len[0];" (assignment_expression "iVar7 = whitespace_len[0]" identifier = (subscript_expression "whitespace_len[0]" identifier [ number_literal ])) ;)) (if_statement "if (uVar11 <= column) {\n      iVar7 = mbwidth(local_40);\n      if (iVar7 != 0) {\n        if ((*local_40 != '\0') && ((uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))))) {\n          sVar4 = move_mbleft(buf_00,pos);\n          pcVar14 = buf_00 + sVar4;\n          iVar7 = mbwidth(pcVar14);\n          if (iVar7 == 2) {\n            *pcVar14 = '>';\n            pcVar14 = buf_00 + sVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar3 = *local_40;\n      iVar7 = whitespace_len[0];\n    }" if (parenthesized_expression "(uVar11 <= column)" ( (binary_expression "uVar11 <= column" identifier <= identifier) )) (compound_statement "{\n      iVar7 = mbwidth(local_40);\n      if (iVar7 != 0) {\n        if ((*local_40 != '\0') && ((uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))))) {\n          sVar4 = move_mbleft(buf_00,pos);\n          pcVar14 = buf_00 + sVar4;\n          iVar7 = mbwidth(pcVar14);\n          if (iVar7 == 2) {\n            *pcVar14 = '>';\n            pcVar14 = buf_00 + sVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar3 = *local_40;\n      iVar7 = whitespace_len[0];\n    }" { (expression_statement "iVar7 = mbwidth(local_40);" (assignment_expression "iVar7 = mbwidth(local_40)" identifier = (call_expression "mbwidth(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (if_statement "if (iVar7 != 0) {\n        if ((*local_40 != '\0') && ((uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))))) {\n          sVar4 = move_mbleft(buf_00,pos);\n          pcVar14 = buf_00 + sVar4;\n          iVar7 = mbwidth(pcVar14);\n          if (iVar7 == 2) {\n            *pcVar14 = '>';\n            pcVar14 = buf_00 + sVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (compound_statement "{\n        if ((*local_40 != '\0') && ((uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))))) {\n          sVar4 = move_mbleft(buf_00,pos);\n          pcVar14 = buf_00 + sVar4;\n          iVar7 = mbwidth(pcVar14);\n          if (iVar7 == 2) {\n            *pcVar14 = '>';\n            pcVar14 = buf_00 + sVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }" { (if_statement "if ((*local_40 != '\0') && ((uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))))) {\n          sVar4 = move_mbleft(buf_00,pos);\n          pcVar14 = buf_00 + sVar4;\n          iVar7 = mbwidth(pcVar14);\n          if (iVar7 == 2) {\n            *pcVar14 = '>';\n            pcVar14 = buf_00 + sVar4 + 1;\n          }\n          goto LAB_00040082;\n        }" if (parenthesized_expression "((*local_40 != '\0') && ((uVar11 < column || ((isdata && ((flags[1] & 2) == 0))))))" ( (binary_expression "(*local_40 != '\0') && ((uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))))" (parenthesized_expression "(*local_40 != '\0')" ( (binary_expression "*local_40 != '\0'" (pointer_expression "*local_40" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))))" ( (parenthesized_expression "(uVar11 < column || ((isdata && ((flags[1] & 2) == 0))))" ( (binary_expression "uVar11 < column || ((isdata && ((flags[1] & 2) == 0)))" (binary_expression "uVar11 < column" identifier < identifier) || (parenthesized_expression "((isdata && ((flags[1] & 2) == 0)))" ( (parenthesized_expression "(isdata && ((flags[1] & 2) == 0))" ( (binary_expression "isdata && ((flags[1] & 2) == 0)" identifier && (parenthesized_expression "((flags[1] & 2) == 0)" ( (binary_expression "(flags[1] & 2) == 0" (parenthesized_expression "(flags[1] & 2)" ( (binary_expression "flags[1] & 2" (subscript_expression "flags[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) ))) )) ))) )) ))) )) (compound_statement "{\n          sVar4 = move_mbleft(buf_00,pos);\n          pcVar14 = buf_00 + sVar4;\n          iVar7 = mbwidth(pcVar14);\n          if (iVar7 == 2) {\n            *pcVar14 = '>';\n            pcVar14 = buf_00 + sVar4 + 1;\n          }\n          goto LAB_00040082;\n        }" { (expression_statement "sVar4 = move_mbleft(buf_00,pos);" (assignment_expression "sVar4 = move_mbleft(buf_00,pos)" identifier = (call_expression "move_mbleft(buf_00,pos)" identifier (argument_list "(buf_00,pos)" ( identifier , identifier )))) ;) (expression_statement "pcVar14 = buf_00 + sVar4;" (assignment_expression "pcVar14 = buf_00 + sVar4" identifier = (binary_expression "buf_00 + sVar4" identifier + identifier)) ;) (expression_statement "iVar7 = mbwidth(pcVar14);" (assignment_expression "iVar7 = mbwidth(pcVar14)" identifier = (call_expression "mbwidth(pcVar14)" identifier (argument_list "(pcVar14)" ( identifier )))) ;) (if_statement "if (iVar7 == 2) {\n            *pcVar14 = '>';\n            pcVar14 = buf_00 + sVar4 + 1;\n          }" if (parenthesized_expression "(iVar7 == 2)" ( (binary_expression "iVar7 == 2" identifier == number_literal) )) (compound_statement "{\n            *pcVar14 = '>';\n            pcVar14 = buf_00 + sVar4 + 1;\n          }" { (expression_statement "*pcVar14 = '>';" (assignment_expression "*pcVar14 = '>'" (pointer_expression "*pcVar14" * identifier) = (char_literal "'>'" ' character ')) ;) (expression_statement "pcVar14 = buf_00 + sVar4 + 1;" (assignment_expression "pcVar14 = buf_00 + sVar4 + 1" identifier = (binary_expression "buf_00 + sVar4 + 1" (binary_expression "buf_00 + sVar4" identifier + identifier) + number_literal)) ;) })) (goto_statement "goto LAB_00040082;" goto statement_identifier ;) })) (goto_statement "goto LAB_0004007e;" goto statement_identifier ;) })) (expression_statement "cVar3 = *local_40;" (assignment_expression "cVar3 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "iVar7 = whitespace_len[0];" (assignment_expression "iVar7 = whitespace_len[0]" identifier = (subscript_expression "whitespace_len[0]" identifier [ number_literal ])) ;) })) (expression_statement "whitespace_len[0] = iVar7;" (assignment_expression "whitespace_len[0] = iVar7" (subscript_expression "whitespace_len[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (cVar3 == ' ') {\n      charwidth = 1;\n      if ((flags[0] & 0x2000000) == 0) {\n        buf_00[pos] = ' ';\n        pos = pos + 1;\n      }\n      else if (0 < whitespace_len[1]) {\n        iVar16 = pos - iVar7;\n        iVar13 = pos - iVar7;\n        do {\n          pos = iVar13 + 1 + iVar7;\n          buf_00[iVar7 + iVar16] = whitespace[iVar7];\n          iVar7 = iVar7 + 1;\n        } while (iVar7 < whitespace_len[1] + whitespace_len[0]);\n      }\n      local_40 = local_40 + 1;\n      cVar3 = *local_40;\n      column = column + 1;\n    }\n    else {\n      charwidth = 1;\n      if (cVar3 == '\t') {\n        if ((flags[0] & 0x2000000) == 0) {\nLAB_00040130:\n          buf_00[pos] = ' ';\n          sVar15 = pos + 1;\n        }\n        else {\n          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }\n          sVar15 = pos;\n          if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }\n        }\n        uVar6 = column + 1;\n        if ((uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11)) {\n          iVar7 = sVar15 - column;\n          do {\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          } while (uVar6 < uVar11);\n        }\n        local_40 = local_40 + 1;\n        column = uVar6;\n      }\n      else {\n        uVar6 = length_of_char(local_40,&charwidth);\n        _Var2 = is_cntrl_mbchar(local_40);\n        pcVar14 = buf_00 + pos;\n        if (_Var2) {\n          *pcVar14 = '^';\n          sVar15 = pos + 2;\n          cVar3 = control_mbrep(local_40,isdata);\n          buf_00[pos + 1] = cVar3;\n          local_40 = local_40 + uVar6;\n          column = column + 2;\n        }\n        else if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }\n      }\n      cVar3 = *local_40;\n      pos = sVar15;\n    }" if (parenthesized_expression "(cVar3 == ' ')" ( (binary_expression "cVar3 == ' '" identifier == (char_literal "' '" ' character ')) )) (compound_statement "{\n      charwidth = 1;\n      if ((flags[0] & 0x2000000) == 0) {\n        buf_00[pos] = ' ';\n        pos = pos + 1;\n      }\n      else if (0 < whitespace_len[1]) {\n        iVar16 = pos - iVar7;\n        iVar13 = pos - iVar7;\n        do {\n          pos = iVar13 + 1 + iVar7;\n          buf_00[iVar7 + iVar16] = whitespace[iVar7];\n          iVar7 = iVar7 + 1;\n        } while (iVar7 < whitespace_len[1] + whitespace_len[0]);\n      }\n      local_40 = local_40 + 1;\n      cVar3 = *local_40;\n      column = column + 1;\n    }" { (expression_statement "charwidth = 1;" (assignment_expression "charwidth = 1" identifier = number_literal) ;) (if_statement "if ((flags[0] & 0x2000000) == 0) {\n        buf_00[pos] = ' ';\n        pos = pos + 1;\n      }\n      else if (0 < whitespace_len[1]) {\n        iVar16 = pos - iVar7;\n        iVar13 = pos - iVar7;\n        do {\n          pos = iVar13 + 1 + iVar7;\n          buf_00[iVar7 + iVar16] = whitespace[iVar7];\n          iVar7 = iVar7 + 1;\n        } while (iVar7 < whitespace_len[1] + whitespace_len[0]);\n      }" if (parenthesized_expression "((flags[0] & 0x2000000) == 0)" ( (binary_expression "(flags[0] & 0x2000000) == 0" (parenthesized_expression "(flags[0] & 0x2000000)" ( (binary_expression "flags[0] & 0x2000000" (subscript_expression "flags[0]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\n        buf_00[pos] = ' ';\n        pos = pos + 1;\n      }" { (expression_statement "buf_00[pos] = ' ';" (assignment_expression "buf_00[pos] = ' '" (subscript_expression "buf_00[pos]" identifier [ identifier ]) = (char_literal "' '" ' character ')) ;) (expression_statement "pos = pos + 1;" (assignment_expression "pos = pos + 1" identifier = (binary_expression "pos + 1" identifier + number_literal)) ;) }) (else_clause "else if (0 < whitespace_len[1]) {\n        iVar16 = pos - iVar7;\n        iVar13 = pos - iVar7;\n        do {\n          pos = iVar13 + 1 + iVar7;\n          buf_00[iVar7 + iVar16] = whitespace[iVar7];\n          iVar7 = iVar7 + 1;\n        } while (iVar7 < whitespace_len[1] + whitespace_len[0]);\n      }" else (if_statement "if (0 < whitespace_len[1]) {\n        iVar16 = pos - iVar7;\n        iVar13 = pos - iVar7;\n        do {\n          pos = iVar13 + 1 + iVar7;\n          buf_00[iVar7 + iVar16] = whitespace[iVar7];\n          iVar7 = iVar7 + 1;\n        } while (iVar7 < whitespace_len[1] + whitespace_len[0]);\n      }" if (parenthesized_expression "(0 < whitespace_len[1])" ( (binary_expression "0 < whitespace_len[1]" number_literal < (subscript_expression "whitespace_len[1]" identifier [ number_literal ])) )) (compound_statement "{\n        iVar16 = pos - iVar7;\n        iVar13 = pos - iVar7;\n        do {\n          pos = iVar13 + 1 + iVar7;\n          buf_00[iVar7 + iVar16] = whitespace[iVar7];\n          iVar7 = iVar7 + 1;\n        } while (iVar7 < whitespace_len[1] + whitespace_len[0]);\n      }" { (expression_statement "iVar16 = pos - iVar7;" (assignment_expression "iVar16 = pos - iVar7" identifier = (binary_expression "pos - iVar7" identifier - identifier)) ;) (expression_statement "iVar13 = pos - iVar7;" (assignment_expression "iVar13 = pos - iVar7" identifier = (binary_expression "pos - iVar7" identifier - identifier)) ;) (do_statement "do {\n          pos = iVar13 + 1 + iVar7;\n          buf_00[iVar7 + iVar16] = whitespace[iVar7];\n          iVar7 = iVar7 + 1;\n        } while (iVar7 < whitespace_len[1] + whitespace_len[0]);" do (compound_statement "{\n          pos = iVar13 + 1 + iVar7;\n          buf_00[iVar7 + iVar16] = whitespace[iVar7];\n          iVar7 = iVar7 + 1;\n        }" { (expression_statement "pos = iVar13 + 1 + iVar7;" (assignment_expression "pos = iVar13 + 1 + iVar7" identifier = (binary_expression "iVar13 + 1 + iVar7" (binary_expression "iVar13 + 1" identifier + number_literal) + identifier)) ;) (expression_statement "buf_00[iVar7 + iVar16] = whitespace[iVar7];" (assignment_expression "buf_00[iVar7 + iVar16] = whitespace[iVar7]" (subscript_expression "buf_00[iVar7 + iVar16]" identifier [ (binary_expression "iVar7 + iVar16" identifier + identifier) ]) = (subscript_expression "whitespace[iVar7]" identifier [ identifier ])) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 < whitespace_len[1] + whitespace_len[0])" ( (binary_expression "iVar7 < whitespace_len[1] + whitespace_len[0]" identifier < (binary_expression "whitespace_len[1] + whitespace_len[0]" (subscript_expression "whitespace_len[1]" identifier [ number_literal ]) + (subscript_expression "whitespace_len[0]" identifier [ number_literal ]))) )) ;) })))) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (expression_statement "cVar3 = *local_40;" (assignment_expression "cVar3 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "column = column + 1;" (assignment_expression "column = column + 1" identifier = (binary_expression "column + 1" identifier + number_literal)) ;) }) (else_clause "else {\n      charwidth = 1;\n      if (cVar3 == '\t') {\n        if ((flags[0] & 0x2000000) == 0) {\nLAB_00040130:\n          buf_00[pos] = ' ';\n          sVar15 = pos + 1;\n        }\n        else {\n          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }\n          sVar15 = pos;\n          if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }\n        }\n        uVar6 = column + 1;\n        if ((uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11)) {\n          iVar7 = sVar15 - column;\n          do {\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          } while (uVar6 < uVar11);\n        }\n        local_40 = local_40 + 1;\n        column = uVar6;\n      }\n      else {\n        uVar6 = length_of_char(local_40,&charwidth);\n        _Var2 = is_cntrl_mbchar(local_40);\n        pcVar14 = buf_00 + pos;\n        if (_Var2) {\n          *pcVar14 = '^';\n          sVar15 = pos + 2;\n          cVar3 = control_mbrep(local_40,isdata);\n          buf_00[pos + 1] = cVar3;\n          local_40 = local_40 + uVar6;\n          column = column + 2;\n        }\n        else if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }\n      }\n      cVar3 = *local_40;\n      pos = sVar15;\n    }" else (compound_statement "{\n      charwidth = 1;\n      if (cVar3 == '\t') {\n        if ((flags[0] & 0x2000000) == 0) {\nLAB_00040130:\n          buf_00[pos] = ' ';\n          sVar15 = pos + 1;\n        }\n        else {\n          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }\n          sVar15 = pos;\n          if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }\n        }\n        uVar6 = column + 1;\n        if ((uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11)) {\n          iVar7 = sVar15 - column;\n          do {\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          } while (uVar6 < uVar11);\n        }\n        local_40 = local_40 + 1;\n        column = uVar6;\n      }\n      else {\n        uVar6 = length_of_char(local_40,&charwidth);\n        _Var2 = is_cntrl_mbchar(local_40);\n        pcVar14 = buf_00 + pos;\n        if (_Var2) {\n          *pcVar14 = '^';\n          sVar15 = pos + 2;\n          cVar3 = control_mbrep(local_40,isdata);\n          buf_00[pos + 1] = cVar3;\n          local_40 = local_40 + uVar6;\n          column = column + 2;\n        }\n        else if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }\n      }\n      cVar3 = *local_40;\n      pos = sVar15;\n    }" { (expression_statement "charwidth = 1;" (assignment_expression "charwidth = 1" identifier = number_literal) ;) (if_statement "if (cVar3 == '\t') {\n        if ((flags[0] & 0x2000000) == 0) {\nLAB_00040130:\n          buf_00[pos] = ' ';\n          sVar15 = pos + 1;\n        }\n        else {\n          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }\n          sVar15 = pos;\n          if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }\n        }\n        uVar6 = column + 1;\n        if ((uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11)) {\n          iVar7 = sVar15 - column;\n          do {\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          } while (uVar6 < uVar11);\n        }\n        local_40 = local_40 + 1;\n        column = uVar6;\n      }\n      else {\n        uVar6 = length_of_char(local_40,&charwidth);\n        _Var2 = is_cntrl_mbchar(local_40);\n        pcVar14 = buf_00 + pos;\n        if (_Var2) {\n          *pcVar14 = '^';\n          sVar15 = pos + 2;\n          cVar3 = control_mbrep(local_40,isdata);\n          buf_00[pos + 1] = cVar3;\n          local_40 = local_40 + uVar6;\n          column = column + 2;\n        }\n        else if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }\n      }" if (parenthesized_expression "(cVar3 == '\t')" ( (binary_expression "cVar3 == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) )) (compound_statement "{\n        if ((flags[0] & 0x2000000) == 0) {\nLAB_00040130:\n          buf_00[pos] = ' ';\n          sVar15 = pos + 1;\n        }\n        else {\n          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }\n          sVar15 = pos;\n          if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }\n        }\n        uVar6 = column + 1;\n        if ((uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11)) {\n          iVar7 = sVar15 - column;\n          do {\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          } while (uVar6 < uVar11);\n        }\n        local_40 = local_40 + 1;\n        column = uVar6;\n      }" { (if_statement "if ((flags[0] & 0x2000000) == 0) {\nLAB_00040130:\n          buf_00[pos] = ' ';\n          sVar15 = pos + 1;\n        }\n        else {\n          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }\n          sVar15 = pos;\n          if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }\n        }" if (parenthesized_expression "((flags[0] & 0x2000000) == 0)" ( (binary_expression "(flags[0] & 0x2000000) == 0" (parenthesized_expression "(flags[0] & 0x2000000)" ( (binary_expression "flags[0] & 0x2000000" (subscript_expression "flags[0]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_00040130:\n          buf_00[pos] = ' ';\n          sVar15 = pos + 1;\n        }" { (labeled_statement "LAB_00040130:\n          buf_00[pos] = ' ';" statement_identifier : (expression_statement "buf_00[pos] = ' ';" (assignment_expression "buf_00[pos] = ' '" (subscript_expression "buf_00[pos]" identifier [ identifier ]) = (char_literal "' '" ' character ')) ;)) (expression_statement "sVar15 = pos + 1;" (assignment_expression "sVar15 = pos + 1" identifier = (binary_expression "pos + 1" identifier + number_literal)) ;) }) (else_clause "else {\n          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }\n          sVar15 = pos;\n          if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }\n        }" else (compound_statement "{\n          if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }\n          sVar15 = pos;\n          if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }\n        }" { (if_statement "if (((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)) {\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }" if (parenthesized_expression "(((pos == 0) && (isdata)) && ((flags[1] & 2) != 0))" ( (binary_expression "((pos == 0) && (isdata)) && ((flags[1] & 2) != 0)" (parenthesized_expression "((pos == 0) && (isdata))" ( (binary_expression "(pos == 0) && (isdata)" (parenthesized_expression "(pos == 0)" ( (binary_expression "pos == 0" identifier == number_literal) )) && (parenthesized_expression "(isdata)" ( identifier ))) )) && (parenthesized_expression "((flags[1] & 2) != 0)" ( (binary_expression "(flags[1] & 2) != 0" (parenthesized_expression "(flags[1] & 2)" ( (binary_expression "flags[1] & 2" (subscript_expression "flags[1]" identifier [ number_literal ]) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n            if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;\n            pos = 0;\n          }" { (if_statement "if ((column % (uint)tabsize != 0) && (sVar4 != column)) goto LAB_00040130;" if (parenthesized_expression "((column % (uint)tabsize != 0) && (sVar4 != column))" ( (binary_expression "(column % (uint)tabsize != 0) && (sVar4 != column)" (parenthesized_expression "(column % (uint)tabsize != 0)" ( (binary_expression "column % (uint)tabsize != 0" (binary_expression "column % (uint)tabsize" identifier % (cast_expression "(uint)tabsize" ( (type_descriptor "uint" type_identifier) ) identifier)) != number_literal) )) && (parenthesized_expression "(sVar4 != column)" ( (binary_expression "sVar4 != column" identifier != identifier) ))) )) (goto_statement "goto LAB_00040130;" goto statement_identifier ;)) (expression_statement "pos = 0;" (assignment_expression "pos = 0" identifier = number_literal) ;) })) (expression_statement "sVar15 = pos;" (assignment_expression "sVar15 = pos" identifier = identifier) ;) (if_statement "if (0 < iVar7) {\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n            iVar7 = 0;\n            do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);\n          }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < whitespace_len[0]);" do (compound_statement "{\n              sVar15 = pos + 1 + iVar7;\n              buf_00[iVar7 + pos] = whitespace[iVar7];\n              iVar7 = iVar7 + 1;\n            }" { (expression_statement "sVar15 = pos + 1 + iVar7;" (assignment_expression "sVar15 = pos + 1 + iVar7" identifier = (binary_expression "pos + 1 + iVar7" (binary_expression "pos + 1" identifier + number_literal) + identifier)) ;) (expression_statement "buf_00[iVar7 + pos] = whitespace[iVar7];" (assignment_expression "buf_00[iVar7 + pos] = whitespace[iVar7]" (subscript_expression "buf_00[iVar7 + pos]" identifier [ (binary_expression "iVar7 + pos" identifier + identifier) ]) = (subscript_expression "whitespace[iVar7]" identifier [ identifier ])) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 < whitespace_len[0])" ( (binary_expression "iVar7 < whitespace_len[0]" identifier < (subscript_expression "whitespace_len[0]" identifier [ number_literal ])) )) ;) })) }))) (expression_statement "uVar6 = column + 1;" (assignment_expression "uVar6 = column + 1" identifier = (binary_expression "column + 1" identifier + number_literal)) ;) (if_statement "if ((uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11)) {\n          iVar7 = sVar15 - column;\n          do {\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          } while (uVar6 < uVar11);\n        }" if (parenthesized_expression "((uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11))" ( (binary_expression "(uVar6 % (uint)tabsize != 0) && (uVar6 < uVar11)" (parenthesized_expression "(uVar6 % (uint)tabsize != 0)" ( (binary_expression "uVar6 % (uint)tabsize != 0" (binary_expression "uVar6 % (uint)tabsize" identifier % (cast_expression "(uint)tabsize" ( (type_descriptor "uint" type_identifier) ) identifier)) != number_literal) )) && (parenthesized_expression "(uVar6 < uVar11)" ( (binary_expression "uVar6 < uVar11" identifier < identifier) ))) )) (compound_statement "{\n          iVar7 = sVar15 - column;\n          do {\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          } while (uVar6 < uVar11);\n        }" { (expression_statement "iVar7 = sVar15 - column;" (assignment_expression "iVar7 = sVar15 - column" identifier = (binary_expression "sVar15 - column" identifier - identifier)) ;) (do_statement "do {\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          } while (uVar6 < uVar11);" do (compound_statement "{\n            buf_00[uVar6 + iVar7 + -1] = ' ';\n            sVar15 = iVar7 + uVar6;\n            uVar6 = uVar6 + 1;\n            if (uVar6 % (uint)tabsize == 0) break;\n          }" { (expression_statement "buf_00[uVar6 + iVar7 + -1] = ' ';" (assignment_expression "buf_00[uVar6 + iVar7 + -1] = ' '" (subscript_expression "buf_00[uVar6 + iVar7 + -1]" identifier [ (binary_expression "uVar6 + iVar7 + -1" (binary_expression "uVar6 + iVar7" identifier + identifier) + number_literal) ]) = (char_literal "' '" ' character ')) ;) (expression_statement "sVar15 = iVar7 + uVar6;" (assignment_expression "sVar15 = iVar7 + uVar6" identifier = (binary_expression "iVar7 + uVar6" identifier + identifier)) ;) (expression_statement "uVar6 = uVar6 + 1;" (assignment_expression "uVar6 = uVar6 + 1" identifier = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (uVar6 % (uint)tabsize == 0) break;" if (parenthesized_expression "(uVar6 % (uint)tabsize == 0)" ( (binary_expression "uVar6 % (uint)tabsize == 0" (binary_expression "uVar6 % (uint)tabsize" identifier % (cast_expression "(uint)tabsize" ( (type_descriptor "uint" type_identifier) ) identifier)) == number_literal) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(uVar6 < uVar11)" ( (binary_expression "uVar6 < uVar11" identifier < identifier) )) ;) })) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (expression_statement "column = uVar6;" (assignment_expression "column = uVar6" identifier = identifier) ;) }) (else_clause "else {\n        uVar6 = length_of_char(local_40,&charwidth);\n        _Var2 = is_cntrl_mbchar(local_40);\n        pcVar14 = buf_00 + pos;\n        if (_Var2) {\n          *pcVar14 = '^';\n          sVar15 = pos + 2;\n          cVar3 = control_mbrep(local_40,isdata);\n          buf_00[pos + 1] = cVar3;\n          local_40 = local_40 + uVar6;\n          column = column + 2;\n        }\n        else if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }\n      }" else (compound_statement "{\n        uVar6 = length_of_char(local_40,&charwidth);\n        _Var2 = is_cntrl_mbchar(local_40);\n        pcVar14 = buf_00 + pos;\n        if (_Var2) {\n          *pcVar14 = '^';\n          sVar15 = pos + 2;\n          cVar3 = control_mbrep(local_40,isdata);\n          buf_00[pos + 1] = cVar3;\n          local_40 = local_40 + uVar6;\n          column = column + 2;\n        }\n        else if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }\n      }" { (expression_statement "uVar6 = length_of_char(local_40,&charwidth);" (assignment_expression "uVar6 = length_of_char(local_40,&charwidth)" identifier = (call_expression "length_of_char(local_40,&charwidth)" identifier (argument_list "(local_40,&charwidth)" ( identifier , (pointer_expression "&charwidth" & identifier) )))) ;) (expression_statement "_Var2 = is_cntrl_mbchar(local_40);" (assignment_expression "_Var2 = is_cntrl_mbchar(local_40)" identifier = (call_expression "is_cntrl_mbchar(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (expression_statement "pcVar14 = buf_00 + pos;" (assignment_expression "pcVar14 = buf_00 + pos" identifier = (binary_expression "buf_00 + pos" identifier + identifier)) ;) (if_statement "if (_Var2) {\n          *pcVar14 = '^';\n          sVar15 = pos + 2;\n          cVar3 = control_mbrep(local_40,isdata);\n          buf_00[pos + 1] = cVar3;\n          local_40 = local_40 + uVar6;\n          column = column + 2;\n        }\n        else if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }" if (parenthesized_expression "(_Var2)" ( identifier )) (compound_statement "{\n          *pcVar14 = '^';\n          sVar15 = pos + 2;\n          cVar3 = control_mbrep(local_40,isdata);\n          buf_00[pos + 1] = cVar3;\n          local_40 = local_40 + uVar6;\n          column = column + 2;\n        }" { (expression_statement "*pcVar14 = '^';" (assignment_expression "*pcVar14 = '^'" (pointer_expression "*pcVar14" * identifier) = (char_literal "'^'" ' character ')) ;) (expression_statement "sVar15 = pos + 2;" (assignment_expression "sVar15 = pos + 2" identifier = (binary_expression "pos + 2" identifier + number_literal)) ;) (expression_statement "cVar3 = control_mbrep(local_40,isdata);" (assignment_expression "cVar3 = control_mbrep(local_40,isdata)" identifier = (call_expression "control_mbrep(local_40,isdata)" identifier (argument_list "(local_40,isdata)" ( identifier , identifier )))) ;) (expression_statement "buf_00[pos + 1] = cVar3;" (assignment_expression "buf_00[pos + 1] = cVar3" (subscript_expression "buf_00[pos + 1]" identifier [ (binary_expression "pos + 1" identifier + number_literal) ]) = identifier) ;) (expression_statement "local_40 = local_40 + uVar6;" (assignment_expression "local_40 = local_40 + uVar6" identifier = (binary_expression "local_40 + uVar6" identifier + identifier)) ;) (expression_statement "column = column + 2;" (assignment_expression "column = column + 2" identifier = (binary_expression "column + 2" identifier + number_literal)) ;) }) (else_clause "else if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }" else (if_statement "if ((int)uVar6 < 1) {\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }\n        else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }" if (parenthesized_expression "((int)uVar6 < 1)" ( (binary_expression "(int)uVar6 < 1" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n          *pcVar14 = -0x11;\n          sVar15 = pos + 3;\n          column = column + 1;\n          buf_00[pos + 1] = -0x41;\n          buf_00[pos + 2] = -0x43;\n          pcVar14 = local_40 + uVar6 + 8;\n          local_40 = local_40 + 1;\n          if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }\n        }" { (expression_statement "*pcVar14 = -0x11;" (assignment_expression "*pcVar14 = -0x11" (pointer_expression "*pcVar14" * identifier) = number_literal) ;) (expression_statement "sVar15 = pos + 3;" (assignment_expression "sVar15 = pos + 3" identifier = (binary_expression "pos + 3" identifier + number_literal)) ;) (expression_statement "column = column + 1;" (assignment_expression "column = column + 1" identifier = (binary_expression "column + 1" identifier + number_literal)) ;) (expression_statement "buf_00[pos + 1] = -0x41;" (assignment_expression "buf_00[pos + 1] = -0x41" (subscript_expression "buf_00[pos + 1]" identifier [ (binary_expression "pos + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "buf_00[pos + 2] = -0x43;" (assignment_expression "buf_00[pos + 2] = -0x43" (subscript_expression "buf_00[pos + 2]" identifier [ (binary_expression "pos + 2" identifier + number_literal) ]) = number_literal) ;) (expression_statement "pcVar14 = local_40 + uVar6 + 8;" (assignment_expression "pcVar14 = local_40 + uVar6 + 8" identifier = (binary_expression "local_40 + uVar6 + 8" (binary_expression "local_40 + uVar6" identifier + identifier) + number_literal)) ;) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (if_statement "if ((int)uVar6 < -1) {\n            local_40 = pcVar14;\n          }" if (parenthesized_expression "((int)uVar6 < -1)" ( (binary_expression "(int)uVar6 < -1" (cast_expression "(int)uVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            local_40 = pcVar14;\n          }" { (expression_statement "local_40 = pcVar14;" (assignment_expression "local_40 = pcVar14" identifier = identifier) ;) })) }) (else_clause "else {\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }" else (compound_statement "{\n          if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }\n          local_40 = local_40 + uVar6;\n          sVar15 = pos + uVar6;\n          column = column + charwidth;\n        }" { (if_statement "if ((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)) {\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }\n          else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }" if (parenthesized_expression "((pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4))" ( (binary_expression "(pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0) || (uVar6 - 1 < 4)" (parenthesized_expression "(pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0)" ( (binary_expression "pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4 ||\n               (((uint)pcVar14 | (uint)local_40) & 3) != 0" (binary_expression "pcVar14 < local_40 + 4 && local_40 < buf_00 + pos + 4" (binary_expression "pcVar14 < local_40 + 4" identifier < (binary_expression "local_40 + 4" identifier + number_literal)) && (binary_expression "local_40 < buf_00 + pos + 4" identifier < (binary_expression "buf_00 + pos + 4" (binary_expression "buf_00 + pos" identifier + identifier) + number_literal))) || (binary_expression "(((uint)pcVar14 | (uint)local_40) & 3) != 0" (parenthesized_expression "(((uint)pcVar14 | (uint)local_40) & 3)" ( (binary_expression "((uint)pcVar14 | (uint)local_40) & 3" (parenthesized_expression "((uint)pcVar14 | (uint)local_40)" ( (binary_expression "(uint)pcVar14 | (uint)local_40" (cast_expression "(uint)pcVar14" ( (type_descriptor "uint" type_identifier) ) identifier) | (cast_expression "(uint)local_40" ( (type_descriptor "uint" type_identifier) ) identifier)) )) & number_literal) )) != number_literal)) )) || (parenthesized_expression "(uVar6 - 1 < 4)" ( (binary_expression "uVar6 - 1 < 4" (binary_expression "uVar6 - 1" identifier - number_literal) < number_literal) ))) )) (compound_statement "{\n            pcVar8 = local_40;\n            do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);\n          }" { (expression_statement "pcVar8 = local_40;" (assignment_expression "pcVar8 = local_40" identifier = identifier) ;) (do_statement "do {\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            } while (local_40 + uVar6 != pcVar12);" do (compound_statement "{\n              pcVar12 = pcVar8 + 1;\n              *pcVar14 = *pcVar8;\n              pcVar14 = pcVar14 + 1;\n              pcVar8 = pcVar12;\n            }" { (expression_statement "pcVar12 = pcVar8 + 1;" (assignment_expression "pcVar12 = pcVar8 + 1" identifier = (binary_expression "pcVar8 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar14 = *pcVar8;" (assignment_expression "*pcVar14 = *pcVar8" (pointer_expression "*pcVar14" * identifier) = (pointer_expression "*pcVar8" * identifier)) ;) (expression_statement "pcVar14 = pcVar14 + 1;" (assignment_expression "pcVar14 = pcVar14 + 1" identifier = (binary_expression "pcVar14 + 1" identifier + number_literal)) ;) (expression_statement "pcVar8 = pcVar12;" (assignment_expression "pcVar8 = pcVar12" identifier = identifier) ;) }) while (parenthesized_expression "(local_40 + uVar6 != pcVar12)" ( (binary_expression "local_40 + uVar6 != pcVar12" (binary_expression "local_40 + uVar6" identifier + identifier) != identifier) )) ;) }) (else_clause "else {\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }" else (compound_statement "{\n            pcVar8 = pcVar14;\n            pcVar12 = local_40;\n            do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));\n            uVar10 = uVar6 & 0xfffffffc;\n            pcVar14 = local_40 + uVar10;\n            iVar7 = uVar10 + pos;\n            if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }\n          }" { (expression_statement "pcVar8 = pcVar14;" (assignment_expression "pcVar8 = pcVar14" identifier = identifier) ;) (expression_statement "pcVar12 = local_40;" (assignment_expression "pcVar12 = local_40" identifier = identifier) ;) (do_statement "do {\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            } while (pcVar9 != pcVar14 + (uVar6 & 0xfffffffc));" do (compound_statement "{\n              uVar1 = *(undefined4 *)pcVar12;\n              pcVar9 = pcVar8 + 4;\n              pcVar12 = pcVar12 + 4;\n              *(undefined4 *)pcVar8 = uVar1;\n              pcVar8 = pcVar9;\n            }" { (expression_statement "uVar1 = *(undefined4 *)pcVar12;" (assignment_expression "uVar1 = *(undefined4 *)pcVar12" identifier = (pointer_expression "*(undefined4 *)pcVar12" * (cast_expression "(undefined4 *)pcVar12" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar9 = pcVar8 + 4;" (assignment_expression "pcVar9 = pcVar8 + 4" identifier = (binary_expression "pcVar8 + 4" identifier + number_literal)) ;) (expression_statement "pcVar12 = pcVar12 + 4;" (assignment_expression "pcVar12 = pcVar12 + 4" identifier = (binary_expression "pcVar12 + 4" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)pcVar8 = uVar1;" (assignment_expression "*(undefined4 *)pcVar8 = uVar1" (pointer_expression "*(undefined4 *)pcVar8" * (cast_expression "(undefined4 *)pcVar8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "pcVar8 = pcVar9;" (assignment_expression "pcVar8 = pcVar9" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar9 != pcVar14 + (uVar6 & 0xfffffffc))" ( (binary_expression "pcVar9 != pcVar14 + (uVar6 & 0xfffffffc)" identifier != (binary_expression "pcVar14 + (uVar6 & 0xfffffffc)" identifier + (parenthesized_expression "(uVar6 & 0xfffffffc)" ( (binary_expression "uVar6 & 0xfffffffc" identifier & number_literal) )))) )) ;) (expression_statement "uVar10 = uVar6 & 0xfffffffc;" (assignment_expression "uVar10 = uVar6 & 0xfffffffc" identifier = (binary_expression "uVar6 & 0xfffffffc" identifier & number_literal)) ;) (expression_statement "pcVar14 = local_40 + uVar10;" (assignment_expression "pcVar14 = local_40 + uVar10" identifier = (binary_expression "local_40 + uVar10" identifier + identifier)) ;) (expression_statement "iVar7 = uVar10 + pos;" (assignment_expression "iVar7 = uVar10 + pos" identifier = (binary_expression "uVar10 + pos" identifier + identifier)) ;) (if_statement "if (((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)) {\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }" if (parenthesized_expression "(((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2))" ( (binary_expression "((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)) &&\n               (buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)" (parenthesized_expression "((uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1))" ( (binary_expression "(uVar10 != uVar6) && (buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)" (parenthesized_expression "(uVar10 != uVar6)" ( (binary_expression "uVar10 != uVar6" identifier != identifier) )) && (parenthesized_expression "(buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1)" ( (comma_expression "buf_00[iVar7] = *pcVar14, uVar6 - uVar10 != 1" (assignment_expression "buf_00[iVar7] = *pcVar14" (subscript_expression "buf_00[iVar7]" identifier [ identifier ]) = (pointer_expression "*pcVar14" * identifier)) , (binary_expression "uVar6 - uVar10 != 1" (binary_expression "uVar6 - uVar10" identifier - identifier) != number_literal)) ))) )) && (parenthesized_expression "(buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2)" ( (comma_expression "buf_00[iVar7 + 1] = pcVar14[1], uVar6 - uVar10 != 2" (assignment_expression "buf_00[iVar7 + 1] = pcVar14[1]" (subscript_expression "buf_00[iVar7 + 1]" identifier [ (binary_expression "iVar7 + 1" identifier + number_literal) ]) = (subscript_expression "pcVar14[1]" identifier [ number_literal ])) , (binary_expression "uVar6 - uVar10 != 2" (binary_expression "uVar6 - uVar10" identifier - identifier) != number_literal)) ))) )) (compound_statement "{\n              buf_00[iVar7 + 2] = pcVar14[2];\n            }" { (expression_statement "buf_00[iVar7 + 2] = pcVar14[2];" (assignment_expression "buf_00[iVar7 + 2] = pcVar14[2]" (subscript_expression "buf_00[iVar7 + 2]" identifier [ (binary_expression "iVar7 + 2" identifier + number_literal) ]) = (subscript_expression "pcVar14[2]" identifier [ number_literal ])) ;) })) }))) (expression_statement "local_40 = local_40 + uVar6;" (assignment_expression "local_40 = local_40 + uVar6" identifier = (binary_expression "local_40 + uVar6" identifier + identifier)) ;) (expression_statement "sVar15 = pos + uVar6;" (assignment_expression "sVar15 = pos + uVar6" identifier = (binary_expression "pos + uVar6" identifier + identifier)) ;) (expression_statement "column = column + charwidth;" (assignment_expression "column = column + charwidth" identifier = (binary_expression "column + charwidth" identifier + identifier)) ;) }))))) }))) (expression_statement "cVar3 = *local_40;" (assignment_expression "cVar3 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "pos = sVar15;" (assignment_expression "pos = sVar15" identifier = identifier) ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "undefined1 * FUN_0003fe90(int param_1,uint param_2,int param_3,char param_4)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  undefined1 uVar3;\n  int iVar4;\n  uint uVar5;\n  size_t sVar6;\n  undefined1 *puVar7;\n  uint uVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  uint uVar12;\n  char *pcVar13;\n  uint uVar14;\n  char *pcVar15;\n  int iVar16;\n  undefined1 *puVar17;\n  int iVar18;\n  int in_GS_OFFSET;\n  char *local_40;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3fe99;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_0003dfb0(param_1,param_2);\n  local_40 = (char *)(iVar4 + param_1);\n  uVar5 = FUN_0003e040(param_1,iVar4);\n  uVar14 = param_2 + param_3;\n  sVar6 = strlen(local_40);\n  puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1);\n  cVar2 = *local_40;\n  if ((cVar2 == '\0') || (cVar2 == '\t')) {\n    iVar4 = 0;\n    goto joined_r0x0003ff74;\n  }\n  if (uVar5 < param_2) {\n    cVar2 = FUN_00017ac0(local_40);\n    if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar4 = FUN_00017f40(local_40);\n    if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    iVar4 = 1;\n    puVar17 = puVar7;\n  }\n  else {\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }\n  param_2 = param_2 + 1;\n  *puVar17 = 0x3c;\n  iVar9 = FUN_00018090(local_40,0,0);\n  local_40 = local_40 + iVar9;\n  cVar2 = *local_40;\njoined_r0x0003ff74:\n  do {\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  } while( true );\n}\n\n" (function_definition "undefined1 * FUN_0003fe90(int param_1,uint param_2,int param_3,char param_4)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  undefined1 uVar3;\n  int iVar4;\n  uint uVar5;\n  size_t sVar6;\n  undefined1 *puVar7;\n  uint uVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  uint uVar12;\n  char *pcVar13;\n  uint uVar14;\n  char *pcVar15;\n  int iVar16;\n  undefined1 *puVar17;\n  int iVar18;\n  int in_GS_OFFSET;\n  char *local_40;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3fe99;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_0003dfb0(param_1,param_2);\n  local_40 = (char *)(iVar4 + param_1);\n  uVar5 = FUN_0003e040(param_1,iVar4);\n  uVar14 = param_2 + param_3;\n  sVar6 = strlen(local_40);\n  puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1);\n  cVar2 = *local_40;\n  if ((cVar2 == '\0') || (cVar2 == '\t')) {\n    iVar4 = 0;\n    goto joined_r0x0003ff74;\n  }\n  if (uVar5 < param_2) {\n    cVar2 = FUN_00017ac0(local_40);\n    if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar4 = FUN_00017f40(local_40);\n    if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    iVar4 = 1;\n    puVar17 = puVar7;\n  }\n  else {\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }\n  param_2 = param_2 + 1;\n  *puVar17 = 0x3c;\n  iVar9 = FUN_00018090(local_40,0,0);\n  local_40 = local_40 + iVar9;\n  cVar2 = *local_40;\njoined_r0x0003ff74:\n  do {\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  } while( true );\n}" type_identifier (pointer_declarator "* FUN_0003fe90(int param_1,uint param_2,int param_3,char param_4)" * (function_declarator "FUN_0003fe90(int param_1,uint param_2,int param_3,char param_4)" identifier (parameter_list "(int param_1,uint param_2,int param_3,char param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "char param_4" primitive_type identifier) )))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  undefined1 uVar3;\n  int iVar4;\n  uint uVar5;\n  size_t sVar6;\n  undefined1 *puVar7;\n  uint uVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  uint uVar12;\n  char *pcVar13;\n  uint uVar14;\n  char *pcVar15;\n  int iVar16;\n  undefined1 *puVar17;\n  int iVar18;\n  int in_GS_OFFSET;\n  char *local_40;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3fe99;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_0003dfb0(param_1,param_2);\n  local_40 = (char *)(iVar4 + param_1);\n  uVar5 = FUN_0003e040(param_1,iVar4);\n  uVar14 = param_2 + param_3;\n  sVar6 = strlen(local_40);\n  puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1);\n  cVar2 = *local_40;\n  if ((cVar2 == '\0') || (cVar2 == '\t')) {\n    iVar4 = 0;\n    goto joined_r0x0003ff74;\n  }\n  if (uVar5 < param_2) {\n    cVar2 = FUN_00017ac0(local_40);\n    if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar4 = FUN_00017f40(local_40);\n    if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    iVar4 = 1;\n    puVar17 = puVar7;\n  }\n  else {\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }\n  param_2 = param_2 + 1;\n  *puVar17 = 0x3c;\n  iVar9 = FUN_00018090(local_40,0,0);\n  local_40 = local_40 + iVar9;\n  cVar2 = *local_40;\njoined_r0x0003ff74:\n  do {\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  } while( true );\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined1 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "char *pcVar15;" primitive_type (pointer_declarator "*pcVar15" * identifier) ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "undefined1 *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char *local_40;" primitive_type (pointer_declarator "*local_40" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x3fe99;" (assignment_expression "uStack_14 = 0x3fe99" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = FUN_0003dfb0(param_1,param_2);" (assignment_expression "iVar4 = FUN_0003dfb0(param_1,param_2)" identifier = (call_expression "FUN_0003dfb0(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (expression_statement "local_40 = (char *)(iVar4 + param_1);" (assignment_expression "local_40 = (char *)(iVar4 + param_1)" identifier = (cast_expression "(char *)(iVar4 + param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + param_1)" ( (binary_expression "iVar4 + param_1" identifier + identifier) )))) ;) (expression_statement "uVar5 = FUN_0003e040(param_1,iVar4);" (assignment_expression "uVar5 = FUN_0003e040(param_1,iVar4)" identifier = (call_expression "FUN_0003e040(param_1,iVar4)" identifier (argument_list "(param_1,iVar4)" ( identifier , identifier )))) ;) (expression_statement "uVar14 = param_2 + param_3;" (assignment_expression "uVar14 = param_2 + param_3" identifier = (binary_expression "param_2 + param_3" identifier + identifier)) ;) (expression_statement "sVar6 = strlen(local_40);" (assignment_expression "sVar6 = strlen(local_40)" identifier = (call_expression "strlen(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (expression_statement "puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1);" (assignment_expression "puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1)" identifier = (cast_expression "(undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1)" identifier (argument_list "((DAT_0007b068 + 6) * sVar6 + 1)" ( (binary_expression "(DAT_0007b068 + 6) * sVar6 + 1" (binary_expression "(DAT_0007b068 + 6) * sVar6" (parenthesized_expression "(DAT_0007b068 + 6)" ( (binary_expression "DAT_0007b068 + 6" identifier + number_literal) )) * identifier) + number_literal) ))))) ;) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (if_statement "if ((cVar2 == '\0') || (cVar2 == '\t')) {\n    iVar4 = 0;\n    goto joined_r0x0003ff74;\n  }" if (parenthesized_expression "((cVar2 == '\0') || (cVar2 == '\t'))" ( (binary_expression "(cVar2 == '\0') || (cVar2 == '\t')" (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(cVar2 == '\t')" ( (binary_expression "cVar2 == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) ))) )) (compound_statement "{\n    iVar4 = 0;\n    goto joined_r0x0003ff74;\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto joined_r0x0003ff74;" goto statement_identifier ;) })) (if_statement "if (uVar5 < param_2) {\n    cVar2 = FUN_00017ac0(local_40);\n    if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar4 = FUN_00017f40(local_40);\n    if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    iVar4 = 1;\n    puVar17 = puVar7;\n  }\n  else {\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }" if (parenthesized_expression "(uVar5 < param_2)" ( (binary_expression "uVar5 < param_2" identifier < identifier) )) (compound_statement "{\n    cVar2 = FUN_00017ac0(local_40);\n    if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar4 = FUN_00017f40(local_40);\n    if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    iVar4 = 1;\n    puVar17 = puVar7;\n  }" { (expression_statement "cVar2 = FUN_00017ac0(local_40);" (assignment_expression "cVar2 = FUN_00017ac0(local_40)" identifier = (call_expression "FUN_00017ac0(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (if_statement "if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (expression_statement "uVar3 = FUN_00017d90(local_40,param_4);" (assignment_expression "uVar3 = FUN_00017d90(local_40,param_4)" identifier = (call_expression "FUN_00017d90(local_40,param_4)" identifier (argument_list "(local_40,param_4)" ( identifier , identifier )))) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar7 = uVar3;" (assignment_expression "*puVar7 = uVar3" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "iVar9 = FUN_00018090(local_40,0,0);" (assignment_expression "iVar9 = FUN_00018090(local_40,0,0)" identifier = (call_expression "FUN_00018090(local_40,0,0)" identifier (argument_list "(local_40,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "local_40 = local_40 + iVar9;" (assignment_expression "local_40 = local_40 + iVar9" identifier = (binary_expression "local_40 + iVar9" identifier + identifier)) ;) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (goto_statement "goto joined_r0x0003ff74;" goto statement_identifier ;) })) (expression_statement "iVar4 = FUN_00017f40(local_40);" (assignment_expression "iVar4 = FUN_00017f40(local_40)" identifier = (call_expression "FUN_00017f40(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (if_statement "if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }" if (parenthesized_expression "(iVar4 != 2)" ( (binary_expression "iVar4 != 2" identifier != number_literal) )) (compound_statement "{\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }" { (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto joined_r0x0003ff74;" goto statement_identifier ;) })) (labeled_statement "LAB_00040455:\n    iVar4 = 1;" statement_identifier : (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;)) (expression_statement "puVar17 = puVar7;" (assignment_expression "puVar17 = puVar7" identifier = identifier) ;) }) (else_clause "else {\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }" else (compound_statement "{\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }" { (if_statement "if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }" if (parenthesized_expression "(((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0))" ( (binary_expression "((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)" (parenthesized_expression "((uVar5 == 0) || (param_4 == '\0'))" ( (binary_expression "(uVar5 == 0) || (param_4 == '\0')" (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(param_4 == '\0')" ( (binary_expression "param_4 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) || (parenthesized_expression "((_DAT_0007b668 & 2) != 0)" ( (binary_expression "(_DAT_0007b668 & 2) != 0" (parenthesized_expression "(_DAT_0007b668 & 2)" ( (binary_expression "_DAT_0007b668 & 2" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n      iVar4 = 0;\n      goto LAB_00040018;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00040018;" goto statement_identifier ;) })) (expression_statement "cVar2 = FUN_00017ac0(local_40);" (assignment_expression "cVar2 = FUN_00017ac0(local_40)" identifier = (call_expression "FUN_00017ac0(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (if_statement "if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }" if (parenthesized_expression "((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2))" ( (binary_expression "(cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)" (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(iVar4 = FUN_00017f40(local_40), iVar4 != 2)" ( (comma_expression "iVar4 = FUN_00017f40(local_40), iVar4 != 2" (assignment_expression "iVar4 = FUN_00017f40(local_40)" identifier = (call_expression "FUN_00017f40(local_40)" identifier (argument_list "(local_40)" ( identifier )))) , (binary_expression "iVar4 != 2" identifier != number_literal)) ))) )) (compound_statement "{\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }" { (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto joined_r0x0003ff74;" goto statement_identifier ;) })) (if_statement "if (param_2 != uVar5) goto LAB_00040455;" if (parenthesized_expression "(param_2 != uVar5)" ( (binary_expression "param_2 != uVar5" identifier != identifier) )) (goto_statement "goto LAB_00040455;" goto statement_identifier ;)) (expression_statement "*puVar7 = 0x20;" (assignment_expression "*puVar7 = 0x20" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "puVar17 = puVar7 + 1;" (assignment_expression "puVar17 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) }))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "*puVar17 = 0x3c;" (assignment_expression "*puVar17 = 0x3c" (pointer_expression "*puVar17" * identifier) = number_literal) ;) (expression_statement "iVar9 = FUN_00018090(local_40,0,0);" (assignment_expression "iVar9 = FUN_00018090(local_40,0,0)" identifier = (call_expression "FUN_00018090(local_40,0,0)" identifier (argument_list "(local_40,0,0)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "local_40 = local_40 + iVar9;" (assignment_expression "local_40 = local_40 + iVar9" identifier = (binary_expression "local_40 + iVar9" identifier + identifier)) ;) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (labeled_statement "joined_r0x0003ff74:\n  do {\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  } while( true );" statement_identifier : (do_statement "do {\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  } while( true );" do (compound_statement "{\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  }" { (if_statement "if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }" { (labeled_statement "LAB_0004007e:\n      puVar17 = puVar7 + iVar4;" statement_identifier : (expression_statement "puVar17 = puVar7 + iVar4;" (assignment_expression "puVar17 = puVar7 + iVar4" identifier = (binary_expression "puVar7 + iVar4" identifier + identifier)) ;)) (labeled_statement "LAB_00040082:\n      *puVar17 = 0;" statement_identifier : (expression_statement "*puVar17 = 0;" (assignment_expression "*puVar17 = 0" (pointer_expression "*puVar17" * identifier) = number_literal) ;)) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n        FUN_0005a8b0();\n      }" { (expression_statement "FUN_0005a8b0();" (call_expression "FUN_0005a8b0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return puVar7;" return identifier ;) })) (labeled_statement "LAB_00040018:\n    iVar9 = DAT_0007ba58;" statement_identifier : (expression_statement "iVar9 = DAT_0007ba58;" (assignment_expression "iVar9 = DAT_0007ba58" identifier = identifier) ;)) (if_statement "if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }" if (parenthesized_expression "(uVar14 <= param_2)" ( (binary_expression "uVar14 <= param_2" identifier <= identifier) )) (compound_statement "{\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }" { (expression_statement "iVar9 = FUN_00017f40(local_40);" (assignment_expression "iVar9 = FUN_00017f40(local_40)" identifier = (call_expression "FUN_00017f40(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (if_statement "if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (compound_statement "{\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }" { (if_statement "if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }" if (parenthesized_expression "((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0))))))" ( (binary_expression "(*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))" (parenthesized_expression "(*local_40 != '\0')" ( (binary_expression "*local_40 != '\0'" (pointer_expression "*local_40" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))" ( (parenthesized_expression "(uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0))))" ( (binary_expression "uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))" (binary_expression "uVar14 < param_2" identifier < identifier) || (parenthesized_expression "((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))" ( (parenthesized_expression "(param_4 != '\0' && ((_DAT_0007b668 & 2) == 0))" ( (binary_expression "param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)" (binary_expression "param_4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "((_DAT_0007b668 & 2) == 0)" ( (binary_expression "(_DAT_0007b668 & 2) == 0" (parenthesized_expression "(_DAT_0007b668 & 2)" ( (binary_expression "_DAT_0007b668 & 2" identifier & number_literal) )) == number_literal) ))) )) ))) )) ))) )) (compound_statement "{\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }" { (expression_statement "iVar4 = FUN_000182e0(puVar7,iVar4);" (assignment_expression "iVar4 = FUN_000182e0(puVar7,iVar4)" identifier = (call_expression "FUN_000182e0(puVar7,iVar4)" identifier (argument_list "(puVar7,iVar4)" ( identifier , identifier )))) ;) (expression_statement "puVar17 = puVar7 + iVar4;" (assignment_expression "puVar17 = puVar7 + iVar4" identifier = (binary_expression "puVar7 + iVar4" identifier + identifier)) ;) (expression_statement "iVar9 = FUN_00017f40(puVar17);" (assignment_expression "iVar9 = FUN_00017f40(puVar17)" identifier = (call_expression "FUN_00017f40(puVar17)" identifier (argument_list "(puVar17)" ( identifier )))) ;) (if_statement "if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }" if (parenthesized_expression "(iVar9 == 2)" ( (binary_expression "iVar9 == 2" identifier == number_literal) )) (compound_statement "{\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }" { (expression_statement "*puVar17 = 0x3e;" (assignment_expression "*puVar17 = 0x3e" (pointer_expression "*puVar17" * identifier) = number_literal) ;) (expression_statement "puVar17 = puVar7 + iVar4 + 1;" (assignment_expression "puVar17 = puVar7 + iVar4 + 1" identifier = (binary_expression "puVar7 + iVar4 + 1" (binary_expression "puVar7 + iVar4" identifier + identifier) + number_literal)) ;) })) (goto_statement "goto LAB_00040082;" goto statement_identifier ;) })) (goto_statement "goto LAB_0004007e;" goto statement_identifier ;) })) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "iVar9 = DAT_0007ba58;" (assignment_expression "iVar9 = DAT_0007ba58" identifier = identifier) ;) })) (expression_statement "DAT_0007ba58 = iVar9;" (assignment_expression "DAT_0007ba58 = iVar9" identifier = identifier) ;) (if_statement "if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }" if (parenthesized_expression "(cVar2 == ' ')" ( (binary_expression "cVar2 == ' '" identifier == (char_literal "' '" ' character ')) )) (compound_statement "{\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }" { (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (if_statement "if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }" if (parenthesized_expression "((DAT_0007b664 & 0x2000000) == 0)" ( (binary_expression "(DAT_0007b664 & 0x2000000) == 0" (parenthesized_expression "(DAT_0007b664 & 0x2000000)" ( (binary_expression "DAT_0007b664 & 0x2000000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }" { (expression_statement "puVar7[iVar4] = 0x20;" (assignment_expression "puVar7[iVar4] = 0x20" (subscript_expression "puVar7[iVar4]" identifier [ identifier ]) = number_literal) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) (else_clause "else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }" else (if_statement "if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }" if (parenthesized_expression "(0 < DAT_0007ba5c)" ( (binary_expression "0 < DAT_0007ba5c" number_literal < identifier) )) (compound_statement "{\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }" { (expression_statement "iVar18 = iVar4 - iVar9;" (assignment_expression "iVar18 = iVar4 - iVar9" identifier = (binary_expression "iVar4 - iVar9" identifier - identifier)) ;) (expression_statement "iVar16 = iVar4 - iVar9;" (assignment_expression "iVar16 = iVar4 - iVar9" identifier = (binary_expression "iVar4 - iVar9" identifier - identifier)) ;) (do_statement "do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);" do (compound_statement "{\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        }" { (expression_statement "iVar4 = iVar16 + 1 + iVar9;" (assignment_expression "iVar4 = iVar16 + 1 + iVar9" identifier = (binary_expression "iVar16 + 1 + iVar9" (binary_expression "iVar16 + 1" identifier + number_literal) + identifier)) ;) (expression_statement "puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);" (assignment_expression "puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9)" (subscript_expression "puVar7[iVar9 + iVar18]" identifier [ (binary_expression "iVar9 + iVar18" identifier + identifier) ]) = (pointer_expression "*(undefined1 *)(DAT_0007b634 + iVar9)" * (cast_expression "(undefined1 *)(DAT_0007b634 + iVar9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0007b634 + iVar9)" ( (binary_expression "DAT_0007b634 + iVar9" identifier + identifier) ))))) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar9 < DAT_0007ba5c + DAT_0007ba58)" ( (binary_expression "iVar9 < DAT_0007ba5c + DAT_0007ba58" identifier < (binary_expression "DAT_0007ba5c + DAT_0007ba58" identifier + identifier)) )) ;) })))) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }" else (compound_statement "{\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }" { (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (if_statement "if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }" if (parenthesized_expression "(cVar2 == '\t')" ( (binary_expression "cVar2 == '\t'" identifier == (char_literal "'\t'" ' escape_sequence ')) )) (compound_statement "{\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }" { (if_statement "if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }" if (parenthesized_expression "((DAT_0007b664 & 0x2000000) == 0)" ( (binary_expression "(DAT_0007b664 & 0x2000000) == 0" (parenthesized_expression "(DAT_0007b664 & 0x2000000)" ( (binary_expression "DAT_0007b664 & 0x2000000" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }" { (labeled_statement "LAB_00040130:\n          puVar7[iVar4] = 0x20;" statement_identifier : (expression_statement "puVar7[iVar4] = 0x20;" (assignment_expression "puVar7[iVar4] = 0x20" (subscript_expression "puVar7[iVar4]" identifier [ identifier ]) = number_literal) ;)) (expression_statement "iVar16 = iVar4 + 1;" (assignment_expression "iVar16 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }" else (compound_statement "{\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }" { (if_statement "if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }" if (parenthesized_expression "(((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0))" ( (binary_expression "((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)" (parenthesized_expression "((iVar4 == 0) && (param_4 == '\x01'))" ( (binary_expression "(iVar4 == 0) && (param_4 == '\x01')" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(param_4 == '\x01')" ( (binary_expression "param_4 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) ))) )) && (parenthesized_expression "((_DAT_0007b668 & 2) != 0)" ( (binary_expression "(_DAT_0007b668 & 2) != 0" (parenthesized_expression "(_DAT_0007b668 & 2)" ( (binary_expression "_DAT_0007b668 & 2" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }" { (if_statement "if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;" if (parenthesized_expression "((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2))" ( (binary_expression "(param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)" (parenthesized_expression "(param_2 % DAT_0007b068 != 0)" ( (binary_expression "param_2 % DAT_0007b068 != 0" (binary_expression "param_2 % DAT_0007b068" identifier % identifier) != number_literal) )) && (parenthesized_expression "(uVar5 != param_2)" ( (binary_expression "uVar5 != param_2" identifier != identifier) ))) )) (goto_statement "goto LAB_00040130;" goto statement_identifier ;)) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) })) (expression_statement "iVar16 = iVar4;" (assignment_expression "iVar16 = iVar4" identifier = identifier) ;) (if_statement "if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }" if (parenthesized_expression "(0 < iVar9)" ( (binary_expression "0 < iVar9" number_literal < identifier) )) (compound_statement "{\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);" do (compound_statement "{\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            }" { (expression_statement "iVar16 = iVar4 + 1 + iVar9;" (assignment_expression "iVar16 = iVar4 + 1 + iVar9" identifier = (binary_expression "iVar4 + 1 + iVar9" (binary_expression "iVar4 + 1" identifier + number_literal) + identifier)) ;) (expression_statement "puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);" (assignment_expression "puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9)" (subscript_expression "puVar7[iVar9 + iVar4]" identifier [ (binary_expression "iVar9 + iVar4" identifier + identifier) ]) = (pointer_expression "*(undefined1 *)(DAT_0007b634 + iVar9)" * (cast_expression "(undefined1 *)(DAT_0007b634 + iVar9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0007b634 + iVar9)" ( (binary_expression "DAT_0007b634 + iVar9" identifier + identifier) ))))) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar9 < DAT_0007ba58)" ( (binary_expression "iVar9 < DAT_0007ba58" identifier < identifier) )) ;) })) }))) (expression_statement "uVar8 = param_2 + 1;" (assignment_expression "uVar8 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (if_statement "if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }" if (parenthesized_expression "((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14))" ( (binary_expression "(uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)" (parenthesized_expression "(uVar8 % DAT_0007b068 != 0)" ( (binary_expression "uVar8 % DAT_0007b068 != 0" (binary_expression "uVar8 % DAT_0007b068" identifier % identifier) != number_literal) )) && (parenthesized_expression "(uVar8 < uVar14)" ( (binary_expression "uVar8 < uVar14" identifier < identifier) ))) )) (compound_statement "{\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }" { (expression_statement "iVar4 = iVar16 - param_2;" (assignment_expression "iVar4 = iVar16 - param_2" identifier = (binary_expression "iVar16 - param_2" identifier - identifier)) ;) (do_statement "do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);" do (compound_statement "{\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          }" { (expression_statement "puVar7[uVar8 + iVar4 + -1] = 0x20;" (assignment_expression "puVar7[uVar8 + iVar4 + -1] = 0x20" (subscript_expression "puVar7[uVar8 + iVar4 + -1]" identifier [ (binary_expression "uVar8 + iVar4 + -1" (binary_expression "uVar8 + iVar4" identifier + identifier) + number_literal) ]) = number_literal) ;) (expression_statement "iVar16 = iVar4 + uVar8;" (assignment_expression "iVar16 = iVar4 + uVar8" identifier = (binary_expression "iVar4 + uVar8" identifier + identifier)) ;) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (if_statement "if (uVar8 % DAT_0007b068 == 0) break;" if (parenthesized_expression "(uVar8 % DAT_0007b068 == 0)" ( (binary_expression "uVar8 % DAT_0007b068 == 0" (binary_expression "uVar8 % DAT_0007b068" identifier % identifier) == number_literal) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(uVar8 < uVar14)" ( (binary_expression "uVar8 < uVar14" identifier < identifier) )) ;) })) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (expression_statement "param_2 = uVar8;" (assignment_expression "param_2 = uVar8" identifier = identifier) ;) }) (else_clause "else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }" else (compound_statement "{\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }" { (expression_statement "uVar8 = FUN_00017e50(local_40,&local_24);" (assignment_expression "uVar8 = FUN_00017e50(local_40,&local_24)" identifier = (call_expression "FUN_00017e50(local_40,&local_24)" identifier (argument_list "(local_40,&local_24)" ( identifier , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "cVar2 = FUN_00017ac0(local_40);" (assignment_expression "cVar2 = FUN_00017ac0(local_40)" identifier = (call_expression "FUN_00017ac0(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (expression_statement "pcVar13 = puVar7 + iVar4;" (assignment_expression "pcVar13 = puVar7 + iVar4" identifier = (binary_expression "puVar7 + iVar4" identifier + identifier)) ;) (if_statement "if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }" { (if_statement "if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }" if (parenthesized_expression "((int)uVar8 < 1)" ( (binary_expression "(int)uVar8 < 1" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }" { (expression_statement "*pcVar13 = -0x11;" (assignment_expression "*pcVar13 = -0x11" (pointer_expression "*pcVar13" * identifier) = number_literal) ;) (expression_statement "iVar16 = iVar4 + 3;" (assignment_expression "iVar16 = iVar4 + 3" identifier = (binary_expression "iVar4 + 3" identifier + number_literal)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "puVar7[iVar4 + 1] = 0xbf;" (assignment_expression "puVar7[iVar4 + 1] = 0xbf" (subscript_expression "puVar7[iVar4 + 1]" identifier [ (binary_expression "iVar4 + 1" identifier + number_literal) ]) = number_literal) ;) (expression_statement "puVar7[iVar4 + 2] = 0xbd;" (assignment_expression "puVar7[iVar4 + 2] = 0xbd" (subscript_expression "puVar7[iVar4 + 2]" identifier [ (binary_expression "iVar4 + 2" identifier + number_literal) ]) = number_literal) ;) (expression_statement "pcVar13 = local_40 + uVar8 + 8;" (assignment_expression "pcVar13 = local_40 + uVar8 + 8" identifier = (binary_expression "local_40 + uVar8 + 8" (binary_expression "local_40 + uVar8" identifier + identifier) + number_literal)) ;) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" identifier = (binary_expression "local_40 + 1" identifier + number_literal)) ;) (if_statement "if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }" if (parenthesized_expression "((int)uVar8 < -1)" ( (binary_expression "(int)uVar8 < -1" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n              local_40 = pcVar13;\n            }" { (expression_statement "local_40 = pcVar13;" (assignment_expression "local_40 = pcVar13" identifier = identifier) ;) })) }) (else_clause "else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }" else (compound_statement "{\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }" { (if_statement "if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }" if (parenthesized_expression "((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4))" ( (binary_expression "(pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)" (parenthesized_expression "(pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0)" ( (binary_expression "pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0" (binary_expression "pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4" (binary_expression "pcVar13 < local_40 + 4" identifier < (binary_expression "local_40 + 4" identifier + number_literal)) && (binary_expression "local_40 < puVar7 + iVar4 + 4" identifier < (binary_expression "puVar7 + iVar4 + 4" (binary_expression "puVar7 + iVar4" identifier + identifier) + number_literal))) || (binary_expression "(((uint)pcVar13 | (uint)local_40) & 3) != 0" (parenthesized_expression "(((uint)pcVar13 | (uint)local_40) & 3)" ( (binary_expression "((uint)pcVar13 | (uint)local_40) & 3" (parenthesized_expression "((uint)pcVar13 | (uint)local_40)" ( (binary_expression "(uint)pcVar13 | (uint)local_40" (cast_expression "(uint)pcVar13" ( (type_descriptor "uint" type_identifier) ) identifier) | (cast_expression "(uint)local_40" ( (type_descriptor "uint" type_identifier) ) identifier)) )) & number_literal) )) != number_literal)) )) || (parenthesized_expression "(uVar8 - 1 < 4)" ( (binary_expression "uVar8 - 1 < 4" (binary_expression "uVar8 - 1" identifier - number_literal) < number_literal) ))) )) (compound_statement "{\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }" { (expression_statement "pcVar10 = local_40;" (assignment_expression "pcVar10 = local_40" identifier = identifier) ;) (do_statement "do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);" do (compound_statement "{\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              }" { (expression_statement "pcVar15 = pcVar10 + 1;" (assignment_expression "pcVar15 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar13 = *pcVar10;" (assignment_expression "*pcVar13 = *pcVar10" (pointer_expression "*pcVar13" * identifier) = (pointer_expression "*pcVar10" * identifier)) ;) (expression_statement "pcVar13 = pcVar13 + 1;" (assignment_expression "pcVar13 = pcVar13 + 1" identifier = (binary_expression "pcVar13 + 1" identifier + number_literal)) ;) (expression_statement "pcVar10 = pcVar15;" (assignment_expression "pcVar10 = pcVar15" identifier = identifier) ;) }) while (parenthesized_expression "(local_40 + uVar8 != pcVar15)" ( (binary_expression "local_40 + uVar8 != pcVar15" (binary_expression "local_40 + uVar8" identifier + identifier) != identifier) )) ;) }) (else_clause "else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }" else (compound_statement "{\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }" { (expression_statement "pcVar10 = pcVar13;" (assignment_expression "pcVar10 = pcVar13" identifier = identifier) ;) (expression_statement "pcVar15 = local_40;" (assignment_expression "pcVar15 = local_40" identifier = identifier) ;) (do_statement "do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));" do (compound_statement "{\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              }" { (expression_statement "uVar1 = *(undefined4 *)pcVar15;" (assignment_expression "uVar1 = *(undefined4 *)pcVar15" identifier = (pointer_expression "*(undefined4 *)pcVar15" * (cast_expression "(undefined4 *)pcVar15" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar11 = pcVar10 + 4;" (assignment_expression "pcVar11 = pcVar10 + 4" identifier = (binary_expression "pcVar10 + 4" identifier + number_literal)) ;) (expression_statement "pcVar15 = pcVar15 + 4;" (assignment_expression "pcVar15 = pcVar15 + 4" identifier = (binary_expression "pcVar15 + 4" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)pcVar10 = uVar1;" (assignment_expression "*(undefined4 *)pcVar10 = uVar1" (pointer_expression "*(undefined4 *)pcVar10" * (cast_expression "(undefined4 *)pcVar10" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "pcVar10 = pcVar11;" (assignment_expression "pcVar10 = pcVar11" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar11 != pcVar13 + (uVar8 & 0xfffffffc))" ( (binary_expression "pcVar11 != pcVar13 + (uVar8 & 0xfffffffc)" identifier != (binary_expression "pcVar13 + (uVar8 & 0xfffffffc)" identifier + (parenthesized_expression "(uVar8 & 0xfffffffc)" ( (binary_expression "uVar8 & 0xfffffffc" identifier & number_literal) )))) )) ;) (expression_statement "uVar12 = uVar8 & 0xfffffffc;" (assignment_expression "uVar12 = uVar8 & 0xfffffffc" identifier = (binary_expression "uVar8 & 0xfffffffc" identifier & number_literal)) ;) (expression_statement "pcVar13 = local_40 + uVar12;" (assignment_expression "pcVar13 = local_40 + uVar12" identifier = (binary_expression "local_40 + uVar12" identifier + identifier)) ;) (expression_statement "iVar9 = uVar12 + iVar4;" (assignment_expression "iVar9 = uVar12 + iVar4" identifier = (binary_expression "uVar12 + iVar4" identifier + identifier)) ;) (if_statement "if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }" if (parenthesized_expression "(((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2))" ( (binary_expression "((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)" (parenthesized_expression "((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1))" ( (binary_expression "(uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)" (parenthesized_expression "(uVar12 != uVar8)" ( (binary_expression "uVar12 != uVar8" identifier != identifier) )) && (parenthesized_expression "(puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)" ( (comma_expression "puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1" (assignment_expression "puVar7[iVar9] = *pcVar13" (subscript_expression "puVar7[iVar9]" identifier [ identifier ]) = (pointer_expression "*pcVar13" * identifier)) , (binary_expression "uVar8 - uVar12 != 1" (binary_expression "uVar8 - uVar12" identifier - identifier) != number_literal)) ))) )) && (parenthesized_expression "(puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)" ( (comma_expression "puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2" (assignment_expression "puVar7[iVar9 + 1] = pcVar13[1]" (subscript_expression "puVar7[iVar9 + 1]" identifier [ (binary_expression "iVar9 + 1" identifier + number_literal) ]) = (subscript_expression "pcVar13[1]" identifier [ number_literal ])) , (binary_expression "uVar8 - uVar12 != 2" (binary_expression "uVar8 - uVar12" identifier - identifier) != number_literal)) ))) )) (compound_statement "{\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }" { (expression_statement "puVar7[iVar9 + 2] = pcVar13[2];" (assignment_expression "puVar7[iVar9 + 2] = pcVar13[2]" (subscript_expression "puVar7[iVar9 + 2]" identifier [ (binary_expression "iVar9 + 2" identifier + number_literal) ]) = (subscript_expression "pcVar13[2]" identifier [ number_literal ])) ;) })) }))) (expression_statement "local_40 = local_40 + uVar8;" (assignment_expression "local_40 = local_40 + uVar8" identifier = (binary_expression "local_40 + uVar8" identifier + identifier)) ;) (expression_statement "iVar16 = iVar4 + uVar8;" (assignment_expression "iVar16 = iVar4 + uVar8" identifier = (binary_expression "iVar4 + uVar8" identifier + identifier)) ;) (expression_statement "param_2 = param_2 + local_24;" (assignment_expression "param_2 = param_2 + local_24" identifier = (binary_expression "param_2 + local_24" identifier + identifier)) ;) }))) }) (else_clause "else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }" else (compound_statement "{\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }" { (expression_statement "*pcVar13 = '^';" (assignment_expression "*pcVar13 = '^'" (pointer_expression "*pcVar13" * identifier) = (char_literal "'^'" ' character ')) ;) (expression_statement "iVar16 = iVar4 + 2;" (assignment_expression "iVar16 = iVar4 + 2" identifier = (binary_expression "iVar4 + 2" identifier + number_literal)) ;) (expression_statement "uVar3 = FUN_00017d90(local_40,param_4);" (assignment_expression "uVar3 = FUN_00017d90(local_40,param_4)" identifier = (call_expression "FUN_00017d90(local_40,param_4)" identifier (argument_list "(local_40,param_4)" ( identifier , identifier )))) ;) (expression_statement "puVar7[iVar4 + 1] = uVar3;" (assignment_expression "puVar7[iVar4 + 1] = uVar3" (subscript_expression "puVar7[iVar4 + 1]" identifier [ (binary_expression "iVar4 + 1" identifier + number_literal) ]) = identifier) ;) (expression_statement "local_40 = local_40 + uVar8;" (assignment_expression "local_40 = local_40 + uVar8" identifier = (binary_expression "local_40 + uVar8" identifier + identifier)) ;) (expression_statement "param_2 = param_2 + 2;" (assignment_expression "param_2 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) }))) }))) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" identifier = (pointer_expression "*local_40" * identifier)) ;) (expression_statement "iVar4 = iVar16;" (assignment_expression "iVar4 = iVar16" identifier = identifier) ;) }))) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) ))) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT < IDENT) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != (char_literal ' escape_sequence ')) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) })) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + IDENT) ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT + IDENT)) )) ;) })))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT % IDENT) != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + IDENT) ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT % IDENT) != LIT) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (binary_expression IDENT + IDENT) + LIT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT % IDENT) == LIT) )) (break_statement break ;)) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT < (binary_expression IDENT + LIT)) && (binary_expression IDENT < (binary_expression (binary_expression IDENT + IDENT) + LIT))) || (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) | (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) & LIT) )) != LIT)) )) || (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) != IDENT) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT & LIT) )))) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression (subscript_expression IDENT [ IDENT ]) = (pointer_expression * IDENT)) , (binary_expression (binary_expression IDENT - IDENT) != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (subscript_expression IDENT [ LIT ])) , (binary_expression (binary_expression IDENT - IDENT) != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (subscript_expression IDENT [ LIT ])) ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' character ')) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) }) while (parenthesized_expression ( BOOL )) ;)) })))
(function_definition "undefined1 * FUN_0003fe90(int param_1,uint param_2,int param_3,char param_4)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  undefined1 uVar3;\n  int iVar4;\n  uint uVar5;\n  size_t sVar6;\n  undefined1 *puVar7;\n  uint uVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  uint uVar12;\n  char *pcVar13;\n  uint uVar14;\n  char *pcVar15;\n  int iVar16;\n  undefined1 *puVar17;\n  int iVar18;\n  int in_GS_OFFSET;\n  char *local_40;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3fe99;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_0003dfb0(param_1,param_2);\n  local_40 = (char *)(iVar4 + param_1);\n  uVar5 = FUN_0003e040(param_1,iVar4);\n  uVar14 = param_2 + param_3;\n  sVar6 = strlen(local_40);\n  puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1);\n  cVar2 = *local_40;\n  if ((cVar2 == '\0') || (cVar2 == '\t')) {\n    iVar4 = 0;\n    goto joined_r0x0003ff74;\n  }\n  if (uVar5 < param_2) {\n    cVar2 = FUN_00017ac0(local_40);\n    if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar4 = FUN_00017f40(local_40);\n    if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    iVar4 = 1;\n    puVar17 = puVar7;\n  }\n  else {\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }\n  param_2 = param_2 + 1;\n  *puVar17 = 0x3c;\n  iVar9 = FUN_00018090(local_40,0,0);\n  local_40 = local_40 + iVar9;\n  cVar2 = *local_40;\njoined_r0x0003ff74:\n  do {\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  } while( true );\n}" (type_identifier "undefined1") (pointer_declarator "* FUN_0003fe90(int param_1,uint param_2,int param_3,char param_4)" (* "*") (function_declarator "FUN_0003fe90(int param_1,uint param_2,int param_3,char param_4)" (identifier "FUN_0003fe90") (parameter_list "(int param_1,uint param_2,int param_3,char param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "char param_4" (primitive_type "char") (identifier "param_4")) () ")")))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  undefined1 uVar3;\n  int iVar4;\n  uint uVar5;\n  size_t sVar6;\n  undefined1 *puVar7;\n  uint uVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  uint uVar12;\n  char *pcVar13;\n  uint uVar14;\n  char *pcVar15;\n  int iVar16;\n  undefined1 *puVar17;\n  int iVar18;\n  int in_GS_OFFSET;\n  char *local_40;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x3fe99;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_0003dfb0(param_1,param_2);\n  local_40 = (char *)(iVar4 + param_1);\n  uVar5 = FUN_0003e040(param_1,iVar4);\n  uVar14 = param_2 + param_3;\n  sVar6 = strlen(local_40);\n  puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1);\n  cVar2 = *local_40;\n  if ((cVar2 == '\0') || (cVar2 == '\t')) {\n    iVar4 = 0;\n    goto joined_r0x0003ff74;\n  }\n  if (uVar5 < param_2) {\n    cVar2 = FUN_00017ac0(local_40);\n    if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar4 = FUN_00017f40(local_40);\n    if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    iVar4 = 1;\n    puVar17 = puVar7;\n  }\n  else {\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }\n  param_2 = param_2 + 1;\n  *puVar17 = 0x3c;\n  iVar9 = FUN_00018090(local_40,0,0);\n  local_40 = local_40 + iVar9;\n  cVar2 = *local_40;\njoined_r0x0003ff74:\n  do {\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  } while( true );\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "undefined1 uVar3;" (type_identifier "undefined1") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "size_t sVar6;" (primitive_type "size_t") (identifier "sVar6") (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "char *pcVar10;" (primitive_type "char") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "char *pcVar11;" (primitive_type "char") (pointer_declarator "*pcVar11" (* "*") (identifier "pcVar11")) (; ";")) (declaration "uint uVar12;" (type_identifier "uint") (identifier "uVar12") (; ";")) (declaration "char *pcVar13;" (primitive_type "char") (pointer_declarator "*pcVar13" (* "*") (identifier "pcVar13")) (; ";")) (declaration "uint uVar14;" (type_identifier "uint") (identifier "uVar14") (; ";")) (declaration "char *pcVar15;" (primitive_type "char") (pointer_declarator "*pcVar15" (* "*") (identifier "pcVar15")) (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "undefined1 *puVar17;" (type_identifier "undefined1") (pointer_declarator "*puVar17" (* "*") (identifier "puVar17")) (; ";")) (declaration "int iVar18;" (primitive_type "int") (identifier "iVar18") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "char *local_40;" (primitive_type "char") (pointer_declarator "*local_40" (* "*") (identifier "local_40")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x3fe99;" (assignment_expression "uStack_14 = 0x3fe99" (identifier "uStack_14") (= "=") (number_literal "0x3fe99")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar4 = FUN_0003dfb0(param_1,param_2);" (assignment_expression "iVar4 = FUN_0003dfb0(param_1,param_2)" (identifier "iVar4") (= "=") (call_expression "FUN_0003dfb0(param_1,param_2)" (identifier "FUN_0003dfb0") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "local_40 = (char *)(iVar4 + param_1);" (assignment_expression "local_40 = (char *)(iVar4 + param_1)" (identifier "local_40") (= "=") (cast_expression "(char *)(iVar4 + param_1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + param_1)" (( "(") (binary_expression "iVar4 + param_1" (identifier "iVar4") (+ "+") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "uVar5 = FUN_0003e040(param_1,iVar4);" (assignment_expression "uVar5 = FUN_0003e040(param_1,iVar4)" (identifier "uVar5") (= "=") (call_expression "FUN_0003e040(param_1,iVar4)" (identifier "FUN_0003e040") (argument_list "(param_1,iVar4)" (( "(") (identifier "param_1") (, ",") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "uVar14 = param_2 + param_3;" (assignment_expression "uVar14 = param_2 + param_3" (identifier "uVar14") (= "=") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3"))) (; ";")) (expression_statement "sVar6 = strlen(local_40);" (assignment_expression "sVar6 = strlen(local_40)" (identifier "sVar6") (= "=") (call_expression "strlen(local_40)" (identifier "strlen") (argument_list "(local_40)" (( "(") (identifier "local_40") () ")")))) (; ";")) (expression_statement "puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1);" (assignment_expression "puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1)" (identifier "puVar7") (= "=") (cast_expression "(undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1)" (identifier "FUN_0003da70") (argument_list "((DAT_0007b068 + 6) * sVar6 + 1)" (( "(") (binary_expression "(DAT_0007b068 + 6) * sVar6 + 1" (binary_expression "(DAT_0007b068 + 6) * sVar6" (parenthesized_expression "(DAT_0007b068 + 6)" (( "(") (binary_expression "DAT_0007b068 + 6" (identifier "DAT_0007b068") (+ "+") (number_literal "6")) () ")")) (* "*") (identifier "sVar6")) (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" (identifier "cVar2") (= "=") (pointer_expression "*local_40" (* "*") (identifier "local_40"))) (; ";")) (if_statement "if ((cVar2 == '\0') || (cVar2 == '\t')) {\n    iVar4 = 0;\n    goto joined_r0x0003ff74;\n  }" (if "if") (parenthesized_expression "((cVar2 == '\0') || (cVar2 == '\t'))" (( "(") (binary_expression "(cVar2 == '\0') || (cVar2 == '\t')" (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(cVar2 == '\t')" (( "(") (binary_expression "cVar2 == '\t'" (identifier "cVar2") (== "==") (char_literal "'\t'" (' "'") (escape_sequence "\t") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    iVar4 = 0;\n    goto joined_r0x0003ff74;\n  }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto joined_r0x0003ff74;" (goto "goto") (statement_identifier "joined_r0x0003ff74") (; ";")) (} "}"))) (if_statement "if (uVar5 < param_2) {\n    cVar2 = FUN_00017ac0(local_40);\n    if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar4 = FUN_00017f40(local_40);\n    if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    iVar4 = 1;\n    puVar17 = puVar7;\n  }\n  else {\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }" (if "if") (parenthesized_expression "(uVar5 < param_2)" (( "(") (binary_expression "uVar5 < param_2" (identifier "uVar5") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    cVar2 = FUN_00017ac0(local_40);\n    if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }\n    iVar4 = FUN_00017f40(local_40);\n    if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\nLAB_00040455:\n    iVar4 = 1;\n    puVar17 = puVar7;\n  }" ({ "{") (expression_statement "cVar2 = FUN_00017ac0(local_40);" (assignment_expression "cVar2 = FUN_00017ac0(local_40)" (identifier "cVar2") (= "=") (call_expression "FUN_00017ac0(local_40)" (identifier "FUN_00017ac0") (argument_list "(local_40)" (( "(") (identifier "local_40") () ")")))) (; ";")) (if_statement "if (cVar2 != '\0') {\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      iVar4 = 1;\n      uVar3 = FUN_00017d90(local_40,param_4);\n      param_2 = param_2 + 1;\n      *puVar7 = uVar3;\n      iVar9 = FUN_00018090(local_40,0,0);\n      local_40 = local_40 + iVar9;\n      cVar2 = *local_40;\n      goto joined_r0x0003ff74;\n    }" ({ "{") (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar3 = FUN_00017d90(local_40,param_4);" (assignment_expression "uVar3 = FUN_00017d90(local_40,param_4)" (identifier "uVar3") (= "=") (call_expression "FUN_00017d90(local_40,param_4)" (identifier "FUN_00017d90") (argument_list "(local_40,param_4)" (( "(") (identifier "local_40") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar7 = uVar3;" (assignment_expression "*puVar7 = uVar3" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "iVar9 = FUN_00018090(local_40,0,0);" (assignment_expression "iVar9 = FUN_00018090(local_40,0,0)" (identifier "iVar9") (= "=") (call_expression "FUN_00018090(local_40,0,0)" (identifier "FUN_00018090") (argument_list "(local_40,0,0)" (( "(") (identifier "local_40") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "local_40 = local_40 + iVar9;" (assignment_expression "local_40 = local_40 + iVar9" (identifier "local_40") (= "=") (binary_expression "local_40 + iVar9" (identifier "local_40") (+ "+") (identifier "iVar9"))) (; ";")) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" (identifier "cVar2") (= "=") (pointer_expression "*local_40" (* "*") (identifier "local_40"))) (; ";")) (goto_statement "goto joined_r0x0003ff74;" (goto "goto") (statement_identifier "joined_r0x0003ff74") (; ";")) (} "}"))) (expression_statement "iVar4 = FUN_00017f40(local_40);" (assignment_expression "iVar4 = FUN_00017f40(local_40)" (identifier "iVar4") (= "=") (call_expression "FUN_00017f40(local_40)" (identifier "FUN_00017f40") (argument_list "(local_40)" (( "(") (identifier "local_40") () ")")))) (; ";")) (if_statement "if (iVar4 != 2) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }" (if "if") (parenthesized_expression "(iVar4 != 2)" (( "(") (binary_expression "iVar4 != 2" (identifier "iVar4") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }" ({ "{") (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" (identifier "cVar2") (= "=") (pointer_expression "*local_40" (* "*") (identifier "local_40"))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto joined_r0x0003ff74;" (goto "goto") (statement_identifier "joined_r0x0003ff74") (; ";")) (} "}"))) (labeled_statement "LAB_00040455:\n    iVar4 = 1;" (statement_identifier "LAB_00040455") (: ":") (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";"))) (expression_statement "puVar17 = puVar7;" (assignment_expression "puVar17 = puVar7" (identifier "puVar17") (= "=") (identifier "puVar7")) (; ";")) (} "}")) (else_clause "else {\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }" (else "else") (compound_statement "{\n    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }\n    cVar2 = FUN_00017ac0(local_40);\n    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }\n    if (param_2 != uVar5) goto LAB_00040455;\n    *puVar7 = 0x20;\n    iVar4 = 2;\n    param_2 = param_2 + 1;\n    puVar17 = puVar7 + 1;\n  }" ({ "{") (if_statement "if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {\n      iVar4 = 0;\n      goto LAB_00040018;\n    }" (if "if") (parenthesized_expression "(((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0))" (( "(") (binary_expression "((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)" (parenthesized_expression "((uVar5 == 0) || (param_4 == '\0'))" (( "(") (binary_expression "(uVar5 == 0) || (param_4 == '\0')" (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_4 == '\0')" (( "(") (binary_expression "param_4 == '\0'" (identifier "param_4") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "((_DAT_0007b668 & 2) != 0)" (( "(") (binary_expression "(_DAT_0007b668 & 2) != 0" (parenthesized_expression "(_DAT_0007b668 & 2)" (( "(") (binary_expression "_DAT_0007b668 & 2" (identifier "_DAT_0007b668") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      iVar4 = 0;\n      goto LAB_00040018;\n    }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00040018;" (goto "goto") (statement_identifier "LAB_00040018") (; ";")) (} "}"))) (expression_statement "cVar2 = FUN_00017ac0(local_40);" (assignment_expression "cVar2 = FUN_00017ac0(local_40)" (identifier "cVar2") (= "=") (call_expression "FUN_00017ac0(local_40)" (identifier "FUN_00017ac0") (argument_list "(local_40)" (( "(") (identifier "local_40") () ")")))) (; ";")) (if_statement "if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }" (if "if") (parenthesized_expression "((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2))" (( "(") (binary_expression "(cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)" (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(iVar4 = FUN_00017f40(local_40), iVar4 != 2)" (( "(") (comma_expression "iVar4 = FUN_00017f40(local_40), iVar4 != 2" (assignment_expression "iVar4 = FUN_00017f40(local_40)" (identifier "iVar4") (= "=") (call_expression "FUN_00017f40(local_40)" (identifier "FUN_00017f40") (argument_list "(local_40)" (( "(") (identifier "local_40") () ")")))) (, ",") (binary_expression "iVar4 != 2" (identifier "iVar4") (!= "!=") (number_literal "2"))) () ")"))) () ")")) (compound_statement "{\n      cVar2 = *local_40;\n      iVar4 = 0;\n      goto joined_r0x0003ff74;\n    }" ({ "{") (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" (identifier "cVar2") (= "=") (pointer_expression "*local_40" (* "*") (identifier "local_40"))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto joined_r0x0003ff74;" (goto "goto") (statement_identifier "joined_r0x0003ff74") (; ";")) (} "}"))) (if_statement "if (param_2 != uVar5) goto LAB_00040455;" (if "if") (parenthesized_expression "(param_2 != uVar5)" (( "(") (binary_expression "param_2 != uVar5" (identifier "param_2") (!= "!=") (identifier "uVar5")) () ")")) (goto_statement "goto LAB_00040455;" (goto "goto") (statement_identifier "LAB_00040455") (; ";"))) (expression_statement "*puVar7 = 0x20;" (assignment_expression "*puVar7 = 0x20" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (number_literal "0x20")) (; ";")) (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" (identifier "iVar4") (= "=") (number_literal "2")) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar17 = puVar7 + 1;" (assignment_expression "puVar17 = puVar7 + 1" (identifier "puVar17") (= "=") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar17 = 0x3c;" (assignment_expression "*puVar17 = 0x3c" (pointer_expression "*puVar17" (* "*") (identifier "puVar17")) (= "=") (number_literal "0x3c")) (; ";")) (expression_statement "iVar9 = FUN_00018090(local_40,0,0);" (assignment_expression "iVar9 = FUN_00018090(local_40,0,0)" (identifier "iVar9") (= "=") (call_expression "FUN_00018090(local_40,0,0)" (identifier "FUN_00018090") (argument_list "(local_40,0,0)" (( "(") (identifier "local_40") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "local_40 = local_40 + iVar9;" (assignment_expression "local_40 = local_40 + iVar9" (identifier "local_40") (= "=") (binary_expression "local_40 + iVar9" (identifier "local_40") (+ "+") (identifier "iVar9"))) (; ";")) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" (identifier "cVar2") (= "=") (pointer_expression "*local_40" (* "*") (identifier "local_40"))) (; ";")) (labeled_statement "joined_r0x0003ff74:\n  do {\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  } while( true );" (statement_identifier "joined_r0x0003ff74") (: ":") (do_statement "do {\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }\nLAB_00040018:\n    iVar9 = DAT_0007ba58;\n    if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }\n    DAT_0007ba58 = iVar9;\n    if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }\n  }" ({ "{") (if_statement "if (cVar2 == '\0') {\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\nLAB_0004007e:\n      puVar17 = puVar7 + iVar4;\nLAB_00040082:\n      *puVar17 = 0;\n      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }\n      return puVar7;\n    }" ({ "{") (labeled_statement "LAB_0004007e:\n      puVar17 = puVar7 + iVar4;" (statement_identifier "LAB_0004007e") (: ":") (expression_statement "puVar17 = puVar7 + iVar4;" (assignment_expression "puVar17 = puVar7 + iVar4" (identifier "puVar17") (= "=") (binary_expression "puVar7 + iVar4" (identifier "puVar7") (+ "+") (identifier "iVar4"))) (; ";"))) (labeled_statement "LAB_00040082:\n      *puVar17 = 0;" (statement_identifier "LAB_00040082") (: ":") (expression_statement "*puVar17 = 0;" (assignment_expression "*puVar17 = 0" (pointer_expression "*puVar17" (* "*") (identifier "puVar17")) (= "=") (number_literal "0")) (; ";"))) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n        FUN_0005a8b0();\n      }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n        FUN_0005a8b0();\n      }" ({ "{") (expression_statement "FUN_0005a8b0();" (call_expression "FUN_0005a8b0()" (identifier "FUN_0005a8b0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return puVar7;" (return "return") (identifier "puVar7") (; ";")) (} "}"))) (labeled_statement "LAB_00040018:\n    iVar9 = DAT_0007ba58;" (statement_identifier "LAB_00040018") (: ":") (expression_statement "iVar9 = DAT_0007ba58;" (assignment_expression "iVar9 = DAT_0007ba58" (identifier "iVar9") (= "=") (identifier "DAT_0007ba58")) (; ";"))) (if_statement "if (uVar14 <= param_2) {\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }" (if "if") (parenthesized_expression "(uVar14 <= param_2)" (( "(") (binary_expression "uVar14 <= param_2" (identifier "uVar14") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n      iVar9 = FUN_00017f40(local_40);\n      if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }\n      cVar2 = *local_40;\n      iVar9 = DAT_0007ba58;\n    }" ({ "{") (expression_statement "iVar9 = FUN_00017f40(local_40);" (assignment_expression "iVar9 = FUN_00017f40(local_40)" (identifier "iVar9") (= "=") (call_expression "FUN_00017f40(local_40)" (identifier "FUN_00017f40") (argument_list "(local_40)" (( "(") (identifier "local_40") () ")")))) (; ";")) (if_statement "if (iVar9 != 0) {\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }" (if "if") (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }\n        goto LAB_0004007e;\n      }" ({ "{") (if_statement "if ((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }" (if "if") (parenthesized_expression "((*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0))))))" (( "(") (binary_expression "(*local_40 != '\0') &&\n           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))" (parenthesized_expression "(*local_40 != '\0')" (( "(") (binary_expression "*local_40 != '\0'" (pointer_expression "*local_40" (* "*") (identifier "local_40")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))" (( "(") (parenthesized_expression "(uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0))))" (( "(") (binary_expression "uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))" (binary_expression "uVar14 < param_2" (identifier "uVar14") (< "<") (identifier "param_2")) (|| "||") (parenthesized_expression "((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))" (( "(") (parenthesized_expression "(param_4 != '\0' && ((_DAT_0007b668 & 2) == 0))" (( "(") (binary_expression "param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)" (binary_expression "param_4 != '\0'" (identifier "param_4") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (parenthesized_expression "((_DAT_0007b668 & 2) == 0)" (( "(") (binary_expression "(_DAT_0007b668 & 2) == 0" (parenthesized_expression "(_DAT_0007b668 & 2)" (( "(") (binary_expression "_DAT_0007b668 & 2" (identifier "_DAT_0007b668") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n          iVar4 = FUN_000182e0(puVar7,iVar4);\n          puVar17 = puVar7 + iVar4;\n          iVar9 = FUN_00017f40(puVar17);\n          if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }\n          goto LAB_00040082;\n        }" ({ "{") (expression_statement "iVar4 = FUN_000182e0(puVar7,iVar4);" (assignment_expression "iVar4 = FUN_000182e0(puVar7,iVar4)" (identifier "iVar4") (= "=") (call_expression "FUN_000182e0(puVar7,iVar4)" (identifier "FUN_000182e0") (argument_list "(puVar7,iVar4)" (( "(") (identifier "puVar7") (, ",") (identifier "iVar4") () ")")))) (; ";")) (expression_statement "puVar17 = puVar7 + iVar4;" (assignment_expression "puVar17 = puVar7 + iVar4" (identifier "puVar17") (= "=") (binary_expression "puVar7 + iVar4" (identifier "puVar7") (+ "+") (identifier "iVar4"))) (; ";")) (expression_statement "iVar9 = FUN_00017f40(puVar17);" (assignment_expression "iVar9 = FUN_00017f40(puVar17)" (identifier "iVar9") (= "=") (call_expression "FUN_00017f40(puVar17)" (identifier "FUN_00017f40") (argument_list "(puVar17)" (( "(") (identifier "puVar17") () ")")))) (; ";")) (if_statement "if (iVar9 == 2) {\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }" (if "if") (parenthesized_expression "(iVar9 == 2)" (( "(") (binary_expression "iVar9 == 2" (identifier "iVar9") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n            *puVar17 = 0x3e;\n            puVar17 = puVar7 + iVar4 + 1;\n          }" ({ "{") (expression_statement "*puVar17 = 0x3e;" (assignment_expression "*puVar17 = 0x3e" (pointer_expression "*puVar17" (* "*") (identifier "puVar17")) (= "=") (number_literal "0x3e")) (; ";")) (expression_statement "puVar17 = puVar7 + iVar4 + 1;" (assignment_expression "puVar17 = puVar7 + iVar4 + 1" (identifier "puVar17") (= "=") (binary_expression "puVar7 + iVar4 + 1" (binary_expression "puVar7 + iVar4" (identifier "puVar7") (+ "+") (identifier "iVar4")) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (goto_statement "goto LAB_00040082;" (goto "goto") (statement_identifier "LAB_00040082") (; ";")) (} "}"))) (goto_statement "goto LAB_0004007e;" (goto "goto") (statement_identifier "LAB_0004007e") (; ";")) (} "}"))) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" (identifier "cVar2") (= "=") (pointer_expression "*local_40" (* "*") (identifier "local_40"))) (; ";")) (expression_statement "iVar9 = DAT_0007ba58;" (assignment_expression "iVar9 = DAT_0007ba58" (identifier "iVar9") (= "=") (identifier "DAT_0007ba58")) (; ";")) (} "}"))) (expression_statement "DAT_0007ba58 = iVar9;" (assignment_expression "DAT_0007ba58 = iVar9" (identifier "DAT_0007ba58") (= "=") (identifier "iVar9")) (; ";")) (if_statement "if (cVar2 == ' ') {\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }\n    else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }" (if "if") (parenthesized_expression "(cVar2 == ' ')" (( "(") (binary_expression "cVar2 == ' '" (identifier "cVar2") (== "==") (char_literal "' '" (' "'") (character " ") (' "'"))) () ")")) (compound_statement "{\n      local_24 = 1;\n      if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }\n      local_40 = local_40 + 1;\n      cVar2 = *local_40;\n      param_2 = param_2 + 1;\n    }" ({ "{") (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" (identifier "local_24") (= "=") (number_literal "1")) (; ";")) (if_statement "if ((DAT_0007b664 & 0x2000000) == 0) {\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }\n      else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }" (if "if") (parenthesized_expression "((DAT_0007b664 & 0x2000000) == 0)" (( "(") (binary_expression "(DAT_0007b664 & 0x2000000) == 0" (parenthesized_expression "(DAT_0007b664 & 0x2000000)" (( "(") (binary_expression "DAT_0007b664 & 0x2000000" (identifier "DAT_0007b664") (& "&") (number_literal "0x2000000")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        puVar7[iVar4] = 0x20;\n        iVar4 = iVar4 + 1;\n      }" ({ "{") (expression_statement "puVar7[iVar4] = 0x20;" (assignment_expression "puVar7[iVar4] = 0x20" (subscript_expression "puVar7[iVar4]" (identifier "puVar7") ([ "[") (identifier "iVar4") (] "]")) (= "=") (number_literal "0x20")) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }" (else "else") (if_statement "if (0 < DAT_0007ba5c) {\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }" (if "if") (parenthesized_expression "(0 < DAT_0007ba5c)" (( "(") (binary_expression "0 < DAT_0007ba5c" (number_literal "0") (< "<") (identifier "DAT_0007ba5c")) () ")")) (compound_statement "{\n        iVar18 = iVar4 - iVar9;\n        iVar16 = iVar4 - iVar9;\n        do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);\n      }" ({ "{") (expression_statement "iVar18 = iVar4 - iVar9;" (assignment_expression "iVar18 = iVar4 - iVar9" (identifier "iVar18") (= "=") (binary_expression "iVar4 - iVar9" (identifier "iVar4") (- "-") (identifier "iVar9"))) (; ";")) (expression_statement "iVar16 = iVar4 - iVar9;" (assignment_expression "iVar16 = iVar4 - iVar9" (identifier "iVar16") (= "=") (binary_expression "iVar4 - iVar9" (identifier "iVar4") (- "-") (identifier "iVar9"))) (; ";")) (do_statement "do {\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);" (do "do") (compound_statement "{\n          iVar4 = iVar16 + 1 + iVar9;\n          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);\n          iVar9 = iVar9 + 1;\n        }" ({ "{") (expression_statement "iVar4 = iVar16 + 1 + iVar9;" (assignment_expression "iVar4 = iVar16 + 1 + iVar9" (identifier "iVar4") (= "=") (binary_expression "iVar16 + 1 + iVar9" (binary_expression "iVar16 + 1" (identifier "iVar16") (+ "+") (number_literal "1")) (+ "+") (identifier "iVar9"))) (; ";")) (expression_statement "puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);" (assignment_expression "puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9)" (subscript_expression "puVar7[iVar9 + iVar18]" (identifier "puVar7") ([ "[") (binary_expression "iVar9 + iVar18" (identifier "iVar9") (+ "+") (identifier "iVar18")) (] "]")) (= "=") (pointer_expression "*(undefined1 *)(DAT_0007b634 + iVar9)" (* "*") (cast_expression "(undefined1 *)(DAT_0007b634 + iVar9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0007b634 + iVar9)" (( "(") (binary_expression "DAT_0007b634 + iVar9" (identifier "DAT_0007b634") (+ "+") (identifier "iVar9")) () ")"))))) (; ";")) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar9 < DAT_0007ba5c + DAT_0007ba58)" (( "(") (binary_expression "iVar9 < DAT_0007ba5c + DAT_0007ba58" (identifier "iVar9") (< "<") (binary_expression "DAT_0007ba5c + DAT_0007ba58" (identifier "DAT_0007ba5c") (+ "+") (identifier "DAT_0007ba58"))) () ")")) (; ";")) (} "}"))))) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" (identifier "local_40") (= "=") (binary_expression "local_40 + 1" (identifier "local_40") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" (identifier "cVar2") (= "=") (pointer_expression "*local_40" (* "*") (identifier "local_40"))) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }" (else "else") (compound_statement "{\n      local_24 = 1;\n      if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }\n      cVar2 = *local_40;\n      iVar4 = iVar16;\n    }" ({ "{") (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" (identifier "local_24") (= "=") (number_literal "1")) (; ";")) (if_statement "if (cVar2 == '\t') {\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }\n      else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }" (if "if") (parenthesized_expression "(cVar2 == '\t')" (( "(") (binary_expression "cVar2 == '\t'" (identifier "cVar2") (== "==") (char_literal "'\t'" (' "'") (escape_sequence "\t") (' "'"))) () ")")) (compound_statement "{\n        if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }\n        uVar8 = param_2 + 1;\n        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }\n        local_40 = local_40 + 1;\n        param_2 = uVar8;\n      }" ({ "{") (if_statement "if ((DAT_0007b664 & 0x2000000) == 0) {\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }\n        else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }" (if "if") (parenthesized_expression "((DAT_0007b664 & 0x2000000) == 0)" (( "(") (binary_expression "(DAT_0007b664 & 0x2000000) == 0" (parenthesized_expression "(DAT_0007b664 & 0x2000000)" (( "(") (binary_expression "DAT_0007b664 & 0x2000000" (identifier "DAT_0007b664") (& "&") (number_literal "0x2000000")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00040130:\n          puVar7[iVar4] = 0x20;\n          iVar16 = iVar4 + 1;\n        }" ({ "{") (labeled_statement "LAB_00040130:\n          puVar7[iVar4] = 0x20;" (statement_identifier "LAB_00040130") (: ":") (expression_statement "puVar7[iVar4] = 0x20;" (assignment_expression "puVar7[iVar4] = 0x20" (subscript_expression "puVar7[iVar4]" (identifier "puVar7") ([ "[") (identifier "iVar4") (] "]")) (= "=") (number_literal "0x20")) (; ";"))) (expression_statement "iVar16 = iVar4 + 1;" (assignment_expression "iVar16 = iVar4 + 1" (identifier "iVar16") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }" (else "else") (compound_statement "{\n          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }\n          iVar16 = iVar4;\n          if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }\n        }" ({ "{") (if_statement "if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }" (if "if") (parenthesized_expression "(((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0))" (( "(") (binary_expression "((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)" (parenthesized_expression "((iVar4 == 0) && (param_4 == '\x01'))" (( "(") (binary_expression "(iVar4 == 0) && (param_4 == '\x01')" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_4 == '\x01')" (( "(") (binary_expression "param_4 == '\x01'" (identifier "param_4") (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((_DAT_0007b668 & 2) != 0)" (( "(") (binary_expression "(_DAT_0007b668 & 2) != 0" (parenthesized_expression "(_DAT_0007b668 & 2)" (( "(") (binary_expression "_DAT_0007b668 & 2" (identifier "_DAT_0007b668") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;\n            iVar4 = 0;\n          }" ({ "{") (if_statement "if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;" (if "if") (parenthesized_expression "((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2))" (( "(") (binary_expression "(param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)" (parenthesized_expression "(param_2 % DAT_0007b068 != 0)" (( "(") (binary_expression "param_2 % DAT_0007b068 != 0" (binary_expression "param_2 % DAT_0007b068" (identifier "param_2") (% "%") (identifier "DAT_0007b068")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar5 != param_2)" (( "(") (binary_expression "uVar5 != param_2" (identifier "uVar5") (!= "!=") (identifier "param_2")) () ")"))) () ")")) (goto_statement "goto LAB_00040130;" (goto "goto") (statement_identifier "LAB_00040130") (; ";"))) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar16 = iVar4;" (assignment_expression "iVar16 = iVar4" (identifier "iVar16") (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (0 < iVar9) {\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }" (if "if") (parenthesized_expression "(0 < iVar9)" (( "(") (binary_expression "0 < iVar9" (number_literal "0") (< "<") (identifier "iVar9")) () ")")) (compound_statement "{\n            iVar9 = 0;\n            do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);\n          }" ({ "{") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            } while (iVar9 < DAT_0007ba58);" (do "do") (compound_statement "{\n              iVar16 = iVar4 + 1 + iVar9;\n              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);\n              iVar9 = iVar9 + 1;\n            }" ({ "{") (expression_statement "iVar16 = iVar4 + 1 + iVar9;" (assignment_expression "iVar16 = iVar4 + 1 + iVar9" (identifier "iVar16") (= "=") (binary_expression "iVar4 + 1 + iVar9" (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) (+ "+") (identifier "iVar9"))) (; ";")) (expression_statement "puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);" (assignment_expression "puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9)" (subscript_expression "puVar7[iVar9 + iVar4]" (identifier "puVar7") ([ "[") (binary_expression "iVar9 + iVar4" (identifier "iVar9") (+ "+") (identifier "iVar4")) (] "]")) (= "=") (pointer_expression "*(undefined1 *)(DAT_0007b634 + iVar9)" (* "*") (cast_expression "(undefined1 *)(DAT_0007b634 + iVar9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0007b634 + iVar9)" (( "(") (binary_expression "DAT_0007b634 + iVar9" (identifier "DAT_0007b634") (+ "+") (identifier "iVar9")) () ")"))))) (; ";")) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar9 < DAT_0007ba58)" (( "(") (binary_expression "iVar9 < DAT_0007ba58" (identifier "iVar9") (< "<") (identifier "DAT_0007ba58")) () ")")) (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar8 = param_2 + 1;" (assignment_expression "uVar8 = param_2 + 1" (identifier "uVar8") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }" (if "if") (parenthesized_expression "((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14))" (( "(") (binary_expression "(uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)" (parenthesized_expression "(uVar8 % DAT_0007b068 != 0)" (( "(") (binary_expression "uVar8 % DAT_0007b068 != 0" (binary_expression "uVar8 % DAT_0007b068" (identifier "uVar8") (% "%") (identifier "DAT_0007b068")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar8 < uVar14)" (( "(") (binary_expression "uVar8 < uVar14" (identifier "uVar8") (< "<") (identifier "uVar14")) () ")"))) () ")")) (compound_statement "{\n          iVar4 = iVar16 - param_2;\n          do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);\n        }" ({ "{") (expression_statement "iVar4 = iVar16 - param_2;" (assignment_expression "iVar4 = iVar16 - param_2" (identifier "iVar4") (= "=") (binary_expression "iVar16 - param_2" (identifier "iVar16") (- "-") (identifier "param_2"))) (; ";")) (do_statement "do {\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          } while (uVar8 < uVar14);" (do "do") (compound_statement "{\n            puVar7[uVar8 + iVar4 + -1] = 0x20;\n            iVar16 = iVar4 + uVar8;\n            uVar8 = uVar8 + 1;\n            if (uVar8 % DAT_0007b068 == 0) break;\n          }" ({ "{") (expression_statement "puVar7[uVar8 + iVar4 + -1] = 0x20;" (assignment_expression "puVar7[uVar8 + iVar4 + -1] = 0x20" (subscript_expression "puVar7[uVar8 + iVar4 + -1]" (identifier "puVar7") ([ "[") (binary_expression "uVar8 + iVar4 + -1" (binary_expression "uVar8 + iVar4" (identifier "uVar8") (+ "+") (identifier "iVar4")) (+ "+") (number_literal "-1")) (] "]")) (= "=") (number_literal "0x20")) (; ";")) (expression_statement "iVar16 = iVar4 + uVar8;" (assignment_expression "iVar16 = iVar4 + uVar8" (identifier "iVar16") (= "=") (binary_expression "iVar4 + uVar8" (identifier "iVar4") (+ "+") (identifier "uVar8"))) (; ";")) (expression_statement "uVar8 = uVar8 + 1;" (assignment_expression "uVar8 = uVar8 + 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar8 % DAT_0007b068 == 0) break;" (if "if") (parenthesized_expression "(uVar8 % DAT_0007b068 == 0)" (( "(") (binary_expression "uVar8 % DAT_0007b068 == 0" (binary_expression "uVar8 % DAT_0007b068" (identifier "uVar8") (% "%") (identifier "DAT_0007b068")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(uVar8 < uVar14)" (( "(") (binary_expression "uVar8 < uVar14" (identifier "uVar8") (< "<") (identifier "uVar14")) () ")")) (; ";")) (} "}"))) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" (identifier "local_40") (= "=") (binary_expression "local_40 + 1" (identifier "local_40") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_2 = uVar8;" (assignment_expression "param_2 = uVar8" (identifier "param_2") (= "=") (identifier "uVar8")) (; ";")) (} "}")) (else_clause "else {\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }" (else "else") (compound_statement "{\n        uVar8 = FUN_00017e50(local_40,&local_24);\n        cVar2 = FUN_00017ac0(local_40);\n        pcVar13 = puVar7 + iVar4;\n        if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }\n      }" ({ "{") (expression_statement "uVar8 = FUN_00017e50(local_40,&local_24);" (assignment_expression "uVar8 = FUN_00017e50(local_40,&local_24)" (identifier "uVar8") (= "=") (call_expression "FUN_00017e50(local_40,&local_24)" (identifier "FUN_00017e50") (argument_list "(local_40,&local_24)" (( "(") (identifier "local_40") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (; ";")) (expression_statement "cVar2 = FUN_00017ac0(local_40);" (assignment_expression "cVar2 = FUN_00017ac0(local_40)" (identifier "cVar2") (= "=") (call_expression "FUN_00017ac0(local_40)" (identifier "FUN_00017ac0") (argument_list "(local_40)" (( "(") (identifier "local_40") () ")")))) (; ";")) (expression_statement "pcVar13 = puVar7 + iVar4;" (assignment_expression "pcVar13 = puVar7 + iVar4" (identifier "pcVar13") (= "=") (binary_expression "puVar7 + iVar4" (identifier "puVar7") (+ "+") (identifier "iVar4"))) (; ";")) (if_statement "if (cVar2 == '\0') {\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }\n        else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }\n        }" ({ "{") (if_statement "if ((int)uVar8 < 1) {\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }\n          else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }" (if "if") (parenthesized_expression "((int)uVar8 < 1)" (( "(") (binary_expression "(int)uVar8 < 1" (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n            *pcVar13 = -0x11;\n            iVar16 = iVar4 + 3;\n            param_2 = param_2 + 1;\n            puVar7[iVar4 + 1] = 0xbf;\n            puVar7[iVar4 + 2] = 0xbd;\n            pcVar13 = local_40 + uVar8 + 8;\n            local_40 = local_40 + 1;\n            if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }\n          }" ({ "{") (expression_statement "*pcVar13 = -0x11;" (assignment_expression "*pcVar13 = -0x11" (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13")) (= "=") (number_literal "-0x11")) (; ";")) (expression_statement "iVar16 = iVar4 + 3;" (assignment_expression "iVar16 = iVar4 + 3" (identifier "iVar16") (= "=") (binary_expression "iVar4 + 3" (identifier "iVar4") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar7[iVar4 + 1] = 0xbf;" (assignment_expression "puVar7[iVar4 + 1] = 0xbf" (subscript_expression "puVar7[iVar4 + 1]" (identifier "puVar7") ([ "[") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "0xbf")) (; ";")) (expression_statement "puVar7[iVar4 + 2] = 0xbd;" (assignment_expression "puVar7[iVar4 + 2] = 0xbd" (subscript_expression "puVar7[iVar4 + 2]" (identifier "puVar7") ([ "[") (binary_expression "iVar4 + 2" (identifier "iVar4") (+ "+") (number_literal "2")) (] "]")) (= "=") (number_literal "0xbd")) (; ";")) (expression_statement "pcVar13 = local_40 + uVar8 + 8;" (assignment_expression "pcVar13 = local_40 + uVar8 + 8" (identifier "pcVar13") (= "=") (binary_expression "local_40 + uVar8 + 8" (binary_expression "local_40 + uVar8" (identifier "local_40") (+ "+") (identifier "uVar8")) (+ "+") (number_literal "8"))) (; ";")) (expression_statement "local_40 = local_40 + 1;" (assignment_expression "local_40 = local_40 + 1" (identifier "local_40") (= "=") (binary_expression "local_40 + 1" (identifier "local_40") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((int)uVar8 < -1) {\n              local_40 = pcVar13;\n            }" (if "if") (parenthesized_expression "((int)uVar8 < -1)" (( "(") (binary_expression "(int)uVar8 < -1" (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8")) (< "<") (number_literal "-1")) () ")")) (compound_statement "{\n              local_40 = pcVar13;\n            }" ({ "{") (expression_statement "local_40 = pcVar13;" (assignment_expression "local_40 = pcVar13" (identifier "local_40") (= "=") (identifier "pcVar13")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }" (else "else") (compound_statement "{\n            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }\n            local_40 = local_40 + uVar8;\n            iVar16 = iVar4 + uVar8;\n            param_2 = param_2 + local_24;\n          }" ({ "{") (if_statement "if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }\n            else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }" (if "if") (parenthesized_expression "((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4))" (( "(") (binary_expression "(pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)" (parenthesized_expression "(pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0)" (( "(") (binary_expression "pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||\n                 (((uint)pcVar13 | (uint)local_40) & 3) != 0" (binary_expression "pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4" (binary_expression "pcVar13 < local_40 + 4" (identifier "pcVar13") (< "<") (binary_expression "local_40 + 4" (identifier "local_40") (+ "+") (number_literal "4"))) (&& "&&") (binary_expression "local_40 < puVar7 + iVar4 + 4" (identifier "local_40") (< "<") (binary_expression "puVar7 + iVar4 + 4" (binary_expression "puVar7 + iVar4" (identifier "puVar7") (+ "+") (identifier "iVar4")) (+ "+") (number_literal "4")))) (|| "||") (binary_expression "(((uint)pcVar13 | (uint)local_40) & 3) != 0" (parenthesized_expression "(((uint)pcVar13 | (uint)local_40) & 3)" (( "(") (binary_expression "((uint)pcVar13 | (uint)local_40) & 3" (parenthesized_expression "((uint)pcVar13 | (uint)local_40)" (( "(") (binary_expression "(uint)pcVar13 | (uint)local_40" (cast_expression "(uint)pcVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "pcVar13")) (| "|") (cast_expression "(uint)local_40" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_40"))) () ")")) (& "&") (number_literal "3")) () ")")) (!= "!=") (number_literal "0"))) () ")")) (|| "||") (parenthesized_expression "(uVar8 - 1 < 4)" (( "(") (binary_expression "uVar8 - 1 < 4" (binary_expression "uVar8 - 1" (identifier "uVar8") (- "-") (number_literal "1")) (< "<") (number_literal "4")) () ")"))) () ")")) (compound_statement "{\n              pcVar10 = local_40;\n              do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);\n            }" ({ "{") (expression_statement "pcVar10 = local_40;" (assignment_expression "pcVar10 = local_40" (identifier "pcVar10") (= "=") (identifier "local_40")) (; ";")) (do_statement "do {\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              } while (local_40 + uVar8 != pcVar15);" (do "do") (compound_statement "{\n                pcVar15 = pcVar10 + 1;\n                *pcVar13 = *pcVar10;\n                pcVar13 = pcVar13 + 1;\n                pcVar10 = pcVar15;\n              }" ({ "{") (expression_statement "pcVar15 = pcVar10 + 1;" (assignment_expression "pcVar15 = pcVar10 + 1" (identifier "pcVar15") (= "=") (binary_expression "pcVar10 + 1" (identifier "pcVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pcVar13 = *pcVar10;" (assignment_expression "*pcVar13 = *pcVar10" (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13")) (= "=") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10"))) (; ";")) (expression_statement "pcVar13 = pcVar13 + 1;" (assignment_expression "pcVar13 = pcVar13 + 1" (identifier "pcVar13") (= "=") (binary_expression "pcVar13 + 1" (identifier "pcVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar10 = pcVar15;" (assignment_expression "pcVar10 = pcVar15" (identifier "pcVar10") (= "=") (identifier "pcVar15")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_40 + uVar8 != pcVar15)" (( "(") (binary_expression "local_40 + uVar8 != pcVar15" (binary_expression "local_40 + uVar8" (identifier "local_40") (+ "+") (identifier "uVar8")) (!= "!=") (identifier "pcVar15")) () ")")) (; ";")) (} "}")) (else_clause "else {\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }" (else "else") (compound_statement "{\n              pcVar10 = pcVar13;\n              pcVar15 = local_40;\n              do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));\n              uVar12 = uVar8 & 0xfffffffc;\n              pcVar13 = local_40 + uVar12;\n              iVar9 = uVar12 + iVar4;\n              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }\n            }" ({ "{") (expression_statement "pcVar10 = pcVar13;" (assignment_expression "pcVar10 = pcVar13" (identifier "pcVar10") (= "=") (identifier "pcVar13")) (; ";")) (expression_statement "pcVar15 = local_40;" (assignment_expression "pcVar15 = local_40" (identifier "pcVar15") (= "=") (identifier "local_40")) (; ";")) (do_statement "do {\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));" (do "do") (compound_statement "{\n                uVar1 = *(undefined4 *)pcVar15;\n                pcVar11 = pcVar10 + 4;\n                pcVar15 = pcVar15 + 4;\n                *(undefined4 *)pcVar10 = uVar1;\n                pcVar10 = pcVar11;\n              }" ({ "{") (expression_statement "uVar1 = *(undefined4 *)pcVar15;" (assignment_expression "uVar1 = *(undefined4 *)pcVar15" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)pcVar15" (* "*") (cast_expression "(undefined4 *)pcVar15" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pcVar15")))) (; ";")) (expression_statement "pcVar11 = pcVar10 + 4;" (assignment_expression "pcVar11 = pcVar10 + 4" (identifier "pcVar11") (= "=") (binary_expression "pcVar10 + 4" (identifier "pcVar10") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "pcVar15 = pcVar15 + 4;" (assignment_expression "pcVar15 = pcVar15 + 4" (identifier "pcVar15") (= "=") (binary_expression "pcVar15 + 4" (identifier "pcVar15") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*(undefined4 *)pcVar10 = uVar1;" (assignment_expression "*(undefined4 *)pcVar10 = uVar1" (pointer_expression "*(undefined4 *)pcVar10" (* "*") (cast_expression "(undefined4 *)pcVar10" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pcVar10"))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "pcVar10 = pcVar11;" (assignment_expression "pcVar10 = pcVar11" (identifier "pcVar10") (= "=") (identifier "pcVar11")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pcVar11 != pcVar13 + (uVar8 & 0xfffffffc))" (( "(") (binary_expression "pcVar11 != pcVar13 + (uVar8 & 0xfffffffc)" (identifier "pcVar11") (!= "!=") (binary_expression "pcVar13 + (uVar8 & 0xfffffffc)" (identifier "pcVar13") (+ "+") (parenthesized_expression "(uVar8 & 0xfffffffc)" (( "(") (binary_expression "uVar8 & 0xfffffffc" (identifier "uVar8") (& "&") (number_literal "0xfffffffc")) () ")")))) () ")")) (; ";")) (expression_statement "uVar12 = uVar8 & 0xfffffffc;" (assignment_expression "uVar12 = uVar8 & 0xfffffffc" (identifier "uVar12") (= "=") (binary_expression "uVar8 & 0xfffffffc" (identifier "uVar8") (& "&") (number_literal "0xfffffffc"))) (; ";")) (expression_statement "pcVar13 = local_40 + uVar12;" (assignment_expression "pcVar13 = local_40 + uVar12" (identifier "pcVar13") (= "=") (binary_expression "local_40 + uVar12" (identifier "local_40") (+ "+") (identifier "uVar12"))) (; ";")) (expression_statement "iVar9 = uVar12 + iVar4;" (assignment_expression "iVar9 = uVar12 + iVar4" (identifier "iVar9") (= "=") (binary_expression "uVar12 + iVar4" (identifier "uVar12") (+ "+") (identifier "iVar4"))) (; ";")) (if_statement "if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }" (if "if") (parenthesized_expression "(((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2))" (( "(") (binary_expression "((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&\n                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)" (parenthesized_expression "((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1))" (( "(") (binary_expression "(uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)" (parenthesized_expression "(uVar12 != uVar8)" (( "(") (binary_expression "uVar12 != uVar8" (identifier "uVar12") (!= "!=") (identifier "uVar8")) () ")")) (&& "&&") (parenthesized_expression "(puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)" (( "(") (comma_expression "puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1" (assignment_expression "puVar7[iVar9] = *pcVar13" (subscript_expression "puVar7[iVar9]" (identifier "puVar7") ([ "[") (identifier "iVar9") (] "]")) (= "=") (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13"))) (, ",") (binary_expression "uVar8 - uVar12 != 1" (binary_expression "uVar8 - uVar12" (identifier "uVar8") (- "-") (identifier "uVar12")) (!= "!=") (number_literal "1"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)" (( "(") (comma_expression "puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2" (assignment_expression "puVar7[iVar9 + 1] = pcVar13[1]" (subscript_expression "puVar7[iVar9 + 1]" (identifier "puVar7") ([ "[") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (number_literal "1")) (] "]")) (= "=") (subscript_expression "pcVar13[1]" (identifier "pcVar13") ([ "[") (number_literal "1") (] "]"))) (, ",") (binary_expression "uVar8 - uVar12 != 2" (binary_expression "uVar8 - uVar12" (identifier "uVar8") (- "-") (identifier "uVar12")) (!= "!=") (number_literal "2"))) () ")"))) () ")")) (compound_statement "{\n                puVar7[iVar9 + 2] = pcVar13[2];\n              }" ({ "{") (expression_statement "puVar7[iVar9 + 2] = pcVar13[2];" (assignment_expression "puVar7[iVar9 + 2] = pcVar13[2]" (subscript_expression "puVar7[iVar9 + 2]" (identifier "puVar7") ([ "[") (binary_expression "iVar9 + 2" (identifier "iVar9") (+ "+") (number_literal "2")) (] "]")) (= "=") (subscript_expression "pcVar13[2]" (identifier "pcVar13") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "local_40 = local_40 + uVar8;" (assignment_expression "local_40 = local_40 + uVar8" (identifier "local_40") (= "=") (binary_expression "local_40 + uVar8" (identifier "local_40") (+ "+") (identifier "uVar8"))) (; ";")) (expression_statement "iVar16 = iVar4 + uVar8;" (assignment_expression "iVar16 = iVar4 + uVar8" (identifier "iVar16") (= "=") (binary_expression "iVar4 + uVar8" (identifier "iVar4") (+ "+") (identifier "uVar8"))) (; ";")) (expression_statement "param_2 = param_2 + local_24;" (assignment_expression "param_2 = param_2 + local_24" (identifier "param_2") (= "=") (binary_expression "param_2 + local_24" (identifier "param_2") (+ "+") (identifier "local_24"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }" (else "else") (compound_statement "{\n          *pcVar13 = '^';\n          iVar16 = iVar4 + 2;\n          uVar3 = FUN_00017d90(local_40,param_4);\n          puVar7[iVar4 + 1] = uVar3;\n          local_40 = local_40 + uVar8;\n          param_2 = param_2 + 2;\n        }" ({ "{") (expression_statement "*pcVar13 = '^';" (assignment_expression "*pcVar13 = '^'" (pointer_expression "*pcVar13" (* "*") (identifier "pcVar13")) (= "=") (char_literal "'^'" (' "'") (character "^") (' "'"))) (; ";")) (expression_statement "iVar16 = iVar4 + 2;" (assignment_expression "iVar16 = iVar4 + 2" (identifier "iVar16") (= "=") (binary_expression "iVar4 + 2" (identifier "iVar4") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "uVar3 = FUN_00017d90(local_40,param_4);" (assignment_expression "uVar3 = FUN_00017d90(local_40,param_4)" (identifier "uVar3") (= "=") (call_expression "FUN_00017d90(local_40,param_4)" (identifier "FUN_00017d90") (argument_list "(local_40,param_4)" (( "(") (identifier "local_40") (, ",") (identifier "param_4") () ")")))) (; ";")) (expression_statement "puVar7[iVar4 + 1] = uVar3;" (assignment_expression "puVar7[iVar4 + 1] = uVar3" (subscript_expression "puVar7[iVar4 + 1]" (identifier "puVar7") ([ "[") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "local_40 = local_40 + uVar8;" (assignment_expression "local_40 = local_40 + uVar8" (identifier "local_40") (= "=") (binary_expression "local_40 + uVar8" (identifier "local_40") (+ "+") (identifier "uVar8"))) (; ";")) (expression_statement "param_2 = param_2 + 2;" (assignment_expression "param_2 = param_2 + 2" (identifier "param_2") (= "=") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2"))) (; ";")) (} "}")))) (} "}")))) (expression_statement "cVar2 = *local_40;" (assignment_expression "cVar2 = *local_40" (identifier "cVar2") (= "=") (pointer_expression "*local_40" (* "*") (identifier "local_40"))) (; ";")) (expression_statement "iVar4 = iVar16;" (assignment_expression "iVar4 = iVar16" (identifier "iVar4") (= "=") (identifier "iVar16")) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";"))) (} "}")))

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

char * function_1(char *var_3,size_t var_6,size_t var_7,type_1 var_24)

{
  type_2 uVar1;
  type_1 _Var2;
  char var_12;
  size_t var_4;
  size_t var_11;
  char *var_19;
  type_3 var_28;
  int var_17;
  char *var_32;
  char *var_34;
  type_3 var_35;
  type_3 var_23;
  char *var_33;
  int var_26;
  char *var_31;
  size_t var_29;
  size_t var_20;
  int var_27;
  int var_1;
  char *var_16;
  int var_36;
  int var_21;
  type_2 uStack_14;
  
  uStack_14 = 0x3fe99;
  var_21 = *(int *)(var_1 + 0x14);
  var_4 = var_2(var_3,var_6);
  var_16 = var_3 + var_4;
  var_4 = var_5(var_3,var_4);
  var_23 = var_6 + var_7;
  var_11 = var_8(var_16);
  var_19 = (char *)var_9((var_10 + 6) * var_11 + 1);
  var_12 = *var_16;
  if ((var_12 == '\0') || (var_12 == '\t')) {
    var_20 = 0;
    goto joined_r0x0003ff74;
  }
  if (var_4 < var_6) {
    _Var2 = var_13(var_16);
    if (_Var2) {
      var_20 = 1;
      var_12 = var_14(var_16,var_24);
      var_6 = var_6 + 1;
      *var_19 = var_12;
      var_17 = var_15(var_16,(char *)0x0,(size_t *)0x0);
      var_16 = var_16 + var_17;
      var_12 = *var_16;
      goto joined_r0x0003ff74;
    }
    var_17 = var_18(var_16);
    if (var_17 != 2) {
      var_12 = *var_16;
      var_20 = 0;
      goto joined_r0x0003ff74;
    }
LAB_00040455:
    var_20 = 1;
    var_31 = var_19;
  }
  else {
    if (((var_4 == 0) || (!var_24)) || ((flags[1] & 2) != 0)) {
      var_20 = 0;
      goto LAB_00040018;
    }
    _Var2 = var_13(var_16);
    if ((_Var2) || (var_17 = var_18(var_16), var_17 != 2)) {
      var_12 = *var_16;
      var_20 = 0;
      goto joined_r0x0003ff74;
    }
    if (var_6 != var_4) goto LAB_00040455;
    *var_19 = ' ';
    var_20 = 2;
    var_6 = var_6 + 1;
    var_31 = var_19 + 1;
  }
  var_6 = var_6 + 1;
  *var_31 = '<';
  var_17 = var_15(var_16,(char *)0x0,(size_t *)0x0);
  var_16 = var_16 + var_17;
  var_12 = *var_16;
joined_r0x0003ff74:
  do {
    if (var_12 == '\0') {
LAB_0004007e:
      var_31 = var_19 + var_20;
LAB_00040082:
      *var_31 = '\0';
      if (var_21 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
        var_22();
      }
      return var_19;
    }
LAB_00040018:
    var_17 = whitespace_len[0];
    if (var_23 <= var_6) {
      var_17 = var_18(var_16);
      if (var_17 != 0) {
        if ((*var_16 != '\0') && ((var_23 < var_6 || ((var_24 && ((flags[1] & 2) == 0)))))) {
          var_4 = var_25(var_19,var_20);
          var_31 = var_19 + var_4;
          var_17 = var_18(var_31);
          if (var_17 == 2) {
            *var_31 = '>';
            var_31 = var_19 + var_4 + 1;
          }
          goto LAB_00040082;
        }
        goto LAB_0004007e;
      }
      var_12 = *var_16;
      var_17 = whitespace_len[0];
    }
    whitespace_len[0] = var_17;
    if (var_12 == ' ') {
      var_36 = 1;
      if ((flags[0] & 0x2000000) == 0) {
        var_19[var_20] = ' ';
        var_20 = var_20 + 1;
      }
      else if (0 < whitespace_len[1]) {
        var_27 = var_20 - var_17;
        var_26 = var_20 - var_17;
        do {
          var_20 = var_26 + 1 + var_17;
          var_19[var_17 + var_27] = whitespace[var_17];
          var_17 = var_17 + 1;
        } while (var_17 < whitespace_len[1] + whitespace_len[0]);
      }
      var_16 = var_16 + 1;
      var_12 = *var_16;
      var_6 = var_6 + 1;
    }
    else {
      var_36 = 1;
      if (var_12 == '\t') {
        if ((flags[0] & 0x2000000) == 0) {
LAB_00040130:
          var_19[var_20] = ' ';
          var_29 = var_20 + 1;
        }
        else {
          if (((var_20 == 0) && (var_24)) && ((flags[1] & 2) != 0)) {
            if ((var_6 % (type_3)var_10 != 0) && (var_4 != var_6)) goto LAB_00040130;
            var_20 = 0;
          }
          var_29 = var_20;
          if (0 < var_17) {
            var_17 = 0;
            do {
              var_29 = var_20 + 1 + var_17;
              var_19[var_17 + var_20] = whitespace[var_17];
              var_17 = var_17 + 1;
            } while (var_17 < whitespace_len[0]);
          }
        }
        var_28 = var_6 + 1;
        if ((var_28 % (type_3)var_10 != 0) && (var_28 < var_23)) {
          var_17 = var_29 - var_6;
          do {
            var_19[var_28 + var_17 + -1] = ' ';
            var_29 = var_17 + var_28;
            var_28 = var_28 + 1;
            if (var_28 % (type_3)var_10 == 0) break;
          } while (var_28 < var_23);
        }
        var_16 = var_16 + 1;
        var_6 = var_28;
      }
      else {
        var_28 = var_30(var_16,&var_36);
        _Var2 = var_13(var_16);
        var_31 = var_19 + var_20;
        if (_Var2) {
          *var_31 = '^';
          var_29 = var_20 + 2;
          var_12 = var_14(var_16,var_24);
          var_19[var_20 + 1] = var_12;
          var_16 = var_16 + var_28;
          var_6 = var_6 + 2;
        }
        else if ((int)var_28 < 1) {
          *var_31 = -0x11;
          var_29 = var_20 + 3;
          var_6 = var_6 + 1;
          var_19[var_20 + 1] = -0x41;
          var_19[var_20 + 2] = -0x43;
          var_31 = var_16 + var_28 + 8;
          var_16 = var_16 + 1;
          if ((int)var_28 < -1) {
            var_16 = var_31;
          }
        }
        else {
          if ((var_31 < var_16 + 4 && var_16 < var_19 + var_20 + 4 ||
               (((type_3)var_31 | (type_3)var_16) & 3) != 0) || (var_28 - 1 < 4)) {
            var_32 = var_16;
            do {
              var_33 = var_32 + 1;
              *var_31 = *var_32;
              var_31 = var_31 + 1;
              var_32 = var_33;
            } while (var_16 + var_28 != var_33);
          }
          else {
            var_32 = var_31;
            var_33 = var_16;
            do {
              uVar1 = *(type_2 *)var_33;
              var_34 = var_32 + 4;
              var_33 = var_33 + 4;
              *(type_2 *)var_32 = uVar1;
              var_32 = var_34;
            } while (var_34 != var_31 + (var_28 & 0xfffffffc));
            var_35 = var_28 & 0xfffffffc;
            var_31 = var_16 + var_35;
            var_17 = var_35 + var_20;
            if (((var_35 != var_28) && (var_19[var_17] = *var_31, var_28 - var_35 != 1)) &&
               (var_19[var_17 + 1] = var_31[1], var_28 - var_35 != 2)) {
              var_19[var_17 + 2] = var_31[2];
            }
          }
          var_16 = var_16 + var_28;
          var_29 = var_20 + var_28;
          var_6 = var_6 + var_36;
        }
      }
      var_12 = *var_16;
      var_20 = var_29;
    }
  } while( true );
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

undefined1 * MASKED(int param_1,uint param_2,int param_3,char param_4)

{
  undefined4 uVar1;
  char cVar2;
  undefined1 uVar3;
  int iVar4;
  uint uVar5;
  size_t sVar6;
  undefined1 *puVar7;
  uint uVar8;
  int iVar9;
  char *pcVar10;
  char *pcVar11;
  uint uVar12;
  char *pcVar13;
  uint uVar14;
  char *pcVar15;
  int iVar16;
  undefined1 *puVar17;
  int iVar18;
  int in_GS_OFFSET;
  char *local_40;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x3fe99;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar4 = FUN_0003dfb0(param_1,param_2);
  local_40 = (char *)(iVar4 + param_1);
  uVar5 = FUN_0003e040(param_1,iVar4);
  uVar14 = param_2 + param_3;
  sVar6 = strlen(local_40);
  puVar7 = (undefined1 *)FUN_0003da70((DAT_0007b068 + 6) * sVar6 + 1);
  cVar2 = *local_40;
  if ((cVar2 == '\0') || (cVar2 == '\t')) {
    iVar4 = 0;
    goto joined_r0x0003ff74;
  }
  if (uVar5 < param_2) {
    cVar2 = FUN_00017ac0(local_40);
    if (cVar2 != '\0') {
      iVar4 = 1;
      uVar3 = FUN_00017d90(local_40,param_4);
      param_2 = param_2 + 1;
      *puVar7 = uVar3;
      iVar9 = FUN_00018090(local_40,0,0);
      local_40 = local_40 + iVar9;
      cVar2 = *local_40;
      goto joined_r0x0003ff74;
    }
    iVar4 = FUN_00017f40(local_40);
    if (iVar4 != 2) {
      cVar2 = *local_40;
      iVar4 = 0;
      goto joined_r0x0003ff74;
    }
LAB_00040455:
    iVar4 = 1;
    puVar17 = puVar7;
  }
  else {
    if (((uVar5 == 0) || (param_4 == '\0')) || ((_DAT_0007b668 & 2) != 0)) {
      iVar4 = 0;
      goto LAB_00040018;
    }
    cVar2 = FUN_00017ac0(local_40);
    if ((cVar2 != '\0') || (iVar4 = FUN_00017f40(local_40), iVar4 != 2)) {
      cVar2 = *local_40;
      iVar4 = 0;
      goto joined_r0x0003ff74;
    }
    if (param_2 != uVar5) goto LAB_00040455;
    *puVar7 = 0x20;
    iVar4 = 2;
    param_2 = param_2 + 1;
    puVar17 = puVar7 + 1;
  }
  param_2 = param_2 + 1;
  *puVar17 = 0x3c;
  iVar9 = FUN_00018090(local_40,0,0);
  local_40 = local_40 + iVar9;
  cVar2 = *local_40;
joined_r0x0003ff74:
  do {
    if (cVar2 == '\0') {
LAB_0004007e:
      puVar17 = puVar7 + iVar4;
LAB_00040082:
      *puVar17 = 0;
      if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
        FUN_0005a8b0();
      }
      return puVar7;
    }
LAB_00040018:
    iVar9 = DAT_0007ba58;
    if (uVar14 <= param_2) {
      iVar9 = FUN_00017f40(local_40);
      if (iVar9 != 0) {
        if ((*local_40 != '\0') &&
           ((uVar14 < param_2 || ((param_4 != '\0' && ((_DAT_0007b668 & 2) == 0)))))) {
          iVar4 = FUN_000182e0(puVar7,iVar4);
          puVar17 = puVar7 + iVar4;
          iVar9 = FUN_00017f40(puVar17);
          if (iVar9 == 2) {
            *puVar17 = 0x3e;
            puVar17 = puVar7 + iVar4 + 1;
          }
          goto LAB_00040082;
        }
        goto LAB_0004007e;
      }
      cVar2 = *local_40;
      iVar9 = DAT_0007ba58;
    }
    DAT_0007ba58 = iVar9;
    if (cVar2 == ' ') {
      local_24 = 1;
      if ((DAT_0007b664 & 0x2000000) == 0) {
        puVar7[iVar4] = 0x20;
        iVar4 = iVar4 + 1;
      }
      else if (0 < DAT_0007ba5c) {
        iVar18 = iVar4 - iVar9;
        iVar16 = iVar4 - iVar9;
        do {
          iVar4 = iVar16 + 1 + iVar9;
          puVar7[iVar9 + iVar18] = *(undefined1 *)(DAT_0007b634 + iVar9);
          iVar9 = iVar9 + 1;
        } while (iVar9 < DAT_0007ba5c + DAT_0007ba58);
      }
      local_40 = local_40 + 1;
      cVar2 = *local_40;
      param_2 = param_2 + 1;
    }
    else {
      local_24 = 1;
      if (cVar2 == '\t') {
        if ((DAT_0007b664 & 0x2000000) == 0) {
LAB_00040130:
          puVar7[iVar4] = 0x20;
          iVar16 = iVar4 + 1;
        }
        else {
          if (((iVar4 == 0) && (param_4 == '\x01')) && ((_DAT_0007b668 & 2) != 0)) {
            if ((param_2 % DAT_0007b068 != 0) && (uVar5 != param_2)) goto LAB_00040130;
            iVar4 = 0;
          }
          iVar16 = iVar4;
          if (0 < iVar9) {
            iVar9 = 0;
            do {
              iVar16 = iVar4 + 1 + iVar9;
              puVar7[iVar9 + iVar4] = *(undefined1 *)(DAT_0007b634 + iVar9);
              iVar9 = iVar9 + 1;
            } while (iVar9 < DAT_0007ba58);
          }
        }
        uVar8 = param_2 + 1;
        if ((uVar8 % DAT_0007b068 != 0) && (uVar8 < uVar14)) {
          iVar4 = iVar16 - param_2;
          do {
            puVar7[uVar8 + iVar4 + -1] = 0x20;
            iVar16 = iVar4 + uVar8;
            uVar8 = uVar8 + 1;
            if (uVar8 % DAT_0007b068 == 0) break;
          } while (uVar8 < uVar14);
        }
        local_40 = local_40 + 1;
        param_2 = uVar8;
      }
      else {
        uVar8 = FUN_00017e50(local_40,&local_24);
        cVar2 = FUN_00017ac0(local_40);
        pcVar13 = puVar7 + iVar4;
        if (cVar2 == '\0') {
          if ((int)uVar8 < 1) {
            *pcVar13 = -0x11;
            iVar16 = iVar4 + 3;
            param_2 = param_2 + 1;
            puVar7[iVar4 + 1] = 0xbf;
            puVar7[iVar4 + 2] = 0xbd;
            pcVar13 = local_40 + uVar8 + 8;
            local_40 = local_40 + 1;
            if ((int)uVar8 < -1) {
              local_40 = pcVar13;
            }
          }
          else {
            if ((pcVar13 < local_40 + 4 && local_40 < puVar7 + iVar4 + 4 ||
                 (((uint)pcVar13 | (uint)local_40) & 3) != 0) || (uVar8 - 1 < 4)) {
              pcVar10 = local_40;
              do {
                pcVar15 = pcVar10 + 1;
                *pcVar13 = *pcVar10;
                pcVar13 = pcVar13 + 1;
                pcVar10 = pcVar15;
              } while (local_40 + uVar8 != pcVar15);
            }
            else {
              pcVar10 = pcVar13;
              pcVar15 = local_40;
              do {
                uVar1 = *(undefined4 *)pcVar15;
                pcVar11 = pcVar10 + 4;
                pcVar15 = pcVar15 + 4;
                *(undefined4 *)pcVar10 = uVar1;
                pcVar10 = pcVar11;
              } while (pcVar11 != pcVar13 + (uVar8 & 0xfffffffc));
              uVar12 = uVar8 & 0xfffffffc;
              pcVar13 = local_40 + uVar12;
              iVar9 = uVar12 + iVar4;
              if (((uVar12 != uVar8) && (puVar7[iVar9] = *pcVar13, uVar8 - uVar12 != 1)) &&
                 (puVar7[iVar9 + 1] = pcVar13[1], uVar8 - uVar12 != 2)) {
                puVar7[iVar9 + 2] = pcVar13[2];
              }
            }
            local_40 = local_40 + uVar8;
            iVar16 = iVar4 + uVar8;
            param_2 = param_2 + local_24;
          }
        }
        else {
          *pcVar13 = '^';
          iVar16 = iVar4 + 2;
          uVar3 = FUN_00017d90(local_40,param_4);
          puVar7[iVar4 + 1] = uVar3;
          local_40 = local_40 + uVar8;
          param_2 = param_2 + 2;
        }
      }
      cVar2 = *local_40;
      iVar4 = iVar16;
    }
  } while( true );
}

