
/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */

void INET6_setroute(int action,char **args)

{
  sockaddr_in6 sa6;
  ifreq ifr;
  in6_rtmsg rt;
  
}



void FUN_00039ef3(void)

{
  int *piVar1;
  char *pcVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  byte **ppbVar7;
  int unaff_EBP;
  byte *pbVar8;
  undefined4 *puVar9;
  byte *pbVar10;
  undefined4 *puVar11;
  int in_GS_OFFSET;
  bool bVar12;
  bool bVar13;
  byte bVar14;
  undefined8 uVar15;
  undefined4 local_d0;
  byte *local_cc;
  undefined4 *local_c8;
  undefined4 *local_c4;
  undefined4 local_c0;
  int **local_bc;
  int local_b8;
  int local_b4;
  int *local_b0 [3];
  undefined4 local_a4 [2];
  undefined4 local_9c [8];
  uint local_7c;
  byte local_68 [16];
  undefined4 local_58 [4];
  undefined4 local_48 [5];
  undefined2 local_34;
  undefined4 local_30;
  uint local_28;
  undefined4 local_24;
  undefined4 local_20;
  
  bVar14 = 0;
  ppbVar7 = &local_cc;
  local_d0 = 0x39f02;
  uVar15 = FUN_00027c59();
  puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20);
  local_c0 = (int)uVar15;
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  bVar12 = (undefined4 *)0xfffffffb < puVar9;
  local_b0[0] = puVar9 + 1;
  bVar13 = local_b0[0] == (int *)0x0;
  local_cc = (byte *)*puVar9;
  iVar5 = 8;
  pbVar8 = local_cc;
  pbVar10 = &LAB_00096872 + unaff_EBP;
  do {
    if (iVar5 == 0) break;
    iVar5 = iVar5 + -1;
    bVar12 = *pbVar8 < *pbVar10;
    bVar13 = *pbVar8 == *pbVar10;
    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;
    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;
  } while (bVar13);
  if ((!bVar12 && !bVar13) == bVar12) {
    local_c8 = local_a4;
    puVar9 = local_c8;
    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {
      *puVar9 = 0;
      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
    }
    puVar9 = local_58;
    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {
      *puVar9 = 0;
      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
    }
    local_c4 = local_9c;
    puVar9 = local_9c;
    pbVar8 = local_68;
    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {
      *(undefined4 *)pbVar8 = *puVar9;
      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;
    }
    local_28 = 1;
  }
  else {
    pcVar2 = strchr((char *)local_cc,0x2f);
    if (pcVar2 == (char *)0x0) {
      local_c8 = local_a4;
      local_d0 = 0x39ff2;
      iVar5 = FUN_000b494b();
      if (iVar5 < 0) goto LAB_00039fcd;
      puVar9 = local_58;
      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {
        *puVar9 = 0;
        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
      }
      local_c4 = local_9c;
      puVar9 = local_9c;
      pbVar8 = local_68;
      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {
        *(undefined4 *)pbVar8 = *puVar9;
        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;
      }
      local_34 = 0x80;
      local_28 = 5;
    }
    else {
      *pcVar2 = '\0';
      local_d0 = 0x39fb2;
      iVar5 = FUN_000bee7c();
      local_c8 = local_a4;
      local_d0 = 0x39fc5;
      iVar6 = FUN_000b494b();
      if (iVar6 < 0) {
LAB_00039fcd:
                    /* WARNING: Subroutine does not return */
        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);
      }
      puVar9 = local_58;
      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {
        *puVar9 = 0;
        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
      }
      local_c4 = local_9c;
      puVar9 = local_9c;
      pbVar8 = local_68;
      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {
        *(undefined4 *)pbVar8 = *puVar9;
        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;
      }
      local_34 = (undefined2)iVar5;
      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;
    }
  }
  local_cc = local_68;
  local_30 = 1;
  if (*local_b0[0] == 0) {
    local_d0 = 0x3a0af;
    FUN_0001aa26();
    local_24 = 0;
  }
  else {
    local_bc = local_b0;
    local_b8 = unaff_EBP + 0x9773f;
    local_b4 = unaff_EBP + 0x89ca2;
    iVar5 = 0;
    do {
      local_d0 = 0x3a075;
      uVar3 = FUN_00039b43();
      if (uVar3 - 0x21 < 2) {
        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);
        iVar4 = *local_b0[0];
        iVar6 = iVar5;
      }
      else {
        iVar6 = local_b0[0][-1];
        if (uVar3 == 0x10) {
          local_d0 = 0x3a12e;
          local_30 = FUN_000bf04b();
          iVar4 = *local_b0[0];
          iVar6 = iVar5;
        }
        else {
          piVar1 = local_b0[0];
          if (uVar3 == 0x12) {
            if ((local_28 & 2) != 0) goto LAB_0003a150;
            local_d0 = 0x3a1e9;
            iVar4 = FUN_000b494b();
            if (iVar4 < 0) {
                    /* WARNING: Subroutine does not return */
              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);
            }
            puVar9 = local_c4;
            puVar11 = local_48;
            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {
              *puVar11 = *puVar9;
              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;
            }
            local_28 = local_28 | 2;
            iVar4 = *local_b0[0];
            iVar6 = iVar5;
          }
          else {
            if (iVar5 != 0) {
LAB_0003a150:
              local_b0[0] = piVar1;
                    /* WARNING: Subroutine does not return */
              local_d0 = 0x3a155;
              FUN_0001803e();
            }
            if (uVar3 != 0x16) {
              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))
              goto LAB_0003a150;
              iVar6 = *local_b0[0];
              local_b0[0] = local_b0[0] + 1;
              break;
            }
            iVar4 = *local_b0[0];
          }
        }
      }
      iVar5 = iVar6;
    } while (iVar4 != 0);
    local_d0 = 0x3a191;
    FUN_0001aa26();
    local_24 = 0;
    ppbVar7 = &local_cc;
    if (iVar6 != 0) {
      local_d0 = 0x3a1b3;
      FUN_000194c4();
      FUN_0001ac33(unaff_EBP + 0x968ac);
      local_28 = local_7c;
      ppbVar7 = (byte **)&local_d0;
    }
  }
  if (*(int *)((int)ppbVar7 + 0xc) == 1) {
    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;
    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;
    FUN_0001ac33();
  }
  else {
    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;
    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;
    FUN_0001ac33();
  }
  if (*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;
    FUN_00017e20();
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xbc
CALL 0x00027c59
ADD EBP,0xa1b1e
MOV dword ptr [ESP + 0xc],EAX
MOV dword ptr [ESP + 0x1c],EDX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0xac],EAX
XOR EAX,EAX
MOV EAX,EDX
ADD EDX,0x4
MOV dword ptr [ESP + 0x1c],EDX
MOV ESI,dword ptr [EAX]
MOV dword ptr [ESP],ESI
MOV ECX,0x8
LEA EDI,[EBP + 0xffff4d54]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
MOVSX EAX,AL
TEST EAX,EAX
JNZ 0x00039f86
LEA EDI,[ESP + 0x28]
MOV dword ptr [ESP + 0x4],EDI
MOV ECX,0x7
STOSD.REP ES:EDI
LEA ESI,[ESP + 0x64]
MOV dword ptr [ESP],ESI
SUB ESP,0x8
PUSH 0x2f
MOV EDI,dword ptr [ESP + 0xc]
PUSH EDI
MOV EBX,EBP
CALL 0x00016ad0
ADD ESP,0x10
MOV EBX,EAX
TEST EAX,EAX
JZ 0x00039fe0
MOV byte ptr [EAX],0x0
LEA EAX,[EAX + 0x1]
MOV ECX,0x80
XOR EDX,EDX
CALL 0x000bee7c
MOV EBX,EAX
LEA ECX,[ESP + 0x28]
MOV dword ptr [ESP + 0x4],ECX
MOV EDX,ECX
MOV EAX,EDI
CALL 0x000b494b
TEST EAX,EAX
JNS 0x0003a222
SUB ESP,0x8
PUSH dword ptr [ESP + 0x8]
LEA EAX,[EBP + 0xffff5b19]
PUSH EAX
CALL 0x000192f3
LEA EAX,[ESP + 0x28]
MOV dword ptr [ESP + 0x4],EAX
MOV EDX,EAX
MOV EAX,dword ptr [ESP]
CALL 0x000b494b
TEST EAX,EAX
JS 0x00039fcd
LEA ESI,[ESP + 0x64]
MOV dword ptr [ESP],ESI
LEA EDX,[ESP + 0x74]
MOV ECX,0xe
MOV EDI,EDX
MOV EAX,EBX
STOSD.REP ES:EDI
LEA EAX,[ESP + 0x30]
MOV dword ptr [ESP + 0x8],EAX
MOV ECX,0x4
MOV EDI,ESI
MOV ESI,EAX
MOVSD.REP ES:EDI,ESI
MOV word ptr [ESP + 0x98],0x80
MOV EDX,dword ptr [ESP + 0x1c]
MOV EAX,0x5
MOV dword ptr [ESP + 0xa4],EAX
MOV dword ptr [ESP + 0x9c],0x1
MOV EDX,dword ptr [EDX]
TEST EDX,EDX
JZ 0x0003a09e
XOR EBX,EBX
LEA EAX,[ESP + 0x1c]
MOV dword ptr [ESP + 0x10],EAX
LEA EAX,[EBP + 0xffff5c21]
MOV dword ptr [ESP + 0x14],EAX
LEA EAX,[EBP + 0xfffe8184]
MOV dword ptr [ESP + 0x18],EAX
MOV EDX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x00039b43
MOV EDX,dword ptr [ESP + 0x1c]
LEA ECX,[EAX + -0x21]
CMP ECX,0x1
JA 0x0003a11f
AND EAX,0x3
MOV EDI,dword ptr [ESP + 0x18]
MOVZX EAX,word ptr [EDI + EAX*0x2]
OR dword ptr [ESP + 0xa4],EAX
MOV EAX,dword ptr [EDX]
JMP 0x0003a162
XOR ECX,ECX
MOV EDX,0x2
MOV EAX,0xa
CALL 0x0001aa26
MOV ESI,EAX
MOV dword ptr [ESP + 0xa8],0x0
CMP dword ptr [ESP + 0xc],0x1
JZ 0x0003a100
SUB ESP,0xc
LEA EAX,[EBP + 0xffff5b30]
PUSH EAX
MOV ECX,dword ptr [ESP + 0x10]
MOV EDX,0x890c
MOV EAX,ESI
CALL 0x0001ac33
ADD ESP,0xc
MOV EAX,dword ptr [ESP + 0xac]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x0003a0fb
ADD ESP,0xbc
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x00017e20
SUB ESP,0xc
LEA EAX,[EBP + 0xffff5b26]
PUSH EAX
MOV ECX,dword ptr [ESP + 0x10]
MOV EDX,0x890b
MOV EAX,ESI
CALL 0x0001ac33
ADD ESP,0xc
JMP 0x0003a0e0
MOV ESI,dword ptr [EDX + -0x4]
CMP EAX,0x10
JNZ 0x0003a13d
MOV EAX,ESI
CALL 0x000bf04b
MOV dword ptr [ESP + 0x9c],EAX
MOV EAX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [EAX]
JMP 0x0003a162
CMP EAX,0x12
JNZ 0x0003a155
TEST byte ptr [ESP + 0xa4],0x2
JZ 0x0003a1de
CALL 0x0001803e
TEST EBX,EBX
JNZ 0x0003a150
CMP EAX,0x16
JNZ 0x0003a16c
MOV EAX,dword ptr [EDX]
MOV EBX,ESI
TEST EAX,EAX
JNZ 0x0003a068
JMP 0x0003a180
TEST EAX,EAX
JNZ 0x0003a150
LEA EAX,[EDX + 0x4]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [EDX + 0x4]
TEST EAX,EAX
JNZ 0x0003a150
MOV EBX,dword ptr [EDX]
XOR ECX,ECX
MOV EDX,0x2
MOV EAX,0xa
CALL 0x0001aa26
MOV ESI,EAX
MOV dword ptr [ESP + 0xa8],0x0
TEST EBX,EBX
JZ 0x0003a0bc
LEA EDI,[ESP + 0x44]
MOV EDX,EBX
MOV EAX,EDI
CALL 0x000194c4
SUB ESP,0xc
LEA EAX,[EBP + 0xffff4d8e]
PUSH EAX
MOV ECX,EDI
MOV EDX,0x8933
MOV EAX,ESI
CALL 0x0001ac33
MOV EAX,dword ptr [ESP + 0x60]
MOV dword ptr [ESP + 0xb4],EAX
ADD ESP,0xc
JMP 0x0003a0bc
MOV EDX,dword ptr [ESP + 0x4]
MOV EAX,ESI
CALL 0x000b494b
TEST EAX,EAX
JNS 0x0003a1fd
SUB ESP,0x8
PUSH ESI
LEA EAX,[EBP + 0xffff5b19]
PUSH EAX
CALL 0x000192f3
LEA EDI,[ESP + 0x84]
MOV ECX,0x4
MOV ESI,dword ptr [ESP + 0x8]
MOVSD.REP ES:EDI,ESI
OR dword ptr [ESP + 0xa4],0x2
MOV EAX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [EAX]
JMP 0x0003a162
LEA ESI,[ESP + 0x64]
MOV dword ptr [ESP],ESI
LEA EDX,[ESP + 0x74]
MOV ECX,0xe
XOR EAX,EAX
MOV EDI,EDX
STOSD.REP ES:EDI
LEA EAX,[ESP + 0x30]
MOV dword ptr [ESP + 0x8],EAX
MOV ECX,0x4
MOV EDI,ESI
MOV ESI,EAX
MOVSD.REP ES:EDI,ESI
MOV word ptr [ESP + 0x98],BX
MOV EDX,dword ptr [ESP + 0x1c]
XOR EAX,EAX
ADD EBX,-0x80
SETZ AL
LEA EAX,[EAX*0x4 + 0x1]
JMP 0x0003a032
(translation_unit "void FUN_00039ef3(void)\n\n{\n  int *piVar1;\n  char *pcVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  byte **ppbVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  undefined4 *puVar9;\n  byte *pbVar10;\n  undefined4 *puVar11;\n  int in_GS_OFFSET;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined8 uVar15;\n  undefined4 local_d0;\n  byte *local_cc;\n  undefined4 *local_c8;\n  undefined4 *local_c4;\n  undefined4 local_c0;\n  int **local_bc;\n  int local_b8;\n  int local_b4;\n  int *local_b0 [3];\n  undefined4 local_a4 [2];\n  undefined4 local_9c [8];\n  uint local_7c;\n  byte local_68 [16];\n  undefined4 local_58 [4];\n  undefined4 local_48 [5];\n  undefined2 local_34;\n  undefined4 local_30;\n  uint local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  bVar14 = 0;\n  ppbVar7 = &local_cc;\n  local_d0 = 0x39f02;\n  uVar15 = FUN_00027c59();\n  puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20);\n  local_c0 = (int)uVar15;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  bVar12 = (undefined4 *)0xfffffffb < puVar9;\n  local_b0[0] = puVar9 + 1;\n  bVar13 = local_b0[0] == (int *)0x0;\n  local_cc = (byte *)*puVar9;\n  iVar5 = 8;\n  pbVar8 = local_cc;\n  pbVar10 = &LAB_00096872 + unaff_EBP;\n  do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar12 = *pbVar8 < *pbVar10;\n    bVar13 = *pbVar8 == *pbVar10;\n    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n  } while (bVar13);\n  if ((!bVar12 && !bVar13) == bVar12) {\n    local_c8 = local_a4;\n    puVar9 = local_c8;\n    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    puVar9 = local_58;\n    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    local_c4 = local_9c;\n    puVar9 = local_9c;\n    pbVar8 = local_68;\n    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }\n    local_28 = 1;\n  }\n  else {\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    /* WARNING: Subroutine does not return */\n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }\n  local_cc = local_68;\n  local_30 = 1;\n  if (*local_b0[0] == 0) {\n    local_d0 = 0x3a0af;\n    FUN_0001aa26();\n    local_24 = 0;\n  }\n  else {\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }\n  if (*(int *)((int)ppbVar7 + 0xc) == 1) {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;\n    FUN_0001ac33();\n  }\n  else {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }\n  if (*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;\n    FUN_00017e20();\n  }\n  return;\n}\n\n" (function_definition "void FUN_00039ef3(void)\n\n{\n  int *piVar1;\n  char *pcVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  byte **ppbVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  undefined4 *puVar9;\n  byte *pbVar10;\n  undefined4 *puVar11;\n  int in_GS_OFFSET;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined8 uVar15;\n  undefined4 local_d0;\n  byte *local_cc;\n  undefined4 *local_c8;\n  undefined4 *local_c4;\n  undefined4 local_c0;\n  int **local_bc;\n  int local_b8;\n  int local_b4;\n  int *local_b0 [3];\n  undefined4 local_a4 [2];\n  undefined4 local_9c [8];\n  uint local_7c;\n  byte local_68 [16];\n  undefined4 local_58 [4];\n  undefined4 local_48 [5];\n  undefined2 local_34;\n  undefined4 local_30;\n  uint local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  bVar14 = 0;\n  ppbVar7 = &local_cc;\n  local_d0 = 0x39f02;\n  uVar15 = FUN_00027c59();\n  puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20);\n  local_c0 = (int)uVar15;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  bVar12 = (undefined4 *)0xfffffffb < puVar9;\n  local_b0[0] = puVar9 + 1;\n  bVar13 = local_b0[0] == (int *)0x0;\n  local_cc = (byte *)*puVar9;\n  iVar5 = 8;\n  pbVar8 = local_cc;\n  pbVar10 = &LAB_00096872 + unaff_EBP;\n  do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar12 = *pbVar8 < *pbVar10;\n    bVar13 = *pbVar8 == *pbVar10;\n    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n  } while (bVar13);\n  if ((!bVar12 && !bVar13) == bVar12) {\n    local_c8 = local_a4;\n    puVar9 = local_c8;\n    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    puVar9 = local_58;\n    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    local_c4 = local_9c;\n    puVar9 = local_9c;\n    pbVar8 = local_68;\n    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }\n    local_28 = 1;\n  }\n  else {\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    /* WARNING: Subroutine does not return */\n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }\n  local_cc = local_68;\n  local_30 = 1;\n  if (*local_b0[0] == 0) {\n    local_d0 = 0x3a0af;\n    FUN_0001aa26();\n    local_24 = 0;\n  }\n  else {\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }\n  if (*(int *)((int)ppbVar7 + 0xc) == 1) {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;\n    FUN_0001ac33();\n  }\n  else {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }\n  if (*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;\n    FUN_00017e20();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00039ef3(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  char *pcVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  byte **ppbVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  undefined4 *puVar9;\n  byte *pbVar10;\n  undefined4 *puVar11;\n  int in_GS_OFFSET;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined8 uVar15;\n  undefined4 local_d0;\n  byte *local_cc;\n  undefined4 *local_c8;\n  undefined4 *local_c4;\n  undefined4 local_c0;\n  int **local_bc;\n  int local_b8;\n  int local_b4;\n  int *local_b0 [3];\n  undefined4 local_a4 [2];\n  undefined4 local_9c [8];\n  uint local_7c;\n  byte local_68 [16];\n  undefined4 local_58 [4];\n  undefined4 local_48 [5];\n  undefined2 local_34;\n  undefined4 local_30;\n  uint local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  bVar14 = 0;\n  ppbVar7 = &local_cc;\n  local_d0 = 0x39f02;\n  uVar15 = FUN_00027c59();\n  puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20);\n  local_c0 = (int)uVar15;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  bVar12 = (undefined4 *)0xfffffffb < puVar9;\n  local_b0[0] = puVar9 + 1;\n  bVar13 = local_b0[0] == (int *)0x0;\n  local_cc = (byte *)*puVar9;\n  iVar5 = 8;\n  pbVar8 = local_cc;\n  pbVar10 = &LAB_00096872 + unaff_EBP;\n  do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar12 = *pbVar8 < *pbVar10;\n    bVar13 = *pbVar8 == *pbVar10;\n    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n  } while (bVar13);\n  if ((!bVar12 && !bVar13) == bVar12) {\n    local_c8 = local_a4;\n    puVar9 = local_c8;\n    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    puVar9 = local_58;\n    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    local_c4 = local_9c;\n    puVar9 = local_9c;\n    pbVar8 = local_68;\n    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }\n    local_28 = 1;\n  }\n  else {\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    /* WARNING: Subroutine does not return */\n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }\n  local_cc = local_68;\n  local_30 = 1;\n  if (*local_b0[0] == 0) {\n    local_d0 = 0x3a0af;\n    FUN_0001aa26();\n    local_24 = 0;\n  }\n  else {\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }\n  if (*(int *)((int)ppbVar7 + 0xc) == 1) {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;\n    FUN_0001ac33();\n  }\n  else {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }\n  if (*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;\n    FUN_00017e20();\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte **ppbVar7;" type_identifier (pointer_declarator "**ppbVar7" * (pointer_declarator "*ppbVar7" * identifier)) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "byte bVar14;" type_identifier identifier ;) (declaration "undefined8 uVar15;" type_identifier identifier ;) (declaration "undefined4 local_d0;" type_identifier identifier ;) (declaration "byte *local_cc;" type_identifier (pointer_declarator "*local_cc" * identifier) ;) (declaration "undefined4 *local_c8;" type_identifier (pointer_declarator "*local_c8" * identifier) ;) (declaration "undefined4 *local_c4;" type_identifier (pointer_declarator "*local_c4" * identifier) ;) (declaration "undefined4 local_c0;" type_identifier identifier ;) (declaration "int **local_bc;" primitive_type (pointer_declarator "**local_bc" * (pointer_declarator "*local_bc" * identifier)) ;) (declaration "int local_b8;" primitive_type identifier ;) (declaration "int local_b4;" primitive_type identifier ;) (declaration "int *local_b0 [3];" primitive_type (pointer_declarator "*local_b0 [3]" * (array_declarator "local_b0 [3]" identifier [ number_literal ])) ;) (declaration "undefined4 local_a4 [2];" type_identifier (array_declarator "local_a4 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 local_9c [8];" type_identifier (array_declarator "local_9c [8]" identifier [ number_literal ]) ;) (declaration "uint local_7c;" type_identifier identifier ;) (declaration "byte local_68 [16];" type_identifier (array_declarator "local_68 [16]" identifier [ number_literal ]) ;) (declaration "undefined4 local_58 [4];" type_identifier (array_declarator "local_58 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_48 [5];" type_identifier (array_declarator "local_48 [5]" identifier [ number_literal ]) ;) (declaration "undefined2 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "bVar14 = 0;" (assignment_expression "bVar14 = 0" identifier = number_literal) ;) (expression_statement "ppbVar7 = &local_cc;" (assignment_expression "ppbVar7 = &local_cc" identifier = (pointer_expression "&local_cc" & identifier)) ;) (expression_statement "local_d0 = 0x39f02;" (assignment_expression "local_d0 = 0x39f02" identifier = number_literal) ;) (expression_statement "uVar15 = FUN_00027c59();" (assignment_expression "uVar15 = FUN_00027c59()" identifier = (call_expression "FUN_00027c59()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20);" (assignment_expression "puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20)" identifier = (cast_expression "(undefined4 *)((ulonglong)uVar15 >> 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar15 >> 0x20)" ( (binary_expression "(ulonglong)uVar15 >> 0x20" (cast_expression "(ulonglong)uVar15" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_c0 = (int)uVar15;" (assignment_expression "local_c0 = (int)uVar15" identifier = (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "bVar12 = (undefined4 *)0xfffffffb < puVar9;" (assignment_expression "bVar12 = (undefined4 *)0xfffffffb < puVar9" identifier = (binary_expression "(undefined4 *)0xfffffffb < puVar9" (cast_expression "(undefined4 *)0xfffffffb" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier)) ;) (expression_statement "local_b0[0] = puVar9 + 1;" (assignment_expression "local_b0[0] = puVar9 + 1" (subscript_expression "local_b0[0]" identifier [ number_literal ]) = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) (expression_statement "bVar13 = local_b0[0] == (int *)0x0;" (assignment_expression "bVar13 = local_b0[0] == (int *)0x0" identifier = (binary_expression "local_b0[0] == (int *)0x0" (subscript_expression "local_b0[0]" identifier [ number_literal ]) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "local_cc = (byte *)*puVar9;" (assignment_expression "local_cc = (byte *)*puVar9" identifier = (cast_expression "(byte *)*puVar9" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier))) ;) (expression_statement "iVar5 = 8;" (assignment_expression "iVar5 = 8" identifier = number_literal) ;) (expression_statement "pbVar8 = local_cc;" (assignment_expression "pbVar8 = local_cc" identifier = identifier) ;) (expression_statement "pbVar10 = &LAB_00096872 + unaff_EBP;" (assignment_expression "pbVar10 = &LAB_00096872 + unaff_EBP" identifier = (binary_expression "&LAB_00096872 + unaff_EBP" (pointer_expression "&LAB_00096872" & identifier) + identifier)) ;) (do_statement "do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar12 = *pbVar8 < *pbVar10;\n    bVar13 = *pbVar8 == *pbVar10;\n    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n  } while (bVar13);" do (compound_statement "{\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar12 = *pbVar8 < *pbVar10;\n    bVar13 = *pbVar8 == *pbVar10;\n    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n  }" { (if_statement "if (iVar5 == 0) break;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "bVar12 = *pbVar8 < *pbVar10;" (assignment_expression "bVar12 = *pbVar8 < *pbVar10" identifier = (binary_expression "*pbVar8 < *pbVar10" (pointer_expression "*pbVar8" * identifier) < (pointer_expression "*pbVar10" * identifier))) ;) (expression_statement "bVar13 = *pbVar8 == *pbVar10;" (assignment_expression "bVar13 = *pbVar8 == *pbVar10" identifier = (binary_expression "*pbVar8 == *pbVar10" (pointer_expression "*pbVar8" * identifier) == (pointer_expression "*pbVar10" * identifier))) ;) (expression_statement "pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "pbVar8 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar8 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "pbVar10 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar13)" ( identifier )) ;) (if_statement "if ((!bVar12 && !bVar13) == bVar12) {\n    local_c8 = local_a4;\n    puVar9 = local_c8;\n    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    puVar9 = local_58;\n    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    local_c4 = local_9c;\n    puVar9 = local_9c;\n    pbVar8 = local_68;\n    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }\n    local_28 = 1;\n  }\n  else {\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    /* WARNING: Subroutine does not return */\n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }" if (parenthesized_expression "((!bVar12 && !bVar13) == bVar12)" ( (binary_expression "(!bVar12 && !bVar13) == bVar12" (parenthesized_expression "(!bVar12 && !bVar13)" ( (binary_expression "!bVar12 && !bVar13" (unary_expression "!bVar12" ! identifier) && (unary_expression "!bVar13" ! identifier)) )) == identifier) )) (compound_statement "{\n    local_c8 = local_a4;\n    puVar9 = local_c8;\n    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    puVar9 = local_58;\n    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    local_c4 = local_9c;\n    puVar9 = local_9c;\n    pbVar8 = local_68;\n    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }\n    local_28 = 1;\n  }" { (expression_statement "local_c8 = local_a4;" (assignment_expression "local_c8 = local_a4" identifier = identifier) ;) (expression_statement "puVar9 = local_c8;" (assignment_expression "puVar9 = local_c8" identifier = identifier) ;) (for_statement "for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }" for ( (assignment_expression "iVar5 = 7" identifier = number_literal) ; (binary_expression "iVar5 != 0" identifier != number_literal) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }" { (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "puVar9 = local_58;" (assignment_expression "puVar9 = local_58" identifier = identifier) ;) (for_statement "for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }" for ( (assignment_expression "iVar5 = 0xe" identifier = number_literal) ; (binary_expression "iVar5 != 0" identifier != number_literal) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }" { (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_c4 = local_9c;" (assignment_expression "local_c4 = local_9c" identifier = identifier) ;) (expression_statement "puVar9 = local_9c;" (assignment_expression "puVar9 = local_9c" identifier = identifier) ;) (expression_statement "pbVar8 = local_68;" (assignment_expression "pbVar8 = local_68" identifier = identifier) ;) (for_statement "for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }" for ( (assignment_expression "iVar5 = 4" identifier = number_literal) ; (binary_expression "iVar5 != 0" identifier != number_literal) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }" { (expression_statement "*(undefined4 *)pbVar8 = *puVar9;" (assignment_expression "*(undefined4 *)pbVar8 = *puVar9" (pointer_expression "*(undefined4 *)pbVar8" * (cast_expression "(undefined4 *)pbVar8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;" (assignment_expression "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4" identifier = (binary_expression "pbVar8 + ((uint)bVar14 * -2 + 1) * 4" identifier + (binary_expression "((uint)bVar14 * -2 + 1) * 4" (parenthesized_expression "((uint)bVar14 * -2 + 1)" ( (binary_expression "(uint)bVar14 * -2 + 1" (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) + number_literal) )) * number_literal))) ;) })) (expression_statement "local_28 = 1;" (assignment_expression "local_28 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    /* WARNING: Subroutine does not return */\n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }" else (compound_statement "{\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    /* WARNING: Subroutine does not return */\n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }" { (expression_statement "pcVar2 = strchr((char *)local_cc,0x2f);" (assignment_expression "pcVar2 = strchr((char *)local_cc,0x2f)" identifier = (call_expression "strchr((char *)local_cc,0x2f)" identifier (argument_list "((char *)local_cc,0x2f)" ( (cast_expression "(char *)local_cc" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    /* WARNING: Subroutine does not return */\n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }" { (expression_statement "local_c8 = local_a4;" (assignment_expression "local_c8 = local_a4" identifier = identifier) ;) (expression_statement "local_d0 = 0x39ff2;" (assignment_expression "local_d0 = 0x39ff2" identifier = number_literal) ;) (expression_statement "iVar5 = FUN_000b494b();" (assignment_expression "iVar5 = FUN_000b494b()" identifier = (call_expression "FUN_000b494b()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 < 0) goto LAB_00039fcd;" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (goto_statement "goto LAB_00039fcd;" goto statement_identifier ;)) (expression_statement "puVar9 = local_58;" (assignment_expression "puVar9 = local_58" identifier = identifier) ;) (for_statement "for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }" for ( (assignment_expression "iVar5 = 0xe" identifier = number_literal) ; (binary_expression "iVar5 != 0" identifier != number_literal) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }" { (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_c4 = local_9c;" (assignment_expression "local_c4 = local_9c" identifier = identifier) ;) (expression_statement "puVar9 = local_9c;" (assignment_expression "puVar9 = local_9c" identifier = identifier) ;) (expression_statement "pbVar8 = local_68;" (assignment_expression "pbVar8 = local_68" identifier = identifier) ;) (for_statement "for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }" for ( (assignment_expression "iVar5 = 4" identifier = number_literal) ; (binary_expression "iVar5 != 0" identifier != number_literal) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }" { (expression_statement "*(undefined4 *)pbVar8 = *puVar9;" (assignment_expression "*(undefined4 *)pbVar8 = *puVar9" (pointer_expression "*(undefined4 *)pbVar8" * (cast_expression "(undefined4 *)pbVar8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;" (assignment_expression "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4" identifier = (binary_expression "pbVar8 + ((uint)bVar14 * -2 + 1) * 4" identifier + (binary_expression "((uint)bVar14 * -2 + 1) * 4" (parenthesized_expression "((uint)bVar14 * -2 + 1)" ( (binary_expression "(uint)bVar14 * -2 + 1" (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) + number_literal) )) * number_literal))) ;) })) (expression_statement "local_34 = 0x80;" (assignment_expression "local_34 = 0x80" identifier = number_literal) ;) (expression_statement "local_28 = 5;" (assignment_expression "local_28 = 5" identifier = number_literal) ;) }) (else_clause "else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    /* WARNING: Subroutine does not return */\n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }" else (compound_statement "{\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    /* WARNING: Subroutine does not return */\n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }" { (expression_statement "*pcVar2 = '\0';" (assignment_expression "*pcVar2 = '\0'" (pointer_expression "*pcVar2" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "local_d0 = 0x39fb2;" (assignment_expression "local_d0 = 0x39fb2" identifier = number_literal) ;) (expression_statement "iVar5 = FUN_000bee7c();" (assignment_expression "iVar5 = FUN_000bee7c()" identifier = (call_expression "FUN_000bee7c()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_c8 = local_a4;" (assignment_expression "local_c8 = local_a4" identifier = identifier) ;) (expression_statement "local_d0 = 0x39fc5;" (assignment_expression "local_d0 = 0x39fc5" identifier = number_literal) ;) (expression_statement "iVar6 = FUN_000b494b();" (assignment_expression "iVar6 = FUN_000b494b()" identifier = (call_expression "FUN_000b494b()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 < 0) {\nLAB_00039fcd:\n                    /* WARNING: Subroutine does not return */\n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_00039fcd:\n                    /* WARNING: Subroutine does not return */\n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }" { (labeled_statement "LAB_00039fcd:\n                    /* WARNING: Subroutine does not return */\n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);" statement_identifier : comment (expression_statement "FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);" (call_expression "FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc)" identifier (argument_list "(&UNK_00097637 + unaff_EBP,local_cc)" ( (binary_expression "&UNK_00097637 + unaff_EBP" (pointer_expression "&UNK_00097637" & identifier) + identifier) , identifier ))) ;)) })) (expression_statement "puVar9 = local_58;" (assignment_expression "puVar9 = local_58" identifier = identifier) ;) (for_statement "for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }" for ( (assignment_expression "iVar6 = 0xe" identifier = number_literal) ; (binary_expression "iVar6 != 0" identifier != number_literal) ; (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ) (compound_statement "{\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }" { (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_c4 = local_9c;" (assignment_expression "local_c4 = local_9c" identifier = identifier) ;) (expression_statement "puVar9 = local_9c;" (assignment_expression "puVar9 = local_9c" identifier = identifier) ;) (expression_statement "pbVar8 = local_68;" (assignment_expression "pbVar8 = local_68" identifier = identifier) ;) (for_statement "for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }" for ( (assignment_expression "iVar6 = 4" identifier = number_literal) ; (binary_expression "iVar6 != 0" identifier != number_literal) ; (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ) (compound_statement "{\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }" { (expression_statement "*(undefined4 *)pbVar8 = *puVar9;" (assignment_expression "*(undefined4 *)pbVar8 = *puVar9" (pointer_expression "*(undefined4 *)pbVar8" * (cast_expression "(undefined4 *)pbVar8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;" (assignment_expression "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4" identifier = (binary_expression "pbVar8 + ((uint)bVar14 * -2 + 1) * 4" identifier + (binary_expression "((uint)bVar14 * -2 + 1) * 4" (parenthesized_expression "((uint)bVar14 * -2 + 1)" ( (binary_expression "(uint)bVar14 * -2 + 1" (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) + number_literal) )) * number_literal))) ;) })) (expression_statement "local_34 = (undefined2)iVar5;" (assignment_expression "local_34 = (undefined2)iVar5" identifier = (cast_expression "(undefined2)iVar5" ( (type_descriptor "undefined2" type_identifier) ) identifier)) ;) (expression_statement "local_28 = (uint)(iVar5 == 0x80) * 4 + 1;" (assignment_expression "local_28 = (uint)(iVar5 == 0x80) * 4 + 1" identifier = (binary_expression "(uint)(iVar5 == 0x80) * 4 + 1" (binary_expression "(uint)(iVar5 == 0x80) * 4" (call_expression "(uint)(iVar5 == 0x80)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar5 == 0x80)" ( (binary_expression "iVar5 == 0x80" identifier == number_literal) ))) * number_literal) + number_literal)) ;) }))) }))) (expression_statement "local_cc = local_68;" (assignment_expression "local_cc = local_68" identifier = identifier) ;) (expression_statement "local_30 = 1;" (assignment_expression "local_30 = 1" identifier = number_literal) ;) (if_statement "if (*local_b0[0] == 0) {\n    local_d0 = 0x3a0af;\n    FUN_0001aa26();\n    local_24 = 0;\n  }\n  else {\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }" if (parenthesized_expression "(*local_b0[0] == 0)" ( (binary_expression "*local_b0[0] == 0" (pointer_expression "*local_b0[0]" * (subscript_expression "local_b0[0]" identifier [ number_literal ])) == number_literal) )) (compound_statement "{\n    local_d0 = 0x3a0af;\n    FUN_0001aa26();\n    local_24 = 0;\n  }" { (expression_statement "local_d0 = 0x3a0af;" (assignment_expression "local_d0 = 0x3a0af" identifier = number_literal) ;) (expression_statement "FUN_0001aa26();" (call_expression "FUN_0001aa26()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }" else (compound_statement "{\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }" { (expression_statement "local_bc = local_b0;" (assignment_expression "local_bc = local_b0" identifier = identifier) ;) (expression_statement "local_b8 = unaff_EBP + 0x9773f;" (assignment_expression "local_b8 = unaff_EBP + 0x9773f" identifier = (binary_expression "unaff_EBP + 0x9773f" identifier + number_literal)) ;) (expression_statement "local_b4 = unaff_EBP + 0x89ca2;" (assignment_expression "local_b4 = unaff_EBP + 0x89ca2" identifier = (binary_expression "unaff_EBP + 0x89ca2" identifier + number_literal)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);" do (compound_statement "{\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    }" { (expression_statement "local_d0 = 0x3a075;" (assignment_expression "local_d0 = 0x3a075" identifier = number_literal) ;) (expression_statement "uVar3 = FUN_00039b43();" (assignment_expression "uVar3 = FUN_00039b43()" identifier = (call_expression "FUN_00039b43()" identifier (argument_list "()" ( )))) ;) (if_statement "if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }" if (parenthesized_expression "(uVar3 - 0x21 < 2)" ( (binary_expression "uVar3 - 0x21 < 2" (binary_expression "uVar3 - 0x21" identifier - number_literal) < number_literal) )) (compound_statement "{\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }" { (expression_statement "local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);" (assignment_expression "local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2)" identifier = (binary_expression "local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2)" identifier | (pointer_expression "*(ushort *)(local_b4 + (uVar3 & 3) * 2)" * (cast_expression "(ushort *)(local_b4 + (uVar3 & 3) * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b4 + (uVar3 & 3) * 2)" ( (binary_expression "local_b4 + (uVar3 & 3) * 2" identifier + (binary_expression "(uVar3 & 3) * 2" (parenthesized_expression "(uVar3 & 3)" ( (binary_expression "uVar3 & 3" identifier & number_literal) )) * number_literal)) )))))) ;) (expression_statement "iVar4 = *local_b0[0];" (assignment_expression "iVar4 = *local_b0[0]" identifier = (pointer_expression "*local_b0[0]" * (subscript_expression "local_b0[0]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" identifier = identifier) ;) }) (else_clause "else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }" else (compound_statement "{\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }" { (expression_statement "iVar6 = local_b0[0][-1];" (assignment_expression "iVar6 = local_b0[0][-1]" identifier = (subscript_expression "local_b0[0][-1]" (subscript_expression "local_b0[0]" identifier [ number_literal ]) [ number_literal ])) ;) (if_statement "if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }" if (parenthesized_expression "(uVar3 == 0x10)" ( (binary_expression "uVar3 == 0x10" identifier == number_literal) )) (compound_statement "{\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }" { (expression_statement "local_d0 = 0x3a12e;" (assignment_expression "local_d0 = 0x3a12e" identifier = number_literal) ;) (expression_statement "local_30 = FUN_000bf04b();" (assignment_expression "local_30 = FUN_000bf04b()" identifier = (call_expression "FUN_000bf04b()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = *local_b0[0];" (assignment_expression "iVar4 = *local_b0[0]" identifier = (pointer_expression "*local_b0[0]" * (subscript_expression "local_b0[0]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" identifier = identifier) ;) }) (else_clause "else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }" else (compound_statement "{\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }" { (expression_statement "piVar1 = local_b0[0];" (assignment_expression "piVar1 = local_b0[0]" identifier = (subscript_expression "local_b0[0]" identifier [ number_literal ])) ;) (if_statement "if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }" if (parenthesized_expression "(uVar3 == 0x12)" ( (binary_expression "uVar3 == 0x12" identifier == number_literal) )) (compound_statement "{\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }" { (if_statement "if ((local_28 & 2) != 0) goto LAB_0003a150;" if (parenthesized_expression "((local_28 & 2) != 0)" ( (binary_expression "(local_28 & 2) != 0" (parenthesized_expression "(local_28 & 2)" ( (binary_expression "local_28 & 2" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0003a150;" goto statement_identifier ;)) (expression_statement "local_d0 = 0x3a1e9;" (assignment_expression "local_d0 = 0x3a1e9" identifier = number_literal) ;) (expression_statement "iVar4 = FUN_000b494b();" (assignment_expression "iVar4 = FUN_000b494b()" identifier = (call_expression "FUN_000b494b()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 < 0) {\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }" { comment (expression_statement "FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);" (call_expression "FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6)" identifier (argument_list "(&UNK_00097637 + unaff_EBP,iVar6)" ( (binary_expression "&UNK_00097637 + unaff_EBP" (pointer_expression "&UNK_00097637" & identifier) + identifier) , identifier ))) ;) })) (expression_statement "puVar9 = local_c4;" (assignment_expression "puVar9 = local_c4" identifier = identifier) ;) (expression_statement "puVar11 = local_48;" (assignment_expression "puVar11 = local_48" identifier = identifier) ;) (for_statement "for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }" for ( (assignment_expression "iVar6 = 4" identifier = number_literal) ; (binary_expression "iVar6 != 0" identifier != number_literal) ; (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ) (compound_statement "{\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }" { (expression_statement "*puVar11 = *puVar9;" (assignment_expression "*puVar11 = *puVar9" (pointer_expression "*puVar11" * identifier) = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar11 = puVar11 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar11 = puVar11 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar11 + (uint)bVar14 * -2 + 1" (binary_expression "puVar11 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_28 = local_28 | 2;" (assignment_expression "local_28 = local_28 | 2" identifier = (binary_expression "local_28 | 2" identifier | number_literal)) ;) (expression_statement "iVar4 = *local_b0[0];" (assignment_expression "iVar4 = *local_b0[0]" identifier = (pointer_expression "*local_b0[0]" * (subscript_expression "local_b0[0]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" identifier = identifier) ;) }) (else_clause "else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }" else (compound_statement "{\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }" { (if_statement "if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    /* WARNING: Subroutine does not return */\n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }" { (labeled_statement "LAB_0003a150:\n              local_b0[0] = piVar1;" statement_identifier : (expression_statement "local_b0[0] = piVar1;" (assignment_expression "local_b0[0] = piVar1" (subscript_expression "local_b0[0]" identifier [ number_literal ]) = identifier) ;)) comment (expression_statement "local_d0 = 0x3a155;" (assignment_expression "local_d0 = 0x3a155" identifier = number_literal) ;) (expression_statement "FUN_0001803e();" (call_expression "FUN_0001803e()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }" if (parenthesized_expression "(uVar3 != 0x16)" ( (binary_expression "uVar3 != 0x16" identifier != number_literal) )) (compound_statement "{\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }" { (if_statement "if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;" if (parenthesized_expression "((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))" ( (binary_expression "(uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0)" (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(piVar1 = local_b0[0] + 1, local_b0[0][1] != 0)" ( (comma_expression "piVar1 = local_b0[0] + 1, local_b0[0][1] != 0" (assignment_expression "piVar1 = local_b0[0] + 1" identifier = (binary_expression "local_b0[0] + 1" (subscript_expression "local_b0[0]" identifier [ number_literal ]) + number_literal)) , (binary_expression "local_b0[0][1] != 0" (subscript_expression "local_b0[0][1]" (subscript_expression "local_b0[0]" identifier [ number_literal ]) [ number_literal ]) != number_literal)) ))) )) (goto_statement "goto LAB_0003a150;" goto statement_identifier ;)) (expression_statement "iVar6 = *local_b0[0];" (assignment_expression "iVar6 = *local_b0[0]" identifier = (pointer_expression "*local_b0[0]" * (subscript_expression "local_b0[0]" identifier [ number_literal ]))) ;) (expression_statement "local_b0[0] = local_b0[0] + 1;" (assignment_expression "local_b0[0] = local_b0[0] + 1" (subscript_expression "local_b0[0]" identifier [ number_literal ]) = (binary_expression "local_b0[0] + 1" (subscript_expression "local_b0[0]" identifier [ number_literal ]) + number_literal)) ;) (break_statement "break;" break ;) })) (expression_statement "iVar4 = *local_b0[0];" (assignment_expression "iVar4 = *local_b0[0]" identifier = (pointer_expression "*local_b0[0]" * (subscript_expression "local_b0[0]" identifier [ number_literal ]))) ;) }))) }))) }))) (expression_statement "iVar5 = iVar6;" (assignment_expression "iVar5 = iVar6" identifier = identifier) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "local_d0 = 0x3a191;" (assignment_expression "local_d0 = 0x3a191" identifier = number_literal) ;) (expression_statement "FUN_0001aa26();" (call_expression "FUN_0001aa26()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "ppbVar7 = &local_cc;" (assignment_expression "ppbVar7 = &local_cc" identifier = (pointer_expression "&local_cc" & identifier)) ;) (if_statement "if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }" { (expression_statement "local_d0 = 0x3a1b3;" (assignment_expression "local_d0 = 0x3a1b3" identifier = number_literal) ;) (expression_statement "FUN_000194c4();" (call_expression "FUN_000194c4()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001ac33(unaff_EBP + 0x968ac);" (call_expression "FUN_0001ac33(unaff_EBP + 0x968ac)" identifier (argument_list "(unaff_EBP + 0x968ac)" ( (binary_expression "unaff_EBP + 0x968ac" identifier + number_literal) ))) ;) (expression_statement "local_28 = local_7c;" (assignment_expression "local_28 = local_7c" identifier = identifier) ;) (expression_statement "ppbVar7 = (byte **)&local_d0;" (assignment_expression "ppbVar7 = (byte **)&local_d0" identifier = (cast_expression "(byte **)&local_d0" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&local_d0" & identifier))) ;) })) }))) (if_statement "if (*(int *)((int)ppbVar7 + 0xc) == 1) {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;\n    FUN_0001ac33();\n  }\n  else {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }" if (parenthesized_expression "(*(int *)((int)ppbVar7 + 0xc) == 1)" ( (binary_expression "*(int *)((int)ppbVar7 + 0xc) == 1" (pointer_expression "*(int *)((int)ppbVar7 + 0xc)" * (cast_expression "(int *)((int)ppbVar7 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppbVar7 + 0xc)" ( (binary_expression "(int)ppbVar7 + 0xc" (cast_expression "(int)ppbVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;\n    FUN_0001ac33();\n  }" { (expression_statement "*(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;" (assignment_expression "*(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP" (pointer_expression "*(undefined **)((int)ppbVar7 + -0x10)" * (cast_expression "(undefined **)((int)ppbVar7 + -0x10)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppbVar7 + -0x10)" ( (binary_expression "(int)ppbVar7 + -0x10" (cast_expression "(int)ppbVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "&UNK_00097644 + unaff_EBP" (pointer_expression "&UNK_00097644" & identifier) + identifier)) ;) (expression_statement "*(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;" (assignment_expression "*(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a" (pointer_expression "*(undefined4 *)((int)ppbVar7 + -0x14)" * (cast_expression "(undefined4 *)((int)ppbVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppbVar7 + -0x14)" ( (binary_expression "(int)ppbVar7 + -0x14" (cast_expression "(int)ppbVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0001ac33();" (call_expression "FUN_0001ac33()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }" else (compound_statement "{\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }" { (expression_statement "*(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;" (assignment_expression "*(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP" (pointer_expression "*(undefined **)((int)ppbVar7 + -0x10)" * (cast_expression "(undefined **)((int)ppbVar7 + -0x10)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppbVar7 + -0x10)" ( (binary_expression "(int)ppbVar7 + -0x10" (cast_expression "(int)ppbVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "&UNK_0009764e + unaff_EBP" (pointer_expression "&UNK_0009764e" & identifier) + identifier)) ;) (expression_statement "*(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;" (assignment_expression "*(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd" (pointer_expression "*(undefined4 *)((int)ppbVar7 + -0x14)" * (cast_expression "(undefined4 *)((int)ppbVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppbVar7 + -0x14)" ( (binary_expression "(int)ppbVar7 + -0x14" (cast_expression "(int)ppbVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0001ac33();" (call_expression "FUN_0001ac33()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;\n    FUN_00017e20();\n  }" if (parenthesized_expression "(*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)((int)ppbVar7 + 0xa8)" * (cast_expression "(int *)((int)ppbVar7 + 0xa8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppbVar7 + 0xa8)" ( (binary_expression "(int)ppbVar7 + 0xa8" (cast_expression "(int)ppbVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (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    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;\n    FUN_00017e20();\n  }" { comment (expression_statement "*(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;" (assignment_expression "*(undefined4 *)((int)ppbVar7 + -8) = 0x3a100" (pointer_expression "*(undefined4 *)((int)ppbVar7 + -8)" * (cast_expression "(undefined4 *)((int)ppbVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppbVar7 + -8)" ( (binary_expression "(int)ppbVar7 + -8" (cast_expression "(int)ppbVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00017e20();" (call_expression "FUN_00017e20()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */\n\nvoid INET6_setroute(int action,char **args)\n\n{\n  sockaddr_in6 sa6;\n  ifreq ifr;\n  in6_rtmsg rt;\n  \n}\n\n" comment (function_definition "void INET6_setroute(int action,char **args)\n\n{\n  sockaddr_in6 sa6;\n  ifreq ifr;\n  in6_rtmsg rt;\n  \n}" primitive_type (function_declarator "INET6_setroute(int action,char **args)" identifier (parameter_list "(int action,char **args)" ( (parameter_declaration "int action" primitive_type identifier) , (parameter_declaration "char **args" primitive_type (pointer_declarator "**args" * (pointer_declarator "*args" * identifier))) ))) (compound_statement "{\n  sockaddr_in6 sa6;\n  ifreq ifr;\n  in6_rtmsg rt;\n  \n}" { (declaration "sockaddr_in6 sa6;" type_identifier identifier ;) (declaration "ifreq ifr;" type_identifier identifier ;) (declaration "in6_rtmsg rt;" type_identifier identifier ;) })))
(translation_unit "void FUN_00039ef3(void)\n\n{\n  int *piVar1;\n  char *pcVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  byte **ppbVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  undefined4 *puVar9;\n  byte *pbVar10;\n  undefined4 *puVar11;\n  int in_GS_OFFSET;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined8 uVar15;\n  undefined4 local_d0;\n  byte *local_cc;\n  undefined4 *local_c8;\n  undefined4 *local_c4;\n  undefined4 local_c0;\n  int **local_bc;\n  int local_b8;\n  int local_b4;\n  int *local_b0 [3];\n  undefined4 local_a4 [2];\n  undefined4 local_9c [8];\n  uint local_7c;\n  byte local_68 [16];\n  undefined4 local_58 [4];\n  undefined4 local_48 [5];\n  undefined2 local_34;\n  undefined4 local_30;\n  uint local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  bVar14 = 0;\n  ppbVar7 = &local_cc;\n  local_d0 = 0x39f02;\n  uVar15 = FUN_00027c59();\n  puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20);\n  local_c0 = (int)uVar15;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  bVar12 = (undefined4 *)0xfffffffb < puVar9;\n  local_b0[0] = puVar9 + 1;\n  bVar13 = local_b0[0] == (int *)0x0;\n  local_cc = (byte *)*puVar9;\n  iVar5 = 8;\n  pbVar8 = local_cc;\n  pbVar10 = &LAB_00096872 + unaff_EBP;\n  do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar12 = *pbVar8 < *pbVar10;\n    bVar13 = *pbVar8 == *pbVar10;\n    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n  } while (bVar13);\n  if ((!bVar12 && !bVar13) == bVar12) {\n    local_c8 = local_a4;\n    puVar9 = local_c8;\n    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    puVar9 = local_58;\n    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    local_c4 = local_9c;\n    puVar9 = local_9c;\n    pbVar8 = local_68;\n    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }\n    local_28 = 1;\n  }\n  else {\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }\n  local_cc = local_68;\n  local_30 = 1;\n  if (*local_b0[0] == 0) {\n    local_d0 = 0x3a0af;\n    FUN_0001aa26();\n    local_24 = 0;\n  }\n  else {\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }\n  if (*(int *)((int)ppbVar7 + 0xc) == 1) {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;\n    FUN_0001ac33();\n  }\n  else {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }\n  if (*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;\n    FUN_00017e20();\n  }\n  return;\n}\n\n" (function_definition "void FUN_00039ef3(void)\n\n{\n  int *piVar1;\n  char *pcVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  byte **ppbVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  undefined4 *puVar9;\n  byte *pbVar10;\n  undefined4 *puVar11;\n  int in_GS_OFFSET;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined8 uVar15;\n  undefined4 local_d0;\n  byte *local_cc;\n  undefined4 *local_c8;\n  undefined4 *local_c4;\n  undefined4 local_c0;\n  int **local_bc;\n  int local_b8;\n  int local_b4;\n  int *local_b0 [3];\n  undefined4 local_a4 [2];\n  undefined4 local_9c [8];\n  uint local_7c;\n  byte local_68 [16];\n  undefined4 local_58 [4];\n  undefined4 local_48 [5];\n  undefined2 local_34;\n  undefined4 local_30;\n  uint local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  bVar14 = 0;\n  ppbVar7 = &local_cc;\n  local_d0 = 0x39f02;\n  uVar15 = FUN_00027c59();\n  puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20);\n  local_c0 = (int)uVar15;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  bVar12 = (undefined4 *)0xfffffffb < puVar9;\n  local_b0[0] = puVar9 + 1;\n  bVar13 = local_b0[0] == (int *)0x0;\n  local_cc = (byte *)*puVar9;\n  iVar5 = 8;\n  pbVar8 = local_cc;\n  pbVar10 = &LAB_00096872 + unaff_EBP;\n  do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar12 = *pbVar8 < *pbVar10;\n    bVar13 = *pbVar8 == *pbVar10;\n    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n  } while (bVar13);\n  if ((!bVar12 && !bVar13) == bVar12) {\n    local_c8 = local_a4;\n    puVar9 = local_c8;\n    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    puVar9 = local_58;\n    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    local_c4 = local_9c;\n    puVar9 = local_9c;\n    pbVar8 = local_68;\n    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }\n    local_28 = 1;\n  }\n  else {\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }\n  local_cc = local_68;\n  local_30 = 1;\n  if (*local_b0[0] == 0) {\n    local_d0 = 0x3a0af;\n    FUN_0001aa26();\n    local_24 = 0;\n  }\n  else {\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }\n  if (*(int *)((int)ppbVar7 + 0xc) == 1) {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;\n    FUN_0001ac33();\n  }\n  else {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }\n  if (*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;\n    FUN_00017e20();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00039ef3(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  char *pcVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  byte **ppbVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  undefined4 *puVar9;\n  byte *pbVar10;\n  undefined4 *puVar11;\n  int in_GS_OFFSET;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined8 uVar15;\n  undefined4 local_d0;\n  byte *local_cc;\n  undefined4 *local_c8;\n  undefined4 *local_c4;\n  undefined4 local_c0;\n  int **local_bc;\n  int local_b8;\n  int local_b4;\n  int *local_b0 [3];\n  undefined4 local_a4 [2];\n  undefined4 local_9c [8];\n  uint local_7c;\n  byte local_68 [16];\n  undefined4 local_58 [4];\n  undefined4 local_48 [5];\n  undefined2 local_34;\n  undefined4 local_30;\n  uint local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  bVar14 = 0;\n  ppbVar7 = &local_cc;\n  local_d0 = 0x39f02;\n  uVar15 = FUN_00027c59();\n  puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20);\n  local_c0 = (int)uVar15;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  bVar12 = (undefined4 *)0xfffffffb < puVar9;\n  local_b0[0] = puVar9 + 1;\n  bVar13 = local_b0[0] == (int *)0x0;\n  local_cc = (byte *)*puVar9;\n  iVar5 = 8;\n  pbVar8 = local_cc;\n  pbVar10 = &LAB_00096872 + unaff_EBP;\n  do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar12 = *pbVar8 < *pbVar10;\n    bVar13 = *pbVar8 == *pbVar10;\n    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n  } while (bVar13);\n  if ((!bVar12 && !bVar13) == bVar12) {\n    local_c8 = local_a4;\n    puVar9 = local_c8;\n    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    puVar9 = local_58;\n    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    local_c4 = local_9c;\n    puVar9 = local_9c;\n    pbVar8 = local_68;\n    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }\n    local_28 = 1;\n  }\n  else {\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }\n  local_cc = local_68;\n  local_30 = 1;\n  if (*local_b0[0] == 0) {\n    local_d0 = 0x3a0af;\n    FUN_0001aa26();\n    local_24 = 0;\n  }\n  else {\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }\n  if (*(int *)((int)ppbVar7 + 0xc) == 1) {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;\n    FUN_0001ac33();\n  }\n  else {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }\n  if (*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;\n    FUN_00017e20();\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte **ppbVar7;" type_identifier (pointer_declarator "**ppbVar7" * (pointer_declarator "*ppbVar7" * identifier)) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "undefined4 *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "byte bVar14;" type_identifier identifier ;) (declaration "undefined8 uVar15;" type_identifier identifier ;) (declaration "undefined4 local_d0;" type_identifier identifier ;) (declaration "byte *local_cc;" type_identifier (pointer_declarator "*local_cc" * identifier) ;) (declaration "undefined4 *local_c8;" type_identifier (pointer_declarator "*local_c8" * identifier) ;) (declaration "undefined4 *local_c4;" type_identifier (pointer_declarator "*local_c4" * identifier) ;) (declaration "undefined4 local_c0;" type_identifier identifier ;) (declaration "int **local_bc;" primitive_type (pointer_declarator "**local_bc" * (pointer_declarator "*local_bc" * identifier)) ;) (declaration "int local_b8;" primitive_type identifier ;) (declaration "int local_b4;" primitive_type identifier ;) (declaration "int *local_b0 [3];" primitive_type (pointer_declarator "*local_b0 [3]" * (array_declarator "local_b0 [3]" identifier [ number_literal ])) ;) (declaration "undefined4 local_a4 [2];" type_identifier (array_declarator "local_a4 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 local_9c [8];" type_identifier (array_declarator "local_9c [8]" identifier [ number_literal ]) ;) (declaration "uint local_7c;" type_identifier identifier ;) (declaration "byte local_68 [16];" type_identifier (array_declarator "local_68 [16]" identifier [ number_literal ]) ;) (declaration "undefined4 local_58 [4];" type_identifier (array_declarator "local_58 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_48 [5];" type_identifier (array_declarator "local_48 [5]" identifier [ number_literal ]) ;) (declaration "undefined2 local_34;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "bVar14 = 0;" (assignment_expression "bVar14 = 0" identifier = number_literal) ;) (expression_statement "ppbVar7 = &local_cc;" (assignment_expression "ppbVar7 = &local_cc" identifier = (pointer_expression "&local_cc" & identifier)) ;) (expression_statement "local_d0 = 0x39f02;" (assignment_expression "local_d0 = 0x39f02" identifier = number_literal) ;) (expression_statement "uVar15 = FUN_00027c59();" (assignment_expression "uVar15 = FUN_00027c59()" identifier = (call_expression "FUN_00027c59()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20);" (assignment_expression "puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20)" identifier = (cast_expression "(undefined4 *)((ulonglong)uVar15 >> 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar15 >> 0x20)" ( (binary_expression "(ulonglong)uVar15 >> 0x20" (cast_expression "(ulonglong)uVar15" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "local_c0 = (int)uVar15;" (assignment_expression "local_c0 = (int)uVar15" identifier = (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "bVar12 = (undefined4 *)0xfffffffb < puVar9;" (assignment_expression "bVar12 = (undefined4 *)0xfffffffb < puVar9" identifier = (binary_expression "(undefined4 *)0xfffffffb < puVar9" (cast_expression "(undefined4 *)0xfffffffb" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier)) ;) (expression_statement "local_b0[0] = puVar9 + 1;" (assignment_expression "local_b0[0] = puVar9 + 1" (subscript_expression "local_b0[0]" identifier [ number_literal ]) = (binary_expression "puVar9 + 1" identifier + number_literal)) ;) (expression_statement "bVar13 = local_b0[0] == (int *)0x0;" (assignment_expression "bVar13 = local_b0[0] == (int *)0x0" identifier = (binary_expression "local_b0[0] == (int *)0x0" (subscript_expression "local_b0[0]" identifier [ number_literal ]) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "local_cc = (byte *)*puVar9;" (assignment_expression "local_cc = (byte *)*puVar9" identifier = (cast_expression "(byte *)*puVar9" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar9" * identifier))) ;) (expression_statement "iVar5 = 8;" (assignment_expression "iVar5 = 8" identifier = number_literal) ;) (expression_statement "pbVar8 = local_cc;" (assignment_expression "pbVar8 = local_cc" identifier = identifier) ;) (expression_statement "pbVar10 = &LAB_00096872 + unaff_EBP;" (assignment_expression "pbVar10 = &LAB_00096872 + unaff_EBP" identifier = (binary_expression "&LAB_00096872 + unaff_EBP" (pointer_expression "&LAB_00096872" & identifier) + identifier)) ;) (do_statement "do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar12 = *pbVar8 < *pbVar10;\n    bVar13 = *pbVar8 == *pbVar10;\n    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n  } while (bVar13);" do (compound_statement "{\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar12 = *pbVar8 < *pbVar10;\n    bVar13 = *pbVar8 == *pbVar10;\n    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n  }" { (if_statement "if (iVar5 == 0) break;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "bVar12 = *pbVar8 < *pbVar10;" (assignment_expression "bVar12 = *pbVar8 < *pbVar10" identifier = (binary_expression "*pbVar8 < *pbVar10" (pointer_expression "*pbVar8" * identifier) < (pointer_expression "*pbVar10" * identifier))) ;) (expression_statement "bVar13 = *pbVar8 == *pbVar10;" (assignment_expression "bVar13 = *pbVar8 == *pbVar10" identifier = (binary_expression "*pbVar8 == *pbVar10" (pointer_expression "*pbVar8" * identifier) == (pointer_expression "*pbVar10" * identifier))) ;) (expression_statement "pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "pbVar8 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar8 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "pbVar10 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar13)" ( identifier )) ;) (if_statement "if ((!bVar12 && !bVar13) == bVar12) {\n    local_c8 = local_a4;\n    puVar9 = local_c8;\n    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    puVar9 = local_58;\n    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    local_c4 = local_9c;\n    puVar9 = local_9c;\n    pbVar8 = local_68;\n    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }\n    local_28 = 1;\n  }\n  else {\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }" if (parenthesized_expression "((!bVar12 && !bVar13) == bVar12)" ( (binary_expression "(!bVar12 && !bVar13) == bVar12" (parenthesized_expression "(!bVar12 && !bVar13)" ( (binary_expression "!bVar12 && !bVar13" (unary_expression "!bVar12" ! identifier) && (unary_expression "!bVar13" ! identifier)) )) == identifier) )) (compound_statement "{\n    local_c8 = local_a4;\n    puVar9 = local_c8;\n    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    puVar9 = local_58;\n    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    local_c4 = local_9c;\n    puVar9 = local_9c;\n    pbVar8 = local_68;\n    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }\n    local_28 = 1;\n  }" { (expression_statement "local_c8 = local_a4;" (assignment_expression "local_c8 = local_a4" identifier = identifier) ;) (expression_statement "puVar9 = local_c8;" (assignment_expression "puVar9 = local_c8" identifier = identifier) ;) (for_statement "for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }" for ( (assignment_expression "iVar5 = 7" identifier = number_literal) ; (binary_expression "iVar5 != 0" identifier != number_literal) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }" { (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "puVar9 = local_58;" (assignment_expression "puVar9 = local_58" identifier = identifier) ;) (for_statement "for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }" for ( (assignment_expression "iVar5 = 0xe" identifier = number_literal) ; (binary_expression "iVar5 != 0" identifier != number_literal) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }" { (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_c4 = local_9c;" (assignment_expression "local_c4 = local_9c" identifier = identifier) ;) (expression_statement "puVar9 = local_9c;" (assignment_expression "puVar9 = local_9c" identifier = identifier) ;) (expression_statement "pbVar8 = local_68;" (assignment_expression "pbVar8 = local_68" identifier = identifier) ;) (for_statement "for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }" for ( (assignment_expression "iVar5 = 4" identifier = number_literal) ; (binary_expression "iVar5 != 0" identifier != number_literal) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }" { (expression_statement "*(undefined4 *)pbVar8 = *puVar9;" (assignment_expression "*(undefined4 *)pbVar8 = *puVar9" (pointer_expression "*(undefined4 *)pbVar8" * (cast_expression "(undefined4 *)pbVar8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;" (assignment_expression "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4" identifier = (binary_expression "pbVar8 + ((uint)bVar14 * -2 + 1) * 4" identifier + (binary_expression "((uint)bVar14 * -2 + 1) * 4" (parenthesized_expression "((uint)bVar14 * -2 + 1)" ( (binary_expression "(uint)bVar14 * -2 + 1" (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) + number_literal) )) * number_literal))) ;) })) (expression_statement "local_28 = 1;" (assignment_expression "local_28 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }" else (compound_statement "{\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }" { (expression_statement "pcVar2 = strchr((char *)local_cc,0x2f);" (assignment_expression "pcVar2 = strchr((char *)local_cc,0x2f)" identifier = (call_expression "strchr((char *)local_cc,0x2f)" identifier (argument_list "((char *)local_cc,0x2f)" ( (cast_expression "(char *)local_cc" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) ;) (if_statement "if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }" if (parenthesized_expression "(pcVar2 == (char *)0x0)" ( (binary_expression "pcVar2 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }" { (expression_statement "local_c8 = local_a4;" (assignment_expression "local_c8 = local_a4" identifier = identifier) ;) (expression_statement "local_d0 = 0x39ff2;" (assignment_expression "local_d0 = 0x39ff2" identifier = number_literal) ;) (expression_statement "iVar5 = FUN_000b494b();" (assignment_expression "iVar5 = FUN_000b494b()" identifier = (call_expression "FUN_000b494b()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 < 0) goto LAB_00039fcd;" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (goto_statement "goto LAB_00039fcd;" goto statement_identifier ;)) (expression_statement "puVar9 = local_58;" (assignment_expression "puVar9 = local_58" identifier = identifier) ;) (for_statement "for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }" for ( (assignment_expression "iVar5 = 0xe" identifier = number_literal) ; (binary_expression "iVar5 != 0" identifier != number_literal) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }" { (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_c4 = local_9c;" (assignment_expression "local_c4 = local_9c" identifier = identifier) ;) (expression_statement "puVar9 = local_9c;" (assignment_expression "puVar9 = local_9c" identifier = identifier) ;) (expression_statement "pbVar8 = local_68;" (assignment_expression "pbVar8 = local_68" identifier = identifier) ;) (for_statement "for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }" for ( (assignment_expression "iVar5 = 4" identifier = number_literal) ; (binary_expression "iVar5 != 0" identifier != number_literal) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }" { (expression_statement "*(undefined4 *)pbVar8 = *puVar9;" (assignment_expression "*(undefined4 *)pbVar8 = *puVar9" (pointer_expression "*(undefined4 *)pbVar8" * (cast_expression "(undefined4 *)pbVar8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;" (assignment_expression "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4" identifier = (binary_expression "pbVar8 + ((uint)bVar14 * -2 + 1) * 4" identifier + (binary_expression "((uint)bVar14 * -2 + 1) * 4" (parenthesized_expression "((uint)bVar14 * -2 + 1)" ( (binary_expression "(uint)bVar14 * -2 + 1" (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) + number_literal) )) * number_literal))) ;) })) (expression_statement "local_34 = 0x80;" (assignment_expression "local_34 = 0x80" identifier = number_literal) ;) (expression_statement "local_28 = 5;" (assignment_expression "local_28 = 5" identifier = number_literal) ;) }) (else_clause "else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }" else (compound_statement "{\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }" { (expression_statement "*pcVar2 = '\0';" (assignment_expression "*pcVar2 = '\0'" (pointer_expression "*pcVar2" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "local_d0 = 0x39fb2;" (assignment_expression "local_d0 = 0x39fb2" identifier = number_literal) ;) (expression_statement "iVar5 = FUN_000bee7c();" (assignment_expression "iVar5 = FUN_000bee7c()" identifier = (call_expression "FUN_000bee7c()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_c8 = local_a4;" (assignment_expression "local_c8 = local_a4" identifier = identifier) ;) (expression_statement "local_d0 = 0x39fc5;" (assignment_expression "local_d0 = 0x39fc5" identifier = number_literal) ;) (expression_statement "iVar6 = FUN_000b494b();" (assignment_expression "iVar6 = FUN_000b494b()" identifier = (call_expression "FUN_000b494b()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }" { (labeled_statement "LAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);" statement_identifier : (expression_statement "FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);" (call_expression "FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc)" identifier (argument_list "(&UNK_00097637 + unaff_EBP,local_cc)" ( (binary_expression "&UNK_00097637 + unaff_EBP" (pointer_expression "&UNK_00097637" & identifier) + identifier) , identifier ))) ;)) })) (expression_statement "puVar9 = local_58;" (assignment_expression "puVar9 = local_58" identifier = identifier) ;) (for_statement "for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }" for ( (assignment_expression "iVar6 = 0xe" identifier = number_literal) ; (binary_expression "iVar6 != 0" identifier != number_literal) ; (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ) (compound_statement "{\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }" { (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" * identifier) = number_literal) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_c4 = local_9c;" (assignment_expression "local_c4 = local_9c" identifier = identifier) ;) (expression_statement "puVar9 = local_9c;" (assignment_expression "puVar9 = local_9c" identifier = identifier) ;) (expression_statement "pbVar8 = local_68;" (assignment_expression "pbVar8 = local_68" identifier = identifier) ;) (for_statement "for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }" for ( (assignment_expression "iVar6 = 4" identifier = number_literal) ; (binary_expression "iVar6 != 0" identifier != number_literal) ; (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ) (compound_statement "{\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }" { (expression_statement "*(undefined4 *)pbVar8 = *puVar9;" (assignment_expression "*(undefined4 *)pbVar8 = *puVar9" (pointer_expression "*(undefined4 *)pbVar8" * (cast_expression "(undefined4 *)pbVar8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;" (assignment_expression "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4" identifier = (binary_expression "pbVar8 + ((uint)bVar14 * -2 + 1) * 4" identifier + (binary_expression "((uint)bVar14 * -2 + 1) * 4" (parenthesized_expression "((uint)bVar14 * -2 + 1)" ( (binary_expression "(uint)bVar14 * -2 + 1" (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) + number_literal) )) * number_literal))) ;) })) (expression_statement "local_34 = (undefined2)iVar5;" (assignment_expression "local_34 = (undefined2)iVar5" identifier = (cast_expression "(undefined2)iVar5" ( (type_descriptor "undefined2" type_identifier) ) identifier)) ;) (expression_statement "local_28 = (uint)(iVar5 == 0x80) * 4 + 1;" (assignment_expression "local_28 = (uint)(iVar5 == 0x80) * 4 + 1" identifier = (binary_expression "(uint)(iVar5 == 0x80) * 4 + 1" (binary_expression "(uint)(iVar5 == 0x80) * 4" (call_expression "(uint)(iVar5 == 0x80)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar5 == 0x80)" ( (binary_expression "iVar5 == 0x80" identifier == number_literal) ))) * number_literal) + number_literal)) ;) }))) }))) (expression_statement "local_cc = local_68;" (assignment_expression "local_cc = local_68" identifier = identifier) ;) (expression_statement "local_30 = 1;" (assignment_expression "local_30 = 1" identifier = number_literal) ;) (if_statement "if (*local_b0[0] == 0) {\n    local_d0 = 0x3a0af;\n    FUN_0001aa26();\n    local_24 = 0;\n  }\n  else {\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }" if (parenthesized_expression "(*local_b0[0] == 0)" ( (binary_expression "*local_b0[0] == 0" (pointer_expression "*local_b0[0]" * (subscript_expression "local_b0[0]" identifier [ number_literal ])) == number_literal) )) (compound_statement "{\n    local_d0 = 0x3a0af;\n    FUN_0001aa26();\n    local_24 = 0;\n  }" { (expression_statement "local_d0 = 0x3a0af;" (assignment_expression "local_d0 = 0x3a0af" identifier = number_literal) ;) (expression_statement "FUN_0001aa26();" (call_expression "FUN_0001aa26()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }" else (compound_statement "{\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }" { (expression_statement "local_bc = local_b0;" (assignment_expression "local_bc = local_b0" identifier = identifier) ;) (expression_statement "local_b8 = unaff_EBP + 0x9773f;" (assignment_expression "local_b8 = unaff_EBP + 0x9773f" identifier = (binary_expression "unaff_EBP + 0x9773f" identifier + number_literal)) ;) (expression_statement "local_b4 = unaff_EBP + 0x89ca2;" (assignment_expression "local_b4 = unaff_EBP + 0x89ca2" identifier = (binary_expression "unaff_EBP + 0x89ca2" identifier + number_literal)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);" do (compound_statement "{\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    }" { (expression_statement "local_d0 = 0x3a075;" (assignment_expression "local_d0 = 0x3a075" identifier = number_literal) ;) (expression_statement "uVar3 = FUN_00039b43();" (assignment_expression "uVar3 = FUN_00039b43()" identifier = (call_expression "FUN_00039b43()" identifier (argument_list "()" ( )))) ;) (if_statement "if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }" if (parenthesized_expression "(uVar3 - 0x21 < 2)" ( (binary_expression "uVar3 - 0x21 < 2" (binary_expression "uVar3 - 0x21" identifier - number_literal) < number_literal) )) (compound_statement "{\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }" { (expression_statement "local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);" (assignment_expression "local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2)" identifier = (binary_expression "local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2)" identifier | (pointer_expression "*(ushort *)(local_b4 + (uVar3 & 3) * 2)" * (cast_expression "(ushort *)(local_b4 + (uVar3 & 3) * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_b4 + (uVar3 & 3) * 2)" ( (binary_expression "local_b4 + (uVar3 & 3) * 2" identifier + (binary_expression "(uVar3 & 3) * 2" (parenthesized_expression "(uVar3 & 3)" ( (binary_expression "uVar3 & 3" identifier & number_literal) )) * number_literal)) )))))) ;) (expression_statement "iVar4 = *local_b0[0];" (assignment_expression "iVar4 = *local_b0[0]" identifier = (pointer_expression "*local_b0[0]" * (subscript_expression "local_b0[0]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" identifier = identifier) ;) }) (else_clause "else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }" else (compound_statement "{\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }" { (expression_statement "iVar6 = local_b0[0][-1];" (assignment_expression "iVar6 = local_b0[0][-1]" identifier = (subscript_expression "local_b0[0][-1]" (subscript_expression "local_b0[0]" identifier [ number_literal ]) [ number_literal ])) ;) (if_statement "if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }" if (parenthesized_expression "(uVar3 == 0x10)" ( (binary_expression "uVar3 == 0x10" identifier == number_literal) )) (compound_statement "{\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }" { (expression_statement "local_d0 = 0x3a12e;" (assignment_expression "local_d0 = 0x3a12e" identifier = number_literal) ;) (expression_statement "local_30 = FUN_000bf04b();" (assignment_expression "local_30 = FUN_000bf04b()" identifier = (call_expression "FUN_000bf04b()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = *local_b0[0];" (assignment_expression "iVar4 = *local_b0[0]" identifier = (pointer_expression "*local_b0[0]" * (subscript_expression "local_b0[0]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" identifier = identifier) ;) }) (else_clause "else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }" else (compound_statement "{\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }" { (expression_statement "piVar1 = local_b0[0];" (assignment_expression "piVar1 = local_b0[0]" identifier = (subscript_expression "local_b0[0]" identifier [ number_literal ])) ;) (if_statement "if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }" if (parenthesized_expression "(uVar3 == 0x12)" ( (binary_expression "uVar3 == 0x12" identifier == number_literal) )) (compound_statement "{\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }" { (if_statement "if ((local_28 & 2) != 0) goto LAB_0003a150;" if (parenthesized_expression "((local_28 & 2) != 0)" ( (binary_expression "(local_28 & 2) != 0" (parenthesized_expression "(local_28 & 2)" ( (binary_expression "local_28 & 2" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0003a150;" goto statement_identifier ;)) (expression_statement "local_d0 = 0x3a1e9;" (assignment_expression "local_d0 = 0x3a1e9" identifier = number_literal) ;) (expression_statement "iVar4 = FUN_000b494b();" (assignment_expression "iVar4 = FUN_000b494b()" identifier = (call_expression "FUN_000b494b()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }" { (expression_statement "FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);" (call_expression "FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6)" identifier (argument_list "(&UNK_00097637 + unaff_EBP,iVar6)" ( (binary_expression "&UNK_00097637 + unaff_EBP" (pointer_expression "&UNK_00097637" & identifier) + identifier) , identifier ))) ;) })) (expression_statement "puVar9 = local_c4;" (assignment_expression "puVar9 = local_c4" identifier = identifier) ;) (expression_statement "puVar11 = local_48;" (assignment_expression "puVar11 = local_48" identifier = identifier) ;) (for_statement "for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }" for ( (assignment_expression "iVar6 = 4" identifier = number_literal) ; (binary_expression "iVar6 != 0" identifier != number_literal) ; (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ) (compound_statement "{\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }" { (expression_statement "*puVar11 = *puVar9;" (assignment_expression "*puVar11 = *puVar9" (pointer_expression "*puVar11" * identifier) = (pointer_expression "*puVar9" * identifier)) ;) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar11 = puVar11 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar11 = puVar11 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar11 + (uint)bVar14 * -2 + 1" (binary_expression "puVar11 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "local_28 = local_28 | 2;" (assignment_expression "local_28 = local_28 | 2" identifier = (binary_expression "local_28 | 2" identifier | number_literal)) ;) (expression_statement "iVar4 = *local_b0[0];" (assignment_expression "iVar4 = *local_b0[0]" identifier = (pointer_expression "*local_b0[0]" * (subscript_expression "local_b0[0]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" identifier = identifier) ;) }) (else_clause "else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }" else (compound_statement "{\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }" { (if_statement "if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }" { (labeled_statement "LAB_0003a150:\n              local_b0[0] = piVar1;" statement_identifier : (expression_statement "local_b0[0] = piVar1;" (assignment_expression "local_b0[0] = piVar1" (subscript_expression "local_b0[0]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "local_d0 = 0x3a155;" (assignment_expression "local_d0 = 0x3a155" identifier = number_literal) ;) (expression_statement "FUN_0001803e();" (call_expression "FUN_0001803e()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }" if (parenthesized_expression "(uVar3 != 0x16)" ( (binary_expression "uVar3 != 0x16" identifier != number_literal) )) (compound_statement "{\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }" { (if_statement "if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;" if (parenthesized_expression "((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))" ( (binary_expression "(uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0)" (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(piVar1 = local_b0[0] + 1, local_b0[0][1] != 0)" ( (comma_expression "piVar1 = local_b0[0] + 1, local_b0[0][1] != 0" (assignment_expression "piVar1 = local_b0[0] + 1" identifier = (binary_expression "local_b0[0] + 1" (subscript_expression "local_b0[0]" identifier [ number_literal ]) + number_literal)) , (binary_expression "local_b0[0][1] != 0" (subscript_expression "local_b0[0][1]" (subscript_expression "local_b0[0]" identifier [ number_literal ]) [ number_literal ]) != number_literal)) ))) )) (goto_statement "goto LAB_0003a150;" goto statement_identifier ;)) (expression_statement "iVar6 = *local_b0[0];" (assignment_expression "iVar6 = *local_b0[0]" identifier = (pointer_expression "*local_b0[0]" * (subscript_expression "local_b0[0]" identifier [ number_literal ]))) ;) (expression_statement "local_b0[0] = local_b0[0] + 1;" (assignment_expression "local_b0[0] = local_b0[0] + 1" (subscript_expression "local_b0[0]" identifier [ number_literal ]) = (binary_expression "local_b0[0] + 1" (subscript_expression "local_b0[0]" identifier [ number_literal ]) + number_literal)) ;) (break_statement "break;" break ;) })) (expression_statement "iVar4 = *local_b0[0];" (assignment_expression "iVar4 = *local_b0[0]" identifier = (pointer_expression "*local_b0[0]" * (subscript_expression "local_b0[0]" identifier [ number_literal ]))) ;) }))) }))) }))) (expression_statement "iVar5 = iVar6;" (assignment_expression "iVar5 = iVar6" identifier = identifier) ;) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "local_d0 = 0x3a191;" (assignment_expression "local_d0 = 0x3a191" identifier = number_literal) ;) (expression_statement "FUN_0001aa26();" (call_expression "FUN_0001aa26()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "ppbVar7 = &local_cc;" (assignment_expression "ppbVar7 = &local_cc" identifier = (pointer_expression "&local_cc" & identifier)) ;) (if_statement "if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }" { (expression_statement "local_d0 = 0x3a1b3;" (assignment_expression "local_d0 = 0x3a1b3" identifier = number_literal) ;) (expression_statement "FUN_000194c4();" (call_expression "FUN_000194c4()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0001ac33(unaff_EBP + 0x968ac);" (call_expression "FUN_0001ac33(unaff_EBP + 0x968ac)" identifier (argument_list "(unaff_EBP + 0x968ac)" ( (binary_expression "unaff_EBP + 0x968ac" identifier + number_literal) ))) ;) (expression_statement "local_28 = local_7c;" (assignment_expression "local_28 = local_7c" identifier = identifier) ;) (expression_statement "ppbVar7 = (byte **)&local_d0;" (assignment_expression "ppbVar7 = (byte **)&local_d0" identifier = (cast_expression "(byte **)&local_d0" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&local_d0" & identifier))) ;) })) }))) (if_statement "if (*(int *)((int)ppbVar7 + 0xc) == 1) {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;\n    FUN_0001ac33();\n  }\n  else {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }" if (parenthesized_expression "(*(int *)((int)ppbVar7 + 0xc) == 1)" ( (binary_expression "*(int *)((int)ppbVar7 + 0xc) == 1" (pointer_expression "*(int *)((int)ppbVar7 + 0xc)" * (cast_expression "(int *)((int)ppbVar7 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppbVar7 + 0xc)" ( (binary_expression "(int)ppbVar7 + 0xc" (cast_expression "(int)ppbVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;\n    FUN_0001ac33();\n  }" { (expression_statement "*(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;" (assignment_expression "*(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP" (pointer_expression "*(undefined **)((int)ppbVar7 + -0x10)" * (cast_expression "(undefined **)((int)ppbVar7 + -0x10)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppbVar7 + -0x10)" ( (binary_expression "(int)ppbVar7 + -0x10" (cast_expression "(int)ppbVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "&UNK_00097644 + unaff_EBP" (pointer_expression "&UNK_00097644" & identifier) + identifier)) ;) (expression_statement "*(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;" (assignment_expression "*(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a" (pointer_expression "*(undefined4 *)((int)ppbVar7 + -0x14)" * (cast_expression "(undefined4 *)((int)ppbVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppbVar7 + -0x14)" ( (binary_expression "(int)ppbVar7 + -0x14" (cast_expression "(int)ppbVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0001ac33();" (call_expression "FUN_0001ac33()" identifier (argument_list "()" ( ))) ;) }) (else_clause "else {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }" else (compound_statement "{\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }" { (expression_statement "*(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;" (assignment_expression "*(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP" (pointer_expression "*(undefined **)((int)ppbVar7 + -0x10)" * (cast_expression "(undefined **)((int)ppbVar7 + -0x10)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppbVar7 + -0x10)" ( (binary_expression "(int)ppbVar7 + -0x10" (cast_expression "(int)ppbVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "&UNK_0009764e + unaff_EBP" (pointer_expression "&UNK_0009764e" & identifier) + identifier)) ;) (expression_statement "*(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;" (assignment_expression "*(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd" (pointer_expression "*(undefined4 *)((int)ppbVar7 + -0x14)" * (cast_expression "(undefined4 *)((int)ppbVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppbVar7 + -0x14)" ( (binary_expression "(int)ppbVar7 + -0x14" (cast_expression "(int)ppbVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0001ac33();" (call_expression "FUN_0001ac33()" identifier (argument_list "()" ( ))) ;) }))) (if_statement "if (*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;\n    FUN_00017e20();\n  }" if (parenthesized_expression "(*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)((int)ppbVar7 + 0xa8)" * (cast_expression "(int *)((int)ppbVar7 + 0xa8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppbVar7 + 0xa8)" ( (binary_expression "(int)ppbVar7 + 0xa8" (cast_expression "(int)ppbVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (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    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;\n    FUN_00017e20();\n  }" { (expression_statement "*(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;" (assignment_expression "*(undefined4 *)((int)ppbVar7 + -8) = 0x3a100" (pointer_expression "*(undefined4 *)((int)ppbVar7 + -8)" * (cast_expression "(undefined4 *)((int)ppbVar7 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppbVar7 + -8)" ( (binary_expression "(int)ppbVar7 + -8" (cast_expression "(int)ppbVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00017e20();" (call_expression "FUN_00017e20()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (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 = (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) < IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) + IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) + LIT) )) * LIT))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) + LIT) )) * LIT))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (binary_expression (pointer_expression & IDENT) + IDENT) , IDENT ))) ;)) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) + LIT) )) * LIT))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) ))) * LIT) + LIT)) ;) }))) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (subscript_expression IDENT [ LIT ])) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) * LIT)) )))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression (subscript_expression IDENT [ LIT ]) [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression (pointer_expression & IDENT) + IDENT) , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) , (binary_expression (subscript_expression (subscript_expression IDENT [ LIT ]) [ LIT ]) != LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (subscript_expression IDENT [ LIT ]))) ;) }))) }))) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (pointer_expression & IDENT))) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (pointer_expression & IDENT) + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (pointer_expression & IDENT) + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00039ef3(void)\n\n{\n  int *piVar1;\n  char *pcVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  byte **ppbVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  undefined4 *puVar9;\n  byte *pbVar10;\n  undefined4 *puVar11;\n  int in_GS_OFFSET;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined8 uVar15;\n  undefined4 local_d0;\n  byte *local_cc;\n  undefined4 *local_c8;\n  undefined4 *local_c4;\n  undefined4 local_c0;\n  int **local_bc;\n  int local_b8;\n  int local_b4;\n  int *local_b0 [3];\n  undefined4 local_a4 [2];\n  undefined4 local_9c [8];\n  uint local_7c;\n  byte local_68 [16];\n  undefined4 local_58 [4];\n  undefined4 local_48 [5];\n  undefined2 local_34;\n  undefined4 local_30;\n  uint local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  bVar14 = 0;\n  ppbVar7 = &local_cc;\n  local_d0 = 0x39f02;\n  uVar15 = FUN_00027c59();\n  puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20);\n  local_c0 = (int)uVar15;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  bVar12 = (undefined4 *)0xfffffffb < puVar9;\n  local_b0[0] = puVar9 + 1;\n  bVar13 = local_b0[0] == (int *)0x0;\n  local_cc = (byte *)*puVar9;\n  iVar5 = 8;\n  pbVar8 = local_cc;\n  pbVar10 = &LAB_00096872 + unaff_EBP;\n  do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar12 = *pbVar8 < *pbVar10;\n    bVar13 = *pbVar8 == *pbVar10;\n    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n  } while (bVar13);\n  if ((!bVar12 && !bVar13) == bVar12) {\n    local_c8 = local_a4;\n    puVar9 = local_c8;\n    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    puVar9 = local_58;\n    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    local_c4 = local_9c;\n    puVar9 = local_9c;\n    pbVar8 = local_68;\n    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }\n    local_28 = 1;\n  }\n  else {\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }\n  local_cc = local_68;\n  local_30 = 1;\n  if (*local_b0[0] == 0) {\n    local_d0 = 0x3a0af;\n    FUN_0001aa26();\n    local_24 = 0;\n  }\n  else {\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }\n  if (*(int *)((int)ppbVar7 + 0xc) == 1) {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;\n    FUN_0001ac33();\n  }\n  else {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }\n  if (*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;\n    FUN_00017e20();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00039ef3(void)" (identifier "FUN_00039ef3") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int *piVar1;\n  char *pcVar2;\n  uint uVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  byte **ppbVar7;\n  int unaff_EBP;\n  byte *pbVar8;\n  undefined4 *puVar9;\n  byte *pbVar10;\n  undefined4 *puVar11;\n  int in_GS_OFFSET;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined8 uVar15;\n  undefined4 local_d0;\n  byte *local_cc;\n  undefined4 *local_c8;\n  undefined4 *local_c4;\n  undefined4 local_c0;\n  int **local_bc;\n  int local_b8;\n  int local_b4;\n  int *local_b0 [3];\n  undefined4 local_a4 [2];\n  undefined4 local_9c [8];\n  uint local_7c;\n  byte local_68 [16];\n  undefined4 local_58 [4];\n  undefined4 local_48 [5];\n  undefined2 local_34;\n  undefined4 local_30;\n  uint local_28;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  bVar14 = 0;\n  ppbVar7 = &local_cc;\n  local_d0 = 0x39f02;\n  uVar15 = FUN_00027c59();\n  puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20);\n  local_c0 = (int)uVar15;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  bVar12 = (undefined4 *)0xfffffffb < puVar9;\n  local_b0[0] = puVar9 + 1;\n  bVar13 = local_b0[0] == (int *)0x0;\n  local_cc = (byte *)*puVar9;\n  iVar5 = 8;\n  pbVar8 = local_cc;\n  pbVar10 = &LAB_00096872 + unaff_EBP;\n  do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar12 = *pbVar8 < *pbVar10;\n    bVar13 = *pbVar8 == *pbVar10;\n    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n  } while (bVar13);\n  if ((!bVar12 && !bVar13) == bVar12) {\n    local_c8 = local_a4;\n    puVar9 = local_c8;\n    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    puVar9 = local_58;\n    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    local_c4 = local_9c;\n    puVar9 = local_9c;\n    pbVar8 = local_68;\n    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }\n    local_28 = 1;\n  }\n  else {\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }\n  local_cc = local_68;\n  local_30 = 1;\n  if (*local_b0[0] == 0) {\n    local_d0 = 0x3a0af;\n    FUN_0001aa26();\n    local_24 = 0;\n  }\n  else {\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }\n  if (*(int *)((int)ppbVar7 + 0xc) == 1) {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;\n    FUN_0001ac33();\n  }\n  else {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }\n  if (*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;\n    FUN_00017e20();\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "byte **ppbVar7;" (type_identifier "byte") (pointer_declarator "**ppbVar7" (* "*") (pointer_declarator "*ppbVar7" (* "*") (identifier "ppbVar7"))) (; ";")) (declaration "int unaff_EBP;" (primitive_type "int") (identifier "unaff_EBP") (; ";")) (declaration "byte *pbVar8;" (type_identifier "byte") (pointer_declarator "*pbVar8" (* "*") (identifier "pbVar8")) (; ";")) (declaration "undefined4 *puVar9;" (type_identifier "undefined4") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "byte *pbVar10;" (type_identifier "byte") (pointer_declarator "*pbVar10" (* "*") (identifier "pbVar10")) (; ";")) (declaration "undefined4 *puVar11;" (type_identifier "undefined4") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar12;" (primitive_type "bool") (identifier "bVar12") (; ";")) (declaration "bool bVar13;" (primitive_type "bool") (identifier "bVar13") (; ";")) (declaration "byte bVar14;" (type_identifier "byte") (identifier "bVar14") (; ";")) (declaration "undefined8 uVar15;" (type_identifier "undefined8") (identifier "uVar15") (; ";")) (declaration "undefined4 local_d0;" (type_identifier "undefined4") (identifier "local_d0") (; ";")) (declaration "byte *local_cc;" (type_identifier "byte") (pointer_declarator "*local_cc" (* "*") (identifier "local_cc")) (; ";")) (declaration "undefined4 *local_c8;" (type_identifier "undefined4") (pointer_declarator "*local_c8" (* "*") (identifier "local_c8")) (; ";")) (declaration "undefined4 *local_c4;" (type_identifier "undefined4") (pointer_declarator "*local_c4" (* "*") (identifier "local_c4")) (; ";")) (declaration "undefined4 local_c0;" (type_identifier "undefined4") (identifier "local_c0") (; ";")) (declaration "int **local_bc;" (primitive_type "int") (pointer_declarator "**local_bc" (* "*") (pointer_declarator "*local_bc" (* "*") (identifier "local_bc"))) (; ";")) (declaration "int local_b8;" (primitive_type "int") (identifier "local_b8") (; ";")) (declaration "int local_b4;" (primitive_type "int") (identifier "local_b4") (; ";")) (declaration "int *local_b0 [3];" (primitive_type "int") (pointer_declarator "*local_b0 [3]" (* "*") (array_declarator "local_b0 [3]" (identifier "local_b0") ([ "[") (number_literal "3") (] "]"))) (; ";")) (declaration "undefined4 local_a4 [2];" (type_identifier "undefined4") (array_declarator "local_a4 [2]" (identifier "local_a4") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined4 local_9c [8];" (type_identifier "undefined4") (array_declarator "local_9c [8]" (identifier "local_9c") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "uint local_7c;" (type_identifier "uint") (identifier "local_7c") (; ";")) (declaration "byte local_68 [16];" (type_identifier "byte") (array_declarator "local_68 [16]" (identifier "local_68") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "undefined4 local_58 [4];" (type_identifier "undefined4") (array_declarator "local_58 [4]" (identifier "local_58") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined4 local_48 [5];" (type_identifier "undefined4") (array_declarator "local_48 [5]" (identifier "local_48") ([ "[") (number_literal "5") (] "]")) (; ";")) (declaration "undefined2 local_34;" (type_identifier "undefined2") (identifier "local_34") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "uint local_28;" (type_identifier "uint") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (expression_statement "bVar14 = 0;" (assignment_expression "bVar14 = 0" (identifier "bVar14") (= "=") (number_literal "0")) (; ";")) (expression_statement "ppbVar7 = &local_cc;" (assignment_expression "ppbVar7 = &local_cc" (identifier "ppbVar7") (= "=") (pointer_expression "&local_cc" (& "&") (identifier "local_cc"))) (; ";")) (expression_statement "local_d0 = 0x39f02;" (assignment_expression "local_d0 = 0x39f02" (identifier "local_d0") (= "=") (number_literal "0x39f02")) (; ";")) (expression_statement "uVar15 = FUN_00027c59();" (assignment_expression "uVar15 = FUN_00027c59()" (identifier "uVar15") (= "=") (call_expression "FUN_00027c59()" (identifier "FUN_00027c59") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20);" (assignment_expression "puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20)" (identifier "puVar9") (= "=") (cast_expression "(undefined4 *)((ulonglong)uVar15 >> 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulonglong)uVar15 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar15 >> 0x20" (cast_expression "(ulonglong)uVar15" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar15")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "local_c0 = (int)uVar15;" (assignment_expression "local_c0 = (int)uVar15" (identifier "local_c0") (= "=") (cast_expression "(int)uVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar15"))) (; ";")) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "bVar12 = (undefined4 *)0xfffffffb < puVar9;" (assignment_expression "bVar12 = (undefined4 *)0xfffffffb < puVar9" (identifier "bVar12") (= "=") (binary_expression "(undefined4 *)0xfffffffb < puVar9" (cast_expression "(undefined4 *)0xfffffffb" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xfffffffb")) (< "<") (identifier "puVar9"))) (; ";")) (expression_statement "local_b0[0] = puVar9 + 1;" (assignment_expression "local_b0[0] = puVar9 + 1" (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "puVar9 + 1" (identifier "puVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar13 = local_b0[0] == (int *)0x0;" (assignment_expression "bVar13 = local_b0[0] == (int *)0x0" (identifier "bVar13") (= "=") (binary_expression "local_b0[0] == (int *)0x0" (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]")) (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) (; ";")) (expression_statement "local_cc = (byte *)*puVar9;" (assignment_expression "local_cc = (byte *)*puVar9" (identifier "local_cc") (= "=") (cast_expression "(byte *)*puVar9" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar9" (* "*") (identifier "puVar9")))) (; ";")) (expression_statement "iVar5 = 8;" (assignment_expression "iVar5 = 8" (identifier "iVar5") (= "=") (number_literal "8")) (; ";")) (expression_statement "pbVar8 = local_cc;" (assignment_expression "pbVar8 = local_cc" (identifier "pbVar8") (= "=") (identifier "local_cc")) (; ";")) (expression_statement "pbVar10 = &LAB_00096872 + unaff_EBP;" (assignment_expression "pbVar10 = &LAB_00096872 + unaff_EBP" (identifier "pbVar10") (= "=") (binary_expression "&LAB_00096872 + unaff_EBP" (pointer_expression "&LAB_00096872" (& "&") (identifier "LAB_00096872")) (+ "+") (identifier "unaff_EBP"))) (; ";")) (do_statement "do {\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar12 = *pbVar8 < *pbVar10;\n    bVar13 = *pbVar8 == *pbVar10;\n    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n  } while (bVar13);" (do "do") (compound_statement "{\n    if (iVar5 == 0) break;\n    iVar5 = iVar5 + -1;\n    bVar12 = *pbVar8 < *pbVar10;\n    bVar13 = *pbVar8 == *pbVar10;\n    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;\n    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n  }" ({ "{") (if_statement "if (iVar5 == 0) break;" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar12 = *pbVar8 < *pbVar10;" (assignment_expression "bVar12 = *pbVar8 < *pbVar10" (identifier "bVar12") (= "=") (binary_expression "*pbVar8 < *pbVar10" (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8")) (< "<") (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10")))) (; ";")) (expression_statement "bVar13 = *pbVar8 == *pbVar10;" (assignment_expression "bVar13 = *pbVar8 == *pbVar10" (identifier "bVar13") (= "=") (binary_expression "*pbVar8 == *pbVar10" (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8")) (== "==") (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10")))) (; ";")) (expression_statement "pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1" (identifier "pbVar8") (= "=") (binary_expression "pbVar8 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar8 + (uint)bVar14 * -2" (identifier "pbVar8") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1" (identifier "pbVar10") (= "=") (binary_expression "pbVar10 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar14 * -2" (identifier "pbVar10") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar13)" (( "(") (identifier "bVar13") () ")")) (; ";")) (if_statement "if ((!bVar12 && !bVar13) == bVar12) {\n    local_c8 = local_a4;\n    puVar9 = local_c8;\n    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    puVar9 = local_58;\n    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    local_c4 = local_9c;\n    puVar9 = local_9c;\n    pbVar8 = local_68;\n    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }\n    local_28 = 1;\n  }\n  else {\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }" (if "if") (parenthesized_expression "((!bVar12 && !bVar13) == bVar12)" (( "(") (binary_expression "(!bVar12 && !bVar13) == bVar12" (parenthesized_expression "(!bVar12 && !bVar13)" (( "(") (binary_expression "!bVar12 && !bVar13" (unary_expression "!bVar12" (! "!") (identifier "bVar12")) (&& "&&") (unary_expression "!bVar13" (! "!") (identifier "bVar13"))) () ")")) (== "==") (identifier "bVar12")) () ")")) (compound_statement "{\n    local_c8 = local_a4;\n    puVar9 = local_c8;\n    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    puVar9 = local_58;\n    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }\n    local_c4 = local_9c;\n    puVar9 = local_9c;\n    pbVar8 = local_68;\n    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }\n    local_28 = 1;\n  }" ({ "{") (expression_statement "local_c8 = local_a4;" (assignment_expression "local_c8 = local_a4" (identifier "local_c8") (= "=") (identifier "local_a4")) (; ";")) (expression_statement "puVar9 = local_c8;" (assignment_expression "puVar9 = local_c8" (identifier "puVar9") (= "=") (identifier "local_c8")) (; ";")) (for_statement "for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }" (for "for") (( "(") (assignment_expression "iVar5 = 7" (identifier "iVar5") (= "=") (number_literal "7")) (; ";") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }" ({ "{") (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" (identifier "puVar9") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "puVar9 = local_58;" (assignment_expression "puVar9 = local_58" (identifier "puVar9") (= "=") (identifier "local_58")) (; ";")) (for_statement "for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }" (for "for") (( "(") (assignment_expression "iVar5 = 0xe" (identifier "iVar5") (= "=") (number_literal "0xe")) (; ";") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n      *puVar9 = 0;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n    }" ({ "{") (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" (identifier "puVar9") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "local_c4 = local_9c;" (assignment_expression "local_c4 = local_9c" (identifier "local_c4") (= "=") (identifier "local_9c")) (; ";")) (expression_statement "puVar9 = local_9c;" (assignment_expression "puVar9 = local_9c" (identifier "puVar9") (= "=") (identifier "local_9c")) (; ";")) (expression_statement "pbVar8 = local_68;" (assignment_expression "pbVar8 = local_68" (identifier "pbVar8") (= "=") (identifier "local_68")) (; ";")) (for_statement "for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }" (for "for") (( "(") (assignment_expression "iVar5 = 4" (identifier "iVar5") (= "=") (number_literal "4")) (; ";") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n      *(undefined4 *)pbVar8 = *puVar9;\n      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n    }" ({ "{") (expression_statement "*(undefined4 *)pbVar8 = *puVar9;" (assignment_expression "*(undefined4 *)pbVar8 = *puVar9" (pointer_expression "*(undefined4 *)pbVar8" (* "*") (cast_expression "(undefined4 *)pbVar8" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pbVar8"))) (= "=") (pointer_expression "*puVar9" (* "*") (identifier "puVar9"))) (; ";")) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" (identifier "puVar9") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;" (assignment_expression "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4" (identifier "pbVar8") (= "=") (binary_expression "pbVar8 + ((uint)bVar14 * -2 + 1) * 4" (identifier "pbVar8") (+ "+") (binary_expression "((uint)bVar14 * -2 + 1) * 4" (parenthesized_expression "((uint)bVar14 * -2 + 1)" (( "(") (binary_expression "(uint)bVar14 * -2 + 1" (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2")) (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "4")))) (; ";")) (} "}"))) (expression_statement "local_28 = 1;" (assignment_expression "local_28 = 1" (identifier "local_28") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }" (else "else") (compound_statement "{\n    pcVar2 = strchr((char *)local_cc,0x2f);\n    if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }\n  }" ({ "{") (expression_statement "pcVar2 = strchr((char *)local_cc,0x2f);" (assignment_expression "pcVar2 = strchr((char *)local_cc,0x2f)" (identifier "pcVar2") (= "=") (call_expression "strchr((char *)local_cc,0x2f)" (identifier "strchr") (argument_list "((char *)local_cc,0x2f)" (( "(") (cast_expression "(char *)local_cc" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_cc")) (, ",") (number_literal "0x2f") () ")")))) (; ";")) (if_statement "if (pcVar2 == (char *)0x0) {\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }\n    else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }" (if "if") (parenthesized_expression "(pcVar2 == (char *)0x0)" (( "(") (binary_expression "pcVar2 == (char *)0x0" (identifier "pcVar2") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      local_c8 = local_a4;\n      local_d0 = 0x39ff2;\n      iVar5 = FUN_000b494b();\n      if (iVar5 < 0) goto LAB_00039fcd;\n      puVar9 = local_58;\n      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = 0x80;\n      local_28 = 5;\n    }" ({ "{") (expression_statement "local_c8 = local_a4;" (assignment_expression "local_c8 = local_a4" (identifier "local_c8") (= "=") (identifier "local_a4")) (; ";")) (expression_statement "local_d0 = 0x39ff2;" (assignment_expression "local_d0 = 0x39ff2" (identifier "local_d0") (= "=") (number_literal "0x39ff2")) (; ";")) (expression_statement "iVar5 = FUN_000b494b();" (assignment_expression "iVar5 = FUN_000b494b()" (identifier "iVar5") (= "=") (call_expression "FUN_000b494b()" (identifier "FUN_000b494b") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 < 0) goto LAB_00039fcd;" (if "if") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_00039fcd;" (goto "goto") (statement_identifier "LAB_00039fcd") (; ";"))) (expression_statement "puVar9 = local_58;" (assignment_expression "puVar9 = local_58" (identifier "puVar9") (= "=") (identifier "local_58")) (; ";")) (for_statement "for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }" (for "for") (( "(") (assignment_expression "iVar5 = 0xe" (identifier "iVar5") (= "=") (number_literal "0xe")) (; ";") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }" ({ "{") (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" (identifier "puVar9") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "local_c4 = local_9c;" (assignment_expression "local_c4 = local_9c" (identifier "local_c4") (= "=") (identifier "local_9c")) (; ";")) (expression_statement "puVar9 = local_9c;" (assignment_expression "puVar9 = local_9c" (identifier "puVar9") (= "=") (identifier "local_9c")) (; ";")) (expression_statement "pbVar8 = local_68;" (assignment_expression "pbVar8 = local_68" (identifier "pbVar8") (= "=") (identifier "local_68")) (; ";")) (for_statement "for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }" (for "for") (( "(") (assignment_expression "iVar5 = 4" (identifier "iVar5") (= "=") (number_literal "4")) (; ";") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }" ({ "{") (expression_statement "*(undefined4 *)pbVar8 = *puVar9;" (assignment_expression "*(undefined4 *)pbVar8 = *puVar9" (pointer_expression "*(undefined4 *)pbVar8" (* "*") (cast_expression "(undefined4 *)pbVar8" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pbVar8"))) (= "=") (pointer_expression "*puVar9" (* "*") (identifier "puVar9"))) (; ";")) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" (identifier "puVar9") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;" (assignment_expression "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4" (identifier "pbVar8") (= "=") (binary_expression "pbVar8 + ((uint)bVar14 * -2 + 1) * 4" (identifier "pbVar8") (+ "+") (binary_expression "((uint)bVar14 * -2 + 1) * 4" (parenthesized_expression "((uint)bVar14 * -2 + 1)" (( "(") (binary_expression "(uint)bVar14 * -2 + 1" (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2")) (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "4")))) (; ";")) (} "}"))) (expression_statement "local_34 = 0x80;" (assignment_expression "local_34 = 0x80" (identifier "local_34") (= "=") (number_literal "0x80")) (; ";")) (expression_statement "local_28 = 5;" (assignment_expression "local_28 = 5" (identifier "local_28") (= "=") (number_literal "5")) (; ";")) (} "}")) (else_clause "else {\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }" (else "else") (compound_statement "{\n      *pcVar2 = '\0';\n      local_d0 = 0x39fb2;\n      iVar5 = FUN_000bee7c();\n      local_c8 = local_a4;\n      local_d0 = 0x39fc5;\n      iVar6 = FUN_000b494b();\n      if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }\n      puVar9 = local_58;\n      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }\n      local_c4 = local_9c;\n      puVar9 = local_9c;\n      pbVar8 = local_68;\n      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }\n      local_34 = (undefined2)iVar5;\n      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;\n    }" ({ "{") (expression_statement "*pcVar2 = '\0';" (assignment_expression "*pcVar2 = '\0'" (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "local_d0 = 0x39fb2;" (assignment_expression "local_d0 = 0x39fb2" (identifier "local_d0") (= "=") (number_literal "0x39fb2")) (; ";")) (expression_statement "iVar5 = FUN_000bee7c();" (assignment_expression "iVar5 = FUN_000bee7c()" (identifier "iVar5") (= "=") (call_expression "FUN_000bee7c()" (identifier "FUN_000bee7c") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_c8 = local_a4;" (assignment_expression "local_c8 = local_a4" (identifier "local_c8") (= "=") (identifier "local_a4")) (; ";")) (expression_statement "local_d0 = 0x39fc5;" (assignment_expression "local_d0 = 0x39fc5" (identifier "local_d0") (= "=") (number_literal "0x39fc5")) (; ";")) (expression_statement "iVar6 = FUN_000b494b();" (assignment_expression "iVar6 = FUN_000b494b()" (identifier "iVar6") (= "=") (call_expression "FUN_000b494b()" (identifier "FUN_000b494b") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar6 < 0) {\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }" (if "if") (parenthesized_expression "(iVar6 < 0)" (( "(") (binary_expression "iVar6 < 0" (identifier "iVar6") (< "<") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);\n      }" ({ "{") (labeled_statement "LAB_00039fcd:\n                    \n        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);" (statement_identifier "LAB_00039fcd") (: ":") (expression_statement "FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);" (call_expression "FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc)" (identifier "FUN_000192f3") (argument_list "(&UNK_00097637 + unaff_EBP,local_cc)" (( "(") (binary_expression "&UNK_00097637 + unaff_EBP" (pointer_expression "&UNK_00097637" (& "&") (identifier "UNK_00097637")) (+ "+") (identifier "unaff_EBP")) (, ",") (identifier "local_cc") () ")"))) (; ";"))) (} "}"))) (expression_statement "puVar9 = local_58;" (assignment_expression "puVar9 = local_58" (identifier "puVar9") (= "=") (identifier "local_58")) (; ";")) (for_statement "for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }" (for "for") (( "(") (assignment_expression "iVar6 = 0xe" (identifier "iVar6") (= "=") (number_literal "0xe")) (; ";") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n        *puVar9 = 0;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n      }" ({ "{") (expression_statement "*puVar9 = 0;" (assignment_expression "*puVar9 = 0" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" (identifier "puVar9") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "local_c4 = local_9c;" (assignment_expression "local_c4 = local_9c" (identifier "local_c4") (= "=") (identifier "local_9c")) (; ";")) (expression_statement "puVar9 = local_9c;" (assignment_expression "puVar9 = local_9c" (identifier "puVar9") (= "=") (identifier "local_9c")) (; ";")) (expression_statement "pbVar8 = local_68;" (assignment_expression "pbVar8 = local_68" (identifier "pbVar8") (= "=") (identifier "local_68")) (; ";")) (for_statement "for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }" (for "for") (( "(") (assignment_expression "iVar6 = 4" (identifier "iVar6") (= "=") (number_literal "4")) (; ";") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n        *(undefined4 *)pbVar8 = *puVar9;\n        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;\n      }" ({ "{") (expression_statement "*(undefined4 *)pbVar8 = *puVar9;" (assignment_expression "*(undefined4 *)pbVar8 = *puVar9" (pointer_expression "*(undefined4 *)pbVar8" (* "*") (cast_expression "(undefined4 *)pbVar8" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pbVar8"))) (= "=") (pointer_expression "*puVar9" (* "*") (identifier "puVar9"))) (; ";")) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" (identifier "puVar9") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;" (assignment_expression "pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4" (identifier "pbVar8") (= "=") (binary_expression "pbVar8 + ((uint)bVar14 * -2 + 1) * 4" (identifier "pbVar8") (+ "+") (binary_expression "((uint)bVar14 * -2 + 1) * 4" (parenthesized_expression "((uint)bVar14 * -2 + 1)" (( "(") (binary_expression "(uint)bVar14 * -2 + 1" (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2")) (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "4")))) (; ";")) (} "}"))) (expression_statement "local_34 = (undefined2)iVar5;" (assignment_expression "local_34 = (undefined2)iVar5" (identifier "local_34") (= "=") (cast_expression "(undefined2)iVar5" (( "(") (type_descriptor "undefined2" (type_identifier "undefined2")) () ")") (identifier "iVar5"))) (; ";")) (expression_statement "local_28 = (uint)(iVar5 == 0x80) * 4 + 1;" (assignment_expression "local_28 = (uint)(iVar5 == 0x80) * 4 + 1" (identifier "local_28") (= "=") (binary_expression "(uint)(iVar5 == 0x80) * 4 + 1" (binary_expression "(uint)(iVar5 == 0x80) * 4" (call_expression "(uint)(iVar5 == 0x80)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar5 == 0x80)" (( "(") (binary_expression "iVar5 == 0x80" (identifier "iVar5") (== "==") (number_literal "0x80")) () ")"))) (* "*") (number_literal "4")) (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}")))) (expression_statement "local_cc = local_68;" (assignment_expression "local_cc = local_68" (identifier "local_cc") (= "=") (identifier "local_68")) (; ";")) (expression_statement "local_30 = 1;" (assignment_expression "local_30 = 1" (identifier "local_30") (= "=") (number_literal "1")) (; ";")) (if_statement "if (*local_b0[0] == 0) {\n    local_d0 = 0x3a0af;\n    FUN_0001aa26();\n    local_24 = 0;\n  }\n  else {\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }" (if "if") (parenthesized_expression "(*local_b0[0] == 0)" (( "(") (binary_expression "*local_b0[0] == 0" (pointer_expression "*local_b0[0]" (* "*") (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]"))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_d0 = 0x3a0af;\n    FUN_0001aa26();\n    local_24 = 0;\n  }" ({ "{") (expression_statement "local_d0 = 0x3a0af;" (assignment_expression "local_d0 = 0x3a0af" (identifier "local_d0") (= "=") (number_literal "0x3a0af")) (; ";")) (expression_statement "FUN_0001aa26();" (call_expression "FUN_0001aa26()" (identifier "FUN_0001aa26") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }" (else "else") (compound_statement "{\n    local_bc = local_b0;\n    local_b8 = unaff_EBP + 0x9773f;\n    local_b4 = unaff_EBP + 0x89ca2;\n    iVar5 = 0;\n    do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);\n    local_d0 = 0x3a191;\n    FUN_0001aa26();\n    local_24 = 0;\n    ppbVar7 = &local_cc;\n    if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }\n  }" ({ "{") (expression_statement "local_bc = local_b0;" (assignment_expression "local_bc = local_b0" (identifier "local_bc") (= "=") (identifier "local_b0")) (; ";")) (expression_statement "local_b8 = unaff_EBP + 0x9773f;" (assignment_expression "local_b8 = unaff_EBP + 0x9773f" (identifier "local_b8") (= "=") (binary_expression "unaff_EBP + 0x9773f" (identifier "unaff_EBP") (+ "+") (number_literal "0x9773f"))) (; ";")) (expression_statement "local_b4 = unaff_EBP + 0x89ca2;" (assignment_expression "local_b4 = unaff_EBP + 0x89ca2" (identifier "local_b4") (= "=") (binary_expression "unaff_EBP + 0x89ca2" (identifier "unaff_EBP") (+ "+") (number_literal "0x89ca2"))) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    } while (iVar4 != 0);" (do "do") (compound_statement "{\n      local_d0 = 0x3a075;\n      uVar3 = FUN_00039b43();\n      if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }\n      iVar5 = iVar6;\n    }" ({ "{") (expression_statement "local_d0 = 0x3a075;" (assignment_expression "local_d0 = 0x3a075" (identifier "local_d0") (= "=") (number_literal "0x3a075")) (; ";")) (expression_statement "uVar3 = FUN_00039b43();" (assignment_expression "uVar3 = FUN_00039b43()" (identifier "uVar3") (= "=") (call_expression "FUN_00039b43()" (identifier "FUN_00039b43") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (uVar3 - 0x21 < 2) {\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }\n      else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }" (if "if") (parenthesized_expression "(uVar3 - 0x21 < 2)" (( "(") (binary_expression "uVar3 - 0x21 < 2" (binary_expression "uVar3 - 0x21" (identifier "uVar3") (- "-") (number_literal "0x21")) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);\n        iVar4 = *local_b0[0];\n        iVar6 = iVar5;\n      }" ({ "{") (expression_statement "local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);" (assignment_expression "local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2)" (identifier "local_28") (= "=") (binary_expression "local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2)" (identifier "local_28") (| "|") (pointer_expression "*(ushort *)(local_b4 + (uVar3 & 3) * 2)" (* "*") (cast_expression "(ushort *)(local_b4 + (uVar3 & 3) * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_b4 + (uVar3 & 3) * 2)" (( "(") (binary_expression "local_b4 + (uVar3 & 3) * 2" (identifier "local_b4") (+ "+") (binary_expression "(uVar3 & 3) * 2" (parenthesized_expression "(uVar3 & 3)" (( "(") (binary_expression "uVar3 & 3" (identifier "uVar3") (& "&") (number_literal "3")) () ")")) (* "*") (number_literal "2"))) () ")")))))) (; ";")) (expression_statement "iVar4 = *local_b0[0];" (assignment_expression "iVar4 = *local_b0[0]" (identifier "iVar4") (= "=") (pointer_expression "*local_b0[0]" (* "*") (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" (identifier "iVar6") (= "=") (identifier "iVar5")) (; ";")) (} "}")) (else_clause "else {\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }" (else "else") (compound_statement "{\n        iVar6 = local_b0[0][-1];\n        if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }\n      }" ({ "{") (expression_statement "iVar6 = local_b0[0][-1];" (assignment_expression "iVar6 = local_b0[0][-1]" (identifier "iVar6") (= "=") (subscript_expression "local_b0[0][-1]" (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]")) ([ "[") (number_literal "-1") (] "]"))) (; ";")) (if_statement "if (uVar3 == 0x10) {\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }\n        else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }" (if "if") (parenthesized_expression "(uVar3 == 0x10)" (( "(") (binary_expression "uVar3 == 0x10" (identifier "uVar3") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n          local_d0 = 0x3a12e;\n          local_30 = FUN_000bf04b();\n          iVar4 = *local_b0[0];\n          iVar6 = iVar5;\n        }" ({ "{") (expression_statement "local_d0 = 0x3a12e;" (assignment_expression "local_d0 = 0x3a12e" (identifier "local_d0") (= "=") (number_literal "0x3a12e")) (; ";")) (expression_statement "local_30 = FUN_000bf04b();" (assignment_expression "local_30 = FUN_000bf04b()" (identifier "local_30") (= "=") (call_expression "FUN_000bf04b()" (identifier "FUN_000bf04b") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar4 = *local_b0[0];" (assignment_expression "iVar4 = *local_b0[0]" (identifier "iVar4") (= "=") (pointer_expression "*local_b0[0]" (* "*") (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" (identifier "iVar6") (= "=") (identifier "iVar5")) (; ";")) (} "}")) (else_clause "else {\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }" (else "else") (compound_statement "{\n          piVar1 = local_b0[0];\n          if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }\n        }" ({ "{") (expression_statement "piVar1 = local_b0[0];" (assignment_expression "piVar1 = local_b0[0]" (identifier "piVar1") (= "=") (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]"))) (; ";")) (if_statement "if (uVar3 == 0x12) {\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }\n          else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }" (if "if") (parenthesized_expression "(uVar3 == 0x12)" (( "(") (binary_expression "uVar3 == 0x12" (identifier "uVar3") (== "==") (number_literal "0x12")) () ")")) (compound_statement "{\n            if ((local_28 & 2) != 0) goto LAB_0003a150;\n            local_d0 = 0x3a1e9;\n            iVar4 = FUN_000b494b();\n            if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }\n            puVar9 = local_c4;\n            puVar11 = local_48;\n            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }\n            local_28 = local_28 | 2;\n            iVar4 = *local_b0[0];\n            iVar6 = iVar5;\n          }" ({ "{") (if_statement "if ((local_28 & 2) != 0) goto LAB_0003a150;" (if "if") (parenthesized_expression "((local_28 & 2) != 0)" (( "(") (binary_expression "(local_28 & 2) != 0" (parenthesized_expression "(local_28 & 2)" (( "(") (binary_expression "local_28 & 2" (identifier "local_28") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003a150;" (goto "goto") (statement_identifier "LAB_0003a150") (; ";"))) (expression_statement "local_d0 = 0x3a1e9;" (assignment_expression "local_d0 = 0x3a1e9" (identifier "local_d0") (= "=") (number_literal "0x3a1e9")) (; ";")) (expression_statement "iVar4 = FUN_000b494b();" (assignment_expression "iVar4 = FUN_000b494b()" (identifier "iVar4") (= "=") (call_expression "FUN_000b494b()" (identifier "FUN_000b494b") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar4 < 0) {\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }" (if "if") (parenthesized_expression "(iVar4 < 0)" (( "(") (binary_expression "iVar4 < 0" (identifier "iVar4") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                    \n              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);\n            }" ({ "{") (expression_statement "FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);" (call_expression "FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6)" (identifier "FUN_000192f3") (argument_list "(&UNK_00097637 + unaff_EBP,iVar6)" (( "(") (binary_expression "&UNK_00097637 + unaff_EBP" (pointer_expression "&UNK_00097637" (& "&") (identifier "UNK_00097637")) (+ "+") (identifier "unaff_EBP")) (, ",") (identifier "iVar6") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar9 = local_c4;" (assignment_expression "puVar9 = local_c4" (identifier "puVar9") (= "=") (identifier "local_c4")) (; ";")) (expression_statement "puVar11 = local_48;" (assignment_expression "puVar11 = local_48" (identifier "puVar11") (= "=") (identifier "local_48")) (; ";")) (for_statement "for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }" (for "for") (( "(") (assignment_expression "iVar6 = 4" (identifier "iVar6") (= "=") (number_literal "4")) (; ";") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n              *puVar11 = *puVar9;\n              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;\n              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;\n            }" ({ "{") (expression_statement "*puVar11 = *puVar9;" (assignment_expression "*puVar11 = *puVar9" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (pointer_expression "*puVar9" (* "*") (identifier "puVar9"))) (; ";")) (expression_statement "puVar9 = puVar9 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar9 = puVar9 + (uint)bVar14 * -2 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + (uint)bVar14 * -2 + 1" (binary_expression "puVar9 + (uint)bVar14 * -2" (identifier "puVar9") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar11 = puVar11 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar11 = puVar11 + (uint)bVar14 * -2 + 1" (identifier "puVar11") (= "=") (binary_expression "puVar11 + (uint)bVar14 * -2 + 1" (binary_expression "puVar11 + (uint)bVar14 * -2" (identifier "puVar11") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "local_28 = local_28 | 2;" (assignment_expression "local_28 = local_28 | 2" (identifier "local_28") (= "=") (binary_expression "local_28 | 2" (identifier "local_28") (| "|") (number_literal "2"))) (; ";")) (expression_statement "iVar4 = *local_b0[0];" (assignment_expression "iVar4 = *local_b0[0]" (identifier "iVar4") (= "=") (pointer_expression "*local_b0[0]" (* "*") (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" (identifier "iVar6") (= "=") (identifier "iVar5")) (; ";")) (} "}")) (else_clause "else {\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }" (else "else") (compound_statement "{\n            if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }\n            if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }\n            iVar4 = *local_b0[0];\n          }" ({ "{") (if_statement "if (iVar5 != 0) {\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0003a150:\n              local_b0[0] = piVar1;\n                    \n              local_d0 = 0x3a155;\n              FUN_0001803e();\n            }" ({ "{") (labeled_statement "LAB_0003a150:\n              local_b0[0] = piVar1;" (statement_identifier "LAB_0003a150") (: ":") (expression_statement "local_b0[0] = piVar1;" (assignment_expression "local_b0[0] = piVar1" (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "piVar1")) (; ";"))) (expression_statement "local_d0 = 0x3a155;" (assignment_expression "local_d0 = 0x3a155" (identifier "local_d0") (= "=") (number_literal "0x3a155")) (; ";")) (expression_statement "FUN_0001803e();" (call_expression "FUN_0001803e()" (identifier "FUN_0001803e") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (uVar3 != 0x16) {\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }" (if "if") (parenthesized_expression "(uVar3 != 0x16)" (( "(") (binary_expression "uVar3 != 0x16" (identifier "uVar3") (!= "!=") (number_literal "0x16")) () ")")) (compound_statement "{\n              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;\n              iVar6 = *local_b0[0];\n              local_b0[0] = local_b0[0] + 1;\n              break;\n            }" ({ "{") (if_statement "if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))\n              goto LAB_0003a150;" (if "if") (parenthesized_expression "((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))" (( "(") (binary_expression "(uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0)" (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(piVar1 = local_b0[0] + 1, local_b0[0][1] != 0)" (( "(") (comma_expression "piVar1 = local_b0[0] + 1, local_b0[0][1] != 0" (assignment_expression "piVar1 = local_b0[0] + 1" (identifier "piVar1") (= "=") (binary_expression "local_b0[0] + 1" (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (, ",") (binary_expression "local_b0[0][1] != 0" (subscript_expression "local_b0[0][1]" (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]")) ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_0003a150;" (goto "goto") (statement_identifier "LAB_0003a150") (; ";"))) (expression_statement "iVar6 = *local_b0[0];" (assignment_expression "iVar6 = *local_b0[0]" (identifier "iVar6") (= "=") (pointer_expression "*local_b0[0]" (* "*") (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "local_b0[0] = local_b0[0] + 1;" (assignment_expression "local_b0[0] = local_b0[0] + 1" (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]")) (= "=") (binary_expression "local_b0[0] + 1" (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar4 = *local_b0[0];" (assignment_expression "iVar4 = *local_b0[0]" (identifier "iVar4") (= "=") (pointer_expression "*local_b0[0]" (* "*") (subscript_expression "local_b0[0]" (identifier "local_b0") ([ "[") (number_literal "0") (] "]")))) (; ";")) (} "}")))) (} "}")))) (} "}")))) (expression_statement "iVar5 = iVar6;" (assignment_expression "iVar5 = iVar6" (identifier "iVar5") (= "=") (identifier "iVar6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "local_d0 = 0x3a191;" (assignment_expression "local_d0 = 0x3a191" (identifier "local_d0") (= "=") (number_literal "0x3a191")) (; ";")) (expression_statement "FUN_0001aa26();" (call_expression "FUN_0001aa26()" (identifier "FUN_0001aa26") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "ppbVar7 = &local_cc;" (assignment_expression "ppbVar7 = &local_cc" (identifier "ppbVar7") (= "=") (pointer_expression "&local_cc" (& "&") (identifier "local_cc"))) (; ";")) (if_statement "if (iVar6 != 0) {\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      local_d0 = 0x3a1b3;\n      FUN_000194c4();\n      FUN_0001ac33(unaff_EBP + 0x968ac);\n      local_28 = local_7c;\n      ppbVar7 = (byte **)&local_d0;\n    }" ({ "{") (expression_statement "local_d0 = 0x3a1b3;" (assignment_expression "local_d0 = 0x3a1b3" (identifier "local_d0") (= "=") (number_literal "0x3a1b3")) (; ";")) (expression_statement "FUN_000194c4();" (call_expression "FUN_000194c4()" (identifier "FUN_000194c4") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0001ac33(unaff_EBP + 0x968ac);" (call_expression "FUN_0001ac33(unaff_EBP + 0x968ac)" (identifier "FUN_0001ac33") (argument_list "(unaff_EBP + 0x968ac)" (( "(") (binary_expression "unaff_EBP + 0x968ac" (identifier "unaff_EBP") (+ "+") (number_literal "0x968ac")) () ")"))) (; ";")) (expression_statement "local_28 = local_7c;" (assignment_expression "local_28 = local_7c" (identifier "local_28") (= "=") (identifier "local_7c")) (; ";")) (expression_statement "ppbVar7 = (byte **)&local_d0;" (assignment_expression "ppbVar7 = (byte **)&local_d0" (identifier "ppbVar7") (= "=") (cast_expression "(byte **)&local_d0" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (pointer_expression "&local_d0" (& "&") (identifier "local_d0")))) (; ";")) (} "}"))) (} "}")))) (if_statement "if (*(int *)((int)ppbVar7 + 0xc) == 1) {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;\n    FUN_0001ac33();\n  }\n  else {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }" (if "if") (parenthesized_expression "(*(int *)((int)ppbVar7 + 0xc) == 1)" (( "(") (binary_expression "*(int *)((int)ppbVar7 + 0xc) == 1" (pointer_expression "*(int *)((int)ppbVar7 + 0xc)" (* "*") (cast_expression "(int *)((int)ppbVar7 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)ppbVar7 + 0xc)" (( "(") (binary_expression "(int)ppbVar7 + 0xc" (cast_expression "(int)ppbVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppbVar7")) (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;\n    FUN_0001ac33();\n  }" ({ "{") (expression_statement "*(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;" (assignment_expression "*(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP" (pointer_expression "*(undefined **)((int)ppbVar7 + -0x10)" (* "*") (cast_expression "(undefined **)((int)ppbVar7 + -0x10)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)ppbVar7 + -0x10)" (( "(") (binary_expression "(int)ppbVar7 + -0x10" (cast_expression "(int)ppbVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppbVar7")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (binary_expression "&UNK_00097644 + unaff_EBP" (pointer_expression "&UNK_00097644" (& "&") (identifier "UNK_00097644")) (+ "+") (identifier "unaff_EBP"))) (; ";")) (expression_statement "*(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;" (assignment_expression "*(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a" (pointer_expression "*(undefined4 *)((int)ppbVar7 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)ppbVar7 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)ppbVar7 + -0x14)" (( "(") (binary_expression "(int)ppbVar7 + -0x14" (cast_expression "(int)ppbVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppbVar7")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x3a11a")) (; ";")) (expression_statement "FUN_0001ac33();" (call_expression "FUN_0001ac33()" (identifier "FUN_0001ac33") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }" (else "else") (compound_statement "{\n    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;\n    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;\n    FUN_0001ac33();\n  }" ({ "{") (expression_statement "*(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;" (assignment_expression "*(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP" (pointer_expression "*(undefined **)((int)ppbVar7 + -0x10)" (* "*") (cast_expression "(undefined **)((int)ppbVar7 + -0x10)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)ppbVar7 + -0x10)" (( "(") (binary_expression "(int)ppbVar7 + -0x10" (cast_expression "(int)ppbVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppbVar7")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (binary_expression "&UNK_0009764e + unaff_EBP" (pointer_expression "&UNK_0009764e" (& "&") (identifier "UNK_0009764e")) (+ "+") (identifier "unaff_EBP"))) (; ";")) (expression_statement "*(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;" (assignment_expression "*(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd" (pointer_expression "*(undefined4 *)((int)ppbVar7 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)ppbVar7 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)ppbVar7 + -0x14)" (( "(") (binary_expression "(int)ppbVar7 + -0x14" (cast_expression "(int)ppbVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppbVar7")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x3a0dd")) (; ";")) (expression_statement "FUN_0001ac33();" (call_expression "FUN_0001ac33()" (identifier "FUN_0001ac33") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (if_statement "if (*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;\n    FUN_00017e20();\n  }" (if "if") (parenthesized_expression "(*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)((int)ppbVar7 + 0xa8)" (* "*") (cast_expression "(int *)((int)ppbVar7 + 0xa8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)ppbVar7 + 0xa8)" (( "(") (binary_expression "(int)ppbVar7 + 0xa8" (cast_expression "(int)ppbVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppbVar7")) (+ "+") (number_literal "0xa8")) () ")")))) (!= "!=") (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    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;\n    FUN_00017e20();\n  }" ({ "{") (expression_statement "*(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;" (assignment_expression "*(undefined4 *)((int)ppbVar7 + -8) = 0x3a100" (pointer_expression "*(undefined4 *)((int)ppbVar7 + -8)" (* "*") (cast_expression "(undefined4 *)((int)ppbVar7 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)ppbVar7 + -8)" (( "(") (binary_expression "(int)ppbVar7 + -8" (cast_expression "(int)ppbVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppbVar7")) (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "0x3a100")) (; ";")) (expression_statement "FUN_00017e20();" (call_expression "FUN_00017e20()" (identifier "FUN_00017e20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */

void function_1(int action,char **args)

{
  type_1 sa6;
  type_2 ifr;
  type_3 rt;
  
}


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

void MASKED(void)

{
  int *piVar1;
  char *pcVar2;
  uint uVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  byte **ppbVar7;
  int unaff_EBP;
  byte *pbVar8;
  undefined4 *puVar9;
  byte *pbVar10;
  undefined4 *puVar11;
  int in_GS_OFFSET;
  bool bVar12;
  bool bVar13;
  byte bVar14;
  undefined8 uVar15;
  undefined4 local_d0;
  byte *local_cc;
  undefined4 *local_c8;
  undefined4 *local_c4;
  undefined4 local_c0;
  int **local_bc;
  int local_b8;
  int local_b4;
  int *local_b0 [3];
  undefined4 local_a4 [2];
  undefined4 local_9c [8];
  uint local_7c;
  byte local_68 [16];
  undefined4 local_58 [4];
  undefined4 local_48 [5];
  undefined2 local_34;
  undefined4 local_30;
  uint local_28;
  undefined4 local_24;
  undefined4 local_20;
  
  bVar14 = 0;
  ppbVar7 = &local_cc;
  local_d0 = 0x39f02;
  uVar15 = FUN_00027c59();
  puVar9 = (undefined4 *)((ulonglong)uVar15 >> 0x20);
  local_c0 = (int)uVar15;
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  bVar12 = (undefined4 *)0xfffffffb < puVar9;
  local_b0[0] = puVar9 + 1;
  bVar13 = local_b0[0] == (int *)0x0;
  local_cc = (byte *)*puVar9;
  iVar5 = 8;
  pbVar8 = local_cc;
  pbVar10 = &LAB_00096872 + unaff_EBP;
  do {
    if (iVar5 == 0) break;
    iVar5 = iVar5 + -1;
    bVar12 = *pbVar8 < *pbVar10;
    bVar13 = *pbVar8 == *pbVar10;
    pbVar8 = pbVar8 + (uint)bVar14 * -2 + 1;
    pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;
  } while (bVar13);
  if ((!bVar12 && !bVar13) == bVar12) {
    local_c8 = local_a4;
    puVar9 = local_c8;
    for (iVar5 = 7; iVar5 != 0; iVar5 = iVar5 + -1) {
      *puVar9 = 0;
      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
    }
    puVar9 = local_58;
    for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {
      *puVar9 = 0;
      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
    }
    local_c4 = local_9c;
    puVar9 = local_9c;
    pbVar8 = local_68;
    for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {
      *(undefined4 *)pbVar8 = *puVar9;
      puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
      pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;
    }
    local_28 = 1;
  }
  else {
    pcVar2 = strchr((char *)local_cc,0x2f);
    if (pcVar2 == (char *)0x0) {
      local_c8 = local_a4;
      local_d0 = 0x39ff2;
      iVar5 = FUN_000b494b();
      if (iVar5 < 0) goto LAB_00039fcd;
      puVar9 = local_58;
      for (iVar5 = 0xe; iVar5 != 0; iVar5 = iVar5 + -1) {
        *puVar9 = 0;
        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
      }
      local_c4 = local_9c;
      puVar9 = local_9c;
      pbVar8 = local_68;
      for (iVar5 = 4; iVar5 != 0; iVar5 = iVar5 + -1) {
        *(undefined4 *)pbVar8 = *puVar9;
        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;
      }
      local_34 = 0x80;
      local_28 = 5;
    }
    else {
      *pcVar2 = '\0';
      local_d0 = 0x39fb2;
      iVar5 = FUN_000bee7c();
      local_c8 = local_a4;
      local_d0 = 0x39fc5;
      iVar6 = FUN_000b494b();
      if (iVar6 < 0) {
LAB_00039fcd:
                    /* WARNING: Subroutine does not return */
        FUN_000192f3(&UNK_00097637 + unaff_EBP,local_cc);
      }
      puVar9 = local_58;
      for (iVar6 = 0xe; iVar6 != 0; iVar6 = iVar6 + -1) {
        *puVar9 = 0;
        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
      }
      local_c4 = local_9c;
      puVar9 = local_9c;
      pbVar8 = local_68;
      for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {
        *(undefined4 *)pbVar8 = *puVar9;
        puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
        pbVar8 = pbVar8 + ((uint)bVar14 * -2 + 1) * 4;
      }
      local_34 = (undefined2)iVar5;
      local_28 = (uint)(iVar5 == 0x80) * 4 + 1;
    }
  }
  local_cc = local_68;
  local_30 = 1;
  if (*local_b0[0] == 0) {
    local_d0 = 0x3a0af;
    FUN_0001aa26();
    local_24 = 0;
  }
  else {
    local_bc = local_b0;
    local_b8 = unaff_EBP + 0x9773f;
    local_b4 = unaff_EBP + 0x89ca2;
    iVar5 = 0;
    do {
      local_d0 = 0x3a075;
      uVar3 = FUN_00039b43();
      if (uVar3 - 0x21 < 2) {
        local_28 = local_28 | *(ushort *)(local_b4 + (uVar3 & 3) * 2);
        iVar4 = *local_b0[0];
        iVar6 = iVar5;
      }
      else {
        iVar6 = local_b0[0][-1];
        if (uVar3 == 0x10) {
          local_d0 = 0x3a12e;
          local_30 = FUN_000bf04b();
          iVar4 = *local_b0[0];
          iVar6 = iVar5;
        }
        else {
          piVar1 = local_b0[0];
          if (uVar3 == 0x12) {
            if ((local_28 & 2) != 0) goto LAB_0003a150;
            local_d0 = 0x3a1e9;
            iVar4 = FUN_000b494b();
            if (iVar4 < 0) {
                    /* WARNING: Subroutine does not return */
              FUN_000192f3(&UNK_00097637 + unaff_EBP,iVar6);
            }
            puVar9 = local_c4;
            puVar11 = local_48;
            for (iVar6 = 4; iVar6 != 0; iVar6 = iVar6 + -1) {
              *puVar11 = *puVar9;
              puVar9 = puVar9 + (uint)bVar14 * -2 + 1;
              puVar11 = puVar11 + (uint)bVar14 * -2 + 1;
            }
            local_28 = local_28 | 2;
            iVar4 = *local_b0[0];
            iVar6 = iVar5;
          }
          else {
            if (iVar5 != 0) {
LAB_0003a150:
              local_b0[0] = piVar1;
                    /* WARNING: Subroutine does not return */
              local_d0 = 0x3a155;
              FUN_0001803e();
            }
            if (uVar3 != 0x16) {
              if ((uVar3 != 0) || (piVar1 = local_b0[0] + 1, local_b0[0][1] != 0))
              goto LAB_0003a150;
              iVar6 = *local_b0[0];
              local_b0[0] = local_b0[0] + 1;
              break;
            }
            iVar4 = *local_b0[0];
          }
        }
      }
      iVar5 = iVar6;
    } while (iVar4 != 0);
    local_d0 = 0x3a191;
    FUN_0001aa26();
    local_24 = 0;
    ppbVar7 = &local_cc;
    if (iVar6 != 0) {
      local_d0 = 0x3a1b3;
      FUN_000194c4();
      FUN_0001ac33(unaff_EBP + 0x968ac);
      local_28 = local_7c;
      ppbVar7 = (byte **)&local_d0;
    }
  }
  if (*(int *)((int)ppbVar7 + 0xc) == 1) {
    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_00097644 + unaff_EBP;
    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a11a;
    FUN_0001ac33();
  }
  else {
    *(undefined **)((int)ppbVar7 + -0x10) = &UNK_0009764e + unaff_EBP;
    *(undefined4 *)((int)ppbVar7 + -0x14) = 0x3a0dd;
    FUN_0001ac33();
  }
  if (*(int *)((int)ppbVar7 + 0xa8) != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    *(undefined4 *)((int)ppbVar7 + -8) = 0x3a100;
    FUN_00017e20();
  }
  return;
}

