
void sqlite3RefillIndex(Parse *pParse,Index *pIndex,int memRootPage)

{
  Table *pTab;
  sqlite3 *db;
  byte bVar1;
  Parse *pParse_00;
  KeyInfo *zP4;
  int iVar2;
  Parse *pPVar3;
  Vdbe *p;
  int p2;
  int extraout_ECX;
  u16 uVar4;
  Index *pIdx;
  int iVar5;
  Op *pOVar6;
  int iVar7;
  int unaff_EDI;
  int in_GS_OFFSET;
  undefined8 uVar8;
  char *in_stack_ffffffac;
  char *in_stack_ffffffb0;
  char *pcVar9;
  char *iDataCur;
  int local_44;
  int local_40;
  int local_30;
  int iPartIdxLabel;
  int local_20;
  
  uVar8 = __x86_get_pc_thunk_di();
  pIdx = (Index *)((ulonglong)uVar8 >> 0x20);
  pParse_00 = (Parse *)uVar8;
  pTab = pIdx->pTable;
  db = pParse_00->db;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  pcVar9 = (char *)pParse_00->nTab;
  pParse_00->nTab = (int)(pcVar9 + 2);
  if (pIdx->pSchema == (Schema *)0x0) {
    iVar5 = -16000000;
    local_44 = -1000000;
  }
  else {
    in_stack_ffffffb0 = (char *)0x9cb8d;
    local_44 = sqlite3SchemaToIndex(db,pIdx->pSchema);
    iVar5 = local_44 << 4;
  }
  iVar5 = sqlite3AuthCheck((Parse *)0x0,*(int *)((int)&db->aDb->zDbSName + iVar5),in_stack_ffffffac,
                           in_stack_ffffffb0,pcVar9);
  if (iVar5 == 0) {
    sqlite3TableLock(pParse_00,local_44,pTab->tnum,'\x01',pTab->zName);
    p = pParse_00->pVdbe;
    if ((p != (Vdbe *)0x0) || (p = sqlite3GetVdbe(pParse_00), p != (Vdbe *)0x0)) {
      local_30 = extraout_ECX;
      if (extraout_ECX < 0) {
        local_30 = pIdx->tnum;
      }
      zP4 = sqlite3KeyInfoOfIndex(pParse_00,pIdx);
      iVar5 = pParse_00->nTab;
      pParse_00->nTab = iVar5 + 1;
      if (zP4 != (KeyInfo *)0x0) {
        zP4->nRef = zP4->nRef + 1;
      }
      iVar2 = sqlite3VdbeAddOp3(p,0x72,iVar5,0,(uint)pIdx->nKeyCol);
      sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);
      iDataCur = pcVar9;
      sqlite3OpenTable(pParse_00,(int)pcVar9,local_44,pTab,0x6d);
      iVar2 = sqlite3VdbeAddOp3(p,0x24,(int)pcVar9,0,0);
      if (pParse_00->nTempReg == '\0') {
        local_40 = pParse_00->nMem + 1;
        pParse_00->nMem = local_40;
      }
      else {
        bVar1 = pParse_00->nTempReg - 1;
        pParse_00->nTempReg = bVar1;
        local_40 = pParse_00->aTempReg[bVar1];
      }
      pPVar3 = pParse_00->pToplevel;
      if (pParse_00->pToplevel == (Parse *)0x0) {
        pPVar3 = pParse_00;
      }
      pPVar3->isMultiWrite = '\x01';
      sqlite3GenerateIndexKey(pParse_00,pIdx,(int)iDataCur,local_40,0,&iPartIdxLabel,(Index *)0x0,0)
      ;
      sqlite3VdbeAddOp3(p,0x83,iVar5,local_40,0);
      if (iPartIdxLabel != 0) {
        sqlite3VdbeResolveLabel(pParse_00->pVdbe,iPartIdxLabel);
      }
      sqlite3VdbeAddOp3(p,5,(int)iDataCur,iVar2 + 1,0);
      if (iVar2 < 0) {
        iVar2 = p->nOp + -1;
      }
      pOVar6 = (Op *)(unaff_EDI + 0xafa15);
      if (p->db->mallocFailed == '\0') {
        pOVar6 = p->aOp + iVar2;
      }
      pOVar6->p2 = p->nOp;
      pcVar9 = iDataCur + 1;
      if (extraout_ECX < 0) {
        sqlite3VdbeAddOp3(p,0x89,local_30,local_44,0);
        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);
        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);
        uVar4 = 1;
      }
      else {
        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);
        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);
        uVar4 = 0x11;
      }
      if (0 < p->nOp) {
        p->aOp[p->nOp + -1].p5 = uVar4;
      }
      iVar2 = sqlite3VdbeAddOp3(p,0x22,iVar5,0,0);
      if (pIdx->onError == '\0') {
        local_44 = p->nOp;
      }
      else {
        p2 = sqlite3VdbeAddOp3(p,0xb,0,1,0);
        local_44 = p->nOp;
        sqlite3VdbeAddOp4Int(p,0x7d,iVar5,p2,local_40,(uint)pIdx->nKeyCol);
        sqlite3UniqueConstraint(pParse_00,2,pIdx);
        iVar7 = p->nOp + -1;
        if (-1 < p2) {
          iVar7 = p2;
        }
        pOVar6 = (Op *)(unaff_EDI + 0xafa15);
        if (p->db->mallocFailed == '\0') {
          pOVar6 = p->aOp + iVar7;
        }
        pOVar6->p2 = p->nOp;
      }
      sqlite3VdbeAddOp3(p,0x7e,iVar5,local_40,(int)pcVar9);
      sqlite3VdbeAddOp3(p,0x82,(int)pcVar9,0,0);
      sqlite3VdbeAddOp3(p,0x84,(int)pcVar9,local_40,0);
      if (0 < p->nOp) {
        p->aOp[p->nOp + -1].p5 = 0x10;
      }
      if (local_40 != 0) {
        sqlite3ReleaseTempReg(pParse_00,local_40);
      }
      sqlite3VdbeAddOp3(p,3,iVar5,local_44,0);
      iVar7 = p->nOp + -1;
      if (-1 < iVar2) {
        iVar7 = iVar2;
      }
      pOVar6 = (Op *)(unaff_EDI + 0xafa15);
      if (p->db->mallocFailed == '\0') {
        pOVar6 = p->aOp + iVar7;
      }
      pOVar6->p2 = p->nOp;
      sqlite3VdbeAddOp3(p,0x75,(int)iDataCur,0,0);
      sqlite3VdbeAddOp3(p,0x75,(int)pcVar9,0,0);
      sqlite3VdbeAddOp3(p,0x75,iVar5,0,0);
    }
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return;
}



void FUN_0009cb40(void)

{
  undefined4 *puVar1;
  byte bVar2;
  int *piVar3;
  int iVar4;
  int *piVar5;
  int *piVar6;
  int extraout_ECX;
  undefined2 uVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int unaff_EDI;
  int in_GS_OFFSET;
  undefined8 uVar11;
  int local_44;
  int local_40;
  int local_30;
  int local_24;
  int local_20;
  
  uVar11 = FUN_0001af1a();
  iVar9 = (int)((ulonglong)uVar11 >> 0x20);
  piVar3 = (int *)uVar11;
  puVar1 = *(undefined4 **)(iVar9 + 0xc);
  iVar4 = *piVar3;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar10 = piVar3[10];
  piVar3[10] = iVar10 + 2;
  if (*(int *)(iVar9 + 0x18) == 0) {
    iVar8 = -16000000;
    local_44 = -1000000;
  }
  else {
    local_44 = FUN_000304d0(iVar10);
    iVar8 = local_44 << 4;
  }
  iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8));
  if (iVar4 == 0) {
    FUN_00049420(1,*puVar1);
    piVar6 = (int *)piVar3[2];
    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {
      local_30 = extraout_ECX;
      if (extraout_ECX < 0) {
        local_30 = *(int *)(iVar9 + 0x2c);
      }
      piVar5 = (int *)FUN_0005c6c0();
      piVar3[10] = piVar3[10] + 1;
      if (piVar5 != (int *)0x0) {
        *piVar5 = *piVar5 + 1;
      }
      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));
      FUN_000370b0(0xfffffff7);
      FUN_0005c7e0(puVar1,0x6d);
      iVar4 = FUN_000497a0(0,0);
      if (*(char *)((int)piVar3 + 0x13) == '\0') {
        local_40 = piVar3[0xb] + 1;
        piVar3[0xb] = local_40;
      }
      else {
        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;
        *(byte *)((int)piVar3 + 0x13) = bVar2;
        local_40 = piVar3[bVar2 + 0x24];
      }
      piVar5 = (int *)piVar3[0x1d];
      if ((int *)piVar3[0x1d] == (int *)0x0) {
        piVar5 = piVar3;
      }
      *(undefined1 *)(piVar5 + 5) = 1;
      FUN_0009c790(local_40,0,&local_24,0,0);
      FUN_000497a0(local_40,0);
      if (local_24 != 0) {
        FUN_00049570();
      }
      FUN_000497a0(iVar4 + 1,0);
      if (iVar4 < 0) {
        iVar4 = piVar6[0x1a] + -1;
      }
      iVar8 = unaff_EDI + 0xafa15;
      if (*(char *)(*piVar6 + 0x4d) == '\0') {
        iVar8 = piVar6[0x19] + iVar4 * 0x14;
      }
      *(int *)(iVar8 + 8) = piVar6[0x1a];
      if (extraout_ECX < 0) {
        FUN_000497a0(local_44,0);
        FUN_000497a0(local_30,local_44);
        FUN_000370b0(0xfffffff7);
        uVar7 = 1;
      }
      else {
        FUN_000497a0(local_30,local_44);
        FUN_000370b0(0xfffffff7);
        uVar7 = 0x11;
      }
      if (0 < piVar6[0x1a]) {
        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;
      }
      iVar4 = FUN_000497a0(0,0);
      if (*(char *)(iVar9 + 0x36) == '\0') {
        local_44 = piVar6[0x1a];
      }
      else {
        iVar8 = FUN_000497a0(1,0);
        local_44 = piVar6[0x1a];
        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));
        FUN_00067180();
        iVar9 = piVar6[0x1a] + -1;
        if (-1 < iVar8) {
          iVar9 = iVar8;
        }
        iVar8 = unaff_EDI + 0xafa15;
        if (*(char *)(*piVar6 + 0x4d) == '\0') {
          iVar8 = piVar6[0x19] + iVar9 * 0x14;
        }
        *(int *)(iVar8 + 8) = piVar6[0x1a];
      }
      FUN_000497a0(local_40,iVar10 + 1);
      FUN_000497a0(0,0);
      FUN_000497a0(local_40,0);
      if (0 < piVar6[0x1a]) {
        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;
      }
      if (local_40 != 0) {
        FUN_0002f640();
      }
      FUN_000497a0(local_44,0);
      iVar10 = piVar6[0x1a] + -1;
      if (-1 < iVar4) {
        iVar10 = iVar4;
      }
      iVar4 = unaff_EDI + 0xafa15;
      if (*(char *)(*piVar6 + 0x4d) == '\0') {
        iVar4 = piVar6[0x19] + iVar10 * 0x14;
      }
      *(int *)(iVar4 + 8) = piVar6[0x1a];
      FUN_000497a0(0,0);
      FUN_000497a0(0,0);
      FUN_000497a0(0,0);
    }
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_000f6410();
  }
  return;
}


