
void sqlite3StartTable(Parse *pParse,Token *pName1,Token *pName2,int isTemp,int isView,int isVirtual
                      ,int noErr)

{
  sqlite3 *db;
  char *code;
  Schema *pSVar1;
  Parse *pParse_00;
  Token *pToken;
  int iVar2;
  Table *pTVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  Vdbe *p;
  int iVar7;
  Vdbe *p_00;
  Index *pIVar8;
  Token *pName2_00;
  Token *pName1_00;
  Op *pOVar9;
  int unaff_EDI;
  byte *pbVar10;
  int in_GS_OFFSET;
  bool bVar11;
  bool bVar12;
  byte bVar13;
  undefined8 uVar14;
  char *in_stack_ffffffac;
  char *pcVar15;
  char *in_stack_ffffffb4;
  undefined4 in_stack_ffffffb8;
  uint local_40;
  Token *pName;
  int local_20;
  
  bVar13 = 0;
  uVar14 = __x86_get_pc_thunk_di();
  pName1_00 = (Token *)((ulonglong)uVar14 >> 0x20);
  pParse_00 = (Parse *)uVar14;
  db = pParse_00->db;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (((db->init).busy == '\0') || ((db->init).newTnum != 1)) {
    local_40 = sqlite3TwoPartName(pParse_00,pName1_00,pName2_00,&pName);
    if ((int)local_40 < 0) goto LAB_000aebf0;
    if (pParse != (Parse *)0x0) {
      if ((pName2_00->n != 0) && (local_40 != 1)) {
        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bc5));
        goto LAB_000aebf0;
      }
      local_40 = 1;
    }
    pToken = (Token *)sqlite3NameFromToken(db,pName);
    if (1 < pParse_00->eParseMode) {
      sqlite3RenameTokenMap((Parse *)pParse_00->db,&pParse_00->pRename,pToken,(Parse *)pName);
    }
  }
  else {
    local_40 = (uint)(db->init).iDb;
    pcVar15 = &UNK_00047dd8 + unaff_EDI;
    if (local_40 != 1) {
      pcVar15 = (char *)(unaff_EDI + 0x46e08);
    }
    pToken = (Token *)sqlite3DbStrDup(db,pcVar15);
    pName = pName1_00;
  }
  uVar5 = pName->n;
  (pParse_00->sNameToken).z = pName->z;
  (pParse_00->sNameToken).n = uVar5;
  if (pToken == (Token *)0x0) goto LAB_000aebf0;
  pcVar15 = (char *)0xae8d2;
  iVar2 = sqlite3CheckObjectName(pParse_00,(char *)pToken);
  if (iVar2 == 0) {
    code = db->aDb[local_40].zDbSName;
    iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4);
    if ((iVar2 == 0) &&
       ((pName2 != (Token *)0x0 ||
        (iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4
                                 ), iVar2 == 0)))) {
      if (pParse_00->eParseMode == '\0') {
        pcVar15 = db->aDb[local_40].zDbSName;
        iVar2 = sqlite3ReadSchema(pParse_00);
        if (iVar2 == 0) {
          pTVar3 = sqlite3FindTable(db,(char *)pToken,pcVar15);
          if (pTVar3 == (Table *)0x0) {
            pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);
            if (pIVar8 == (Index *)0x0) goto LAB_000ae948;
            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);
          }
          else if (isTemp == 0) {
            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);
          }
          else {
            sqlite3CodeVerifySchema(pParse_00,local_40);
          }
        }
      }
      else {
LAB_000ae948:
        pTVar3 = (Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4));
        if (pTVar3 != (Table *)0x0) {
          pTVar3->zName = (char *)pToken;
          pTVar3->iPKey = -1;
          pSVar1 = db->aDb[local_40].pSchema;
          pTVar3->nTabRef = 1;
          pTVar3->pSchema = pSVar1;
          pTVar3->nRowLogEst = 200;
          bVar11 = false;
          bVar12 = pParse_00->nested == '\0';
          pParse_00->pNewTable = pTVar3;
          if (bVar12) {
            iVar2 = 0x10;
            pbVar10 = (byte *)(unaff_EDI + 0x491fc);
            do {
              if (iVar2 == 0) break;
              iVar2 = iVar2 + -1;
              bVar11 = *(byte *)&pToken->z < *pbVar10;
              bVar12 = *(byte *)&pToken->z == *pbVar10;
              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);
              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;
            } while (bVar12);
            if ((!bVar11 && !bVar12) == bVar11) {
              pTVar3->pSchema->pSeqTab = pTVar3;
            }
          }
          if (((db->init).busy == '\0') &&
             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||
              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))) {
            sqlite3BeginWriteOperation(pParse_00,1,local_40);
            if (pName2 != (Token *)0x0) {
              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);
            }
            iVar4 = pParse_00->nMem;
            iVar2 = iVar4 + 1;
            pParse_00->regRowid = iVar2;
            iVar7 = iVar4 + 2;
            iVar4 = iVar4 + 3;
            pParse_00->regRoot = iVar7;
            pParse_00->nMem = iVar4;
            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);
            uVar5 = 1 << ((byte)local_40 & 0x1f);
            p_00->btreeMask = p_00->btreeMask | uVar5;
            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {
              p_00->lockMask = p_00->lockMask | uVar5;
            }
            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);
            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);
            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);
            if (iVar6 < 0) {
              iVar6 = p_00->nOp + -1;
            }
            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);
            if (p_00->db->mallocFailed == '\0') {
              pOVar9 = p_00->aOp + iVar6;
            }
            pOVar9->p2 = p_00->nOp;
            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {
              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);
              pParse_00->addrCrTab = iVar7;
            }
            else {
              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);
            }
            p = pParse_00->pVdbe;
            if (p == (Vdbe *)0x0) {
              p = sqlite3GetVdbe(pParse_00);
            }
            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));
            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);
            if (pParse_00->nTab == 0) {
              pParse_00->nTab = 1;
            }
            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);
            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);
            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);
            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);
            if (0 < p_00->nOp) {
              p_00->aOp[p_00->nOp + -1].p5 = 8;
            }
            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);
          }
          goto LAB_000aebf0;
        }
        pParse_00->rc = 7;
        pParse_00->nErr = pParse_00->nErr + 1;
      }
    }
  }
  sqlite3DbFreeNN(db,pToken);
LAB_000aebf0:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return;
}



void FUN_000ae810(int param_1,int param_2,int param_3,int param_4)

{
  int iVar1;
  undefined4 uVar2;
  int *piVar3;
  byte *pbVar4;
  int iVar5;
  int iVar6;
  undefined4 *puVar7;
  int iVar8;
  uint uVar9;
  int *piVar10;
  int iVar11;
  int extraout_ECX;
  int unaff_EDI;
  byte *pbVar12;
  int in_GS_OFFSET;
  bool bVar13;
  bool bVar14;
  byte bVar15;
  undefined8 uVar16;
  uint local_40;
  int *local_24;
  int local_20;
  
  bVar15 = 0;
  uVar16 = FUN_000196fd();
  piVar3 = (int *)uVar16;
  iVar11 = *piVar3;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if ((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)) {
    local_40 = FUN_000580a0(&local_24);
    if ((int)local_40 < 0) goto LAB_000aebf0;
    if (param_1 != 0) {
      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {
        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);
        goto LAB_000aebf0;
      }
      local_40 = 1;
    }
    pbVar4 = (byte *)FUN_00027240();
    if (1 < *(byte *)((int)piVar3 + 0xc6)) {
      FUN_0002def0(local_24);
    }
  }
  else {
    local_40 = (uint)*(byte *)(iVar11 + 0xa0);
    pbVar4 = (byte *)FUN_00027060();
    local_24 = (int *)((ulonglong)uVar16 >> 0x20);
  }
  iVar5 = local_24[1];
  piVar3[0x2c] = *local_24;
  piVar3[0x2d] = iVar5;
  if (pbVar4 == (byte *)0x0) goto LAB_000aebf0;
  iVar5 = FUN_00058130();
  if (iVar5 == 0) {
    iVar5 = local_40 * 0x10;
    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);
    iVar6 = FUN_00057f20(0,uVar2);
    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {
      if (*(char *)((int)piVar3 + 0xc6) == '\0') {
        iVar6 = FUN_000ae7c0();
        if (iVar6 == 0) {
          iVar6 = FUN_00027be0();
          if (iVar6 == 0) {
            iVar6 = FUN_0001c2c0();
            if (iVar6 == 0) goto LAB_000ae948;
            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);
          }
          else if (param_4 == 0) {
            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);
          }
          else {
            FUN_00087bd0();
          }
        }
      }
      else {
LAB_000ae948:
        puVar7 = (undefined4 *)FUN_00026c00();
        if (puVar7 != (undefined4 *)0x0) {
          *puVar7 = pbVar4;
          *(undefined2 *)(puVar7 + 10) = 0xffff;
          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);
          puVar7[8] = 1;
          puVar7[0x12] = uVar2;
          *(undefined2 *)(puVar7 + 0xb) = 200;
          bVar13 = false;
          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';
          piVar3[0x38] = (int)puVar7;
          if (bVar14) {
            iVar6 = 0x10;
            pbVar12 = (byte *)(unaff_EDI + 0x491fc);
            do {
              if (iVar6 == 0) break;
              iVar6 = iVar6 + -1;
              bVar13 = *pbVar4 < *pbVar12;
              bVar14 = *pbVar4 == *pbVar12;
              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;
              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;
            } while (bVar14);
            if ((!bVar13 && !bVar14) == bVar13) {
              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;
            }
          }
          if ((*(char *)(iVar11 + 0xa1) == '\0') &&
             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||
              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {
            FUN_00087c10();
            if (param_3 != 0) {
              FUN_00047f90(0,0);
            }
            iVar8 = piVar3[0xb];
            iVar6 = iVar8 + 1;
            piVar3[0x16] = iVar6;
            iVar1 = iVar8 + 2;
            iVar8 = iVar8 + 3;
            piVar3[0x17] = iVar1;
            piVar3[0xb] = iVar8;
            FUN_00047f90(iVar8,2);
            uVar9 = 1 << ((byte)local_40 & 0x1f);
            piVar10[0x24] = piVar10[0x24] | uVar9;
            if ((local_40 != 1) &&
               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {
              piVar10[0x25] = piVar10[0x25] | uVar9;
            }
            iVar5 = FUN_00047f90(0,0);
            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);
            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));
            if (iVar5 < 0) {
              iVar5 = piVar10[0x1a] + -1;
            }
            iVar11 = unaff_EDI + 0x9bd45;
            if (*(char *)(*piVar10 + 0x4d) == '\0') {
              iVar11 = piVar10[0x19] + iVar5 * 0x14;
            }
            *(int *)(iVar11 + 8) = piVar10[0x1a];
            if (param_3 == 0 && param_2 == 0) {
              iVar11 = FUN_00047f90(iVar1,1);
              piVar3[0x1f] = iVar11;
            }
            else {
              FUN_00047f90(iVar1,0);
            }
            if (piVar3[2] == 0) {
              FUN_000480a0();
            }
            FUN_00047c10(1,unaff_EDI + 0x46e08);
            FUN_00048130(1,local_40,5);
            if (piVar3[10] == 0) {
              piVar3[10] = 1;
            }
            FUN_00047f90(iVar6,0);
            FUN_00047f90(iVar8,0);
            FUN_000358a0(0xffffffff);
            FUN_00047f90(iVar8,iVar6);
            if (0 < piVar10[0x1a]) {
              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;
            }
            FUN_00047f90(0,0);
          }
          goto LAB_000aebf0;
        }
        piVar3[3] = 7;
        piVar3[9] = piVar3[9] + 1;
      }
    }
  }
  FUN_00024d80();
LAB_000aebf0:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000f4bf0();
}