PUSH EBP
PUSH EDI
CALL 0x0001af1a
ADD EDI,0xae38d
PUSH ESI
MOV ESI,EAX
PUSH EBX
SUB ESP,0x3c
MOV EBP,dword ptr [EDX + 0xc]
MOV EBX,dword ptr [ESI]
MOV dword ptr [ESP + 0x14],ECX
MOV dword ptr [ESP + 0x10],EDI
MOV EDI,EDX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x2c],EAX
XOR EAX,EAX
MOV EAX,dword ptr [ESI + 0x28]
MOV dword ptr [ESP],EAX
ADD EAX,0x2
MOV dword ptr [ESI + 0x28],EAX
MOV EDX,dword ptr [EDX + 0x18]
TEST EDX,EDX
JZ 0x0009cff2
MOV EAX,EBX
CALL 0x000304d0
MOV dword ptr [ESP + 0x8],EAX
MOV EDX,EAX
SHL EDX,0x4
MOV EAX,dword ptr [EBX + 0x10]
SUB ESP,0x8
PUSH dword ptr [EAX + EDX*0x1]
MOV EDX,0x1b
MOV EAX,ESI
PUSH 0x0
MOV ECX,dword ptr [EDI]
CALL 0x00059730
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0009cbd0
MOV EAX,dword ptr [ESP + 0x2c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x0009d004
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
MOV ECX,dword ptr [EBP + 0x1c]
PUSH dword ptr [EBP]
MOV EAX,ESI
PUSH 0x1
MOV EDX,dword ptr [ESP + 0x18]
CALL 0x00049420
MOV EBX,dword ptr [ESI + 0x8]
ADD ESP,0x10
TEST EBX,EBX
JZ 0x0009ced0
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x1c],EAX
TEST EAX,EAX
JNS 0x0009cc07
MOV EAX,dword ptr [EDI + 0x2c]
MOV dword ptr [ESP + 0x1c],EAX
MOV EDX,EDI
MOV EAX,ESI
CALL 0x0005c6c0
MOV ECX,EAX
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESI + 0x28]
MOV dword ptr [ESP + 0x4],EAX
ADD EAX,0x1
MOV dword ptr [ESI + 0x28],EAX
TEST ECX,ECX
JZ 0x0009cc2a
ADD dword ptr [ECX],0x1
MOVZX EAX,word ptr [EDI + 0x32]
SUB ESP,0x8
MOV EDX,0x72
PUSH EAX
MOV EAX,EBX
PUSH 0x0
MOV ECX,dword ptr [ESP + 0x14]
CALL 0x000497a0
MOV ECX,dword ptr [ESP + 0x28]
MOV dword ptr [ESP],0xfffffff7
MOV EDX,EAX
MOV EAX,EBX
CALL 0x000370b0
POP EAX
POP EDX
PUSH 0x6d
PUSH EBP
MOV EBP,dword ptr [ESP + 0x10]
MOV EAX,ESI
MOV ECX,dword ptr [ESP + 0x18]
MOV EDX,EBP
CALL 0x0005c7e0
POP ECX
POP EAX
PUSH 0x0
PUSH 0x0
MOV ECX,EBP
MOV EDX,0x24
MOV EAX,EBX
CALL 0x000497a0
ADD ESP,0x10
MOV EBP,EAX
MOVZX EAX,byte ptr [ESI + 0x13]
TEST AL,AL
JZ 0x0009cef0
SUB EAX,0x1
MOV byte ptr [ESI + 0x13],AL
MOVZX EAX,AL
MOV EAX,dword ptr [ESI + EAX*0x4 + 0x90]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [ESI + 0x74]
MOV EDX,EDI
TEST EAX,EAX
CMOVZ EAX,ESI
SUB ESP,0xc
MOV byte ptr [EAX + 0x14],0x1
PUSH 0x0
PUSH 0x0
LEA EAX,[ESP + 0x3c]
PUSH EAX
MOV EAX,ESI
PUSH 0x0
PUSH dword ptr [ESP + 0x28]
MOV ECX,dword ptr [ESP + 0x20]
CALL 0x0009c790
ADD ESP,0x18
MOV EDX,0x83
MOV EAX,EBX
PUSH 0x0
PUSH dword ptr [ESP + 0x18]
MOV ECX,dword ptr [ESP + 0x14]
CALL 0x000497a0
MOV EDX,dword ptr [ESP + 0x38]
ADD ESP,0x10
TEST EDX,EDX
JNZ 0x0009cf90
SUB ESP,0x8
LEA EAX,[EBP + 0x1]
MOV EDX,0x5
PUSH 0x0
PUSH EAX
MOV ECX,dword ptr [ESP + 0x10]
MOV EAX,EBX
CALL 0x000497a0
MOV EAX,dword ptr [EBX + 0x68]
ADD ESP,0x10
MOV ECX,dword ptr [EBX]
TEST EBP,EBP
LEA EDX,[EAX + -0x1]
CMOVS EBP,EDX
MOV EDX,dword ptr [ESP + 0x10]
CMP byte ptr [ECX + 0x4d],0x0
LEA EDX,[EDX + 0x1688]
JNZ 0x0009cd3d
MOV EDX,dword ptr [EBX + 0x64]
LEA ECX,[EBP + EBP*0x4]
LEA EDX,[EDX + ECX*0x4]
MOV ECX,dword ptr [ESP]
MOV dword ptr [EDX + 0x8],EAX
LEA EBP,[ECX + 0x1]
MOV ECX,dword ptr [ESP + 0x14]
TEST ECX,ECX
JS 0x0009cfa0
SUB ESP,0x8
MOV ECX,EBP
MOV EDX,0x6e
MOV EAX,EBX
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [ESP + 0x28]
CALL 0x000497a0
MOV ECX,dword ptr [ESP + 0x28]
MOV dword ptr [ESP],0xfffffff7
MOV EDX,EAX
MOV EAX,EBX
CALL 0x000370b0
ADD ESP,0x10
MOV EDX,0x11
MOV EAX,dword ptr [EBX + 0x68]
TEST EAX,EAX
JLE 0x0009cd9b
MOV ECX,dword ptr [EBX + 0x64]
LEA EAX,[EAX + EAX*0x4]
LEA EAX,[ECX + EAX*0x4]
MOV word ptr [EAX + -0x12],DX
SUB ESP,0x8
MOV EDX,0x22
MOV EAX,EBX
PUSH 0x0
PUSH 0x0
MOV ECX,dword ptr [ESP + 0x14]
CALL 0x000497a0
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
CMP byte ptr [EDI + 0x36],0x0
JNZ 0x0009cf08
MOV EAX,dword ptr [EBX + 0x68]
MOV dword ptr [ESP + 0x8],EAX
SUB ESP,0x8
MOV EDX,0x7e
MOV EAX,EBX
PUSH EBP
MOV EDI,dword ptr [ESP + 0x18]
PUSH EDI
MOV ECX,dword ptr [ESP + 0x14]
CALL 0x000497a0
POP ECX
POP EAX
PUSH 0x0
PUSH 0x0
MOV ECX,EBP
MOV EDX,0x82
MOV EAX,EBX
CALL 0x000497a0
POP EAX
POP EDX
PUSH 0x0
PUSH EDI
MOV ECX,EBP
MOV EDX,0x84
MOV EAX,EBX
CALL 0x000497a0
MOV EAX,dword ptr [EBX + 0x68]
ADD ESP,0x10
TEST EAX,EAX
JLE 0x0009ce26
MOV EDI,dword ptr [EBX + 0x64]
LEA EAX,[EAX + EAX*0x4]
MOV EDX,0x10
LEA EAX,[EDI + EAX*0x4]
MOV word ptr [EAX + -0x12],DX
MOV EAX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JZ 0x0009ce37
MOV EDX,EAX
MOV EAX,ESI
CALL 0x0002f640
SUB ESP,0x8
MOV EDX,0x3
MOV EAX,EBX
PUSH 0x0
PUSH dword ptr [ESP + 0x14]
MOV ECX,dword ptr [ESP + 0x14]
CALL 0x000497a0
ADD ESP,0x10
MOV EAX,dword ptr [EBX + 0x68]
MOV EDI,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [EBX]
LEA EDX,[EAX + -0x1]
TEST EDI,EDI
MOV ESI,EDX
CMOVNS ESI,EDI
MOV EDI,dword ptr [ESP + 0x10]
CMP byte ptr [ECX + 0x4d],0x0
LEA EDX,[EDI + 0x1688]
JNZ 0x0009ce7f
MOV EDX,dword ptr [EBX + 0x64]
LEA ECX,[ESI + ESI*0x4]
LEA EDX,[EDX + ECX*0x4]
SUB ESP,0x8
MOV dword ptr [EDX + 0x8],EAX
MOV EDX,0x75
MOV EAX,EBX
PUSH 0x0
PUSH 0x0
MOV ECX,dword ptr [ESP + 0x10]
CALL 0x000497a0
POP EAX
POP EDX
PUSH 0x0
PUSH 0x0
MOV ECX,EBP
MOV EDX,0x75
MOV EAX,EBX
CALL 0x000497a0
POP ECX
POP ESI
PUSH 0x0
PUSH 0x0
MOV ECX,dword ptr [ESP + 0x14]
MOV EDX,0x75
MOV EAX,EBX
CALL 0x000497a0
ADD ESP,0x10
JMP 0x0009cbb6
MOV EAX,ESI
CALL 0x000498b0
MOV EBX,EAX
TEST EAX,EAX
JNZ 0x0009cbf4
JMP 0x0009cbb6
MOV EAX,dword ptr [ESI + 0x2c]
ADD EAX,0x1
MOV dword ptr [ESP + 0xc],EAX
MOV dword ptr [ESI + 0x2c],EAX
JMP 0x0009cca7
SUB ESP,0x8
XOR ECX,ECX
MOV EDX,0xb
MOV EAX,EBX
PUSH 0x0
PUSH 0x1
CALL 0x000497a0
MOV EDX,0x7d
MOV ECX,EAX
MOV EAX,dword ptr [EBX + 0x68]
MOV dword ptr [ESP + 0x18],EAX
MOVZX EAX,word ptr [EDI + 0x32]
ADD ESP,0xc
PUSH EAX
MOV EAX,EBX
PUSH dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x24],ECX
PUSH ECX
MOV ECX,dword ptr [ESP + 0x14]
CALL 0x00049940
MOV ECX,EDI
MOV EDX,0x2
MOV EAX,ESI
CALL 0x00067180
ADD ESP,0x10
MOV EDI,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EBX + 0x68]
MOV ECX,dword ptr [EBX]
TEST EDI,EDI
LEA EDX,[EAX + -0x1]
CMOVNS EDX,EDI
CMP byte ptr [ECX + 0x4d],0x0
MOV EDI,EDX
MOV EDX,dword ptr [ESP + 0x10]
LEA EDX,[EDX + 0x1688]
JNZ 0x0009cf84
MOV EDX,dword ptr [EBX + 0x64]
LEA ECX,[EDI + EDI*0x4]
LEA EDX,[EDX + ECX*0x4]
MOV dword ptr [EDX + 0x8],EAX
JMP 0x0009cdca
MOV EAX,dword ptr [ESI + 0x8]
CALL 0x00049570
JMP 0x0009ccfa
SUB ESP,0x8
MOV EDX,0x89
MOV EAX,EBX
PUSH 0x0
PUSH dword ptr [ESP + 0x14]
MOV ECX,dword ptr [ESP + 0x2c]
CALL 0x000497a0
POP EAX
POP EDX
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [ESP + 0x28]
MOV ECX,EBP
MOV EDX,0x6e
MOV EAX,EBX
CALL 0x000497a0
MOV ECX,dword ptr [ESP + 0x28]
MOV dword ptr [ESP],0xfffffff7
MOV EDX,EAX
MOV EAX,EBX
CALL 0x000370b0
ADD ESP,0x10
MOV EDX,0x1
JMP 0x0009cd87
MOV EDX,0xff0bdc00
MOV dword ptr [ESP + 0x8],0xfff0bdc0
JMP 0x0009cb96
CALL 0x000f6410
(translation_unit "void FUN_0009cb40(void)\n\n{\n  undefined4 *puVar1;\n  byte bVar2;\n  int *piVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int extraout_ECX;\n  undefined2 uVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  undefined8 uVar11;\n  int local_44;\n  int local_40;\n  int local_30;\n  int local_24;\n  int local_20;\n  \n  uVar11 = FUN_0001af1a();\n  iVar9 = (int)((ulonglong)uVar11 >> 0x20);\n  piVar3 = (int *)uVar11;\n  puVar1 = *(undefined4 **)(iVar9 + 0xc);\n  iVar4 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar10 = piVar3[10];\n  piVar3[10] = iVar10 + 2;\n  if (*(int *)(iVar9 + 0x18) == 0) {\n    iVar8 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }\n  iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8));\n  if (iVar4 == 0) {\n    FUN_00049420(1,*puVar1);\n    piVar6 = (int *)piVar3[2];\n    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f6410();\n  }\n  return;\n}\n\n" (function_definition "void FUN_0009cb40(void)\n\n{\n  undefined4 *puVar1;\n  byte bVar2;\n  int *piVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int extraout_ECX;\n  undefined2 uVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  undefined8 uVar11;\n  int local_44;\n  int local_40;\n  int local_30;\n  int local_24;\n  int local_20;\n  \n  uVar11 = FUN_0001af1a();\n  iVar9 = (int)((ulonglong)uVar11 >> 0x20);\n  piVar3 = (int *)uVar11;\n  puVar1 = *(undefined4 **)(iVar9 + 0xc);\n  iVar4 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar10 = piVar3[10];\n  piVar3[10] = iVar10 + 2;\n  if (*(int *)(iVar9 + 0x18) == 0) {\n    iVar8 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }\n  iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8));\n  if (iVar4 == 0) {\n    FUN_00049420(1,*puVar1);\n    piVar6 = (int *)piVar3[2];\n    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f6410();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0009cb40(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  byte bVar2;\n  int *piVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int extraout_ECX;\n  undefined2 uVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  undefined8 uVar11;\n  int local_44;\n  int local_40;\n  int local_30;\n  int local_24;\n  int local_20;\n  \n  uVar11 = FUN_0001af1a();\n  iVar9 = (int)((ulonglong)uVar11 >> 0x20);\n  piVar3 = (int *)uVar11;\n  puVar1 = *(undefined4 **)(iVar9 + 0xc);\n  iVar4 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar10 = piVar3[10];\n  piVar3[10] = iVar10 + 2;\n  if (*(int *)(iVar9 + 0x18) == 0) {\n    iVar8 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }\n  iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8));\n  if (iVar4 == 0) {\n    FUN_00049420(1,*puVar1);\n    piVar6 = (int *)piVar3[2];\n    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f6410();\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "undefined2 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "uVar11 = FUN_0001af1a();" (assignment_expression "uVar11 = FUN_0001af1a()" identifier = (call_expression "FUN_0001af1a()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar9 = (int)((ulonglong)uVar11 >> 0x20);" (assignment_expression "iVar9 = (int)((ulonglong)uVar11 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar11 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar11 >> 0x20)" ( (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar3 = (int *)uVar11;" (assignment_expression "piVar3 = (int *)uVar11" identifier = (cast_expression "(int *)uVar11" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "puVar1 = *(undefined4 **)(iVar9 + 0xc);" (assignment_expression "puVar1 = *(undefined4 **)(iVar9 + 0xc)" identifier = (pointer_expression "*(undefined4 **)(iVar9 + 0xc)" * (cast_expression "(undefined4 **)(iVar9 + 0xc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 0xc)" ( (binary_expression "iVar9 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *piVar3;" (assignment_expression "iVar4 = *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) ))))) ;) (expression_statement "iVar10 = piVar3[10];" (assignment_expression "iVar10 = piVar3[10]" identifier = (subscript_expression "piVar3[10]" identifier [ number_literal ])) ;) (expression_statement "piVar3[10] = iVar10 + 2;" (assignment_expression "piVar3[10] = iVar10 + 2" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (binary_expression "iVar10 + 2" identifier + number_literal)) ;) (if_statement "if (*(int *)(iVar9 + 0x18) == 0) {\n    iVar8 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }" if (parenthesized_expression "(*(int *)(iVar9 + 0x18) == 0)" ( (binary_expression "*(int *)(iVar9 + 0x18) == 0" (pointer_expression "*(int *)(iVar9 + 0x18)" * (cast_expression "(int *)(iVar9 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x18)" ( (binary_expression "iVar9 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar8 = -16000000;\n    local_44 = -1000000;\n  }" { (expression_statement "iVar8 = -16000000;" (assignment_expression "iVar8 = -16000000" identifier = number_literal) ;) (expression_statement "local_44 = -1000000;" (assignment_expression "local_44 = -1000000" identifier = number_literal) ;) }) (else_clause "else {\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }" else (compound_statement "{\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }" { (expression_statement "local_44 = FUN_000304d0(iVar10);" (assignment_expression "local_44 = FUN_000304d0(iVar10)" identifier = (call_expression "FUN_000304d0(iVar10)" identifier (argument_list "(iVar10)" ( identifier )))) ;) (expression_statement "iVar8 = local_44 << 4;" (assignment_expression "iVar8 = local_44 << 4" identifier = (binary_expression "local_44 << 4" identifier << number_literal)) ;) }))) (expression_statement "iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8));" (assignment_expression "iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8))" identifier = (call_expression "FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8))" identifier (argument_list "(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8))" ( number_literal , (pointer_expression "*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8)" * (cast_expression "(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x10) + iVar8)" ( (binary_expression "*(int *)(iVar4 + 0x10) + iVar8" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) + identifier) )))) )))) ;) (if_statement "if (iVar4 == 0) {\n    FUN_00049420(1,*puVar1);\n    piVar6 = (int *)piVar3[2];\n    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00049420(1,*puVar1);\n    piVar6 = (int *)piVar3[2];\n    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }\n  }" { (expression_statement "FUN_00049420(1,*puVar1);" (call_expression "FUN_00049420(1,*puVar1)" identifier (argument_list "(1,*puVar1)" ( number_literal , (pointer_expression "*puVar1" * identifier) ))) ;) (expression_statement "piVar6 = (int *)piVar3[2];" (assignment_expression "piVar6 = (int *)piVar3[2]" identifier = (cast_expression "(int *)piVar3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ]))) ;) (if_statement "if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }" if (parenthesized_expression "((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0))" ( (binary_expression "(piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)" (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)" ( (comma_expression "piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0" (assignment_expression "piVar6 = (int *)FUN_000498b0()" identifier = (cast_expression "(int *)FUN_000498b0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000498b0()" identifier (argument_list "()" ( ))))) , (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }" { (expression_statement "local_30 = extraout_ECX;" (assignment_expression "local_30 = extraout_ECX" identifier = identifier) ;) (if_statement "if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }" if (parenthesized_expression "(extraout_ECX < 0)" ( (binary_expression "extraout_ECX < 0" identifier < number_literal) )) (compound_statement "{\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }" { (expression_statement "local_30 = *(int *)(iVar9 + 0x2c);" (assignment_expression "local_30 = *(int *)(iVar9 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar9 + 0x2c)" * (cast_expression "(int *)(iVar9 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x2c)" ( (binary_expression "iVar9 + 0x2c" identifier + number_literal) ))))) ;) })) (expression_statement "piVar5 = (int *)FUN_0005c6c0();" (assignment_expression "piVar5 = (int *)FUN_0005c6c0()" identifier = (cast_expression "(int *)FUN_0005c6c0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005c6c0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "piVar3[10] = piVar3[10] + 1;" (assignment_expression "piVar3[10] = piVar3[10] + 1" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (binary_expression "piVar3[10] + 1" (subscript_expression "piVar3[10]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }" if (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *piVar5 = *piVar5 + 1;\n      }" { (expression_statement "*piVar5 = *piVar5 + 1;" (assignment_expression "*piVar5 = *piVar5 + 1" (pointer_expression "*piVar5" * identifier) = (binary_expression "*piVar5 + 1" (pointer_expression "*piVar5" * identifier) + number_literal)) ;) })) (expression_statement "FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));" (call_expression "FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32))" identifier (argument_list "(0,*(undefined2 *)(iVar9 + 0x32))" ( number_literal , (pointer_expression "*(undefined2 *)(iVar9 + 0x32)" * (cast_expression "(undefined2 *)(iVar9 + 0x32)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x32)" ( (binary_expression "iVar9 + 0x32" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000370b0(0xfffffff7);" (call_expression "FUN_000370b0(0xfffffff7)" identifier (argument_list "(0xfffffff7)" ( number_literal ))) ;) (expression_statement "FUN_0005c7e0(puVar1,0x6d);" (call_expression "FUN_0005c7e0(puVar1,0x6d)" identifier (argument_list "(puVar1,0x6d)" ( identifier , number_literal ))) ;) (expression_statement "iVar4 = FUN_000497a0(0,0);" (assignment_expression "iVar4 = FUN_000497a0(0,0)" identifier = (call_expression "FUN_000497a0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal )))) ;) (if_statement "if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }" if (parenthesized_expression "(*(char *)((int)piVar3 + 0x13) == '\0')" ( (binary_expression "*(char *)((int)piVar3 + 0x13) == '\0'" (pointer_expression "*(char *)((int)piVar3 + 0x13)" * (cast_expression "(char *)((int)piVar3 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + 0x13)" ( (binary_expression "(int)piVar3 + 0x13" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }" { (expression_statement "local_40 = piVar3[0xb] + 1;" (assignment_expression "local_40 = piVar3[0xb] + 1" identifier = (binary_expression "piVar3[0xb] + 1" (subscript_expression "piVar3[0xb]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "piVar3[0xb] = local_40;" (assignment_expression "piVar3[0xb] = local_40" (subscript_expression "piVar3[0xb]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }" else (compound_statement "{\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }" { (expression_statement "bVar2 = *(char *)((int)piVar3 + 0x13) - 1;" (assignment_expression "bVar2 = *(char *)((int)piVar3 + 0x13) - 1" identifier = (binary_expression "*(char *)((int)piVar3 + 0x13) - 1" (pointer_expression "*(char *)((int)piVar3 + 0x13)" * (cast_expression "(char *)((int)piVar3 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + 0x13)" ( (binary_expression "(int)piVar3 + 0x13" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - number_literal)) ;) (expression_statement "*(byte *)((int)piVar3 + 0x13) = bVar2;" (assignment_expression "*(byte *)((int)piVar3 + 0x13) = bVar2" (pointer_expression "*(byte *)((int)piVar3 + 0x13)" * (cast_expression "(byte *)((int)piVar3 + 0x13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + 0x13)" ( (binary_expression "(int)piVar3 + 0x13" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "local_40 = piVar3[bVar2 + 0x24];" (assignment_expression "local_40 = piVar3[bVar2 + 0x24]" identifier = (subscript_expression "piVar3[bVar2 + 0x24]" identifier [ (binary_expression "bVar2 + 0x24" identifier + number_literal) ])) ;) }))) (expression_statement "piVar5 = (int *)piVar3[0x1d];" (assignment_expression "piVar5 = (int *)piVar3[0x1d]" identifier = (cast_expression "(int *)piVar3[0x1d]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[0x1d]" identifier [ number_literal ]))) ;) (if_statement "if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }" if (parenthesized_expression "((int *)piVar3[0x1d] == (int *)0x0)" ( (binary_expression "(int *)piVar3[0x1d] == (int *)0x0" (cast_expression "(int *)piVar3[0x1d]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[0x1d]" identifier [ number_literal ])) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        piVar5 = piVar3;\n      }" { (expression_statement "piVar5 = piVar3;" (assignment_expression "piVar5 = piVar3" identifier = identifier) ;) })) (expression_statement "*(undefined1 *)(piVar5 + 5) = 1;" (assignment_expression "*(undefined1 *)(piVar5 + 5) = 1" (pointer_expression "*(undefined1 *)(piVar5 + 5)" * (cast_expression "(undefined1 *)(piVar5 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 5)" ( (binary_expression "piVar5 + 5" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0009c790(local_40,0,&local_24,0,0);" (call_expression "FUN_0009c790(local_40,0,&local_24,0,0)" identifier (argument_list "(local_40,0,&local_24,0,0)" ( identifier , number_literal , (pointer_expression "&local_24" & identifier) , number_literal , number_literal ))) ;) (expression_statement "FUN_000497a0(local_40,0);" (call_expression "FUN_000497a0(local_40,0)" identifier (argument_list "(local_40,0)" ( identifier , number_literal ))) ;) (if_statement "if (local_24 != 0) {\n        FUN_00049570();\n      }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_00049570();\n      }" { (expression_statement "FUN_00049570();" (call_expression "FUN_00049570()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_000497a0(iVar4 + 1,0);" (call_expression "FUN_000497a0(iVar4 + 1,0)" identifier (argument_list "(iVar4 + 1,0)" ( (binary_expression "iVar4 + 1" identifier + number_literal) , number_literal ))) ;) (if_statement "if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n        iVar4 = piVar6[0x1a] + -1;\n      }" { (expression_statement "iVar4 = piVar6[0x1a] + -1;" (assignment_expression "iVar4 = piVar6[0x1a] + -1" identifier = (binary_expression "piVar6[0x1a] + -1" (subscript_expression "piVar6[0x1a]" identifier [ number_literal ]) + number_literal)) ;) })) (expression_statement "iVar8 = unaff_EDI + 0xafa15;" (assignment_expression "iVar8 = unaff_EDI + 0xafa15" identifier = (binary_expression "unaff_EDI + 0xafa15" identifier + number_literal)) ;) (if_statement "if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }" if (parenthesized_expression "(*(char *)(*piVar6 + 0x4d) == '\0')" ( (binary_expression "*(char *)(*piVar6 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar6 + 0x4d)" * (cast_expression "(char *)(*piVar6 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar6 + 0x4d)" ( (binary_expression "*piVar6 + 0x4d" (pointer_expression "*piVar6" * identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }" { (expression_statement "iVar8 = piVar6[0x19] + iVar4 * 0x14;" (assignment_expression "iVar8 = piVar6[0x19] + iVar4 * 0x14" identifier = (binary_expression "piVar6[0x19] + iVar4 * 0x14" (subscript_expression "piVar6[0x19]" identifier [ number_literal ]) + (binary_expression "iVar4 * 0x14" identifier * number_literal))) ;) })) (expression_statement "*(int *)(iVar8 + 8) = piVar6[0x1a];" (assignment_expression "*(int *)(iVar8 + 8) = piVar6[0x1a]" (pointer_expression "*(int *)(iVar8 + 8)" * (cast_expression "(int *)(iVar8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 8)" ( (binary_expression "iVar8 + 8" identifier + number_literal) )))) = (subscript_expression "piVar6[0x1a]" identifier [ number_literal ])) ;) (if_statement "if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }" if (parenthesized_expression "(extraout_ECX < 0)" ( (binary_expression "extraout_ECX < 0" identifier < number_literal) )) (compound_statement "{\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }" { (expression_statement "FUN_000497a0(local_44,0);" (call_expression "FUN_000497a0(local_44,0)" identifier (argument_list "(local_44,0)" ( identifier , number_literal ))) ;) (expression_statement "FUN_000497a0(local_30,local_44);" (call_expression "FUN_000497a0(local_30,local_44)" identifier (argument_list "(local_30,local_44)" ( identifier , identifier ))) ;) (expression_statement "FUN_000370b0(0xfffffff7);" (call_expression "FUN_000370b0(0xfffffff7)" identifier (argument_list "(0xfffffff7)" ( number_literal ))) ;) (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" identifier = number_literal) ;) }) (else_clause "else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }" else (compound_statement "{\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }" { (expression_statement "FUN_000497a0(local_30,local_44);" (call_expression "FUN_000497a0(local_30,local_44)" identifier (argument_list "(local_30,local_44)" ( identifier , identifier ))) ;) (expression_statement "FUN_000370b0(0xfffffff7);" (call_expression "FUN_000370b0(0xfffffff7)" identifier (argument_list "(0xfffffff7)" ( number_literal ))) ;) (expression_statement "uVar7 = 0x11;" (assignment_expression "uVar7 = 0x11" identifier = number_literal) ;) }))) (if_statement "if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }" if (parenthesized_expression "(0 < piVar6[0x1a])" ( (binary_expression "0 < piVar6[0x1a]" number_literal < (subscript_expression "piVar6[0x1a]" identifier [ number_literal ])) )) (compound_statement "{\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }" { (expression_statement "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;" (assignment_expression "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7" (pointer_expression "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" * (cast_expression "(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" ( (binary_expression "piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12" (binary_expression "piVar6[0x19] + piVar6[0x1a] * 0x14" (subscript_expression "piVar6[0x19]" identifier [ number_literal ]) + (binary_expression "piVar6[0x1a] * 0x14" (subscript_expression "piVar6[0x1a]" identifier [ number_literal ]) * number_literal)) + number_literal) )))) = identifier) ;) })) (expression_statement "iVar4 = FUN_000497a0(0,0);" (assignment_expression "iVar4 = FUN_000497a0(0,0)" identifier = (call_expression "FUN_000497a0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal )))) ;) (if_statement "if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }" if (parenthesized_expression "(*(char *)(iVar9 + 0x36) == '\0')" ( (binary_expression "*(char *)(iVar9 + 0x36) == '\0'" (pointer_expression "*(char *)(iVar9 + 0x36)" * (cast_expression "(char *)(iVar9 + 0x36)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x36)" ( (binary_expression "iVar9 + 0x36" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        local_44 = piVar6[0x1a];\n      }" { (expression_statement "local_44 = piVar6[0x1a];" (assignment_expression "local_44 = piVar6[0x1a]" identifier = (subscript_expression "piVar6[0x1a]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }" else (compound_statement "{\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }" { (expression_statement "iVar8 = FUN_000497a0(1,0);" (assignment_expression "iVar8 = FUN_000497a0(1,0)" identifier = (call_expression "FUN_000497a0(1,0)" identifier (argument_list "(1,0)" ( number_literal , number_literal )))) ;) (expression_statement "local_44 = piVar6[0x1a];" (assignment_expression "local_44 = piVar6[0x1a]" identifier = (subscript_expression "piVar6[0x1a]" identifier [ number_literal ])) ;) (expression_statement "FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));" (call_expression "FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32))" identifier (argument_list "(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32))" ( identifier , identifier , (pointer_expression "*(undefined2 *)(iVar9 + 0x32)" * (cast_expression "(undefined2 *)(iVar9 + 0x32)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x32)" ( (binary_expression "iVar9 + 0x32" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_00067180();" (call_expression "FUN_00067180()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar9 = piVar6[0x1a] + -1;" (assignment_expression "iVar9 = piVar6[0x1a] + -1" identifier = (binary_expression "piVar6[0x1a] + -1" (subscript_expression "piVar6[0x1a]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }" if (parenthesized_expression "(-1 < iVar8)" ( (binary_expression "-1 < iVar8" number_literal < identifier) )) (compound_statement "{\n          iVar9 = iVar8;\n        }" { (expression_statement "iVar9 = iVar8;" (assignment_expression "iVar9 = iVar8" identifier = identifier) ;) })) (expression_statement "iVar8 = unaff_EDI + 0xafa15;" (assignment_expression "iVar8 = unaff_EDI + 0xafa15" identifier = (binary_expression "unaff_EDI + 0xafa15" identifier + number_literal)) ;) (if_statement "if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }" if (parenthesized_expression "(*(char *)(*piVar6 + 0x4d) == '\0')" ( (binary_expression "*(char *)(*piVar6 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar6 + 0x4d)" * (cast_expression "(char *)(*piVar6 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar6 + 0x4d)" ( (binary_expression "*piVar6 + 0x4d" (pointer_expression "*piVar6" * identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }" { (expression_statement "iVar8 = piVar6[0x19] + iVar9 * 0x14;" (assignment_expression "iVar8 = piVar6[0x19] + iVar9 * 0x14" identifier = (binary_expression "piVar6[0x19] + iVar9 * 0x14" (subscript_expression "piVar6[0x19]" identifier [ number_literal ]) + (binary_expression "iVar9 * 0x14" identifier * number_literal))) ;) })) (expression_statement "*(int *)(iVar8 + 8) = piVar6[0x1a];" (assignment_expression "*(int *)(iVar8 + 8) = piVar6[0x1a]" (pointer_expression "*(int *)(iVar8 + 8)" * (cast_expression "(int *)(iVar8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 8)" ( (binary_expression "iVar8 + 8" identifier + number_literal) )))) = (subscript_expression "piVar6[0x1a]" identifier [ number_literal ])) ;) }))) (expression_statement "FUN_000497a0(local_40,iVar10 + 1);" (call_expression "FUN_000497a0(local_40,iVar10 + 1)" identifier (argument_list "(local_40,iVar10 + 1)" ( identifier , (binary_expression "iVar10 + 1" identifier + number_literal) ))) ;) (expression_statement "FUN_000497a0(0,0);" (call_expression "FUN_000497a0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) (expression_statement "FUN_000497a0(local_40,0);" (call_expression "FUN_000497a0(local_40,0)" identifier (argument_list "(local_40,0)" ( identifier , number_literal ))) ;) (if_statement "if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }" if (parenthesized_expression "(0 < piVar6[0x1a])" ( (binary_expression "0 < piVar6[0x1a]" number_literal < (subscript_expression "piVar6[0x1a]" identifier [ number_literal ])) )) (compound_statement "{\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }" { (expression_statement "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;" (assignment_expression "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10" (pointer_expression "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" * (cast_expression "(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" ( (binary_expression "piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12" (binary_expression "piVar6[0x19] + piVar6[0x1a] * 0x14" (subscript_expression "piVar6[0x19]" identifier [ number_literal ]) + (binary_expression "piVar6[0x1a] * 0x14" (subscript_expression "piVar6[0x1a]" identifier [ number_literal ]) * number_literal)) + number_literal) )))) = number_literal) ;) })) (if_statement "if (local_40 != 0) {\n        FUN_0002f640();\n      }" if (parenthesized_expression "(local_40 != 0)" ( (binary_expression "local_40 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_0002f640();\n      }" { (expression_statement "FUN_0002f640();" (call_expression "FUN_0002f640()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_000497a0(local_44,0);" (call_expression "FUN_000497a0(local_44,0)" identifier (argument_list "(local_44,0)" ( identifier , number_literal ))) ;) (expression_statement "iVar10 = piVar6[0x1a] + -1;" (assignment_expression "iVar10 = piVar6[0x1a] + -1" identifier = (binary_expression "piVar6[0x1a] + -1" (subscript_expression "piVar6[0x1a]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n        iVar10 = iVar4;\n      }" { (expression_statement "iVar10 = iVar4;" (assignment_expression "iVar10 = iVar4" identifier = identifier) ;) })) (expression_statement "iVar4 = unaff_EDI + 0xafa15;" (assignment_expression "iVar4 = unaff_EDI + 0xafa15" identifier = (binary_expression "unaff_EDI + 0xafa15" identifier + number_literal)) ;) (if_statement "if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }" if (parenthesized_expression "(*(char *)(*piVar6 + 0x4d) == '\0')" ( (binary_expression "*(char *)(*piVar6 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar6 + 0x4d)" * (cast_expression "(char *)(*piVar6 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar6 + 0x4d)" ( (binary_expression "*piVar6 + 0x4d" (pointer_expression "*piVar6" * identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }" { (expression_statement "iVar4 = piVar6[0x19] + iVar10 * 0x14;" (assignment_expression "iVar4 = piVar6[0x19] + iVar10 * 0x14" identifier = (binary_expression "piVar6[0x19] + iVar10 * 0x14" (subscript_expression "piVar6[0x19]" identifier [ number_literal ]) + (binary_expression "iVar10 * 0x14" identifier * number_literal))) ;) })) (expression_statement "*(int *)(iVar4 + 8) = piVar6[0x1a];" (assignment_expression "*(int *)(iVar4 + 8) = piVar6[0x1a]" (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = (subscript_expression "piVar6[0x1a]" identifier [ number_literal ])) ;) (expression_statement "FUN_000497a0(0,0);" (call_expression "FUN_000497a0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) (expression_statement "FUN_000497a0(0,0);" (call_expression "FUN_000497a0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) (expression_statement "FUN_000497a0(0,0);" (call_expression "FUN_000497a0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) })) })) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f6410();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000f6410();\n  }" { comment (expression_statement "FUN_000f6410();" (call_expression "FUN_000f6410()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3RefillIndex(Parse *pParse,Index *pIndex,int memRootPage)\n\n{\n  Table *pTab;\n  sqlite3 *db;\n  byte bVar1;\n  Parse *pParse_00;\n  KeyInfo *zP4;\n  int iVar2;\n  Parse *pPVar3;\n  Vdbe *p;\n  int p2;\n  int extraout_ECX;\n  u16 uVar4;\n  Index *pIdx;\n  int iVar5;\n  Op *pOVar6;\n  int iVar7;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  undefined8 uVar8;\n  char *in_stack_ffffffac;\n  char *in_stack_ffffffb0;\n  char *pcVar9;\n  char *iDataCur;\n  int local_44;\n  int local_40;\n  int local_30;\n  int iPartIdxLabel;\n  int local_20;\n  \n  uVar8 = __x86_get_pc_thunk_di();\n  pIdx = (Index *)((ulonglong)uVar8 >> 0x20);\n  pParse_00 = (Parse *)uVar8;\n  pTab = pIdx->pTable;\n  db = pParse_00->db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar9 = (char *)pParse_00->nTab;\n  pParse_00->nTab = (int)(pcVar9 + 2);\n  if (pIdx->pSchema == (Schema *)0x0) {\n    iVar5 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    in_stack_ffffffb0 = (char *)0x9cb8d;\n    local_44 = sqlite3SchemaToIndex(db,pIdx->pSchema);\n    iVar5 = local_44 << 4;\n  }\n  iVar5 = sqlite3AuthCheck((Parse *)0x0,*(int *)((int)&db->aDb->zDbSName + iVar5),in_stack_ffffffac,\n                           in_stack_ffffffb0,pcVar9);\n  if (iVar5 == 0) {\n    sqlite3TableLock(pParse_00,local_44,pTab->tnum,'\x01',pTab->zName);\n    p = pParse_00->pVdbe;\n    if ((p != (Vdbe *)0x0) || (p = sqlite3GetVdbe(pParse_00), p != (Vdbe *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = pIdx->tnum;\n      }\n      zP4 = sqlite3KeyInfoOfIndex(pParse_00,pIdx);\n      iVar5 = pParse_00->nTab;\n      pParse_00->nTab = iVar5 + 1;\n      if (zP4 != (KeyInfo *)0x0) {\n        zP4->nRef = zP4->nRef + 1;\n      }\n      iVar2 = sqlite3VdbeAddOp3(p,0x72,iVar5,0,(uint)pIdx->nKeyCol);\n      sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n      iDataCur = pcVar9;\n      sqlite3OpenTable(pParse_00,(int)pcVar9,local_44,pTab,0x6d);\n      iVar2 = sqlite3VdbeAddOp3(p,0x24,(int)pcVar9,0,0);\n      if (pParse_00->nTempReg == '\0') {\n        local_40 = pParse_00->nMem + 1;\n        pParse_00->nMem = local_40;\n      }\n      else {\n        bVar1 = pParse_00->nTempReg - 1;\n        pParse_00->nTempReg = bVar1;\n        local_40 = pParse_00->aTempReg[bVar1];\n      }\n      pPVar3 = pParse_00->pToplevel;\n      if (pParse_00->pToplevel == (Parse *)0x0) {\n        pPVar3 = pParse_00;\n      }\n      pPVar3->isMultiWrite = '\x01';\n      sqlite3GenerateIndexKey(pParse_00,pIdx,(int)iDataCur,local_40,0,&iPartIdxLabel,(Index *)0x0,0)\n      ;\n      sqlite3VdbeAddOp3(p,0x83,iVar5,local_40,0);\n      if (iPartIdxLabel != 0) {\n        sqlite3VdbeResolveLabel(pParse_00->pVdbe,iPartIdxLabel);\n      }\n      sqlite3VdbeAddOp3(p,5,(int)iDataCur,iVar2 + 1,0);\n      if (iVar2 < 0) {\n        iVar2 = p->nOp + -1;\n      }\n      pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n      if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar2;\n      }\n      pOVar6->p2 = p->nOp;\n      pcVar9 = iDataCur + 1;\n      if (extraout_ECX < 0) {\n        sqlite3VdbeAddOp3(p,0x89,local_30,local_44,0);\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 1;\n      }\n      else {\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 0x11;\n      }\n      if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = uVar4;\n      }\n      iVar2 = sqlite3VdbeAddOp3(p,0x22,iVar5,0,0);\n      if (pIdx->onError == '\0') {\n        local_44 = p->nOp;\n      }\n      else {\n        p2 = sqlite3VdbeAddOp3(p,0xb,0,1,0);\n        local_44 = p->nOp;\n        sqlite3VdbeAddOp4Int(p,0x7d,iVar5,p2,local_40,(uint)pIdx->nKeyCol);\n        sqlite3UniqueConstraint(pParse_00,2,pIdx);\n        iVar7 = p->nOp + -1;\n        if (-1 < p2) {\n          iVar7 = p2;\n        }\n        pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n        if (p->db->mallocFailed == '\0') {\n          pOVar6 = p->aOp + iVar7;\n        }\n        pOVar6->p2 = p->nOp;\n      }\n      sqlite3VdbeAddOp3(p,0x7e,iVar5,local_40,(int)pcVar9);\n      sqlite3VdbeAddOp3(p,0x82,(int)pcVar9,0,0);\n      sqlite3VdbeAddOp3(p,0x84,(int)pcVar9,local_40,0);\n      if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = 0x10;\n      }\n      if (local_40 != 0) {\n        sqlite3ReleaseTempReg(pParse_00,local_40);\n      }\n      sqlite3VdbeAddOp3(p,3,iVar5,local_44,0);\n      iVar7 = p->nOp + -1;\n      if (-1 < iVar2) {\n        iVar7 = iVar2;\n      }\n      pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n      if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar7;\n      }\n      pOVar6->p2 = p->nOp;\n      sqlite3VdbeAddOp3(p,0x75,(int)iDataCur,0,0);\n      sqlite3VdbeAddOp3(p,0x75,(int)pcVar9,0,0);\n      sqlite3VdbeAddOp3(p,0x75,iVar5,0,0);\n    }\n  }\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 sqlite3RefillIndex(Parse *pParse,Index *pIndex,int memRootPage)\n\n{\n  Table *pTab;\n  sqlite3 *db;\n  byte bVar1;\n  Parse *pParse_00;\n  KeyInfo *zP4;\n  int iVar2;\n  Parse *pPVar3;\n  Vdbe *p;\n  int p2;\n  int extraout_ECX;\n  u16 uVar4;\n  Index *pIdx;\n  int iVar5;\n  Op *pOVar6;\n  int iVar7;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  undefined8 uVar8;\n  char *in_stack_ffffffac;\n  char *in_stack_ffffffb0;\n  char *pcVar9;\n  char *iDataCur;\n  int local_44;\n  int local_40;\n  int local_30;\n  int iPartIdxLabel;\n  int local_20;\n  \n  uVar8 = __x86_get_pc_thunk_di();\n  pIdx = (Index *)((ulonglong)uVar8 >> 0x20);\n  pParse_00 = (Parse *)uVar8;\n  pTab = pIdx->pTable;\n  db = pParse_00->db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar9 = (char *)pParse_00->nTab;\n  pParse_00->nTab = (int)(pcVar9 + 2);\n  if (pIdx->pSchema == (Schema *)0x0) {\n    iVar5 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    in_stack_ffffffb0 = (char *)0x9cb8d;\n    local_44 = sqlite3SchemaToIndex(db,pIdx->pSchema);\n    iVar5 = local_44 << 4;\n  }\n  iVar5 = sqlite3AuthCheck((Parse *)0x0,*(int *)((int)&db->aDb->zDbSName + iVar5),in_stack_ffffffac,\n                           in_stack_ffffffb0,pcVar9);\n  if (iVar5 == 0) {\n    sqlite3TableLock(pParse_00,local_44,pTab->tnum,'\x01',pTab->zName);\n    p = pParse_00->pVdbe;\n    if ((p != (Vdbe *)0x0) || (p = sqlite3GetVdbe(pParse_00), p != (Vdbe *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = pIdx->tnum;\n      }\n      zP4 = sqlite3KeyInfoOfIndex(pParse_00,pIdx);\n      iVar5 = pParse_00->nTab;\n      pParse_00->nTab = iVar5 + 1;\n      if (zP4 != (KeyInfo *)0x0) {\n        zP4->nRef = zP4->nRef + 1;\n      }\n      iVar2 = sqlite3VdbeAddOp3(p,0x72,iVar5,0,(uint)pIdx->nKeyCol);\n      sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n      iDataCur = pcVar9;\n      sqlite3OpenTable(pParse_00,(int)pcVar9,local_44,pTab,0x6d);\n      iVar2 = sqlite3VdbeAddOp3(p,0x24,(int)pcVar9,0,0);\n      if (pParse_00->nTempReg == '\0') {\n        local_40 = pParse_00->nMem + 1;\n        pParse_00->nMem = local_40;\n      }\n      else {\n        bVar1 = pParse_00->nTempReg - 1;\n        pParse_00->nTempReg = bVar1;\n        local_40 = pParse_00->aTempReg[bVar1];\n      }\n      pPVar3 = pParse_00->pToplevel;\n      if (pParse_00->pToplevel == (Parse *)0x0) {\n        pPVar3 = pParse_00;\n      }\n      pPVar3->isMultiWrite = '\x01';\n      sqlite3GenerateIndexKey(pParse_00,pIdx,(int)iDataCur,local_40,0,&iPartIdxLabel,(Index *)0x0,0)\n      ;\n      sqlite3VdbeAddOp3(p,0x83,iVar5,local_40,0);\n      if (iPartIdxLabel != 0) {\n        sqlite3VdbeResolveLabel(pParse_00->pVdbe,iPartIdxLabel);\n      }\n      sqlite3VdbeAddOp3(p,5,(int)iDataCur,iVar2 + 1,0);\n      if (iVar2 < 0) {\n        iVar2 = p->nOp + -1;\n      }\n      pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n      if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar2;\n      }\n      pOVar6->p2 = p->nOp;\n      pcVar9 = iDataCur + 1;\n      if (extraout_ECX < 0) {\n        sqlite3VdbeAddOp3(p,0x89,local_30,local_44,0);\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 1;\n      }\n      else {\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 0x11;\n      }\n      if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = uVar4;\n      }\n      iVar2 = sqlite3VdbeAddOp3(p,0x22,iVar5,0,0);\n      if (pIdx->onError == '\0') {\n        local_44 = p->nOp;\n      }\n      else {\n        p2 = sqlite3VdbeAddOp3(p,0xb,0,1,0);\n        local_44 = p->nOp;\n        sqlite3VdbeAddOp4Int(p,0x7d,iVar5,p2,local_40,(uint)pIdx->nKeyCol);\n        sqlite3UniqueConstraint(pParse_00,2,pIdx);\n        iVar7 = p->nOp + -1;\n        if (-1 < p2) {\n          iVar7 = p2;\n        }\n        pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n        if (p->db->mallocFailed == '\0') {\n          pOVar6 = p->aOp + iVar7;\n        }\n        pOVar6->p2 = p->nOp;\n      }\n      sqlite3VdbeAddOp3(p,0x7e,iVar5,local_40,(int)pcVar9);\n      sqlite3VdbeAddOp3(p,0x82,(int)pcVar9,0,0);\n      sqlite3VdbeAddOp3(p,0x84,(int)pcVar9,local_40,0);\n      if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = 0x10;\n      }\n      if (local_40 != 0) {\n        sqlite3ReleaseTempReg(pParse_00,local_40);\n      }\n      sqlite3VdbeAddOp3(p,3,iVar5,local_44,0);\n      iVar7 = p->nOp + -1;\n      if (-1 < iVar2) {\n        iVar7 = iVar2;\n      }\n      pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n      if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar7;\n      }\n      pOVar6->p2 = p->nOp;\n      sqlite3VdbeAddOp3(p,0x75,(int)iDataCur,0,0);\n      sqlite3VdbeAddOp3(p,0x75,(int)pcVar9,0,0);\n      sqlite3VdbeAddOp3(p,0x75,iVar5,0,0);\n    }\n  }\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 "sqlite3RefillIndex(Parse *pParse,Index *pIndex,int memRootPage)" identifier (parameter_list "(Parse *pParse,Index *pIndex,int memRootPage)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "Index *pIndex" type_identifier (pointer_declarator "*pIndex" * identifier)) , (parameter_declaration "int memRootPage" primitive_type identifier) ))) (compound_statement "{\n  Table *pTab;\n  sqlite3 *db;\n  byte bVar1;\n  Parse *pParse_00;\n  KeyInfo *zP4;\n  int iVar2;\n  Parse *pPVar3;\n  Vdbe *p;\n  int p2;\n  int extraout_ECX;\n  u16 uVar4;\n  Index *pIdx;\n  int iVar5;\n  Op *pOVar6;\n  int iVar7;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  undefined8 uVar8;\n  char *in_stack_ffffffac;\n  char *in_stack_ffffffb0;\n  char *pcVar9;\n  char *iDataCur;\n  int local_44;\n  int local_40;\n  int local_30;\n  int iPartIdxLabel;\n  int local_20;\n  \n  uVar8 = __x86_get_pc_thunk_di();\n  pIdx = (Index *)((ulonglong)uVar8 >> 0x20);\n  pParse_00 = (Parse *)uVar8;\n  pTab = pIdx->pTable;\n  db = pParse_00->db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar9 = (char *)pParse_00->nTab;\n  pParse_00->nTab = (int)(pcVar9 + 2);\n  if (pIdx->pSchema == (Schema *)0x0) {\n    iVar5 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    in_stack_ffffffb0 = (char *)0x9cb8d;\n    local_44 = sqlite3SchemaToIndex(db,pIdx->pSchema);\n    iVar5 = local_44 << 4;\n  }\n  iVar5 = sqlite3AuthCheck((Parse *)0x0,*(int *)((int)&db->aDb->zDbSName + iVar5),in_stack_ffffffac,\n                           in_stack_ffffffb0,pcVar9);\n  if (iVar5 == 0) {\n    sqlite3TableLock(pParse_00,local_44,pTab->tnum,'\x01',pTab->zName);\n    p = pParse_00->pVdbe;\n    if ((p != (Vdbe *)0x0) || (p = sqlite3GetVdbe(pParse_00), p != (Vdbe *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = pIdx->tnum;\n      }\n      zP4 = sqlite3KeyInfoOfIndex(pParse_00,pIdx);\n      iVar5 = pParse_00->nTab;\n      pParse_00->nTab = iVar5 + 1;\n      if (zP4 != (KeyInfo *)0x0) {\n        zP4->nRef = zP4->nRef + 1;\n      }\n      iVar2 = sqlite3VdbeAddOp3(p,0x72,iVar5,0,(uint)pIdx->nKeyCol);\n      sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n      iDataCur = pcVar9;\n      sqlite3OpenTable(pParse_00,(int)pcVar9,local_44,pTab,0x6d);\n      iVar2 = sqlite3VdbeAddOp3(p,0x24,(int)pcVar9,0,0);\n      if (pParse_00->nTempReg == '\0') {\n        local_40 = pParse_00->nMem + 1;\n        pParse_00->nMem = local_40;\n      }\n      else {\n        bVar1 = pParse_00->nTempReg - 1;\n        pParse_00->nTempReg = bVar1;\n        local_40 = pParse_00->aTempReg[bVar1];\n      }\n      pPVar3 = pParse_00->pToplevel;\n      if (pParse_00->pToplevel == (Parse *)0x0) {\n        pPVar3 = pParse_00;\n      }\n      pPVar3->isMultiWrite = '\x01';\n      sqlite3GenerateIndexKey(pParse_00,pIdx,(int)iDataCur,local_40,0,&iPartIdxLabel,(Index *)0x0,0)\n      ;\n      sqlite3VdbeAddOp3(p,0x83,iVar5,local_40,0);\n      if (iPartIdxLabel != 0) {\n        sqlite3VdbeResolveLabel(pParse_00->pVdbe,iPartIdxLabel);\n      }\n      sqlite3VdbeAddOp3(p,5,(int)iDataCur,iVar2 + 1,0);\n      if (iVar2 < 0) {\n        iVar2 = p->nOp + -1;\n      }\n      pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n      if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar2;\n      }\n      pOVar6->p2 = p->nOp;\n      pcVar9 = iDataCur + 1;\n      if (extraout_ECX < 0) {\n        sqlite3VdbeAddOp3(p,0x89,local_30,local_44,0);\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 1;\n      }\n      else {\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 0x11;\n      }\n      if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = uVar4;\n      }\n      iVar2 = sqlite3VdbeAddOp3(p,0x22,iVar5,0,0);\n      if (pIdx->onError == '\0') {\n        local_44 = p->nOp;\n      }\n      else {\n        p2 = sqlite3VdbeAddOp3(p,0xb,0,1,0);\n        local_44 = p->nOp;\n        sqlite3VdbeAddOp4Int(p,0x7d,iVar5,p2,local_40,(uint)pIdx->nKeyCol);\n        sqlite3UniqueConstraint(pParse_00,2,pIdx);\n        iVar7 = p->nOp + -1;\n        if (-1 < p2) {\n          iVar7 = p2;\n        }\n        pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n        if (p->db->mallocFailed == '\0') {\n          pOVar6 = p->aOp + iVar7;\n        }\n        pOVar6->p2 = p->nOp;\n      }\n      sqlite3VdbeAddOp3(p,0x7e,iVar5,local_40,(int)pcVar9);\n      sqlite3VdbeAddOp3(p,0x82,(int)pcVar9,0,0);\n      sqlite3VdbeAddOp3(p,0x84,(int)pcVar9,local_40,0);\n      if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = 0x10;\n      }\n      if (local_40 != 0) {\n        sqlite3ReleaseTempReg(pParse_00,local_40);\n      }\n      sqlite3VdbeAddOp3(p,3,iVar5,local_44,0);\n      iVar7 = p->nOp + -1;\n      if (-1 < iVar2) {\n        iVar7 = iVar2;\n      }\n      pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n      if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar7;\n      }\n      pOVar6->p2 = p->nOp;\n      sqlite3VdbeAddOp3(p,0x75,(int)iDataCur,0,0);\n      sqlite3VdbeAddOp3(p,0x75,(int)pcVar9,0,0);\n      sqlite3VdbeAddOp3(p,0x75,iVar5,0,0);\n    }\n  }\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 "Table *pTab;" type_identifier (pointer_declarator "*pTab" * identifier) ;) (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (declaration "byte bVar1;" type_identifier identifier ;) (declaration "Parse *pParse_00;" type_identifier (pointer_declarator "*pParse_00" * identifier) ;) (declaration "KeyInfo *zP4;" type_identifier (pointer_declarator "*zP4" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "Parse *pPVar3;" type_identifier (pointer_declarator "*pPVar3" * identifier) ;) (declaration "Vdbe *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "int p2;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "u16 uVar4;" type_identifier identifier ;) (declaration "Index *pIdx;" type_identifier (pointer_declarator "*pIdx" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "Op *pOVar6;" type_identifier (pointer_declarator "*pOVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "char *in_stack_ffffffac;" primitive_type (pointer_declarator "*in_stack_ffffffac" * identifier) ;) (declaration "char *in_stack_ffffffb0;" primitive_type (pointer_declarator "*in_stack_ffffffb0" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "char *iDataCur;" primitive_type (pointer_declarator "*iDataCur" * identifier) ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int iPartIdxLabel;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "uVar8 = __x86_get_pc_thunk_di();" (assignment_expression "uVar8 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "pIdx = (Index *)((ulonglong)uVar8 >> 0x20);" (assignment_expression "pIdx = (Index *)((ulonglong)uVar8 >> 0x20)" identifier = (cast_expression "(Index *)((ulonglong)uVar8 >> 0x20)" ( (type_descriptor "Index *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "pParse_00 = (Parse *)uVar8;" (assignment_expression "pParse_00 = (Parse *)uVar8" identifier = (cast_expression "(Parse *)uVar8" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pTab = pIdx->pTable;" (assignment_expression "pTab = pIdx->pTable" identifier = (field_expression "pIdx->pTable" identifier -> field_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) ))))) ;) (expression_statement "pcVar9 = (char *)pParse_00->nTab;" (assignment_expression "pcVar9 = (char *)pParse_00->nTab" identifier = (cast_expression "(char *)pParse_00->nTab" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "pParse_00->nTab" identifier -> field_identifier))) ;) (expression_statement "pParse_00->nTab = (int)(pcVar9 + 2);" (assignment_expression "pParse_00->nTab = (int)(pcVar9 + 2)" (field_expression "pParse_00->nTab" identifier -> field_identifier) = (cast_expression "(int)(pcVar9 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pcVar9 + 2)" ( (binary_expression "pcVar9 + 2" identifier + number_literal) )))) ;) (if_statement "if (pIdx->pSchema == (Schema *)0x0) {\n    iVar5 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    in_stack_ffffffb0 = (char *)0x9cb8d;\n    local_44 = sqlite3SchemaToIndex(db,pIdx->pSchema);\n    iVar5 = local_44 << 4;\n  }" if (parenthesized_expression "(pIdx->pSchema == (Schema *)0x0)" ( (binary_expression "pIdx->pSchema == (Schema *)0x0" (field_expression "pIdx->pSchema" identifier -> field_identifier) == (cast_expression "(Schema *)0x0" ( (type_descriptor "Schema *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar5 = -16000000;\n    local_44 = -1000000;\n  }" { (expression_statement "iVar5 = -16000000;" (assignment_expression "iVar5 = -16000000" identifier = number_literal) ;) (expression_statement "local_44 = -1000000;" (assignment_expression "local_44 = -1000000" identifier = number_literal) ;) }) (else_clause "else {\n    in_stack_ffffffb0 = (char *)0x9cb8d;\n    local_44 = sqlite3SchemaToIndex(db,pIdx->pSchema);\n    iVar5 = local_44 << 4;\n  }" else (compound_statement "{\n    in_stack_ffffffb0 = (char *)0x9cb8d;\n    local_44 = sqlite3SchemaToIndex(db,pIdx->pSchema);\n    iVar5 = local_44 << 4;\n  }" { (expression_statement "in_stack_ffffffb0 = (char *)0x9cb8d;" (assignment_expression "in_stack_ffffffb0 = (char *)0x9cb8d" identifier = (cast_expression "(char *)0x9cb8d" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_44 = sqlite3SchemaToIndex(db,pIdx->pSchema);" (assignment_expression "local_44 = sqlite3SchemaToIndex(db,pIdx->pSchema)" identifier = (call_expression "sqlite3SchemaToIndex(db,pIdx->pSchema)" identifier (argument_list "(db,pIdx->pSchema)" ( identifier , (field_expression "pIdx->pSchema" identifier -> field_identifier) )))) ;) (expression_statement "iVar5 = local_44 << 4;" (assignment_expression "iVar5 = local_44 << 4" identifier = (binary_expression "local_44 << 4" identifier << number_literal)) ;) }))) (expression_statement "iVar5 = sqlite3AuthCheck((Parse *)0x0,*(int *)((int)&db->aDb->zDbSName + iVar5),in_stack_ffffffac,\n                           in_stack_ffffffb0,pcVar9);" (assignment_expression "iVar5 = sqlite3AuthCheck((Parse *)0x0,*(int *)((int)&db->aDb->zDbSName + iVar5),in_stack_ffffffac,\n                           in_stack_ffffffb0,pcVar9)" identifier = (call_expression "sqlite3AuthCheck((Parse *)0x0,*(int *)((int)&db->aDb->zDbSName + iVar5),in_stack_ffffffac,\n                           in_stack_ffffffb0,pcVar9)" identifier (argument_list "((Parse *)0x0,*(int *)((int)&db->aDb->zDbSName + iVar5),in_stack_ffffffac,\n                           in_stack_ffffffb0,pcVar9)" ( (cast_expression "(Parse *)0x0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (pointer_expression "*(int *)((int)&db->aDb->zDbSName + iVar5)" * (cast_expression "(int *)((int)&db->aDb->zDbSName + iVar5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&db->aDb->zDbSName + iVar5)" ( (binary_expression "(int)&db->aDb->zDbSName + iVar5" (cast_expression "(int)&db->aDb->zDbSName" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&db->aDb->zDbSName" & (field_expression "db->aDb->zDbSName" (field_expression "db->aDb" identifier -> field_identifier) -> field_identifier))) + identifier) )))) , identifier , identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n    sqlite3TableLock(pParse_00,local_44,pTab->tnum,'\x01',pTab->zName);\n    p = pParse_00->pVdbe;\n    if ((p != (Vdbe *)0x0) || (p = sqlite3GetVdbe(pParse_00), p != (Vdbe *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = pIdx->tnum;\n      }\n      zP4 = sqlite3KeyInfoOfIndex(pParse_00,pIdx);\n      iVar5 = pParse_00->nTab;\n      pParse_00->nTab = iVar5 + 1;\n      if (zP4 != (KeyInfo *)0x0) {\n        zP4->nRef = zP4->nRef + 1;\n      }\n      iVar2 = sqlite3VdbeAddOp3(p,0x72,iVar5,0,(uint)pIdx->nKeyCol);\n      sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n      iDataCur = pcVar9;\n      sqlite3OpenTable(pParse_00,(int)pcVar9,local_44,pTab,0x6d);\n      iVar2 = sqlite3VdbeAddOp3(p,0x24,(int)pcVar9,0,0);\n      if (pParse_00->nTempReg == '\0') {\n        local_40 = pParse_00->nMem + 1;\n        pParse_00->nMem = local_40;\n      }\n      else {\n        bVar1 = pParse_00->nTempReg - 1;\n        pParse_00->nTempReg = bVar1;\n        local_40 = pParse_00->aTempReg[bVar1];\n      }\n      pPVar3 = pParse_00->pToplevel;\n      if (pParse_00->pToplevel == (Parse *)0x0) {\n        pPVar3 = pParse_00;\n      }\n      pPVar3->isMultiWrite = '\x01';\n      sqlite3GenerateIndexKey(pParse_00,pIdx,(int)iDataCur,local_40,0,&iPartIdxLabel,(Index *)0x0,0)\n      ;\n      sqlite3VdbeAddOp3(p,0x83,iVar5,local_40,0);\n      if (iPartIdxLabel != 0) {\n        sqlite3VdbeResolveLabel(pParse_00->pVdbe,iPartIdxLabel);\n      }\n      sqlite3VdbeAddOp3(p,5,(int)iDataCur,iVar2 + 1,0);\n      if (iVar2 < 0) {\n        iVar2 = p->nOp + -1;\n      }\n      pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n      if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar2;\n      }\n      pOVar6->p2 = p->nOp;\n      pcVar9 = iDataCur + 1;\n      if (extraout_ECX < 0) {\n        sqlite3VdbeAddOp3(p,0x89,local_30,local_44,0);\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 1;\n      }\n      else {\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 0x11;\n      }\n      if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = uVar4;\n      }\n      iVar2 = sqlite3VdbeAddOp3(p,0x22,iVar5,0,0);\n      if (pIdx->onError == '\0') {\n        local_44 = p->nOp;\n      }\n      else {\n        p2 = sqlite3VdbeAddOp3(p,0xb,0,1,0);\n        local_44 = p->nOp;\n        sqlite3VdbeAddOp4Int(p,0x7d,iVar5,p2,local_40,(uint)pIdx->nKeyCol);\n        sqlite3UniqueConstraint(pParse_00,2,pIdx);\n        iVar7 = p->nOp + -1;\n        if (-1 < p2) {\n          iVar7 = p2;\n        }\n        pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n        if (p->db->mallocFailed == '\0') {\n          pOVar6 = p->aOp + iVar7;\n        }\n        pOVar6->p2 = p->nOp;\n      }\n      sqlite3VdbeAddOp3(p,0x7e,iVar5,local_40,(int)pcVar9);\n      sqlite3VdbeAddOp3(p,0x82,(int)pcVar9,0,0);\n      sqlite3VdbeAddOp3(p,0x84,(int)pcVar9,local_40,0);\n      if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = 0x10;\n      }\n      if (local_40 != 0) {\n        sqlite3ReleaseTempReg(pParse_00,local_40);\n      }\n      sqlite3VdbeAddOp3(p,3,iVar5,local_44,0);\n      iVar7 = p->nOp + -1;\n      if (-1 < iVar2) {\n        iVar7 = iVar2;\n      }\n      pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n      if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar7;\n      }\n      pOVar6->p2 = p->nOp;\n      sqlite3VdbeAddOp3(p,0x75,(int)iDataCur,0,0);\n      sqlite3VdbeAddOp3(p,0x75,(int)pcVar9,0,0);\n      sqlite3VdbeAddOp3(p,0x75,iVar5,0,0);\n    }\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    sqlite3TableLock(pParse_00,local_44,pTab->tnum,'\x01',pTab->zName);\n    p = pParse_00->pVdbe;\n    if ((p != (Vdbe *)0x0) || (p = sqlite3GetVdbe(pParse_00), p != (Vdbe *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = pIdx->tnum;\n      }\n      zP4 = sqlite3KeyInfoOfIndex(pParse_00,pIdx);\n      iVar5 = pParse_00->nTab;\n      pParse_00->nTab = iVar5 + 1;\n      if (zP4 != (KeyInfo *)0x0) {\n        zP4->nRef = zP4->nRef + 1;\n      }\n      iVar2 = sqlite3VdbeAddOp3(p,0x72,iVar5,0,(uint)pIdx->nKeyCol);\n      sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n      iDataCur = pcVar9;\n      sqlite3OpenTable(pParse_00,(int)pcVar9,local_44,pTab,0x6d);\n      iVar2 = sqlite3VdbeAddOp3(p,0x24,(int)pcVar9,0,0);\n      if (pParse_00->nTempReg == '\0') {\n        local_40 = pParse_00->nMem + 1;\n        pParse_00->nMem = local_40;\n      }\n      else {\n        bVar1 = pParse_00->nTempReg - 1;\n        pParse_00->nTempReg = bVar1;\n        local_40 = pParse_00->aTempReg[bVar1];\n      }\n      pPVar3 = pParse_00->pToplevel;\n      if (pParse_00->pToplevel == (Parse *)0x0) {\n        pPVar3 = pParse_00;\n      }\n      pPVar3->isMultiWrite = '\x01';\n      sqlite3GenerateIndexKey(pParse_00,pIdx,(int)iDataCur,local_40,0,&iPartIdxLabel,(Index *)0x0,0)\n      ;\n      sqlite3VdbeAddOp3(p,0x83,iVar5,local_40,0);\n      if (iPartIdxLabel != 0) {\n        sqlite3VdbeResolveLabel(pParse_00->pVdbe,iPartIdxLabel);\n      }\n      sqlite3VdbeAddOp3(p,5,(int)iDataCur,iVar2 + 1,0);\n      if (iVar2 < 0) {\n        iVar2 = p->nOp + -1;\n      }\n      pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n      if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar2;\n      }\n      pOVar6->p2 = p->nOp;\n      pcVar9 = iDataCur + 1;\n      if (extraout_ECX < 0) {\n        sqlite3VdbeAddOp3(p,0x89,local_30,local_44,0);\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 1;\n      }\n      else {\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 0x11;\n      }\n      if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = uVar4;\n      }\n      iVar2 = sqlite3VdbeAddOp3(p,0x22,iVar5,0,0);\n      if (pIdx->onError == '\0') {\n        local_44 = p->nOp;\n      }\n      else {\n        p2 = sqlite3VdbeAddOp3(p,0xb,0,1,0);\n        local_44 = p->nOp;\n        sqlite3VdbeAddOp4Int(p,0x7d,iVar5,p2,local_40,(uint)pIdx->nKeyCol);\n        sqlite3UniqueConstraint(pParse_00,2,pIdx);\n        iVar7 = p->nOp + -1;\n        if (-1 < p2) {\n          iVar7 = p2;\n        }\n        pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n        if (p->db->mallocFailed == '\0') {\n          pOVar6 = p->aOp + iVar7;\n        }\n        pOVar6->p2 = p->nOp;\n      }\n      sqlite3VdbeAddOp3(p,0x7e,iVar5,local_40,(int)pcVar9);\n      sqlite3VdbeAddOp3(p,0x82,(int)pcVar9,0,0);\n      sqlite3VdbeAddOp3(p,0x84,(int)pcVar9,local_40,0);\n      if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = 0x10;\n      }\n      if (local_40 != 0) {\n        sqlite3ReleaseTempReg(pParse_00,local_40);\n      }\n      sqlite3VdbeAddOp3(p,3,iVar5,local_44,0);\n      iVar7 = p->nOp + -1;\n      if (-1 < iVar2) {\n        iVar7 = iVar2;\n      }\n      pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n      if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar7;\n      }\n      pOVar6->p2 = p->nOp;\n      sqlite3VdbeAddOp3(p,0x75,(int)iDataCur,0,0);\n      sqlite3VdbeAddOp3(p,0x75,(int)pcVar9,0,0);\n      sqlite3VdbeAddOp3(p,0x75,iVar5,0,0);\n    }\n  }" { (expression_statement "sqlite3TableLock(pParse_00,local_44,pTab->tnum,'\x01',pTab->zName);" (call_expression "sqlite3TableLock(pParse_00,local_44,pTab->tnum,'\x01',pTab->zName)" identifier (argument_list "(pParse_00,local_44,pTab->tnum,'\x01',pTab->zName)" ( identifier , identifier , (field_expression "pTab->tnum" identifier -> field_identifier) , (char_literal "'\x01'" ' escape_sequence ') , (field_expression "pTab->zName" identifier -> field_identifier) ))) ;) (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) || (p = sqlite3GetVdbe(pParse_00), p != (Vdbe *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = pIdx->tnum;\n      }\n      zP4 = sqlite3KeyInfoOfIndex(pParse_00,pIdx);\n      iVar5 = pParse_00->nTab;\n      pParse_00->nTab = iVar5 + 1;\n      if (zP4 != (KeyInfo *)0x0) {\n        zP4->nRef = zP4->nRef + 1;\n      }\n      iVar2 = sqlite3VdbeAddOp3(p,0x72,iVar5,0,(uint)pIdx->nKeyCol);\n      sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n      iDataCur = pcVar9;\n      sqlite3OpenTable(pParse_00,(int)pcVar9,local_44,pTab,0x6d);\n      iVar2 = sqlite3VdbeAddOp3(p,0x24,(int)pcVar9,0,0);\n      if (pParse_00->nTempReg == '\0') {\n        local_40 = pParse_00->nMem + 1;\n        pParse_00->nMem = local_40;\n      }\n      else {\n        bVar1 = pParse_00->nTempReg - 1;\n        pParse_00->nTempReg = bVar1;\n        local_40 = pParse_00->aTempReg[bVar1];\n      }\n      pPVar3 = pParse_00->pToplevel;\n      if (pParse_00->pToplevel == (Parse *)0x0) {\n        pPVar3 = pParse_00;\n      }\n      pPVar3->isMultiWrite = '\x01';\n      sqlite3GenerateIndexKey(pParse_00,pIdx,(int)iDataCur,local_40,0,&iPartIdxLabel,(Index *)0x0,0)\n      ;\n      sqlite3VdbeAddOp3(p,0x83,iVar5,local_40,0);\n      if (iPartIdxLabel != 0) {\n        sqlite3VdbeResolveLabel(pParse_00->pVdbe,iPartIdxLabel);\n      }\n      sqlite3VdbeAddOp3(p,5,(int)iDataCur,iVar2 + 1,0);\n      if (iVar2 < 0) {\n        iVar2 = p->nOp + -1;\n      }\n      pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n      if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar2;\n      }\n      pOVar6->p2 = p->nOp;\n      pcVar9 = iDataCur + 1;\n      if (extraout_ECX < 0) {\n        sqlite3VdbeAddOp3(p,0x89,local_30,local_44,0);\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 1;\n      }\n      else {\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 0x11;\n      }\n      if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = uVar4;\n      }\n      iVar2 = sqlite3VdbeAddOp3(p,0x22,iVar5,0,0);\n      if (pIdx->onError == '\0') {\n        local_44 = p->nOp;\n      }\n      else {\n        p2 = sqlite3VdbeAddOp3(p,0xb,0,1,0);\n        local_44 = p->nOp;\n        sqlite3VdbeAddOp4Int(p,0x7d,iVar5,p2,local_40,(uint)pIdx->nKeyCol);\n        sqlite3UniqueConstraint(pParse_00,2,pIdx);\n        iVar7 = p->nOp + -1;\n        if (-1 < p2) {\n          iVar7 = p2;\n        }\n        pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n        if (p->db->mallocFailed == '\0') {\n          pOVar6 = p->aOp + iVar7;\n        }\n        pOVar6->p2 = p->nOp;\n      }\n      sqlite3VdbeAddOp3(p,0x7e,iVar5,local_40,(int)pcVar9);\n      sqlite3VdbeAddOp3(p,0x82,(int)pcVar9,0,0);\n      sqlite3VdbeAddOp3(p,0x84,(int)pcVar9,local_40,0);\n      if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = 0x10;\n      }\n      if (local_40 != 0) {\n        sqlite3ReleaseTempReg(pParse_00,local_40);\n      }\n      sqlite3VdbeAddOp3(p,3,iVar5,local_44,0);\n      iVar7 = p->nOp + -1;\n      if (-1 < iVar2) {\n        iVar7 = iVar2;\n      }\n      pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n      if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar7;\n      }\n      pOVar6->p2 = p->nOp;\n      sqlite3VdbeAddOp3(p,0x75,(int)iDataCur,0,0);\n      sqlite3VdbeAddOp3(p,0x75,(int)pcVar9,0,0);\n      sqlite3VdbeAddOp3(p,0x75,iVar5,0,0);\n    }" if (parenthesized_expression "((p != (Vdbe *)0x0) || (p = sqlite3GetVdbe(pParse_00), p != (Vdbe *)0x0))" ( (binary_expression "(p != (Vdbe *)0x0) || (p = sqlite3GetVdbe(pParse_00), p != (Vdbe *)0x0)" (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)) )) || (parenthesized_expression "(p = sqlite3GetVdbe(pParse_00), p != (Vdbe *)0x0)" ( (comma_expression "p = sqlite3GetVdbe(pParse_00), p != (Vdbe *)0x0" (assignment_expression "p = sqlite3GetVdbe(pParse_00)" identifier = (call_expression "sqlite3GetVdbe(pParse_00)" identifier (argument_list "(pParse_00)" ( identifier )))) , (binary_expression "p != (Vdbe *)0x0" identifier != (cast_expression "(Vdbe *)0x0" ( (type_descriptor "Vdbe *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = pIdx->tnum;\n      }\n      zP4 = sqlite3KeyInfoOfIndex(pParse_00,pIdx);\n      iVar5 = pParse_00->nTab;\n      pParse_00->nTab = iVar5 + 1;\n      if (zP4 != (KeyInfo *)0x0) {\n        zP4->nRef = zP4->nRef + 1;\n      }\n      iVar2 = sqlite3VdbeAddOp3(p,0x72,iVar5,0,(uint)pIdx->nKeyCol);\n      sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n      iDataCur = pcVar9;\n      sqlite3OpenTable(pParse_00,(int)pcVar9,local_44,pTab,0x6d);\n      iVar2 = sqlite3VdbeAddOp3(p,0x24,(int)pcVar9,0,0);\n      if (pParse_00->nTempReg == '\0') {\n        local_40 = pParse_00->nMem + 1;\n        pParse_00->nMem = local_40;\n      }\n      else {\n        bVar1 = pParse_00->nTempReg - 1;\n        pParse_00->nTempReg = bVar1;\n        local_40 = pParse_00->aTempReg[bVar1];\n      }\n      pPVar3 = pParse_00->pToplevel;\n      if (pParse_00->pToplevel == (Parse *)0x0) {\n        pPVar3 = pParse_00;\n      }\n      pPVar3->isMultiWrite = '\x01';\n      sqlite3GenerateIndexKey(pParse_00,pIdx,(int)iDataCur,local_40,0,&iPartIdxLabel,(Index *)0x0,0)\n      ;\n      sqlite3VdbeAddOp3(p,0x83,iVar5,local_40,0);\n      if (iPartIdxLabel != 0) {\n        sqlite3VdbeResolveLabel(pParse_00->pVdbe,iPartIdxLabel);\n      }\n      sqlite3VdbeAddOp3(p,5,(int)iDataCur,iVar2 + 1,0);\n      if (iVar2 < 0) {\n        iVar2 = p->nOp + -1;\n      }\n      pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n      if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar2;\n      }\n      pOVar6->p2 = p->nOp;\n      pcVar9 = iDataCur + 1;\n      if (extraout_ECX < 0) {\n        sqlite3VdbeAddOp3(p,0x89,local_30,local_44,0);\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 1;\n      }\n      else {\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 0x11;\n      }\n      if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = uVar4;\n      }\n      iVar2 = sqlite3VdbeAddOp3(p,0x22,iVar5,0,0);\n      if (pIdx->onError == '\0') {\n        local_44 = p->nOp;\n      }\n      else {\n        p2 = sqlite3VdbeAddOp3(p,0xb,0,1,0);\n        local_44 = p->nOp;\n        sqlite3VdbeAddOp4Int(p,0x7d,iVar5,p2,local_40,(uint)pIdx->nKeyCol);\n        sqlite3UniqueConstraint(pParse_00,2,pIdx);\n        iVar7 = p->nOp + -1;\n        if (-1 < p2) {\n          iVar7 = p2;\n        }\n        pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n        if (p->db->mallocFailed == '\0') {\n          pOVar6 = p->aOp + iVar7;\n        }\n        pOVar6->p2 = p->nOp;\n      }\n      sqlite3VdbeAddOp3(p,0x7e,iVar5,local_40,(int)pcVar9);\n      sqlite3VdbeAddOp3(p,0x82,(int)pcVar9,0,0);\n      sqlite3VdbeAddOp3(p,0x84,(int)pcVar9,local_40,0);\n      if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = 0x10;\n      }\n      if (local_40 != 0) {\n        sqlite3ReleaseTempReg(pParse_00,local_40);\n      }\n      sqlite3VdbeAddOp3(p,3,iVar5,local_44,0);\n      iVar7 = p->nOp + -1;\n      if (-1 < iVar2) {\n        iVar7 = iVar2;\n      }\n      pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n      if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar7;\n      }\n      pOVar6->p2 = p->nOp;\n      sqlite3VdbeAddOp3(p,0x75,(int)iDataCur,0,0);\n      sqlite3VdbeAddOp3(p,0x75,(int)pcVar9,0,0);\n      sqlite3VdbeAddOp3(p,0x75,iVar5,0,0);\n    }" { (expression_statement "local_30 = extraout_ECX;" (assignment_expression "local_30 = extraout_ECX" identifier = identifier) ;) (if_statement "if (extraout_ECX < 0) {\n        local_30 = pIdx->tnum;\n      }" if (parenthesized_expression "(extraout_ECX < 0)" ( (binary_expression "extraout_ECX < 0" identifier < number_literal) )) (compound_statement "{\n        local_30 = pIdx->tnum;\n      }" { (expression_statement "local_30 = pIdx->tnum;" (assignment_expression "local_30 = pIdx->tnum" identifier = (field_expression "pIdx->tnum" identifier -> field_identifier)) ;) })) (expression_statement "zP4 = sqlite3KeyInfoOfIndex(pParse_00,pIdx);" (assignment_expression "zP4 = sqlite3KeyInfoOfIndex(pParse_00,pIdx)" identifier = (call_expression "sqlite3KeyInfoOfIndex(pParse_00,pIdx)" identifier (argument_list "(pParse_00,pIdx)" ( identifier , identifier )))) ;) (expression_statement "iVar5 = pParse_00->nTab;" (assignment_expression "iVar5 = pParse_00->nTab" identifier = (field_expression "pParse_00->nTab" identifier -> field_identifier)) ;) (expression_statement "pParse_00->nTab = iVar5 + 1;" (assignment_expression "pParse_00->nTab = iVar5 + 1" (field_expression "pParse_00->nTab" identifier -> field_identifier) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (if_statement "if (zP4 != (KeyInfo *)0x0) {\n        zP4->nRef = zP4->nRef + 1;\n      }" if (parenthesized_expression "(zP4 != (KeyInfo *)0x0)" ( (binary_expression "zP4 != (KeyInfo *)0x0" identifier != (cast_expression "(KeyInfo *)0x0" ( (type_descriptor "KeyInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        zP4->nRef = zP4->nRef + 1;\n      }" { (expression_statement "zP4->nRef = zP4->nRef + 1;" (assignment_expression "zP4->nRef = zP4->nRef + 1" (field_expression "zP4->nRef" identifier -> field_identifier) = (binary_expression "zP4->nRef + 1" (field_expression "zP4->nRef" identifier -> field_identifier) + number_literal)) ;) })) (expression_statement "iVar2 = sqlite3VdbeAddOp3(p,0x72,iVar5,0,(uint)pIdx->nKeyCol);" (assignment_expression "iVar2 = sqlite3VdbeAddOp3(p,0x72,iVar5,0,(uint)pIdx->nKeyCol)" identifier = (call_expression "sqlite3VdbeAddOp3(p,0x72,iVar5,0,(uint)pIdx->nKeyCol)" identifier (argument_list "(p,0x72,iVar5,0,(uint)pIdx->nKeyCol)" ( identifier , number_literal , identifier , number_literal , (cast_expression "(uint)pIdx->nKeyCol" ( (type_descriptor "uint" type_identifier) ) (field_expression "pIdx->nKeyCol" identifier -> field_identifier)) )))) ;) (expression_statement "sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);" (call_expression "sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9)" identifier (argument_list "(p,iVar2,(char *)zP4,-9)" ( identifier , identifier , (cast_expression "(char *)zP4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal ))) ;) (expression_statement "iDataCur = pcVar9;" (assignment_expression "iDataCur = pcVar9" identifier = identifier) ;) (expression_statement "sqlite3OpenTable(pParse_00,(int)pcVar9,local_44,pTab,0x6d);" (call_expression "sqlite3OpenTable(pParse_00,(int)pcVar9,local_44,pTab,0x6d)" identifier (argument_list "(pParse_00,(int)pcVar9,local_44,pTab,0x6d)" ( identifier , (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier , number_literal ))) ;) (expression_statement "iVar2 = sqlite3VdbeAddOp3(p,0x24,(int)pcVar9,0,0);" (assignment_expression "iVar2 = sqlite3VdbeAddOp3(p,0x24,(int)pcVar9,0,0)" identifier = (call_expression "sqlite3VdbeAddOp3(p,0x24,(int)pcVar9,0,0)" identifier (argument_list "(p,0x24,(int)pcVar9,0,0)" ( identifier , number_literal , (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal )))) ;) (if_statement "if (pParse_00->nTempReg == '\0') {\n        local_40 = pParse_00->nMem + 1;\n        pParse_00->nMem = local_40;\n      }\n      else {\n        bVar1 = pParse_00->nTempReg - 1;\n        pParse_00->nTempReg = bVar1;\n        local_40 = pParse_00->aTempReg[bVar1];\n      }" if (parenthesized_expression "(pParse_00->nTempReg == '\0')" ( (binary_expression "pParse_00->nTempReg == '\0'" (field_expression "pParse_00->nTempReg" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        local_40 = pParse_00->nMem + 1;\n        pParse_00->nMem = local_40;\n      }" { (expression_statement "local_40 = pParse_00->nMem + 1;" (assignment_expression "local_40 = pParse_00->nMem + 1" identifier = (binary_expression "pParse_00->nMem + 1" (field_expression "pParse_00->nMem" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pParse_00->nMem = local_40;" (assignment_expression "pParse_00->nMem = local_40" (field_expression "pParse_00->nMem" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n        bVar1 = pParse_00->nTempReg - 1;\n        pParse_00->nTempReg = bVar1;\n        local_40 = pParse_00->aTempReg[bVar1];\n      }" else (compound_statement "{\n        bVar1 = pParse_00->nTempReg - 1;\n        pParse_00->nTempReg = bVar1;\n        local_40 = pParse_00->aTempReg[bVar1];\n      }" { (expression_statement "bVar1 = pParse_00->nTempReg - 1;" (assignment_expression "bVar1 = pParse_00->nTempReg - 1" identifier = (binary_expression "pParse_00->nTempReg - 1" (field_expression "pParse_00->nTempReg" identifier -> field_identifier) - number_literal)) ;) (expression_statement "pParse_00->nTempReg = bVar1;" (assignment_expression "pParse_00->nTempReg = bVar1" (field_expression "pParse_00->nTempReg" identifier -> field_identifier) = identifier) ;) (expression_statement "local_40 = pParse_00->aTempReg[bVar1];" (assignment_expression "local_40 = pParse_00->aTempReg[bVar1]" identifier = (subscript_expression "pParse_00->aTempReg[bVar1]" (field_expression "pParse_00->aTempReg" identifier -> field_identifier) [ identifier ])) ;) }))) (expression_statement "pPVar3 = pParse_00->pToplevel;" (assignment_expression "pPVar3 = pParse_00->pToplevel" identifier = (field_expression "pParse_00->pToplevel" identifier -> field_identifier)) ;) (if_statement "if (pParse_00->pToplevel == (Parse *)0x0) {\n        pPVar3 = pParse_00;\n      }" if (parenthesized_expression "(pParse_00->pToplevel == (Parse *)0x0)" ( (binary_expression "pParse_00->pToplevel == (Parse *)0x0" (field_expression "pParse_00->pToplevel" identifier -> field_identifier) == (cast_expression "(Parse *)0x0" ( (type_descriptor "Parse *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pPVar3 = pParse_00;\n      }" { (expression_statement "pPVar3 = pParse_00;" (assignment_expression "pPVar3 = pParse_00" identifier = identifier) ;) })) (expression_statement "pPVar3->isMultiWrite = '\x01';" (assignment_expression "pPVar3->isMultiWrite = '\x01'" (field_expression "pPVar3->isMultiWrite" identifier -> field_identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "sqlite3GenerateIndexKey(pParse_00,pIdx,(int)iDataCur,local_40,0,&iPartIdxLabel,(Index *)0x0,0)\n      ;" (call_expression "sqlite3GenerateIndexKey(pParse_00,pIdx,(int)iDataCur,local_40,0,&iPartIdxLabel,(Index *)0x0,0)" identifier (argument_list "(pParse_00,pIdx,(int)iDataCur,local_40,0,&iPartIdxLabel,(Index *)0x0,0)" ( identifier , identifier , (cast_expression "(int)iDataCur" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , number_literal , (pointer_expression "&iPartIdxLabel" & identifier) , (cast_expression "(Index *)0x0" ( (type_descriptor "Index *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal ))) ;) (expression_statement "sqlite3VdbeAddOp3(p,0x83,iVar5,local_40,0);" (call_expression "sqlite3VdbeAddOp3(p,0x83,iVar5,local_40,0)" identifier (argument_list "(p,0x83,iVar5,local_40,0)" ( identifier , number_literal , identifier , identifier , number_literal ))) ;) (if_statement "if (iPartIdxLabel != 0) {\n        sqlite3VdbeResolveLabel(pParse_00->pVdbe,iPartIdxLabel);\n      }" if (parenthesized_expression "(iPartIdxLabel != 0)" ( (binary_expression "iPartIdxLabel != 0" identifier != number_literal) )) (compound_statement "{\n        sqlite3VdbeResolveLabel(pParse_00->pVdbe,iPartIdxLabel);\n      }" { (expression_statement "sqlite3VdbeResolveLabel(pParse_00->pVdbe,iPartIdxLabel);" (call_expression "sqlite3VdbeResolveLabel(pParse_00->pVdbe,iPartIdxLabel)" identifier (argument_list "(pParse_00->pVdbe,iPartIdxLabel)" ( (field_expression "pParse_00->pVdbe" identifier -> field_identifier) , identifier ))) ;) })) (expression_statement "sqlite3VdbeAddOp3(p,5,(int)iDataCur,iVar2 + 1,0);" (call_expression "sqlite3VdbeAddOp3(p,5,(int)iDataCur,iVar2 + 1,0)" identifier (argument_list "(p,5,(int)iDataCur,iVar2 + 1,0)" ( identifier , number_literal , (cast_expression "(int)iDataCur" ( (type_descriptor "int" primitive_type) ) identifier) , (binary_expression "iVar2 + 1" identifier + number_literal) , number_literal ))) ;) (if_statement "if (iVar2 < 0) {\n        iVar2 = p->nOp + -1;\n      }" if (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) (compound_statement "{\n        iVar2 = p->nOp + -1;\n      }" { (expression_statement "iVar2 = p->nOp + -1;" (assignment_expression "iVar2 = p->nOp + -1" identifier = (binary_expression "p->nOp + -1" (field_expression "p->nOp" identifier -> field_identifier) + number_literal)) ;) })) (expression_statement "pOVar6 = (Op *)(unaff_EDI + 0xafa15);" (assignment_expression "pOVar6 = (Op *)(unaff_EDI + 0xafa15)" identifier = (cast_expression "(Op *)(unaff_EDI + 0xafa15)" ( (type_descriptor "Op *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xafa15)" ( (binary_expression "unaff_EDI + 0xafa15" identifier + number_literal) )))) ;) (if_statement "if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar2;\n      }" if (parenthesized_expression "(p->db->mallocFailed == '\0')" ( (binary_expression "p->db->mallocFailed == '\0'" (field_expression "p->db->mallocFailed" (field_expression "p->db" identifier -> field_identifier) -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        pOVar6 = p->aOp + iVar2;\n      }" { (expression_statement "pOVar6 = p->aOp + iVar2;" (assignment_expression "pOVar6 = p->aOp + iVar2" identifier = (binary_expression "p->aOp + iVar2" (field_expression "p->aOp" identifier -> field_identifier) + identifier)) ;) })) (expression_statement "pOVar6->p2 = p->nOp;" (assignment_expression "pOVar6->p2 = p->nOp" (field_expression "pOVar6->p2" identifier -> field_identifier) = (field_expression "p->nOp" identifier -> field_identifier)) ;) (expression_statement "pcVar9 = iDataCur + 1;" (assignment_expression "pcVar9 = iDataCur + 1" identifier = (binary_expression "iDataCur + 1" identifier + number_literal)) ;) (if_statement "if (extraout_ECX < 0) {\n        sqlite3VdbeAddOp3(p,0x89,local_30,local_44,0);\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 1;\n      }\n      else {\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 0x11;\n      }" if (parenthesized_expression "(extraout_ECX < 0)" ( (binary_expression "extraout_ECX < 0" identifier < number_literal) )) (compound_statement "{\n        sqlite3VdbeAddOp3(p,0x89,local_30,local_44,0);\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 1;\n      }" { (expression_statement "sqlite3VdbeAddOp3(p,0x89,local_30,local_44,0);" (call_expression "sqlite3VdbeAddOp3(p,0x89,local_30,local_44,0)" identifier (argument_list "(p,0x89,local_30,local_44,0)" ( identifier , number_literal , identifier , identifier , number_literal ))) ;) (expression_statement "iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);" (assignment_expression "iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44)" identifier = (call_expression "sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44)" identifier (argument_list "(p,0x6e,(int)pcVar9,local_30,local_44)" ( identifier , number_literal , (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier )))) ;) (expression_statement "sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);" (call_expression "sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9)" identifier (argument_list "(p,iVar2,(char *)zP4,-9)" ( identifier , identifier , (cast_expression "(char *)zP4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 0x11;\n      }" else (compound_statement "{\n        iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);\n        sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);\n        uVar4 = 0x11;\n      }" { (expression_statement "iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44);" (assignment_expression "iVar2 = sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44)" identifier = (call_expression "sqlite3VdbeAddOp3(p,0x6e,(int)pcVar9,local_30,local_44)" identifier (argument_list "(p,0x6e,(int)pcVar9,local_30,local_44)" ( identifier , number_literal , (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , identifier )))) ;) (expression_statement "sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9);" (call_expression "sqlite3VdbeChangeP4(p,iVar2,(char *)zP4,-9)" identifier (argument_list "(p,iVar2,(char *)zP4,-9)" ( identifier , identifier , (cast_expression "(char *)zP4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal ))) ;) (expression_statement "uVar4 = 0x11;" (assignment_expression "uVar4 = 0x11" identifier = number_literal) ;) }))) (if_statement "if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = uVar4;\n      }" if (parenthesized_expression "(0 < p->nOp)" ( (binary_expression "0 < p->nOp" number_literal < (field_expression "p->nOp" identifier -> field_identifier)) )) (compound_statement "{\n        p->aOp[p->nOp + -1].p5 = uVar4;\n      }" { (expression_statement "p->aOp[p->nOp + -1].p5 = uVar4;" (assignment_expression "p->aOp[p->nOp + -1].p5 = uVar4" (field_expression "p->aOp[p->nOp + -1].p5" (subscript_expression "p->aOp[p->nOp + -1]" (field_expression "p->aOp" identifier -> field_identifier) [ (binary_expression "p->nOp + -1" (field_expression "p->nOp" identifier -> field_identifier) + number_literal) ]) . field_identifier) = identifier) ;) })) (expression_statement "iVar2 = sqlite3VdbeAddOp3(p,0x22,iVar5,0,0);" (assignment_expression "iVar2 = sqlite3VdbeAddOp3(p,0x22,iVar5,0,0)" identifier = (call_expression "sqlite3VdbeAddOp3(p,0x22,iVar5,0,0)" identifier (argument_list "(p,0x22,iVar5,0,0)" ( identifier , number_literal , identifier , number_literal , number_literal )))) ;) (if_statement "if (pIdx->onError == '\0') {\n        local_44 = p->nOp;\n      }\n      else {\n        p2 = sqlite3VdbeAddOp3(p,0xb,0,1,0);\n        local_44 = p->nOp;\n        sqlite3VdbeAddOp4Int(p,0x7d,iVar5,p2,local_40,(uint)pIdx->nKeyCol);\n        sqlite3UniqueConstraint(pParse_00,2,pIdx);\n        iVar7 = p->nOp + -1;\n        if (-1 < p2) {\n          iVar7 = p2;\n        }\n        pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n        if (p->db->mallocFailed == '\0') {\n          pOVar6 = p->aOp + iVar7;\n        }\n        pOVar6->p2 = p->nOp;\n      }" if (parenthesized_expression "(pIdx->onError == '\0')" ( (binary_expression "pIdx->onError == '\0'" (field_expression "pIdx->onError" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        local_44 = p->nOp;\n      }" { (expression_statement "local_44 = p->nOp;" (assignment_expression "local_44 = p->nOp" identifier = (field_expression "p->nOp" identifier -> field_identifier)) ;) }) (else_clause "else {\n        p2 = sqlite3VdbeAddOp3(p,0xb,0,1,0);\n        local_44 = p->nOp;\n        sqlite3VdbeAddOp4Int(p,0x7d,iVar5,p2,local_40,(uint)pIdx->nKeyCol);\n        sqlite3UniqueConstraint(pParse_00,2,pIdx);\n        iVar7 = p->nOp + -1;\n        if (-1 < p2) {\n          iVar7 = p2;\n        }\n        pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n        if (p->db->mallocFailed == '\0') {\n          pOVar6 = p->aOp + iVar7;\n        }\n        pOVar6->p2 = p->nOp;\n      }" else (compound_statement "{\n        p2 = sqlite3VdbeAddOp3(p,0xb,0,1,0);\n        local_44 = p->nOp;\n        sqlite3VdbeAddOp4Int(p,0x7d,iVar5,p2,local_40,(uint)pIdx->nKeyCol);\n        sqlite3UniqueConstraint(pParse_00,2,pIdx);\n        iVar7 = p->nOp + -1;\n        if (-1 < p2) {\n          iVar7 = p2;\n        }\n        pOVar6 = (Op *)(unaff_EDI + 0xafa15);\n        if (p->db->mallocFailed == '\0') {\n          pOVar6 = p->aOp + iVar7;\n        }\n        pOVar6->p2 = p->nOp;\n      }" { (expression_statement "p2 = sqlite3VdbeAddOp3(p,0xb,0,1,0);" (assignment_expression "p2 = sqlite3VdbeAddOp3(p,0xb,0,1,0)" identifier = (call_expression "sqlite3VdbeAddOp3(p,0xb,0,1,0)" identifier (argument_list "(p,0xb,0,1,0)" ( identifier , number_literal , number_literal , number_literal , number_literal )))) ;) (expression_statement "local_44 = p->nOp;" (assignment_expression "local_44 = p->nOp" identifier = (field_expression "p->nOp" identifier -> field_identifier)) ;) (expression_statement "sqlite3VdbeAddOp4Int(p,0x7d,iVar5,p2,local_40,(uint)pIdx->nKeyCol);" (call_expression "sqlite3VdbeAddOp4Int(p,0x7d,iVar5,p2,local_40,(uint)pIdx->nKeyCol)" identifier (argument_list "(p,0x7d,iVar5,p2,local_40,(uint)pIdx->nKeyCol)" ( identifier , number_literal , identifier , identifier , identifier , (cast_expression "(uint)pIdx->nKeyCol" ( (type_descriptor "uint" type_identifier) ) (field_expression "pIdx->nKeyCol" identifier -> field_identifier)) ))) ;) (expression_statement "sqlite3UniqueConstraint(pParse_00,2,pIdx);" (call_expression "sqlite3UniqueConstraint(pParse_00,2,pIdx)" identifier (argument_list "(pParse_00,2,pIdx)" ( identifier , number_literal , identifier ))) ;) (expression_statement "iVar7 = p->nOp + -1;" (assignment_expression "iVar7 = p->nOp + -1" identifier = (binary_expression "p->nOp + -1" (field_expression "p->nOp" identifier -> field_identifier) + number_literal)) ;) (if_statement "if (-1 < p2) {\n          iVar7 = p2;\n        }" if (parenthesized_expression "(-1 < p2)" ( (binary_expression "-1 < p2" number_literal < identifier) )) (compound_statement "{\n          iVar7 = p2;\n        }" { (expression_statement "iVar7 = p2;" (assignment_expression "iVar7 = p2" identifier = identifier) ;) })) (expression_statement "pOVar6 = (Op *)(unaff_EDI + 0xafa15);" (assignment_expression "pOVar6 = (Op *)(unaff_EDI + 0xafa15)" identifier = (cast_expression "(Op *)(unaff_EDI + 0xafa15)" ( (type_descriptor "Op *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xafa15)" ( (binary_expression "unaff_EDI + 0xafa15" identifier + number_literal) )))) ;) (if_statement "if (p->db->mallocFailed == '\0') {\n          pOVar6 = p->aOp + iVar7;\n        }" if (parenthesized_expression "(p->db->mallocFailed == '\0')" ( (binary_expression "p->db->mallocFailed == '\0'" (field_expression "p->db->mallocFailed" (field_expression "p->db" identifier -> field_identifier) -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          pOVar6 = p->aOp + iVar7;\n        }" { (expression_statement "pOVar6 = p->aOp + iVar7;" (assignment_expression "pOVar6 = p->aOp + iVar7" identifier = (binary_expression "p->aOp + iVar7" (field_expression "p->aOp" identifier -> field_identifier) + identifier)) ;) })) (expression_statement "pOVar6->p2 = p->nOp;" (assignment_expression "pOVar6->p2 = p->nOp" (field_expression "pOVar6->p2" identifier -> field_identifier) = (field_expression "p->nOp" identifier -> field_identifier)) ;) }))) (expression_statement "sqlite3VdbeAddOp3(p,0x7e,iVar5,local_40,(int)pcVar9);" (call_expression "sqlite3VdbeAddOp3(p,0x7e,iVar5,local_40,(int)pcVar9)" identifier (argument_list "(p,0x7e,iVar5,local_40,(int)pcVar9)" ( identifier , number_literal , identifier , identifier , (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "sqlite3VdbeAddOp3(p,0x82,(int)pcVar9,0,0);" (call_expression "sqlite3VdbeAddOp3(p,0x82,(int)pcVar9,0,0)" identifier (argument_list "(p,0x82,(int)pcVar9,0,0)" ( identifier , number_literal , (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal ))) ;) (expression_statement "sqlite3VdbeAddOp3(p,0x84,(int)pcVar9,local_40,0);" (call_expression "sqlite3VdbeAddOp3(p,0x84,(int)pcVar9,local_40,0)" identifier (argument_list "(p,0x84,(int)pcVar9,local_40,0)" ( identifier , number_literal , (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) , identifier , number_literal ))) ;) (if_statement "if (0 < p->nOp) {\n        p->aOp[p->nOp + -1].p5 = 0x10;\n      }" if (parenthesized_expression "(0 < p->nOp)" ( (binary_expression "0 < p->nOp" number_literal < (field_expression "p->nOp" identifier -> field_identifier)) )) (compound_statement "{\n        p->aOp[p->nOp + -1].p5 = 0x10;\n      }" { (expression_statement "p->aOp[p->nOp + -1].p5 = 0x10;" (assignment_expression "p->aOp[p->nOp + -1].p5 = 0x10" (field_expression "p->aOp[p->nOp + -1].p5" (subscript_expression "p->aOp[p->nOp + -1]" (field_expression "p->aOp" identifier -> field_identifier) [ (binary_expression "p->nOp + -1" (field_expression "p->nOp" identifier -> field_identifier) + number_literal) ]) . field_identifier) = number_literal) ;) })) (if_statement "if (local_40 != 0) {\n        sqlite3ReleaseTempReg(pParse_00,local_40);\n      }" if (parenthesized_expression "(local_40 != 0)" ( (binary_expression "local_40 != 0" identifier != number_literal) )) (compound_statement "{\n        sqlite3ReleaseTempReg(pParse_00,local_40);\n      }" { (expression_statement "sqlite3ReleaseTempReg(pParse_00,local_40);" (call_expression "sqlite3ReleaseTempReg(pParse_00,local_40)" identifier (argument_list "(pParse_00,local_40)" ( identifier , identifier ))) ;) })) (expression_statement "sqlite3VdbeAddOp3(p,3,iVar5,local_44,0);" (call_expression "sqlite3VdbeAddOp3(p,3,iVar5,local_44,0)" identifier (argument_list "(p,3,iVar5,local_44,0)" ( identifier , number_literal , identifier , identifier , number_literal ))) ;) (expression_statement "iVar7 = p->nOp + -1;" (assignment_expression "iVar7 = p->nOp + -1" identifier = (binary_expression "p->nOp + -1" (field_expression "p->nOp" identifier -> field_identifier) + number_literal)) ;) (if_statement "if (-1 < iVar2) {\n        iVar7 = iVar2;\n      }" if (parenthesized_expression "(-1 < iVar2)" ( (binary_expression "-1 < iVar2" number_literal < identifier) )) (compound_statement "{\n        iVar7 = iVar2;\n      }" { (expression_statement "iVar7 = iVar2;" (assignment_expression "iVar7 = iVar2" identifier = identifier) ;) })) (expression_statement "pOVar6 = (Op *)(unaff_EDI + 0xafa15);" (assignment_expression "pOVar6 = (Op *)(unaff_EDI + 0xafa15)" identifier = (cast_expression "(Op *)(unaff_EDI + 0xafa15)" ( (type_descriptor "Op *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xafa15)" ( (binary_expression "unaff_EDI + 0xafa15" identifier + number_literal) )))) ;) (if_statement "if (p->db->mallocFailed == '\0') {\n        pOVar6 = p->aOp + iVar7;\n      }" if (parenthesized_expression "(p->db->mallocFailed == '\0')" ( (binary_expression "p->db->mallocFailed == '\0'" (field_expression "p->db->mallocFailed" (field_expression "p->db" identifier -> field_identifier) -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        pOVar6 = p->aOp + iVar7;\n      }" { (expression_statement "pOVar6 = p->aOp + iVar7;" (assignment_expression "pOVar6 = p->aOp + iVar7" identifier = (binary_expression "p->aOp + iVar7" (field_expression "p->aOp" identifier -> field_identifier) + identifier)) ;) })) (expression_statement "pOVar6->p2 = p->nOp;" (assignment_expression "pOVar6->p2 = p->nOp" (field_expression "pOVar6->p2" identifier -> field_identifier) = (field_expression "p->nOp" identifier -> field_identifier)) ;) (expression_statement "sqlite3VdbeAddOp3(p,0x75,(int)iDataCur,0,0);" (call_expression "sqlite3VdbeAddOp3(p,0x75,(int)iDataCur,0,0)" identifier (argument_list "(p,0x75,(int)iDataCur,0,0)" ( identifier , number_literal , (cast_expression "(int)iDataCur" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal ))) ;) (expression_statement "sqlite3VdbeAddOp3(p,0x75,(int)pcVar9,0,0);" (call_expression "sqlite3VdbeAddOp3(p,0x75,(int)pcVar9,0,0)" identifier (argument_list "(p,0x75,(int)pcVar9,0,0)" ( identifier , number_literal , (cast_expression "(int)pcVar9" ( (type_descriptor "int" primitive_type) ) identifier) , number_literal , number_literal ))) ;) (expression_statement "sqlite3VdbeAddOp3(p,0x75,iVar5,0,0);" (call_expression "sqlite3VdbeAddOp3(p,0x75,iVar5,0,0)" identifier (argument_list "(p,0x75,iVar5,0,0)" ( identifier , number_literal , identifier , number_literal , number_literal ))) ;) })) })) (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_0009cb40(void)\n\n{\n  undefined4 *puVar1;\n  byte bVar2;\n  int *piVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int extraout_ECX;\n  undefined2 uVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  undefined8 uVar11;\n  int local_44;\n  int local_40;\n  int local_30;\n  int local_24;\n  int local_20;\n  \n  uVar11 = FUN_0001af1a();\n  iVar9 = (int)((ulonglong)uVar11 >> 0x20);\n  piVar3 = (int *)uVar11;\n  puVar1 = *(undefined4 **)(iVar9 + 0xc);\n  iVar4 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar10 = piVar3[10];\n  piVar3[10] = iVar10 + 2;\n  if (*(int *)(iVar9 + 0x18) == 0) {\n    iVar8 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }\n  iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8));\n  if (iVar4 == 0) {\n    FUN_00049420(1,*puVar1);\n    piVar6 = (int *)piVar3[2];\n    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f6410();\n  }\n  return;\n}\n\n" (function_definition "void FUN_0009cb40(void)\n\n{\n  undefined4 *puVar1;\n  byte bVar2;\n  int *piVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int extraout_ECX;\n  undefined2 uVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  undefined8 uVar11;\n  int local_44;\n  int local_40;\n  int local_30;\n  int local_24;\n  int local_20;\n  \n  uVar11 = FUN_0001af1a();\n  iVar9 = (int)((ulonglong)uVar11 >> 0x20);\n  piVar3 = (int *)uVar11;\n  puVar1 = *(undefined4 **)(iVar9 + 0xc);\n  iVar4 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar10 = piVar3[10];\n  piVar3[10] = iVar10 + 2;\n  if (*(int *)(iVar9 + 0x18) == 0) {\n    iVar8 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }\n  iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8));\n  if (iVar4 == 0) {\n    FUN_00049420(1,*puVar1);\n    piVar6 = (int *)piVar3[2];\n    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f6410();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0009cb40(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 *puVar1;\n  byte bVar2;\n  int *piVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int extraout_ECX;\n  undefined2 uVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  undefined8 uVar11;\n  int local_44;\n  int local_40;\n  int local_30;\n  int local_24;\n  int local_20;\n  \n  uVar11 = FUN_0001af1a();\n  iVar9 = (int)((ulonglong)uVar11 >> 0x20);\n  piVar3 = (int *)uVar11;\n  puVar1 = *(undefined4 **)(iVar9 + 0xc);\n  iVar4 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar10 = piVar3[10];\n  piVar3[10] = iVar10 + 2;\n  if (*(int *)(iVar9 + 0x18) == 0) {\n    iVar8 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }\n  iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8));\n  if (iVar4 == 0) {\n    FUN_00049420(1,*puVar1);\n    piVar6 = (int *)piVar3[2];\n    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f6410();\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "undefined2 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "uVar11 = FUN_0001af1a();" (assignment_expression "uVar11 = FUN_0001af1a()" identifier = (call_expression "FUN_0001af1a()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar9 = (int)((ulonglong)uVar11 >> 0x20);" (assignment_expression "iVar9 = (int)((ulonglong)uVar11 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar11 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar11 >> 0x20)" ( (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar3 = (int *)uVar11;" (assignment_expression "piVar3 = (int *)uVar11" identifier = (cast_expression "(int *)uVar11" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "puVar1 = *(undefined4 **)(iVar9 + 0xc);" (assignment_expression "puVar1 = *(undefined4 **)(iVar9 + 0xc)" identifier = (pointer_expression "*(undefined4 **)(iVar9 + 0xc)" * (cast_expression "(undefined4 **)(iVar9 + 0xc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar9 + 0xc)" ( (binary_expression "iVar9 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = *piVar3;" (assignment_expression "iVar4 = *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) ))))) ;) (expression_statement "iVar10 = piVar3[10];" (assignment_expression "iVar10 = piVar3[10]" identifier = (subscript_expression "piVar3[10]" identifier [ number_literal ])) ;) (expression_statement "piVar3[10] = iVar10 + 2;" (assignment_expression "piVar3[10] = iVar10 + 2" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (binary_expression "iVar10 + 2" identifier + number_literal)) ;) (if_statement "if (*(int *)(iVar9 + 0x18) == 0) {\n    iVar8 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }" if (parenthesized_expression "(*(int *)(iVar9 + 0x18) == 0)" ( (binary_expression "*(int *)(iVar9 + 0x18) == 0" (pointer_expression "*(int *)(iVar9 + 0x18)" * (cast_expression "(int *)(iVar9 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x18)" ( (binary_expression "iVar9 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar8 = -16000000;\n    local_44 = -1000000;\n  }" { (expression_statement "iVar8 = -16000000;" (assignment_expression "iVar8 = -16000000" identifier = number_literal) ;) (expression_statement "local_44 = -1000000;" (assignment_expression "local_44 = -1000000" identifier = number_literal) ;) }) (else_clause "else {\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }" else (compound_statement "{\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }" { (expression_statement "local_44 = FUN_000304d0(iVar10);" (assignment_expression "local_44 = FUN_000304d0(iVar10)" identifier = (call_expression "FUN_000304d0(iVar10)" identifier (argument_list "(iVar10)" ( identifier )))) ;) (expression_statement "iVar8 = local_44 << 4;" (assignment_expression "iVar8 = local_44 << 4" identifier = (binary_expression "local_44 << 4" identifier << number_literal)) ;) }))) (expression_statement "iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8));" (assignment_expression "iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8))" identifier = (call_expression "FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8))" identifier (argument_list "(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8))" ( number_literal , (pointer_expression "*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8)" * (cast_expression "(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar4 + 0x10) + iVar8)" ( (binary_expression "*(int *)(iVar4 + 0x10) + iVar8" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) + identifier) )))) )))) ;) (if_statement "if (iVar4 == 0) {\n    FUN_00049420(1,*puVar1);\n    piVar6 = (int *)piVar3[2];\n    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }\n  }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00049420(1,*puVar1);\n    piVar6 = (int *)piVar3[2];\n    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }\n  }" { (expression_statement "FUN_00049420(1,*puVar1);" (call_expression "FUN_00049420(1,*puVar1)" identifier (argument_list "(1,*puVar1)" ( number_literal , (pointer_expression "*puVar1" * identifier) ))) ;) (expression_statement "piVar6 = (int *)piVar3[2];" (assignment_expression "piVar6 = (int *)piVar3[2]" identifier = (cast_expression "(int *)piVar3[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ]))) ;) (if_statement "if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }" if (parenthesized_expression "((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0))" ( (binary_expression "(piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)" (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)" ( (comma_expression "piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0" (assignment_expression "piVar6 = (int *)FUN_000498b0()" identifier = (cast_expression "(int *)FUN_000498b0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000498b0()" identifier (argument_list "()" ( ))))) , (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }" { (expression_statement "local_30 = extraout_ECX;" (assignment_expression "local_30 = extraout_ECX" identifier = identifier) ;) (if_statement "if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }" if (parenthesized_expression "(extraout_ECX < 0)" ( (binary_expression "extraout_ECX < 0" identifier < number_literal) )) (compound_statement "{\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }" { (expression_statement "local_30 = *(int *)(iVar9 + 0x2c);" (assignment_expression "local_30 = *(int *)(iVar9 + 0x2c)" identifier = (pointer_expression "*(int *)(iVar9 + 0x2c)" * (cast_expression "(int *)(iVar9 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x2c)" ( (binary_expression "iVar9 + 0x2c" identifier + number_literal) ))))) ;) })) (expression_statement "piVar5 = (int *)FUN_0005c6c0();" (assignment_expression "piVar5 = (int *)FUN_0005c6c0()" identifier = (cast_expression "(int *)FUN_0005c6c0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005c6c0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "piVar3[10] = piVar3[10] + 1;" (assignment_expression "piVar3[10] = piVar3[10] + 1" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (binary_expression "piVar3[10] + 1" (subscript_expression "piVar3[10]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }" if (parenthesized_expression "(piVar5 != (int *)0x0)" ( (binary_expression "piVar5 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *piVar5 = *piVar5 + 1;\n      }" { (expression_statement "*piVar5 = *piVar5 + 1;" (assignment_expression "*piVar5 = *piVar5 + 1" (pointer_expression "*piVar5" * identifier) = (binary_expression "*piVar5 + 1" (pointer_expression "*piVar5" * identifier) + number_literal)) ;) })) (expression_statement "FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));" (call_expression "FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32))" identifier (argument_list "(0,*(undefined2 *)(iVar9 + 0x32))" ( number_literal , (pointer_expression "*(undefined2 *)(iVar9 + 0x32)" * (cast_expression "(undefined2 *)(iVar9 + 0x32)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x32)" ( (binary_expression "iVar9 + 0x32" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_000370b0(0xfffffff7);" (call_expression "FUN_000370b0(0xfffffff7)" identifier (argument_list "(0xfffffff7)" ( number_literal ))) ;) (expression_statement "FUN_0005c7e0(puVar1,0x6d);" (call_expression "FUN_0005c7e0(puVar1,0x6d)" identifier (argument_list "(puVar1,0x6d)" ( identifier , number_literal ))) ;) (expression_statement "iVar4 = FUN_000497a0(0,0);" (assignment_expression "iVar4 = FUN_000497a0(0,0)" identifier = (call_expression "FUN_000497a0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal )))) ;) (if_statement "if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }" if (parenthesized_expression "(*(char *)((int)piVar3 + 0x13) == '\0')" ( (binary_expression "*(char *)((int)piVar3 + 0x13) == '\0'" (pointer_expression "*(char *)((int)piVar3 + 0x13)" * (cast_expression "(char *)((int)piVar3 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + 0x13)" ( (binary_expression "(int)piVar3 + 0x13" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }" { (expression_statement "local_40 = piVar3[0xb] + 1;" (assignment_expression "local_40 = piVar3[0xb] + 1" identifier = (binary_expression "piVar3[0xb] + 1" (subscript_expression "piVar3[0xb]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "piVar3[0xb] = local_40;" (assignment_expression "piVar3[0xb] = local_40" (subscript_expression "piVar3[0xb]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }" else (compound_statement "{\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }" { (expression_statement "bVar2 = *(char *)((int)piVar3 + 0x13) - 1;" (assignment_expression "bVar2 = *(char *)((int)piVar3 + 0x13) - 1" identifier = (binary_expression "*(char *)((int)piVar3 + 0x13) - 1" (pointer_expression "*(char *)((int)piVar3 + 0x13)" * (cast_expression "(char *)((int)piVar3 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + 0x13)" ( (binary_expression "(int)piVar3 + 0x13" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - number_literal)) ;) (expression_statement "*(byte *)((int)piVar3 + 0x13) = bVar2;" (assignment_expression "*(byte *)((int)piVar3 + 0x13) = bVar2" (pointer_expression "*(byte *)((int)piVar3 + 0x13)" * (cast_expression "(byte *)((int)piVar3 + 0x13)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar3 + 0x13)" ( (binary_expression "(int)piVar3 + 0x13" (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "local_40 = piVar3[bVar2 + 0x24];" (assignment_expression "local_40 = piVar3[bVar2 + 0x24]" identifier = (subscript_expression "piVar3[bVar2 + 0x24]" identifier [ (binary_expression "bVar2 + 0x24" identifier + number_literal) ])) ;) }))) (expression_statement "piVar5 = (int *)piVar3[0x1d];" (assignment_expression "piVar5 = (int *)piVar3[0x1d]" identifier = (cast_expression "(int *)piVar3[0x1d]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[0x1d]" identifier [ number_literal ]))) ;) (if_statement "if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }" if (parenthesized_expression "((int *)piVar3[0x1d] == (int *)0x0)" ( (binary_expression "(int *)piVar3[0x1d] == (int *)0x0" (cast_expression "(int *)piVar3[0x1d]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[0x1d]" identifier [ number_literal ])) == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        piVar5 = piVar3;\n      }" { (expression_statement "piVar5 = piVar3;" (assignment_expression "piVar5 = piVar3" identifier = identifier) ;) })) (expression_statement "*(undefined1 *)(piVar5 + 5) = 1;" (assignment_expression "*(undefined1 *)(piVar5 + 5) = 1" (pointer_expression "*(undefined1 *)(piVar5 + 5)" * (cast_expression "(undefined1 *)(piVar5 + 5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 5)" ( (binary_expression "piVar5 + 5" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0009c790(local_40,0,&local_24,0,0);" (call_expression "FUN_0009c790(local_40,0,&local_24,0,0)" identifier (argument_list "(local_40,0,&local_24,0,0)" ( identifier , number_literal , (pointer_expression "&local_24" & identifier) , number_literal , number_literal ))) ;) (expression_statement "FUN_000497a0(local_40,0);" (call_expression "FUN_000497a0(local_40,0)" identifier (argument_list "(local_40,0)" ( identifier , number_literal ))) ;) (if_statement "if (local_24 != 0) {\n        FUN_00049570();\n      }" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_00049570();\n      }" { (expression_statement "FUN_00049570();" (call_expression "FUN_00049570()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_000497a0(iVar4 + 1,0);" (call_expression "FUN_000497a0(iVar4 + 1,0)" identifier (argument_list "(iVar4 + 1,0)" ( (binary_expression "iVar4 + 1" identifier + number_literal) , number_literal ))) ;) (if_statement "if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n        iVar4 = piVar6[0x1a] + -1;\n      }" { (expression_statement "iVar4 = piVar6[0x1a] + -1;" (assignment_expression "iVar4 = piVar6[0x1a] + -1" identifier = (binary_expression "piVar6[0x1a] + -1" (subscript_expression "piVar6[0x1a]" identifier [ number_literal ]) + number_literal)) ;) })) (expression_statement "iVar8 = unaff_EDI + 0xafa15;" (assignment_expression "iVar8 = unaff_EDI + 0xafa15" identifier = (binary_expression "unaff_EDI + 0xafa15" identifier + number_literal)) ;) (if_statement "if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }" if (parenthesized_expression "(*(char *)(*piVar6 + 0x4d) == '\0')" ( (binary_expression "*(char *)(*piVar6 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar6 + 0x4d)" * (cast_expression "(char *)(*piVar6 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar6 + 0x4d)" ( (binary_expression "*piVar6 + 0x4d" (pointer_expression "*piVar6" * identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }" { (expression_statement "iVar8 = piVar6[0x19] + iVar4 * 0x14;" (assignment_expression "iVar8 = piVar6[0x19] + iVar4 * 0x14" identifier = (binary_expression "piVar6[0x19] + iVar4 * 0x14" (subscript_expression "piVar6[0x19]" identifier [ number_literal ]) + (binary_expression "iVar4 * 0x14" identifier * number_literal))) ;) })) (expression_statement "*(int *)(iVar8 + 8) = piVar6[0x1a];" (assignment_expression "*(int *)(iVar8 + 8) = piVar6[0x1a]" (pointer_expression "*(int *)(iVar8 + 8)" * (cast_expression "(int *)(iVar8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 8)" ( (binary_expression "iVar8 + 8" identifier + number_literal) )))) = (subscript_expression "piVar6[0x1a]" identifier [ number_literal ])) ;) (if_statement "if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }" if (parenthesized_expression "(extraout_ECX < 0)" ( (binary_expression "extraout_ECX < 0" identifier < number_literal) )) (compound_statement "{\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }" { (expression_statement "FUN_000497a0(local_44,0);" (call_expression "FUN_000497a0(local_44,0)" identifier (argument_list "(local_44,0)" ( identifier , number_literal ))) ;) (expression_statement "FUN_000497a0(local_30,local_44);" (call_expression "FUN_000497a0(local_30,local_44)" identifier (argument_list "(local_30,local_44)" ( identifier , identifier ))) ;) (expression_statement "FUN_000370b0(0xfffffff7);" (call_expression "FUN_000370b0(0xfffffff7)" identifier (argument_list "(0xfffffff7)" ( number_literal ))) ;) (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" identifier = number_literal) ;) }) (else_clause "else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }" else (compound_statement "{\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }" { (expression_statement "FUN_000497a0(local_30,local_44);" (call_expression "FUN_000497a0(local_30,local_44)" identifier (argument_list "(local_30,local_44)" ( identifier , identifier ))) ;) (expression_statement "FUN_000370b0(0xfffffff7);" (call_expression "FUN_000370b0(0xfffffff7)" identifier (argument_list "(0xfffffff7)" ( number_literal ))) ;) (expression_statement "uVar7 = 0x11;" (assignment_expression "uVar7 = 0x11" identifier = number_literal) ;) }))) (if_statement "if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }" if (parenthesized_expression "(0 < piVar6[0x1a])" ( (binary_expression "0 < piVar6[0x1a]" number_literal < (subscript_expression "piVar6[0x1a]" identifier [ number_literal ])) )) (compound_statement "{\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }" { (expression_statement "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;" (assignment_expression "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7" (pointer_expression "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" * (cast_expression "(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" ( (binary_expression "piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12" (binary_expression "piVar6[0x19] + piVar6[0x1a] * 0x14" (subscript_expression "piVar6[0x19]" identifier [ number_literal ]) + (binary_expression "piVar6[0x1a] * 0x14" (subscript_expression "piVar6[0x1a]" identifier [ number_literal ]) * number_literal)) + number_literal) )))) = identifier) ;) })) (expression_statement "iVar4 = FUN_000497a0(0,0);" (assignment_expression "iVar4 = FUN_000497a0(0,0)" identifier = (call_expression "FUN_000497a0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal )))) ;) (if_statement "if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }" if (parenthesized_expression "(*(char *)(iVar9 + 0x36) == '\0')" ( (binary_expression "*(char *)(iVar9 + 0x36) == '\0'" (pointer_expression "*(char *)(iVar9 + 0x36)" * (cast_expression "(char *)(iVar9 + 0x36)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x36)" ( (binary_expression "iVar9 + 0x36" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        local_44 = piVar6[0x1a];\n      }" { (expression_statement "local_44 = piVar6[0x1a];" (assignment_expression "local_44 = piVar6[0x1a]" identifier = (subscript_expression "piVar6[0x1a]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }" else (compound_statement "{\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }" { (expression_statement "iVar8 = FUN_000497a0(1,0);" (assignment_expression "iVar8 = FUN_000497a0(1,0)" identifier = (call_expression "FUN_000497a0(1,0)" identifier (argument_list "(1,0)" ( number_literal , number_literal )))) ;) (expression_statement "local_44 = piVar6[0x1a];" (assignment_expression "local_44 = piVar6[0x1a]" identifier = (subscript_expression "piVar6[0x1a]" identifier [ number_literal ])) ;) (expression_statement "FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));" (call_expression "FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32))" identifier (argument_list "(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32))" ( identifier , identifier , (pointer_expression "*(undefined2 *)(iVar9 + 0x32)" * (cast_expression "(undefined2 *)(iVar9 + 0x32)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x32)" ( (binary_expression "iVar9 + 0x32" identifier + number_literal) )))) ))) ;) (expression_statement "FUN_00067180();" (call_expression "FUN_00067180()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar9 = piVar6[0x1a] + -1;" (assignment_expression "iVar9 = piVar6[0x1a] + -1" identifier = (binary_expression "piVar6[0x1a] + -1" (subscript_expression "piVar6[0x1a]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }" if (parenthesized_expression "(-1 < iVar8)" ( (binary_expression "-1 < iVar8" number_literal < identifier) )) (compound_statement "{\n          iVar9 = iVar8;\n        }" { (expression_statement "iVar9 = iVar8;" (assignment_expression "iVar9 = iVar8" identifier = identifier) ;) })) (expression_statement "iVar8 = unaff_EDI + 0xafa15;" (assignment_expression "iVar8 = unaff_EDI + 0xafa15" identifier = (binary_expression "unaff_EDI + 0xafa15" identifier + number_literal)) ;) (if_statement "if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }" if (parenthesized_expression "(*(char *)(*piVar6 + 0x4d) == '\0')" ( (binary_expression "*(char *)(*piVar6 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar6 + 0x4d)" * (cast_expression "(char *)(*piVar6 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar6 + 0x4d)" ( (binary_expression "*piVar6 + 0x4d" (pointer_expression "*piVar6" * identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }" { (expression_statement "iVar8 = piVar6[0x19] + iVar9 * 0x14;" (assignment_expression "iVar8 = piVar6[0x19] + iVar9 * 0x14" identifier = (binary_expression "piVar6[0x19] + iVar9 * 0x14" (subscript_expression "piVar6[0x19]" identifier [ number_literal ]) + (binary_expression "iVar9 * 0x14" identifier * number_literal))) ;) })) (expression_statement "*(int *)(iVar8 + 8) = piVar6[0x1a];" (assignment_expression "*(int *)(iVar8 + 8) = piVar6[0x1a]" (pointer_expression "*(int *)(iVar8 + 8)" * (cast_expression "(int *)(iVar8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 8)" ( (binary_expression "iVar8 + 8" identifier + number_literal) )))) = (subscript_expression "piVar6[0x1a]" identifier [ number_literal ])) ;) }))) (expression_statement "FUN_000497a0(local_40,iVar10 + 1);" (call_expression "FUN_000497a0(local_40,iVar10 + 1)" identifier (argument_list "(local_40,iVar10 + 1)" ( identifier , (binary_expression "iVar10 + 1" identifier + number_literal) ))) ;) (expression_statement "FUN_000497a0(0,0);" (call_expression "FUN_000497a0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) (expression_statement "FUN_000497a0(local_40,0);" (call_expression "FUN_000497a0(local_40,0)" identifier (argument_list "(local_40,0)" ( identifier , number_literal ))) ;) (if_statement "if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }" if (parenthesized_expression "(0 < piVar6[0x1a])" ( (binary_expression "0 < piVar6[0x1a]" number_literal < (subscript_expression "piVar6[0x1a]" identifier [ number_literal ])) )) (compound_statement "{\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }" { (expression_statement "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;" (assignment_expression "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10" (pointer_expression "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" * (cast_expression "(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" ( (binary_expression "piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12" (binary_expression "piVar6[0x19] + piVar6[0x1a] * 0x14" (subscript_expression "piVar6[0x19]" identifier [ number_literal ]) + (binary_expression "piVar6[0x1a] * 0x14" (subscript_expression "piVar6[0x1a]" identifier [ number_literal ]) * number_literal)) + number_literal) )))) = number_literal) ;) })) (if_statement "if (local_40 != 0) {\n        FUN_0002f640();\n      }" if (parenthesized_expression "(local_40 != 0)" ( (binary_expression "local_40 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_0002f640();\n      }" { (expression_statement "FUN_0002f640();" (call_expression "FUN_0002f640()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_000497a0(local_44,0);" (call_expression "FUN_000497a0(local_44,0)" identifier (argument_list "(local_44,0)" ( identifier , number_literal ))) ;) (expression_statement "iVar10 = piVar6[0x1a] + -1;" (assignment_expression "iVar10 = piVar6[0x1a] + -1" identifier = (binary_expression "piVar6[0x1a] + -1" (subscript_expression "piVar6[0x1a]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n        iVar10 = iVar4;\n      }" { (expression_statement "iVar10 = iVar4;" (assignment_expression "iVar10 = iVar4" identifier = identifier) ;) })) (expression_statement "iVar4 = unaff_EDI + 0xafa15;" (assignment_expression "iVar4 = unaff_EDI + 0xafa15" identifier = (binary_expression "unaff_EDI + 0xafa15" identifier + number_literal)) ;) (if_statement "if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }" if (parenthesized_expression "(*(char *)(*piVar6 + 0x4d) == '\0')" ( (binary_expression "*(char *)(*piVar6 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar6 + 0x4d)" * (cast_expression "(char *)(*piVar6 + 0x4d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar6 + 0x4d)" ( (binary_expression "*piVar6 + 0x4d" (pointer_expression "*piVar6" * identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }" { (expression_statement "iVar4 = piVar6[0x19] + iVar10 * 0x14;" (assignment_expression "iVar4 = piVar6[0x19] + iVar10 * 0x14" identifier = (binary_expression "piVar6[0x19] + iVar10 * 0x14" (subscript_expression "piVar6[0x19]" identifier [ number_literal ]) + (binary_expression "iVar10 * 0x14" identifier * number_literal))) ;) })) (expression_statement "*(int *)(iVar4 + 8) = piVar6[0x1a];" (assignment_expression "*(int *)(iVar4 + 8) = piVar6[0x1a]" (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = (subscript_expression "piVar6[0x1a]" identifier [ number_literal ])) ;) (expression_statement "FUN_000497a0(0,0);" (call_expression "FUN_000497a0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) (expression_statement "FUN_000497a0(0,0);" (call_expression "FUN_000497a0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) (expression_statement "FUN_000497a0(0,0);" (call_expression "FUN_000497a0(0,0)" identifier (argument_list "(0,0)" ( number_literal , number_literal ))) ;) })) })) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f6410();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_000f6410();\n  }" { (expression_statement "FUN_000f6410();" (call_expression "FUN_000f6410()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression 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) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (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 IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (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) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_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 (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (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) = (binary_expression (pointer_expression * IDENT) + 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) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (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 = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (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) )))) - LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_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 (call_expression IDENT (argument_list ( IDENT , LIT , (pointer_expression & IDENT) , LIT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , 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 IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (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) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (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 ])) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (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) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (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 ])) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , LIT ))) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0009cb40(void)\n\n{\n  undefined4 *puVar1;\n  byte bVar2;\n  int *piVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int extraout_ECX;\n  undefined2 uVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  undefined8 uVar11;\n  int local_44;\n  int local_40;\n  int local_30;\n  int local_24;\n  int local_20;\n  \n  uVar11 = FUN_0001af1a();\n  iVar9 = (int)((ulonglong)uVar11 >> 0x20);\n  piVar3 = (int *)uVar11;\n  puVar1 = *(undefined4 **)(iVar9 + 0xc);\n  iVar4 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar10 = piVar3[10];\n  piVar3[10] = iVar10 + 2;\n  if (*(int *)(iVar9 + 0x18) == 0) {\n    iVar8 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }\n  iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8));\n  if (iVar4 == 0) {\n    FUN_00049420(1,*puVar1);\n    piVar6 = (int *)piVar3[2];\n    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f6410();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0009cb40(void)" (identifier "FUN_0009cb40") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  byte bVar2;\n  int *piVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int extraout_ECX;\n  undefined2 uVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int unaff_EDI;\n  int in_GS_OFFSET;\n  undefined8 uVar11;\n  int local_44;\n  int local_40;\n  int local_30;\n  int local_24;\n  int local_20;\n  \n  uVar11 = FUN_0001af1a();\n  iVar9 = (int)((ulonglong)uVar11 >> 0x20);\n  piVar3 = (int *)uVar11;\n  puVar1 = *(undefined4 **)(iVar9 + 0xc);\n  iVar4 = *piVar3;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar10 = piVar3[10];\n  piVar3[10] = iVar10 + 2;\n  if (*(int *)(iVar9 + 0x18) == 0) {\n    iVar8 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }\n  iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8));\n  if (iVar4 == 0) {\n    FUN_00049420(1,*puVar1);\n    piVar6 = (int *)piVar3[2];\n    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f6410();\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int extraout_ECX;" (primitive_type "int") (identifier "extraout_ECX") (; ";")) (declaration "undefined2 uVar7;" (type_identifier "undefined2") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined8 uVar11;" (type_identifier "undefined8") (identifier "uVar11") (; ";")) (declaration "int local_44;" (primitive_type "int") (identifier "local_44") (; ";")) (declaration "int local_40;" (primitive_type "int") (identifier "local_40") (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "uVar11 = FUN_0001af1a();" (assignment_expression "uVar11 = FUN_0001af1a()" (identifier "uVar11") (= "=") (call_expression "FUN_0001af1a()" (identifier "FUN_0001af1a") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar9 = (int)((ulonglong)uVar11 >> 0x20);" (assignment_expression "iVar9 = (int)((ulonglong)uVar11 >> 0x20)" (identifier "iVar9") (= "=") (cast_expression "(int)((ulonglong)uVar11 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar11 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar11 >> 0x20" (cast_expression "(ulonglong)uVar11" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar11")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "piVar3 = (int *)uVar11;" (assignment_expression "piVar3 = (int *)uVar11" (identifier "piVar3") (= "=") (cast_expression "(int *)uVar11" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar11"))) (; ";")) (expression_statement "puVar1 = *(undefined4 **)(iVar9 + 0xc);" (assignment_expression "puVar1 = *(undefined4 **)(iVar9 + 0xc)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(iVar9 + 0xc)" (* "*") (cast_expression "(undefined4 **)(iVar9 + 0xc)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar9 + 0xc)" (( "(") (binary_expression "iVar9 + 0xc" (identifier "iVar9") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "iVar4 = *piVar3;" (assignment_expression "iVar4 = *piVar3" (identifier "iVar4") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "iVar10 = piVar3[10];" (assignment_expression "iVar10 = piVar3[10]" (identifier "iVar10") (= "=") (subscript_expression "piVar3[10]" (identifier "piVar3") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "piVar3[10] = iVar10 + 2;" (assignment_expression "piVar3[10] = iVar10 + 2" (subscript_expression "piVar3[10]" (identifier "piVar3") ([ "[") (number_literal "10") (] "]")) (= "=") (binary_expression "iVar10 + 2" (identifier "iVar10") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (*(int *)(iVar9 + 0x18) == 0) {\n    iVar8 = -16000000;\n    local_44 = -1000000;\n  }\n  else {\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar9 + 0x18) == 0)" (( "(") (binary_expression "*(int *)(iVar9 + 0x18) == 0" (pointer_expression "*(int *)(iVar9 + 0x18)" (* "*") (cast_expression "(int *)(iVar9 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x18)" (( "(") (binary_expression "iVar9 + 0x18" (identifier "iVar9") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar8 = -16000000;\n    local_44 = -1000000;\n  }" ({ "{") (expression_statement "iVar8 = -16000000;" (assignment_expression "iVar8 = -16000000" (identifier "iVar8") (= "=") (number_literal "-16000000")) (; ";")) (expression_statement "local_44 = -1000000;" (assignment_expression "local_44 = -1000000" (identifier "local_44") (= "=") (number_literal "-1000000")) (; ";")) (} "}")) (else_clause "else {\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }" (else "else") (compound_statement "{\n    local_44 = FUN_000304d0(iVar10);\n    iVar8 = local_44 << 4;\n  }" ({ "{") (expression_statement "local_44 = FUN_000304d0(iVar10);" (assignment_expression "local_44 = FUN_000304d0(iVar10)" (identifier "local_44") (= "=") (call_expression "FUN_000304d0(iVar10)" (identifier "FUN_000304d0") (argument_list "(iVar10)" (( "(") (identifier "iVar10") () ")")))) (; ";")) (expression_statement "iVar8 = local_44 << 4;" (assignment_expression "iVar8 = local_44 << 4" (identifier "iVar8") (= "=") (binary_expression "local_44 << 4" (identifier "local_44") (<< "<<") (number_literal "4"))) (; ";")) (} "}")))) (expression_statement "iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8));" (assignment_expression "iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8))" (identifier "iVar4") (= "=") (call_expression "FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8))" (identifier "FUN_00059730") (argument_list "(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8))" (( "(") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8)" (* "*") (cast_expression "(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar4 + 0x10) + iVar8)" (( "(") (binary_expression "*(int *)(iVar4 + 0x10) + iVar8" (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (identifier "iVar8")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n    FUN_00049420(1,*puVar1);\n    piVar6 = (int *)piVar3[2];\n    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }\n  }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00049420(1,*puVar1);\n    piVar6 = (int *)piVar3[2];\n    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }\n  }" ({ "{") (expression_statement "FUN_00049420(1,*puVar1);" (call_expression "FUN_00049420(1,*puVar1)" (identifier "FUN_00049420") (argument_list "(1,*puVar1)" (( "(") (number_literal "1") (, ",") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) () ")"))) (; ";")) (expression_statement "piVar6 = (int *)piVar3[2];" (assignment_expression "piVar6 = (int *)piVar3[2]" (identifier "piVar6") (= "=") (cast_expression "(int *)piVar3[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }" (if "if") (parenthesized_expression "((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0))" (( "(") (binary_expression "(piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)" (parenthesized_expression "(piVar6 != (int *)0x0)" (( "(") (binary_expression "piVar6 != (int *)0x0" (identifier "piVar6") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)" (( "(") (comma_expression "piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0" (assignment_expression "piVar6 = (int *)FUN_000498b0()" (identifier "piVar6") (= "=") (cast_expression "(int *)FUN_000498b0()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000498b0()" (identifier "FUN_000498b0") (argument_list "()" (( "(") () ")"))))) (, ",") (binary_expression "piVar6 != (int *)0x0" (identifier "piVar6") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n      local_30 = extraout_ECX;\n      if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }\n      piVar5 = (int *)FUN_0005c6c0();\n      piVar3[10] = piVar3[10] + 1;\n      if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }\n      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));\n      FUN_000370b0(0xfffffff7);\n      FUN_0005c7e0(puVar1,0x6d);\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }\n      piVar5 = (int *)piVar3[0x1d];\n      if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }\n      *(undefined1 *)(piVar5 + 5) = 1;\n      FUN_0009c790(local_40,0,&local_24,0,0);\n      FUN_000497a0(local_40,0);\n      if (local_24 != 0) {\n        FUN_00049570();\n      }\n      FUN_000497a0(iVar4 + 1,0);\n      if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }\n      iVar8 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }\n      *(int *)(iVar8 + 8) = piVar6[0x1a];\n      if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }\n      iVar4 = FUN_000497a0(0,0);\n      if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }\n      FUN_000497a0(local_40,iVar10 + 1);\n      FUN_000497a0(0,0);\n      FUN_000497a0(local_40,0);\n      if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }\n      if (local_40 != 0) {\n        FUN_0002f640();\n      }\n      FUN_000497a0(local_44,0);\n      iVar10 = piVar6[0x1a] + -1;\n      if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }\n      iVar4 = unaff_EDI + 0xafa15;\n      if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }\n      *(int *)(iVar4 + 8) = piVar6[0x1a];\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n      FUN_000497a0(0,0);\n    }" ({ "{") (expression_statement "local_30 = extraout_ECX;" (assignment_expression "local_30 = extraout_ECX" (identifier "local_30") (= "=") (identifier "extraout_ECX")) (; ";")) (if_statement "if (extraout_ECX < 0) {\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }" (if "if") (parenthesized_expression "(extraout_ECX < 0)" (( "(") (binary_expression "extraout_ECX < 0" (identifier "extraout_ECX") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        local_30 = *(int *)(iVar9 + 0x2c);\n      }" ({ "{") (expression_statement "local_30 = *(int *)(iVar9 + 0x2c);" (assignment_expression "local_30 = *(int *)(iVar9 + 0x2c)" (identifier "local_30") (= "=") (pointer_expression "*(int *)(iVar9 + 0x2c)" (* "*") (cast_expression "(int *)(iVar9 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x2c)" (( "(") (binary_expression "iVar9 + 0x2c" (identifier "iVar9") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (} "}"))) (expression_statement "piVar5 = (int *)FUN_0005c6c0();" (assignment_expression "piVar5 = (int *)FUN_0005c6c0()" (identifier "piVar5") (= "=") (cast_expression "(int *)FUN_0005c6c0()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0005c6c0()" (identifier "FUN_0005c6c0") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "piVar3[10] = piVar3[10] + 1;" (assignment_expression "piVar3[10] = piVar3[10] + 1" (subscript_expression "piVar3[10]" (identifier "piVar3") ([ "[") (number_literal "10") (] "]")) (= "=") (binary_expression "piVar3[10] + 1" (subscript_expression "piVar3[10]" (identifier "piVar3") ([ "[") (number_literal "10") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (piVar5 != (int *)0x0) {\n        *piVar5 = *piVar5 + 1;\n      }" (if "if") (parenthesized_expression "(piVar5 != (int *)0x0)" (( "(") (binary_expression "piVar5 != (int *)0x0" (identifier "piVar5") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        *piVar5 = *piVar5 + 1;\n      }" ({ "{") (expression_statement "*piVar5 = *piVar5 + 1;" (assignment_expression "*piVar5 = *piVar5 + 1" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (= "=") (binary_expression "*piVar5 + 1" (pointer_expression "*piVar5" (* "*") (identifier "piVar5")) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));" (call_expression "FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32))" (identifier "FUN_000497a0") (argument_list "(0,*(undefined2 *)(iVar9 + 0x32))" (( "(") (number_literal "0") (, ",") (pointer_expression "*(undefined2 *)(iVar9 + 0x32)" (* "*") (cast_expression "(undefined2 *)(iVar9 + 0x32)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x32)" (( "(") (binary_expression "iVar9 + 0x32" (identifier "iVar9") (+ "+") (number_literal "0x32")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_000370b0(0xfffffff7);" (call_expression "FUN_000370b0(0xfffffff7)" (identifier "FUN_000370b0") (argument_list "(0xfffffff7)" (( "(") (number_literal "0xfffffff7") () ")"))) (; ";")) (expression_statement "FUN_0005c7e0(puVar1,0x6d);" (call_expression "FUN_0005c7e0(puVar1,0x6d)" (identifier "FUN_0005c7e0") (argument_list "(puVar1,0x6d)" (( "(") (identifier "puVar1") (, ",") (number_literal "0x6d") () ")"))) (; ";")) (expression_statement "iVar4 = FUN_000497a0(0,0);" (assignment_expression "iVar4 = FUN_000497a0(0,0)" (identifier "iVar4") (= "=") (call_expression "FUN_000497a0(0,0)" (identifier "FUN_000497a0") (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (*(char *)((int)piVar3 + 0x13) == '\0') {\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }\n      else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }" (if "if") (parenthesized_expression "(*(char *)((int)piVar3 + 0x13) == '\0')" (( "(") (binary_expression "*(char *)((int)piVar3 + 0x13) == '\0'" (pointer_expression "*(char *)((int)piVar3 + 0x13)" (* "*") (cast_expression "(char *)((int)piVar3 + 0x13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar3 + 0x13)" (( "(") (binary_expression "(int)piVar3 + 0x13" (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3")) (+ "+") (number_literal "0x13")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        local_40 = piVar3[0xb] + 1;\n        piVar3[0xb] = local_40;\n      }" ({ "{") (expression_statement "local_40 = piVar3[0xb] + 1;" (assignment_expression "local_40 = piVar3[0xb] + 1" (identifier "local_40") (= "=") (binary_expression "piVar3[0xb] + 1" (subscript_expression "piVar3[0xb]" (identifier "piVar3") ([ "[") (number_literal "0xb") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar3[0xb] = local_40;" (assignment_expression "piVar3[0xb] = local_40" (subscript_expression "piVar3[0xb]" (identifier "piVar3") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "local_40")) (; ";")) (} "}")) (else_clause "else {\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }" (else "else") (compound_statement "{\n        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;\n        *(byte *)((int)piVar3 + 0x13) = bVar2;\n        local_40 = piVar3[bVar2 + 0x24];\n      }" ({ "{") (expression_statement "bVar2 = *(char *)((int)piVar3 + 0x13) - 1;" (assignment_expression "bVar2 = *(char *)((int)piVar3 + 0x13) - 1" (identifier "bVar2") (= "=") (binary_expression "*(char *)((int)piVar3 + 0x13) - 1" (pointer_expression "*(char *)((int)piVar3 + 0x13)" (* "*") (cast_expression "(char *)((int)piVar3 + 0x13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar3 + 0x13)" (( "(") (binary_expression "(int)piVar3 + 0x13" (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3")) (+ "+") (number_literal "0x13")) () ")")))) (- "-") (number_literal "1"))) (; ";")) (expression_statement "*(byte *)((int)piVar3 + 0x13) = bVar2;" (assignment_expression "*(byte *)((int)piVar3 + 0x13) = bVar2" (pointer_expression "*(byte *)((int)piVar3 + 0x13)" (* "*") (cast_expression "(byte *)((int)piVar3 + 0x13)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar3 + 0x13)" (( "(") (binary_expression "(int)piVar3 + 0x13" (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3")) (+ "+") (number_literal "0x13")) () ")")))) (= "=") (identifier "bVar2")) (; ";")) (expression_statement "local_40 = piVar3[bVar2 + 0x24];" (assignment_expression "local_40 = piVar3[bVar2 + 0x24]" (identifier "local_40") (= "=") (subscript_expression "piVar3[bVar2 + 0x24]" (identifier "piVar3") ([ "[") (binary_expression "bVar2 + 0x24" (identifier "bVar2") (+ "+") (number_literal "0x24")) (] "]"))) (; ";")) (} "}")))) (expression_statement "piVar5 = (int *)piVar3[0x1d];" (assignment_expression "piVar5 = (int *)piVar3[0x1d]" (identifier "piVar5") (= "=") (cast_expression "(int *)piVar3[0x1d]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[0x1d]" (identifier "piVar3") ([ "[") (number_literal "0x1d") (] "]")))) (; ";")) (if_statement "if ((int *)piVar3[0x1d] == (int *)0x0) {\n        piVar5 = piVar3;\n      }" (if "if") (parenthesized_expression "((int *)piVar3[0x1d] == (int *)0x0)" (( "(") (binary_expression "(int *)piVar3[0x1d] == (int *)0x0" (cast_expression "(int *)piVar3[0x1d]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[0x1d]" (identifier "piVar3") ([ "[") (number_literal "0x1d") (] "]"))) (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        piVar5 = piVar3;\n      }" ({ "{") (expression_statement "piVar5 = piVar3;" (assignment_expression "piVar5 = piVar3" (identifier "piVar5") (= "=") (identifier "piVar3")) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(piVar5 + 5) = 1;" (assignment_expression "*(undefined1 *)(piVar5 + 5) = 1" (pointer_expression "*(undefined1 *)(piVar5 + 5)" (* "*") (cast_expression "(undefined1 *)(piVar5 + 5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar5 + 5)" (( "(") (binary_expression "piVar5 + 5" (identifier "piVar5") (+ "+") (number_literal "5")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "FUN_0009c790(local_40,0,&local_24,0,0);" (call_expression "FUN_0009c790(local_40,0,&local_24,0,0)" (identifier "FUN_0009c790") (argument_list "(local_40,0,&local_24,0,0)" (( "(") (identifier "local_40") (, ",") (number_literal "0") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_000497a0(local_40,0);" (call_expression "FUN_000497a0(local_40,0)" (identifier "FUN_000497a0") (argument_list "(local_40,0)" (( "(") (identifier "local_40") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (local_24 != 0) {\n        FUN_00049570();\n      }" (if "if") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00049570();\n      }" ({ "{") (expression_statement "FUN_00049570();" (call_expression "FUN_00049570()" (identifier "FUN_00049570") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_000497a0(iVar4 + 1,0);" (call_expression "FUN_000497a0(iVar4 + 1,0)" (identifier "FUN_000497a0") (argument_list "(iVar4 + 1,0)" (( "(") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (iVar4 < 0) {\n        iVar4 = piVar6[0x1a] + -1;\n      }" (if "if") (parenthesized_expression "(iVar4 < 0)" (( "(") (binary_expression "iVar4 < 0" (identifier "iVar4") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        iVar4 = piVar6[0x1a] + -1;\n      }" ({ "{") (expression_statement "iVar4 = piVar6[0x1a] + -1;" (assignment_expression "iVar4 = piVar6[0x1a] + -1" (identifier "iVar4") (= "=") (binary_expression "piVar6[0x1a] + -1" (subscript_expression "piVar6[0x1a]" (identifier "piVar6") ([ "[") (number_literal "0x1a") (] "]")) (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "iVar8 = unaff_EDI + 0xafa15;" (assignment_expression "iVar8 = unaff_EDI + 0xafa15" (identifier "iVar8") (= "=") (binary_expression "unaff_EDI + 0xafa15" (identifier "unaff_EDI") (+ "+") (number_literal "0xafa15"))) (; ";")) (if_statement "if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }" (if "if") (parenthesized_expression "(*(char *)(*piVar6 + 0x4d) == '\0')" (( "(") (binary_expression "*(char *)(*piVar6 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar6 + 0x4d)" (* "*") (cast_expression "(char *)(*piVar6 + 0x4d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar6 + 0x4d)" (( "(") (binary_expression "*piVar6 + 0x4d" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (+ "+") (number_literal "0x4d")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar8 = piVar6[0x19] + iVar4 * 0x14;\n      }" ({ "{") (expression_statement "iVar8 = piVar6[0x19] + iVar4 * 0x14;" (assignment_expression "iVar8 = piVar6[0x19] + iVar4 * 0x14" (identifier "iVar8") (= "=") (binary_expression "piVar6[0x19] + iVar4 * 0x14" (subscript_expression "piVar6[0x19]" (identifier "piVar6") ([ "[") (number_literal "0x19") (] "]")) (+ "+") (binary_expression "iVar4 * 0x14" (identifier "iVar4") (* "*") (number_literal "0x14")))) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar8 + 8) = piVar6[0x1a];" (assignment_expression "*(int *)(iVar8 + 8) = piVar6[0x1a]" (pointer_expression "*(int *)(iVar8 + 8)" (* "*") (cast_expression "(int *)(iVar8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 8)" (( "(") (binary_expression "iVar8 + 8" (identifier "iVar8") (+ "+") (number_literal "8")) () ")")))) (= "=") (subscript_expression "piVar6[0x1a]" (identifier "piVar6") ([ "[") (number_literal "0x1a") (] "]"))) (; ";")) (if_statement "if (extraout_ECX < 0) {\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }\n      else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }" (if "if") (parenthesized_expression "(extraout_ECX < 0)" (( "(") (binary_expression "extraout_ECX < 0" (identifier "extraout_ECX") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_000497a0(local_44,0);\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 1;\n      }" ({ "{") (expression_statement "FUN_000497a0(local_44,0);" (call_expression "FUN_000497a0(local_44,0)" (identifier "FUN_000497a0") (argument_list "(local_44,0)" (( "(") (identifier "local_44") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_000497a0(local_30,local_44);" (call_expression "FUN_000497a0(local_30,local_44)" (identifier "FUN_000497a0") (argument_list "(local_30,local_44)" (( "(") (identifier "local_30") (, ",") (identifier "local_44") () ")"))) (; ";")) (expression_statement "FUN_000370b0(0xfffffff7);" (call_expression "FUN_000370b0(0xfffffff7)" (identifier "FUN_000370b0") (argument_list "(0xfffffff7)" (( "(") (number_literal "0xfffffff7") () ")"))) (; ";")) (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" (identifier "uVar7") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }" (else "else") (compound_statement "{\n        FUN_000497a0(local_30,local_44);\n        FUN_000370b0(0xfffffff7);\n        uVar7 = 0x11;\n      }" ({ "{") (expression_statement "FUN_000497a0(local_30,local_44);" (call_expression "FUN_000497a0(local_30,local_44)" (identifier "FUN_000497a0") (argument_list "(local_30,local_44)" (( "(") (identifier "local_30") (, ",") (identifier "local_44") () ")"))) (; ";")) (expression_statement "FUN_000370b0(0xfffffff7);" (call_expression "FUN_000370b0(0xfffffff7)" (identifier "FUN_000370b0") (argument_list "(0xfffffff7)" (( "(") (number_literal "0xfffffff7") () ")"))) (; ";")) (expression_statement "uVar7 = 0x11;" (assignment_expression "uVar7 = 0x11" (identifier "uVar7") (= "=") (number_literal "0x11")) (; ";")) (} "}")))) (if_statement "if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }" (if "if") (parenthesized_expression "(0 < piVar6[0x1a])" (( "(") (binary_expression "0 < piVar6[0x1a]" (number_literal "0") (< "<") (subscript_expression "piVar6[0x1a]" (identifier "piVar6") ([ "[") (number_literal "0x1a") (] "]"))) () ")")) (compound_statement "{\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;\n      }" ({ "{") (expression_statement "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;" (assignment_expression "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7" (pointer_expression "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" (* "*") (cast_expression "(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" (( "(") (binary_expression "piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12" (binary_expression "piVar6[0x19] + piVar6[0x1a] * 0x14" (subscript_expression "piVar6[0x19]" (identifier "piVar6") ([ "[") (number_literal "0x19") (] "]")) (+ "+") (binary_expression "piVar6[0x1a] * 0x14" (subscript_expression "piVar6[0x1a]" (identifier "piVar6") ([ "[") (number_literal "0x1a") (] "]")) (* "*") (number_literal "0x14"))) (+ "+") (number_literal "-0x12")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar4 = FUN_000497a0(0,0);" (assignment_expression "iVar4 = FUN_000497a0(0,0)" (identifier "iVar4") (= "=") (call_expression "FUN_000497a0(0,0)" (identifier "FUN_000497a0") (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (*(char *)(iVar9 + 0x36) == '\0') {\n        local_44 = piVar6[0x1a];\n      }\n      else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }" (if "if") (parenthesized_expression "(*(char *)(iVar9 + 0x36) == '\0')" (( "(") (binary_expression "*(char *)(iVar9 + 0x36) == '\0'" (pointer_expression "*(char *)(iVar9 + 0x36)" (* "*") (cast_expression "(char *)(iVar9 + 0x36)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x36)" (( "(") (binary_expression "iVar9 + 0x36" (identifier "iVar9") (+ "+") (number_literal "0x36")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        local_44 = piVar6[0x1a];\n      }" ({ "{") (expression_statement "local_44 = piVar6[0x1a];" (assignment_expression "local_44 = piVar6[0x1a]" (identifier "local_44") (= "=") (subscript_expression "piVar6[0x1a]" (identifier "piVar6") ([ "[") (number_literal "0x1a") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }" (else "else") (compound_statement "{\n        iVar8 = FUN_000497a0(1,0);\n        local_44 = piVar6[0x1a];\n        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));\n        FUN_00067180();\n        iVar9 = piVar6[0x1a] + -1;\n        if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }\n        iVar8 = unaff_EDI + 0xafa15;\n        if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }\n        *(int *)(iVar8 + 8) = piVar6[0x1a];\n      }" ({ "{") (expression_statement "iVar8 = FUN_000497a0(1,0);" (assignment_expression "iVar8 = FUN_000497a0(1,0)" (identifier "iVar8") (= "=") (call_expression "FUN_000497a0(1,0)" (identifier "FUN_000497a0") (argument_list "(1,0)" (( "(") (number_literal "1") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "local_44 = piVar6[0x1a];" (assignment_expression "local_44 = piVar6[0x1a]" (identifier "local_44") (= "=") (subscript_expression "piVar6[0x1a]" (identifier "piVar6") ([ "[") (number_literal "0x1a") (] "]"))) (; ";")) (expression_statement "FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));" (call_expression "FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32))" (identifier "FUN_00049940") (argument_list "(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32))" (( "(") (identifier "iVar8") (, ",") (identifier "local_40") (, ",") (pointer_expression "*(undefined2 *)(iVar9 + 0x32)" (* "*") (cast_expression "(undefined2 *)(iVar9 + 0x32)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x32)" (( "(") (binary_expression "iVar9 + 0x32" (identifier "iVar9") (+ "+") (number_literal "0x32")) () ")")))) () ")"))) (; ";")) (expression_statement "FUN_00067180();" (call_expression "FUN_00067180()" (identifier "FUN_00067180") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar9 = piVar6[0x1a] + -1;" (assignment_expression "iVar9 = piVar6[0x1a] + -1" (identifier "iVar9") (= "=") (binary_expression "piVar6[0x1a] + -1" (subscript_expression "piVar6[0x1a]" (identifier "piVar6") ([ "[") (number_literal "0x1a") (] "]")) (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (-1 < iVar8) {\n          iVar9 = iVar8;\n        }" (if "if") (parenthesized_expression "(-1 < iVar8)" (( "(") (binary_expression "-1 < iVar8" (number_literal "-1") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n          iVar9 = iVar8;\n        }" ({ "{") (expression_statement "iVar9 = iVar8;" (assignment_expression "iVar9 = iVar8" (identifier "iVar9") (= "=") (identifier "iVar8")) (; ";")) (} "}"))) (expression_statement "iVar8 = unaff_EDI + 0xafa15;" (assignment_expression "iVar8 = unaff_EDI + 0xafa15" (identifier "iVar8") (= "=") (binary_expression "unaff_EDI + 0xafa15" (identifier "unaff_EDI") (+ "+") (number_literal "0xafa15"))) (; ";")) (if_statement "if (*(char *)(*piVar6 + 0x4d) == '\0') {\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }" (if "if") (parenthesized_expression "(*(char *)(*piVar6 + 0x4d) == '\0')" (( "(") (binary_expression "*(char *)(*piVar6 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar6 + 0x4d)" (* "*") (cast_expression "(char *)(*piVar6 + 0x4d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar6 + 0x4d)" (( "(") (binary_expression "*piVar6 + 0x4d" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (+ "+") (number_literal "0x4d")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar8 = piVar6[0x19] + iVar9 * 0x14;\n        }" ({ "{") (expression_statement "iVar8 = piVar6[0x19] + iVar9 * 0x14;" (assignment_expression "iVar8 = piVar6[0x19] + iVar9 * 0x14" (identifier "iVar8") (= "=") (binary_expression "piVar6[0x19] + iVar9 * 0x14" (subscript_expression "piVar6[0x19]" (identifier "piVar6") ([ "[") (number_literal "0x19") (] "]")) (+ "+") (binary_expression "iVar9 * 0x14" (identifier "iVar9") (* "*") (number_literal "0x14")))) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar8 + 8) = piVar6[0x1a];" (assignment_expression "*(int *)(iVar8 + 8) = piVar6[0x1a]" (pointer_expression "*(int *)(iVar8 + 8)" (* "*") (cast_expression "(int *)(iVar8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 8)" (( "(") (binary_expression "iVar8 + 8" (identifier "iVar8") (+ "+") (number_literal "8")) () ")")))) (= "=") (subscript_expression "piVar6[0x1a]" (identifier "piVar6") ([ "[") (number_literal "0x1a") (] "]"))) (; ";")) (} "}")))) (expression_statement "FUN_000497a0(local_40,iVar10 + 1);" (call_expression "FUN_000497a0(local_40,iVar10 + 1)" (identifier "FUN_000497a0") (argument_list "(local_40,iVar10 + 1)" (( "(") (identifier "local_40") (, ",") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "FUN_000497a0(0,0);" (call_expression "FUN_000497a0(0,0)" (identifier "FUN_000497a0") (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_000497a0(local_40,0);" (call_expression "FUN_000497a0(local_40,0)" (identifier "FUN_000497a0") (argument_list "(local_40,0)" (( "(") (identifier "local_40") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (0 < piVar6[0x1a]) {\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }" (if "if") (parenthesized_expression "(0 < piVar6[0x1a])" (( "(") (binary_expression "0 < piVar6[0x1a]" (number_literal "0") (< "<") (subscript_expression "piVar6[0x1a]" (identifier "piVar6") ([ "[") (number_literal "0x1a") (] "]"))) () ")")) (compound_statement "{\n        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;\n      }" ({ "{") (expression_statement "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;" (assignment_expression "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10" (pointer_expression "*(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" (* "*") (cast_expression "(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12)" (( "(") (binary_expression "piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12" (binary_expression "piVar6[0x19] + piVar6[0x1a] * 0x14" (subscript_expression "piVar6[0x19]" (identifier "piVar6") ([ "[") (number_literal "0x19") (] "]")) (+ "+") (binary_expression "piVar6[0x1a] * 0x14" (subscript_expression "piVar6[0x1a]" (identifier "piVar6") ([ "[") (number_literal "0x1a") (] "]")) (* "*") (number_literal "0x14"))) (+ "+") (number_literal "-0x12")) () ")")))) (= "=") (number_literal "0x10")) (; ";")) (} "}"))) (if_statement "if (local_40 != 0) {\n        FUN_0002f640();\n      }" (if "if") (parenthesized_expression "(local_40 != 0)" (( "(") (binary_expression "local_40 != 0" (identifier "local_40") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_0002f640();\n      }" ({ "{") (expression_statement "FUN_0002f640();" (call_expression "FUN_0002f640()" (identifier "FUN_0002f640") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_000497a0(local_44,0);" (call_expression "FUN_000497a0(local_44,0)" (identifier "FUN_000497a0") (argument_list "(local_44,0)" (( "(") (identifier "local_44") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar10 = piVar6[0x1a] + -1;" (assignment_expression "iVar10 = piVar6[0x1a] + -1" (identifier "iVar10") (= "=") (binary_expression "piVar6[0x1a] + -1" (subscript_expression "piVar6[0x1a]" (identifier "piVar6") ([ "[") (number_literal "0x1a") (] "]")) (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (-1 < iVar4) {\n        iVar10 = iVar4;\n      }" (if "if") (parenthesized_expression "(-1 < iVar4)" (( "(") (binary_expression "-1 < iVar4" (number_literal "-1") (< "<") (identifier "iVar4")) () ")")) (compound_statement "{\n        iVar10 = iVar4;\n      }" ({ "{") (expression_statement "iVar10 = iVar4;" (assignment_expression "iVar10 = iVar4" (identifier "iVar10") (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (expression_statement "iVar4 = unaff_EDI + 0xafa15;" (assignment_expression "iVar4 = unaff_EDI + 0xafa15" (identifier "iVar4") (= "=") (binary_expression "unaff_EDI + 0xafa15" (identifier "unaff_EDI") (+ "+") (number_literal "0xafa15"))) (; ";")) (if_statement "if (*(char *)(*piVar6 + 0x4d) == '\0') {\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }" (if "if") (parenthesized_expression "(*(char *)(*piVar6 + 0x4d) == '\0')" (( "(") (binary_expression "*(char *)(*piVar6 + 0x4d) == '\0'" (pointer_expression "*(char *)(*piVar6 + 0x4d)" (* "*") (cast_expression "(char *)(*piVar6 + 0x4d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar6 + 0x4d)" (( "(") (binary_expression "*piVar6 + 0x4d" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (+ "+") (number_literal "0x4d")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar4 = piVar6[0x19] + iVar10 * 0x14;\n      }" ({ "{") (expression_statement "iVar4 = piVar6[0x19] + iVar10 * 0x14;" (assignment_expression "iVar4 = piVar6[0x19] + iVar10 * 0x14" (identifier "iVar4") (= "=") (binary_expression "piVar6[0x19] + iVar10 * 0x14" (subscript_expression "piVar6[0x19]" (identifier "piVar6") ([ "[") (number_literal "0x19") (] "]")) (+ "+") (binary_expression "iVar10 * 0x14" (identifier "iVar10") (* "*") (number_literal "0x14")))) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar4 + 8) = piVar6[0x1a];" (assignment_expression "*(int *)(iVar4 + 8) = piVar6[0x1a]" (pointer_expression "*(int *)(iVar4 + 8)" (* "*") (cast_expression "(int *)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (= "=") (subscript_expression "piVar6[0x1a]" (identifier "piVar6") ([ "[") (number_literal "0x1a") (] "]"))) (; ";")) (expression_statement "FUN_000497a0(0,0);" (call_expression "FUN_000497a0(0,0)" (identifier "FUN_000497a0") (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_000497a0(0,0);" (call_expression "FUN_000497a0(0,0)" (identifier "FUN_000497a0") (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_000497a0(0,0);" (call_expression "FUN_000497a0(0,0)" (identifier "FUN_000497a0") (argument_list "(0,0)" (( "(") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f6410();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_000f6410();\n  }" ({ "{") (expression_statement "FUN_000f6410();" (call_expression "FUN_000f6410()" (identifier "FUN_000f6410") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pParse,type_2 *pIndex,int memRootPage)

{
  type_3 *pTab;
  type_4 *db;
  type_5 bVar1;
  type_1 *pParse_00;
  type_6 *var_13;
  int var_20;
  type_1 *pPVar3;
  type_7 *var_9;
  int var_25;
  int var_11;
  type_8 uVar4;
  type_2 *pIdx;
  int var_7;
  type_9 *pOVar6;
  int var_26;
  int var_21;
  int var_2;
  type_10 uVar8;
  char *in_stack_ffffffac;
  char *in_stack_ffffffb0;
  char *var_3;
  char *var_22;
  int var_5;
  int var_27;
  int local_30;
  int var_18;
  int var_29;
  
  uVar8 = var_1();
  pIdx = (type_2 *)((type_11)uVar8 >> 0x20);
  pParse_00 = (type_1 *)uVar8;
  pTab = pIdx->pTable;
  db = pParse_00->db;
  var_29 = *(int *)(var_2 + 0x14);
  var_3 = (char *)pParse_00->nTab;
  pParse_00->nTab = (int)(var_3 + 2);
  if (pIdx->pSchema == (type_12 *)0x0) {
    var_7 = -16000000;
    var_5 = -1000000;
  }
  else {
    in_stack_ffffffb0 = (char *)0x9cb8d;
    var_5 = var_4(db,pIdx->pSchema);
    var_7 = var_5 << 4;
  }
  var_7 = var_6((type_1 *)0x0,*(int *)((int)&db->aDb->zDbSName + var_7),in_stack_ffffffac,
                           in_stack_ffffffb0,var_3);
  if (var_7 == 0) {
    var_8(pParse_00,var_5,pTab->tnum,'\x01',pTab->zName);
    var_9 = pParse_00->pVdbe;
    if ((var_9 != (type_7 *)0x0) || (var_9 = var_10(pParse_00), var_9 != (type_7 *)0x0)) {
      local_30 = var_11;
      if (var_11 < 0) {
        local_30 = pIdx->tnum;
      }
      var_13 = var_12(pParse_00,pIdx);
      var_7 = pParse_00->nTab;
      pParse_00->nTab = var_7 + 1;
      if (var_13 != (type_6 *)0x0) {
        var_13->nRef = var_13->nRef + 1;
      }
      var_20 = var_14(var_9,0x72,var_7,0,(type_13)pIdx->nKeyCol);
      var_15(var_9,var_20,(char *)var_13,-9);
      var_22 = var_3;
      var_16(pParse_00,(int)var_3,var_5,pTab,0x6d);
      var_20 = var_14(var_9,0x24,(int)var_3,0,0);
      if (pParse_00->nTempReg == '\0') {
        var_27 = pParse_00->nMem + 1;
        pParse_00->nMem = var_27;
      }
      else {
        bVar1 = pParse_00->nTempReg - 1;
        pParse_00->nTempReg = bVar1;
        var_27 = pParse_00->aTempReg[bVar1];
      }
      pPVar3 = pParse_00->pToplevel;
      if (pParse_00->pToplevel == (type_1 *)0x0) {
        pPVar3 = pParse_00;
      }
      pPVar3->isMultiWrite = '\x01';
      var_17(pParse_00,pIdx,(int)var_22,var_27,0,&var_18,(type_2 *)0x0,0)
      ;
      var_14(var_9,0x83,var_7,var_27,0);
      if (var_18 != 0) {
        var_19(pParse_00->pVdbe,var_18);
      }
      var_14(var_9,5,(int)var_22,var_20 + 1,0);
      if (var_20 < 0) {
        var_20 = var_9->nOp + -1;
      }
      pOVar6 = (type_9 *)(var_21 + 0xafa15);
      if (var_9->db->mallocFailed == '\0') {
        pOVar6 = var_9->aOp + var_20;
      }
      pOVar6->var_25 = var_9->nOp;
      var_3 = var_22 + 1;
      if (var_11 < 0) {
        var_14(var_9,0x89,local_30,var_5,0);
        var_20 = var_14(var_9,0x6e,(int)var_3,local_30,var_5);
        var_15(var_9,var_20,(char *)var_13,-9);
        uVar4 = 1;
      }
      else {
        var_20 = var_14(var_9,0x6e,(int)var_3,local_30,var_5);
        var_15(var_9,var_20,(char *)var_13,-9);
        uVar4 = 0x11;
      }
      if (0 < var_9->nOp) {
        var_9->aOp[var_9->nOp + -1].p5 = uVar4;
      }
      var_20 = var_14(var_9,0x22,var_7,0,0);
      if (pIdx->onError == '\0') {
        var_5 = var_9->nOp;
      }
      else {
        var_25 = var_14(var_9,0xb,0,1,0);
        var_5 = var_9->nOp;
        var_23(var_9,0x7d,var_7,var_25,var_27,(type_13)pIdx->nKeyCol);
        var_24(pParse_00,2,pIdx);
        var_26 = var_9->nOp + -1;
        if (-1 < var_25) {
          var_26 = var_25;
        }
        pOVar6 = (type_9 *)(var_21 + 0xafa15);
        if (var_9->db->mallocFailed == '\0') {
          pOVar6 = var_9->aOp + var_26;
        }
        pOVar6->var_25 = var_9->nOp;
      }
      var_14(var_9,0x7e,var_7,var_27,(int)var_3);
      var_14(var_9,0x82,(int)var_3,0,0);
      var_14(var_9,0x84,(int)var_3,var_27,0);
      if (0 < var_9->nOp) {
        var_9->aOp[var_9->nOp + -1].p5 = 0x10;
      }
      if (var_27 != 0) {
        var_28(pParse_00,var_27);
      }
      var_14(var_9,3,var_7,var_5,0);
      var_26 = var_9->nOp + -1;
      if (-1 < var_20) {
        var_26 = var_20;
      }
      pOVar6 = (type_9 *)(var_21 + 0xafa15);
      if (var_9->db->mallocFailed == '\0') {
        pOVar6 = var_9->aOp + var_26;
      }
      pOVar6->var_25 = var_9->nOp;
      var_14(var_9,0x75,(int)var_22,0,0);
      var_14(var_9,0x75,(int)var_3,0,0);
      var_14(var_9,0x75,var_7,0,0);
    }
  }
  if (var_29 != *(int *)(var_2 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_30();
  }
  return;
}


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

void MASKED(void)

{
  undefined4 *puVar1;
  byte bVar2;
  int *piVar3;
  int iVar4;
  int *piVar5;
  int *piVar6;
  int extraout_ECX;
  undefined2 uVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int unaff_EDI;
  int in_GS_OFFSET;
  undefined8 uVar11;
  int local_44;
  int local_40;
  int local_30;
  int local_24;
  int local_20;
  
  uVar11 = FUN_0001af1a();
  iVar9 = (int)((ulonglong)uVar11 >> 0x20);
  piVar3 = (int *)uVar11;
  puVar1 = *(undefined4 **)(iVar9 + 0xc);
  iVar4 = *piVar3;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar10 = piVar3[10];
  piVar3[10] = iVar10 + 2;
  if (*(int *)(iVar9 + 0x18) == 0) {
    iVar8 = -16000000;
    local_44 = -1000000;
  }
  else {
    local_44 = FUN_000304d0(iVar10);
    iVar8 = local_44 << 4;
  }
  iVar4 = FUN_00059730(0,*(undefined4 *)(*(int *)(iVar4 + 0x10) + iVar8));
  if (iVar4 == 0) {
    FUN_00049420(1,*puVar1);
    piVar6 = (int *)piVar3[2];
    if ((piVar6 != (int *)0x0) || (piVar6 = (int *)FUN_000498b0(), piVar6 != (int *)0x0)) {
      local_30 = extraout_ECX;
      if (extraout_ECX < 0) {
        local_30 = *(int *)(iVar9 + 0x2c);
      }
      piVar5 = (int *)FUN_0005c6c0();
      piVar3[10] = piVar3[10] + 1;
      if (piVar5 != (int *)0x0) {
        *piVar5 = *piVar5 + 1;
      }
      FUN_000497a0(0,*(undefined2 *)(iVar9 + 0x32));
      FUN_000370b0(0xfffffff7);
      FUN_0005c7e0(puVar1,0x6d);
      iVar4 = FUN_000497a0(0,0);
      if (*(char *)((int)piVar3 + 0x13) == '\0') {
        local_40 = piVar3[0xb] + 1;
        piVar3[0xb] = local_40;
      }
      else {
        bVar2 = *(char *)((int)piVar3 + 0x13) - 1;
        *(byte *)((int)piVar3 + 0x13) = bVar2;
        local_40 = piVar3[bVar2 + 0x24];
      }
      piVar5 = (int *)piVar3[0x1d];
      if ((int *)piVar3[0x1d] == (int *)0x0) {
        piVar5 = piVar3;
      }
      *(undefined1 *)(piVar5 + 5) = 1;
      FUN_0009c790(local_40,0,&local_24,0,0);
      FUN_000497a0(local_40,0);
      if (local_24 != 0) {
        FUN_00049570();
      }
      FUN_000497a0(iVar4 + 1,0);
      if (iVar4 < 0) {
        iVar4 = piVar6[0x1a] + -1;
      }
      iVar8 = unaff_EDI + 0xafa15;
      if (*(char *)(*piVar6 + 0x4d) == '\0') {
        iVar8 = piVar6[0x19] + iVar4 * 0x14;
      }
      *(int *)(iVar8 + 8) = piVar6[0x1a];
      if (extraout_ECX < 0) {
        FUN_000497a0(local_44,0);
        FUN_000497a0(local_30,local_44);
        FUN_000370b0(0xfffffff7);
        uVar7 = 1;
      }
      else {
        FUN_000497a0(local_30,local_44);
        FUN_000370b0(0xfffffff7);
        uVar7 = 0x11;
      }
      if (0 < piVar6[0x1a]) {
        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = uVar7;
      }
      iVar4 = FUN_000497a0(0,0);
      if (*(char *)(iVar9 + 0x36) == '\0') {
        local_44 = piVar6[0x1a];
      }
      else {
        iVar8 = FUN_000497a0(1,0);
        local_44 = piVar6[0x1a];
        FUN_00049940(iVar8,local_40,*(undefined2 *)(iVar9 + 0x32));
        FUN_00067180();
        iVar9 = piVar6[0x1a] + -1;
        if (-1 < iVar8) {
          iVar9 = iVar8;
        }
        iVar8 = unaff_EDI + 0xafa15;
        if (*(char *)(*piVar6 + 0x4d) == '\0') {
          iVar8 = piVar6[0x19] + iVar9 * 0x14;
        }
        *(int *)(iVar8 + 8) = piVar6[0x1a];
      }
      FUN_000497a0(local_40,iVar10 + 1);
      FUN_000497a0(0,0);
      FUN_000497a0(local_40,0);
      if (0 < piVar6[0x1a]) {
        *(undefined2 *)(piVar6[0x19] + piVar6[0x1a] * 0x14 + -0x12) = 0x10;
      }
      if (local_40 != 0) {
        FUN_0002f640();
      }
      FUN_000497a0(local_44,0);
      iVar10 = piVar6[0x1a] + -1;
      if (-1 < iVar4) {
        iVar10 = iVar4;
      }
      iVar4 = unaff_EDI + 0xafa15;
      if (*(char *)(*piVar6 + 0x4d) == '\0') {
        iVar4 = piVar6[0x19] + iVar10 * 0x14;
      }
      *(int *)(iVar4 + 8) = piVar6[0x1a];
      FUN_000497a0(0,0);
      FUN_000497a0(0,0);
      FUN_000497a0(0,0);
    }
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_000f6410();
  }
  return;
}