PUSH EBP
PUSH EDI
CALL 0x000196fd
ADD EDI,0x9a6bd
PUSH ESI
MOV ESI,ECX
PUSH EBX
MOV EBX,EAX
SUB ESP,0x3c
MOV EBP,dword ptr [EBX]
MOV dword ptr [ESP + 0x8],EDI
MOV EDI,EDX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x2c],EAX
XOR EAX,EAX
CMP byte ptr [EBP + 0xa1],0x0
JZ 0x000ae850
CMP dword ptr [EBP + 0x9c],0x1
JZ 0x000aec10
SUB ESP,0xc
MOV ECX,ESI
MOV EDX,EDI
LEA EAX,[ESP + 0x34]
PUSH EAX
MOV EAX,EBX
CALL 0x000580a0
MOV dword ptr [ESP + 0x1c],EAX
ADD ESP,0x10
TEST EAX,EAX
JS 0x000aebf0
MOV ECX,dword ptr [ESP + 0x50]
TEST ECX,ECX
JZ 0x000ae892
MOV EDX,dword ptr [ESI + 0x4]
TEST EDX,EDX
JZ 0x000ae88a
CMP EAX,0x1
JNZ 0x000aed20
MOV dword ptr [ESP + 0xc],0x1
MOV EDX,dword ptr [ESP + 0x28]
MOV EAX,EBP
CALL 0x00027240
CMP byte ptr [EBX + 0xc6],0x1
MOV ESI,EAX
JA 0x000aec48
MOV EDI,dword ptr [ESP + 0x28]
MOV EAX,dword ptr [EDI]
MOV EDX,dword ptr [EDI + 0x4]
MOV dword ptr [EBX + 0xb0],EAX
MOV dword ptr [EBX + 0xb4],EDX
TEST ESI,ESI
JZ 0x000aebf0
MOV EDX,ESI
MOV EAX,EBX
CALL 0x00058130
TEST EAX,EAX
JNZ 0x000aecc0
MOV EAX,dword ptr [ESP + 0xc]
SHL EAX,0x4
CMP byte ptr [EBP + 0xa0],0x1
MOV ECX,EAX
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [EBP + 0x10]
MOV EDI,dword ptr [EAX + ECX*0x1]
JZ 0x000aed08
MOV EAX,dword ptr [ESP + 0x8]
CMP dword ptr [ESP + 0x50],0x1
LEA ECX,[EAX + 0xfffad71b]
LEA EAX,[EAX + 0xfffac74b]
CMOVNZ ECX,EAX
SUB ESP,0x8
MOV EDX,0x12
MOV EAX,EBX
PUSH EDI
PUSH 0x0
CALL 0x00057f20
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000aecc0
MOV EAX,dword ptr [ESP + 0x58]
TEST EAX,EAX
JZ 0x000aecd0
CMP byte ptr [EBX + 0xc6],0x0
JZ 0x000aec70
XOR ECX,ECX
MOV EDX,0x50
MOV EAX,EBP
CALL 0x00026c00
TEST EAX,EAX
JZ 0x000aed60
MOV EDI,0xffffffff
MOV dword ptr [EAX],ESI
MOV ECX,dword ptr [ESP + 0x10]
MOV word ptr [EAX + 0x28],DI
MOV EDX,dword ptr [EBP + 0x10]
MOV EDX,dword ptr [EDX + ECX*0x1 + 0xc]
MOV dword ptr [EAX + 0x20],0x1
MOV dword ptr [EAX + 0x48],EDX
MOV EDX,0xc8
MOV word ptr [EAX + 0x2c],DX
CMP byte ptr [EBX + 0x12],0x0
MOV dword ptr [EBX + 0xe0],EAX
JNZ 0x000ae9b4
MOV EDI,dword ptr [ESP + 0x8]
MOV ECX,0x10
LEA EDI,[EDI + 0xfffaeb3f]
CMPSB.REPE ES:EDI,ESI
SETA DL
SBB DL,0x0
TEST DL,DL
JNZ 0x000ae9b4
MOV EDX,dword ptr [EAX + 0x48]
MOV dword ptr [EDX + 0x48],EAX
CMP byte ptr [EBP + 0xa1],0x0
JNZ 0x000aebf0
MOV ESI,dword ptr [EBX + 0x8]
TEST ESI,ESI
JZ 0x000aed40
MOV ECX,dword ptr [ESP + 0xc]
MOV EDX,0x1
MOV EAX,EBX
CALL 0x00087c10
MOV ECX,dword ptr [ESP + 0x58]
TEST ECX,ECX
JNZ 0x000aedd4
MOV EAX,dword ptr [EBX + 0x2c]
SUB ESP,0x8
MOV EDX,0x69
LEA EDI,[EAX + 0x1]
MOV dword ptr [ESP + 0x20],EDI
MOV dword ptr [EBX + 0x58],EDI
LEA EDI,[EAX + 0x2]
ADD EAX,0x3
MOV dword ptr [ESP + 0x1c],EAX
MOV dword ptr [ESP + 0x24],EDI
MOV dword ptr [EBX + 0x5c],EDI
MOV dword ptr [EBX + 0x2c],EAX
PUSH 0x2
PUSH EAX
MOV EDI,dword ptr [ESP + 0x1c]
MOV EAX,ESI
MOV ECX,EDI
CALL 0x00047f90
MOV EAX,0x1
MOV ECX,EDI
ADD ESP,0x10
SHL EAX,CL
OR dword ptr [ESI + 0x90],EAX
CMP EDI,0x1
JZ 0x000aea51
MOV EDX,dword ptr [ESI]
MOV ECX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EDX + 0x10]
MOV EDX,dword ptr [EDX + ECX*0x1 + 0x4]
CMP byte ptr [EDX + 0x9],0x0
JZ 0x000aea51
OR dword ptr [ESI + 0x94],EAX
SUB ESP,0x8
MOV EDX,0x12
MOV EAX,ESI
PUSH 0x0
PUSH 0x0
MOV ECX,dword ptr [ESP + 0x24]
CALL 0x00047f90
POP EDX
POP ECX
MOV EDX,0x6b
MOV EDI,EAX
MOV EAX,dword ptr [EBP + 0x1c]
AND EAX,0x2
CMP EAX,0x1
SBB EAX,EAX
AND EAX,0x3
ADD EAX,0x1
PUSH EAX
MOV EAX,ESI
PUSH 0x2
MOV ECX,dword ptr [ESP + 0x1c]
CALL 0x00047f90
POP EAX
MOVZX EAX,byte ptr [EBP + 0x4a]
POP EDX
MOV EDX,0x6b
PUSH EAX
MOV EAX,ESI
PUSH 0x5
MOV ECX,dword ptr [ESP + 0x1c]
CALL 0x00047f90
MOV EAX,dword ptr [ESI + 0x68]
ADD ESP,0x10
MOV ECX,dword ptr [ESI]
TEST EDI,EDI
LEA EDX,[EAX + -0x1]
CMOVS EDI,EDX
MOV EDX,dword ptr [ESP + 0x8]
CMP byte ptr [ECX + 0x4d],0x0
LEA EDX,[EDX + 0x1688]
JNZ 0x000aead2
MOV EDX,dword ptr [ESI + 0x64]
LEA ECX,[EDI + EDI*0x4]
LEA EDX,[EDX + ECX*0x4]
MOV dword ptr [EDX + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x58]
OR EAX,dword ptr [ESP + 0x54]
JZ 0x000aedb0
SUB ESP,0x8
XOR ECX,ECX
MOV EDX,0x46
MOV EAX,ESI
PUSH 0x0
PUSH dword ptr [ESP + 0x28]
CALL 0x00047f90
ADD ESP,0x10
MOV EDI,dword ptr [EBX + 0x8]
TEST EDI,EDI
JNZ 0x000aeb0d
MOV EAX,EBX
CALL 0x000480a0
MOV EDI,EAX
SUB ESP,0x8
MOV ECX,0x1
MOV EAX,dword ptr [ESP + 0x10]
LEA EAX,[EAX + 0xfffac74b]
PUSH EAX
MOV EAX,EBX
PUSH 0x1
MOV EBP,dword ptr [ESP + 0x1c]
MOV EDX,EBP
CALL 0x00047c10
ADD ESP,0xc
XOR ECX,ECX
MOV EDX,0x6e
PUSH 0x5
MOV EAX,EDI
PUSH EBP
PUSH 0x1
CALL 0x00048130
MOV ECX,dword ptr [EBX + 0x28]
ADD ESP,0x10
TEST ECX,ECX
JNZ 0x000aeb56
MOV dword ptr [EBX + 0x28],0x1
SUB ESP,0x8
XOR ECX,ECX
MOV EDX,0x79
MOV EAX,ESI
PUSH 0x0
MOV EDI,dword ptr [ESP + 0x24]
PUSH EDI
CALL 0x00047f90
POP EBX
POP EBP
PUSH 0x0
MOV EBX,dword ptr [ESP + 0x20]
MOV ECX,0x6
MOV EDX,0x4b
MOV EAX,ESI
PUSH EBX
CALL 0x00047f90
MOV ECX,dword ptr [ESP + 0x18]
MOV dword ptr [ESP],0xffffffff
MOV EDX,EAX
MOV EAX,ESI
LEA ECX,[ECX + 0xfffb3ebc]
CALL 0x000358a0
POP EAX
POP EDX
PUSH EDI
PUSH EBX
XOR ECX,ECX
MOV EDX,0x7a
MOV EAX,ESI
CALL 0x00047f90
MOV EAX,dword ptr [ESI + 0x68]
ADD ESP,0x10
TEST EAX,EAX
JLE 0x000aebd0
MOV EDX,dword ptr [ESI + 0x64]
LEA EAX,[EAX + EAX*0x4]
MOV ECX,0x8
LEA EAX,[EDX + EAX*0x4]
MOV word ptr [EAX + -0x12],CX
SUB ESP,0x8
XOR ECX,ECX
MOV EDX,0x75
MOV EAX,ESI
PUSH 0x0
PUSH 0x0
CALL 0x00047f90
ADD ESP,0x10
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [ESP + 0x2c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x000aedf1
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOVZX EAX,byte ptr [EBP + 0xa0]
CMP EAX,0x1
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x8]
LEA EDX,[EAX + 0xfffad71b]
LEA EAX,[EAX + 0xfffac74b]
CMOVNZ EDX,EAX
MOV EAX,EBP
CALL 0x00027060
MOV dword ptr [ESP + 0x28],EDI
MOV ESI,EAX
JMP 0x000ae8b0
SUB ESP,0xc
MOV ECX,EAX
LEA EDX,[EBX + 0x10c]
PUSH dword ptr [ESP + 0x34]
MOV EAX,dword ptr [EBX]
CALL 0x0002def0
MOV EDI,dword ptr [ESP + 0x38]
ADD ESP,0x10
JMP 0x000ae8b0
MOV EAX,dword ptr [EBP + 0x10]
MOV ECX,dword ptr [ESP + 0x10]
MOV EDI,dword ptr [EAX + ECX*0x1]
MOV EAX,EBX
CALL 0x000ae7c0
TEST EAX,EAX
JNZ 0x000aecc0
MOV ECX,EDI
MOV EDX,ESI
MOV EAX,EBP
CALL 0x00027be0
TEST EAX,EAX
JZ 0x000aed80
MOV ECX,dword ptr [ESP + 0x5c]
TEST ECX,ECX
JNZ 0x000aed70
SUB ESP,0x4
PUSH dword ptr [ESP + 0x2c]
MOV EAX,dword ptr [ESP + 0x10]
LEA EAX,[EAX + 0xfffaeb27]
PUSH EAX
PUSH EBX
CALL 0x000578c0
ADD ESP,0x10
NOP
MOV EDX,ESI
MOV EAX,EBP
CALL 0x00024d80
JMP 0x000aebf0
MOV ECX,dword ptr [ESP + 0x54]
MOV EAX,dword ptr [ESP + 0x50]
SUB ESP,0x8
LEA EAX,[EAX + ECX*0x2]
MOV ECX,dword ptr [ESP + 0x10]
PUSH EDI
PUSH 0x0
MOVZX EDX,byte ptr [ECX + EAX*0x1 + 0xfffb3ec4]
MOV ECX,ESI
MOV EAX,EBX
CALL 0x00057f20
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000ae93b
JMP 0x000aecc0
MOV EAX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x50],0x1
LEA ECX,[EAX + 0xfffad71b]
JMP 0x000ae912
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
LEA EAX,[EAX + 0xfffbb508]
PUSH EAX
PUSH EBX
CALL 0x000578c0
ADD ESP,0x10
JMP 0x000aebf0
MOV EAX,EBX
CALL 0x000480a0
MOV ESI,EAX
TEST EAX,EAX
JZ 0x000aebf0
JMP 0x000ae9cc
MOV dword ptr [EBX + 0xc],0x7
ADD dword ptr [EBX + 0x24],0x1
JMP 0x000aecc0
MOV EDX,dword ptr [ESP + 0xc]
MOV EAX,EBX
CALL 0x00087bd0
JMP 0x000aecc0
MOV ECX,EDI
MOV EDX,ESI
MOV EAX,EBP
CALL 0x0001c2c0
TEST EAX,EAX
JZ 0x000ae948
SUB ESP,0x4
PUSH ESI
MOV EAX,dword ptr [ESP + 0x10]
LEA EAX,[EAX + 0xfffbb534]
PUSH EAX
PUSH EBX
CALL 0x000578c0
ADD ESP,0x10
JMP 0x000aecc0
SUB ESP,0x8
MOV EDX,0x8b
MOV EAX,ESI
PUSH 0x1
PUSH dword ptr [ESP + 0x28]
MOV ECX,dword ptr [ESP + 0x1c]
CALL 0x00047f90
ADD ESP,0x10
MOV dword ptr [EBX + 0x7c],EAX
JMP 0x000aeafd
SUB ESP,0x8
XOR ECX,ECX
MOV EDX,0xa0
MOV EAX,ESI
PUSH 0x0
PUSH 0x0
CALL 0x00047f90
ADD ESP,0x10
JMP 0x000ae9e8
CALL 0x000f4bf0
(translation_unit "void FUN_000ae810(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int extraout_ECX;\n  int unaff_EDI;\n  byte *pbVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  uint local_40;\n  int *local_24;\n  int local_20;\n  \n  bVar15 = 0;\n  uVar16 = FUN_000196fd();\n  piVar3 = (int *)uVar16;\n  iVar11 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)) {\n    local_40 = FUN_000580a0(&local_24);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pbVar4 = (byte *)FUN_00027240();\n    if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }\n  }\n  else {\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }\n  iVar5 = local_24[1];\n  piVar3[0x2c] = *local_24;\n  piVar3[0x2d] = iVar5;\n  if (pbVar4 == (byte *)0x0) goto LAB_000aebf0;\n  iVar5 = FUN_00058130();\n  if (iVar5 == 0) {\n    iVar5 = local_40 * 0x10;\n    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);\n    iVar6 = FUN_00057f20(0,uVar2);\n    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }\n  }\n  FUN_00024d80();\nLAB_000aebf0:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f4bf0();\n}\n\n" (function_definition "void FUN_000ae810(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int extraout_ECX;\n  int unaff_EDI;\n  byte *pbVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  uint local_40;\n  int *local_24;\n  int local_20;\n  \n  bVar15 = 0;\n  uVar16 = FUN_000196fd();\n  piVar3 = (int *)uVar16;\n  iVar11 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)) {\n    local_40 = FUN_000580a0(&local_24);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pbVar4 = (byte *)FUN_00027240();\n    if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }\n  }\n  else {\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }\n  iVar5 = local_24[1];\n  piVar3[0x2c] = *local_24;\n  piVar3[0x2d] = iVar5;\n  if (pbVar4 == (byte *)0x0) goto LAB_000aebf0;\n  iVar5 = FUN_00058130();\n  if (iVar5 == 0) {\n    iVar5 = local_40 * 0x10;\n    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);\n    iVar6 = FUN_00057f20(0,uVar2);\n    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }\n  }\n  FUN_00024d80();\nLAB_000aebf0:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f4bf0();\n}" primitive_type (function_declarator "FUN_000ae810(int param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int extraout_ECX;\n  int unaff_EDI;\n  byte *pbVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  uint local_40;\n  int *local_24;\n  int local_20;\n  \n  bVar15 = 0;\n  uVar16 = FUN_000196fd();\n  piVar3 = (int *)uVar16;\n  iVar11 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)) {\n    local_40 = FUN_000580a0(&local_24);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pbVar4 = (byte *)FUN_00027240();\n    if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }\n  }\n  else {\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }\n  iVar5 = local_24[1];\n  piVar3[0x2c] = *local_24;\n  piVar3[0x2d] = iVar5;\n  if (pbVar4 == (byte *)0x0) goto LAB_000aebf0;\n  iVar5 = FUN_00058130();\n  if (iVar5 == 0) {\n    iVar5 = local_40 * 0x10;\n    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);\n    iVar6 = FUN_00057f20(0,uVar2);\n    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }\n  }\n  FUN_00024d80();\nLAB_000aebf0:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f4bf0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "bool bVar14;" primitive_type identifier ;) (declaration "byte bVar15;" type_identifier identifier ;) (declaration "undefined8 uVar16;" type_identifier identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "int *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" identifier = number_literal) ;) (expression_statement "uVar16 = FUN_000196fd();" (assignment_expression "uVar16 = FUN_000196fd()" identifier = (call_expression "FUN_000196fd()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar3 = (int *)uVar16;" (assignment_expression "piVar3 = (int *)uVar16" identifier = (cast_expression "(int *)uVar16" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iVar11 = *piVar3;" (assignment_expression "iVar11 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)) {\n    local_40 = FUN_000580a0(&local_24);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pbVar4 = (byte *)FUN_00027240();\n    if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }\n  }\n  else {\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }" if (parenthesized_expression "((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1))" ( (binary_expression "(*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)" (parenthesized_expression "(*(char *)(iVar11 + 0xa1) == '\0')" ( (binary_expression "*(char *)(iVar11 + 0xa1) == '\0'" (pointer_expression "*(char *)(iVar11 + 0xa1)" * (cast_expression "(char *)(iVar11 + 0xa1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xa1)" ( (binary_expression "iVar11 + 0xa1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(*(int *)(iVar11 + 0x9c) != 1)" ( (binary_expression "*(int *)(iVar11 + 0x9c) != 1" (pointer_expression "*(int *)(iVar11 + 0x9c)" * (cast_expression "(int *)(iVar11 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x9c)" ( (binary_expression "iVar11 + 0x9c" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    local_40 = FUN_000580a0(&local_24);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pbVar4 = (byte *)FUN_00027240();\n    if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }\n  }" { (expression_statement "local_40 = FUN_000580a0(&local_24);" (assignment_expression "local_40 = FUN_000580a0(&local_24)" identifier = (call_expression "FUN_000580a0(&local_24)" identifier (argument_list "(&local_24)" ( (pointer_expression "&local_24" & identifier) )))) ;) (if_statement "if ((int)local_40 < 0) goto LAB_000aebf0;" if (parenthesized_expression "((int)local_40 < 0)" ( (binary_expression "(int)local_40 < 0" (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_000aebf0;" goto statement_identifier ;)) (if_statement "if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }" { (if_statement "if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }" if (parenthesized_expression "((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1))" ( (binary_expression "(*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)" (parenthesized_expression "(*(int *)(extraout_ECX + 4) != 0)" ( (binary_expression "*(int *)(extraout_ECX + 4) != 0" (pointer_expression "*(int *)(extraout_ECX + 4)" * (cast_expression "(int *)(extraout_ECX + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 4)" ( (binary_expression "extraout_ECX + 4" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(local_40 != 1)" ( (binary_expression "local_40 != 1" identifier != number_literal) ))) )) (compound_statement "{\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }" { (expression_statement "FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);" (call_expression "FUN_000578c0(piVar3,unaff_EDI + 0x55bc5)" identifier (argument_list "(piVar3,unaff_EDI + 0x55bc5)" ( identifier , (binary_expression "unaff_EDI + 0x55bc5" identifier + number_literal) ))) ;) (goto_statement "goto LAB_000aebf0;" goto statement_identifier ;) })) (expression_statement "local_40 = 1;" (assignment_expression "local_40 = 1" identifier = number_literal) ;) })) (expression_statement "pbVar4 = (byte *)FUN_00027240();" (assignment_expression "pbVar4 = (byte *)FUN_00027240()" identifier = (cast_expression "(byte *)FUN_00027240()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00027240()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }" if (parenthesized_expression "(1 < *(byte *)((int)piVar3 + 0xc6))" ( (binary_expression "1 < *(byte *)((int)piVar3 + 0xc6)" number_literal < (pointer_expression "*(byte *)((int)piVar3 + 0xc6)" * (cast_expression "(byte *)((int)piVar3 + 0xc6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + 0xc6)" ( (binary_expression "(int)piVar3 + 0xc6" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n      FUN_0002def0(local_24);\n    }" { (expression_statement "FUN_0002def0(local_24);" (call_expression "FUN_0002def0(local_24)" identifier (argument_list "(local_24)" ( identifier ))) ;) })) }) (else_clause "else {\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }" else (compound_statement "{\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }" { (expression_statement "local_40 = (uint)*(byte *)(iVar11 + 0xa0);" (assignment_expression "local_40 = (uint)*(byte *)(iVar11 + 0xa0)" identifier = (binary_expression "(uint)*(byte *)(iVar11 + 0xa0)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar11 + 0xa0)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xa0)" ( (binary_expression "iVar11 + 0xa0" identifier + number_literal) ))))) ;) (expression_statement "pbVar4 = (byte *)FUN_00027060();" (assignment_expression "pbVar4 = (byte *)FUN_00027060()" identifier = (cast_expression "(byte *)FUN_00027060()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00027060()" identifier (argument_list "()" ( ))))) ;) (expression_statement "local_24 = (int *)((ulonglong)uVar16 >> 0x20);" (assignment_expression "local_24 = (int *)((ulonglong)uVar16 >> 0x20)" identifier = (cast_expression "(int *)((ulonglong)uVar16 >> 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar16 >> 0x20)" ( (binary_expression "(ulonglong)uVar16 >> 0x20" (cast_expression "(ulonglong)uVar16" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) }))) (expression_statement "iVar5 = local_24[1];" (assignment_expression "iVar5 = local_24[1]" identifier = (subscript_expression "local_24[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[0x2c] = *local_24;" (assignment_expression "piVar3[0x2c] = *local_24" (subscript_expression "piVar3[0x2c]" identifier [ number_literal ]) = (pointer_expression "*local_24" * identifier)) ;) (expression_statement "piVar3[0x2d] = iVar5;" (assignment_expression "piVar3[0x2d] = iVar5" (subscript_expression "piVar3[0x2d]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (pbVar4 == (byte *)0x0) goto LAB_000aebf0;" if (parenthesized_expression "(pbVar4 == (byte *)0x0)" ( (binary_expression "pbVar4 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000aebf0;" goto statement_identifier ;)) (expression_statement "iVar5 = FUN_00058130();" (assignment_expression "iVar5 = FUN_00058130()" identifier = (call_expression "FUN_00058130()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == 0) {\n    iVar5 = local_40 * 0x10;\n    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);\n    iVar6 = FUN_00057f20(0,uVar2);\n    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = local_40 * 0x10;\n    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);\n    iVar6 = FUN_00057f20(0,uVar2);\n    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }\n  }" { (expression_statement "iVar5 = local_40 * 0x10;" (assignment_expression "iVar5 = local_40 * 0x10" identifier = (binary_expression "local_40 * 0x10" identifier * number_literal)) ;) (expression_statement "uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5)" * (cast_expression "(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar11 + 0x10) + iVar5)" ( (binary_expression "*(int *)(iVar11 + 0x10) + iVar5" (pointer_expression "*(int *)(iVar11 + 0x10)" * (cast_expression "(int *)(iVar11 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x10)" ( (binary_expression "iVar11 + 0x10" identifier + number_literal) )))) + identifier) ))))) ;) (expression_statement "iVar6 = FUN_00057f20(0,uVar2);" (assignment_expression "iVar6 = FUN_00057f20(0,uVar2)" identifier = (call_expression "FUN_00057f20(0,uVar2)" identifier (argument_list "(0,uVar2)" ( number_literal , identifier )))) ;) (if_statement "if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }" if (parenthesized_expression "((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0))))" ( (binary_expression "(iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) && (parenthesized_expression "((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))" ( (parenthesized_expression "(param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0))" ( (binary_expression "param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)" (binary_expression "param_3 != 0" identifier != number_literal) || (parenthesized_expression "(iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)" ( (comma_expression "iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0" (assignment_expression "iVar6 = FUN_00057f20(0,uVar2)" identifier = (call_expression "FUN_00057f20(0,uVar2)" identifier (argument_list "(0,uVar2)" ( number_literal , identifier )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }" { (if_statement "if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }" if (parenthesized_expression "(*(char *)((int)piVar3 + 0xc6) == '\0')" ( (binary_expression "*(char *)((int)piVar3 + 0xc6) == '\0'" (pointer_expression "*(char *)((int)piVar3 + 0xc6)" * (cast_expression "(char *)((int)piVar3 + 0xc6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + 0xc6)" ( (binary_expression "(int)piVar3 + 0xc6" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }" { (expression_statement "iVar6 = FUN_000ae7c0();" (assignment_expression "iVar6 = FUN_000ae7c0()" identifier = (call_expression "FUN_000ae7c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }" { (expression_statement "iVar6 = FUN_00027be0();" (assignment_expression "iVar6 = FUN_00027be0()" identifier = (call_expression "FUN_00027be0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }" { (expression_statement "iVar6 = FUN_0001c2c0();" (assignment_expression "iVar6 = FUN_0001c2c0()" identifier = (call_expression "FUN_0001c2c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == 0) goto LAB_000ae948;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000ae948;" goto statement_identifier ;)) (expression_statement "FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);" (call_expression "FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4)" identifier (argument_list "(piVar3,unaff_EDI + 0x55bf1,pbVar4)" ( identifier , (binary_expression "unaff_EDI + 0x55bf1" identifier + number_literal) , identifier ))) ;) }) (else_clause "else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }" else (if_statement "if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }" { (expression_statement "FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);" (call_expression "FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24)" identifier (argument_list "(piVar3,unaff_EDI + 0x491e4,local_24)" ( identifier , (binary_expression "unaff_EDI + 0x491e4" identifier + number_literal) , identifier ))) ;) }) (else_clause "else {\n            FUN_00087bd0();\n          }" else (compound_statement "{\n            FUN_00087bd0();\n          }" { (expression_statement "FUN_00087bd0();" (call_expression "FUN_00087bd0()" identifier (argument_list "()" ( ))) ;) }))))) })) }) (else_clause "else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }" else (compound_statement "{\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }" { (labeled_statement "LAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();" statement_identifier : (expression_statement "puVar7 = (undefined4 *)FUN_00026c00();" (assignment_expression "puVar7 = (undefined4 *)FUN_00026c00()" identifier = (cast_expression "(undefined4 *)FUN_00026c00()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00026c00()" identifier (argument_list "()" ( ))))) ;)) (if_statement "if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }" if (parenthesized_expression "(puVar7 != (undefined4 *)0x0)" ( (binary_expression "puVar7 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }" { (expression_statement "*puVar7 = pbVar4;" (assignment_expression "*puVar7 = pbVar4" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "*(undefined2 *)(puVar7 + 10) = 0xffff;" (assignment_expression "*(undefined2 *)(puVar7 + 10) = 0xffff" (pointer_expression "*(undefined2 *)(puVar7 + 10)" * (cast_expression "(undefined2 *)(puVar7 + 10)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 10)" ( (binary_expression "puVar7 + 10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5)" * (cast_expression "(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar11 + 0x10) + 0xc + iVar5)" ( (binary_expression "*(int *)(iVar11 + 0x10) + 0xc + iVar5" (binary_expression "*(int *)(iVar11 + 0x10) + 0xc" (pointer_expression "*(int *)(iVar11 + 0x10)" * (cast_expression "(int *)(iVar11 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x10)" ( (binary_expression "iVar11 + 0x10" identifier + number_literal) )))) + number_literal) + identifier) ))))) ;) (expression_statement "puVar7[8] = 1;" (assignment_expression "puVar7[8] = 1" (subscript_expression "puVar7[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar7[0x12] = uVar2;" (assignment_expression "puVar7[0x12] = uVar2" (subscript_expression "puVar7[0x12]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined2 *)(puVar7 + 0xb) = 200;" (assignment_expression "*(undefined2 *)(puVar7 + 0xb) = 200" (pointer_expression "*(undefined2 *)(puVar7 + 0xb)" * (cast_expression "(undefined2 *)(puVar7 + 0xb)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb)" ( (binary_expression "puVar7 + 0xb" identifier + number_literal) )))) = number_literal) ;) (expression_statement "bVar13 = false;" (assignment_expression "bVar13 = false" identifier = false) ;) (expression_statement "bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';" (assignment_expression "bVar14 = *(char *)((int)piVar3 + 0x12) == '\0'" identifier = (binary_expression "*(char *)((int)piVar3 + 0x12) == '\0'" (pointer_expression "*(char *)((int)piVar3 + 0x12)" * (cast_expression "(char *)((int)piVar3 + 0x12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + 0x12)" ( (binary_expression "(int)piVar3 + 0x12" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence '))) ;) (expression_statement "piVar3[0x38] = (int)puVar7;" (assignment_expression "piVar3[0x38] = (int)puVar7" (subscript_expression "piVar3[0x38]" identifier [ number_literal ]) = (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }" { (expression_statement "iVar6 = 0x10;" (assignment_expression "iVar6 = 0x10" identifier = number_literal) ;) (expression_statement "pbVar12 = (byte *)(unaff_EDI + 0x491fc);" (assignment_expression "pbVar12 = (byte *)(unaff_EDI + 0x491fc)" identifier = (cast_expression "(byte *)(unaff_EDI + 0x491fc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x491fc)" ( (binary_expression "unaff_EDI + 0x491fc" identifier + number_literal) )))) ;) (do_statement "do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);" do (compound_statement "{\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar4 < *pbVar12;" (assignment_expression "bVar13 = *pbVar4 < *pbVar12" identifier = (binary_expression "*pbVar4 < *pbVar12" (pointer_expression "*pbVar4" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar4 == *pbVar12;" (assignment_expression "bVar14 = *pbVar4 == *pbVar12" identifier = (binary_expression "*pbVar4 == *pbVar12" (pointer_expression "*pbVar4" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar4 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar4 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }" if (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) (compound_statement "{\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }" { (expression_statement "*(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;" (assignment_expression "*(undefined4 **)(puVar7[0x12] + 0x48) = puVar7" (pointer_expression "*(undefined4 **)(puVar7[0x12] + 0x48)" * (cast_expression "(undefined4 **)(puVar7[0x12] + 0x48)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7[0x12] + 0x48)" ( (binary_expression "puVar7[0x12] + 0x48" (subscript_expression "puVar7[0x12]" identifier [ number_literal ]) + number_literal) )))) = identifier) ;) })) })) (if_statement "if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }" if (parenthesized_expression "((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0))))" ( (binary_expression "(*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))" (parenthesized_expression "(*(char *)(iVar11 + 0xa1) == '\0')" ( (binary_expression "*(char *)(iVar11 + 0xa1) == '\0'" (pointer_expression "*(char *)(iVar11 + 0xa1)" * (cast_expression "(char *)(iVar11 + 0xa1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xa1)" ( (binary_expression "iVar11 + 0xa1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))" ( (parenthesized_expression "(piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0))" ( (comma_expression "piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)" (assignment_expression "piVar10 = (int *)piVar3[2]" identifier = (cast_expression "(int *)piVar3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ]))) , (binary_expression "piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)" (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)" ( (comma_expression "piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0" (assignment_expression "piVar10 = (int *)FUN_000480a0()" identifier = (cast_expression "(int *)FUN_000480a0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000480a0()" identifier (argument_list "()" ( ))))) , (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )))) )) ))) )) (compound_statement "{\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }" { (expression_statement "FUN_00087c10();" (call_expression "FUN_00087c10()" identifier (argument_list "()" ( ))) ;) (if_statement "if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n              FUN_00047f90(0,0);\n            }" { (expression_statement "FUN_00047f90(0,0);" (call_expression "FUN_00047f90(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) })) (expression_statement "iVar8 = piVar3[0xb];" (assignment_expression "iVar8 = piVar3[0xb]" identifier = (subscript_expression "piVar3[0xb]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = iVar8 + 1;" (assignment_expression "iVar6 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "piVar3[0x16] = iVar6;" (assignment_expression "piVar3[0x16] = iVar6" (subscript_expression "piVar3[0x16]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar1 = iVar8 + 2;" (assignment_expression "iVar1 = iVar8 + 2" identifier = (binary_expression "iVar8 + 2" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar8 + 3;" (assignment_expression "iVar8 = iVar8 + 3" identifier = (binary_expression "iVar8 + 3" identifier + number_literal)) ;) (expression_statement "piVar3[0x17] = iVar1;" (assignment_expression "piVar3[0x17] = iVar1" (subscript_expression "piVar3[0x17]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[0xb] = iVar8;" (assignment_expression "piVar3[0xb] = iVar8" (subscript_expression "piVar3[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_00047f90(iVar8,2);" (call_expression "FUN_00047f90(iVar8,2)" identifier (argument_list "(iVar8,2)" ( identifier , number_literal ))) ;) (expression_statement "uVar9 = 1 << ((byte)local_40 & 0x1f);" (assignment_expression "uVar9 = 1 << ((byte)local_40 & 0x1f)" identifier = (binary_expression "1 << ((byte)local_40 & 0x1f)" number_literal << (parenthesized_expression "((byte)local_40 & 0x1f)" ( (binary_expression "(byte)local_40 & 0x1f" (cast_expression "(byte)local_40" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "piVar10[0x24] = piVar10[0x24] | uVar9;" (assignment_expression "piVar10[0x24] = piVar10[0x24] | uVar9" (subscript_expression "piVar10[0x24]" identifier [ number_literal ]) = (binary_expression "piVar10[0x24] | uVar9" (subscript_expression "piVar10[0x24]" identifier [ number_literal ]) | identifier)) ;) (if_statement "if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }" if (parenthesized_expression "((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0'))" ( (binary_expression "(local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')" (parenthesized_expression "(local_40 != 1)" ( (binary_expression "local_40 != 1" identifier != number_literal) )) && (parenthesized_expression "(*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')" ( (binary_expression "*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9)" * (cast_expression "(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9)" ( (binary_expression "*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9" (pointer_expression "*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5)" * (cast_expression "(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar10 + 0x10) + 4 + iVar5)" ( (binary_expression "*(int *)(*piVar10 + 0x10) + 4 + iVar5" (binary_expression "*(int *)(*piVar10 + 0x10) + 4" (pointer_expression "*(int *)(*piVar10 + 0x10)" * (cast_expression "(int *)(*piVar10 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar10 + 0x10)" ( (binary_expression "*piVar10 + 0x10" (pointer_expression "*piVar10" * identifier) + number_literal) )))) + number_literal) + identifier) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }" { (expression_statement "piVar10[0x25] = piVar10[0x25] | uVar9;" (assignment_expression "piVar10[0x25] = piVar10[0x25] | uVar9" (subscript_expression "piVar10[0x25]" identifier [ number_literal ]) = (binary_expression "piVar10[0x25] | uVar9" (subscript_expression "piVar10[0x25]" identifier [ number_literal ]) | identifier)) ;) })) (expression_statement "iVar5 = FUN_00047f90(0,0);" (assignment_expression "iVar5 = FUN_00047f90(0,0)" identifier = (call_expression "FUN_00047f90(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal )))) ;) (expression_statement "FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);" (call_expression "FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1)" identifier (argument_list "(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1)" ( number_literal , (binary_expression "(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1" (parenthesized_expression "(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U)" ( (binary_expression "-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U" (unary_expression "-((*(uint *)(iVar11 + 0x1c) & 2) == 0)" - (parenthesized_expression "((*(uint *)(iVar11 + 0x1c) & 2) == 0)" ( (binary_expression "(*(uint *)(iVar11 + 0x1c) & 2) == 0" (parenthesized_expression "(*(uint *)(iVar11 + 0x1c) & 2)" ( (binary_expression "*(uint *)(iVar11 + 0x1c) & 2" (pointer_expression "*(uint *)(iVar11 + 0x1c)" * (cast_expression "(uint *)(iVar11 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x1c)" ( (binary_expression "iVar11 + 0x1c" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) & number_literal) )) + number_literal) ))) ;) (expression_statement "FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));" (call_expression "FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a))" identifier (argument_list "(5,*(undefined1 *)(iVar11 + 0x4a))" ( number_literal , (pointer_expression "*(undefined1 *)(iVar11 + 0x4a)" * (cast_expression "(undefined1 *)(iVar11 + 0x4a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x4a)" ( (binary_expression "iVar11 + 0x4a" identifier + number_literal) )))) ))) ;) (if_statement "if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n              iVar5 = piVar10[0x1a] + -1;\n            }" { (expression_statement "iVar5 = piVar10[0x1a] + -1;" (assignment_expression "iVar5 = piVar10[0x1a] + -1" identifier = (binary_expression "piVar10[0x1a] + -1" (subscript_expression "piVar10[0x1a]" identifier [ number_literal ]) + number_literal)) ;) })) (expression_statement "iVar11 = unaff_EDI + 0x9bd45;" (assignment_expression "iVar11 = unaff_EDI + 0x9bd45" identifier = (binary_expression "unaff_EDI + 0x9bd45" identifier + number_literal)) ;) (if_statement "if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }" if (parenthesized_expression "(*(char *)(*piVar10 + 0x4d) == '\0')" ( (binary_expression "*(char *)(*piVar10 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar10 + 0x4d)" * (cast_expression "(char *)(*piVar10 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar10 + 0x4d)" ( (binary_expression "*piVar10 + 0x4d" (pointer_expression "*piVar10" * identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }" { (expression_statement "iVar11 = piVar10[0x19] + iVar5 * 0x14;" (assignment_expression "iVar11 = piVar10[0x19] + iVar5 * 0x14" identifier = (binary_expression "piVar10[0x19] + iVar5 * 0x14" (subscript_expression "piVar10[0x19]" identifier [ number_literal ]) + (binary_expression "iVar5 * 0x14" identifier * number_literal))) ;) })) (expression_statement "*(int *)(iVar11 + 8) = piVar10[0x1a];" (assignment_expression "*(int *)(iVar11 + 8) = piVar10[0x1a]" (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) = (subscript_expression "piVar10[0x1a]" identifier [ number_literal ])) ;) (if_statement "if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }" if (parenthesized_expression "(param_3 == 0 && param_2 == 0)" ( (binary_expression "param_3 == 0 && param_2 == 0" (binary_expression "param_3 == 0" identifier == number_literal) && (binary_expression "param_2 == 0" identifier == number_literal)) )) (compound_statement "{\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }" { (expression_statement "iVar11 = FUN_00047f90(iVar1,1);" (assignment_expression "iVar11 = FUN_00047f90(iVar1,1)" identifier = (call_expression "FUN_00047f90(iVar1,1)" identifier (argument_list "(iVar1,1)" ( identifier , number_literal )))) ;) (expression_statement "piVar3[0x1f] = iVar11;" (assignment_expression "piVar3[0x1f] = iVar11" (subscript_expression "piVar3[0x1f]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n              FUN_00047f90(iVar1,0);\n            }" else (compound_statement "{\n              FUN_00047f90(iVar1,0);\n            }" { (expression_statement "FUN_00047f90(iVar1,0);" (call_expression "FUN_00047f90(iVar1,0)" identifier (argument_list "(iVar1,0)" ( identifier , number_literal ))) ;) }))) (if_statement "if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }" if (parenthesized_expression "(piVar3[2] == 0)" ( (binary_expression "piVar3[2] == 0" (subscript_expression "piVar3[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n              FUN_000480a0();\n            }" { (expression_statement "FUN_000480a0();" (call_expression "FUN_000480a0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00047c10(1,unaff_EDI + 0x46e08);" (call_expression "FUN_00047c10(1,unaff_EDI + 0x46e08)" identifier (argument_list "(1,unaff_EDI + 0x46e08)" ( number_literal , (binary_expression "unaff_EDI + 0x46e08" identifier + number_literal) ))) ;) (expression_statement "FUN_00048130(1,local_40,5);" (call_expression "FUN_00048130(1,local_40,5)" identifier (argument_list "(1,local_40,5)" ( number_literal , identifier , number_literal ))) ;) (if_statement "if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }" if (parenthesized_expression "(piVar3[10] == 0)" ( (binary_expression "piVar3[10] == 0" (subscript_expression "piVar3[10]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n              piVar3[10] = 1;\n            }" { (expression_statement "piVar3[10] = 1;" (assignment_expression "piVar3[10] = 1" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "FUN_00047f90(iVar6,0);" (call_expression "FUN_00047f90(iVar6,0)" identifier (argument_list "(iVar6,0)" ( identifier , number_literal ))) ;) (expression_statement "FUN_00047f90(iVar8,0);" (call_expression "FUN_00047f90(iVar8,0)" identifier (argument_list "(iVar8,0)" ( identifier , number_literal ))) ;) (expression_statement "FUN_000358a0(0xffffffff);" (call_expression "FUN_000358a0(0xffffffff)" identifier (argument_list "(0xffffffff)" ( number_literal ))) ;) (expression_statement "FUN_00047f90(iVar8,iVar6);" (call_expression "FUN_00047f90(iVar8,iVar6)" identifier (argument_list "(iVar8,iVar6)" ( identifier , identifier ))) ;) (if_statement "if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }" if (parenthesized_expression "(0 < piVar10[0x1a])" ( (binary_expression "0 < piVar10[0x1a]" number_literal < (subscript_expression "piVar10[0x1a]" identifier [ number_literal ])) )) (compound_statement "{\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }" { (expression_statement "*(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;" (assignment_expression "*(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8" (pointer_expression "*(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12)" * (cast_expression "(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12)" ( (binary_expression "piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12" (binary_expression "piVar10[0x19] + piVar10[0x1a] * 0x14" (subscript_expression "piVar10[0x19]" identifier [ number_literal ]) + (binary_expression "piVar10[0x1a] * 0x14" (subscript_expression "piVar10[0x1a]" identifier [ number_literal ]) * number_literal)) + number_literal) )))) = number_literal) ;) })) (expression_statement "FUN_00047f90(0,0);" (call_expression "FUN_00047f90(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) })) (goto_statement "goto LAB_000aebf0;" goto statement_identifier ;) })) (expression_statement "piVar3[3] = 7;" (assignment_expression "piVar3[3] = 7" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[9] = piVar3[9] + 1;" (assignment_expression "piVar3[9] = piVar3[9] + 1" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = (binary_expression "piVar3[9] + 1" (subscript_expression "piVar3[9]" identifier [ number_literal ]) + number_literal)) ;) }))) })) })) (expression_statement "FUN_00024d80();" (call_expression "FUN_00024d80()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_000aebf0:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) comment (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void sqlite3StartTable(Parse *pParse,Token *pName1,Token *pName2,int isTemp,int isView,int isVirtual\n                      ,int noErr)\n\n{\n  sqlite3 *db;\n  char *code;\n  Schema *pSVar1;\n  Parse *pParse_00;\n  Token *pToken;\n  int iVar2;\n  Table *pTVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  Vdbe *p;\n  int iVar7;\n  Vdbe *p_00;\n  Index *pIVar8;\n  Token *pName2_00;\n  Token *pName1_00;\n  Op *pOVar9;\n  int unaff_EDI;\n  byte *pbVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  bool bVar12;\n  byte bVar13;\n  undefined8 uVar14;\n  char *in_stack_ffffffac;\n  char *pcVar15;\n  char *in_stack_ffffffb4;\n  undefined4 in_stack_ffffffb8;\n  uint local_40;\n  Token *pName;\n  int local_20;\n  \n  bVar13 = 0;\n  uVar14 = __x86_get_pc_thunk_di();\n  pName1_00 = (Token *)((ulonglong)uVar14 >> 0x20);\n  pParse_00 = (Parse *)uVar14;\n  db = pParse_00->db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (((db->init).busy == '\0') || ((db->init).newTnum != 1)) {\n    local_40 = sqlite3TwoPartName(pParse_00,pName1_00,pName2_00,&pName);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (pParse != (Parse *)0x0) {\n      if ((pName2_00->n != 0) && (local_40 != 1)) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bc5));\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pToken = (Token *)sqlite3NameFromToken(db,pName);\n    if (1 < pParse_00->eParseMode) {\n      sqlite3RenameTokenMap((Parse *)pParse_00->db,&pParse_00->pRename,pToken,(Parse *)pName);\n    }\n  }\n  else {\n    local_40 = (uint)(db->init).iDb;\n    pcVar15 = &UNK_00047dd8 + unaff_EDI;\n    if (local_40 != 1) {\n      pcVar15 = (char *)(unaff_EDI + 0x46e08);\n    }\n    pToken = (Token *)sqlite3DbStrDup(db,pcVar15);\n    pName = pName1_00;\n  }\n  uVar5 = pName->n;\n  (pParse_00->sNameToken).z = pName->z;\n  (pParse_00->sNameToken).n = uVar5;\n  if (pToken == (Token *)0x0) goto LAB_000aebf0;\n  pcVar15 = (char *)0xae8d2;\n  iVar2 = sqlite3CheckObjectName(pParse_00,(char *)pToken);\n  if (iVar2 == 0) {\n    code = db->aDb[local_40].zDbSName;\n    iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4);\n    if ((iVar2 == 0) &&\n       ((pName2 != (Token *)0x0 ||\n        (iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 ), iVar2 == 0)))) {\n      if (pParse_00->eParseMode == '\0') {\n        pcVar15 = db->aDb[local_40].zDbSName;\n        iVar2 = sqlite3ReadSchema(pParse_00);\n        if (iVar2 == 0) {\n          pTVar3 = sqlite3FindTable(db,(char *)pToken,pcVar15);\n          if (pTVar3 == (Table *)0x0) {\n            pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);\n            if (pIVar8 == (Index *)0x0) goto LAB_000ae948;\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);\n          }\n          else if (isTemp == 0) {\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }\n          else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        pTVar3 = (Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4));\n        if (pTVar3 != (Table *)0x0) {\n          pTVar3->zName = (char *)pToken;\n          pTVar3->iPKey = -1;\n          pSVar1 = db->aDb[local_40].pSchema;\n          pTVar3->nTabRef = 1;\n          pTVar3->pSchema = pSVar1;\n          pTVar3->nRowLogEst = 200;\n          bVar11 = false;\n          bVar12 = pParse_00->nested == '\0';\n          pParse_00->pNewTable = pTVar3;\n          if (bVar12) {\n            iVar2 = 0x10;\n            pbVar10 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);\n            if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }\n          }\n          if (((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))) {\n            sqlite3BeginWriteOperation(pParse_00,1,local_40);\n            if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }\n            iVar4 = pParse_00->nMem;\n            iVar2 = iVar4 + 1;\n            pParse_00->regRowid = iVar2;\n            iVar7 = iVar4 + 2;\n            iVar4 = iVar4 + 3;\n            pParse_00->regRoot = iVar7;\n            pParse_00->nMem = iVar4;\n            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);\n            uVar5 = 1 << ((byte)local_40 & 0x1f);\n            p_00->btreeMask = p_00->btreeMask | uVar5;\n            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }\n            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);\n            if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }\n            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);\n            if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }\n            pOVar9->p2 = p_00->nOp;\n            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }\n            p = pParse_00->pVdbe;\n            if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }\n            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));\n            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);\n            if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }\n            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);\n            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);\n            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);\n            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);\n            if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }\n            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        pParse_00->rc = 7;\n        pParse_00->nErr = pParse_00->nErr + 1;\n      }\n    }\n  }\n  sqlite3DbFreeNN(db,pToken);\nLAB_000aebf0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}\n\n" (function_definition "void sqlite3StartTable(Parse *pParse,Token *pName1,Token *pName2,int isTemp,int isView,int isVirtual\n                      ,int noErr)\n\n{\n  sqlite3 *db;\n  char *code;\n  Schema *pSVar1;\n  Parse *pParse_00;\n  Token *pToken;\n  int iVar2;\n  Table *pTVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  Vdbe *p;\n  int iVar7;\n  Vdbe *p_00;\n  Index *pIVar8;\n  Token *pName2_00;\n  Token *pName1_00;\n  Op *pOVar9;\n  int unaff_EDI;\n  byte *pbVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  bool bVar12;\n  byte bVar13;\n  undefined8 uVar14;\n  char *in_stack_ffffffac;\n  char *pcVar15;\n  char *in_stack_ffffffb4;\n  undefined4 in_stack_ffffffb8;\n  uint local_40;\n  Token *pName;\n  int local_20;\n  \n  bVar13 = 0;\n  uVar14 = __x86_get_pc_thunk_di();\n  pName1_00 = (Token *)((ulonglong)uVar14 >> 0x20);\n  pParse_00 = (Parse *)uVar14;\n  db = pParse_00->db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (((db->init).busy == '\0') || ((db->init).newTnum != 1)) {\n    local_40 = sqlite3TwoPartName(pParse_00,pName1_00,pName2_00,&pName);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (pParse != (Parse *)0x0) {\n      if ((pName2_00->n != 0) && (local_40 != 1)) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bc5));\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pToken = (Token *)sqlite3NameFromToken(db,pName);\n    if (1 < pParse_00->eParseMode) {\n      sqlite3RenameTokenMap((Parse *)pParse_00->db,&pParse_00->pRename,pToken,(Parse *)pName);\n    }\n  }\n  else {\n    local_40 = (uint)(db->init).iDb;\n    pcVar15 = &UNK_00047dd8 + unaff_EDI;\n    if (local_40 != 1) {\n      pcVar15 = (char *)(unaff_EDI + 0x46e08);\n    }\n    pToken = (Token *)sqlite3DbStrDup(db,pcVar15);\n    pName = pName1_00;\n  }\n  uVar5 = pName->n;\n  (pParse_00->sNameToken).z = pName->z;\n  (pParse_00->sNameToken).n = uVar5;\n  if (pToken == (Token *)0x0) goto LAB_000aebf0;\n  pcVar15 = (char *)0xae8d2;\n  iVar2 = sqlite3CheckObjectName(pParse_00,(char *)pToken);\n  if (iVar2 == 0) {\n    code = db->aDb[local_40].zDbSName;\n    iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4);\n    if ((iVar2 == 0) &&\n       ((pName2 != (Token *)0x0 ||\n        (iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 ), iVar2 == 0)))) {\n      if (pParse_00->eParseMode == '\0') {\n        pcVar15 = db->aDb[local_40].zDbSName;\n        iVar2 = sqlite3ReadSchema(pParse_00);\n        if (iVar2 == 0) {\n          pTVar3 = sqlite3FindTable(db,(char *)pToken,pcVar15);\n          if (pTVar3 == (Table *)0x0) {\n            pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);\n            if (pIVar8 == (Index *)0x0) goto LAB_000ae948;\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);\n          }\n          else if (isTemp == 0) {\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }\n          else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        pTVar3 = (Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4));\n        if (pTVar3 != (Table *)0x0) {\n          pTVar3->zName = (char *)pToken;\n          pTVar3->iPKey = -1;\n          pSVar1 = db->aDb[local_40].pSchema;\n          pTVar3->nTabRef = 1;\n          pTVar3->pSchema = pSVar1;\n          pTVar3->nRowLogEst = 200;\n          bVar11 = false;\n          bVar12 = pParse_00->nested == '\0';\n          pParse_00->pNewTable = pTVar3;\n          if (bVar12) {\n            iVar2 = 0x10;\n            pbVar10 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);\n            if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }\n          }\n          if (((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))) {\n            sqlite3BeginWriteOperation(pParse_00,1,local_40);\n            if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }\n            iVar4 = pParse_00->nMem;\n            iVar2 = iVar4 + 1;\n            pParse_00->regRowid = iVar2;\n            iVar7 = iVar4 + 2;\n            iVar4 = iVar4 + 3;\n            pParse_00->regRoot = iVar7;\n            pParse_00->nMem = iVar4;\n            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);\n            uVar5 = 1 << ((byte)local_40 & 0x1f);\n            p_00->btreeMask = p_00->btreeMask | uVar5;\n            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }\n            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);\n            if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }\n            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);\n            if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }\n            pOVar9->p2 = p_00->nOp;\n            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }\n            p = pParse_00->pVdbe;\n            if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }\n            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));\n            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);\n            if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }\n            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);\n            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);\n            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);\n            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);\n            if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }\n            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        pParse_00->rc = 7;\n        pParse_00->nErr = pParse_00->nErr + 1;\n      }\n    }\n  }\n  sqlite3DbFreeNN(db,pToken);\nLAB_000aebf0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}" primitive_type (function_declarator "sqlite3StartTable(Parse *pParse,Token *pName1,Token *pName2,int isTemp,int isView,int isVirtual\n                      ,int noErr)" identifier (parameter_list "(Parse *pParse,Token *pName1,Token *pName2,int isTemp,int isView,int isVirtual\n                      ,int noErr)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "Token *pName1" type_identifier (pointer_declarator "*pName1" * identifier)) , (parameter_declaration "Token *pName2" type_identifier (pointer_declarator "*pName2" * identifier)) , (parameter_declaration "int isTemp" primitive_type identifier) , (parameter_declaration "int isView" primitive_type identifier) , (parameter_declaration "int isVirtual" primitive_type identifier) , (parameter_declaration "int noErr" primitive_type identifier) ))) (compound_statement "{\n  sqlite3 *db;\n  char *code;\n  Schema *pSVar1;\n  Parse *pParse_00;\n  Token *pToken;\n  int iVar2;\n  Table *pTVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  Vdbe *p;\n  int iVar7;\n  Vdbe *p_00;\n  Index *pIVar8;\n  Token *pName2_00;\n  Token *pName1_00;\n  Op *pOVar9;\n  int unaff_EDI;\n  byte *pbVar10;\n  int in_GS_OFFSET;\n  bool bVar11;\n  bool bVar12;\n  byte bVar13;\n  undefined8 uVar14;\n  char *in_stack_ffffffac;\n  char *pcVar15;\n  char *in_stack_ffffffb4;\n  undefined4 in_stack_ffffffb8;\n  uint local_40;\n  Token *pName;\n  int local_20;\n  \n  bVar13 = 0;\n  uVar14 = __x86_get_pc_thunk_di();\n  pName1_00 = (Token *)((ulonglong)uVar14 >> 0x20);\n  pParse_00 = (Parse *)uVar14;\n  db = pParse_00->db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (((db->init).busy == '\0') || ((db->init).newTnum != 1)) {\n    local_40 = sqlite3TwoPartName(pParse_00,pName1_00,pName2_00,&pName);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (pParse != (Parse *)0x0) {\n      if ((pName2_00->n != 0) && (local_40 != 1)) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bc5));\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pToken = (Token *)sqlite3NameFromToken(db,pName);\n    if (1 < pParse_00->eParseMode) {\n      sqlite3RenameTokenMap((Parse *)pParse_00->db,&pParse_00->pRename,pToken,(Parse *)pName);\n    }\n  }\n  else {\n    local_40 = (uint)(db->init).iDb;\n    pcVar15 = &UNK_00047dd8 + unaff_EDI;\n    if (local_40 != 1) {\n      pcVar15 = (char *)(unaff_EDI + 0x46e08);\n    }\n    pToken = (Token *)sqlite3DbStrDup(db,pcVar15);\n    pName = pName1_00;\n  }\n  uVar5 = pName->n;\n  (pParse_00->sNameToken).z = pName->z;\n  (pParse_00->sNameToken).n = uVar5;\n  if (pToken == (Token *)0x0) goto LAB_000aebf0;\n  pcVar15 = (char *)0xae8d2;\n  iVar2 = sqlite3CheckObjectName(pParse_00,(char *)pToken);\n  if (iVar2 == 0) {\n    code = db->aDb[local_40].zDbSName;\n    iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4);\n    if ((iVar2 == 0) &&\n       ((pName2 != (Token *)0x0 ||\n        (iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 ), iVar2 == 0)))) {\n      if (pParse_00->eParseMode == '\0') {\n        pcVar15 = db->aDb[local_40].zDbSName;\n        iVar2 = sqlite3ReadSchema(pParse_00);\n        if (iVar2 == 0) {\n          pTVar3 = sqlite3FindTable(db,(char *)pToken,pcVar15);\n          if (pTVar3 == (Table *)0x0) {\n            pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);\n            if (pIVar8 == (Index *)0x0) goto LAB_000ae948;\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);\n          }\n          else if (isTemp == 0) {\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }\n          else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        pTVar3 = (Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4));\n        if (pTVar3 != (Table *)0x0) {\n          pTVar3->zName = (char *)pToken;\n          pTVar3->iPKey = -1;\n          pSVar1 = db->aDb[local_40].pSchema;\n          pTVar3->nTabRef = 1;\n          pTVar3->pSchema = pSVar1;\n          pTVar3->nRowLogEst = 200;\n          bVar11 = false;\n          bVar12 = pParse_00->nested == '\0';\n          pParse_00->pNewTable = pTVar3;\n          if (bVar12) {\n            iVar2 = 0x10;\n            pbVar10 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);\n            if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }\n          }\n          if (((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))) {\n            sqlite3BeginWriteOperation(pParse_00,1,local_40);\n            if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }\n            iVar4 = pParse_00->nMem;\n            iVar2 = iVar4 + 1;\n            pParse_00->regRowid = iVar2;\n            iVar7 = iVar4 + 2;\n            iVar4 = iVar4 + 3;\n            pParse_00->regRoot = iVar7;\n            pParse_00->nMem = iVar4;\n            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);\n            uVar5 = 1 << ((byte)local_40 & 0x1f);\n            p_00->btreeMask = p_00->btreeMask | uVar5;\n            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }\n            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);\n            if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }\n            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);\n            if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }\n            pOVar9->p2 = p_00->nOp;\n            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }\n            p = pParse_00->pVdbe;\n            if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }\n            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));\n            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);\n            if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }\n            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);\n            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);\n            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);\n            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);\n            if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }\n            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        pParse_00->rc = 7;\n        pParse_00->nErr = pParse_00->nErr + 1;\n      }\n    }\n  }\n  sqlite3DbFreeNN(db,pToken);\nLAB_000aebf0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}" { (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (declaration "char *code;" primitive_type (pointer_declarator "*code" * identifier) ;) (declaration "Schema *pSVar1;" type_identifier (pointer_declarator "*pSVar1" * identifier) ;) (declaration "Parse *pParse_00;" type_identifier (pointer_declarator "*pParse_00" * identifier) ;) (declaration "Token *pToken;" type_identifier (pointer_declarator "*pToken" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "Table *pTVar3;" type_identifier (pointer_declarator "*pTVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "Vdbe *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "Vdbe *p_00;" type_identifier (pointer_declarator "*p_00" * identifier) ;) (declaration "Index *pIVar8;" type_identifier (pointer_declarator "*pIVar8" * identifier) ;) (declaration "Token *pName2_00;" type_identifier (pointer_declarator "*pName2_00" * identifier) ;) (declaration "Token *pName1_00;" type_identifier (pointer_declarator "*pName1_00" * identifier) ;) (declaration "Op *pOVar9;" type_identifier (pointer_declarator "*pOVar9" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "byte bVar13;" type_identifier identifier ;) (declaration "undefined8 uVar14;" type_identifier identifier ;) (declaration "char *in_stack_ffffffac;" primitive_type (pointer_declarator "*in_stack_ffffffac" * identifier) ;) (declaration "char *pcVar15;" primitive_type (pointer_declarator "*pcVar15" * identifier) ;) (declaration "char *in_stack_ffffffb4;" primitive_type (pointer_declarator "*in_stack_ffffffb4" * identifier) ;) (declaration "undefined4 in_stack_ffffffb8;" type_identifier identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "Token *pName;" type_identifier (pointer_declarator "*pName" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "bVar13 = 0;" (assignment_expression "bVar13 = 0" identifier = number_literal) ;) (expression_statement "uVar14 = __x86_get_pc_thunk_di();" (assignment_expression "uVar14 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "pName1_00 = (Token *)((ulonglong)uVar14 >> 0x20);" (assignment_expression "pName1_00 = (Token *)((ulonglong)uVar14 >> 0x20)" identifier = (cast_expression "(Token *)((ulonglong)uVar14 >> 0x20)" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar14 >> 0x20)" ( (binary_expression "(ulonglong)uVar14 >> 0x20" (cast_expression "(ulonglong)uVar14" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "pParse_00 = (Parse *)uVar14;" (assignment_expression "pParse_00 = (Parse *)uVar14" identifier = (cast_expression "(Parse *)uVar14" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "db = pParse_00->db;" (assignment_expression "db = pParse_00->db" identifier = (field_expression "pParse_00->db" identifier -> field_identifier)) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (((db->init).busy == '\0') || ((db->init).newTnum != 1)) {\n    local_40 = sqlite3TwoPartName(pParse_00,pName1_00,pName2_00,&pName);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (pParse != (Parse *)0x0) {\n      if ((pName2_00->n != 0) && (local_40 != 1)) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bc5));\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pToken = (Token *)sqlite3NameFromToken(db,pName);\n    if (1 < pParse_00->eParseMode) {\n      sqlite3RenameTokenMap((Parse *)pParse_00->db,&pParse_00->pRename,pToken,(Parse *)pName);\n    }\n  }\n  else {\n    local_40 = (uint)(db->init).iDb;\n    pcVar15 = &UNK_00047dd8 + unaff_EDI;\n    if (local_40 != 1) {\n      pcVar15 = (char *)(unaff_EDI + 0x46e08);\n    }\n    pToken = (Token *)sqlite3DbStrDup(db,pcVar15);\n    pName = pName1_00;\n  }" if (parenthesized_expression "(((db->init).busy == '\0') || ((db->init).newTnum != 1))" ( (binary_expression "((db->init).busy == '\0') || ((db->init).newTnum != 1)" (parenthesized_expression "((db->init).busy == '\0')" ( (binary_expression "(db->init).busy == '\0'" (field_expression "(db->init).busy" (parenthesized_expression "(db->init)" ( (field_expression "db->init" identifier -> field_identifier) )) . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "((db->init).newTnum != 1)" ( (binary_expression "(db->init).newTnum != 1" (field_expression "(db->init).newTnum" (parenthesized_expression "(db->init)" ( (field_expression "db->init" identifier -> field_identifier) )) . field_identifier) != number_literal) ))) )) (compound_statement "{\n    local_40 = sqlite3TwoPartName(pParse_00,pName1_00,pName2_00,&pName);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (pParse != (Parse *)0x0) {\n      if ((pName2_00->n != 0) && (local_40 != 1)) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bc5));\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pToken = (Token *)sqlite3NameFromToken(db,pName);\n    if (1 < pParse_00->eParseMode) {\n      sqlite3RenameTokenMap((Parse *)pParse_00->db,&pParse_00->pRename,pToken,(Parse *)pName);\n    }\n  }" { (expression_statement "local_40 = sqlite3TwoPartName(pParse_00,pName1_00,pName2_00,&pName);" (assignment_expression "local_40 = sqlite3TwoPartName(pParse_00,pName1_00,pName2_00,&pName)" identifier = (call_expression "sqlite3TwoPartName(pParse_00,pName1_00,pName2_00,&pName)" identifier (argument_list "(pParse_00,pName1_00,pName2_00,&pName)" ( identifier , identifier , identifier , (pointer_expression "&pName" & identifier) )))) ;) (if_statement "if ((int)local_40 < 0) goto LAB_000aebf0;" if (parenthesized_expression "((int)local_40 < 0)" ( (binary_expression "(int)local_40 < 0" (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_000aebf0;" goto statement_identifier ;)) (if_statement "if (pParse != (Parse *)0x0) {\n      if ((pName2_00->n != 0) && (local_40 != 1)) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bc5));\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }" if (parenthesized_expression "(pParse != (Parse *)0x0)" ( (binary_expression "pParse != (Parse *)0x0" identifier != (cast_expression "(Parse *)0x0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if ((pName2_00->n != 0) && (local_40 != 1)) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bc5));\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }" { (if_statement "if ((pName2_00->n != 0) && (local_40 != 1)) {\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bc5));\n        goto LAB_000aebf0;\n      }" if (parenthesized_expression "((pName2_00->n != 0) && (local_40 != 1))" ( (binary_expression "(pName2_00->n != 0) && (local_40 != 1)" (parenthesized_expression "(pName2_00->n != 0)" ( (binary_expression "pName2_00->n != 0" (field_expression "pName2_00->n" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "(local_40 != 1)" ( (binary_expression "local_40 != 1" identifier != number_literal) ))) )) (compound_statement "{\n        sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bc5));\n        goto LAB_000aebf0;\n      }" { (expression_statement "sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bc5));" (call_expression "sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bc5))" identifier (argument_list "(pParse_00,(char *)(unaff_EDI + 0x55bc5))" ( identifier , (cast_expression "(char *)(unaff_EDI + 0x55bc5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x55bc5)" ( (binary_expression "unaff_EDI + 0x55bc5" identifier + number_literal) ))) ))) ;) (goto_statement "goto LAB_000aebf0;" goto statement_identifier ;) })) (expression_statement "local_40 = 1;" (assignment_expression "local_40 = 1" identifier = number_literal) ;) })) (expression_statement "pToken = (Token *)sqlite3NameFromToken(db,pName);" (assignment_expression "pToken = (Token *)sqlite3NameFromToken(db,pName)" identifier = (cast_expression "(Token *)sqlite3NameFromToken(db,pName)" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3NameFromToken(db,pName)" identifier (argument_list "(db,pName)" ( identifier , identifier ))))) ;) (if_statement "if (1 < pParse_00->eParseMode) {\n      sqlite3RenameTokenMap((Parse *)pParse_00->db,&pParse_00->pRename,pToken,(Parse *)pName);\n    }" if (parenthesized_expression "(1 < pParse_00->eParseMode)" ( (binary_expression "1 < pParse_00->eParseMode" number_literal < (field_expression "pParse_00->eParseMode" identifier -> field_identifier)) )) (compound_statement "{\n      sqlite3RenameTokenMap((Parse *)pParse_00->db,&pParse_00->pRename,pToken,(Parse *)pName);\n    }" { (expression_statement "sqlite3RenameTokenMap((Parse *)pParse_00->db,&pParse_00->pRename,pToken,(Parse *)pName);" (call_expression "sqlite3RenameTokenMap((Parse *)pParse_00->db,&pParse_00->pRename,pToken,(Parse *)pName)" identifier (argument_list "((Parse *)pParse_00->db,&pParse_00->pRename,pToken,(Parse *)pName)" ( (cast_expression "(Parse *)pParse_00->db" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pParse_00->db" identifier -> field_identifier)) , (pointer_expression "&pParse_00->pRename" & (field_expression "pParse_00->pRename" identifier -> field_identifier)) , identifier , (cast_expression "(Parse *)pName" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) })) }) (else_clause "else {\n    local_40 = (uint)(db->init).iDb;\n    pcVar15 = &UNK_00047dd8 + unaff_EDI;\n    if (local_40 != 1) {\n      pcVar15 = (char *)(unaff_EDI + 0x46e08);\n    }\n    pToken = (Token *)sqlite3DbStrDup(db,pcVar15);\n    pName = pName1_00;\n  }" else (compound_statement "{\n    local_40 = (uint)(db->init).iDb;\n    pcVar15 = &UNK_00047dd8 + unaff_EDI;\n    if (local_40 != 1) {\n      pcVar15 = (char *)(unaff_EDI + 0x46e08);\n    }\n    pToken = (Token *)sqlite3DbStrDup(db,pcVar15);\n    pName = pName1_00;\n  }" { (expression_statement "local_40 = (uint)(db->init).iDb;" (assignment_expression "local_40 = (uint)(db->init).iDb" identifier = (field_expression "(uint)(db->init).iDb" (call_expression "(uint)(db->init)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(db->init)" ( (field_expression "db->init" identifier -> field_identifier) ))) . field_identifier)) ;) (expression_statement "pcVar15 = &UNK_00047dd8 + unaff_EDI;" (assignment_expression "pcVar15 = &UNK_00047dd8 + unaff_EDI" identifier = (binary_expression "&UNK_00047dd8 + unaff_EDI" (pointer_expression "&UNK_00047dd8" & identifier) + identifier)) ;) (if_statement "if (local_40 != 1) {\n      pcVar15 = (char *)(unaff_EDI + 0x46e08);\n    }" if (parenthesized_expression "(local_40 != 1)" ( (binary_expression "local_40 != 1" identifier != number_literal) )) (compound_statement "{\n      pcVar15 = (char *)(unaff_EDI + 0x46e08);\n    }" { (expression_statement "pcVar15 = (char *)(unaff_EDI + 0x46e08);" (assignment_expression "pcVar15 = (char *)(unaff_EDI + 0x46e08)" identifier = (cast_expression "(char *)(unaff_EDI + 0x46e08)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x46e08)" ( (binary_expression "unaff_EDI + 0x46e08" identifier + number_literal) )))) ;) })) (expression_statement "pToken = (Token *)sqlite3DbStrDup(db,pcVar15);" (assignment_expression "pToken = (Token *)sqlite3DbStrDup(db,pcVar15)" identifier = (cast_expression "(Token *)sqlite3DbStrDup(db,pcVar15)" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3DbStrDup(db,pcVar15)" identifier (argument_list "(db,pcVar15)" ( identifier , identifier ))))) ;) (expression_statement "pName = pName1_00;" (assignment_expression "pName = pName1_00" identifier = identifier) ;) }))) (expression_statement "uVar5 = pName->n;" (assignment_expression "uVar5 = pName->n" identifier = (field_expression "pName->n" identifier -> field_identifier)) ;) (expression_statement "(pParse_00->sNameToken).z = pName->z;" (assignment_expression "(pParse_00->sNameToken).z = pName->z" (field_expression "(pParse_00->sNameToken).z" (parenthesized_expression "(pParse_00->sNameToken)" ( (field_expression "pParse_00->sNameToken" identifier -> field_identifier) )) . field_identifier) = (field_expression "pName->z" identifier -> field_identifier)) ;) (expression_statement "(pParse_00->sNameToken).n = uVar5;" (assignment_expression "(pParse_00->sNameToken).n = uVar5" (field_expression "(pParse_00->sNameToken).n" (parenthesized_expression "(pParse_00->sNameToken)" ( (field_expression "pParse_00->sNameToken" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (if_statement "if (pToken == (Token *)0x0) goto LAB_000aebf0;" if (parenthesized_expression "(pToken == (Token *)0x0)" ( (binary_expression "pToken == (Token *)0x0" identifier == (cast_expression "(Token *)0x0" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000aebf0;" goto statement_identifier ;)) (expression_statement "pcVar15 = (char *)0xae8d2;" (assignment_expression "pcVar15 = (char *)0xae8d2" identifier = (cast_expression "(char *)0xae8d2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar2 = sqlite3CheckObjectName(pParse_00,(char *)pToken);" (assignment_expression "iVar2 = sqlite3CheckObjectName(pParse_00,(char *)pToken)" identifier = (call_expression "sqlite3CheckObjectName(pParse_00,(char *)pToken)" identifier (argument_list "(pParse_00,(char *)pToken)" ( identifier , (cast_expression "(char *)pToken" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n    code = db->aDb[local_40].zDbSName;\n    iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4);\n    if ((iVar2 == 0) &&\n       ((pName2 != (Token *)0x0 ||\n        (iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 ), iVar2 == 0)))) {\n      if (pParse_00->eParseMode == '\0') {\n        pcVar15 = db->aDb[local_40].zDbSName;\n        iVar2 = sqlite3ReadSchema(pParse_00);\n        if (iVar2 == 0) {\n          pTVar3 = sqlite3FindTable(db,(char *)pToken,pcVar15);\n          if (pTVar3 == (Table *)0x0) {\n            pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);\n            if (pIVar8 == (Index *)0x0) goto LAB_000ae948;\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);\n          }\n          else if (isTemp == 0) {\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }\n          else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        pTVar3 = (Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4));\n        if (pTVar3 != (Table *)0x0) {\n          pTVar3->zName = (char *)pToken;\n          pTVar3->iPKey = -1;\n          pSVar1 = db->aDb[local_40].pSchema;\n          pTVar3->nTabRef = 1;\n          pTVar3->pSchema = pSVar1;\n          pTVar3->nRowLogEst = 200;\n          bVar11 = false;\n          bVar12 = pParse_00->nested == '\0';\n          pParse_00->pNewTable = pTVar3;\n          if (bVar12) {\n            iVar2 = 0x10;\n            pbVar10 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);\n            if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }\n          }\n          if (((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))) {\n            sqlite3BeginWriteOperation(pParse_00,1,local_40);\n            if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }\n            iVar4 = pParse_00->nMem;\n            iVar2 = iVar4 + 1;\n            pParse_00->regRowid = iVar2;\n            iVar7 = iVar4 + 2;\n            iVar4 = iVar4 + 3;\n            pParse_00->regRoot = iVar7;\n            pParse_00->nMem = iVar4;\n            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);\n            uVar5 = 1 << ((byte)local_40 & 0x1f);\n            p_00->btreeMask = p_00->btreeMask | uVar5;\n            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }\n            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);\n            if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }\n            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);\n            if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }\n            pOVar9->p2 = p_00->nOp;\n            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }\n            p = pParse_00->pVdbe;\n            if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }\n            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));\n            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);\n            if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }\n            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);\n            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);\n            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);\n            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);\n            if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }\n            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        pParse_00->rc = 7;\n        pParse_00->nErr = pParse_00->nErr + 1;\n      }\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    code = db->aDb[local_40].zDbSName;\n    iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4);\n    if ((iVar2 == 0) &&\n       ((pName2 != (Token *)0x0 ||\n        (iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 ), iVar2 == 0)))) {\n      if (pParse_00->eParseMode == '\0') {\n        pcVar15 = db->aDb[local_40].zDbSName;\n        iVar2 = sqlite3ReadSchema(pParse_00);\n        if (iVar2 == 0) {\n          pTVar3 = sqlite3FindTable(db,(char *)pToken,pcVar15);\n          if (pTVar3 == (Table *)0x0) {\n            pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);\n            if (pIVar8 == (Index *)0x0) goto LAB_000ae948;\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);\n          }\n          else if (isTemp == 0) {\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }\n          else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        pTVar3 = (Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4));\n        if (pTVar3 != (Table *)0x0) {\n          pTVar3->zName = (char *)pToken;\n          pTVar3->iPKey = -1;\n          pSVar1 = db->aDb[local_40].pSchema;\n          pTVar3->nTabRef = 1;\n          pTVar3->pSchema = pSVar1;\n          pTVar3->nRowLogEst = 200;\n          bVar11 = false;\n          bVar12 = pParse_00->nested == '\0';\n          pParse_00->pNewTable = pTVar3;\n          if (bVar12) {\n            iVar2 = 0x10;\n            pbVar10 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);\n            if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }\n          }\n          if (((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))) {\n            sqlite3BeginWriteOperation(pParse_00,1,local_40);\n            if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }\n            iVar4 = pParse_00->nMem;\n            iVar2 = iVar4 + 1;\n            pParse_00->regRowid = iVar2;\n            iVar7 = iVar4 + 2;\n            iVar4 = iVar4 + 3;\n            pParse_00->regRoot = iVar7;\n            pParse_00->nMem = iVar4;\n            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);\n            uVar5 = 1 << ((byte)local_40 & 0x1f);\n            p_00->btreeMask = p_00->btreeMask | uVar5;\n            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }\n            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);\n            if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }\n            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);\n            if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }\n            pOVar9->p2 = p_00->nOp;\n            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }\n            p = pParse_00->pVdbe;\n            if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }\n            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));\n            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);\n            if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }\n            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);\n            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);\n            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);\n            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);\n            if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }\n            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        pParse_00->rc = 7;\n        pParse_00->nErr = pParse_00->nErr + 1;\n      }\n    }\n  }" { (expression_statement "code = db->aDb[local_40].zDbSName;" (assignment_expression "code = db->aDb[local_40].zDbSName" identifier = (field_expression "db->aDb[local_40].zDbSName" (subscript_expression "db->aDb[local_40]" (field_expression "db->aDb" identifier -> field_identifier) [ identifier ]) . field_identifier)) ;) (expression_statement "iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4);" (assignment_expression "iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4)" identifier = (call_expression "sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4)" identifier (argument_list "((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4)" ( (cast_expression "(Parse *)0x0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(int)code" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier , identifier )))) ;) (if_statement "if ((iVar2 == 0) &&\n       ((pName2 != (Token *)0x0 ||\n        (iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 ), iVar2 == 0)))) {\n      if (pParse_00->eParseMode == '\0') {\n        pcVar15 = db->aDb[local_40].zDbSName;\n        iVar2 = sqlite3ReadSchema(pParse_00);\n        if (iVar2 == 0) {\n          pTVar3 = sqlite3FindTable(db,(char *)pToken,pcVar15);\n          if (pTVar3 == (Table *)0x0) {\n            pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);\n            if (pIVar8 == (Index *)0x0) goto LAB_000ae948;\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);\n          }\n          else if (isTemp == 0) {\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }\n          else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        pTVar3 = (Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4));\n        if (pTVar3 != (Table *)0x0) {\n          pTVar3->zName = (char *)pToken;\n          pTVar3->iPKey = -1;\n          pSVar1 = db->aDb[local_40].pSchema;\n          pTVar3->nTabRef = 1;\n          pTVar3->pSchema = pSVar1;\n          pTVar3->nRowLogEst = 200;\n          bVar11 = false;\n          bVar12 = pParse_00->nested == '\0';\n          pParse_00->pNewTable = pTVar3;\n          if (bVar12) {\n            iVar2 = 0x10;\n            pbVar10 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);\n            if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }\n          }\n          if (((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))) {\n            sqlite3BeginWriteOperation(pParse_00,1,local_40);\n            if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }\n            iVar4 = pParse_00->nMem;\n            iVar2 = iVar4 + 1;\n            pParse_00->regRowid = iVar2;\n            iVar7 = iVar4 + 2;\n            iVar4 = iVar4 + 3;\n            pParse_00->regRoot = iVar7;\n            pParse_00->nMem = iVar4;\n            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);\n            uVar5 = 1 << ((byte)local_40 & 0x1f);\n            p_00->btreeMask = p_00->btreeMask | uVar5;\n            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }\n            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);\n            if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }\n            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);\n            if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }\n            pOVar9->p2 = p_00->nOp;\n            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }\n            p = pParse_00->pVdbe;\n            if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }\n            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));\n            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);\n            if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }\n            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);\n            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);\n            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);\n            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);\n            if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }\n            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        pParse_00->rc = 7;\n        pParse_00->nErr = pParse_00->nErr + 1;\n      }\n    }" if (parenthesized_expression "((iVar2 == 0) &&\n       ((pName2 != (Token *)0x0 ||\n        (iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 ), iVar2 == 0))))" ( (binary_expression "(iVar2 == 0) &&\n       ((pName2 != (Token *)0x0 ||\n        (iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 ), iVar2 == 0)))" (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) && (parenthesized_expression "((pName2 != (Token *)0x0 ||\n        (iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 ), iVar2 == 0)))" ( (parenthesized_expression "(pName2 != (Token *)0x0 ||\n        (iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 ), iVar2 == 0))" ( (binary_expression "pName2 != (Token *)0x0 ||\n        (iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 ), iVar2 == 0)" (binary_expression "pName2 != (Token *)0x0" identifier != (cast_expression "(Token *)0x0" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 ), iVar2 == 0)" ( (comma_expression "iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 ), iVar2 == 0" (assignment_expression "iVar2 = sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 )" identifier = (call_expression "sqlite3AuthCheck((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 )" identifier (argument_list "((Parse *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4\n                                 )" ( (cast_expression "(Parse *)0x0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(int)code" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier , identifier )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n      if (pParse_00->eParseMode == '\0') {\n        pcVar15 = db->aDb[local_40].zDbSName;\n        iVar2 = sqlite3ReadSchema(pParse_00);\n        if (iVar2 == 0) {\n          pTVar3 = sqlite3FindTable(db,(char *)pToken,pcVar15);\n          if (pTVar3 == (Table *)0x0) {\n            pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);\n            if (pIVar8 == (Index *)0x0) goto LAB_000ae948;\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);\n          }\n          else if (isTemp == 0) {\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }\n          else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        pTVar3 = (Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4));\n        if (pTVar3 != (Table *)0x0) {\n          pTVar3->zName = (char *)pToken;\n          pTVar3->iPKey = -1;\n          pSVar1 = db->aDb[local_40].pSchema;\n          pTVar3->nTabRef = 1;\n          pTVar3->pSchema = pSVar1;\n          pTVar3->nRowLogEst = 200;\n          bVar11 = false;\n          bVar12 = pParse_00->nested == '\0';\n          pParse_00->pNewTable = pTVar3;\n          if (bVar12) {\n            iVar2 = 0x10;\n            pbVar10 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);\n            if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }\n          }\n          if (((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))) {\n            sqlite3BeginWriteOperation(pParse_00,1,local_40);\n            if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }\n            iVar4 = pParse_00->nMem;\n            iVar2 = iVar4 + 1;\n            pParse_00->regRowid = iVar2;\n            iVar7 = iVar4 + 2;\n            iVar4 = iVar4 + 3;\n            pParse_00->regRoot = iVar7;\n            pParse_00->nMem = iVar4;\n            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);\n            uVar5 = 1 << ((byte)local_40 & 0x1f);\n            p_00->btreeMask = p_00->btreeMask | uVar5;\n            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }\n            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);\n            if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }\n            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);\n            if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }\n            pOVar9->p2 = p_00->nOp;\n            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }\n            p = pParse_00->pVdbe;\n            if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }\n            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));\n            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);\n            if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }\n            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);\n            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);\n            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);\n            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);\n            if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }\n            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        pParse_00->rc = 7;\n        pParse_00->nErr = pParse_00->nErr + 1;\n      }\n    }" { (if_statement "if (pParse_00->eParseMode == '\0') {\n        pcVar15 = db->aDb[local_40].zDbSName;\n        iVar2 = sqlite3ReadSchema(pParse_00);\n        if (iVar2 == 0) {\n          pTVar3 = sqlite3FindTable(db,(char *)pToken,pcVar15);\n          if (pTVar3 == (Table *)0x0) {\n            pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);\n            if (pIVar8 == (Index *)0x0) goto LAB_000ae948;\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);\n          }\n          else if (isTemp == 0) {\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }\n          else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        pTVar3 = (Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4));\n        if (pTVar3 != (Table *)0x0) {\n          pTVar3->zName = (char *)pToken;\n          pTVar3->iPKey = -1;\n          pSVar1 = db->aDb[local_40].pSchema;\n          pTVar3->nTabRef = 1;\n          pTVar3->pSchema = pSVar1;\n          pTVar3->nRowLogEst = 200;\n          bVar11 = false;\n          bVar12 = pParse_00->nested == '\0';\n          pParse_00->pNewTable = pTVar3;\n          if (bVar12) {\n            iVar2 = 0x10;\n            pbVar10 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);\n            if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }\n          }\n          if (((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))) {\n            sqlite3BeginWriteOperation(pParse_00,1,local_40);\n            if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }\n            iVar4 = pParse_00->nMem;\n            iVar2 = iVar4 + 1;\n            pParse_00->regRowid = iVar2;\n            iVar7 = iVar4 + 2;\n            iVar4 = iVar4 + 3;\n            pParse_00->regRoot = iVar7;\n            pParse_00->nMem = iVar4;\n            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);\n            uVar5 = 1 << ((byte)local_40 & 0x1f);\n            p_00->btreeMask = p_00->btreeMask | uVar5;\n            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }\n            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);\n            if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }\n            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);\n            if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }\n            pOVar9->p2 = p_00->nOp;\n            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }\n            p = pParse_00->pVdbe;\n            if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }\n            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));\n            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);\n            if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }\n            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);\n            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);\n            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);\n            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);\n            if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }\n            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        pParse_00->rc = 7;\n        pParse_00->nErr = pParse_00->nErr + 1;\n      }" if (parenthesized_expression "(pParse_00->eParseMode == '\0')" ( (binary_expression "pParse_00->eParseMode == '\0'" (field_expression "pParse_00->eParseMode" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        pcVar15 = db->aDb[local_40].zDbSName;\n        iVar2 = sqlite3ReadSchema(pParse_00);\n        if (iVar2 == 0) {\n          pTVar3 = sqlite3FindTable(db,(char *)pToken,pcVar15);\n          if (pTVar3 == (Table *)0x0) {\n            pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);\n            if (pIVar8 == (Index *)0x0) goto LAB_000ae948;\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);\n          }\n          else if (isTemp == 0) {\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }\n          else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }\n        }\n      }" { (expression_statement "pcVar15 = db->aDb[local_40].zDbSName;" (assignment_expression "pcVar15 = db->aDb[local_40].zDbSName" identifier = (field_expression "db->aDb[local_40].zDbSName" (subscript_expression "db->aDb[local_40]" (field_expression "db->aDb" identifier -> field_identifier) [ identifier ]) . field_identifier)) ;) (expression_statement "iVar2 = sqlite3ReadSchema(pParse_00);" (assignment_expression "iVar2 = sqlite3ReadSchema(pParse_00)" identifier = (call_expression "sqlite3ReadSchema(pParse_00)" identifier (argument_list "(pParse_00)" ( identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          pTVar3 = sqlite3FindTable(db,(char *)pToken,pcVar15);\n          if (pTVar3 == (Table *)0x0) {\n            pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);\n            if (pIVar8 == (Index *)0x0) goto LAB_000ae948;\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);\n          }\n          else if (isTemp == 0) {\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }\n          else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          pTVar3 = sqlite3FindTable(db,(char *)pToken,pcVar15);\n          if (pTVar3 == (Table *)0x0) {\n            pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);\n            if (pIVar8 == (Index *)0x0) goto LAB_000ae948;\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);\n          }\n          else if (isTemp == 0) {\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }\n          else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }\n        }" { (expression_statement "pTVar3 = sqlite3FindTable(db,(char *)pToken,pcVar15);" (assignment_expression "pTVar3 = sqlite3FindTable(db,(char *)pToken,pcVar15)" identifier = (call_expression "sqlite3FindTable(db,(char *)pToken,pcVar15)" identifier (argument_list "(db,(char *)pToken,pcVar15)" ( identifier , (cast_expression "(char *)pToken" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) (if_statement "if (pTVar3 == (Table *)0x0) {\n            pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);\n            if (pIVar8 == (Index *)0x0) goto LAB_000ae948;\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);\n          }\n          else if (isTemp == 0) {\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }\n          else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }" if (parenthesized_expression "(pTVar3 == (Table *)0x0)" ( (binary_expression "pTVar3 == (Table *)0x0" identifier == (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);\n            if (pIVar8 == (Index *)0x0) goto LAB_000ae948;\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);\n          }" { (expression_statement "pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15);" (assignment_expression "pIVar8 = sqlite3FindIndex(db,(char *)pToken,pcVar15)" identifier = (call_expression "sqlite3FindIndex(db,(char *)pToken,pcVar15)" identifier (argument_list "(db,(char *)pToken,pcVar15)" ( identifier , (cast_expression "(char *)pToken" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) (if_statement "if (pIVar8 == (Index *)0x0) goto LAB_000ae948;" if (parenthesized_expression "(pIVar8 == (Index *)0x0)" ( (binary_expression "pIVar8 == (Index *)0x0" identifier == (cast_expression "(Index *)0x0" ( (type_descriptor "Index *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000ae948;" goto statement_identifier ;)) (expression_statement "sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken);" (call_expression "sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken)" identifier (argument_list "(pParse_00,(char *)(unaff_EDI + 0x55bf1),pToken)" ( identifier , (cast_expression "(char *)(unaff_EDI + 0x55bf1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x55bf1)" ( (binary_expression "unaff_EDI + 0x55bf1" identifier + number_literal) ))) , identifier ))) ;) }) (else_clause "else if (isTemp == 0) {\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }\n          else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }" else (if_statement "if (isTemp == 0) {\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }\n          else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }" if (parenthesized_expression "(isTemp == 0)" ( (binary_expression "isTemp == 0" identifier == number_literal) )) (compound_statement "{\n            sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);\n          }" { (expression_statement "sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName);" (call_expression "sqlite3ErrorMsg(pParse_00,(char *)(unaff_EDI + 0x491e4),pName)" identifier (argument_list "(pParse_00,(char *)(unaff_EDI + 0x491e4),pName)" ( identifier , (cast_expression "(char *)(unaff_EDI + 0x491e4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x491e4)" ( (binary_expression "unaff_EDI + 0x491e4" identifier + number_literal) ))) , identifier ))) ;) }) (else_clause "else {\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }" else (compound_statement "{\n            sqlite3CodeVerifySchema(pParse_00,local_40);\n          }" { (expression_statement "sqlite3CodeVerifySchema(pParse_00,local_40);" (call_expression "sqlite3CodeVerifySchema(pParse_00,local_40)" identifier (argument_list "(pParse_00,local_40)" ( identifier , identifier ))) ;) }))))) })) }) (else_clause "else {\nLAB_000ae948:\n        pTVar3 = (Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4));\n        if (pTVar3 != (Table *)0x0) {\n          pTVar3->zName = (char *)pToken;\n          pTVar3->iPKey = -1;\n          pSVar1 = db->aDb[local_40].pSchema;\n          pTVar3->nTabRef = 1;\n          pTVar3->pSchema = pSVar1;\n          pTVar3->nRowLogEst = 200;\n          bVar11 = false;\n          bVar12 = pParse_00->nested == '\0';\n          pParse_00->pNewTable = pTVar3;\n          if (bVar12) {\n            iVar2 = 0x10;\n            pbVar10 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);\n            if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }\n          }\n          if (((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))) {\n            sqlite3BeginWriteOperation(pParse_00,1,local_40);\n            if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }\n            iVar4 = pParse_00->nMem;\n            iVar2 = iVar4 + 1;\n            pParse_00->regRowid = iVar2;\n            iVar7 = iVar4 + 2;\n            iVar4 = iVar4 + 3;\n            pParse_00->regRoot = iVar7;\n            pParse_00->nMem = iVar4;\n            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);\n            uVar5 = 1 << ((byte)local_40 & 0x1f);\n            p_00->btreeMask = p_00->btreeMask | uVar5;\n            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }\n            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);\n            if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }\n            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);\n            if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }\n            pOVar9->p2 = p_00->nOp;\n            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }\n            p = pParse_00->pVdbe;\n            if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }\n            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));\n            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);\n            if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }\n            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);\n            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);\n            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);\n            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);\n            if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }\n            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        pParse_00->rc = 7;\n        pParse_00->nErr = pParse_00->nErr + 1;\n      }" else (compound_statement "{\nLAB_000ae948:\n        pTVar3 = (Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4));\n        if (pTVar3 != (Table *)0x0) {\n          pTVar3->zName = (char *)pToken;\n          pTVar3->iPKey = -1;\n          pSVar1 = db->aDb[local_40].pSchema;\n          pTVar3->nTabRef = 1;\n          pTVar3->pSchema = pSVar1;\n          pTVar3->nRowLogEst = 200;\n          bVar11 = false;\n          bVar12 = pParse_00->nested == '\0';\n          pParse_00->pNewTable = pTVar3;\n          if (bVar12) {\n            iVar2 = 0x10;\n            pbVar10 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);\n            if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }\n          }\n          if (((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))) {\n            sqlite3BeginWriteOperation(pParse_00,1,local_40);\n            if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }\n            iVar4 = pParse_00->nMem;\n            iVar2 = iVar4 + 1;\n            pParse_00->regRowid = iVar2;\n            iVar7 = iVar4 + 2;\n            iVar4 = iVar4 + 3;\n            pParse_00->regRoot = iVar7;\n            pParse_00->nMem = iVar4;\n            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);\n            uVar5 = 1 << ((byte)local_40 & 0x1f);\n            p_00->btreeMask = p_00->btreeMask | uVar5;\n            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }\n            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);\n            if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }\n            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);\n            if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }\n            pOVar9->p2 = p_00->nOp;\n            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }\n            p = pParse_00->pVdbe;\n            if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }\n            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));\n            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);\n            if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }\n            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);\n            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);\n            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);\n            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);\n            if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }\n            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        pParse_00->rc = 7;\n        pParse_00->nErr = pParse_00->nErr + 1;\n      }" { (labeled_statement "LAB_000ae948:\n        pTVar3 = (Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4));" statement_identifier : (expression_statement "pTVar3 = (Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4));" (assignment_expression "pTVar3 = (Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4))" identifier = (cast_expression "(Table *)sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4))" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3DbMallocZero(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4))" identifier (argument_list "(db,CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4))" ( identifier , (call_expression "CONCAT44(in_stack_ffffffb8,in_stack_ffffffb4)" identifier (argument_list "(in_stack_ffffffb8,in_stack_ffffffb4)" ( identifier , identifier ))) ))))) ;)) (if_statement "if (pTVar3 != (Table *)0x0) {\n          pTVar3->zName = (char *)pToken;\n          pTVar3->iPKey = -1;\n          pSVar1 = db->aDb[local_40].pSchema;\n          pTVar3->nTabRef = 1;\n          pTVar3->pSchema = pSVar1;\n          pTVar3->nRowLogEst = 200;\n          bVar11 = false;\n          bVar12 = pParse_00->nested == '\0';\n          pParse_00->pNewTable = pTVar3;\n          if (bVar12) {\n            iVar2 = 0x10;\n            pbVar10 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);\n            if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }\n          }\n          if (((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))) {\n            sqlite3BeginWriteOperation(pParse_00,1,local_40);\n            if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }\n            iVar4 = pParse_00->nMem;\n            iVar2 = iVar4 + 1;\n            pParse_00->regRowid = iVar2;\n            iVar7 = iVar4 + 2;\n            iVar4 = iVar4 + 3;\n            pParse_00->regRoot = iVar7;\n            pParse_00->nMem = iVar4;\n            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);\n            uVar5 = 1 << ((byte)local_40 & 0x1f);\n            p_00->btreeMask = p_00->btreeMask | uVar5;\n            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }\n            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);\n            if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }\n            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);\n            if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }\n            pOVar9->p2 = p_00->nOp;\n            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }\n            p = pParse_00->pVdbe;\n            if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }\n            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));\n            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);\n            if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }\n            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);\n            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);\n            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);\n            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);\n            if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }\n            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);\n          }\n          goto LAB_000aebf0;\n        }" if (parenthesized_expression "(pTVar3 != (Table *)0x0)" ( (binary_expression "pTVar3 != (Table *)0x0" identifier != (cast_expression "(Table *)0x0" ( (type_descriptor "Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pTVar3->zName = (char *)pToken;\n          pTVar3->iPKey = -1;\n          pSVar1 = db->aDb[local_40].pSchema;\n          pTVar3->nTabRef = 1;\n          pTVar3->pSchema = pSVar1;\n          pTVar3->nRowLogEst = 200;\n          bVar11 = false;\n          bVar12 = pParse_00->nested == '\0';\n          pParse_00->pNewTable = pTVar3;\n          if (bVar12) {\n            iVar2 = 0x10;\n            pbVar10 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);\n            if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }\n          }\n          if (((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))) {\n            sqlite3BeginWriteOperation(pParse_00,1,local_40);\n            if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }\n            iVar4 = pParse_00->nMem;\n            iVar2 = iVar4 + 1;\n            pParse_00->regRowid = iVar2;\n            iVar7 = iVar4 + 2;\n            iVar4 = iVar4 + 3;\n            pParse_00->regRoot = iVar7;\n            pParse_00->nMem = iVar4;\n            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);\n            uVar5 = 1 << ((byte)local_40 & 0x1f);\n            p_00->btreeMask = p_00->btreeMask | uVar5;\n            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }\n            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);\n            if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }\n            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);\n            if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }\n            pOVar9->p2 = p_00->nOp;\n            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }\n            p = pParse_00->pVdbe;\n            if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }\n            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));\n            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);\n            if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }\n            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);\n            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);\n            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);\n            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);\n            if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }\n            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);\n          }\n          goto LAB_000aebf0;\n        }" { (expression_statement "pTVar3->zName = (char *)pToken;" (assignment_expression "pTVar3->zName = (char *)pToken" (field_expression "pTVar3->zName" identifier -> field_identifier) = (cast_expression "(char *)pToken" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pTVar3->iPKey = -1;" (assignment_expression "pTVar3->iPKey = -1" (field_expression "pTVar3->iPKey" identifier -> field_identifier) = number_literal) ;) (expression_statement "pSVar1 = db->aDb[local_40].pSchema;" (assignment_expression "pSVar1 = db->aDb[local_40].pSchema" identifier = (field_expression "db->aDb[local_40].pSchema" (subscript_expression "db->aDb[local_40]" (field_expression "db->aDb" identifier -> field_identifier) [ identifier ]) . field_identifier)) ;) (expression_statement "pTVar3->nTabRef = 1;" (assignment_expression "pTVar3->nTabRef = 1" (field_expression "pTVar3->nTabRef" identifier -> field_identifier) = number_literal) ;) (expression_statement "pTVar3->pSchema = pSVar1;" (assignment_expression "pTVar3->pSchema = pSVar1" (field_expression "pTVar3->pSchema" identifier -> field_identifier) = identifier) ;) (expression_statement "pTVar3->nRowLogEst = 200;" (assignment_expression "pTVar3->nRowLogEst = 200" (field_expression "pTVar3->nRowLogEst" identifier -> field_identifier) = number_literal) ;) (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" identifier = false) ;) (expression_statement "bVar12 = pParse_00->nested == '\0';" (assignment_expression "bVar12 = pParse_00->nested == '\0'" identifier = (binary_expression "pParse_00->nested == '\0'" (field_expression "pParse_00->nested" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence '))) ;) (expression_statement "pParse_00->pNewTable = pTVar3;" (assignment_expression "pParse_00->pNewTable = pTVar3" (field_expression "pParse_00->pNewTable" identifier -> field_identifier) = identifier) ;) (if_statement "if (bVar12) {\n            iVar2 = 0x10;\n            pbVar10 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);\n            if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }\n          }" if (parenthesized_expression "(bVar12)" ( identifier )) (compound_statement "{\n            iVar2 = 0x10;\n            pbVar10 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);\n            if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }\n          }" { (expression_statement "iVar2 = 0x10;" (assignment_expression "iVar2 = 0x10" identifier = number_literal) ;) (expression_statement "pbVar10 = (byte *)(unaff_EDI + 0x491fc);" (assignment_expression "pbVar10 = (byte *)(unaff_EDI + 0x491fc)" identifier = (cast_expression "(byte *)(unaff_EDI + 0x491fc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x491fc)" ( (binary_expression "unaff_EDI + 0x491fc" identifier + number_literal) )))) ;) (do_statement "do {\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            } while (bVar12);" do (compound_statement "{\n              if (iVar2 == 0) break;\n              iVar2 = iVar2 + -1;\n              bVar11 = *(byte *)&pToken->z < *pbVar10;\n              bVar12 = *(byte *)&pToken->z == *pbVar10;\n              pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);\n              pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;\n            }" { (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar11 = *(byte *)&pToken->z < *pbVar10;" (assignment_expression "bVar11 = *(byte *)&pToken->z < *pbVar10" identifier = (binary_expression "*(byte *)&pToken->z < *pbVar10" (pointer_expression "*(byte *)&pToken->z" * (cast_expression "(byte *)&pToken->z" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pToken->z" & (field_expression "pToken->z" identifier -> field_identifier)))) < (pointer_expression "*pbVar10" * identifier))) ;) (expression_statement "bVar12 = *(byte *)&pToken->z == *pbVar10;" (assignment_expression "bVar12 = *(byte *)&pToken->z == *pbVar10" identifier = (binary_expression "*(byte *)&pToken->z == *pbVar10" (pointer_expression "*(byte *)&pToken->z" * (cast_expression "(byte *)&pToken->z" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pToken->z" & (field_expression "pToken->z" identifier -> field_identifier)))) == (pointer_expression "*pbVar10" * identifier))) ;) (expression_statement "pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1);" (assignment_expression "pToken = (Token *)((int)pToken + (uint)bVar13 * -2 + 1)" identifier = (cast_expression "(Token *)((int)pToken + (uint)bVar13 * -2 + 1)" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pToken + (uint)bVar13 * -2 + 1)" ( (binary_expression "(int)pToken + (uint)bVar13 * -2 + 1" (binary_expression "(int)pToken + (uint)bVar13 * -2" (cast_expression "(int)pToken" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar13 * -2" (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) (expression_statement "pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar13 * -2 + 1" identifier = (binary_expression "pbVar10 + (uint)bVar13 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar13 * -2" identifier + (binary_expression "(uint)bVar13 * -2" (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar12)" ( identifier )) ;) (if_statement "if ((!bVar11 && !bVar12) == bVar11) {\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }" if (parenthesized_expression "((!bVar11 && !bVar12) == bVar11)" ( (binary_expression "(!bVar11 && !bVar12) == bVar11" (parenthesized_expression "(!bVar11 && !bVar12)" ( (binary_expression "!bVar11 && !bVar12" (unary_expression "!bVar11" ! identifier) && (unary_expression "!bVar12" ! identifier)) )) == identifier) )) (compound_statement "{\n              pTVar3->pSchema->pSeqTab = pTVar3;\n            }" { (expression_statement "pTVar3->pSchema->pSeqTab = pTVar3;" (assignment_expression "pTVar3->pSchema->pSeqTab = pTVar3" (field_expression "pTVar3->pSchema->pSeqTab" (field_expression "pTVar3->pSchema" identifier -> field_identifier) -> field_identifier) = identifier) ;) })) })) (if_statement "if (((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))) {\n            sqlite3BeginWriteOperation(pParse_00,1,local_40);\n            if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }\n            iVar4 = pParse_00->nMem;\n            iVar2 = iVar4 + 1;\n            pParse_00->regRowid = iVar2;\n            iVar7 = iVar4 + 2;\n            iVar4 = iVar4 + 3;\n            pParse_00->regRoot = iVar7;\n            pParse_00->nMem = iVar4;\n            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);\n            uVar5 = 1 << ((byte)local_40 & 0x1f);\n            p_00->btreeMask = p_00->btreeMask | uVar5;\n            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }\n            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);\n            if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }\n            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);\n            if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }\n            pOVar9->p2 = p_00->nOp;\n            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }\n            p = pParse_00->pVdbe;\n            if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }\n            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));\n            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);\n            if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }\n            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);\n            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);\n            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);\n            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);\n            if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }\n            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);\n          }" if (parenthesized_expression "(((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0))))" ( (binary_expression "((db->init).busy == '\0') &&\n             ((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))" (parenthesized_expression "((db->init).busy == '\0')" ( (binary_expression "(db->init).busy == '\0'" (field_expression "(db->init).busy" (parenthesized_expression "(db->init)" ( (field_expression "db->init" identifier -> field_identifier) )) . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)))" ( (parenthesized_expression "(p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0))" ( (comma_expression "p_00 = pParse_00->pVdbe, p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)" (assignment_expression "p_00 = pParse_00->pVdbe" identifier = (field_expression "pParse_00->pVdbe" identifier -> field_identifier)) , (binary_expression "p_00 != (Vdbe *)0x0 ||\n              (p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)" (binary_expression "p_00 != (Vdbe *)0x0" identifier != (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0)" ( (comma_expression "p_00 = sqlite3GetVdbe(pParse_00), p_00 != (Vdbe *)0x0" (assignment_expression "p_00 = sqlite3GetVdbe(pParse_00)" identifier = (call_expression "sqlite3GetVdbe(pParse_00)" identifier (argument_list "(pParse_00)" ( identifier )))) , (binary_expression "p_00 != (Vdbe *)0x0" identifier != (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )))) )) ))) )) (compound_statement "{\n            sqlite3BeginWriteOperation(pParse_00,1,local_40);\n            if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }\n            iVar4 = pParse_00->nMem;\n            iVar2 = iVar4 + 1;\n            pParse_00->regRowid = iVar2;\n            iVar7 = iVar4 + 2;\n            iVar4 = iVar4 + 3;\n            pParse_00->regRoot = iVar7;\n            pParse_00->nMem = iVar4;\n            sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);\n            uVar5 = 1 << ((byte)local_40 & 0x1f);\n            p_00->btreeMask = p_00->btreeMask | uVar5;\n            if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }\n            iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);\n            sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);\n            if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }\n            pOVar9 = (Op *)(unaff_EDI + 0x9bd45);\n            if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }\n            pOVar9->p2 = p_00->nOp;\n            if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }\n            p = pParse_00->pVdbe;\n            if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }\n            sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));\n            sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);\n            if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }\n            sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);\n            iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);\n            sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);\n            sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);\n            if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }\n            sqlite3VdbeAddOp3(p_00,0x75,0,0,0);\n          }" { (expression_statement "sqlite3BeginWriteOperation(pParse_00,1,local_40);" (call_expression "sqlite3BeginWriteOperation(pParse_00,1,local_40)" identifier (argument_list "(pParse_00,1,local_40)" ( identifier , number_literal , identifier ))) ;) (if_statement "if (pName2 != (Token *)0x0) {\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }" if (parenthesized_expression "(pName2 != (Token *)0x0)" ( (binary_expression "pName2 != (Token *)0x0" identifier != (cast_expression "(Token *)0x0" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);\n            }" { (expression_statement "sqlite3VdbeAddOp3(p_00,0xa0,0,0,0);" (call_expression "sqlite3VdbeAddOp3(p_00,0xa0,0,0,0)" identifier (argument_list "(p_00,0xa0,0,0,0)" ( identifier , number_literal , number_literal , number_literal , number_literal ))) ;) })) (expression_statement "iVar4 = pParse_00->nMem;" (assignment_expression "iVar4 = pParse_00->nMem" identifier = (field_expression "pParse_00->nMem" identifier -> field_identifier)) ;) (expression_statement "iVar2 = iVar4 + 1;" (assignment_expression "iVar2 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "pParse_00->regRowid = iVar2;" (assignment_expression "pParse_00->regRowid = iVar2" (field_expression "pParse_00->regRowid" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar7 = iVar4 + 2;" (assignment_expression "iVar7 = iVar4 + 2" identifier = (binary_expression "iVar4 + 2" identifier + number_literal)) ;) (expression_statement "iVar4 = iVar4 + 3;" (assignment_expression "iVar4 = iVar4 + 3" identifier = (binary_expression "iVar4 + 3" identifier + number_literal)) ;) (expression_statement "pParse_00->regRoot = iVar7;" (assignment_expression "pParse_00->regRoot = iVar7" (field_expression "pParse_00->regRoot" identifier -> field_identifier) = identifier) ;) (expression_statement "pParse_00->nMem = iVar4;" (assignment_expression "pParse_00->nMem = iVar4" (field_expression "pParse_00->nMem" identifier -> field_identifier) = identifier) ;) (expression_statement "sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2);" (call_expression "sqlite3VdbeAddOp3(p_00,0x69,local_40,iVar4,2)" identifier (argument_list "(p_00,0x69,local_40,iVar4,2)" ( identifier , number_literal , identifier , identifier , number_literal ))) ;) (expression_statement "uVar5 = 1 << ((byte)local_40 & 0x1f);" (assignment_expression "uVar5 = 1 << ((byte)local_40 & 0x1f)" identifier = (binary_expression "1 << ((byte)local_40 & 0x1f)" number_literal << (parenthesized_expression "((byte)local_40 & 0x1f)" ( (binary_expression "(byte)local_40 & 0x1f" (cast_expression "(byte)local_40" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "p_00->btreeMask = p_00->btreeMask | uVar5;" (assignment_expression "p_00->btreeMask = p_00->btreeMask | uVar5" (field_expression "p_00->btreeMask" identifier -> field_identifier) = (binary_expression "p_00->btreeMask | uVar5" (field_expression "p_00->btreeMask" identifier -> field_identifier) | identifier)) ;) (if_statement "if ((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')) {\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }" if (parenthesized_expression "((local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0'))" ( (binary_expression "(local_40 != 1) && ((p_00->db->aDb[local_40].pBt)->sharable != '\0')" (parenthesized_expression "(local_40 != 1)" ( (binary_expression "local_40 != 1" identifier != number_literal) )) && (parenthesized_expression "((p_00->db->aDb[local_40].pBt)->sharable != '\0')" ( (binary_expression "(p_00->db->aDb[local_40].pBt)->sharable != '\0'" (field_expression "(p_00->db->aDb[local_40].pBt)->sharable" (parenthesized_expression "(p_00->db->aDb[local_40].pBt)" ( (field_expression "p_00->db->aDb[local_40].pBt" (subscript_expression "p_00->db->aDb[local_40]" (field_expression "p_00->db->aDb" (field_expression "p_00->db" identifier -> field_identifier) -> field_identifier) [ identifier ]) . field_identifier) )) -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n              p_00->lockMask = p_00->lockMask | uVar5;\n            }" { (expression_statement "p_00->lockMask = p_00->lockMask | uVar5;" (assignment_expression "p_00->lockMask = p_00->lockMask | uVar5" (field_expression "p_00->lockMask" identifier -> field_identifier) = (binary_expression "p_00->lockMask | uVar5" (field_expression "p_00->lockMask" identifier -> field_identifier) | identifier)) ;) })) (expression_statement "iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0);" (assignment_expression "iVar6 = sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0)" identifier = (call_expression "sqlite3VdbeAddOp3(p_00,0x12,iVar4,0,0)" identifier (argument_list "(p_00,0x12,iVar4,0,0)" ( identifier , number_literal , identifier , number_literal , number_literal )))) ;) (expression_statement "sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1);" (call_expression "sqlite3VdbeAddOp3(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1)" identifier (argument_list "(p_00,0x6b,local_40,2,(-(uint)((db->flags & 2) == 0) & 3) + 1)" ( identifier , number_literal , identifier , number_literal , (binary_expression "(-(uint)((db->flags & 2) == 0) & 3) + 1" (parenthesized_expression "(-(uint)((db->flags & 2) == 0) & 3)" ( (binary_expression "-(uint)((db->flags & 2) == 0) & 3" (unary_expression "-(uint)((db->flags & 2) == 0)" - (call_expression "(uint)((db->flags & 2) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((db->flags & 2) == 0)" ( (binary_expression "(db->flags & 2) == 0" (parenthesized_expression "(db->flags & 2)" ( (binary_expression "db->flags & 2" (field_expression "db->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )))) & number_literal) )) + number_literal) ))) ;) (expression_statement "sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc);" (call_expression "sqlite3VdbeAddOp3(p_00,0x6b,local_40,5,(uint)db->enc)" identifier (argument_list "(p_00,0x6b,local_40,5,(uint)db->enc)" ( identifier , number_literal , identifier , number_literal , (cast_expression "(uint)db->enc" ( (type_descriptor "uint" type_identifier) ) (field_expression "db->enc" identifier -> field_identifier)) ))) ;) (if_statement "if (iVar6 < 0) {\n              iVar6 = p_00->nOp + -1;\n            }" if (parenthesized_expression "(iVar6 < 0)" ( (binary_expression "iVar6 < 0" identifier < number_literal) )) (compound_statement "{\n              iVar6 = p_00->nOp + -1;\n            }" { (expression_statement "iVar6 = p_00->nOp + -1;" (assignment_expression "iVar6 = p_00->nOp + -1" identifier = (binary_expression "p_00->nOp + -1" (field_expression "p_00->nOp" identifier -> field_identifier) + number_literal)) ;) })) (expression_statement "pOVar9 = (Op *)(unaff_EDI + 0x9bd45);" (assignment_expression "pOVar9 = (Op *)(unaff_EDI + 0x9bd45)" identifier = (cast_expression "(Op *)(unaff_EDI + 0x9bd45)" ( (type_descriptor "Op *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x9bd45)" ( (binary_expression "unaff_EDI + 0x9bd45" identifier + number_literal) )))) ;) (if_statement "if (p_00->db->mallocFailed == '\0') {\n              pOVar9 = p_00->aOp + iVar6;\n            }" if (parenthesized_expression "(p_00->db->mallocFailed == '\0')" ( (binary_expression "p_00->db->mallocFailed == '\0'" (field_expression "p_00->db->mallocFailed" (field_expression "p_00->db" identifier -> field_identifier) -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              pOVar9 = p_00->aOp + iVar6;\n            }" { (expression_statement "pOVar9 = p_00->aOp + iVar6;" (assignment_expression "pOVar9 = p_00->aOp + iVar6" identifier = (binary_expression "p_00->aOp + iVar6" (field_expression "p_00->aOp" identifier -> field_identifier) + identifier)) ;) })) (expression_statement "pOVar9->p2 = p_00->nOp;" (assignment_expression "pOVar9->p2 = p_00->nOp" (field_expression "pOVar9->p2" identifier -> field_identifier) = (field_expression "p_00->nOp" identifier -> field_identifier)) ;) (if_statement "if (pName2 == (Token *)0x0 && pName1 == (Token *)0x0) {\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }\n            else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }" if (parenthesized_expression "(pName2 == (Token *)0x0 && pName1 == (Token *)0x0)" ( (binary_expression "pName2 == (Token *)0x0 && pName1 == (Token *)0x0" (binary_expression "pName2 == (Token *)0x0" identifier == (cast_expression "(Token *)0x0" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) && (binary_expression "pName1 == (Token *)0x0" identifier == (cast_expression "(Token *)0x0" ( (type_descriptor "Token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n              iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);\n              pParse_00->addrCrTab = iVar7;\n            }" { (expression_statement "iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1);" (assignment_expression "iVar7 = sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1)" identifier = (call_expression "sqlite3VdbeAddOp3(p_00,0x8b,local_40,iVar7,1)" identifier (argument_list "(p_00,0x8b,local_40,iVar7,1)" ( identifier , number_literal , identifier , identifier , number_literal )))) ;) (expression_statement "pParse_00->addrCrTab = iVar7;" (assignment_expression "pParse_00->addrCrTab = iVar7" (field_expression "pParse_00->addrCrTab" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }" else (compound_statement "{\n              sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);\n            }" { (expression_statement "sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0);" (call_expression "sqlite3VdbeAddOp3(p_00,0x46,0,iVar7,0)" identifier (argument_list "(p_00,0x46,0,iVar7,0)" ( identifier , number_literal , number_literal , identifier , number_literal ))) ;) }))) (expression_statement "p = pParse_00->pVdbe;" (assignment_expression "p = pParse_00->pVdbe" identifier = (field_expression "pParse_00->pVdbe" identifier -> field_identifier)) ;) (if_statement "if (p == (Vdbe *)0x0) {\n              p = sqlite3GetVdbe(pParse_00);\n            }" if (parenthesized_expression "(p == (Vdbe *)0x0)" ( (binary_expression "p == (Vdbe *)0x0" identifier == (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              p = sqlite3GetVdbe(pParse_00);\n            }" { (expression_statement "p = sqlite3GetVdbe(pParse_00);" (assignment_expression "p = sqlite3GetVdbe(pParse_00)" identifier = (call_expression "sqlite3GetVdbe(pParse_00)" identifier (argument_list "(pParse_00)" ( identifier )))) ;) })) (expression_statement "sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08));" (call_expression "sqlite3TableLock(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08))" identifier (argument_list "(pParse_00,local_40,1,'\x01',(char *)(unaff_EDI + 0x46e08))" ( identifier , identifier , number_literal , (char_literal "'\x01'" ' escape_sequence ') , (cast_expression "(char *)(unaff_EDI + 0x46e08)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x46e08)" ( (binary_expression "unaff_EDI + 0x46e08" identifier + number_literal) ))) ))) ;) (expression_statement "sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5);" (call_expression "sqlite3VdbeAddOp4Int(p,0x6e,0,1,local_40,5)" identifier (argument_list "(p,0x6e,0,1,local_40,5)" ( identifier , number_literal , number_literal , number_literal , identifier , number_literal ))) ;) (if_statement "if (pParse_00->nTab == 0) {\n              pParse_00->nTab = 1;\n            }" if (parenthesized_expression "(pParse_00->nTab == 0)" ( (binary_expression "pParse_00->nTab == 0" (field_expression "pParse_00->nTab" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n              pParse_00->nTab = 1;\n            }" { (expression_statement "pParse_00->nTab = 1;" (assignment_expression "pParse_00->nTab = 1" (field_expression "pParse_00->nTab" identifier -> field_identifier) = number_literal) ;) })) (expression_statement "sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0);" (call_expression "sqlite3VdbeAddOp3(p_00,0x79,0,iVar2,0)" identifier (argument_list "(p_00,0x79,0,iVar2,0)" ( identifier , number_literal , number_literal , identifier , number_literal ))) ;) (expression_statement "iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0);" (assignment_expression "iVar7 = sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0)" identifier = (call_expression "sqlite3VdbeAddOp3(p_00,0x4b,6,iVar4,0)" identifier (argument_list "(p_00,0x4b,6,iVar4,0)" ( identifier , number_literal , number_literal , identifier , number_literal )))) ;) (expression_statement "sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1);" (call_expression "sqlite3VdbeChangeP4(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1)" identifier (argument_list "(p_00,iVar7,(char *)(unaff_EDI + 0x4e579),-1)" ( identifier , identifier , (cast_expression "(char *)(unaff_EDI + 0x4e579)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x4e579)" ( (binary_expression "unaff_EDI + 0x4e579" identifier + number_literal) ))) , number_literal ))) ;) (expression_statement "sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2);" (call_expression "sqlite3VdbeAddOp3(p_00,0x7a,0,iVar4,iVar2)" identifier (argument_list "(p_00,0x7a,0,iVar4,iVar2)" ( identifier , number_literal , number_literal , identifier , identifier ))) ;) (if_statement "if (0 < p_00->nOp) {\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }" if (parenthesized_expression "(0 < p_00->nOp)" ( (binary_expression "0 < p_00->nOp" number_literal < (field_expression "p_00->nOp" identifier -> field_identifier)) )) (compound_statement "{\n              p_00->aOp[p_00->nOp + -1].p5 = 8;\n            }" { (expression_statement "p_00->aOp[p_00->nOp + -1].p5 = 8;" (assignment_expression "p_00->aOp[p_00->nOp + -1].p5 = 8" (field_expression "p_00->aOp[p_00->nOp + -1].p5" (subscript_expression "p_00->aOp[p_00->nOp + -1]" (field_expression "p_00->aOp" identifier -> field_identifier) [ (binary_expression "p_00->nOp + -1" (field_expression "p_00->nOp" identifier -> field_identifier) + number_literal) ]) . field_identifier) = number_literal) ;) })) (expression_statement "sqlite3VdbeAddOp3(p_00,0x75,0,0,0);" (call_expression "sqlite3VdbeAddOp3(p_00,0x75,0,0,0)" identifier (argument_list "(p_00,0x75,0,0,0)" ( identifier , number_literal , number_literal , number_literal , number_literal ))) ;) })) (goto_statement "goto LAB_000aebf0;" goto statement_identifier ;) })) (expression_statement "pParse_00->rc = 7;" (assignment_expression "pParse_00->rc = 7" (field_expression "pParse_00->rc" identifier -> field_identifier) = number_literal) ;) (expression_statement "pParse_00->nErr = pParse_00->nErr + 1;" (assignment_expression "pParse_00->nErr = pParse_00->nErr + 1" (field_expression "pParse_00->nErr" identifier -> field_identifier) = (binary_expression "pParse_00->nErr + 1" (field_expression "pParse_00->nErr" identifier -> field_identifier) + number_literal)) ;) }))) })) })) (expression_statement "sqlite3DbFreeNN(db,pToken);" (call_expression "sqlite3DbFreeNN(db,pToken)" identifier (argument_list "(db,pToken)" ( identifier , identifier ))) ;) (labeled_statement "LAB_000aebf0:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000ae810(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int extraout_ECX;\n  int unaff_EDI;\n  byte *pbVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  uint local_40;\n  int *local_24;\n  int local_20;\n  \n  bVar15 = 0;\n  uVar16 = FUN_000196fd();\n  piVar3 = (int *)uVar16;\n  iVar11 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)) {\n    local_40 = FUN_000580a0(&local_24);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pbVar4 = (byte *)FUN_00027240();\n    if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }\n  }\n  else {\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }\n  iVar5 = local_24[1];\n  piVar3[0x2c] = *local_24;\n  piVar3[0x2d] = iVar5;\n  if (pbVar4 == (byte *)0x0) goto LAB_000aebf0;\n  iVar5 = FUN_00058130();\n  if (iVar5 == 0) {\n    iVar5 = local_40 * 0x10;\n    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);\n    iVar6 = FUN_00057f20(0,uVar2);\n    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }\n  }\n  FUN_00024d80();\nLAB_000aebf0:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000f4bf0();\n}\n\n" (function_definition "void FUN_000ae810(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int extraout_ECX;\n  int unaff_EDI;\n  byte *pbVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  uint local_40;\n  int *local_24;\n  int local_20;\n  \n  bVar15 = 0;\n  uVar16 = FUN_000196fd();\n  piVar3 = (int *)uVar16;\n  iVar11 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)) {\n    local_40 = FUN_000580a0(&local_24);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pbVar4 = (byte *)FUN_00027240();\n    if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }\n  }\n  else {\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }\n  iVar5 = local_24[1];\n  piVar3[0x2c] = *local_24;\n  piVar3[0x2d] = iVar5;\n  if (pbVar4 == (byte *)0x0) goto LAB_000aebf0;\n  iVar5 = FUN_00058130();\n  if (iVar5 == 0) {\n    iVar5 = local_40 * 0x10;\n    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);\n    iVar6 = FUN_00057f20(0,uVar2);\n    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }\n  }\n  FUN_00024d80();\nLAB_000aebf0:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000f4bf0();\n}" primitive_type (function_declarator "FUN_000ae810(int param_1,int param_2,int param_3,int param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,int param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int extraout_ECX;\n  int unaff_EDI;\n  byte *pbVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  uint local_40;\n  int *local_24;\n  int local_20;\n  \n  bVar15 = 0;\n  uVar16 = FUN_000196fd();\n  piVar3 = (int *)uVar16;\n  iVar11 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)) {\n    local_40 = FUN_000580a0(&local_24);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pbVar4 = (byte *)FUN_00027240();\n    if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }\n  }\n  else {\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }\n  iVar5 = local_24[1];\n  piVar3[0x2c] = *local_24;\n  piVar3[0x2d] = iVar5;\n  if (pbVar4 == (byte *)0x0) goto LAB_000aebf0;\n  iVar5 = FUN_00058130();\n  if (iVar5 == 0) {\n    iVar5 = local_40 * 0x10;\n    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);\n    iVar6 = FUN_00057f20(0,uVar2);\n    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }\n  }\n  FUN_00024d80();\nLAB_000aebf0:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000f4bf0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "bool bVar14;" primitive_type identifier ;) (declaration "byte bVar15;" type_identifier identifier ;) (declaration "undefined8 uVar16;" type_identifier identifier ;) (declaration "uint local_40;" type_identifier identifier ;) (declaration "int *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" identifier = number_literal) ;) (expression_statement "uVar16 = FUN_000196fd();" (assignment_expression "uVar16 = FUN_000196fd()" identifier = (call_expression "FUN_000196fd()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar3 = (int *)uVar16;" (assignment_expression "piVar3 = (int *)uVar16" identifier = (cast_expression "(int *)uVar16" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iVar11 = *piVar3;" (assignment_expression "iVar11 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)) {\n    local_40 = FUN_000580a0(&local_24);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pbVar4 = (byte *)FUN_00027240();\n    if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }\n  }\n  else {\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }" if (parenthesized_expression "((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1))" ( (binary_expression "(*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)" (parenthesized_expression "(*(char *)(iVar11 + 0xa1) == '\0')" ( (binary_expression "*(char *)(iVar11 + 0xa1) == '\0'" (pointer_expression "*(char *)(iVar11 + 0xa1)" * (cast_expression "(char *)(iVar11 + 0xa1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xa1)" ( (binary_expression "iVar11 + 0xa1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(*(int *)(iVar11 + 0x9c) != 1)" ( (binary_expression "*(int *)(iVar11 + 0x9c) != 1" (pointer_expression "*(int *)(iVar11 + 0x9c)" * (cast_expression "(int *)(iVar11 + 0x9c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x9c)" ( (binary_expression "iVar11 + 0x9c" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    local_40 = FUN_000580a0(&local_24);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pbVar4 = (byte *)FUN_00027240();\n    if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }\n  }" { (expression_statement "local_40 = FUN_000580a0(&local_24);" (assignment_expression "local_40 = FUN_000580a0(&local_24)" identifier = (call_expression "FUN_000580a0(&local_24)" identifier (argument_list "(&local_24)" ( (pointer_expression "&local_24" & identifier) )))) ;) (if_statement "if ((int)local_40 < 0) goto LAB_000aebf0;" if (parenthesized_expression "((int)local_40 < 0)" ( (binary_expression "(int)local_40 < 0" (cast_expression "(int)local_40" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_000aebf0;" goto statement_identifier ;)) (if_statement "if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }" { (if_statement "if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }" if (parenthesized_expression "((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1))" ( (binary_expression "(*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)" (parenthesized_expression "(*(int *)(extraout_ECX + 4) != 0)" ( (binary_expression "*(int *)(extraout_ECX + 4) != 0" (pointer_expression "*(int *)(extraout_ECX + 4)" * (cast_expression "(int *)(extraout_ECX + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(extraout_ECX + 4)" ( (binary_expression "extraout_ECX + 4" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(local_40 != 1)" ( (binary_expression "local_40 != 1" identifier != number_literal) ))) )) (compound_statement "{\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }" { (expression_statement "FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);" (call_expression "FUN_000578c0(piVar3,unaff_EDI + 0x55bc5)" identifier (argument_list "(piVar3,unaff_EDI + 0x55bc5)" ( identifier , (binary_expression "unaff_EDI + 0x55bc5" identifier + number_literal) ))) ;) (goto_statement "goto LAB_000aebf0;" goto statement_identifier ;) })) (expression_statement "local_40 = 1;" (assignment_expression "local_40 = 1" identifier = number_literal) ;) })) (expression_statement "pbVar4 = (byte *)FUN_00027240();" (assignment_expression "pbVar4 = (byte *)FUN_00027240()" identifier = (cast_expression "(byte *)FUN_00027240()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00027240()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }" if (parenthesized_expression "(1 < *(byte *)((int)piVar3 + 0xc6))" ( (binary_expression "1 < *(byte *)((int)piVar3 + 0xc6)" number_literal < (pointer_expression "*(byte *)((int)piVar3 + 0xc6)" * (cast_expression "(byte *)((int)piVar3 + 0xc6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + 0xc6)" ( (binary_expression "(int)piVar3 + 0xc6" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n      FUN_0002def0(local_24);\n    }" { (expression_statement "FUN_0002def0(local_24);" (call_expression "FUN_0002def0(local_24)" identifier (argument_list "(local_24)" ( identifier ))) ;) })) }) (else_clause "else {\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }" else (compound_statement "{\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }" { (expression_statement "local_40 = (uint)*(byte *)(iVar11 + 0xa0);" (assignment_expression "local_40 = (uint)*(byte *)(iVar11 + 0xa0)" identifier = (binary_expression "(uint)*(byte *)(iVar11 + 0xa0)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar11 + 0xa0)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xa0)" ( (binary_expression "iVar11 + 0xa0" identifier + number_literal) ))))) ;) (expression_statement "pbVar4 = (byte *)FUN_00027060();" (assignment_expression "pbVar4 = (byte *)FUN_00027060()" identifier = (cast_expression "(byte *)FUN_00027060()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00027060()" identifier (argument_list "()" ( ))))) ;) (expression_statement "local_24 = (int *)((ulonglong)uVar16 >> 0x20);" (assignment_expression "local_24 = (int *)((ulonglong)uVar16 >> 0x20)" identifier = (cast_expression "(int *)((ulonglong)uVar16 >> 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar16 >> 0x20)" ( (binary_expression "(ulonglong)uVar16 >> 0x20" (cast_expression "(ulonglong)uVar16" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) }))) (expression_statement "iVar5 = local_24[1];" (assignment_expression "iVar5 = local_24[1]" identifier = (subscript_expression "local_24[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[0x2c] = *local_24;" (assignment_expression "piVar3[0x2c] = *local_24" (subscript_expression "piVar3[0x2c]" identifier [ number_literal ]) = (pointer_expression "*local_24" * identifier)) ;) (expression_statement "piVar3[0x2d] = iVar5;" (assignment_expression "piVar3[0x2d] = iVar5" (subscript_expression "piVar3[0x2d]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (pbVar4 == (byte *)0x0) goto LAB_000aebf0;" if (parenthesized_expression "(pbVar4 == (byte *)0x0)" ( (binary_expression "pbVar4 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000aebf0;" goto statement_identifier ;)) (expression_statement "iVar5 = FUN_00058130();" (assignment_expression "iVar5 = FUN_00058130()" identifier = (call_expression "FUN_00058130()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == 0) {\n    iVar5 = local_40 * 0x10;\n    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);\n    iVar6 = FUN_00057f20(0,uVar2);\n    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = local_40 * 0x10;\n    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);\n    iVar6 = FUN_00057f20(0,uVar2);\n    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }\n  }" { (expression_statement "iVar5 = local_40 * 0x10;" (assignment_expression "iVar5 = local_40 * 0x10" identifier = (binary_expression "local_40 * 0x10" identifier * number_literal)) ;) (expression_statement "uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5)" * (cast_expression "(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar11 + 0x10) + iVar5)" ( (binary_expression "*(int *)(iVar11 + 0x10) + iVar5" (pointer_expression "*(int *)(iVar11 + 0x10)" * (cast_expression "(int *)(iVar11 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x10)" ( (binary_expression "iVar11 + 0x10" identifier + number_literal) )))) + identifier) ))))) ;) (expression_statement "iVar6 = FUN_00057f20(0,uVar2);" (assignment_expression "iVar6 = FUN_00057f20(0,uVar2)" identifier = (call_expression "FUN_00057f20(0,uVar2)" identifier (argument_list "(0,uVar2)" ( number_literal , identifier )))) ;) (if_statement "if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }" if (parenthesized_expression "((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0))))" ( (binary_expression "(iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) && (parenthesized_expression "((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))" ( (parenthesized_expression "(param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0))" ( (binary_expression "param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)" (binary_expression "param_3 != 0" identifier != number_literal) || (parenthesized_expression "(iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)" ( (comma_expression "iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0" (assignment_expression "iVar6 = FUN_00057f20(0,uVar2)" identifier = (call_expression "FUN_00057f20(0,uVar2)" identifier (argument_list "(0,uVar2)" ( number_literal , identifier )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) ))) )) (compound_statement "{\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }" { (if_statement "if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }" if (parenthesized_expression "(*(char *)((int)piVar3 + 0xc6) == '\0')" ( (binary_expression "*(char *)((int)piVar3 + 0xc6) == '\0'" (pointer_expression "*(char *)((int)piVar3 + 0xc6)" * (cast_expression "(char *)((int)piVar3 + 0xc6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + 0xc6)" ( (binary_expression "(int)piVar3 + 0xc6" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }" { (expression_statement "iVar6 = FUN_000ae7c0();" (assignment_expression "iVar6 = FUN_000ae7c0()" identifier = (call_expression "FUN_000ae7c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }" { (expression_statement "iVar6 = FUN_00027be0();" (assignment_expression "iVar6 = FUN_00027be0()" identifier = (call_expression "FUN_00027be0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }" { (expression_statement "iVar6 = FUN_0001c2c0();" (assignment_expression "iVar6 = FUN_0001c2c0()" identifier = (call_expression "FUN_0001c2c0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar6 == 0) goto LAB_000ae948;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000ae948;" goto statement_identifier ;)) (expression_statement "FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);" (call_expression "FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4)" identifier (argument_list "(piVar3,unaff_EDI + 0x55bf1,pbVar4)" ( identifier , (binary_expression "unaff_EDI + 0x55bf1" identifier + number_literal) , identifier ))) ;) }) (else_clause "else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }" else (if_statement "if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }" { (expression_statement "FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);" (call_expression "FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24)" identifier (argument_list "(piVar3,unaff_EDI + 0x491e4,local_24)" ( identifier , (binary_expression "unaff_EDI + 0x491e4" identifier + number_literal) , identifier ))) ;) }) (else_clause "else {\n            FUN_00087bd0();\n          }" else (compound_statement "{\n            FUN_00087bd0();\n          }" { (expression_statement "FUN_00087bd0();" (call_expression "FUN_00087bd0()" identifier (argument_list "()" ( ))) ;) }))))) })) }) (else_clause "else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }" else (compound_statement "{\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }" { (labeled_statement "LAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();" statement_identifier : (expression_statement "puVar7 = (undefined4 *)FUN_00026c00();" (assignment_expression "puVar7 = (undefined4 *)FUN_00026c00()" identifier = (cast_expression "(undefined4 *)FUN_00026c00()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00026c00()" identifier (argument_list "()" ( ))))) ;)) (if_statement "if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }" if (parenthesized_expression "(puVar7 != (undefined4 *)0x0)" ( (binary_expression "puVar7 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }" { (expression_statement "*puVar7 = pbVar4;" (assignment_expression "*puVar7 = pbVar4" (pointer_expression "*puVar7" * identifier) = identifier) ;) (expression_statement "*(undefined2 *)(puVar7 + 10) = 0xffff;" (assignment_expression "*(undefined2 *)(puVar7 + 10) = 0xffff" (pointer_expression "*(undefined2 *)(puVar7 + 10)" * (cast_expression "(undefined2 *)(puVar7 + 10)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 10)" ( (binary_expression "puVar7 + 10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5)" * (cast_expression "(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar11 + 0x10) + 0xc + iVar5)" ( (binary_expression "*(int *)(iVar11 + 0x10) + 0xc + iVar5" (binary_expression "*(int *)(iVar11 + 0x10) + 0xc" (pointer_expression "*(int *)(iVar11 + 0x10)" * (cast_expression "(int *)(iVar11 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x10)" ( (binary_expression "iVar11 + 0x10" identifier + number_literal) )))) + number_literal) + identifier) ))))) ;) (expression_statement "puVar7[8] = 1;" (assignment_expression "puVar7[8] = 1" (subscript_expression "puVar7[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar7[0x12] = uVar2;" (assignment_expression "puVar7[0x12] = uVar2" (subscript_expression "puVar7[0x12]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined2 *)(puVar7 + 0xb) = 200;" (assignment_expression "*(undefined2 *)(puVar7 + 0xb) = 200" (pointer_expression "*(undefined2 *)(puVar7 + 0xb)" * (cast_expression "(undefined2 *)(puVar7 + 0xb)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0xb)" ( (binary_expression "puVar7 + 0xb" identifier + number_literal) )))) = number_literal) ;) (expression_statement "bVar13 = false;" (assignment_expression "bVar13 = false" identifier = false) ;) (expression_statement "bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';" (assignment_expression "bVar14 = *(char *)((int)piVar3 + 0x12) == '\0'" identifier = (binary_expression "*(char *)((int)piVar3 + 0x12) == '\0'" (pointer_expression "*(char *)((int)piVar3 + 0x12)" * (cast_expression "(char *)((int)piVar3 + 0x12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + 0x12)" ( (binary_expression "(int)piVar3 + 0x12" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence '))) ;) (expression_statement "piVar3[0x38] = (int)puVar7;" (assignment_expression "piVar3[0x38] = (int)puVar7" (subscript_expression "piVar3[0x38]" identifier [ number_literal ]) = (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }" { (expression_statement "iVar6 = 0x10;" (assignment_expression "iVar6 = 0x10" identifier = number_literal) ;) (expression_statement "pbVar12 = (byte *)(unaff_EDI + 0x491fc);" (assignment_expression "pbVar12 = (byte *)(unaff_EDI + 0x491fc)" identifier = (cast_expression "(byte *)(unaff_EDI + 0x491fc)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x491fc)" ( (binary_expression "unaff_EDI + 0x491fc" identifier + number_literal) )))) ;) (do_statement "do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);" do (compound_statement "{\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            }" { (if_statement "if (iVar6 == 0) break;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar4 < *pbVar12;" (assignment_expression "bVar13 = *pbVar4 < *pbVar12" identifier = (binary_expression "*pbVar4 < *pbVar12" (pointer_expression "*pbVar4" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar4 == *pbVar12;" (assignment_expression "bVar14 = *pbVar4 == *pbVar12" identifier = (binary_expression "*pbVar4 == *pbVar12" (pointer_expression "*pbVar4" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar4 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar4 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }" if (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) (compound_statement "{\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }" { (expression_statement "*(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;" (assignment_expression "*(undefined4 **)(puVar7[0x12] + 0x48) = puVar7" (pointer_expression "*(undefined4 **)(puVar7[0x12] + 0x48)" * (cast_expression "(undefined4 **)(puVar7[0x12] + 0x48)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7[0x12] + 0x48)" ( (binary_expression "puVar7[0x12] + 0x48" (subscript_expression "puVar7[0x12]" identifier [ number_literal ]) + number_literal) )))) = identifier) ;) })) })) (if_statement "if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }" if (parenthesized_expression "((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0))))" ( (binary_expression "(*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))" (parenthesized_expression "(*(char *)(iVar11 + 0xa1) == '\0')" ( (binary_expression "*(char *)(iVar11 + 0xa1) == '\0'" (pointer_expression "*(char *)(iVar11 + 0xa1)" * (cast_expression "(char *)(iVar11 + 0xa1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xa1)" ( (binary_expression "iVar11 + 0xa1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))" ( (parenthesized_expression "(piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0))" ( (comma_expression "piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)" (assignment_expression "piVar10 = (int *)piVar3[2]" identifier = (cast_expression "(int *)piVar3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ]))) , (binary_expression "piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)" (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)" ( (comma_expression "piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0" (assignment_expression "piVar10 = (int *)FUN_000480a0()" identifier = (cast_expression "(int *)FUN_000480a0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000480a0()" identifier (argument_list "()" ( ))))) , (binary_expression "piVar10 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) )))) )) ))) )) (compound_statement "{\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }" { (expression_statement "FUN_00087c10();" (call_expression "FUN_00087c10()" identifier (argument_list "()" ( ))) ;) (if_statement "if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n              FUN_00047f90(0,0);\n            }" { (expression_statement "FUN_00047f90(0,0);" (call_expression "FUN_00047f90(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) })) (expression_statement "iVar8 = piVar3[0xb];" (assignment_expression "iVar8 = piVar3[0xb]" identifier = (subscript_expression "piVar3[0xb]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = iVar8 + 1;" (assignment_expression "iVar6 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "piVar3[0x16] = iVar6;" (assignment_expression "piVar3[0x16] = iVar6" (subscript_expression "piVar3[0x16]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar1 = iVar8 + 2;" (assignment_expression "iVar1 = iVar8 + 2" identifier = (binary_expression "iVar8 + 2" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar8 + 3;" (assignment_expression "iVar8 = iVar8 + 3" identifier = (binary_expression "iVar8 + 3" identifier + number_literal)) ;) (expression_statement "piVar3[0x17] = iVar1;" (assignment_expression "piVar3[0x17] = iVar1" (subscript_expression "piVar3[0x17]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[0xb] = iVar8;" (assignment_expression "piVar3[0xb] = iVar8" (subscript_expression "piVar3[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_00047f90(iVar8,2);" (call_expression "FUN_00047f90(iVar8,2)" identifier (argument_list "(iVar8,2)" ( identifier , number_literal ))) ;) (expression_statement "uVar9 = 1 << ((byte)local_40 & 0x1f);" (assignment_expression "uVar9 = 1 << ((byte)local_40 & 0x1f)" identifier = (binary_expression "1 << ((byte)local_40 & 0x1f)" number_literal << (parenthesized_expression "((byte)local_40 & 0x1f)" ( (binary_expression "(byte)local_40 & 0x1f" (cast_expression "(byte)local_40" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "piVar10[0x24] = piVar10[0x24] | uVar9;" (assignment_expression "piVar10[0x24] = piVar10[0x24] | uVar9" (subscript_expression "piVar10[0x24]" identifier [ number_literal ]) = (binary_expression "piVar10[0x24] | uVar9" (subscript_expression "piVar10[0x24]" identifier [ number_literal ]) | identifier)) ;) (if_statement "if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }" if (parenthesized_expression "((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0'))" ( (binary_expression "(local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')" (parenthesized_expression "(local_40 != 1)" ( (binary_expression "local_40 != 1" identifier != number_literal) )) && (parenthesized_expression "(*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')" ( (binary_expression "*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9)" * (cast_expression "(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9)" ( (binary_expression "*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9" (pointer_expression "*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5)" * (cast_expression "(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*piVar10 + 0x10) + 4 + iVar5)" ( (binary_expression "*(int *)(*piVar10 + 0x10) + 4 + iVar5" (binary_expression "*(int *)(*piVar10 + 0x10) + 4" (pointer_expression "*(int *)(*piVar10 + 0x10)" * (cast_expression "(int *)(*piVar10 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar10 + 0x10)" ( (binary_expression "*piVar10 + 0x10" (pointer_expression "*piVar10" * identifier) + number_literal) )))) + number_literal) + identifier) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }" { (expression_statement "piVar10[0x25] = piVar10[0x25] | uVar9;" (assignment_expression "piVar10[0x25] = piVar10[0x25] | uVar9" (subscript_expression "piVar10[0x25]" identifier [ number_literal ]) = (binary_expression "piVar10[0x25] | uVar9" (subscript_expression "piVar10[0x25]" identifier [ number_literal ]) | identifier)) ;) })) (expression_statement "iVar5 = FUN_00047f90(0,0);" (assignment_expression "iVar5 = FUN_00047f90(0,0)" identifier = (call_expression "FUN_00047f90(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal )))) ;) (expression_statement "FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);" (call_expression "FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1)" identifier (argument_list "(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1)" ( number_literal , (binary_expression "(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1" (parenthesized_expression "(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U)" ( (binary_expression "-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U" (unary_expression "-((*(uint *)(iVar11 + 0x1c) & 2) == 0)" - (parenthesized_expression "((*(uint *)(iVar11 + 0x1c) & 2) == 0)" ( (binary_expression "(*(uint *)(iVar11 + 0x1c) & 2) == 0" (parenthesized_expression "(*(uint *)(iVar11 + 0x1c) & 2)" ( (binary_expression "*(uint *)(iVar11 + 0x1c) & 2" (pointer_expression "*(uint *)(iVar11 + 0x1c)" * (cast_expression "(uint *)(iVar11 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x1c)" ( (binary_expression "iVar11 + 0x1c" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) & number_literal) )) + number_literal) ))) ;) (expression_statement "FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));" (call_expression "FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a))" identifier (argument_list "(5,*(undefined1 *)(iVar11 + 0x4a))" ( number_literal , (pointer_expression "*(undefined1 *)(iVar11 + 0x4a)" * (cast_expression "(undefined1 *)(iVar11 + 0x4a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x4a)" ( (binary_expression "iVar11 + 0x4a" identifier + number_literal) )))) ))) ;) (if_statement "if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n              iVar5 = piVar10[0x1a] + -1;\n            }" { (expression_statement "iVar5 = piVar10[0x1a] + -1;" (assignment_expression "iVar5 = piVar10[0x1a] + -1" identifier = (binary_expression "piVar10[0x1a] + -1" (subscript_expression "piVar10[0x1a]" identifier [ number_literal ]) + number_literal)) ;) })) (expression_statement "iVar11 = unaff_EDI + 0x9bd45;" (assignment_expression "iVar11 = unaff_EDI + 0x9bd45" identifier = (binary_expression "unaff_EDI + 0x9bd45" identifier + number_literal)) ;) (if_statement "if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }" if (parenthesized_expression "(*(char *)(*piVar10 + 0x4d) == '\0')" ( (binary_expression "*(char *)(*piVar10 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar10 + 0x4d)" * (cast_expression "(char *)(*piVar10 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar10 + 0x4d)" ( (binary_expression "*piVar10 + 0x4d" (pointer_expression "*piVar10" * identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }" { (expression_statement "iVar11 = piVar10[0x19] + iVar5 * 0x14;" (assignment_expression "iVar11 = piVar10[0x19] + iVar5 * 0x14" identifier = (binary_expression "piVar10[0x19] + iVar5 * 0x14" (subscript_expression "piVar10[0x19]" identifier [ number_literal ]) + (binary_expression "iVar5 * 0x14" identifier * number_literal))) ;) })) (expression_statement "*(int *)(iVar11 + 8) = piVar10[0x1a];" (assignment_expression "*(int *)(iVar11 + 8) = piVar10[0x1a]" (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) = (subscript_expression "piVar10[0x1a]" identifier [ number_literal ])) ;) (if_statement "if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }" if (parenthesized_expression "(param_3 == 0 && param_2 == 0)" ( (binary_expression "param_3 == 0 && param_2 == 0" (binary_expression "param_3 == 0" identifier == number_literal) && (binary_expression "param_2 == 0" identifier == number_literal)) )) (compound_statement "{\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }" { (expression_statement "iVar11 = FUN_00047f90(iVar1,1);" (assignment_expression "iVar11 = FUN_00047f90(iVar1,1)" identifier = (call_expression "FUN_00047f90(iVar1,1)" identifier (argument_list "(iVar1,1)" ( identifier , number_literal )))) ;) (expression_statement "piVar3[0x1f] = iVar11;" (assignment_expression "piVar3[0x1f] = iVar11" (subscript_expression "piVar3[0x1f]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n              FUN_00047f90(iVar1,0);\n            }" else (compound_statement "{\n              FUN_00047f90(iVar1,0);\n            }" { (expression_statement "FUN_00047f90(iVar1,0);" (call_expression "FUN_00047f90(iVar1,0)" identifier (argument_list "(iVar1,0)" ( identifier , number_literal ))) ;) }))) (if_statement "if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }" if (parenthesized_expression "(piVar3[2] == 0)" ( (binary_expression "piVar3[2] == 0" (subscript_expression "piVar3[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n              FUN_000480a0();\n            }" { (expression_statement "FUN_000480a0();" (call_expression "FUN_000480a0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00047c10(1,unaff_EDI + 0x46e08);" (call_expression "FUN_00047c10(1,unaff_EDI + 0x46e08)" identifier (argument_list "(1,unaff_EDI + 0x46e08)" ( number_literal , (binary_expression "unaff_EDI + 0x46e08" identifier + number_literal) ))) ;) (expression_statement "FUN_00048130(1,local_40,5);" (call_expression "FUN_00048130(1,local_40,5)" identifier (argument_list "(1,local_40,5)" ( number_literal , identifier , number_literal ))) ;) (if_statement "if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }" if (parenthesized_expression "(piVar3[10] == 0)" ( (binary_expression "piVar3[10] == 0" (subscript_expression "piVar3[10]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n              piVar3[10] = 1;\n            }" { (expression_statement "piVar3[10] = 1;" (assignment_expression "piVar3[10] = 1" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = number_literal) ;) })) (expression_statement "FUN_00047f90(iVar6,0);" (call_expression "FUN_00047f90(iVar6,0)" identifier (argument_list "(iVar6,0)" ( identifier , number_literal ))) ;) (expression_statement "FUN_00047f90(iVar8,0);" (call_expression "FUN_00047f90(iVar8,0)" identifier (argument_list "(iVar8,0)" ( identifier , number_literal ))) ;) (expression_statement "FUN_000358a0(0xffffffff);" (call_expression "FUN_000358a0(0xffffffff)" identifier (argument_list "(0xffffffff)" ( number_literal ))) ;) (expression_statement "FUN_00047f90(iVar8,iVar6);" (call_expression "FUN_00047f90(iVar8,iVar6)" identifier (argument_list "(iVar8,iVar6)" ( identifier , identifier ))) ;) (if_statement "if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }" if (parenthesized_expression "(0 < piVar10[0x1a])" ( (binary_expression "0 < piVar10[0x1a]" number_literal < (subscript_expression "piVar10[0x1a]" identifier [ number_literal ])) )) (compound_statement "{\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }" { (expression_statement "*(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;" (assignment_expression "*(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8" (pointer_expression "*(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12)" * (cast_expression "(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12)" ( (binary_expression "piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12" (binary_expression "piVar10[0x19] + piVar10[0x1a] * 0x14" (subscript_expression "piVar10[0x19]" identifier [ number_literal ]) + (binary_expression "piVar10[0x1a] * 0x14" (subscript_expression "piVar10[0x1a]" identifier [ number_literal ]) * number_literal)) + number_literal) )))) = number_literal) ;) })) (expression_statement "FUN_00047f90(0,0);" (call_expression "FUN_00047f90(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) })) (goto_statement "goto LAB_000aebf0;" goto statement_identifier ;) })) (expression_statement "piVar3[3] = 7;" (assignment_expression "piVar3[3] = 7" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[9] = piVar3[9] + 1;" (assignment_expression "piVar3[9] = piVar3[9] + 1" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = (binary_expression "piVar3[9] + 1" (subscript_expression "piVar3[9]" identifier [ number_literal ]) + number_literal)) ;) }))) })) })) (expression_statement "FUN_00024d80();" (call_expression "FUN_00024d80()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_000aebf0:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) }))) (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) ))) )) (compound_statement { (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) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))))) })) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + IDENT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence '))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) = IDENT) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) , (binary_expression (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )))) )) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + LIT) + IDENT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) | IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) ))) & LIT) )) + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT)) + LIT) )))) = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT ))) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) }))) })) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_000ae810(int param_1,int param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int extraout_ECX;\n  int unaff_EDI;\n  byte *pbVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  uint local_40;\n  int *local_24;\n  int local_20;\n  \n  bVar15 = 0;\n  uVar16 = FUN_000196fd();\n  piVar3 = (int *)uVar16;\n  iVar11 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)) {\n    local_40 = FUN_000580a0(&local_24);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pbVar4 = (byte *)FUN_00027240();\n    if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }\n  }\n  else {\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }\n  iVar5 = local_24[1];\n  piVar3[0x2c] = *local_24;\n  piVar3[0x2d] = iVar5;\n  if (pbVar4 == (byte *)0x0) goto LAB_000aebf0;\n  iVar5 = FUN_00058130();\n  if (iVar5 == 0) {\n    iVar5 = local_40 * 0x10;\n    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);\n    iVar6 = FUN_00057f20(0,uVar2);\n    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }\n  }\n  FUN_00024d80();\nLAB_000aebf0:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000f4bf0();\n}" (primitive_type "void") (function_declarator "FUN_000ae810(int param_1,int param_2,int param_3,int param_4)" (identifier "FUN_000ae810") (parameter_list "(int param_1,int param_2,int param_3,int param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  byte *pbVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  uint uVar9;\n  int *piVar10;\n  int iVar11;\n  int extraout_ECX;\n  int unaff_EDI;\n  byte *pbVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  uint local_40;\n  int *local_24;\n  int local_20;\n  \n  bVar15 = 0;\n  uVar16 = FUN_000196fd();\n  piVar3 = (int *)uVar16;\n  iVar11 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)) {\n    local_40 = FUN_000580a0(&local_24);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pbVar4 = (byte *)FUN_00027240();\n    if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }\n  }\n  else {\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }\n  iVar5 = local_24[1];\n  piVar3[0x2c] = *local_24;\n  piVar3[0x2d] = iVar5;\n  if (pbVar4 == (byte *)0x0) goto LAB_000aebf0;\n  iVar5 = FUN_00058130();\n  if (iVar5 == 0) {\n    iVar5 = local_40 * 0x10;\n    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);\n    iVar6 = FUN_00057f20(0,uVar2);\n    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }\n  }\n  FUN_00024d80();\nLAB_000aebf0:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000f4bf0();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int extraout_ECX;" (primitive_type "int") (identifier "extraout_ECX") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "byte *pbVar12;" (type_identifier "byte") (pointer_declarator "*pbVar12" (* "*") (identifier "pbVar12")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar13;" (primitive_type "bool") (identifier "bVar13") (; ";")) (declaration "bool bVar14;" (primitive_type "bool") (identifier "bVar14") (; ";")) (declaration "byte bVar15;" (type_identifier "byte") (identifier "bVar15") (; ";")) (declaration "undefined8 uVar16;" (type_identifier "undefined8") (identifier "uVar16") (; ";")) (declaration "uint local_40;" (type_identifier "uint") (identifier "local_40") (; ";")) (declaration "int *local_24;" (primitive_type "int") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" (identifier "bVar15") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar16 = FUN_000196fd();" (assignment_expression "uVar16 = FUN_000196fd()" (identifier "uVar16") (= "=") (call_expression "FUN_000196fd()" (identifier "FUN_000196fd") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "piVar3 = (int *)uVar16;" (assignment_expression "piVar3 = (int *)uVar16" (identifier "piVar3") (= "=") (cast_expression "(int *)uVar16" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar16"))) (; ";")) (expression_statement "iVar11 = *piVar3;" (assignment_expression "iVar11 = *piVar3" (identifier "iVar11") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)) {\n    local_40 = FUN_000580a0(&local_24);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pbVar4 = (byte *)FUN_00027240();\n    if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }\n  }\n  else {\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }" (if "if") (parenthesized_expression "((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1))" (( "(") (binary_expression "(*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)" (parenthesized_expression "(*(char *)(iVar11 + 0xa1) == '\0')" (( "(") (binary_expression "*(char *)(iVar11 + 0xa1) == '\0'" (pointer_expression "*(char *)(iVar11 + 0xa1)" (* "*") (cast_expression "(char *)(iVar11 + 0xa1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0xa1)" (( "(") (binary_expression "iVar11 + 0xa1" (identifier "iVar11") (+ "+") (number_literal "0xa1")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(*(int *)(iVar11 + 0x9c) != 1)" (( "(") (binary_expression "*(int *)(iVar11 + 0x9c) != 1" (pointer_expression "*(int *)(iVar11 + 0x9c)" (* "*") (cast_expression "(int *)(iVar11 + 0x9c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x9c)" (( "(") (binary_expression "iVar11 + 0x9c" (identifier "iVar11") (+ "+") (number_literal "0x9c")) () ")")))) (!= "!=") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n    local_40 = FUN_000580a0(&local_24);\n    if ((int)local_40 < 0) goto LAB_000aebf0;\n    if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }\n    pbVar4 = (byte *)FUN_00027240();\n    if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }\n  }" ({ "{") (expression_statement "local_40 = FUN_000580a0(&local_24);" (assignment_expression "local_40 = FUN_000580a0(&local_24)" (identifier "local_40") (= "=") (call_expression "FUN_000580a0(&local_24)" (identifier "FUN_000580a0") (argument_list "(&local_24)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (; ";")) (if_statement "if ((int)local_40 < 0) goto LAB_000aebf0;" (if "if") (parenthesized_expression "((int)local_40 < 0)" (( "(") (binary_expression "(int)local_40 < 0" (cast_expression "(int)local_40" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_40")) (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_000aebf0;" (goto "goto") (statement_identifier "LAB_000aebf0") (; ";"))) (if_statement "if (param_1 != 0) {\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }\n      local_40 = 1;\n    }" ({ "{") (if_statement "if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }" (if "if") (parenthesized_expression "((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1))" (( "(") (binary_expression "(*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)" (parenthesized_expression "(*(int *)(extraout_ECX + 4) != 0)" (( "(") (binary_expression "*(int *)(extraout_ECX + 4) != 0" (pointer_expression "*(int *)(extraout_ECX + 4)" (* "*") (cast_expression "(int *)(extraout_ECX + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(extraout_ECX + 4)" (( "(") (binary_expression "extraout_ECX + 4" (identifier "extraout_ECX") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(local_40 != 1)" (( "(") (binary_expression "local_40 != 1" (identifier "local_40") (!= "!=") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);\n        goto LAB_000aebf0;\n      }" ({ "{") (expression_statement "FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);" (call_expression "FUN_000578c0(piVar3,unaff_EDI + 0x55bc5)" (identifier "FUN_000578c0") (argument_list "(piVar3,unaff_EDI + 0x55bc5)" (( "(") (identifier "piVar3") (, ",") (binary_expression "unaff_EDI + 0x55bc5" (identifier "unaff_EDI") (+ "+") (number_literal "0x55bc5")) () ")"))) (; ";")) (goto_statement "goto LAB_000aebf0;" (goto "goto") (statement_identifier "LAB_000aebf0") (; ";")) (} "}"))) (expression_statement "local_40 = 1;" (assignment_expression "local_40 = 1" (identifier "local_40") (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "pbVar4 = (byte *)FUN_00027240();" (assignment_expression "pbVar4 = (byte *)FUN_00027240()" (identifier "pbVar4") (= "=") (cast_expression "(byte *)FUN_00027240()" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00027240()" (identifier "FUN_00027240") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (1 < *(byte *)((int)piVar3 + 0xc6)) {\n      FUN_0002def0(local_24);\n    }" (if "if") (parenthesized_expression "(1 < *(byte *)((int)piVar3 + 0xc6))" (( "(") (binary_expression "1 < *(byte *)((int)piVar3 + 0xc6)" (number_literal "1") (< "<") (pointer_expression "*(byte *)((int)piVar3 + 0xc6)" (* "*") (cast_expression "(byte *)((int)piVar3 + 0xc6)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar3 + 0xc6)" (( "(") (binary_expression "(int)piVar3 + 0xc6" (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3")) (+ "+") (number_literal "0xc6")) () ")"))))) () ")")) (compound_statement "{\n      FUN_0002def0(local_24);\n    }" ({ "{") (expression_statement "FUN_0002def0(local_24);" (call_expression "FUN_0002def0(local_24)" (identifier "FUN_0002def0") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }" (else "else") (compound_statement "{\n    local_40 = (uint)*(byte *)(iVar11 + 0xa0);\n    pbVar4 = (byte *)FUN_00027060();\n    local_24 = (int *)((ulonglong)uVar16 >> 0x20);\n  }" ({ "{") (expression_statement "local_40 = (uint)*(byte *)(iVar11 + 0xa0);" (assignment_expression "local_40 = (uint)*(byte *)(iVar11 + 0xa0)" (identifier "local_40") (= "=") (binary_expression "(uint)*(byte *)(iVar11 + 0xa0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar11 + 0xa0)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0xa0)" (( "(") (binary_expression "iVar11 + 0xa0" (identifier "iVar11") (+ "+") (number_literal "0xa0")) () ")"))))) (; ";")) (expression_statement "pbVar4 = (byte *)FUN_00027060();" (assignment_expression "pbVar4 = (byte *)FUN_00027060()" (identifier "pbVar4") (= "=") (cast_expression "(byte *)FUN_00027060()" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00027060()" (identifier "FUN_00027060") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "local_24 = (int *)((ulonglong)uVar16 >> 0x20);" (assignment_expression "local_24 = (int *)((ulonglong)uVar16 >> 0x20)" (identifier "local_24") (= "=") (cast_expression "(int *)((ulonglong)uVar16 >> 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulonglong)uVar16 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar16 >> 0x20" (cast_expression "(ulonglong)uVar16" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar16")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (} "}")))) (expression_statement "iVar5 = local_24[1];" (assignment_expression "iVar5 = local_24[1]" (identifier "iVar5") (= "=") (subscript_expression "local_24[1]" (identifier "local_24") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar3[0x2c] = *local_24;" (assignment_expression "piVar3[0x2c] = *local_24" (subscript_expression "piVar3[0x2c]" (identifier "piVar3") ([ "[") (number_literal "0x2c") (] "]")) (= "=") (pointer_expression "*local_24" (* "*") (identifier "local_24"))) (; ";")) (expression_statement "piVar3[0x2d] = iVar5;" (assignment_expression "piVar3[0x2d] = iVar5" (subscript_expression "piVar3[0x2d]" (identifier "piVar3") ([ "[") (number_literal "0x2d") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (pbVar4 == (byte *)0x0) goto LAB_000aebf0;" (if "if") (parenthesized_expression "(pbVar4 == (byte *)0x0)" (( "(") (binary_expression "pbVar4 == (byte *)0x0" (identifier "pbVar4") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000aebf0;" (goto "goto") (statement_identifier "LAB_000aebf0") (; ";"))) (expression_statement "iVar5 = FUN_00058130();" (assignment_expression "iVar5 = FUN_00058130()" (identifier "iVar5") (= "=") (call_expression "FUN_00058130()" (identifier "FUN_00058130") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n    iVar5 = local_40 * 0x10;\n    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);\n    iVar6 = FUN_00057f20(0,uVar2);\n    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar5 = local_40 * 0x10;\n    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);\n    iVar6 = FUN_00057f20(0,uVar2);\n    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar5 = local_40 * 0x10;" (assignment_expression "iVar5 = local_40 * 0x10" (identifier "iVar5") (= "=") (binary_expression "local_40 * 0x10" (identifier "local_40") (* "*") (number_literal "0x10"))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar11 + 0x10) + iVar5)" (( "(") (binary_expression "*(int *)(iVar11 + 0x10) + iVar5" (pointer_expression "*(int *)(iVar11 + 0x10)" (* "*") (cast_expression "(int *)(iVar11 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x10)" (( "(") (binary_expression "iVar11 + 0x10" (identifier "iVar11") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (identifier "iVar5")) () ")"))))) (; ";")) (expression_statement "iVar6 = FUN_00057f20(0,uVar2);" (assignment_expression "iVar6 = FUN_00057f20(0,uVar2)" (identifier "iVar6") (= "=") (call_expression "FUN_00057f20(0,uVar2)" (identifier "FUN_00057f20") (argument_list "(0,uVar2)" (( "(") (number_literal "0") (, ",") (identifier "uVar2") () ")")))) (; ";")) (if_statement "if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }" (if "if") (parenthesized_expression "((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0))))" (( "(") (binary_expression "(iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))" (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))" (( "(") (parenthesized_expression "(param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0))" (( "(") (binary_expression "param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)" (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)" (( "(") (comma_expression "iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0" (assignment_expression "iVar6 = FUN_00057f20(0,uVar2)" (identifier "iVar6") (= "=") (call_expression "FUN_00057f20(0,uVar2)" (identifier "FUN_00057f20") (argument_list "(0,uVar2)" (( "(") (number_literal "0") (, ",") (identifier "uVar2") () ")")))) (, ",") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }\n    }" ({ "{") (if_statement "if (*(char *)((int)piVar3 + 0xc6) == '\0') {\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }\n      else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }" (if "if") (parenthesized_expression "(*(char *)((int)piVar3 + 0xc6) == '\0')" (( "(") (binary_expression "*(char *)((int)piVar3 + 0xc6) == '\0'" (pointer_expression "*(char *)((int)piVar3 + 0xc6)" (* "*") (cast_expression "(char *)((int)piVar3 + 0xc6)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar3 + 0xc6)" (( "(") (binary_expression "(int)piVar3 + 0xc6" (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3")) (+ "+") (number_literal "0xc6")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar6 = FUN_000ae7c0();\n        if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }\n      }" ({ "{") (expression_statement "iVar6 = FUN_000ae7c0();" (assignment_expression "iVar6 = FUN_000ae7c0()" (identifier "iVar6") (= "=") (call_expression "FUN_000ae7c0()" (identifier "FUN_000ae7c0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar6 = FUN_00027be0();\n          if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }\n        }" ({ "{") (expression_statement "iVar6 = FUN_00027be0();" (assignment_expression "iVar6 = FUN_00027be0()" (identifier "iVar6") (= "=") (call_expression "FUN_00027be0()" (identifier "FUN_00027be0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }\n          else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            iVar6 = FUN_0001c2c0();\n            if (iVar6 == 0) goto LAB_000ae948;\n            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);\n          }" ({ "{") (expression_statement "iVar6 = FUN_0001c2c0();" (assignment_expression "iVar6 = FUN_0001c2c0()" (identifier "iVar6") (= "=") (call_expression "FUN_0001c2c0()" (identifier "FUN_0001c2c0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) goto LAB_000ae948;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000ae948;" (goto "goto") (statement_identifier "LAB_000ae948") (; ";"))) (expression_statement "FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);" (call_expression "FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4)" (identifier "FUN_000578c0") (argument_list "(piVar3,unaff_EDI + 0x55bf1,pbVar4)" (( "(") (identifier "piVar3") (, ",") (binary_expression "unaff_EDI + 0x55bf1" (identifier "unaff_EDI") (+ "+") (number_literal "0x55bf1")) (, ",") (identifier "pbVar4") () ")"))) (; ";")) (} "}")) (else_clause "else if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }" (else "else") (if_statement "if (param_4 == 0) {\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }\n          else {\n            FUN_00087bd0();\n          }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);\n          }" ({ "{") (expression_statement "FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);" (call_expression "FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24)" (identifier "FUN_000578c0") (argument_list "(piVar3,unaff_EDI + 0x491e4,local_24)" (( "(") (identifier "piVar3") (, ",") (binary_expression "unaff_EDI + 0x491e4" (identifier "unaff_EDI") (+ "+") (number_literal "0x491e4")) (, ",") (identifier "local_24") () ")"))) (; ";")) (} "}")) (else_clause "else {\n            FUN_00087bd0();\n          }" (else "else") (compound_statement "{\n            FUN_00087bd0();\n          }" ({ "{") (expression_statement "FUN_00087bd0();" (call_expression "FUN_00087bd0()" (identifier "FUN_00087bd0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))))) (} "}"))) (} "}")) (else_clause "else {\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }" (else "else") (compound_statement "{\nLAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();\n        if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }\n        piVar3[3] = 7;\n        piVar3[9] = piVar3[9] + 1;\n      }" ({ "{") (labeled_statement "LAB_000ae948:\n        puVar7 = (undefined4 *)FUN_00026c00();" (statement_identifier "LAB_000ae948") (: ":") (expression_statement "puVar7 = (undefined4 *)FUN_00026c00();" (assignment_expression "puVar7 = (undefined4 *)FUN_00026c00()" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)FUN_00026c00()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00026c00()" (identifier "FUN_00026c00") (argument_list "()" (( "(") () ")"))))) (; ";"))) (if_statement "if (puVar7 != (undefined4 *)0x0) {\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }" (if "if") (parenthesized_expression "(puVar7 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar7 != (undefined4 *)0x0" (identifier "puVar7") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          *puVar7 = pbVar4;\n          *(undefined2 *)(puVar7 + 10) = 0xffff;\n          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);\n          puVar7[8] = 1;\n          puVar7[0x12] = uVar2;\n          *(undefined2 *)(puVar7 + 0xb) = 200;\n          bVar13 = false;\n          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';\n          piVar3[0x38] = (int)puVar7;\n          if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }\n          if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }\n          goto LAB_000aebf0;\n        }" ({ "{") (expression_statement "*puVar7 = pbVar4;" (assignment_expression "*puVar7 = pbVar4" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (identifier "pbVar4")) (; ";")) (expression_statement "*(undefined2 *)(puVar7 + 10) = 0xffff;" (assignment_expression "*(undefined2 *)(puVar7 + 10) = 0xffff" (pointer_expression "*(undefined2 *)(puVar7 + 10)" (* "*") (cast_expression "(undefined2 *)(puVar7 + 10)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 10)" (( "(") (binary_expression "puVar7 + 10" (identifier "puVar7") (+ "+") (number_literal "10")) () ")")))) (= "=") (number_literal "0xffff")) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar11 + 0x10) + 0xc + iVar5)" (( "(") (binary_expression "*(int *)(iVar11 + 0x10) + 0xc + iVar5" (binary_expression "*(int *)(iVar11 + 0x10) + 0xc" (pointer_expression "*(int *)(iVar11 + 0x10)" (* "*") (cast_expression "(int *)(iVar11 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x10)" (( "(") (binary_expression "iVar11 + 0x10" (identifier "iVar11") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0xc")) (+ "+") (identifier "iVar5")) () ")"))))) (; ";")) (expression_statement "puVar7[8] = 1;" (assignment_expression "puVar7[8] = 1" (subscript_expression "puVar7[8]" (identifier "puVar7") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar7[0x12] = uVar2;" (assignment_expression "puVar7[0x12] = uVar2" (subscript_expression "puVar7[0x12]" (identifier "puVar7") ([ "[") (number_literal "0x12") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined2 *)(puVar7 + 0xb) = 200;" (assignment_expression "*(undefined2 *)(puVar7 + 0xb) = 200" (pointer_expression "*(undefined2 *)(puVar7 + 0xb)" (* "*") (cast_expression "(undefined2 *)(puVar7 + 0xb)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0xb)" (( "(") (binary_expression "puVar7 + 0xb" (identifier "puVar7") (+ "+") (number_literal "0xb")) () ")")))) (= "=") (number_literal "200")) (; ";")) (expression_statement "bVar13 = false;" (assignment_expression "bVar13 = false" (identifier "bVar13") (= "=") (false "false")) (; ";")) (expression_statement "bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';" (assignment_expression "bVar14 = *(char *)((int)piVar3 + 0x12) == '\0'" (identifier "bVar14") (= "=") (binary_expression "*(char *)((int)piVar3 + 0x12) == '\0'" (pointer_expression "*(char *)((int)piVar3 + 0x12)" (* "*") (cast_expression "(char *)((int)piVar3 + 0x12)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar3 + 0x12)" (( "(") (binary_expression "(int)piVar3 + 0x12" (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3")) (+ "+") (number_literal "0x12")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) (; ";")) (expression_statement "piVar3[0x38] = (int)puVar7;" (assignment_expression "piVar3[0x38] = (int)puVar7" (subscript_expression "piVar3[0x38]" (identifier "piVar3") ([ "[") (number_literal "0x38") (] "]")) (= "=") (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7"))) (; ";")) (if_statement "if (bVar14) {\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }" (if "if") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (compound_statement "{\n            iVar6 = 0x10;\n            pbVar12 = (byte *)(unaff_EDI + 0x491fc);\n            do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);\n            if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }\n          }" ({ "{") (expression_statement "iVar6 = 0x10;" (assignment_expression "iVar6 = 0x10" (identifier "iVar6") (= "=") (number_literal "0x10")) (; ";")) (expression_statement "pbVar12 = (byte *)(unaff_EDI + 0x491fc);" (assignment_expression "pbVar12 = (byte *)(unaff_EDI + 0x491fc)" (identifier "pbVar12") (= "=") (cast_expression "(byte *)(unaff_EDI + 0x491fc)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x491fc)" (( "(") (binary_expression "unaff_EDI + 0x491fc" (identifier "unaff_EDI") (+ "+") (number_literal "0x491fc")) () ")")))) (; ";")) (do_statement "do {\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            } while (bVar14);" (do "do") (compound_statement "{\n              if (iVar6 == 0) break;\n              iVar6 = iVar6 + -1;\n              bVar13 = *pbVar4 < *pbVar12;\n              bVar14 = *pbVar4 == *pbVar12;\n              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;\n              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n            }" ({ "{") (if_statement "if (iVar6 == 0) break;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar13 = *pbVar4 < *pbVar12;" (assignment_expression "bVar13 = *pbVar4 < *pbVar12" (identifier "bVar13") (= "=") (binary_expression "*pbVar4 < *pbVar12" (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")) (< "<") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (; ";")) (expression_statement "bVar14 = *pbVar4 == *pbVar12;" (assignment_expression "bVar14 = *pbVar4 == *pbVar12" (identifier "bVar14") (= "=") (binary_expression "*pbVar4 == *pbVar12" (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")) (== "==") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (; ";")) (expression_statement "pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar4 + (uint)bVar15 * -2" (identifier "pbVar4") (+ "+") (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar15")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" (identifier "pbVar12") (+ "+") (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar15")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (; ";")) (if_statement "if ((!bVar13 && !bVar14) == bVar13) {\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }" (if "if") (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" (( "(") (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" (( "(") (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" (! "!") (identifier "bVar13")) (&& "&&") (unary_expression "!bVar14" (! "!") (identifier "bVar14"))) () ")")) (== "==") (identifier "bVar13")) () ")")) (compound_statement "{\n              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;\n            }" ({ "{") (expression_statement "*(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;" (assignment_expression "*(undefined4 **)(puVar7[0x12] + 0x48) = puVar7" (pointer_expression "*(undefined4 **)(puVar7[0x12] + 0x48)" (* "*") (cast_expression "(undefined4 **)(puVar7[0x12] + 0x48)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7[0x12] + 0x48)" (( "(") (binary_expression "puVar7[0x12] + 0x48" (subscript_expression "puVar7[0x12]" (identifier "puVar7") ([ "[") (number_literal "0x12") (] "]")) (+ "+") (number_literal "0x48")) () ")")))) (= "=") (identifier "puVar7")) (; ";")) (} "}"))) (} "}"))) (if_statement "if ((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }" (if "if") (parenthesized_expression "((*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0))))" (( "(") (binary_expression "(*(char *)(iVar11 + 0xa1) == '\0') &&\n             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))" (parenthesized_expression "(*(char *)(iVar11 + 0xa1) == '\0')" (( "(") (binary_expression "*(char *)(iVar11 + 0xa1) == '\0'" (pointer_expression "*(char *)(iVar11 + 0xa1)" (* "*") (cast_expression "(char *)(iVar11 + 0xa1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0xa1)" (( "(") (binary_expression "iVar11 + 0xa1" (identifier "iVar11") (+ "+") (number_literal "0xa1")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))" (( "(") (parenthesized_expression "(piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0))" (( "(") (comma_expression "piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)" (assignment_expression "piVar10 = (int *)piVar3[2]" (identifier "piVar10") (= "=") (cast_expression "(int *)piVar3[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")))) (, ",") (binary_expression "piVar10 != (int *)0x0 ||\n              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)" (binary_expression "piVar10 != (int *)0x0" (identifier "piVar10") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (|| "||") (parenthesized_expression "(piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)" (( "(") (comma_expression "piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0" (assignment_expression "piVar10 = (int *)FUN_000480a0()" (identifier "piVar10") (= "=") (cast_expression "(int *)FUN_000480a0()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000480a0()" (identifier "FUN_000480a0") (argument_list "()" (( "(") () ")"))))) (, ",") (binary_expression "piVar10 != (int *)0x0" (identifier "piVar10") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n            FUN_00087c10();\n            if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }\n            iVar8 = piVar3[0xb];\n            iVar6 = iVar8 + 1;\n            piVar3[0x16] = iVar6;\n            iVar1 = iVar8 + 2;\n            iVar8 = iVar8 + 3;\n            piVar3[0x17] = iVar1;\n            piVar3[0xb] = iVar8;\n            FUN_00047f90(iVar8,2);\n            uVar9 = 1 << ((byte)local_40 & 0x1f);\n            piVar10[0x24] = piVar10[0x24] | uVar9;\n            if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }\n            iVar5 = FUN_00047f90(0,0);\n            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);\n            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));\n            if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }\n            iVar11 = unaff_EDI + 0x9bd45;\n            if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }\n            *(int *)(iVar11 + 8) = piVar10[0x1a];\n            if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }\n            if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }\n            FUN_00047c10(1,unaff_EDI + 0x46e08);\n            FUN_00048130(1,local_40,5);\n            if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }\n            FUN_00047f90(iVar6,0);\n            FUN_00047f90(iVar8,0);\n            FUN_000358a0(0xffffffff);\n            FUN_00047f90(iVar8,iVar6);\n            if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }\n            FUN_00047f90(0,0);\n          }" ({ "{") (expression_statement "FUN_00087c10();" (call_expression "FUN_00087c10()" (identifier "FUN_00087c10") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (param_3 != 0) {\n              FUN_00047f90(0,0);\n            }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              FUN_00047f90(0,0);\n            }" ({ "{") (expression_statement "FUN_00047f90(0,0);" (call_expression "FUN_00047f90(0,0)" (identifier "FUN_00047f90") (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar8 = piVar3[0xb];" (assignment_expression "iVar8 = piVar3[0xb]" (identifier "iVar8") (= "=") (subscript_expression "piVar3[0xb]" (identifier "piVar3") ([ "[") (number_literal "0xb") (] "]"))) (; ";")) (expression_statement "iVar6 = iVar8 + 1;" (assignment_expression "iVar6 = iVar8 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar3[0x16] = iVar6;" (assignment_expression "piVar3[0x16] = iVar6" (subscript_expression "piVar3[0x16]" (identifier "piVar3") ([ "[") (number_literal "0x16") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "iVar1 = iVar8 + 2;" (assignment_expression "iVar1 = iVar8 + 2" (identifier "iVar1") (= "=") (binary_expression "iVar8 + 2" (identifier "iVar8") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar8 = iVar8 + 3;" (assignment_expression "iVar8 = iVar8 + 3" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 3" (identifier "iVar8") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "piVar3[0x17] = iVar1;" (assignment_expression "piVar3[0x17] = iVar1" (subscript_expression "piVar3[0x17]" (identifier "piVar3") ([ "[") (number_literal "0x17") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "piVar3[0xb] = iVar8;" (assignment_expression "piVar3[0xb] = iVar8" (subscript_expression "piVar3[0xb]" (identifier "piVar3") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "FUN_00047f90(iVar8,2);" (call_expression "FUN_00047f90(iVar8,2)" (identifier "FUN_00047f90") (argument_list "(iVar8,2)" (( "(") (identifier "iVar8") (, ",") (number_literal "2") () ")"))) (; ";")) (expression_statement "uVar9 = 1 << ((byte)local_40 & 0x1f);" (assignment_expression "uVar9 = 1 << ((byte)local_40 & 0x1f)" (identifier "uVar9") (= "=") (binary_expression "1 << ((byte)local_40 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "((byte)local_40 & 0x1f)" (( "(") (binary_expression "(byte)local_40 & 0x1f" (cast_expression "(byte)local_40" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "local_40")) (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "piVar10[0x24] = piVar10[0x24] | uVar9;" (assignment_expression "piVar10[0x24] = piVar10[0x24] | uVar9" (subscript_expression "piVar10[0x24]" (identifier "piVar10") ([ "[") (number_literal "0x24") (] "]")) (= "=") (binary_expression "piVar10[0x24] | uVar9" (subscript_expression "piVar10[0x24]" (identifier "piVar10") ([ "[") (number_literal "0x24") (] "]")) (| "|") (identifier "uVar9"))) (; ";")) (if_statement "if ((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }" (if "if") (parenthesized_expression "((local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0'))" (( "(") (binary_expression "(local_40 != 1) &&\n               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')" (parenthesized_expression "(local_40 != 1)" (( "(") (binary_expression "local_40 != 1" (identifier "local_40") (!= "!=") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')" (( "(") (binary_expression "*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0'" (pointer_expression "*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9)" (* "*") (cast_expression "(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9)" (( "(") (binary_expression "*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9" (pointer_expression "*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5)" (* "*") (cast_expression "(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*piVar10 + 0x10) + 4 + iVar5)" (( "(") (binary_expression "*(int *)(*piVar10 + 0x10) + 4 + iVar5" (binary_expression "*(int *)(*piVar10 + 0x10) + 4" (pointer_expression "*(int *)(*piVar10 + 0x10)" (* "*") (cast_expression "(int *)(*piVar10 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar10 + 0x10)" (( "(") (binary_expression "*piVar10 + 0x10" (pointer_expression "*piVar10" (* "*") (identifier "piVar10")) (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "4")) (+ "+") (identifier "iVar5")) () ")")))) (+ "+") (number_literal "9")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n              piVar10[0x25] = piVar10[0x25] | uVar9;\n            }" ({ "{") (expression_statement "piVar10[0x25] = piVar10[0x25] | uVar9;" (assignment_expression "piVar10[0x25] = piVar10[0x25] | uVar9" (subscript_expression "piVar10[0x25]" (identifier "piVar10") ([ "[") (number_literal "0x25") (] "]")) (= "=") (binary_expression "piVar10[0x25] | uVar9" (subscript_expression "piVar10[0x25]" (identifier "piVar10") ([ "[") (number_literal "0x25") (] "]")) (| "|") (identifier "uVar9"))) (; ";")) (} "}"))) (expression_statement "iVar5 = FUN_00047f90(0,0);" (assignment_expression "iVar5 = FUN_00047f90(0,0)" (identifier "iVar5") (= "=") (call_expression "FUN_00047f90(0,0)" (identifier "FUN_00047f90") (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);" (call_expression "FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1)" (identifier "FUN_00047f90") (argument_list "(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1)" (( "(") (number_literal "2") (, ",") (binary_expression "(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1" (parenthesized_expression "(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U)" (( "(") (binary_expression "-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U" (unary_expression "-((*(uint *)(iVar11 + 0x1c) & 2) == 0)" (- "-") (parenthesized_expression "((*(uint *)(iVar11 + 0x1c) & 2) == 0)" (( "(") (binary_expression "(*(uint *)(iVar11 + 0x1c) & 2) == 0" (parenthesized_expression "(*(uint *)(iVar11 + 0x1c) & 2)" (( "(") (binary_expression "*(uint *)(iVar11 + 0x1c) & 2" (pointer_expression "*(uint *)(iVar11 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar11 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x1c)" (( "(") (binary_expression "iVar11 + 0x1c" (identifier "iVar11") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")"))) (& "&") (number_literal "3U")) () ")")) (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));" (call_expression "FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a))" (identifier "FUN_00047f90") (argument_list "(5,*(undefined1 *)(iVar11 + 0x4a))" (( "(") (number_literal "5") (, ",") (pointer_expression "*(undefined1 *)(iVar11 + 0x4a)" (* "*") (cast_expression "(undefined1 *)(iVar11 + 0x4a)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x4a)" (( "(") (binary_expression "iVar11 + 0x4a" (identifier "iVar11") (+ "+") (number_literal "0x4a")) () ")")))) () ")"))) (; ";")) (if_statement "if (iVar5 < 0) {\n              iVar5 = piVar10[0x1a] + -1;\n            }" (if "if") (parenthesized_expression "(iVar5 < 0)" (( "(") (binary_expression "iVar5 < 0" (identifier "iVar5") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n              iVar5 = piVar10[0x1a] + -1;\n            }" ({ "{") (expression_statement "iVar5 = piVar10[0x1a] + -1;" (assignment_expression "iVar5 = piVar10[0x1a] + -1" (identifier "iVar5") (= "=") (binary_expression "piVar10[0x1a] + -1" (subscript_expression "piVar10[0x1a]" (identifier "piVar10") ([ "[") (number_literal "0x1a") (] "]")) (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "iVar11 = unaff_EDI + 0x9bd45;" (assignment_expression "iVar11 = unaff_EDI + 0x9bd45" (identifier "iVar11") (= "=") (binary_expression "unaff_EDI + 0x9bd45" (identifier "unaff_EDI") (+ "+") (number_literal "0x9bd45"))) (; ";")) (if_statement "if (*(char *)(*piVar10 + 0x4d) == '\0') {\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }" (if "if") (parenthesized_expression "(*(char *)(*piVar10 + 0x4d) == '\0')" (( "(") (binary_expression "*(char *)(*piVar10 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar10 + 0x4d)" (* "*") (cast_expression "(char *)(*piVar10 + 0x4d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar10 + 0x4d)" (( "(") (binary_expression "*piVar10 + 0x4d" (pointer_expression "*piVar10" (* "*") (identifier "piVar10")) (+ "+") (number_literal "0x4d")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n              iVar11 = piVar10[0x19] + iVar5 * 0x14;\n            }" ({ "{") (expression_statement "iVar11 = piVar10[0x19] + iVar5 * 0x14;" (assignment_expression "iVar11 = piVar10[0x19] + iVar5 * 0x14" (identifier "iVar11") (= "=") (binary_expression "piVar10[0x19] + iVar5 * 0x14" (subscript_expression "piVar10[0x19]" (identifier "piVar10") ([ "[") (number_literal "0x19") (] "]")) (+ "+") (binary_expression "iVar5 * 0x14" (identifier "iVar5") (* "*") (number_literal "0x14")))) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar11 + 8) = piVar10[0x1a];" (assignment_expression "*(int *)(iVar11 + 8) = piVar10[0x1a]" (pointer_expression "*(int *)(iVar11 + 8)" (* "*") (cast_expression "(int *)(iVar11 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 8)" (( "(") (binary_expression "iVar11 + 8" (identifier "iVar11") (+ "+") (number_literal "8")) () ")")))) (= "=") (subscript_expression "piVar10[0x1a]" (identifier "piVar10") ([ "[") (number_literal "0x1a") (] "]"))) (; ";")) (if_statement "if (param_3 == 0 && param_2 == 0) {\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }\n            else {\n              FUN_00047f90(iVar1,0);\n            }" (if "if") (parenthesized_expression "(param_3 == 0 && param_2 == 0)" (( "(") (binary_expression "param_3 == 0 && param_2 == 0" (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) (&& "&&") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n              iVar11 = FUN_00047f90(iVar1,1);\n              piVar3[0x1f] = iVar11;\n            }" ({ "{") (expression_statement "iVar11 = FUN_00047f90(iVar1,1);" (assignment_expression "iVar11 = FUN_00047f90(iVar1,1)" (identifier "iVar11") (= "=") (call_expression "FUN_00047f90(iVar1,1)" (identifier "FUN_00047f90") (argument_list "(iVar1,1)" (( "(") (identifier "iVar1") (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "piVar3[0x1f] = iVar11;" (assignment_expression "piVar3[0x1f] = iVar11" (subscript_expression "piVar3[0x1f]" (identifier "piVar3") ([ "[") (number_literal "0x1f") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (} "}")) (else_clause "else {\n              FUN_00047f90(iVar1,0);\n            }" (else "else") (compound_statement "{\n              FUN_00047f90(iVar1,0);\n            }" ({ "{") (expression_statement "FUN_00047f90(iVar1,0);" (call_expression "FUN_00047f90(iVar1,0)" (identifier "FUN_00047f90") (argument_list "(iVar1,0)" (( "(") (identifier "iVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")))) (if_statement "if (piVar3[2] == 0) {\n              FUN_000480a0();\n            }" (if "if") (parenthesized_expression "(piVar3[2] == 0)" (( "(") (binary_expression "piVar3[2] == 0" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              FUN_000480a0();\n            }" ({ "{") (expression_statement "FUN_000480a0();" (call_expression "FUN_000480a0()" (identifier "FUN_000480a0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00047c10(1,unaff_EDI + 0x46e08);" (call_expression "FUN_00047c10(1,unaff_EDI + 0x46e08)" (identifier "FUN_00047c10") (argument_list "(1,unaff_EDI + 0x46e08)" (( "(") (number_literal "1") (, ",") (binary_expression "unaff_EDI + 0x46e08" (identifier "unaff_EDI") (+ "+") (number_literal "0x46e08")) () ")"))) (; ";")) (expression_statement "FUN_00048130(1,local_40,5);" (call_expression "FUN_00048130(1,local_40,5)" (identifier "FUN_00048130") (argument_list "(1,local_40,5)" (( "(") (number_literal "1") (, ",") (identifier "local_40") (, ",") (number_literal "5") () ")"))) (; ";")) (if_statement "if (piVar3[10] == 0) {\n              piVar3[10] = 1;\n            }" (if "if") (parenthesized_expression "(piVar3[10] == 0)" (( "(") (binary_expression "piVar3[10] == 0" (subscript_expression "piVar3[10]" (identifier "piVar3") ([ "[") (number_literal "10") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              piVar3[10] = 1;\n            }" ({ "{") (expression_statement "piVar3[10] = 1;" (assignment_expression "piVar3[10] = 1" (subscript_expression "piVar3[10]" (identifier "piVar3") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "FUN_00047f90(iVar6,0);" (call_expression "FUN_00047f90(iVar6,0)" (identifier "FUN_00047f90") (argument_list "(iVar6,0)" (( "(") (identifier "iVar6") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_00047f90(iVar8,0);" (call_expression "FUN_00047f90(iVar8,0)" (identifier "FUN_00047f90") (argument_list "(iVar8,0)" (( "(") (identifier "iVar8") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_000358a0(0xffffffff);" (call_expression "FUN_000358a0(0xffffffff)" (identifier "FUN_000358a0") (argument_list "(0xffffffff)" (( "(") (number_literal "0xffffffff") () ")"))) (; ";")) (expression_statement "FUN_00047f90(iVar8,iVar6);" (call_expression "FUN_00047f90(iVar8,iVar6)" (identifier "FUN_00047f90") (argument_list "(iVar8,iVar6)" (( "(") (identifier "iVar8") (, ",") (identifier "iVar6") () ")"))) (; ";")) (if_statement "if (0 < piVar10[0x1a]) {\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }" (if "if") (parenthesized_expression "(0 < piVar10[0x1a])" (( "(") (binary_expression "0 < piVar10[0x1a]" (number_literal "0") (< "<") (subscript_expression "piVar10[0x1a]" (identifier "piVar10") ([ "[") (number_literal "0x1a") (] "]"))) () ")")) (compound_statement "{\n              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;\n            }" ({ "{") (expression_statement "*(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;" (assignment_expression "*(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8" (pointer_expression "*(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12)" (* "*") (cast_expression "(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12)" (( "(") (binary_expression "piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12" (binary_expression "piVar10[0x19] + piVar10[0x1a] * 0x14" (subscript_expression "piVar10[0x19]" (identifier "piVar10") ([ "[") (number_literal "0x19") (] "]")) (+ "+") (binary_expression "piVar10[0x1a] * 0x14" (subscript_expression "piVar10[0x1a]" (identifier "piVar10") ([ "[") (number_literal "0x1a") (] "]")) (* "*") (number_literal "0x14"))) (+ "+") (number_literal "-0x12")) () ")")))) (= "=") (number_literal "8")) (; ";")) (} "}"))) (expression_statement "FUN_00047f90(0,0);" (call_expression "FUN_00047f90(0,0)" (identifier "FUN_00047f90") (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_000aebf0;" (goto "goto") (statement_identifier "LAB_000aebf0") (; ";")) (} "}"))) (expression_statement "piVar3[3] = 7;" (assignment_expression "piVar3[3] = 7" (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "7")) (; ";")) (expression_statement "piVar3[9] = piVar3[9] + 1;" (assignment_expression "piVar3[9] = piVar3[9] + 1" (subscript_expression "piVar3[9]" (identifier "piVar3") ([ "[") (number_literal "9") (] "]")) (= "=") (binary_expression "piVar3[9] + 1" (subscript_expression "piVar3[9]" (identifier "piVar3") ([ "[") (number_literal "9") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}"))) (} "}"))) (expression_statement "FUN_00024d80();" (call_expression "FUN_00024d80()" (identifier "FUN_00024d80") (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_000aebf0:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (statement_identifier "LAB_000aebf0") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}")))) (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" (identifier "FUN_000f4bf0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

void function_1(type_1 *var_4,type_2 *var_34,type_2 *var_15,int var_21,int isView,int isVirtual
                      ,int noErr)

{
  type_3 *db;
  char *code;
  type_4 *pSVar1;
  type_1 *pParse_00;
  type_2 *var_11;
  int var_13;
  type_5 *var_18;
  int var_31;
  type_6 var_32;
  int var_33;
  type_7 *var_35;
  int iVar7;
  type_7 *var_27;
  type_8 *var_20;
  type_2 *pName2_00;
  type_2 *pName1_00;
  type_9 *pOVar9;
  int var_7;
  type_10 *var_25;
  int var_2;
  bool var_26;
  bool bVar12;
  type_10 bVar13;
  type_11 uVar14;
  char *in_stack_ffffffac;
  char *pcVar15;
  char *in_stack_ffffffb4;
  type_12 in_stack_ffffffb8;
  type_6 var_5;
  type_2 *pName;
  int var_40;
  
  bVar13 = 0;
  uVar14 = var_1();
  pName1_00 = (type_2 *)((type_13)uVar14 >> 0x20);
  pParse_00 = (type_1 *)uVar14;
  db = pParse_00->db;
  var_40 = *(int *)(var_2 + 0x14);
  if (((db->init).busy == '\0') || ((db->init).newTnum != 1)) {
    var_5 = var_3(pParse_00,pName1_00,pName2_00,&pName);
    if ((int)var_5 < 0) goto LAB_000aebf0;
    if (var_4 != (type_1 *)0x0) {
      if ((pName2_00->n != 0) && (var_5 != 1)) {
        var_6(pParse_00,(char *)(var_7 + 0x55bc5));
        goto LAB_000aebf0;
      }
      var_5 = 1;
    }
    var_11 = (type_2 *)var_8(db,pName);
    if (1 < pParse_00->eParseMode) {
      var_9((type_1 *)pParse_00->db,&pParse_00->pRename,var_11,(type_1 *)pName);
    }
  }
  else {
    var_5 = (type_6)(db->init).iDb;
    pcVar15 = &UNK_00047dd8 + var_7;
    if (var_5 != 1) {
      pcVar15 = (char *)(var_7 + 0x46e08);
    }
    var_11 = (type_2 *)var_10(db,pcVar15);
    pName = pName1_00;
  }
  var_32 = pName->n;
  (pParse_00->sNameToken).z = pName->z;
  (pParse_00->sNameToken).n = var_32;
  if (var_11 == (type_2 *)0x0) goto LAB_000aebf0;
  pcVar15 = (char *)0xae8d2;
  var_13 = var_12(pParse_00,(char *)var_11);
  if (var_13 == 0) {
    code = db->aDb[var_5].zDbSName;
    var_13 = var_14((type_1 *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4);
    if ((var_13 == 0) &&
       ((var_15 != (type_2 *)0x0 ||
        (var_13 = var_14((type_1 *)0x0,(int)code,in_stack_ffffffac,pcVar15,in_stack_ffffffb4
                                 ), var_13 == 0)))) {
      if (pParse_00->eParseMode == '\0') {
        pcVar15 = db->aDb[var_5].zDbSName;
        var_13 = var_16(pParse_00);
        if (var_13 == 0) {
          var_18 = var_17(db,(char *)var_11,pcVar15);
          if (var_18 == (type_5 *)0x0) {
            var_20 = var_19(db,(char *)var_11,pcVar15);
            if (var_20 == (type_8 *)0x0) goto LAB_000ae948;
            var_6(pParse_00,(char *)(var_7 + 0x55bf1),var_11);
          }
          else if (var_21 == 0) {
            var_6(pParse_00,(char *)(var_7 + 0x491e4),pName);
          }
          else {
            var_22(pParse_00,var_5);
          }
        }
      }
      else {
LAB_000ae948:
        var_18 = (type_5 *)var_23(db,var_24(in_stack_ffffffb8,in_stack_ffffffb4));
        if (var_18 != (type_5 *)0x0) {
          var_18->zName = (char *)var_11;
          var_18->iPKey = -1;
          pSVar1 = db->aDb[var_5].pSchema;
          var_18->nTabRef = 1;
          var_18->pSchema = pSVar1;
          var_18->nRowLogEst = 200;
          var_26 = false;
          bVar12 = pParse_00->nested == '\0';
          pParse_00->pNewTable = var_18;
          if (bVar12) {
            var_13 = 0x10;
            var_25 = (type_10 *)(var_7 + 0x491fc);
            do {
              if (var_13 == 0) break;
              var_13 = var_13 + -1;
              var_26 = *(type_10 *)&var_11->z < *var_25;
              bVar12 = *(type_10 *)&var_11->z == *var_25;
              var_11 = (type_2 *)((int)var_11 + (type_6)bVar13 * -2 + 1);
              var_25 = var_25 + (type_6)bVar13 * -2 + 1;
            } while (bVar12);
            if ((!var_26 && !bVar12) == var_26) {
              var_18->pSchema->pSeqTab = var_18;
            }
          }
          if (((db->init).busy == '\0') &&
             ((var_27 = pParse_00->pVdbe, var_27 != (type_7 *)0x0 ||
              (var_27 = var_28(pParse_00), var_27 != (type_7 *)0x0)))) {
            var_29(pParse_00,1,var_5);
            if (var_15 != (type_2 *)0x0) {
              var_30(var_27,0xa0,0,0,0);
            }
            var_31 = pParse_00->nMem;
            var_13 = var_31 + 1;
            pParse_00->regRowid = var_13;
            iVar7 = var_31 + 2;
            var_31 = var_31 + 3;
            pParse_00->regRoot = iVar7;
            pParse_00->nMem = var_31;
            var_30(var_27,0x69,var_5,var_31,2);
            var_32 = 1 << ((type_10)var_5 & 0x1f);
            var_27->btreeMask = var_27->btreeMask | var_32;
            if ((var_5 != 1) && ((var_27->db->aDb[var_5].pBt)->sharable != '\0')) {
              var_27->lockMask = var_27->lockMask | var_32;
            }
            var_33 = var_30(var_27,0x12,var_31,0,0);
            var_30(var_27,0x6b,var_5,2,(-(type_6)((db->flags & 2) == 0) & 3) + 1);
            var_30(var_27,0x6b,var_5,5,(type_6)db->enc);
            if (var_33 < 0) {
              var_33 = var_27->nOp + -1;
            }
            pOVar9 = (type_9 *)(var_7 + 0x9bd45);
            if (var_27->db->mallocFailed == '\0') {
              pOVar9 = var_27->aOp + var_33;
            }
            pOVar9->p2 = var_27->nOp;
            if (var_15 == (type_2 *)0x0 && var_34 == (type_2 *)0x0) {
              iVar7 = var_30(var_27,0x8b,var_5,iVar7,1);
              pParse_00->addrCrTab = iVar7;
            }
            else {
              var_30(var_27,0x46,0,iVar7,0);
            }
            var_35 = pParse_00->pVdbe;
            if (var_35 == (type_7 *)0x0) {
              var_35 = var_28(pParse_00);
            }
            var_36(pParse_00,var_5,1,'\x01',(char *)(var_7 + 0x46e08));
            var_37(var_35,0x6e,0,1,var_5,5);
            if (pParse_00->nTab == 0) {
              pParse_00->nTab = 1;
            }
            var_30(var_27,0x79,0,var_13,0);
            iVar7 = var_30(var_27,0x4b,6,var_31,0);
            var_38(var_27,iVar7,(char *)(var_7 + 0x4e579),-1);
            var_30(var_27,0x7a,0,var_31,var_13);
            if (0 < var_27->nOp) {
              var_27->aOp[var_27->nOp + -1].p5 = 8;
            }
            var_30(var_27,0x75,0,0,0);
          }
          goto LAB_000aebf0;
        }
        pParse_00->rc = 7;
        pParse_00->nErr = pParse_00->nErr + 1;
      }
    }
  }
  var_39(db,var_11);
LAB_000aebf0:
  if (var_40 != *(int *)(var_2 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_41();
  }
  return;
}


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

void MASKED(int param_1,int param_2,int param_3,int param_4)

{
  int iVar1;
  undefined4 uVar2;
  int *piVar3;
  byte *pbVar4;
  int iVar5;
  int iVar6;
  undefined4 *puVar7;
  int iVar8;
  uint uVar9;
  int *piVar10;
  int iVar11;
  int extraout_ECX;
  int unaff_EDI;
  byte *pbVar12;
  int in_GS_OFFSET;
  bool bVar13;
  bool bVar14;
  byte bVar15;
  undefined8 uVar16;
  uint local_40;
  int *local_24;
  int local_20;
  
  bVar15 = 0;
  uVar16 = FUN_000196fd();
  piVar3 = (int *)uVar16;
  iVar11 = *piVar3;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if ((*(char *)(iVar11 + 0xa1) == '\0') || (*(int *)(iVar11 + 0x9c) != 1)) {
    local_40 = FUN_000580a0(&local_24);
    if ((int)local_40 < 0) goto LAB_000aebf0;
    if (param_1 != 0) {
      if ((*(int *)(extraout_ECX + 4) != 0) && (local_40 != 1)) {
        FUN_000578c0(piVar3,unaff_EDI + 0x55bc5);
        goto LAB_000aebf0;
      }
      local_40 = 1;
    }
    pbVar4 = (byte *)FUN_00027240();
    if (1 < *(byte *)((int)piVar3 + 0xc6)) {
      FUN_0002def0(local_24);
    }
  }
  else {
    local_40 = (uint)*(byte *)(iVar11 + 0xa0);
    pbVar4 = (byte *)FUN_00027060();
    local_24 = (int *)((ulonglong)uVar16 >> 0x20);
  }
  iVar5 = local_24[1];
  piVar3[0x2c] = *local_24;
  piVar3[0x2d] = iVar5;
  if (pbVar4 == (byte *)0x0) goto LAB_000aebf0;
  iVar5 = FUN_00058130();
  if (iVar5 == 0) {
    iVar5 = local_40 * 0x10;
    uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + iVar5);
    iVar6 = FUN_00057f20(0,uVar2);
    if ((iVar6 == 0) && ((param_3 != 0 || (iVar6 = FUN_00057f20(0,uVar2), iVar6 == 0)))) {
      if (*(char *)((int)piVar3 + 0xc6) == '\0') {
        iVar6 = FUN_000ae7c0();
        if (iVar6 == 0) {
          iVar6 = FUN_00027be0();
          if (iVar6 == 0) {
            iVar6 = FUN_0001c2c0();
            if (iVar6 == 0) goto LAB_000ae948;
            FUN_000578c0(piVar3,unaff_EDI + 0x55bf1,pbVar4);
          }
          else if (param_4 == 0) {
            FUN_000578c0(piVar3,unaff_EDI + 0x491e4,local_24);
          }
          else {
            FUN_00087bd0();
          }
        }
      }
      else {
LAB_000ae948:
        puVar7 = (undefined4 *)FUN_00026c00();
        if (puVar7 != (undefined4 *)0x0) {
          *puVar7 = pbVar4;
          *(undefined2 *)(puVar7 + 10) = 0xffff;
          uVar2 = *(undefined4 *)(*(int *)(iVar11 + 0x10) + 0xc + iVar5);
          puVar7[8] = 1;
          puVar7[0x12] = uVar2;
          *(undefined2 *)(puVar7 + 0xb) = 200;
          bVar13 = false;
          bVar14 = *(char *)((int)piVar3 + 0x12) == '\0';
          piVar3[0x38] = (int)puVar7;
          if (bVar14) {
            iVar6 = 0x10;
            pbVar12 = (byte *)(unaff_EDI + 0x491fc);
            do {
              if (iVar6 == 0) break;
              iVar6 = iVar6 + -1;
              bVar13 = *pbVar4 < *pbVar12;
              bVar14 = *pbVar4 == *pbVar12;
              pbVar4 = pbVar4 + (uint)bVar15 * -2 + 1;
              pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;
            } while (bVar14);
            if ((!bVar13 && !bVar14) == bVar13) {
              *(undefined4 **)(puVar7[0x12] + 0x48) = puVar7;
            }
          }
          if ((*(char *)(iVar11 + 0xa1) == '\0') &&
             ((piVar10 = (int *)piVar3[2], piVar10 != (int *)0x0 ||
              (piVar10 = (int *)FUN_000480a0(), piVar10 != (int *)0x0)))) {
            FUN_00087c10();
            if (param_3 != 0) {
              FUN_00047f90(0,0);
            }
            iVar8 = piVar3[0xb];
            iVar6 = iVar8 + 1;
            piVar3[0x16] = iVar6;
            iVar1 = iVar8 + 2;
            iVar8 = iVar8 + 3;
            piVar3[0x17] = iVar1;
            piVar3[0xb] = iVar8;
            FUN_00047f90(iVar8,2);
            uVar9 = 1 << ((byte)local_40 & 0x1f);
            piVar10[0x24] = piVar10[0x24] | uVar9;
            if ((local_40 != 1) &&
               (*(char *)(*(int *)(*(int *)(*piVar10 + 0x10) + 4 + iVar5) + 9) != '\0')) {
              piVar10[0x25] = piVar10[0x25] | uVar9;
            }
            iVar5 = FUN_00047f90(0,0);
            FUN_00047f90(2,(-((*(uint *)(iVar11 + 0x1c) & 2) == 0) & 3U) + 1);
            FUN_00047f90(5,*(undefined1 *)(iVar11 + 0x4a));
            if (iVar5 < 0) {
              iVar5 = piVar10[0x1a] + -1;
            }
            iVar11 = unaff_EDI + 0x9bd45;
            if (*(char *)(*piVar10 + 0x4d) == '\0') {
              iVar11 = piVar10[0x19] + iVar5 * 0x14;
            }
            *(int *)(iVar11 + 8) = piVar10[0x1a];
            if (param_3 == 0 && param_2 == 0) {
              iVar11 = FUN_00047f90(iVar1,1);
              piVar3[0x1f] = iVar11;
            }
            else {
              FUN_00047f90(iVar1,0);
            }
            if (piVar3[2] == 0) {
              FUN_000480a0();
            }
            FUN_00047c10(1,unaff_EDI + 0x46e08);
            FUN_00048130(1,local_40,5);
            if (piVar3[10] == 0) {
              piVar3[10] = 1;
            }
            FUN_00047f90(iVar6,0);
            FUN_00047f90(iVar8,0);
            FUN_000358a0(0xffffffff);
            FUN_00047f90(iVar8,iVar6);
            if (0 < piVar10[0x1a]) {
              *(undefined2 *)(piVar10[0x19] + piVar10[0x1a] * 0x14 + -0x12) = 8;
            }
            FUN_00047f90(0,0);
          }
          goto LAB_000aebf0;
        }
        piVar3[3] = 7;
        piVar3[9] = piVar3[9] + 1;
      }
    }
  }
  FUN_00024d80();
LAB_000aebf0:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000f4bf0();
}

