
void blowfish_expandkey(BlowfishContext *ctx,uchar *key,short keybytes,uchar *salt,short saltbytes)

{
  int iVar1;
  int iVar2;
  word32 *pwVar3;
  BlowfishContext *pBVar4;
  word32 *pwVar5;
  word32 *pwVar6;
  int iVar7;
  BlowfishContext *pBVar8;
  uint uVar9;
  uchar *key_00;
  undefined2 in_register_00000018;
  short keybytes_00;
  uint uVar10;
  word32 wVar11;
  word32 *pwVar12;
  int iVar13;
  int iVar14;
  word32 wVar15;
  word32 wVar16;
  word32 wVar17;
  int iVar18;
  int iVar19;
  undefined *puVar20;
  int iVar21;
  word32 str [2];
  uchar dummysalt [1];
  
  puVar20 = PTR___stack_chk_guard_000b0c9c;
  iVar19 = CONCAT22(in_register_00000018,keybytes);
  iVar1 = *(int *)PTR___stack_chk_guard_000b0c9c;
  iVar18 = 1;
  if (salt == (uchar *)0x0) {
    dummysalt[0] = '\0';
    salt = dummysalt;
  }
  else {
    iVar18 = (int)saltbytes;
  }
  iVar2 = 0;
  pwVar3 = ctx->P;
  do {
    if (iVar19 == 0) {
      trap(7);
    }
    iVar21 = iVar2 % iVar19;
    iVar7 = iVar2 + 1;
    iVar14 = iVar2 + 2;
    iVar13 = iVar2 + 3;
    iVar2 = iVar2 + 4;
    if (iVar19 == 0) {
      trap(7);
    }
    uVar10 = (uint)key[iVar21] << 0x18 ^ *pwVar3;
    *pwVar3 = uVar10;
    if (iVar19 == 0) {
      trap(7);
    }
    uVar10 = (uint)key[iVar7 % iVar19] << 0x10 ^ uVar10;
    *pwVar3 = uVar10;
    if (iVar19 == 0) {
      trap(7);
    }
    uVar10 = (uint)key[iVar14 % iVar19] << 8 ^ uVar10;
    *pwVar3 = uVar10;
    *pwVar3 = key[iVar13 % iVar19] ^ uVar10;
    pwVar3 = pwVar3 + 1;
  } while (iVar2 != 0x48);
  iVar19 = 0;
  str[1] = 0;
  str[0] = 0;
  pwVar3 = ctx->P;
  do {
    uVar10 = 0;
    iVar2 = 0;
    wVar11 = str[0];
    while( true ) {
      iVar7 = iVar19 + uVar10;
      uVar9 = ~uVar10;
      if (iVar18 == 0) {
        trap(7);
      }
      uVar10 = uVar10 + 1;
      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;
      if (uVar10 == 8) break;
      iVar2 = (int)uVar10 >> 2;
      wVar11 = str[iVar2];
    }
    blowfish_encrypt(str[0],str[1],str,ctx);
    iVar19 = iVar19 + 8;
    *pwVar3 = str[0];
    pwVar3[1] = str[1];
    pwVar3 = pwVar3 + 2;
  } while (iVar19 != 0x48);
  iVar19 = 0x48;
  pBVar8 = ctx;
  do {
    uVar10 = 0;
    iVar2 = 0;
    wVar11 = str[0];
    while( true ) {
      iVar7 = iVar19 + uVar10;
      uVar9 = ~uVar10;
      if (iVar18 == 0) {
        trap(7);
      }
      uVar10 = uVar10 + 1;
      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;
      if (uVar10 == 8) break;
      iVar2 = (int)uVar10 >> 2;
      wVar11 = str[iVar2];
    }
    blowfish_encrypt(str[0],str[1],str,ctx);
    iVar19 = iVar19 + 8;
    pBVar8->S0[0] = str[0];
    pBVar8->S0[1] = str[1];
    pBVar8 = (BlowfishContext *)(pBVar8->S0 + 2);
  } while (iVar19 != 0x448);
  iVar19 = 0x448;
  pwVar3 = ctx->S1;
  do {
    uVar10 = 0;
    iVar2 = 0;
    wVar11 = str[0];
    while( true ) {
      iVar7 = iVar19 + uVar10;
      uVar9 = ~uVar10;
      if (iVar18 == 0) {
        trap(7);
      }
      uVar10 = uVar10 + 1;
      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;
      if (uVar10 == 8) break;
      iVar2 = (int)uVar10 >> 2;
      wVar11 = str[iVar2];
    }
    blowfish_encrypt(str[0],str[1],str,ctx);
    iVar19 = iVar19 + 8;
    *pwVar3 = str[0];
    pwVar3[1] = str[1];
    pwVar3 = pwVar3 + 2;
  } while (iVar19 != 0x848);
  iVar19 = 0x848;
  pwVar3 = ctx->S2;
  do {
    uVar10 = 0;
    iVar2 = 0;
    wVar11 = str[0];
    while( true ) {
      iVar7 = iVar19 + uVar10;
      uVar9 = ~uVar10;
      if (iVar18 == 0) {
        trap(7);
      }
      uVar10 = uVar10 + 1;
      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;
      if (uVar10 == 8) break;
      iVar2 = (int)uVar10 >> 2;
      wVar11 = str[iVar2];
    }
    blowfish_encrypt(str[0],str[1],str,ctx);
    iVar19 = iVar19 + 8;
    *pwVar3 = str[0];
    pwVar3[1] = str[1];
    pwVar3 = pwVar3 + 2;
  } while (iVar19 != 0xc48);
  iVar19 = 0xc48;
  pwVar3 = ctx->S3;
  do {
    uVar10 = 0;
    iVar2 = 0;
    wVar11 = str[0];
    while( true ) {
      iVar7 = iVar19 + uVar10;
      uVar9 = ~uVar10;
      if (iVar18 == 0) {
        trap(7);
      }
      uVar10 = uVar10 + 1;
      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;
      if (uVar10 == 8) break;
      iVar2 = (int)uVar10 >> 2;
      wVar11 = str[iVar2];
    }
    pBVar8 = (BlowfishContext *)str[0];
    key_00 = (uchar *)str[1];
    pwVar5 = str;
    blowfish_encrypt(str[0],str[1],str,ctx);
    keybytes_00 = (short)pwVar5;
    iVar19 = iVar19 + 8;
    *pwVar3 = str[0];
    pwVar3[1] = str[1];
    pwVar3 = pwVar3 + 2;
  } while (iVar19 != 0x1048);
  if (iVar1 == *(int *)puVar20) {
    return;
  }
  puVar20 = PTR___stack_chk_fail_000b0c70;
  (*(code *)PTR___stack_chk_fail_000b0c70)();
  iVar1 = *(int *)(puVar20 + 0x5acac);
  pwVar5 = pBVar8->P;
  pwVar3 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x6e8c);
  wVar11 = 0x243f6a88;
  while( true ) {
    *pwVar5 = wVar11;
    pwVar5 = pwVar5 + 1;
    if (pwVar3 == (word32 *)(iVar1 + -0x6e48)) break;
    wVar11 = *pwVar3;
    pwVar3 = pwVar3 + 1;
  }
  iVar1 = *(int *)(puVar20 + 0x5acac);
  pwVar6 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x728c);
  pwVar12 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x7e8c);
  wVar17 = 0x3a39ce37;
  wVar16 = 0xe93d5a68;
  wVar15 = 0x4b7a70e9;
  wVar11 = 0xd1310ba6;
  pBVar4 = pBVar8;
  pwVar3 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x7a8c);
  pwVar5 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x768c);
  while( true ) {
    pBVar4->S0[0] = wVar11;
    pBVar4->S1[0] = wVar15;
    pBVar4->S2[0] = wVar16;
    pBVar4->S3[0] = wVar17;
    if (pwVar6 == (word32 *)(iVar1 + -0x6e90)) break;
    wVar17 = *pwVar12;
    pwVar12 = pwVar12 + 1;
    wVar15 = *pwVar5;
    wVar11 = *pwVar6;
    wVar16 = *pwVar3;
    pwVar6 = pwVar6 + 1;
    pBVar4 = (BlowfishContext *)(pBVar4->S0 + 1);
    pwVar3 = pwVar3 + 1;
    pwVar5 = pwVar5 + 1;
  }
  blowfish_expandkey(pBVar8,key_00,keybytes_00,(uchar *)0x0,0);
  return;
}



void blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  uint *puVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  int iVar7;
  uint uVar8;
  uint uVar9;
  undefined4 uVar10;
  undefined4 *puVar11;
  int iVar12;
  int iVar13;
  undefined4 uVar14;
  undefined4 uVar15;
  undefined4 uVar16;
  int iVar17;
  undefined *puVar18;
  int iVar19;
  undefined4 *local_38;
  uint local_34;
  undefined1 local_30 [4];
  int local_2c;
  
  puVar18 = PTR___stack_chk_guard_000b0c9c;
  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;
  iVar17 = 1;
  if (param_4 == (undefined1 *)0x0) {
    local_30[0] = 0;
    param_4 = local_30;
  }
  else {
    iVar17 = (int)param_5;
  }
  iVar1 = 0;
  puVar4 = param_1 + 0x400;
  do {
    if (param_3 == 0) {
      trap(7);
    }
    iVar19 = iVar1 % param_3;
    iVar7 = iVar1 + 1;
    iVar13 = iVar1 + 2;
    iVar12 = iVar1 + 3;
    iVar1 = iVar1 + 4;
    if (param_3 == 0) {
      trap(7);
    }
    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;
    *puVar4 = uVar9;
    if (param_3 == 0) {
      trap(7);
    }
    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;
    *puVar4 = uVar9;
    if (param_3 == 0) {
      trap(7);
    }
    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;
    *puVar4 = uVar9;
    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;
    puVar4 = puVar4 + 1;
  } while (iVar1 != 0x48);
  iVar1 = 0;
  local_34 = 0;
  local_38 = (undefined4 *)0x0;
  puVar4 = param_1 + 0x400;
  do {
    uVar9 = 0;
    iVar7 = 0;
    puVar2 = local_38;
    while( true ) {
      iVar12 = iVar1 + uVar9;
      uVar8 = ~uVar9;
      if (iVar17 == 0) {
        trap(7);
      }
      uVar9 = uVar9 + 1;
      (&local_38)[iVar7] =
           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)
      ;
      if (uVar9 == 8) break;
      iVar7 = (int)uVar9 >> 2;
      puVar2 = (&local_38)[iVar7];
    }
    FUN_00053b20(local_38,local_34,&local_38,param_1);
    iVar1 = iVar1 + 8;
    *puVar4 = (uint)local_38;
    puVar4[1] = local_34;
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0x48);
  iVar1 = 0x48;
  puVar4 = param_1;
  do {
    uVar9 = 0;
    iVar7 = 0;
    puVar2 = local_38;
    while( true ) {
      iVar12 = iVar1 + uVar9;
      uVar8 = ~uVar9;
      if (iVar17 == 0) {
        trap(7);
      }
      uVar9 = uVar9 + 1;
      (&local_38)[iVar7] =
           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)
      ;
      if (uVar9 == 8) break;
      iVar7 = (int)uVar9 >> 2;
      puVar2 = (&local_38)[iVar7];
    }
    FUN_00053b20(local_38,local_34,&local_38,param_1);
    iVar1 = iVar1 + 8;
    *puVar4 = (uint)local_38;
    puVar4[1] = local_34;
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0x448);
  iVar1 = 0x448;
  puVar4 = param_1 + 0x100;
  do {
    uVar9 = 0;
    iVar7 = 0;
    puVar2 = local_38;
    while( true ) {
      iVar12 = iVar1 + uVar9;
      uVar8 = ~uVar9;
      if (iVar17 == 0) {
        trap(7);
      }
      uVar9 = uVar9 + 1;
      (&local_38)[iVar7] =
           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)
      ;
      if (uVar9 == 8) break;
      iVar7 = (int)uVar9 >> 2;
      puVar2 = (&local_38)[iVar7];
    }
    FUN_00053b20(local_38,local_34,&local_38,param_1);
    iVar1 = iVar1 + 8;
    *puVar4 = (uint)local_38;
    puVar4[1] = local_34;
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0x848);
  iVar1 = 0x848;
  puVar4 = param_1 + 0x200;
  do {
    uVar9 = 0;
    iVar7 = 0;
    puVar2 = local_38;
    while( true ) {
      iVar12 = iVar1 + uVar9;
      uVar8 = ~uVar9;
      if (iVar17 == 0) {
        trap(7);
      }
      uVar9 = uVar9 + 1;
      (&local_38)[iVar7] =
           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)
      ;
      if (uVar9 == 8) break;
      iVar7 = (int)uVar9 >> 2;
      puVar2 = (&local_38)[iVar7];
    }
    FUN_00053b20(local_38,local_34,&local_38,param_1);
    iVar1 = iVar1 + 8;
    *puVar4 = (uint)local_38;
    puVar4[1] = local_34;
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0xc48);
  iVar1 = 0xc48;
  puVar4 = param_1 + 0x300;
  do {
    uVar9 = 0;
    iVar7 = 0;
    puVar2 = local_38;
    while( true ) {
      iVar12 = iVar1 + uVar9;
      uVar8 = ~uVar9;
      if (iVar17 == 0) {
        trap(7);
      }
      uVar9 = uVar9 + 1;
      (&local_38)[iVar7] =
           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)
      ;
      if (uVar9 == 8) break;
      iVar7 = (int)uVar9 >> 2;
      puVar2 = (&local_38)[iVar7];
    }
    puVar2 = local_38;
    FUN_00053b20(local_38,local_34,&local_38,param_1);
    iVar1 = iVar1 + 8;
    *puVar4 = (uint)local_38;
    puVar4[1] = local_34;
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0x1048);
  if (local_2c == *(int *)puVar18) {
    return;
  }
  puVar18 = PTR___stack_chk_fail_000b0c70;
  (*(code *)PTR___stack_chk_fail_000b0c70)();
  iVar17 = *(int *)(puVar18 + 0x5acac);
  puVar5 = puVar2 + 0x400;
  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c);
  uVar10 = 0x243f6a88;
  while( true ) {
    *puVar5 = uVar10;
    puVar5 = puVar5 + 1;
    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;
    uVar10 = *puVar3;
    puVar3 = puVar3 + 1;
  }
  iVar17 = *(int *)(puVar18 + 0x5acac);
  puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c);
  puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c);
  uVar16 = 0x3a39ce37;
  uVar15 = 0xe93d5a68;
  uVar14 = 0x4b7a70e9;
  uVar10 = 0xd1310ba6;
  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c);
  puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c);
  while( true ) {
    *puVar2 = uVar10;
    puVar2[0x100] = uVar14;
    puVar2[0x200] = uVar15;
    puVar2[0x300] = uVar16;
    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;
    uVar16 = *puVar11;
    puVar11 = puVar11 + 1;
    uVar14 = *puVar5;
    uVar10 = *puVar6;
    uVar15 = *puVar3;
    puVar6 = puVar6 + 1;
    puVar2 = puVar2 + 1;
    puVar3 = puVar3 + 1;
    puVar5 = puVar5 + 1;
  }
  blowfish_expandkey();
  return;
}


lui gp,0x6
addiu gp,gp,0x30c8
addu gp,gp,t9
lw v0,-0x74b4(gp)
addiu sp,sp,-0x58
sw v0,0x1c(sp)
sw gp,0x10(sp)
sw s1,0x34(sp)
or s1,a0,zero
sw ra,0x54(sp)
sw s8,0x50(sp)
sw s7,0x4c(sp)
sw s6,0x48(sp)
sw s5,0x44(sp)
sw s4,0x40(sp)
sw s3,0x3c(sp)
sw s2,0x38(sp)
sw s0,0x30(sp)
lw v0,0x0(v0)
sw v0,0x2c(sp)
beq a3,zero,0x0005550c
_li s0,0x1
lh s0,0x6a(sp)
or s6,a3,zero
addiu s3,s1,0x1000
or v0,zero,zero
li t3,0x48
or v1,s3,zero
teq a2,zero
div v0,a2
lw t5,0x0(v1)
addiu a0,v0,0x1
addiu t2,v0,0x2
addiu t1,v0,0x3
addiu v1,v1,0x4
addiu v0,v0,0x4
mfhi t4
teq a2,zero
div a0,a2
addu t4,a1,t4
lbu a3,0x0(t4)
sll a3,a3,0x18
xor a3,a3,t5
sw a3,-0x4(v1)
mfhi a0
teq a2,zero
div t2,a2
addu a0,a1,a0
lbu a0,0x0(a0)
sll a0,a0,0x10
xor a3,a0,a3
sw a3,-0x4(v1)
mfhi t2
teq a2,zero
div t1,a2
addu t2,a1,t2
lbu a0,0x0(t2)
sll a0,a0,0x8
xor a0,a0,a3
sw a0,-0x4(v1)
mfhi t1
addu t1,a1,t1
lbu a3,0x0(t1)
xor a0,a3,a0
bne v0,t3,0x000550f8
_sw a0,-0x4(v1)
lw s2,-0x7ac4(gp)
or v0,zero,zero
or s5,zero,zero
sw zero,0x24(sp)
addiu s7,sp,0x20
sw zero,0x20(sp)
addiu s2,s2,0x3b20
li s8,0x8
li s4,0x48
or a0,zero,zero
b 0x000551d4
_or v1,zero,zero
sra v1,a0,0x2
addiu a1,sp,0x30
sll v0,v1,0x2
addu v0,a1,v0
lw v0,-0x10(v0)
addu a3,s5,a0
nor a1,zero,a0
teq s0,zero
div a3,s0
sll a2,a1,0x3
sll v1,v1,0x2
addiu a1,sp,0x30
addiu a0,a0,0x1
addu v1,a1,v1
mfhi a3
addu a3,s6,a3
lbu a1,0x0(a3)
sllv a1,a1,a2
xor v0,a1,v0
bne a0,s8,0x000551c0
_sw v0,-0x10(v1)
lw a1,0x24(sp)
or a3,s1,zero
lw a0,0x20(sp)
or a2,s7,zero
or t9,s2,zero
bal 0x00053b20
_addiu s3,s3,0x8
addiu s5,s5,0x8
lw v0,0x20(sp)
lw v1,0x24(sp)
sw v0,-0x8(s3)
bne s5,s4,0x000551b4
_sw v1,-0x4(s3)
li s8,0x8
li s4,0x448
or s3,s1,zero
or a0,zero,zero
b 0x00055274
_or v1,zero,zero
sra v1,a0,0x2
addiu a1,sp,0x30
sll v0,v1,0x2
addu v0,a1,v0
lw v0,-0x10(v0)
addu a3,s5,a0
nor a1,zero,a0
teq s0,zero
div a3,s0
sll a2,a1,0x3
sll v1,v1,0x2
addiu a1,sp,0x30
addiu a0,a0,0x1
addu v1,a1,v1
mfhi a3
addu a3,s6,a3
lbu a1,0x0(a3)
sllv a1,a1,a2
xor v0,a1,v0
bne a0,s8,0x00055260
_sw v0,-0x10(v1)
lw a1,0x24(sp)
or a3,s1,zero
lw a0,0x20(sp)
or a2,s7,zero
or t9,s2,zero
bal 0x00053b20
_addiu s3,s3,0x8
addiu s5,s5,0x8
lw v0,0x20(sp)
lw v1,0x24(sp)
sw v0,-0x8(s3)
bne s5,s4,0x00055254
_sw v1,-0x4(s3)
addiu s3,s1,0x400
li s8,0x8
li s4,0x848
or a0,zero,zero
b 0x00055314
_or v1,zero,zero
sra v1,a0,0x2
addiu a1,sp,0x30
sll v0,v1,0x2
addu v0,a1,v0
lw v0,-0x10(v0)
addu a3,s5,a0
nor a1,zero,a0
teq s0,zero
div a3,s0
sll a2,a1,0x3
sll v1,v1,0x2
addiu a1,sp,0x30
addiu a0,a0,0x1
addu v1,a1,v1
mfhi a3
addu a3,s6,a3
lbu a1,0x0(a3)
sllv a1,a1,a2
xor v0,a1,v0
bne a0,s8,0x00055300
_sw v0,-0x10(v1)
lw a1,0x24(sp)
or a3,s1,zero
lw a0,0x20(sp)
or a2,s7,zero
or t9,s2,zero
bal 0x00053b20
_addiu s3,s3,0x8
addiu s5,s5,0x8
lw v0,0x20(sp)
lw v1,0x24(sp)
sw v0,-0x8(s3)
bne s5,s4,0x000552f4
_sw v1,-0x4(s3)
addiu s3,s1,0x800
li s8,0x8
li s4,0xc48
or a0,zero,zero
b 0x000553b4
_or v1,zero,zero
sra v1,a0,0x2
addiu a1,sp,0x30
sll v0,v1,0x2
addu v0,a1,v0
lw v0,-0x10(v0)
addu a3,s5,a0
nor a1,zero,a0
teq s0,zero
div a3,s0
sll a2,a1,0x3
sll v1,v1,0x2
addiu a1,sp,0x30
addiu a0,a0,0x1
addu v1,a1,v1
mfhi a3
addu a3,s6,a3
lbu a1,0x0(a3)
sllv a1,a1,a2
xor v0,a1,v0
bne a0,s8,0x000553a0
_sw v0,-0x10(v1)
lw a1,0x24(sp)
or a3,s1,zero
lw a0,0x20(sp)
or a2,s7,zero
or t9,s2,zero
bal 0x00053b20
_addiu s3,s3,0x8
addiu s5,s5,0x8
lw v0,0x20(sp)
lw v1,0x24(sp)
sw v0,-0x8(s3)
bne s5,s4,0x00055394
_sw v1,-0x4(s3)
addiu s3,s1,0xc00
li s8,0x8
li s4,0x1048
or a0,zero,zero
b 0x00055454
_or v1,zero,zero
sra v1,a0,0x2
addiu a1,sp,0x30
sll v0,v1,0x2
addu v0,a1,v0
lw v0,-0x10(v0)
addu a3,s5,a0
nor a1,zero,a0
teq s0,zero
div a3,s0
sll a2,a1,0x3
sll v1,v1,0x2
addiu a1,sp,0x30
addiu a0,a0,0x1
addu v1,a1,v1
mfhi a3
addu a3,s6,a3
lbu a1,0x0(a3)
sllv a1,a1,a2
xor v0,a1,v0
bne a0,s8,0x00055440
_sw v0,-0x10(v1)
lw a1,0x24(sp)
or a3,s1,zero
lw a0,0x20(sp)
or a2,s7,zero
or t9,s2,zero
bal 0x00053b20
_addiu s3,s3,0x8
addiu s5,s5,0x8
lw v0,0x20(sp)
lw v1,0x24(sp)
lw gp,0x10(sp)
sw v0,-0x8(s3)
bne s5,s4,0x00055434
_sw v1,-0x4(s3)
lw v0,0x1c(sp)
lw v1,0x2c(sp)
lw v0,0x0(v0)
bne v1,v0,0x00055518
_lw ra,0x54(sp)
lw s8,0x50(sp)
lw s7,0x4c(sp)
lw s6,0x48(sp)
lw s5,0x44(sp)
lw s4,0x40(sp)
lw s3,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x58
sb zero,0x28(sp)
b 0x000550e8
_addiu s6,sp,0x28
lw t9,-0x74e0(gp)
jalr t9
_nop
(translation_unit "void blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  uint *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  undefined *puVar18;\n  int iVar19;\n  undefined4 *local_38;\n  uint local_34;\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  iVar17 = 1;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    param_4 = local_30;\n  }\n  else {\n    iVar17 = (int)param_5;\n  }\n  iVar1 = 0;\n  puVar4 = param_1 + 0x400;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    iVar19 = iVar1 % param_3;\n    iVar7 = iVar1 + 1;\n    iVar13 = iVar1 + 2;\n    iVar12 = iVar1 + 3;\n    iVar1 = iVar1 + 4;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;\n    *puVar4 = uVar9;\n    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  iVar1 = 0;\n  local_34 = 0;\n  local_38 = (undefined4 *)0x0;\n  puVar4 = param_1 + 0x400;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  iVar1 = 0x448;\n  puVar4 = param_1 + 0x100;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  iVar1 = 0x848;\n  puVar4 = param_1 + 0x200;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  iVar1 = 0xc48;\n  puVar4 = param_1 + 0x300;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    puVar2 = local_38;\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)puVar18) {\n    return;\n  }\n  puVar18 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar5 = puVar2 + 0x400;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c);\n  uVar10 = 0x243f6a88;\n  while( true ) {\n    *puVar5 = uVar10;\n    puVar5 = puVar5 + 1;\n    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;\n    uVar10 = *puVar3;\n    puVar3 = puVar3 + 1;\n  }\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c);\n  puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c);\n  uVar16 = 0x3a39ce37;\n  uVar15 = 0xe93d5a68;\n  uVar14 = 0x4b7a70e9;\n  uVar10 = 0xd1310ba6;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c);\n  puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c);\n  while( true ) {\n    *puVar2 = uVar10;\n    puVar2[0x100] = uVar14;\n    puVar2[0x200] = uVar15;\n    puVar2[0x300] = uVar16;\n    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;\n    uVar16 = *puVar11;\n    puVar11 = puVar11 + 1;\n    uVar14 = *puVar5;\n    uVar10 = *puVar6;\n    uVar15 = *puVar3;\n    puVar6 = puVar6 + 1;\n    puVar2 = puVar2 + 1;\n    puVar3 = puVar3 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}\n\n" (function_definition "void blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  uint *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  undefined *puVar18;\n  int iVar19;\n  undefined4 *local_38;\n  uint local_34;\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  iVar17 = 1;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    param_4 = local_30;\n  }\n  else {\n    iVar17 = (int)param_5;\n  }\n  iVar1 = 0;\n  puVar4 = param_1 + 0x400;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    iVar19 = iVar1 % param_3;\n    iVar7 = iVar1 + 1;\n    iVar13 = iVar1 + 2;\n    iVar12 = iVar1 + 3;\n    iVar1 = iVar1 + 4;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;\n    *puVar4 = uVar9;\n    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  iVar1 = 0;\n  local_34 = 0;\n  local_38 = (undefined4 *)0x0;\n  puVar4 = param_1 + 0x400;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  iVar1 = 0x448;\n  puVar4 = param_1 + 0x100;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  iVar1 = 0x848;\n  puVar4 = param_1 + 0x200;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  iVar1 = 0xc48;\n  puVar4 = param_1 + 0x300;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    puVar2 = local_38;\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)puVar18) {\n    return;\n  }\n  puVar18 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar5 = puVar2 + 0x400;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c);\n  uVar10 = 0x243f6a88;\n  while( true ) {\n    *puVar5 = uVar10;\n    puVar5 = puVar5 + 1;\n    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;\n    uVar10 = *puVar3;\n    puVar3 = puVar3 + 1;\n  }\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c);\n  puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c);\n  uVar16 = 0x3a39ce37;\n  uVar15 = 0xe93d5a68;\n  uVar14 = 0x4b7a70e9;\n  uVar10 = 0xd1310ba6;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c);\n  puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c);\n  while( true ) {\n    *puVar2 = uVar10;\n    puVar2[0x100] = uVar14;\n    puVar2[0x200] = uVar15;\n    puVar2[0x300] = uVar16;\n    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;\n    uVar16 = *puVar11;\n    puVar11 = puVar11 + 1;\n    uVar14 = *puVar5;\n    uVar10 = *puVar6;\n    uVar15 = *puVar3;\n    puVar6 = puVar6 + 1;\n    puVar2 = puVar2 + 1;\n    puVar3 = puVar3 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}" primitive_type (function_declarator "blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)" identifier (parameter_list "(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined1 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "short param_5" (sized_type_specifier "short" short) identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  uint *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  undefined *puVar18;\n  int iVar19;\n  undefined4 *local_38;\n  uint local_34;\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  iVar17 = 1;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    param_4 = local_30;\n  }\n  else {\n    iVar17 = (int)param_5;\n  }\n  iVar1 = 0;\n  puVar4 = param_1 + 0x400;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    iVar19 = iVar1 % param_3;\n    iVar7 = iVar1 + 1;\n    iVar13 = iVar1 + 2;\n    iVar12 = iVar1 + 3;\n    iVar1 = iVar1 + 4;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;\n    *puVar4 = uVar9;\n    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  iVar1 = 0;\n  local_34 = 0;\n  local_38 = (undefined4 *)0x0;\n  puVar4 = param_1 + 0x400;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  iVar1 = 0x448;\n  puVar4 = param_1 + 0x100;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  iVar1 = 0x848;\n  puVar4 = param_1 + 0x200;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  iVar1 = 0xc48;\n  puVar4 = param_1 + 0x300;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    puVar2 = local_38;\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)puVar18) {\n    return;\n  }\n  puVar18 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar5 = puVar2 + 0x400;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c);\n  uVar10 = 0x243f6a88;\n  while( true ) {\n    *puVar5 = uVar10;\n    puVar5 = puVar5 + 1;\n    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;\n    uVar10 = *puVar3;\n    puVar3 = puVar3 + 1;\n  }\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c);\n  puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c);\n  uVar16 = 0x3a39ce37;\n  uVar15 = 0xe93d5a68;\n  uVar14 = 0x4b7a70e9;\n  uVar10 = 0xd1310ba6;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c);\n  puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c);\n  while( true ) {\n    *puVar2 = uVar10;\n    puVar2[0x100] = uVar14;\n    puVar2[0x200] = uVar15;\n    puVar2[0x300] = uVar16;\n    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;\n    uVar16 = *puVar11;\n    puVar11 = puVar11 + 1;\n    uVar14 = *puVar5;\n    uVar10 = *puVar6;\n    uVar15 = *puVar3;\n    puVar6 = puVar6 + 1;\n    puVar2 = puVar2 + 1;\n    puVar3 = puVar3 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "undefined4 uVar15;" type_identifier identifier ;) (declaration "undefined4 uVar16;" type_identifier identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "undefined *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "undefined4 *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "undefined1 local_30 [4];" type_identifier (array_declarator "local_30 [4]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar18 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar18 = PTR___stack_chk_guard_000b0c9c" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000b0c9c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b0c9c" * (cast_expression "(int *)PTR___stack_chk_guard_000b0c9c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar17 = 1;" (assignment_expression "iVar17 = 1" identifier = number_literal) ;) (if_statement "if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    param_4 = local_30;\n  }\n  else {\n    iVar17 = (int)param_5;\n  }" if (parenthesized_expression "(param_4 == (undefined1 *)0x0)" ( (binary_expression "param_4 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_30[0] = 0;\n    param_4 = local_30;\n  }" { (expression_statement "local_30[0] = 0;" (assignment_expression "local_30[0] = 0" (subscript_expression "local_30[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_4 = local_30;" (assignment_expression "param_4 = local_30" identifier = identifier) ;) }) (else_clause "else {\n    iVar17 = (int)param_5;\n  }" else (compound_statement "{\n    iVar17 = (int)param_5;\n  }" { (expression_statement "iVar17 = (int)param_5;" (assignment_expression "iVar17 = (int)param_5" identifier = (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = param_1 + 0x400;" (assignment_expression "puVar4 = param_1 + 0x400" identifier = (binary_expression "param_1 + 0x400" identifier + number_literal)) ;) (do_statement "do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    iVar19 = iVar1 % param_3;\n    iVar7 = iVar1 + 1;\n    iVar13 = iVar1 + 2;\n    iVar12 = iVar1 + 3;\n    iVar1 = iVar1 + 4;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;\n    *puVar4 = uVar9;\n    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);" do (compound_statement "{\n    if (param_3 == 0) {\n      trap(7);\n    }\n    iVar19 = iVar1 % param_3;\n    iVar7 = iVar1 + 1;\n    iVar13 = iVar1 + 2;\n    iVar12 = iVar1 + 3;\n    iVar1 = iVar1 + 4;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;\n    *puVar4 = uVar9;\n    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;\n    puVar4 = puVar4 + 1;\n  }" { (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "iVar19 = iVar1 % param_3;" (assignment_expression "iVar19 = iVar1 % param_3" identifier = (binary_expression "iVar1 % param_3" identifier % identifier)) ;) (expression_statement "iVar7 = iVar1 + 1;" (assignment_expression "iVar7 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = iVar1 + 2;" (assignment_expression "iVar13 = iVar1 + 2" identifier = (binary_expression "iVar1 + 2" identifier + number_literal)) ;) (expression_statement "iVar12 = iVar1 + 3;" (assignment_expression "iVar12 = iVar1 + 3" identifier = (binary_expression "iVar1 + 3" identifier + number_literal)) ;) (expression_statement "iVar1 = iVar1 + 4;" (assignment_expression "iVar1 = iVar1 + 4" identifier = (binary_expression "iVar1 + 4" identifier + number_literal)) ;) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;" (assignment_expression "uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4" (binary_expression "(uint)*(byte *)(param_2 + iVar19) << 0x18" (binary_expression "(uint)*(byte *)(param_2 + iVar19)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar19)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar19)" ( (binary_expression "param_2 + iVar19" identifier + identifier) )))) << number_literal) ^ (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "*puVar4 = uVar9;" (assignment_expression "*puVar4 = uVar9" (pointer_expression "*puVar4" * identifier) = identifier) ;) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;" (assignment_expression "uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9" (binary_expression "(uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10" (binary_expression "(uint)*(byte *)(param_2 + iVar7 % param_3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar7 % param_3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar7 % param_3)" ( (binary_expression "param_2 + iVar7 % param_3" identifier + (binary_expression "iVar7 % param_3" identifier % identifier)) )))) << number_literal) ^ identifier)) ;) (expression_statement "*puVar4 = uVar9;" (assignment_expression "*puVar4 = uVar9" (pointer_expression "*puVar4" * identifier) = identifier) ;) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;" (assignment_expression "uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9" (binary_expression "(uint)*(byte *)(param_2 + iVar13 % param_3) << 8" (binary_expression "(uint)*(byte *)(param_2 + iVar13 % param_3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar13 % param_3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar13 % param_3)" ( (binary_expression "param_2 + iVar13 % param_3" identifier + (binary_expression "iVar13 % param_3" identifier % identifier)) )))) << number_literal) ^ identifier)) ;) (expression_statement "*puVar4 = uVar9;" (assignment_expression "*puVar4 = uVar9" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "*puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;" (assignment_expression "*puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9" (pointer_expression "*puVar4" * identifier) = (binary_expression "*(byte *)(param_2 + iVar12 % param_3) ^ uVar9" (pointer_expression "*(byte *)(param_2 + iVar12 % param_3)" * (cast_expression "(byte *)(param_2 + iVar12 % param_3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar12 % param_3)" ( (binary_expression "param_2 + iVar12 % param_3" identifier + (binary_expression "iVar12 % param_3" identifier % identifier)) )))) ^ identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x48)" ( (binary_expression "iVar1 != 0x48" identifier != number_literal) )) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_38 = (undefined4 *)0x0;" (assignment_expression "local_38 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar4 = param_1 + 0x400;" (assignment_expression "puVar4 = param_1 + 0x400" identifier = (binary_expression "param_1 + 0x400" identifier + number_literal)) ;) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x48);" do (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" { (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" identifier = (binary_expression "iVar1 + uVar9" identifier + identifier)) ;) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" identifier = (unary_expression "~uVar9" ~ identifier)) ;) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" identifier = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ]) = (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar12 % iVar17]" identifier [ (binary_expression "iVar12 % iVar17" identifier % identifier) ]))) << (parenthesized_expression "((uVar8 & 3) << 3)" ( (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" ( (binary_expression "uVar8 & 3" identifier & number_literal) )) << number_literal) ))) ^ (cast_expression "(uint)puVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (uVar9 == 8) break;" if (parenthesized_expression "(uVar9 == 8)" ( (binary_expression "uVar9 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" identifier = (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" identifier = (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ])) ;) })) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" identifier (argument_list "(local_38,local_34,&local_38,param_1)" ( identifier , identifier , (pointer_expression "&local_38" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" * identifier) = (cast_expression "(uint)local_38" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x48)" ( (binary_expression "iVar1 != 0x48" identifier != number_literal) )) ;) (expression_statement "iVar1 = 0x48;" (assignment_expression "iVar1 = 0x48" identifier = number_literal) ;) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" identifier = identifier) ;) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);" do (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" { (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" identifier = (binary_expression "iVar1 + uVar9" identifier + identifier)) ;) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" identifier = (unary_expression "~uVar9" ~ identifier)) ;) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" identifier = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ]) = (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar12 % iVar17]" identifier [ (binary_expression "iVar12 % iVar17" identifier % identifier) ]))) << (parenthesized_expression "((uVar8 & 3) << 3)" ( (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" ( (binary_expression "uVar8 & 3" identifier & number_literal) )) << number_literal) ))) ^ (cast_expression "(uint)puVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (uVar9 == 8) break;" if (parenthesized_expression "(uVar9 == 8)" ( (binary_expression "uVar9 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" identifier = (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" identifier = (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ])) ;) })) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" identifier (argument_list "(local_38,local_34,&local_38,param_1)" ( identifier , identifier , (pointer_expression "&local_38" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" * identifier) = (cast_expression "(uint)local_38" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x448)" ( (binary_expression "iVar1 != 0x448" identifier != number_literal) )) ;) (expression_statement "iVar1 = 0x448;" (assignment_expression "iVar1 = 0x448" identifier = number_literal) ;) (expression_statement "puVar4 = param_1 + 0x100;" (assignment_expression "puVar4 = param_1 + 0x100" identifier = (binary_expression "param_1 + 0x100" identifier + number_literal)) ;) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);" do (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" { (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" identifier = (binary_expression "iVar1 + uVar9" identifier + identifier)) ;) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" identifier = (unary_expression "~uVar9" ~ identifier)) ;) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" identifier = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ]) = (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar12 % iVar17]" identifier [ (binary_expression "iVar12 % iVar17" identifier % identifier) ]))) << (parenthesized_expression "((uVar8 & 3) << 3)" ( (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" ( (binary_expression "uVar8 & 3" identifier & number_literal) )) << number_literal) ))) ^ (cast_expression "(uint)puVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (uVar9 == 8) break;" if (parenthesized_expression "(uVar9 == 8)" ( (binary_expression "uVar9 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" identifier = (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" identifier = (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ])) ;) })) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" identifier (argument_list "(local_38,local_34,&local_38,param_1)" ( identifier , identifier , (pointer_expression "&local_38" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" * identifier) = (cast_expression "(uint)local_38" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x848)" ( (binary_expression "iVar1 != 0x848" identifier != number_literal) )) ;) (expression_statement "iVar1 = 0x848;" (assignment_expression "iVar1 = 0x848" identifier = number_literal) ;) (expression_statement "puVar4 = param_1 + 0x200;" (assignment_expression "puVar4 = param_1 + 0x200" identifier = (binary_expression "param_1 + 0x200" identifier + number_literal)) ;) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);" do (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" { (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" identifier = (binary_expression "iVar1 + uVar9" identifier + identifier)) ;) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" identifier = (unary_expression "~uVar9" ~ identifier)) ;) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" identifier = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ]) = (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar12 % iVar17]" identifier [ (binary_expression "iVar12 % iVar17" identifier % identifier) ]))) << (parenthesized_expression "((uVar8 & 3) << 3)" ( (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" ( (binary_expression "uVar8 & 3" identifier & number_literal) )) << number_literal) ))) ^ (cast_expression "(uint)puVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (uVar9 == 8) break;" if (parenthesized_expression "(uVar9 == 8)" ( (binary_expression "uVar9 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" identifier = (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" identifier = (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ])) ;) })) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" identifier (argument_list "(local_38,local_34,&local_38,param_1)" ( identifier , identifier , (pointer_expression "&local_38" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" * identifier) = (cast_expression "(uint)local_38" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0xc48)" ( (binary_expression "iVar1 != 0xc48" identifier != number_literal) )) ;) (expression_statement "iVar1 = 0xc48;" (assignment_expression "iVar1 = 0xc48" identifier = number_literal) ;) (expression_statement "puVar4 = param_1 + 0x300;" (assignment_expression "puVar4 = param_1 + 0x300" identifier = (binary_expression "param_1 + 0x300" identifier + number_literal)) ;) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    puVar2 = local_38;\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);" do (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    puVar2 = local_38;\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" { (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" identifier = (binary_expression "iVar1 + uVar9" identifier + identifier)) ;) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" identifier = (unary_expression "~uVar9" ~ identifier)) ;) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" identifier = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ]) = (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar12 % iVar17]" identifier [ (binary_expression "iVar12 % iVar17" identifier % identifier) ]))) << (parenthesized_expression "((uVar8 & 3) << 3)" ( (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" ( (binary_expression "uVar8 & 3" identifier & number_literal) )) << number_literal) ))) ^ (cast_expression "(uint)puVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (uVar9 == 8) break;" if (parenthesized_expression "(uVar9 == 8)" ( (binary_expression "uVar9 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" identifier = (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" identifier = (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ])) ;) })) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" identifier = identifier) ;) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" identifier (argument_list "(local_38,local_34,&local_38,param_1)" ( identifier , identifier , (pointer_expression "&local_38" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" * identifier) = (cast_expression "(uint)local_38" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x1048)" ( (binary_expression "iVar1 != 0x1048" identifier != number_literal) )) ;) (if_statement "if (local_2c == *(int *)puVar18) {\n    return;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar18)" ( (binary_expression "local_2c == *(int *)puVar18" identifier == (pointer_expression "*(int *)puVar18" * (cast_expression "(int *)puVar18" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar18 = PTR___stack_chk_fail_000b0c70;" (assignment_expression "puVar18 = PTR___stack_chk_fail_000b0c70" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" * (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar17 = *(int *)(puVar18 + 0x5acac);" (assignment_expression "iVar17 = *(int *)(puVar18 + 0x5acac)" identifier = (pointer_expression "*(int *)(puVar18 + 0x5acac)" * (cast_expression "(int *)(puVar18 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x5acac)" ( (binary_expression "puVar18 + 0x5acac" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = puVar2 + 0x400;" (assignment_expression "puVar5 = puVar2 + 0x400" identifier = (binary_expression "puVar2 + 0x400" identifier + number_literal)) ;) (expression_statement "puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c);" (assignment_expression "puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c)" identifier = (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x6e8c)" ( (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x6e8c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" * (cast_expression "(int *)(puVar18 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x5acac)" ( (binary_expression "puVar18 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "uVar10 = 0x243f6a88;" (assignment_expression "uVar10 = 0x243f6a88" identifier = number_literal) ;) (while_statement "while( true ) {\n    *puVar5 = uVar10;\n    puVar5 = puVar5 + 1;\n    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;\n    uVar10 = *puVar3;\n    puVar3 = puVar3 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    *puVar5 = uVar10;\n    puVar5 = puVar5 + 1;\n    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;\n    uVar10 = *puVar3;\n    puVar3 = puVar3 + 1;\n  }" { (expression_statement "*puVar5 = uVar10;" (assignment_expression "*puVar5 = uVar10" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (if_statement "if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;" if (parenthesized_expression "(puVar3 == (undefined4 *)(iVar17 + -0x6e48))" ( (binary_expression "puVar3 == (undefined4 *)(iVar17 + -0x6e48)" identifier == (cast_expression "(undefined4 *)(iVar17 + -0x6e48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + -0x6e48)" ( (binary_expression "iVar17 + -0x6e48" identifier + number_literal) )))) )) (break_statement "break;" break ;)) (expression_statement "uVar10 = *puVar3;" (assignment_expression "uVar10 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar17 = *(int *)(puVar18 + 0x5acac);" (assignment_expression "iVar17 = *(int *)(puVar18 + 0x5acac)" identifier = (pointer_expression "*(int *)(puVar18 + 0x5acac)" * (cast_expression "(int *)(puVar18 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x5acac)" ( (binary_expression "puVar18 + 0x5acac" identifier + number_literal) ))))) ;) (expression_statement "puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c);" (assignment_expression "puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c)" identifier = (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x728c)" ( (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x728c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" * (cast_expression "(int *)(puVar18 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x5acac)" ( (binary_expression "puVar18 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c);" (assignment_expression "puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c)" identifier = (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x7e8c)" ( (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x7e8c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" * (cast_expression "(int *)(puVar18 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x5acac)" ( (binary_expression "puVar18 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "uVar16 = 0x3a39ce37;" (assignment_expression "uVar16 = 0x3a39ce37" identifier = number_literal) ;) (expression_statement "uVar15 = 0xe93d5a68;" (assignment_expression "uVar15 = 0xe93d5a68" identifier = number_literal) ;) (expression_statement "uVar14 = 0x4b7a70e9;" (assignment_expression "uVar14 = 0x4b7a70e9" identifier = number_literal) ;) (expression_statement "uVar10 = 0xd1310ba6;" (assignment_expression "uVar10 = 0xd1310ba6" identifier = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c);" (assignment_expression "puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c)" identifier = (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x7a8c)" ( (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x7a8c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" * (cast_expression "(int *)(puVar18 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x5acac)" ( (binary_expression "puVar18 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c);" (assignment_expression "puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c)" identifier = (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x768c)" ( (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x768c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" * (cast_expression "(int *)(puVar18 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x5acac)" ( (binary_expression "puVar18 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (while_statement "while( true ) {\n    *puVar2 = uVar10;\n    puVar2[0x100] = uVar14;\n    puVar2[0x200] = uVar15;\n    puVar2[0x300] = uVar16;\n    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;\n    uVar16 = *puVar11;\n    puVar11 = puVar11 + 1;\n    uVar14 = *puVar5;\n    uVar10 = *puVar6;\n    uVar15 = *puVar3;\n    puVar6 = puVar6 + 1;\n    puVar2 = puVar2 + 1;\n    puVar3 = puVar3 + 1;\n    puVar5 = puVar5 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    *puVar2 = uVar10;\n    puVar2[0x100] = uVar14;\n    puVar2[0x200] = uVar15;\n    puVar2[0x300] = uVar16;\n    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;\n    uVar16 = *puVar11;\n    puVar11 = puVar11 + 1;\n    uVar14 = *puVar5;\n    uVar10 = *puVar6;\n    uVar15 = *puVar3;\n    puVar6 = puVar6 + 1;\n    puVar2 = puVar2 + 1;\n    puVar3 = puVar3 + 1;\n    puVar5 = puVar5 + 1;\n  }" { (expression_statement "*puVar2 = uVar10;" (assignment_expression "*puVar2 = uVar10" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2[0x100] = uVar14;" (assignment_expression "puVar2[0x100] = uVar14" (subscript_expression "puVar2[0x100]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0x200] = uVar15;" (assignment_expression "puVar2[0x200] = uVar15" (subscript_expression "puVar2[0x200]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0x300] = uVar16;" (assignment_expression "puVar2[0x300] = uVar16" (subscript_expression "puVar2[0x300]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;" if (parenthesized_expression "(puVar6 == (undefined4 *)(iVar17 + -0x6e90))" ( (binary_expression "puVar6 == (undefined4 *)(iVar17 + -0x6e90)" identifier == (cast_expression "(undefined4 *)(iVar17 + -0x6e90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + -0x6e90)" ( (binary_expression "iVar17 + -0x6e90" identifier + number_literal) )))) )) (break_statement "break;" break ;)) (expression_statement "uVar16 = *puVar11;" (assignment_expression "uVar16 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "uVar14 = *puVar5;" (assignment_expression "uVar14 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar10 = *puVar6;" (assignment_expression "uVar10 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "uVar15 = *puVar3;" (assignment_expression "uVar15 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "blowfish_expandkey();" (call_expression "blowfish_expandkey()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void blowfish_expandkey(BlowfishContext *ctx,uchar *key,short keybytes,uchar *salt,short saltbytes)\n\n{\n  int iVar1;\n  int iVar2;\n  word32 *pwVar3;\n  BlowfishContext *pBVar4;\n  word32 *pwVar5;\n  word32 *pwVar6;\n  int iVar7;\n  BlowfishContext *pBVar8;\n  uint uVar9;\n  uchar *key_00;\n  undefined2 in_register_00000018;\n  short keybytes_00;\n  uint uVar10;\n  word32 wVar11;\n  word32 *pwVar12;\n  int iVar13;\n  int iVar14;\n  word32 wVar15;\n  word32 wVar16;\n  word32 wVar17;\n  int iVar18;\n  int iVar19;\n  undefined *puVar20;\n  int iVar21;\n  word32 str [2];\n  uchar dummysalt [1];\n  \n  puVar20 = PTR___stack_chk_guard_000b0c9c;\n  iVar19 = CONCAT22(in_register_00000018,keybytes);\n  iVar1 = *(int *)PTR___stack_chk_guard_000b0c9c;\n  iVar18 = 1;\n  if (salt == (uchar *)0x0) {\n    dummysalt[0] = '\0';\n    salt = dummysalt;\n  }\n  else {\n    iVar18 = (int)saltbytes;\n  }\n  iVar2 = 0;\n  pwVar3 = ctx->P;\n  do {\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    iVar21 = iVar2 % iVar19;\n    iVar7 = iVar2 + 1;\n    iVar14 = iVar2 + 2;\n    iVar13 = iVar2 + 3;\n    iVar2 = iVar2 + 4;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar21] << 0x18 ^ *pwVar3;\n    *pwVar3 = uVar10;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar7 % iVar19] << 0x10 ^ uVar10;\n    *pwVar3 = uVar10;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar14 % iVar19] << 8 ^ uVar10;\n    *pwVar3 = uVar10;\n    *pwVar3 = key[iVar13 % iVar19] ^ uVar10;\n    pwVar3 = pwVar3 + 1;\n  } while (iVar2 != 0x48);\n  iVar19 = 0;\n  str[1] = 0;\n  str[0] = 0;\n  pwVar3 = ctx->P;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0x48);\n  iVar19 = 0x48;\n  pBVar8 = ctx;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    pBVar8->S0[0] = str[0];\n    pBVar8->S0[1] = str[1];\n    pBVar8 = (BlowfishContext *)(pBVar8->S0 + 2);\n  } while (iVar19 != 0x448);\n  iVar19 = 0x448;\n  pwVar3 = ctx->S1;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0x848);\n  iVar19 = 0x848;\n  pwVar3 = ctx->S2;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0xc48);\n  iVar19 = 0xc48;\n  pwVar3 = ctx->S3;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    pBVar8 = (BlowfishContext *)str[0];\n    key_00 = (uchar *)str[1];\n    pwVar5 = str;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    keybytes_00 = (short)pwVar5;\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0x1048);\n  if (iVar1 == *(int *)puVar20) {\n    return;\n  }\n  puVar20 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  iVar1 = *(int *)(puVar20 + 0x5acac);\n  pwVar5 = pBVar8->P;\n  pwVar3 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x6e8c);\n  wVar11 = 0x243f6a88;\n  while( true ) {\n    *pwVar5 = wVar11;\n    pwVar5 = pwVar5 + 1;\n    if (pwVar3 == (word32 *)(iVar1 + -0x6e48)) break;\n    wVar11 = *pwVar3;\n    pwVar3 = pwVar3 + 1;\n  }\n  iVar1 = *(int *)(puVar20 + 0x5acac);\n  pwVar6 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x728c);\n  pwVar12 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x7e8c);\n  wVar17 = 0x3a39ce37;\n  wVar16 = 0xe93d5a68;\n  wVar15 = 0x4b7a70e9;\n  wVar11 = 0xd1310ba6;\n  pBVar4 = pBVar8;\n  pwVar3 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x7a8c);\n  pwVar5 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x768c);\n  while( true ) {\n    pBVar4->S0[0] = wVar11;\n    pBVar4->S1[0] = wVar15;\n    pBVar4->S2[0] = wVar16;\n    pBVar4->S3[0] = wVar17;\n    if (pwVar6 == (word32 *)(iVar1 + -0x6e90)) break;\n    wVar17 = *pwVar12;\n    pwVar12 = pwVar12 + 1;\n    wVar15 = *pwVar5;\n    wVar11 = *pwVar6;\n    wVar16 = *pwVar3;\n    pwVar6 = pwVar6 + 1;\n    pBVar4 = (BlowfishContext *)(pBVar4->S0 + 1);\n    pwVar3 = pwVar3 + 1;\n    pwVar5 = pwVar5 + 1;\n  }\n  blowfish_expandkey(pBVar8,key_00,keybytes_00,(uchar *)0x0,0);\n  return;\n}\n\n" (function_definition "void blowfish_expandkey(BlowfishContext *ctx,uchar *key,short keybytes,uchar *salt,short saltbytes)\n\n{\n  int iVar1;\n  int iVar2;\n  word32 *pwVar3;\n  BlowfishContext *pBVar4;\n  word32 *pwVar5;\n  word32 *pwVar6;\n  int iVar7;\n  BlowfishContext *pBVar8;\n  uint uVar9;\n  uchar *key_00;\n  undefined2 in_register_00000018;\n  short keybytes_00;\n  uint uVar10;\n  word32 wVar11;\n  word32 *pwVar12;\n  int iVar13;\n  int iVar14;\n  word32 wVar15;\n  word32 wVar16;\n  word32 wVar17;\n  int iVar18;\n  int iVar19;\n  undefined *puVar20;\n  int iVar21;\n  word32 str [2];\n  uchar dummysalt [1];\n  \n  puVar20 = PTR___stack_chk_guard_000b0c9c;\n  iVar19 = CONCAT22(in_register_00000018,keybytes);\n  iVar1 = *(int *)PTR___stack_chk_guard_000b0c9c;\n  iVar18 = 1;\n  if (salt == (uchar *)0x0) {\n    dummysalt[0] = '\0';\n    salt = dummysalt;\n  }\n  else {\n    iVar18 = (int)saltbytes;\n  }\n  iVar2 = 0;\n  pwVar3 = ctx->P;\n  do {\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    iVar21 = iVar2 % iVar19;\n    iVar7 = iVar2 + 1;\n    iVar14 = iVar2 + 2;\n    iVar13 = iVar2 + 3;\n    iVar2 = iVar2 + 4;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar21] << 0x18 ^ *pwVar3;\n    *pwVar3 = uVar10;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar7 % iVar19] << 0x10 ^ uVar10;\n    *pwVar3 = uVar10;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar14 % iVar19] << 8 ^ uVar10;\n    *pwVar3 = uVar10;\n    *pwVar3 = key[iVar13 % iVar19] ^ uVar10;\n    pwVar3 = pwVar3 + 1;\n  } while (iVar2 != 0x48);\n  iVar19 = 0;\n  str[1] = 0;\n  str[0] = 0;\n  pwVar3 = ctx->P;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0x48);\n  iVar19 = 0x48;\n  pBVar8 = ctx;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    pBVar8->S0[0] = str[0];\n    pBVar8->S0[1] = str[1];\n    pBVar8 = (BlowfishContext *)(pBVar8->S0 + 2);\n  } while (iVar19 != 0x448);\n  iVar19 = 0x448;\n  pwVar3 = ctx->S1;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0x848);\n  iVar19 = 0x848;\n  pwVar3 = ctx->S2;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0xc48);\n  iVar19 = 0xc48;\n  pwVar3 = ctx->S3;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    pBVar8 = (BlowfishContext *)str[0];\n    key_00 = (uchar *)str[1];\n    pwVar5 = str;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    keybytes_00 = (short)pwVar5;\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0x1048);\n  if (iVar1 == *(int *)puVar20) {\n    return;\n  }\n  puVar20 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  iVar1 = *(int *)(puVar20 + 0x5acac);\n  pwVar5 = pBVar8->P;\n  pwVar3 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x6e8c);\n  wVar11 = 0x243f6a88;\n  while( true ) {\n    *pwVar5 = wVar11;\n    pwVar5 = pwVar5 + 1;\n    if (pwVar3 == (word32 *)(iVar1 + -0x6e48)) break;\n    wVar11 = *pwVar3;\n    pwVar3 = pwVar3 + 1;\n  }\n  iVar1 = *(int *)(puVar20 + 0x5acac);\n  pwVar6 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x728c);\n  pwVar12 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x7e8c);\n  wVar17 = 0x3a39ce37;\n  wVar16 = 0xe93d5a68;\n  wVar15 = 0x4b7a70e9;\n  wVar11 = 0xd1310ba6;\n  pBVar4 = pBVar8;\n  pwVar3 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x7a8c);\n  pwVar5 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x768c);\n  while( true ) {\n    pBVar4->S0[0] = wVar11;\n    pBVar4->S1[0] = wVar15;\n    pBVar4->S2[0] = wVar16;\n    pBVar4->S3[0] = wVar17;\n    if (pwVar6 == (word32 *)(iVar1 + -0x6e90)) break;\n    wVar17 = *pwVar12;\n    pwVar12 = pwVar12 + 1;\n    wVar15 = *pwVar5;\n    wVar11 = *pwVar6;\n    wVar16 = *pwVar3;\n    pwVar6 = pwVar6 + 1;\n    pBVar4 = (BlowfishContext *)(pBVar4->S0 + 1);\n    pwVar3 = pwVar3 + 1;\n    pwVar5 = pwVar5 + 1;\n  }\n  blowfish_expandkey(pBVar8,key_00,keybytes_00,(uchar *)0x0,0);\n  return;\n}" primitive_type (function_declarator "blowfish_expandkey(BlowfishContext *ctx,uchar *key,short keybytes,uchar *salt,short saltbytes)" identifier (parameter_list "(BlowfishContext *ctx,uchar *key,short keybytes,uchar *salt,short saltbytes)" ( (parameter_declaration "BlowfishContext *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) , (parameter_declaration "uchar *key" type_identifier (pointer_declarator "*key" * identifier)) , (parameter_declaration "short keybytes" (sized_type_specifier "short" short) identifier) , (parameter_declaration "uchar *salt" type_identifier (pointer_declarator "*salt" * identifier)) , (parameter_declaration "short saltbytes" (sized_type_specifier "short" short) identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  word32 *pwVar3;\n  BlowfishContext *pBVar4;\n  word32 *pwVar5;\n  word32 *pwVar6;\n  int iVar7;\n  BlowfishContext *pBVar8;\n  uint uVar9;\n  uchar *key_00;\n  undefined2 in_register_00000018;\n  short keybytes_00;\n  uint uVar10;\n  word32 wVar11;\n  word32 *pwVar12;\n  int iVar13;\n  int iVar14;\n  word32 wVar15;\n  word32 wVar16;\n  word32 wVar17;\n  int iVar18;\n  int iVar19;\n  undefined *puVar20;\n  int iVar21;\n  word32 str [2];\n  uchar dummysalt [1];\n  \n  puVar20 = PTR___stack_chk_guard_000b0c9c;\n  iVar19 = CONCAT22(in_register_00000018,keybytes);\n  iVar1 = *(int *)PTR___stack_chk_guard_000b0c9c;\n  iVar18 = 1;\n  if (salt == (uchar *)0x0) {\n    dummysalt[0] = '\0';\n    salt = dummysalt;\n  }\n  else {\n    iVar18 = (int)saltbytes;\n  }\n  iVar2 = 0;\n  pwVar3 = ctx->P;\n  do {\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    iVar21 = iVar2 % iVar19;\n    iVar7 = iVar2 + 1;\n    iVar14 = iVar2 + 2;\n    iVar13 = iVar2 + 3;\n    iVar2 = iVar2 + 4;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar21] << 0x18 ^ *pwVar3;\n    *pwVar3 = uVar10;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar7 % iVar19] << 0x10 ^ uVar10;\n    *pwVar3 = uVar10;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar14 % iVar19] << 8 ^ uVar10;\n    *pwVar3 = uVar10;\n    *pwVar3 = key[iVar13 % iVar19] ^ uVar10;\n    pwVar3 = pwVar3 + 1;\n  } while (iVar2 != 0x48);\n  iVar19 = 0;\n  str[1] = 0;\n  str[0] = 0;\n  pwVar3 = ctx->P;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0x48);\n  iVar19 = 0x48;\n  pBVar8 = ctx;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    pBVar8->S0[0] = str[0];\n    pBVar8->S0[1] = str[1];\n    pBVar8 = (BlowfishContext *)(pBVar8->S0 + 2);\n  } while (iVar19 != 0x448);\n  iVar19 = 0x448;\n  pwVar3 = ctx->S1;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0x848);\n  iVar19 = 0x848;\n  pwVar3 = ctx->S2;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0xc48);\n  iVar19 = 0xc48;\n  pwVar3 = ctx->S3;\n  do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    pBVar8 = (BlowfishContext *)str[0];\n    key_00 = (uchar *)str[1];\n    pwVar5 = str;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    keybytes_00 = (short)pwVar5;\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0x1048);\n  if (iVar1 == *(int *)puVar20) {\n    return;\n  }\n  puVar20 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  iVar1 = *(int *)(puVar20 + 0x5acac);\n  pwVar5 = pBVar8->P;\n  pwVar3 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x6e8c);\n  wVar11 = 0x243f6a88;\n  while( true ) {\n    *pwVar5 = wVar11;\n    pwVar5 = pwVar5 + 1;\n    if (pwVar3 == (word32 *)(iVar1 + -0x6e48)) break;\n    wVar11 = *pwVar3;\n    pwVar3 = pwVar3 + 1;\n  }\n  iVar1 = *(int *)(puVar20 + 0x5acac);\n  pwVar6 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x728c);\n  pwVar12 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x7e8c);\n  wVar17 = 0x3a39ce37;\n  wVar16 = 0xe93d5a68;\n  wVar15 = 0x4b7a70e9;\n  wVar11 = 0xd1310ba6;\n  pBVar4 = pBVar8;\n  pwVar3 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x7a8c);\n  pwVar5 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x768c);\n  while( true ) {\n    pBVar4->S0[0] = wVar11;\n    pBVar4->S1[0] = wVar15;\n    pBVar4->S2[0] = wVar16;\n    pBVar4->S3[0] = wVar17;\n    if (pwVar6 == (word32 *)(iVar1 + -0x6e90)) break;\n    wVar17 = *pwVar12;\n    pwVar12 = pwVar12 + 1;\n    wVar15 = *pwVar5;\n    wVar11 = *pwVar6;\n    wVar16 = *pwVar3;\n    pwVar6 = pwVar6 + 1;\n    pBVar4 = (BlowfishContext *)(pBVar4->S0 + 1);\n    pwVar3 = pwVar3 + 1;\n    pwVar5 = pwVar5 + 1;\n  }\n  blowfish_expandkey(pBVar8,key_00,keybytes_00,(uchar *)0x0,0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "word32 *pwVar3;" type_identifier (pointer_declarator "*pwVar3" * identifier) ;) (declaration "BlowfishContext *pBVar4;" type_identifier (pointer_declarator "*pBVar4" * identifier) ;) (declaration "word32 *pwVar5;" type_identifier (pointer_declarator "*pwVar5" * identifier) ;) (declaration "word32 *pwVar6;" type_identifier (pointer_declarator "*pwVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "BlowfishContext *pBVar8;" type_identifier (pointer_declarator "*pBVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uchar *key_00;" type_identifier (pointer_declarator "*key_00" * identifier) ;) (declaration "undefined2 in_register_00000018;" type_identifier identifier ;) (declaration "short keybytes_00;" (sized_type_specifier "short" short) identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "word32 wVar11;" type_identifier identifier ;) (declaration "word32 *pwVar12;" type_identifier (pointer_declarator "*pwVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "word32 wVar15;" type_identifier identifier ;) (declaration "word32 wVar16;" type_identifier identifier ;) (declaration "word32 wVar17;" type_identifier identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "undefined *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "word32 str [2];" type_identifier (array_declarator "str [2]" identifier [ number_literal ]) ;) (declaration "uchar dummysalt [1];" type_identifier (array_declarator "dummysalt [1]" identifier [ number_literal ]) ;) (expression_statement "puVar20 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar20 = PTR___stack_chk_guard_000b0c9c" identifier = identifier) ;) (expression_statement "iVar19 = CONCAT22(in_register_00000018,keybytes);" (assignment_expression "iVar19 = CONCAT22(in_register_00000018,keybytes)" identifier = (call_expression "CONCAT22(in_register_00000018,keybytes)" identifier (argument_list "(in_register_00000018,keybytes)" ( identifier , identifier )))) ;) (expression_statement "iVar1 = *(int *)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "iVar1 = *(int *)PTR___stack_chk_guard_000b0c9c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b0c9c" * (cast_expression "(int *)PTR___stack_chk_guard_000b0c9c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar18 = 1;" (assignment_expression "iVar18 = 1" identifier = number_literal) ;) (if_statement "if (salt == (uchar *)0x0) {\n    dummysalt[0] = '\0';\n    salt = dummysalt;\n  }\n  else {\n    iVar18 = (int)saltbytes;\n  }" if (parenthesized_expression "(salt == (uchar *)0x0)" ( (binary_expression "salt == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    dummysalt[0] = '\0';\n    salt = dummysalt;\n  }" { (expression_statement "dummysalt[0] = '\0';" (assignment_expression "dummysalt[0] = '\0'" (subscript_expression "dummysalt[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "salt = dummysalt;" (assignment_expression "salt = dummysalt" identifier = identifier) ;) }) (else_clause "else {\n    iVar18 = (int)saltbytes;\n  }" else (compound_statement "{\n    iVar18 = (int)saltbytes;\n  }" { (expression_statement "iVar18 = (int)saltbytes;" (assignment_expression "iVar18 = (int)saltbytes" identifier = (cast_expression "(int)saltbytes" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "pwVar3 = ctx->P;" (assignment_expression "pwVar3 = ctx->P" identifier = (field_expression "ctx->P" identifier -> field_identifier)) ;) (do_statement "do {\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    iVar21 = iVar2 % iVar19;\n    iVar7 = iVar2 + 1;\n    iVar14 = iVar2 + 2;\n    iVar13 = iVar2 + 3;\n    iVar2 = iVar2 + 4;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar21] << 0x18 ^ *pwVar3;\n    *pwVar3 = uVar10;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar7 % iVar19] << 0x10 ^ uVar10;\n    *pwVar3 = uVar10;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar14 % iVar19] << 8 ^ uVar10;\n    *pwVar3 = uVar10;\n    *pwVar3 = key[iVar13 % iVar19] ^ uVar10;\n    pwVar3 = pwVar3 + 1;\n  } while (iVar2 != 0x48);" do (compound_statement "{\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    iVar21 = iVar2 % iVar19;\n    iVar7 = iVar2 + 1;\n    iVar14 = iVar2 + 2;\n    iVar13 = iVar2 + 3;\n    iVar2 = iVar2 + 4;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar21] << 0x18 ^ *pwVar3;\n    *pwVar3 = uVar10;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar7 % iVar19] << 0x10 ^ uVar10;\n    *pwVar3 = uVar10;\n    if (iVar19 == 0) {\n      trap(7);\n    }\n    uVar10 = (uint)key[iVar14 % iVar19] << 8 ^ uVar10;\n    *pwVar3 = uVar10;\n    *pwVar3 = key[iVar13 % iVar19] ^ uVar10;\n    pwVar3 = pwVar3 + 1;\n  }" { (if_statement "if (iVar19 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(iVar19 == 0)" ( (binary_expression "iVar19 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "iVar21 = iVar2 % iVar19;" (assignment_expression "iVar21 = iVar2 % iVar19" identifier = (binary_expression "iVar2 % iVar19" identifier % identifier)) ;) (expression_statement "iVar7 = iVar2 + 1;" (assignment_expression "iVar7 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar14 = iVar2 + 2;" (assignment_expression "iVar14 = iVar2 + 2" identifier = (binary_expression "iVar2 + 2" identifier + number_literal)) ;) (expression_statement "iVar13 = iVar2 + 3;" (assignment_expression "iVar13 = iVar2 + 3" identifier = (binary_expression "iVar2 + 3" identifier + number_literal)) ;) (expression_statement "iVar2 = iVar2 + 4;" (assignment_expression "iVar2 = iVar2 + 4" identifier = (binary_expression "iVar2 + 4" identifier + number_literal)) ;) (if_statement "if (iVar19 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(iVar19 == 0)" ( (binary_expression "iVar19 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar10 = (uint)key[iVar21] << 0x18 ^ *pwVar3;" (assignment_expression "uVar10 = (uint)key[iVar21] << 0x18 ^ *pwVar3" identifier = (binary_expression "(uint)key[iVar21] << 0x18 ^ *pwVar3" (binary_expression "(uint)key[iVar21] << 0x18" (cast_expression "(uint)key[iVar21]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "key[iVar21]" identifier [ identifier ])) << number_literal) ^ (pointer_expression "*pwVar3" * identifier))) ;) (expression_statement "*pwVar3 = uVar10;" (assignment_expression "*pwVar3 = uVar10" (pointer_expression "*pwVar3" * identifier) = identifier) ;) (if_statement "if (iVar19 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(iVar19 == 0)" ( (binary_expression "iVar19 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar10 = (uint)key[iVar7 % iVar19] << 0x10 ^ uVar10;" (assignment_expression "uVar10 = (uint)key[iVar7 % iVar19] << 0x10 ^ uVar10" identifier = (binary_expression "(uint)key[iVar7 % iVar19] << 0x10 ^ uVar10" (binary_expression "(uint)key[iVar7 % iVar19] << 0x10" (cast_expression "(uint)key[iVar7 % iVar19]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "key[iVar7 % iVar19]" identifier [ (binary_expression "iVar7 % iVar19" identifier % identifier) ])) << number_literal) ^ identifier)) ;) (expression_statement "*pwVar3 = uVar10;" (assignment_expression "*pwVar3 = uVar10" (pointer_expression "*pwVar3" * identifier) = identifier) ;) (if_statement "if (iVar19 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(iVar19 == 0)" ( (binary_expression "iVar19 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar10 = (uint)key[iVar14 % iVar19] << 8 ^ uVar10;" (assignment_expression "uVar10 = (uint)key[iVar14 % iVar19] << 8 ^ uVar10" identifier = (binary_expression "(uint)key[iVar14 % iVar19] << 8 ^ uVar10" (binary_expression "(uint)key[iVar14 % iVar19] << 8" (cast_expression "(uint)key[iVar14 % iVar19]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "key[iVar14 % iVar19]" identifier [ (binary_expression "iVar14 % iVar19" identifier % identifier) ])) << number_literal) ^ identifier)) ;) (expression_statement "*pwVar3 = uVar10;" (assignment_expression "*pwVar3 = uVar10" (pointer_expression "*pwVar3" * identifier) = identifier) ;) (expression_statement "*pwVar3 = key[iVar13 % iVar19] ^ uVar10;" (assignment_expression "*pwVar3 = key[iVar13 % iVar19] ^ uVar10" (pointer_expression "*pwVar3" * identifier) = (binary_expression "key[iVar13 % iVar19] ^ uVar10" (subscript_expression "key[iVar13 % iVar19]" identifier [ (binary_expression "iVar13 % iVar19" identifier % identifier) ]) ^ identifier)) ;) (expression_statement "pwVar3 = pwVar3 + 1;" (assignment_expression "pwVar3 = pwVar3 + 1" identifier = (binary_expression "pwVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != 0x48)" ( (binary_expression "iVar2 != 0x48" identifier != number_literal) )) ;) (expression_statement "iVar19 = 0;" (assignment_expression "iVar19 = 0" identifier = number_literal) ;) (expression_statement "str[1] = 0;" (assignment_expression "str[1] = 0" (subscript_expression "str[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "str[0] = 0;" (assignment_expression "str[0] = 0" (subscript_expression "str[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pwVar3 = ctx->P;" (assignment_expression "pwVar3 = ctx->P" identifier = (field_expression "ctx->P" identifier -> field_identifier)) ;) (do_statement "do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0x48);" do (compound_statement "{\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "wVar11 = str[0];" (assignment_expression "wVar11 = str[0]" identifier = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (while_statement "while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }" { (expression_statement "iVar7 = iVar19 + uVar10;" (assignment_expression "iVar7 = iVar19 + uVar10" identifier = (binary_expression "iVar19 + uVar10" identifier + identifier)) ;) (expression_statement "uVar9 = ~uVar10;" (assignment_expression "uVar9 = ~uVar10" identifier = (unary_expression "~uVar10" ~ identifier)) ;) (if_statement "if (iVar18 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (expression_statement "str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;" (assignment_expression "str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11" (subscript_expression "str[iVar2]" identifier [ identifier ]) = (binary_expression "(uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11" (binary_expression "(uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3)" (cast_expression "(uint)salt[iVar7 % iVar18]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "salt[iVar7 % iVar18]" identifier [ (binary_expression "iVar7 % iVar18" identifier % identifier) ])) << (parenthesized_expression "((uVar9 & 3) << 3)" ( (binary_expression "(uVar9 & 3) << 3" (parenthesized_expression "(uVar9 & 3)" ( (binary_expression "uVar9 & 3" identifier & number_literal) )) << number_literal) ))) ^ identifier)) ;) (if_statement "if (uVar10 == 8) break;" if (parenthesized_expression "(uVar10 == 8)" ( (binary_expression "uVar10 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = (int)uVar10 >> 2;" (assignment_expression "iVar2 = (int)uVar10 >> 2" identifier = (binary_expression "(int)uVar10 >> 2" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "wVar11 = str[iVar2];" (assignment_expression "wVar11 = str[iVar2]" identifier = (subscript_expression "str[iVar2]" identifier [ identifier ])) ;) })) (expression_statement "blowfish_encrypt(str[0],str[1],str,ctx);" (call_expression "blowfish_encrypt(str[0],str[1],str,ctx)" identifier (argument_list "(str[0],str[1],str,ctx)" ( (subscript_expression "str[0]" identifier [ number_literal ]) , (subscript_expression "str[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "iVar19 = iVar19 + 8;" (assignment_expression "iVar19 = iVar19 + 8" identifier = (binary_expression "iVar19 + 8" identifier + number_literal)) ;) (expression_statement "*pwVar3 = str[0];" (assignment_expression "*pwVar3 = str[0]" (pointer_expression "*pwVar3" * identifier) = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (expression_statement "pwVar3[1] = str[1];" (assignment_expression "pwVar3[1] = str[1]" (subscript_expression "pwVar3[1]" identifier [ number_literal ]) = (subscript_expression "str[1]" identifier [ number_literal ])) ;) (expression_statement "pwVar3 = pwVar3 + 2;" (assignment_expression "pwVar3 = pwVar3 + 2" identifier = (binary_expression "pwVar3 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar19 != 0x48)" ( (binary_expression "iVar19 != 0x48" identifier != number_literal) )) ;) (expression_statement "iVar19 = 0x48;" (assignment_expression "iVar19 = 0x48" identifier = number_literal) ;) (expression_statement "pBVar8 = ctx;" (assignment_expression "pBVar8 = ctx" identifier = identifier) ;) (do_statement "do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    pBVar8->S0[0] = str[0];\n    pBVar8->S0[1] = str[1];\n    pBVar8 = (BlowfishContext *)(pBVar8->S0 + 2);\n  } while (iVar19 != 0x448);" do (compound_statement "{\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    pBVar8->S0[0] = str[0];\n    pBVar8->S0[1] = str[1];\n    pBVar8 = (BlowfishContext *)(pBVar8->S0 + 2);\n  }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "wVar11 = str[0];" (assignment_expression "wVar11 = str[0]" identifier = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (while_statement "while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }" { (expression_statement "iVar7 = iVar19 + uVar10;" (assignment_expression "iVar7 = iVar19 + uVar10" identifier = (binary_expression "iVar19 + uVar10" identifier + identifier)) ;) (expression_statement "uVar9 = ~uVar10;" (assignment_expression "uVar9 = ~uVar10" identifier = (unary_expression "~uVar10" ~ identifier)) ;) (if_statement "if (iVar18 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (expression_statement "str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;" (assignment_expression "str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11" (subscript_expression "str[iVar2]" identifier [ identifier ]) = (binary_expression "(uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11" (binary_expression "(uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3)" (cast_expression "(uint)salt[iVar7 % iVar18]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "salt[iVar7 % iVar18]" identifier [ (binary_expression "iVar7 % iVar18" identifier % identifier) ])) << (parenthesized_expression "((uVar9 & 3) << 3)" ( (binary_expression "(uVar9 & 3) << 3" (parenthesized_expression "(uVar9 & 3)" ( (binary_expression "uVar9 & 3" identifier & number_literal) )) << number_literal) ))) ^ identifier)) ;) (if_statement "if (uVar10 == 8) break;" if (parenthesized_expression "(uVar10 == 8)" ( (binary_expression "uVar10 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = (int)uVar10 >> 2;" (assignment_expression "iVar2 = (int)uVar10 >> 2" identifier = (binary_expression "(int)uVar10 >> 2" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "wVar11 = str[iVar2];" (assignment_expression "wVar11 = str[iVar2]" identifier = (subscript_expression "str[iVar2]" identifier [ identifier ])) ;) })) (expression_statement "blowfish_encrypt(str[0],str[1],str,ctx);" (call_expression "blowfish_encrypt(str[0],str[1],str,ctx)" identifier (argument_list "(str[0],str[1],str,ctx)" ( (subscript_expression "str[0]" identifier [ number_literal ]) , (subscript_expression "str[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "iVar19 = iVar19 + 8;" (assignment_expression "iVar19 = iVar19 + 8" identifier = (binary_expression "iVar19 + 8" identifier + number_literal)) ;) (expression_statement "pBVar8->S0[0] = str[0];" (assignment_expression "pBVar8->S0[0] = str[0]" (subscript_expression "pBVar8->S0[0]" (field_expression "pBVar8->S0" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (expression_statement "pBVar8->S0[1] = str[1];" (assignment_expression "pBVar8->S0[1] = str[1]" (subscript_expression "pBVar8->S0[1]" (field_expression "pBVar8->S0" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "str[1]" identifier [ number_literal ])) ;) (expression_statement "pBVar8 = (BlowfishContext *)(pBVar8->S0 + 2);" (assignment_expression "pBVar8 = (BlowfishContext *)(pBVar8->S0 + 2)" identifier = (cast_expression "(BlowfishContext *)(pBVar8->S0 + 2)" ( (type_descriptor "BlowfishContext *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pBVar8->S0 + 2)" ( (binary_expression "pBVar8->S0 + 2" (field_expression "pBVar8->S0" identifier -> field_identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(iVar19 != 0x448)" ( (binary_expression "iVar19 != 0x448" identifier != number_literal) )) ;) (expression_statement "iVar19 = 0x448;" (assignment_expression "iVar19 = 0x448" identifier = number_literal) ;) (expression_statement "pwVar3 = ctx->S1;" (assignment_expression "pwVar3 = ctx->S1" identifier = (field_expression "ctx->S1" identifier -> field_identifier)) ;) (do_statement "do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0x848);" do (compound_statement "{\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "wVar11 = str[0];" (assignment_expression "wVar11 = str[0]" identifier = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (while_statement "while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }" { (expression_statement "iVar7 = iVar19 + uVar10;" (assignment_expression "iVar7 = iVar19 + uVar10" identifier = (binary_expression "iVar19 + uVar10" identifier + identifier)) ;) (expression_statement "uVar9 = ~uVar10;" (assignment_expression "uVar9 = ~uVar10" identifier = (unary_expression "~uVar10" ~ identifier)) ;) (if_statement "if (iVar18 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (expression_statement "str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;" (assignment_expression "str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11" (subscript_expression "str[iVar2]" identifier [ identifier ]) = (binary_expression "(uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11" (binary_expression "(uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3)" (cast_expression "(uint)salt[iVar7 % iVar18]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "salt[iVar7 % iVar18]" identifier [ (binary_expression "iVar7 % iVar18" identifier % identifier) ])) << (parenthesized_expression "((uVar9 & 3) << 3)" ( (binary_expression "(uVar9 & 3) << 3" (parenthesized_expression "(uVar9 & 3)" ( (binary_expression "uVar9 & 3" identifier & number_literal) )) << number_literal) ))) ^ identifier)) ;) (if_statement "if (uVar10 == 8) break;" if (parenthesized_expression "(uVar10 == 8)" ( (binary_expression "uVar10 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = (int)uVar10 >> 2;" (assignment_expression "iVar2 = (int)uVar10 >> 2" identifier = (binary_expression "(int)uVar10 >> 2" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "wVar11 = str[iVar2];" (assignment_expression "wVar11 = str[iVar2]" identifier = (subscript_expression "str[iVar2]" identifier [ identifier ])) ;) })) (expression_statement "blowfish_encrypt(str[0],str[1],str,ctx);" (call_expression "blowfish_encrypt(str[0],str[1],str,ctx)" identifier (argument_list "(str[0],str[1],str,ctx)" ( (subscript_expression "str[0]" identifier [ number_literal ]) , (subscript_expression "str[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "iVar19 = iVar19 + 8;" (assignment_expression "iVar19 = iVar19 + 8" identifier = (binary_expression "iVar19 + 8" identifier + number_literal)) ;) (expression_statement "*pwVar3 = str[0];" (assignment_expression "*pwVar3 = str[0]" (pointer_expression "*pwVar3" * identifier) = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (expression_statement "pwVar3[1] = str[1];" (assignment_expression "pwVar3[1] = str[1]" (subscript_expression "pwVar3[1]" identifier [ number_literal ]) = (subscript_expression "str[1]" identifier [ number_literal ])) ;) (expression_statement "pwVar3 = pwVar3 + 2;" (assignment_expression "pwVar3 = pwVar3 + 2" identifier = (binary_expression "pwVar3 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar19 != 0x848)" ( (binary_expression "iVar19 != 0x848" identifier != number_literal) )) ;) (expression_statement "iVar19 = 0x848;" (assignment_expression "iVar19 = 0x848" identifier = number_literal) ;) (expression_statement "pwVar3 = ctx->S2;" (assignment_expression "pwVar3 = ctx->S2" identifier = (field_expression "ctx->S2" identifier -> field_identifier)) ;) (do_statement "do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0xc48);" do (compound_statement "{\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "wVar11 = str[0];" (assignment_expression "wVar11 = str[0]" identifier = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (while_statement "while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }" { (expression_statement "iVar7 = iVar19 + uVar10;" (assignment_expression "iVar7 = iVar19 + uVar10" identifier = (binary_expression "iVar19 + uVar10" identifier + identifier)) ;) (expression_statement "uVar9 = ~uVar10;" (assignment_expression "uVar9 = ~uVar10" identifier = (unary_expression "~uVar10" ~ identifier)) ;) (if_statement "if (iVar18 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (expression_statement "str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;" (assignment_expression "str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11" (subscript_expression "str[iVar2]" identifier [ identifier ]) = (binary_expression "(uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11" (binary_expression "(uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3)" (cast_expression "(uint)salt[iVar7 % iVar18]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "salt[iVar7 % iVar18]" identifier [ (binary_expression "iVar7 % iVar18" identifier % identifier) ])) << (parenthesized_expression "((uVar9 & 3) << 3)" ( (binary_expression "(uVar9 & 3) << 3" (parenthesized_expression "(uVar9 & 3)" ( (binary_expression "uVar9 & 3" identifier & number_literal) )) << number_literal) ))) ^ identifier)) ;) (if_statement "if (uVar10 == 8) break;" if (parenthesized_expression "(uVar10 == 8)" ( (binary_expression "uVar10 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = (int)uVar10 >> 2;" (assignment_expression "iVar2 = (int)uVar10 >> 2" identifier = (binary_expression "(int)uVar10 >> 2" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "wVar11 = str[iVar2];" (assignment_expression "wVar11 = str[iVar2]" identifier = (subscript_expression "str[iVar2]" identifier [ identifier ])) ;) })) (expression_statement "blowfish_encrypt(str[0],str[1],str,ctx);" (call_expression "blowfish_encrypt(str[0],str[1],str,ctx)" identifier (argument_list "(str[0],str[1],str,ctx)" ( (subscript_expression "str[0]" identifier [ number_literal ]) , (subscript_expression "str[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "iVar19 = iVar19 + 8;" (assignment_expression "iVar19 = iVar19 + 8" identifier = (binary_expression "iVar19 + 8" identifier + number_literal)) ;) (expression_statement "*pwVar3 = str[0];" (assignment_expression "*pwVar3 = str[0]" (pointer_expression "*pwVar3" * identifier) = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (expression_statement "pwVar3[1] = str[1];" (assignment_expression "pwVar3[1] = str[1]" (subscript_expression "pwVar3[1]" identifier [ number_literal ]) = (subscript_expression "str[1]" identifier [ number_literal ])) ;) (expression_statement "pwVar3 = pwVar3 + 2;" (assignment_expression "pwVar3 = pwVar3 + 2" identifier = (binary_expression "pwVar3 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar19 != 0xc48)" ( (binary_expression "iVar19 != 0xc48" identifier != number_literal) )) ;) (expression_statement "iVar19 = 0xc48;" (assignment_expression "iVar19 = 0xc48" identifier = number_literal) ;) (expression_statement "pwVar3 = ctx->S3;" (assignment_expression "pwVar3 = ctx->S3" identifier = (field_expression "ctx->S3" identifier -> field_identifier)) ;) (do_statement "do {\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    pBVar8 = (BlowfishContext *)str[0];\n    key_00 = (uchar *)str[1];\n    pwVar5 = str;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    keybytes_00 = (short)pwVar5;\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  } while (iVar19 != 0x1048);" do (compound_statement "{\n    uVar10 = 0;\n    iVar2 = 0;\n    wVar11 = str[0];\n    while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }\n    pBVar8 = (BlowfishContext *)str[0];\n    key_00 = (uchar *)str[1];\n    pwVar5 = str;\n    blowfish_encrypt(str[0],str[1],str,ctx);\n    keybytes_00 = (short)pwVar5;\n    iVar19 = iVar19 + 8;\n    *pwVar3 = str[0];\n    pwVar3[1] = str[1];\n    pwVar3 = pwVar3 + 2;\n  }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "wVar11 = str[0];" (assignment_expression "wVar11 = str[0]" identifier = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (while_statement "while( true ) {\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar7 = iVar19 + uVar10;\n      uVar9 = ~uVar10;\n      if (iVar18 == 0) {\n        trap(7);\n      }\n      uVar10 = uVar10 + 1;\n      str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;\n      if (uVar10 == 8) break;\n      iVar2 = (int)uVar10 >> 2;\n      wVar11 = str[iVar2];\n    }" { (expression_statement "iVar7 = iVar19 + uVar10;" (assignment_expression "iVar7 = iVar19 + uVar10" identifier = (binary_expression "iVar19 + uVar10" identifier + identifier)) ;) (expression_statement "uVar9 = ~uVar10;" (assignment_expression "uVar9 = ~uVar10" identifier = (unary_expression "~uVar10" ~ identifier)) ;) (if_statement "if (iVar18 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (expression_statement "str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11;" (assignment_expression "str[iVar2] = (uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11" (subscript_expression "str[iVar2]" identifier [ identifier ]) = (binary_expression "(uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3) ^ wVar11" (binary_expression "(uint)salt[iVar7 % iVar18] << ((uVar9 & 3) << 3)" (cast_expression "(uint)salt[iVar7 % iVar18]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "salt[iVar7 % iVar18]" identifier [ (binary_expression "iVar7 % iVar18" identifier % identifier) ])) << (parenthesized_expression "((uVar9 & 3) << 3)" ( (binary_expression "(uVar9 & 3) << 3" (parenthesized_expression "(uVar9 & 3)" ( (binary_expression "uVar9 & 3" identifier & number_literal) )) << number_literal) ))) ^ identifier)) ;) (if_statement "if (uVar10 == 8) break;" if (parenthesized_expression "(uVar10 == 8)" ( (binary_expression "uVar10 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = (int)uVar10 >> 2;" (assignment_expression "iVar2 = (int)uVar10 >> 2" identifier = (binary_expression "(int)uVar10 >> 2" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "wVar11 = str[iVar2];" (assignment_expression "wVar11 = str[iVar2]" identifier = (subscript_expression "str[iVar2]" identifier [ identifier ])) ;) })) (expression_statement "pBVar8 = (BlowfishContext *)str[0];" (assignment_expression "pBVar8 = (BlowfishContext *)str[0]" identifier = (cast_expression "(BlowfishContext *)str[0]" ( (type_descriptor "BlowfishContext *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "str[0]" identifier [ number_literal ]))) ;) (expression_statement "key_00 = (uchar *)str[1];" (assignment_expression "key_00 = (uchar *)str[1]" identifier = (cast_expression "(uchar *)str[1]" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "str[1]" identifier [ number_literal ]))) ;) (expression_statement "pwVar5 = str;" (assignment_expression "pwVar5 = str" identifier = identifier) ;) (expression_statement "blowfish_encrypt(str[0],str[1],str,ctx);" (call_expression "blowfish_encrypt(str[0],str[1],str,ctx)" identifier (argument_list "(str[0],str[1],str,ctx)" ( (subscript_expression "str[0]" identifier [ number_literal ]) , (subscript_expression "str[1]" identifier [ number_literal ]) , identifier , identifier ))) ;) (expression_statement "keybytes_00 = (short)pwVar5;" (assignment_expression "keybytes_00 = (short)pwVar5" identifier = (cast_expression "(short)pwVar5" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "iVar19 = iVar19 + 8;" (assignment_expression "iVar19 = iVar19 + 8" identifier = (binary_expression "iVar19 + 8" identifier + number_literal)) ;) (expression_statement "*pwVar3 = str[0];" (assignment_expression "*pwVar3 = str[0]" (pointer_expression "*pwVar3" * identifier) = (subscript_expression "str[0]" identifier [ number_literal ])) ;) (expression_statement "pwVar3[1] = str[1];" (assignment_expression "pwVar3[1] = str[1]" (subscript_expression "pwVar3[1]" identifier [ number_literal ]) = (subscript_expression "str[1]" identifier [ number_literal ])) ;) (expression_statement "pwVar3 = pwVar3 + 2;" (assignment_expression "pwVar3 = pwVar3 + 2" identifier = (binary_expression "pwVar3 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar19 != 0x1048)" ( (binary_expression "iVar19 != 0x1048" identifier != number_literal) )) ;) (if_statement "if (iVar1 == *(int *)puVar20) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *(int *)puVar20)" ( (binary_expression "iVar1 == *(int *)puVar20" identifier == (pointer_expression "*(int *)puVar20" * (cast_expression "(int *)puVar20" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar20 = PTR___stack_chk_fail_000b0c70;" (assignment_expression "puVar20 = PTR___stack_chk_fail_000b0c70" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" * (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar1 = *(int *)(puVar20 + 0x5acac);" (assignment_expression "iVar1 = *(int *)(puVar20 + 0x5acac)" identifier = (pointer_expression "*(int *)(puVar20 + 0x5acac)" * (cast_expression "(int *)(puVar20 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x5acac)" ( (binary_expression "puVar20 + 0x5acac" identifier + number_literal) ))))) ;) (expression_statement "pwVar5 = pBVar8->P;" (assignment_expression "pwVar5 = pBVar8->P" identifier = (field_expression "pBVar8->P" identifier -> field_identifier)) ;) (expression_statement "pwVar3 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x6e8c);" (assignment_expression "pwVar3 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x6e8c)" identifier = (cast_expression "(word32 *)(*(int *)(puVar20 + 0x5acac) + -0x6e8c)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar20 + 0x5acac) + -0x6e8c)" ( (binary_expression "*(int *)(puVar20 + 0x5acac) + -0x6e8c" (pointer_expression "*(int *)(puVar20 + 0x5acac)" * (cast_expression "(int *)(puVar20 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x5acac)" ( (binary_expression "puVar20 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "wVar11 = 0x243f6a88;" (assignment_expression "wVar11 = 0x243f6a88" identifier = number_literal) ;) (while_statement "while( true ) {\n    *pwVar5 = wVar11;\n    pwVar5 = pwVar5 + 1;\n    if (pwVar3 == (word32 *)(iVar1 + -0x6e48)) break;\n    wVar11 = *pwVar3;\n    pwVar3 = pwVar3 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    *pwVar5 = wVar11;\n    pwVar5 = pwVar5 + 1;\n    if (pwVar3 == (word32 *)(iVar1 + -0x6e48)) break;\n    wVar11 = *pwVar3;\n    pwVar3 = pwVar3 + 1;\n  }" { (expression_statement "*pwVar5 = wVar11;" (assignment_expression "*pwVar5 = wVar11" (pointer_expression "*pwVar5" * identifier) = identifier) ;) (expression_statement "pwVar5 = pwVar5 + 1;" (assignment_expression "pwVar5 = pwVar5 + 1" identifier = (binary_expression "pwVar5 + 1" identifier + number_literal)) ;) (if_statement "if (pwVar3 == (word32 *)(iVar1 + -0x6e48)) break;" if (parenthesized_expression "(pwVar3 == (word32 *)(iVar1 + -0x6e48))" ( (binary_expression "pwVar3 == (word32 *)(iVar1 + -0x6e48)" identifier == (cast_expression "(word32 *)(iVar1 + -0x6e48)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0x6e48)" ( (binary_expression "iVar1 + -0x6e48" identifier + number_literal) )))) )) (break_statement "break;" break ;)) (expression_statement "wVar11 = *pwVar3;" (assignment_expression "wVar11 = *pwVar3" identifier = (pointer_expression "*pwVar3" * identifier)) ;) (expression_statement "pwVar3 = pwVar3 + 1;" (assignment_expression "pwVar3 = pwVar3 + 1" identifier = (binary_expression "pwVar3 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar1 = *(int *)(puVar20 + 0x5acac);" (assignment_expression "iVar1 = *(int *)(puVar20 + 0x5acac)" identifier = (pointer_expression "*(int *)(puVar20 + 0x5acac)" * (cast_expression "(int *)(puVar20 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x5acac)" ( (binary_expression "puVar20 + 0x5acac" identifier + number_literal) ))))) ;) (expression_statement "pwVar6 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x728c);" (assignment_expression "pwVar6 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x728c)" identifier = (cast_expression "(word32 *)(*(int *)(puVar20 + 0x5acac) + -0x728c)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar20 + 0x5acac) + -0x728c)" ( (binary_expression "*(int *)(puVar20 + 0x5acac) + -0x728c" (pointer_expression "*(int *)(puVar20 + 0x5acac)" * (cast_expression "(int *)(puVar20 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x5acac)" ( (binary_expression "puVar20 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "pwVar12 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x7e8c);" (assignment_expression "pwVar12 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x7e8c)" identifier = (cast_expression "(word32 *)(*(int *)(puVar20 + 0x5acac) + -0x7e8c)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar20 + 0x5acac) + -0x7e8c)" ( (binary_expression "*(int *)(puVar20 + 0x5acac) + -0x7e8c" (pointer_expression "*(int *)(puVar20 + 0x5acac)" * (cast_expression "(int *)(puVar20 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x5acac)" ( (binary_expression "puVar20 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "wVar17 = 0x3a39ce37;" (assignment_expression "wVar17 = 0x3a39ce37" identifier = number_literal) ;) (expression_statement "wVar16 = 0xe93d5a68;" (assignment_expression "wVar16 = 0xe93d5a68" identifier = number_literal) ;) (expression_statement "wVar15 = 0x4b7a70e9;" (assignment_expression "wVar15 = 0x4b7a70e9" identifier = number_literal) ;) (expression_statement "wVar11 = 0xd1310ba6;" (assignment_expression "wVar11 = 0xd1310ba6" identifier = number_literal) ;) (expression_statement "pBVar4 = pBVar8;" (assignment_expression "pBVar4 = pBVar8" identifier = identifier) ;) (expression_statement "pwVar3 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x7a8c);" (assignment_expression "pwVar3 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x7a8c)" identifier = (cast_expression "(word32 *)(*(int *)(puVar20 + 0x5acac) + -0x7a8c)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar20 + 0x5acac) + -0x7a8c)" ( (binary_expression "*(int *)(puVar20 + 0x5acac) + -0x7a8c" (pointer_expression "*(int *)(puVar20 + 0x5acac)" * (cast_expression "(int *)(puVar20 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x5acac)" ( (binary_expression "puVar20 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "pwVar5 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x768c);" (assignment_expression "pwVar5 = (word32 *)(*(int *)(puVar20 + 0x5acac) + -0x768c)" identifier = (cast_expression "(word32 *)(*(int *)(puVar20 + 0x5acac) + -0x768c)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar20 + 0x5acac) + -0x768c)" ( (binary_expression "*(int *)(puVar20 + 0x5acac) + -0x768c" (pointer_expression "*(int *)(puVar20 + 0x5acac)" * (cast_expression "(int *)(puVar20 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + 0x5acac)" ( (binary_expression "puVar20 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (while_statement "while( true ) {\n    pBVar4->S0[0] = wVar11;\n    pBVar4->S1[0] = wVar15;\n    pBVar4->S2[0] = wVar16;\n    pBVar4->S3[0] = wVar17;\n    if (pwVar6 == (word32 *)(iVar1 + -0x6e90)) break;\n    wVar17 = *pwVar12;\n    pwVar12 = pwVar12 + 1;\n    wVar15 = *pwVar5;\n    wVar11 = *pwVar6;\n    wVar16 = *pwVar3;\n    pwVar6 = pwVar6 + 1;\n    pBVar4 = (BlowfishContext *)(pBVar4->S0 + 1);\n    pwVar3 = pwVar3 + 1;\n    pwVar5 = pwVar5 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    pBVar4->S0[0] = wVar11;\n    pBVar4->S1[0] = wVar15;\n    pBVar4->S2[0] = wVar16;\n    pBVar4->S3[0] = wVar17;\n    if (pwVar6 == (word32 *)(iVar1 + -0x6e90)) break;\n    wVar17 = *pwVar12;\n    pwVar12 = pwVar12 + 1;\n    wVar15 = *pwVar5;\n    wVar11 = *pwVar6;\n    wVar16 = *pwVar3;\n    pwVar6 = pwVar6 + 1;\n    pBVar4 = (BlowfishContext *)(pBVar4->S0 + 1);\n    pwVar3 = pwVar3 + 1;\n    pwVar5 = pwVar5 + 1;\n  }" { (expression_statement "pBVar4->S0[0] = wVar11;" (assignment_expression "pBVar4->S0[0] = wVar11" (subscript_expression "pBVar4->S0[0]" (field_expression "pBVar4->S0" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pBVar4->S1[0] = wVar15;" (assignment_expression "pBVar4->S1[0] = wVar15" (subscript_expression "pBVar4->S1[0]" (field_expression "pBVar4->S1" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pBVar4->S2[0] = wVar16;" (assignment_expression "pBVar4->S2[0] = wVar16" (subscript_expression "pBVar4->S2[0]" (field_expression "pBVar4->S2" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pBVar4->S3[0] = wVar17;" (assignment_expression "pBVar4->S3[0] = wVar17" (subscript_expression "pBVar4->S3[0]" (field_expression "pBVar4->S3" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (if_statement "if (pwVar6 == (word32 *)(iVar1 + -0x6e90)) break;" if (parenthesized_expression "(pwVar6 == (word32 *)(iVar1 + -0x6e90))" ( (binary_expression "pwVar6 == (word32 *)(iVar1 + -0x6e90)" identifier == (cast_expression "(word32 *)(iVar1 + -0x6e90)" ( (type_descriptor "word32 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0x6e90)" ( (binary_expression "iVar1 + -0x6e90" identifier + number_literal) )))) )) (break_statement "break;" break ;)) (expression_statement "wVar17 = *pwVar12;" (assignment_expression "wVar17 = *pwVar12" identifier = (pointer_expression "*pwVar12" * identifier)) ;) (expression_statement "pwVar12 = pwVar12 + 1;" (assignment_expression "pwVar12 = pwVar12 + 1" identifier = (binary_expression "pwVar12 + 1" identifier + number_literal)) ;) (expression_statement "wVar15 = *pwVar5;" (assignment_expression "wVar15 = *pwVar5" identifier = (pointer_expression "*pwVar5" * identifier)) ;) (expression_statement "wVar11 = *pwVar6;" (assignment_expression "wVar11 = *pwVar6" identifier = (pointer_expression "*pwVar6" * identifier)) ;) (expression_statement "wVar16 = *pwVar3;" (assignment_expression "wVar16 = *pwVar3" identifier = (pointer_expression "*pwVar3" * identifier)) ;) (expression_statement "pwVar6 = pwVar6 + 1;" (assignment_expression "pwVar6 = pwVar6 + 1" identifier = (binary_expression "pwVar6 + 1" identifier + number_literal)) ;) (expression_statement "pBVar4 = (BlowfishContext *)(pBVar4->S0 + 1);" (assignment_expression "pBVar4 = (BlowfishContext *)(pBVar4->S0 + 1)" identifier = (cast_expression "(BlowfishContext *)(pBVar4->S0 + 1)" ( (type_descriptor "BlowfishContext *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pBVar4->S0 + 1)" ( (binary_expression "pBVar4->S0 + 1" (field_expression "pBVar4->S0" identifier -> field_identifier) + number_literal) )))) ;) (expression_statement "pwVar3 = pwVar3 + 1;" (assignment_expression "pwVar3 = pwVar3 + 1" identifier = (binary_expression "pwVar3 + 1" identifier + number_literal)) ;) (expression_statement "pwVar5 = pwVar5 + 1;" (assignment_expression "pwVar5 = pwVar5 + 1" identifier = (binary_expression "pwVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "blowfish_expandkey(pBVar8,key_00,keybytes_00,(uchar *)0x0,0);" (call_expression "blowfish_expandkey(pBVar8,key_00,keybytes_00,(uchar *)0x0,0)" identifier (argument_list "(pBVar8,key_00,keybytes_00,(uchar *)0x0,0)" ( identifier , identifier , identifier , (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  uint *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  undefined *puVar18;\n  int iVar19;\n  undefined4 *local_38;\n  uint local_34;\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  iVar17 = 1;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    param_4 = local_30;\n  }\n  else {\n    iVar17 = (int)param_5;\n  }\n  iVar1 = 0;\n  puVar4 = param_1 + 0x400;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    iVar19 = iVar1 % param_3;\n    iVar7 = iVar1 + 1;\n    iVar13 = iVar1 + 2;\n    iVar12 = iVar1 + 3;\n    iVar1 = iVar1 + 4;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;\n    *puVar4 = uVar9;\n    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  iVar1 = 0;\n  local_34 = 0;\n  local_38 = (undefined4 *)0x0;\n  puVar4 = param_1 + 0x400;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  iVar1 = 0x448;\n  puVar4 = param_1 + 0x100;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  iVar1 = 0x848;\n  puVar4 = param_1 + 0x200;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  iVar1 = 0xc48;\n  puVar4 = param_1 + 0x300;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    puVar2 = local_38;\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)puVar18) {\n    return;\n  }\n  puVar18 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar5 = puVar2 + 0x400;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c);\n  uVar10 = 0x243f6a88;\n  while( true ) {\n    *puVar5 = uVar10;\n    puVar5 = puVar5 + 1;\n    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;\n    uVar10 = *puVar3;\n    puVar3 = puVar3 + 1;\n  }\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c);\n  puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c);\n  uVar16 = 0x3a39ce37;\n  uVar15 = 0xe93d5a68;\n  uVar14 = 0x4b7a70e9;\n  uVar10 = 0xd1310ba6;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c);\n  puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c);\n  while( true ) {\n    *puVar2 = uVar10;\n    puVar2[0x100] = uVar14;\n    puVar2[0x200] = uVar15;\n    puVar2[0x300] = uVar16;\n    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;\n    uVar16 = *puVar11;\n    puVar11 = puVar11 + 1;\n    uVar14 = *puVar5;\n    uVar10 = *puVar6;\n    uVar15 = *puVar3;\n    puVar6 = puVar6 + 1;\n    puVar2 = puVar2 + 1;\n    puVar3 = puVar3 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}\n\n" (function_definition "void blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  uint *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  undefined *puVar18;\n  int iVar19;\n  undefined4 *local_38;\n  uint local_34;\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  iVar17 = 1;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    param_4 = local_30;\n  }\n  else {\n    iVar17 = (int)param_5;\n  }\n  iVar1 = 0;\n  puVar4 = param_1 + 0x400;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    iVar19 = iVar1 % param_3;\n    iVar7 = iVar1 + 1;\n    iVar13 = iVar1 + 2;\n    iVar12 = iVar1 + 3;\n    iVar1 = iVar1 + 4;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;\n    *puVar4 = uVar9;\n    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  iVar1 = 0;\n  local_34 = 0;\n  local_38 = (undefined4 *)0x0;\n  puVar4 = param_1 + 0x400;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  iVar1 = 0x448;\n  puVar4 = param_1 + 0x100;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  iVar1 = 0x848;\n  puVar4 = param_1 + 0x200;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  iVar1 = 0xc48;\n  puVar4 = param_1 + 0x300;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    puVar2 = local_38;\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)puVar18) {\n    return;\n  }\n  puVar18 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar5 = puVar2 + 0x400;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c);\n  uVar10 = 0x243f6a88;\n  while( true ) {\n    *puVar5 = uVar10;\n    puVar5 = puVar5 + 1;\n    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;\n    uVar10 = *puVar3;\n    puVar3 = puVar3 + 1;\n  }\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c);\n  puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c);\n  uVar16 = 0x3a39ce37;\n  uVar15 = 0xe93d5a68;\n  uVar14 = 0x4b7a70e9;\n  uVar10 = 0xd1310ba6;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c);\n  puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c);\n  while( true ) {\n    *puVar2 = uVar10;\n    puVar2[0x100] = uVar14;\n    puVar2[0x200] = uVar15;\n    puVar2[0x300] = uVar16;\n    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;\n    uVar16 = *puVar11;\n    puVar11 = puVar11 + 1;\n    uVar14 = *puVar5;\n    uVar10 = *puVar6;\n    uVar15 = *puVar3;\n    puVar6 = puVar6 + 1;\n    puVar2 = puVar2 + 1;\n    puVar3 = puVar3 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}" primitive_type (function_declarator "blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)" identifier (parameter_list "(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined1 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "short param_5" (sized_type_specifier "short" short) identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  uint *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  undefined *puVar18;\n  int iVar19;\n  undefined4 *local_38;\n  uint local_34;\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  iVar17 = 1;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    param_4 = local_30;\n  }\n  else {\n    iVar17 = (int)param_5;\n  }\n  iVar1 = 0;\n  puVar4 = param_1 + 0x400;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    iVar19 = iVar1 % param_3;\n    iVar7 = iVar1 + 1;\n    iVar13 = iVar1 + 2;\n    iVar12 = iVar1 + 3;\n    iVar1 = iVar1 + 4;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;\n    *puVar4 = uVar9;\n    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  iVar1 = 0;\n  local_34 = 0;\n  local_38 = (undefined4 *)0x0;\n  puVar4 = param_1 + 0x400;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  iVar1 = 0x448;\n  puVar4 = param_1 + 0x100;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  iVar1 = 0x848;\n  puVar4 = param_1 + 0x200;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  iVar1 = 0xc48;\n  puVar4 = param_1 + 0x300;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    puVar2 = local_38;\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)puVar18) {\n    return;\n  }\n  puVar18 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar5 = puVar2 + 0x400;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c);\n  uVar10 = 0x243f6a88;\n  while( true ) {\n    *puVar5 = uVar10;\n    puVar5 = puVar5 + 1;\n    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;\n    uVar10 = *puVar3;\n    puVar3 = puVar3 + 1;\n  }\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c);\n  puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c);\n  uVar16 = 0x3a39ce37;\n  uVar15 = 0xe93d5a68;\n  uVar14 = 0x4b7a70e9;\n  uVar10 = 0xd1310ba6;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c);\n  puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c);\n  while( true ) {\n    *puVar2 = uVar10;\n    puVar2[0x100] = uVar14;\n    puVar2[0x200] = uVar15;\n    puVar2[0x300] = uVar16;\n    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;\n    uVar16 = *puVar11;\n    puVar11 = puVar11 + 1;\n    uVar14 = *puVar5;\n    uVar10 = *puVar6;\n    uVar15 = *puVar3;\n    puVar6 = puVar6 + 1;\n    puVar2 = puVar2 + 1;\n    puVar3 = puVar3 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "undefined4 uVar15;" type_identifier identifier ;) (declaration "undefined4 uVar16;" type_identifier identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "undefined *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "undefined4 *local_38;" type_identifier (pointer_declarator "*local_38" * identifier) ;) (declaration "uint local_34;" type_identifier identifier ;) (declaration "undefined1 local_30 [4];" type_identifier (array_declarator "local_30 [4]" identifier [ number_literal ]) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar18 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar18 = PTR___stack_chk_guard_000b0c9c" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000b0c9c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b0c9c" * (cast_expression "(int *)PTR___stack_chk_guard_000b0c9c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "iVar17 = 1;" (assignment_expression "iVar17 = 1" identifier = number_literal) ;) (if_statement "if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    param_4 = local_30;\n  }\n  else {\n    iVar17 = (int)param_5;\n  }" if (parenthesized_expression "(param_4 == (undefined1 *)0x0)" ( (binary_expression "param_4 == (undefined1 *)0x0" identifier == (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_30[0] = 0;\n    param_4 = local_30;\n  }" { (expression_statement "local_30[0] = 0;" (assignment_expression "local_30[0] = 0" (subscript_expression "local_30[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_4 = local_30;" (assignment_expression "param_4 = local_30" identifier = identifier) ;) }) (else_clause "else {\n    iVar17 = (int)param_5;\n  }" else (compound_statement "{\n    iVar17 = (int)param_5;\n  }" { (expression_statement "iVar17 = (int)param_5;" (assignment_expression "iVar17 = (int)param_5" identifier = (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "puVar4 = param_1 + 0x400;" (assignment_expression "puVar4 = param_1 + 0x400" identifier = (binary_expression "param_1 + 0x400" identifier + number_literal)) ;) (do_statement "do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    iVar19 = iVar1 % param_3;\n    iVar7 = iVar1 + 1;\n    iVar13 = iVar1 + 2;\n    iVar12 = iVar1 + 3;\n    iVar1 = iVar1 + 4;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;\n    *puVar4 = uVar9;\n    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);" do (compound_statement "{\n    if (param_3 == 0) {\n      trap(7);\n    }\n    iVar19 = iVar1 % param_3;\n    iVar7 = iVar1 + 1;\n    iVar13 = iVar1 + 2;\n    iVar12 = iVar1 + 3;\n    iVar1 = iVar1 + 4;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;\n    *puVar4 = uVar9;\n    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;\n    puVar4 = puVar4 + 1;\n  }" { (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "iVar19 = iVar1 % param_3;" (assignment_expression "iVar19 = iVar1 % param_3" identifier = (binary_expression "iVar1 % param_3" identifier % identifier)) ;) (expression_statement "iVar7 = iVar1 + 1;" (assignment_expression "iVar7 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = iVar1 + 2;" (assignment_expression "iVar13 = iVar1 + 2" identifier = (binary_expression "iVar1 + 2" identifier + number_literal)) ;) (expression_statement "iVar12 = iVar1 + 3;" (assignment_expression "iVar12 = iVar1 + 3" identifier = (binary_expression "iVar1 + 3" identifier + number_literal)) ;) (expression_statement "iVar1 = iVar1 + 4;" (assignment_expression "iVar1 = iVar1 + 4" identifier = (binary_expression "iVar1 + 4" identifier + number_literal)) ;) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;" (assignment_expression "uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4" (binary_expression "(uint)*(byte *)(param_2 + iVar19) << 0x18" (binary_expression "(uint)*(byte *)(param_2 + iVar19)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar19)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar19)" ( (binary_expression "param_2 + iVar19" identifier + identifier) )))) << number_literal) ^ (pointer_expression "*puVar4" * identifier))) ;) (expression_statement "*puVar4 = uVar9;" (assignment_expression "*puVar4 = uVar9" (pointer_expression "*puVar4" * identifier) = identifier) ;) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;" (assignment_expression "uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9" (binary_expression "(uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10" (binary_expression "(uint)*(byte *)(param_2 + iVar7 % param_3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar7 % param_3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar7 % param_3)" ( (binary_expression "param_2 + iVar7 % param_3" identifier + (binary_expression "iVar7 % param_3" identifier % identifier)) )))) << number_literal) ^ identifier)) ;) (expression_statement "*puVar4 = uVar9;" (assignment_expression "*puVar4 = uVar9" (pointer_expression "*puVar4" * identifier) = identifier) ;) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;" (assignment_expression "uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9" identifier = (binary_expression "(uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9" (binary_expression "(uint)*(byte *)(param_2 + iVar13 % param_3) << 8" (binary_expression "(uint)*(byte *)(param_2 + iVar13 % param_3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_2 + iVar13 % param_3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar13 % param_3)" ( (binary_expression "param_2 + iVar13 % param_3" identifier + (binary_expression "iVar13 % param_3" identifier % identifier)) )))) << number_literal) ^ identifier)) ;) (expression_statement "*puVar4 = uVar9;" (assignment_expression "*puVar4 = uVar9" (pointer_expression "*puVar4" * identifier) = identifier) ;) (expression_statement "*puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;" (assignment_expression "*puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9" (pointer_expression "*puVar4" * identifier) = (binary_expression "*(byte *)(param_2 + iVar12 % param_3) ^ uVar9" (pointer_expression "*(byte *)(param_2 + iVar12 % param_3)" * (cast_expression "(byte *)(param_2 + iVar12 % param_3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + iVar12 % param_3)" ( (binary_expression "param_2 + iVar12 % param_3" identifier + (binary_expression "iVar12 % param_3" identifier % identifier)) )))) ^ identifier)) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x48)" ( (binary_expression "iVar1 != 0x48" identifier != number_literal) )) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "local_38 = (undefined4 *)0x0;" (assignment_expression "local_38 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar4 = param_1 + 0x400;" (assignment_expression "puVar4 = param_1 + 0x400" identifier = (binary_expression "param_1 + 0x400" identifier + number_literal)) ;) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x48);" do (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" { (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" identifier = (binary_expression "iVar1 + uVar9" identifier + identifier)) ;) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" identifier = (unary_expression "~uVar9" ~ identifier)) ;) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" identifier = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ]) = (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar12 % iVar17]" identifier [ (binary_expression "iVar12 % iVar17" identifier % identifier) ]))) << (parenthesized_expression "((uVar8 & 3) << 3)" ( (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" ( (binary_expression "uVar8 & 3" identifier & number_literal) )) << number_literal) ))) ^ (cast_expression "(uint)puVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (uVar9 == 8) break;" if (parenthesized_expression "(uVar9 == 8)" ( (binary_expression "uVar9 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" identifier = (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" identifier = (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ])) ;) })) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" identifier (argument_list "(local_38,local_34,&local_38,param_1)" ( identifier , identifier , (pointer_expression "&local_38" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" * identifier) = (cast_expression "(uint)local_38" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x48)" ( (binary_expression "iVar1 != 0x48" identifier != number_literal) )) ;) (expression_statement "iVar1 = 0x48;" (assignment_expression "iVar1 = 0x48" identifier = number_literal) ;) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" identifier = identifier) ;) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);" do (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" { (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" identifier = (binary_expression "iVar1 + uVar9" identifier + identifier)) ;) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" identifier = (unary_expression "~uVar9" ~ identifier)) ;) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" identifier = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ]) = (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar12 % iVar17]" identifier [ (binary_expression "iVar12 % iVar17" identifier % identifier) ]))) << (parenthesized_expression "((uVar8 & 3) << 3)" ( (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" ( (binary_expression "uVar8 & 3" identifier & number_literal) )) << number_literal) ))) ^ (cast_expression "(uint)puVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (uVar9 == 8) break;" if (parenthesized_expression "(uVar9 == 8)" ( (binary_expression "uVar9 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" identifier = (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" identifier = (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ])) ;) })) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" identifier (argument_list "(local_38,local_34,&local_38,param_1)" ( identifier , identifier , (pointer_expression "&local_38" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" * identifier) = (cast_expression "(uint)local_38" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x448)" ( (binary_expression "iVar1 != 0x448" identifier != number_literal) )) ;) (expression_statement "iVar1 = 0x448;" (assignment_expression "iVar1 = 0x448" identifier = number_literal) ;) (expression_statement "puVar4 = param_1 + 0x100;" (assignment_expression "puVar4 = param_1 + 0x100" identifier = (binary_expression "param_1 + 0x100" identifier + number_literal)) ;) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);" do (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" { (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" identifier = (binary_expression "iVar1 + uVar9" identifier + identifier)) ;) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" identifier = (unary_expression "~uVar9" ~ identifier)) ;) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" identifier = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ]) = (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar12 % iVar17]" identifier [ (binary_expression "iVar12 % iVar17" identifier % identifier) ]))) << (parenthesized_expression "((uVar8 & 3) << 3)" ( (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" ( (binary_expression "uVar8 & 3" identifier & number_literal) )) << number_literal) ))) ^ (cast_expression "(uint)puVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (uVar9 == 8) break;" if (parenthesized_expression "(uVar9 == 8)" ( (binary_expression "uVar9 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" identifier = (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" identifier = (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ])) ;) })) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" identifier (argument_list "(local_38,local_34,&local_38,param_1)" ( identifier , identifier , (pointer_expression "&local_38" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" * identifier) = (cast_expression "(uint)local_38" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x848)" ( (binary_expression "iVar1 != 0x848" identifier != number_literal) )) ;) (expression_statement "iVar1 = 0x848;" (assignment_expression "iVar1 = 0x848" identifier = number_literal) ;) (expression_statement "puVar4 = param_1 + 0x200;" (assignment_expression "puVar4 = param_1 + 0x200" identifier = (binary_expression "param_1 + 0x200" identifier + number_literal)) ;) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);" do (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" { (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" identifier = (binary_expression "iVar1 + uVar9" identifier + identifier)) ;) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" identifier = (unary_expression "~uVar9" ~ identifier)) ;) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" identifier = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ]) = (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar12 % iVar17]" identifier [ (binary_expression "iVar12 % iVar17" identifier % identifier) ]))) << (parenthesized_expression "((uVar8 & 3) << 3)" ( (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" ( (binary_expression "uVar8 & 3" identifier & number_literal) )) << number_literal) ))) ^ (cast_expression "(uint)puVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (uVar9 == 8) break;" if (parenthesized_expression "(uVar9 == 8)" ( (binary_expression "uVar9 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" identifier = (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" identifier = (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ])) ;) })) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" identifier (argument_list "(local_38,local_34,&local_38,param_1)" ( identifier , identifier , (pointer_expression "&local_38" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" * identifier) = (cast_expression "(uint)local_38" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0xc48)" ( (binary_expression "iVar1 != 0xc48" identifier != number_literal) )) ;) (expression_statement "iVar1 = 0xc48;" (assignment_expression "iVar1 = 0xc48" identifier = number_literal) ;) (expression_statement "puVar4 = param_1 + 0x300;" (assignment_expression "puVar4 = param_1 + 0x300" identifier = (binary_expression "param_1 + 0x300" identifier + number_literal)) ;) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    puVar2 = local_38;\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);" do (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    puVar2 = local_38;\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" { (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" identifier = identifier) ;) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" { (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" identifier = (binary_expression "iVar1 + uVar9" identifier + identifier)) ;) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" identifier = (unary_expression "~uVar9" ~ identifier)) ;) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" if (parenthesized_expression "(iVar17 == 0)" ( (binary_expression "iVar17 == 0" identifier == number_literal) )) (compound_statement "{\n        trap(7);\n      }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" identifier = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ]) = (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" ( (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)param_4[iVar12 % iVar17]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "param_4[iVar12 % iVar17]" identifier [ (binary_expression "iVar12 % iVar17" identifier % identifier) ]))) << (parenthesized_expression "((uVar8 & 3) << 3)" ( (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" ( (binary_expression "uVar8 & 3" identifier & number_literal) )) << number_literal) ))) ^ (cast_expression "(uint)puVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (if_statement "if (uVar9 == 8) break;" if (parenthesized_expression "(uVar9 == 8)" ( (binary_expression "uVar9 == 8" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" identifier = (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" identifier = (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" ( (pointer_expression "&local_38" & identifier) )) [ identifier ])) ;) })) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" identifier = identifier) ;) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" identifier (argument_list "(local_38,local_34,&local_38,param_1)" ( identifier , identifier , (pointer_expression "&local_38" & identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" identifier = (binary_expression "iVar1 + 8" identifier + number_literal)) ;) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" * identifier) = (cast_expression "(uint)local_38" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 != 0x1048)" ( (binary_expression "iVar1 != 0x1048" identifier != number_literal) )) ;) (if_statement "if (local_2c == *(int *)puVar18) {\n    return;\n  }" if (parenthesized_expression "(local_2c == *(int *)puVar18)" ( (binary_expression "local_2c == *(int *)puVar18" identifier == (pointer_expression "*(int *)puVar18" * (cast_expression "(int *)puVar18" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar18 = PTR___stack_chk_fail_000b0c70;" (assignment_expression "puVar18 = PTR___stack_chk_fail_000b0c70" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" * (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar17 = *(int *)(puVar18 + 0x5acac);" (assignment_expression "iVar17 = *(int *)(puVar18 + 0x5acac)" identifier = (pointer_expression "*(int *)(puVar18 + 0x5acac)" * (cast_expression "(int *)(puVar18 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x5acac)" ( (binary_expression "puVar18 + 0x5acac" identifier + number_literal) ))))) ;) (expression_statement "puVar5 = puVar2 + 0x400;" (assignment_expression "puVar5 = puVar2 + 0x400" identifier = (binary_expression "puVar2 + 0x400" identifier + number_literal)) ;) (expression_statement "puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c);" (assignment_expression "puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c)" identifier = (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x6e8c)" ( (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x6e8c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" * (cast_expression "(int *)(puVar18 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x5acac)" ( (binary_expression "puVar18 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "uVar10 = 0x243f6a88;" (assignment_expression "uVar10 = 0x243f6a88" identifier = number_literal) ;) (while_statement "while( true ) {\n    *puVar5 = uVar10;\n    puVar5 = puVar5 + 1;\n    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;\n    uVar10 = *puVar3;\n    puVar3 = puVar3 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    *puVar5 = uVar10;\n    puVar5 = puVar5 + 1;\n    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;\n    uVar10 = *puVar3;\n    puVar3 = puVar3 + 1;\n  }" { (expression_statement "*puVar5 = uVar10;" (assignment_expression "*puVar5 = uVar10" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (if_statement "if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;" if (parenthesized_expression "(puVar3 == (undefined4 *)(iVar17 + -0x6e48))" ( (binary_expression "puVar3 == (undefined4 *)(iVar17 + -0x6e48)" identifier == (cast_expression "(undefined4 *)(iVar17 + -0x6e48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + -0x6e48)" ( (binary_expression "iVar17 + -0x6e48" identifier + number_literal) )))) )) (break_statement "break;" break ;)) (expression_statement "uVar10 = *puVar3;" (assignment_expression "uVar10 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar17 = *(int *)(puVar18 + 0x5acac);" (assignment_expression "iVar17 = *(int *)(puVar18 + 0x5acac)" identifier = (pointer_expression "*(int *)(puVar18 + 0x5acac)" * (cast_expression "(int *)(puVar18 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x5acac)" ( (binary_expression "puVar18 + 0x5acac" identifier + number_literal) ))))) ;) (expression_statement "puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c);" (assignment_expression "puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c)" identifier = (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x728c)" ( (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x728c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" * (cast_expression "(int *)(puVar18 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x5acac)" ( (binary_expression "puVar18 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c);" (assignment_expression "puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c)" identifier = (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x7e8c)" ( (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x7e8c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" * (cast_expression "(int *)(puVar18 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x5acac)" ( (binary_expression "puVar18 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "uVar16 = 0x3a39ce37;" (assignment_expression "uVar16 = 0x3a39ce37" identifier = number_literal) ;) (expression_statement "uVar15 = 0xe93d5a68;" (assignment_expression "uVar15 = 0xe93d5a68" identifier = number_literal) ;) (expression_statement "uVar14 = 0x4b7a70e9;" (assignment_expression "uVar14 = 0x4b7a70e9" identifier = number_literal) ;) (expression_statement "uVar10 = 0xd1310ba6;" (assignment_expression "uVar10 = 0xd1310ba6" identifier = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c);" (assignment_expression "puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c)" identifier = (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x7a8c)" ( (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x7a8c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" * (cast_expression "(int *)(puVar18 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x5acac)" ( (binary_expression "puVar18 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c);" (assignment_expression "puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c)" identifier = (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x768c)" ( (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x768c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" * (cast_expression "(int *)(puVar18 + 0x5acac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0x5acac)" ( (binary_expression "puVar18 + 0x5acac" identifier + number_literal) )))) + number_literal) )))) ;) (while_statement "while( true ) {\n    *puVar2 = uVar10;\n    puVar2[0x100] = uVar14;\n    puVar2[0x200] = uVar15;\n    puVar2[0x300] = uVar16;\n    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;\n    uVar16 = *puVar11;\n    puVar11 = puVar11 + 1;\n    uVar14 = *puVar5;\n    uVar10 = *puVar6;\n    uVar15 = *puVar3;\n    puVar6 = puVar6 + 1;\n    puVar2 = puVar2 + 1;\n    puVar3 = puVar3 + 1;\n    puVar5 = puVar5 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    *puVar2 = uVar10;\n    puVar2[0x100] = uVar14;\n    puVar2[0x200] = uVar15;\n    puVar2[0x300] = uVar16;\n    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;\n    uVar16 = *puVar11;\n    puVar11 = puVar11 + 1;\n    uVar14 = *puVar5;\n    uVar10 = *puVar6;\n    uVar15 = *puVar3;\n    puVar6 = puVar6 + 1;\n    puVar2 = puVar2 + 1;\n    puVar3 = puVar3 + 1;\n    puVar5 = puVar5 + 1;\n  }" { (expression_statement "*puVar2 = uVar10;" (assignment_expression "*puVar2 = uVar10" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2[0x100] = uVar14;" (assignment_expression "puVar2[0x100] = uVar14" (subscript_expression "puVar2[0x100]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0x200] = uVar15;" (assignment_expression "puVar2[0x200] = uVar15" (subscript_expression "puVar2[0x200]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0x300] = uVar16;" (assignment_expression "puVar2[0x300] = uVar16" (subscript_expression "puVar2[0x300]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;" if (parenthesized_expression "(puVar6 == (undefined4 *)(iVar17 + -0x6e90))" ( (binary_expression "puVar6 == (undefined4 *)(iVar17 + -0x6e90)" identifier == (cast_expression "(undefined4 *)(iVar17 + -0x6e90)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar17 + -0x6e90)" ( (binary_expression "iVar17 + -0x6e90" identifier + number_literal) )))) )) (break_statement "break;" break ;)) (expression_statement "uVar16 = *puVar11;" (assignment_expression "uVar16 = *puVar11" identifier = (pointer_expression "*puVar11" * identifier)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "uVar14 = *puVar5;" (assignment_expression "uVar14 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar10 = *puVar6;" (assignment_expression "uVar10 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "uVar15 = *puVar3;" (assignment_expression "uVar15 = *puVar3" identifier = (pointer_expression "*puVar3" * identifier)) ;) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "blowfish_expandkey();" (call_expression "blowfish_expandkey()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier short) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) << LIT) ^ (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT % IDENT)) )))) << LIT) ^ IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT % IDENT)) )))) << LIT) ^ IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT % IDENT)) )))) ^ IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (unary_expression ~ IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT % IDENT) ]))) << (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) ))) ^ (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ])) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (unary_expression ~ IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT % IDENT) ]))) << (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) ))) ^ (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ])) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (unary_expression ~ IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT % IDENT) ]))) << (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) ))) ^ (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ])) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (unary_expression ~ IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT % IDENT) ]))) << (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) ))) ^ (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ])) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (unary_expression ~ IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression IDENT % IDENT) ]))) << (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) ))) ^ (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ])) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (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) )))) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (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) )))) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (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) )))) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (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) )))) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (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) )))) + LIT) )))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  uint *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  undefined *puVar18;\n  int iVar19;\n  undefined4 *local_38;\n  uint local_34;\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  iVar17 = 1;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    param_4 = local_30;\n  }\n  else {\n    iVar17 = (int)param_5;\n  }\n  iVar1 = 0;\n  puVar4 = param_1 + 0x400;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    iVar19 = iVar1 % param_3;\n    iVar7 = iVar1 + 1;\n    iVar13 = iVar1 + 2;\n    iVar12 = iVar1 + 3;\n    iVar1 = iVar1 + 4;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;\n    *puVar4 = uVar9;\n    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  iVar1 = 0;\n  local_34 = 0;\n  local_38 = (undefined4 *)0x0;\n  puVar4 = param_1 + 0x400;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  iVar1 = 0x448;\n  puVar4 = param_1 + 0x100;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  iVar1 = 0x848;\n  puVar4 = param_1 + 0x200;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  iVar1 = 0xc48;\n  puVar4 = param_1 + 0x300;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    puVar2 = local_38;\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)puVar18) {\n    return;\n  }\n  puVar18 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar5 = puVar2 + 0x400;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c);\n  uVar10 = 0x243f6a88;\n  while( true ) {\n    *puVar5 = uVar10;\n    puVar5 = puVar5 + 1;\n    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;\n    uVar10 = *puVar3;\n    puVar3 = puVar3 + 1;\n  }\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c);\n  puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c);\n  uVar16 = 0x3a39ce37;\n  uVar15 = 0xe93d5a68;\n  uVar14 = 0x4b7a70e9;\n  uVar10 = 0xd1310ba6;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c);\n  puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c);\n  while( true ) {\n    *puVar2 = uVar10;\n    puVar2[0x100] = uVar14;\n    puVar2[0x200] = uVar15;\n    puVar2[0x300] = uVar16;\n    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;\n    uVar16 = *puVar11;\n    puVar11 = puVar11 + 1;\n    uVar14 = *puVar5;\n    uVar10 = *puVar6;\n    uVar15 = *puVar3;\n    puVar6 = puVar6 + 1;\n    puVar2 = puVar2 + 1;\n    puVar3 = puVar3 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}" (primitive_type "void") (function_declarator "blowfish_expandkey(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)" (identifier "blowfish_expandkey") (parameter_list "(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined1 *param_4" (type_identifier "undefined1") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "short param_5" (sized_type_specifier "short" (short "short")) (identifier "param_5")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  uint *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  undefined4 uVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  undefined4 uVar15;\n  undefined4 uVar16;\n  int iVar17;\n  undefined *puVar18;\n  int iVar19;\n  undefined4 *local_38;\n  uint local_34;\n  undefined1 local_30 [4];\n  int local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_000b0c9c;\n  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;\n  iVar17 = 1;\n  if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    param_4 = local_30;\n  }\n  else {\n    iVar17 = (int)param_5;\n  }\n  iVar1 = 0;\n  puVar4 = param_1 + 0x400;\n  do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    iVar19 = iVar1 % param_3;\n    iVar7 = iVar1 + 1;\n    iVar13 = iVar1 + 2;\n    iVar12 = iVar1 + 3;\n    iVar1 = iVar1 + 4;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;\n    *puVar4 = uVar9;\n    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);\n  iVar1 = 0;\n  local_34 = 0;\n  local_38 = (undefined4 *)0x0;\n  puVar4 = param_1 + 0x400;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x48);\n  iVar1 = 0x48;\n  puVar4 = param_1;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);\n  iVar1 = 0x448;\n  puVar4 = param_1 + 0x100;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);\n  iVar1 = 0x848;\n  puVar4 = param_1 + 0x200;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);\n  iVar1 = 0xc48;\n  puVar4 = param_1 + 0x300;\n  do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    puVar2 = local_38;\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);\n  if (local_2c == *(int *)puVar18) {\n    return;\n  }\n  puVar18 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar5 = puVar2 + 0x400;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c);\n  uVar10 = 0x243f6a88;\n  while( true ) {\n    *puVar5 = uVar10;\n    puVar5 = puVar5 + 1;\n    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;\n    uVar10 = *puVar3;\n    puVar3 = puVar3 + 1;\n  }\n  iVar17 = *(int *)(puVar18 + 0x5acac);\n  puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c);\n  puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c);\n  uVar16 = 0x3a39ce37;\n  uVar15 = 0xe93d5a68;\n  uVar14 = 0x4b7a70e9;\n  uVar10 = 0xd1310ba6;\n  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c);\n  puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c);\n  while( true ) {\n    *puVar2 = uVar10;\n    puVar2[0x100] = uVar14;\n    puVar2[0x200] = uVar15;\n    puVar2[0x300] = uVar16;\n    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;\n    uVar16 = *puVar11;\n    puVar11 = puVar11 + 1;\n    uVar14 = *puVar5;\n    uVar10 = *puVar6;\n    uVar15 = *puVar3;\n    puVar6 = puVar6 + 1;\n    puVar2 = puVar2 + 1;\n    puVar3 = puVar3 + 1;\n    puVar5 = puVar5 + 1;\n  }\n  blowfish_expandkey();\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "undefined4 uVar10;" (type_identifier "undefined4") (identifier "uVar10") (; ";")) (declaration "undefined4 *puVar11;" (type_identifier "undefined4") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "undefined4 uVar14;" (type_identifier "undefined4") (identifier "uVar14") (; ";")) (declaration "undefined4 uVar15;" (type_identifier "undefined4") (identifier "uVar15") (; ";")) (declaration "undefined4 uVar16;" (type_identifier "undefined4") (identifier "uVar16") (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "undefined *puVar18;" (type_identifier "undefined") (pointer_declarator "*puVar18" (* "*") (identifier "puVar18")) (; ";")) (declaration "int iVar19;" (primitive_type "int") (identifier "iVar19") (; ";")) (declaration "undefined4 *local_38;" (type_identifier "undefined4") (pointer_declarator "*local_38" (* "*") (identifier "local_38")) (; ";")) (declaration "uint local_34;" (type_identifier "uint") (identifier "local_34") (; ";")) (declaration "undefined1 local_30 [4];" (type_identifier "undefined1") (array_declarator "local_30 [4]" (identifier "local_30") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar18 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar18 = PTR___stack_chk_guard_000b0c9c" (identifier "puVar18") (= "=") (identifier "PTR___stack_chk_guard_000b0c9c")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_000b0c9c" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000b0c9c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000b0c9c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000b0c9c")))) (; ";")) (expression_statement "iVar17 = 1;" (assignment_expression "iVar17 = 1" (identifier "iVar17") (= "=") (number_literal "1")) (; ";")) (if_statement "if (param_4 == (undefined1 *)0x0) {\n    local_30[0] = 0;\n    param_4 = local_30;\n  }\n  else {\n    iVar17 = (int)param_5;\n  }" (if "if") (parenthesized_expression "(param_4 == (undefined1 *)0x0)" (( "(") (binary_expression "param_4 == (undefined1 *)0x0" (identifier "param_4") (== "==") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_30[0] = 0;\n    param_4 = local_30;\n  }" ({ "{") (expression_statement "local_30[0] = 0;" (assignment_expression "local_30[0] = 0" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_4 = local_30;" (assignment_expression "param_4 = local_30" (identifier "param_4") (= "=") (identifier "local_30")) (; ";")) (} "}")) (else_clause "else {\n    iVar17 = (int)param_5;\n  }" (else "else") (compound_statement "{\n    iVar17 = (int)param_5;\n  }" ({ "{") (expression_statement "iVar17 = (int)param_5;" (assignment_expression "iVar17 = (int)param_5" (identifier "iVar17") (= "=") (cast_expression "(int)param_5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_5"))) (; ";")) (} "}")))) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = param_1 + 0x400;" (assignment_expression "puVar4 = param_1 + 0x400" (identifier "puVar4") (= "=") (binary_expression "param_1 + 0x400" (identifier "param_1") (+ "+") (number_literal "0x400"))) (; ";")) (do_statement "do {\n    if (param_3 == 0) {\n      trap(7);\n    }\n    iVar19 = iVar1 % param_3;\n    iVar7 = iVar1 + 1;\n    iVar13 = iVar1 + 2;\n    iVar12 = iVar1 + 3;\n    iVar1 = iVar1 + 4;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;\n    *puVar4 = uVar9;\n    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;\n    puVar4 = puVar4 + 1;\n  } while (iVar1 != 0x48);" (do "do") (compound_statement "{\n    if (param_3 == 0) {\n      trap(7);\n    }\n    iVar19 = iVar1 % param_3;\n    iVar7 = iVar1 + 1;\n    iVar13 = iVar1 + 2;\n    iVar12 = iVar1 + 3;\n    iVar1 = iVar1 + 4;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;\n    *puVar4 = uVar9;\n    if (param_3 == 0) {\n      trap(7);\n    }\n    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;\n    *puVar4 = uVar9;\n    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;\n    puVar4 = puVar4 + 1;\n  }" ({ "{") (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar19 = iVar1 % param_3;" (assignment_expression "iVar19 = iVar1 % param_3" (identifier "iVar19") (= "=") (binary_expression "iVar1 % param_3" (identifier "iVar1") (% "%") (identifier "param_3"))) (; ";")) (expression_statement "iVar7 = iVar1 + 1;" (assignment_expression "iVar7 = iVar1 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar13 = iVar1 + 2;" (assignment_expression "iVar13 = iVar1 + 2" (identifier "iVar13") (= "=") (binary_expression "iVar1 + 2" (identifier "iVar1") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar12 = iVar1 + 3;" (assignment_expression "iVar12 = iVar1 + 3" (identifier "iVar12") (= "=") (binary_expression "iVar1 + 3" (identifier "iVar1") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "iVar1 = iVar1 + 4;" (assignment_expression "iVar1 = iVar1 + 4" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4"))) (; ";")) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;" (assignment_expression "uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4" (identifier "uVar9") (= "=") (binary_expression "(uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4" (binary_expression "(uint)*(byte *)(param_2 + iVar19) << 0x18" (binary_expression "(uint)*(byte *)(param_2 + iVar19)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + iVar19)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar19)" (( "(") (binary_expression "param_2 + iVar19" (identifier "param_2") (+ "+") (identifier "iVar19")) () ")")))) (<< "<<") (number_literal "0x18")) (^ "^") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (expression_statement "*puVar4 = uVar9;" (assignment_expression "*puVar4 = uVar9" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar9")) (; ";")) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;" (assignment_expression "uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9" (identifier "uVar9") (= "=") (binary_expression "(uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9" (binary_expression "(uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10" (binary_expression "(uint)*(byte *)(param_2 + iVar7 % param_3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + iVar7 % param_3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar7 % param_3)" (( "(") (binary_expression "param_2 + iVar7 % param_3" (identifier "param_2") (+ "+") (binary_expression "iVar7 % param_3" (identifier "iVar7") (% "%") (identifier "param_3"))) () ")")))) (<< "<<") (number_literal "0x10")) (^ "^") (identifier "uVar9"))) (; ";")) (expression_statement "*puVar4 = uVar9;" (assignment_expression "*puVar4 = uVar9" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar9")) (; ";")) (if_statement "if (param_3 == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;" (assignment_expression "uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9" (identifier "uVar9") (= "=") (binary_expression "(uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9" (binary_expression "(uint)*(byte *)(param_2 + iVar13 % param_3) << 8" (binary_expression "(uint)*(byte *)(param_2 + iVar13 % param_3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_2 + iVar13 % param_3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar13 % param_3)" (( "(") (binary_expression "param_2 + iVar13 % param_3" (identifier "param_2") (+ "+") (binary_expression "iVar13 % param_3" (identifier "iVar13") (% "%") (identifier "param_3"))) () ")")))) (<< "<<") (number_literal "8")) (^ "^") (identifier "uVar9"))) (; ";")) (expression_statement "*puVar4 = uVar9;" (assignment_expression "*puVar4 = uVar9" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "*puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;" (assignment_expression "*puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (binary_expression "*(byte *)(param_2 + iVar12 % param_3) ^ uVar9" (pointer_expression "*(byte *)(param_2 + iVar12 % param_3)" (* "*") (cast_expression "(byte *)(param_2 + iVar12 % param_3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + iVar12 % param_3)" (( "(") (binary_expression "param_2 + iVar12 % param_3" (identifier "param_2") (+ "+") (binary_expression "iVar12 % param_3" (identifier "iVar12") (% "%") (identifier "param_3"))) () ")")))) (^ "^") (identifier "uVar9"))) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0x48)" (( "(") (binary_expression "iVar1 != 0x48" (identifier "iVar1") (!= "!=") (number_literal "0x48")) () ")")) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_38 = (undefined4 *)0x0;" (assignment_expression "local_38 = (undefined4 *)0x0" (identifier "local_38") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar4 = param_1 + 0x400;" (assignment_expression "puVar4 = param_1 + 0x400" (identifier "puVar4") (= "=") (binary_expression "param_1 + 0x400" (identifier "param_1") (+ "+") (number_literal "0x400"))) (; ";")) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x48);" (do "do") (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" ({ "{") (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" (identifier "puVar2") (= "=") (identifier "local_38")) (; ";")) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" ({ "{") (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" (identifier "iVar12") (= "=") (binary_expression "iVar1 + uVar9" (identifier "iVar1") (+ "+") (identifier "uVar9"))) (; ";")) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" (identifier "uVar8") (= "=") (unary_expression "~uVar9" (~ "~") (identifier "uVar9"))) (; ";")) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(iVar17 == 0)" (( "(") (binary_expression "iVar17 == 0" (identifier "iVar17") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" (identifier "uVar9") (= "=") (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")) ([ "[") (identifier "iVar7") (] "]")) (= "=") (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (( "(") (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)param_4[iVar12 % iVar17]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "param_4[iVar12 % iVar17]" (identifier "param_4") ([ "[") (binary_expression "iVar12 % iVar17" (identifier "iVar12") (% "%") (identifier "iVar17")) (] "]")))) (<< "<<") (parenthesized_expression "((uVar8 & 3) << 3)" (( "(") (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" (( "(") (binary_expression "uVar8 & 3" (identifier "uVar8") (& "&") (number_literal "3")) () ")")) (<< "<<") (number_literal "3")) () ")"))) (^ "^") (cast_expression "(uint)puVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar2"))) () ")")))) (; ";")) (if_statement "if (uVar9 == 8) break;" (if "if") (parenthesized_expression "(uVar9 == 8)" (( "(") (binary_expression "uVar9 == 8" (identifier "uVar9") (== "==") (number_literal "8")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" (identifier "iVar7") (= "=") (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (>> ">>") (number_literal "2"))) (; ";")) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" (identifier "puVar2") (= "=") (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")) ([ "[") (identifier "iVar7") (] "]"))) (; ";")) (} "}"))) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" (identifier "FUN_00053b20") (argument_list "(local_38,local_34,&local_38,param_1)" (( "(") (identifier "local_38") (, ",") (identifier "local_34") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (cast_expression "(uint)local_38" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_38"))) (; ";")) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_34")) (; ";")) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0x48)" (( "(") (binary_expression "iVar1 != 0x48" (identifier "iVar1") (!= "!=") (number_literal "0x48")) () ")")) (; ";")) (expression_statement "iVar1 = 0x48;" (assignment_expression "iVar1 = 0x48" (identifier "iVar1") (= "=") (number_literal "0x48")) (; ";")) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" (identifier "puVar4") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x448);" (do "do") (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" ({ "{") (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" (identifier "puVar2") (= "=") (identifier "local_38")) (; ";")) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" ({ "{") (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" (identifier "iVar12") (= "=") (binary_expression "iVar1 + uVar9" (identifier "iVar1") (+ "+") (identifier "uVar9"))) (; ";")) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" (identifier "uVar8") (= "=") (unary_expression "~uVar9" (~ "~") (identifier "uVar9"))) (; ";")) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(iVar17 == 0)" (( "(") (binary_expression "iVar17 == 0" (identifier "iVar17") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" (identifier "uVar9") (= "=") (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")) ([ "[") (identifier "iVar7") (] "]")) (= "=") (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (( "(") (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)param_4[iVar12 % iVar17]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "param_4[iVar12 % iVar17]" (identifier "param_4") ([ "[") (binary_expression "iVar12 % iVar17" (identifier "iVar12") (% "%") (identifier "iVar17")) (] "]")))) (<< "<<") (parenthesized_expression "((uVar8 & 3) << 3)" (( "(") (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" (( "(") (binary_expression "uVar8 & 3" (identifier "uVar8") (& "&") (number_literal "3")) () ")")) (<< "<<") (number_literal "3")) () ")"))) (^ "^") (cast_expression "(uint)puVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar2"))) () ")")))) (; ";")) (if_statement "if (uVar9 == 8) break;" (if "if") (parenthesized_expression "(uVar9 == 8)" (( "(") (binary_expression "uVar9 == 8" (identifier "uVar9") (== "==") (number_literal "8")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" (identifier "iVar7") (= "=") (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (>> ">>") (number_literal "2"))) (; ";")) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" (identifier "puVar2") (= "=") (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")) ([ "[") (identifier "iVar7") (] "]"))) (; ";")) (} "}"))) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" (identifier "FUN_00053b20") (argument_list "(local_38,local_34,&local_38,param_1)" (( "(") (identifier "local_38") (, ",") (identifier "local_34") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (cast_expression "(uint)local_38" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_38"))) (; ";")) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_34")) (; ";")) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0x448)" (( "(") (binary_expression "iVar1 != 0x448" (identifier "iVar1") (!= "!=") (number_literal "0x448")) () ")")) (; ";")) (expression_statement "iVar1 = 0x448;" (assignment_expression "iVar1 = 0x448" (identifier "iVar1") (= "=") (number_literal "0x448")) (; ";")) (expression_statement "puVar4 = param_1 + 0x100;" (assignment_expression "puVar4 = param_1 + 0x100" (identifier "puVar4") (= "=") (binary_expression "param_1 + 0x100" (identifier "param_1") (+ "+") (number_literal "0x100"))) (; ";")) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x848);" (do "do") (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" ({ "{") (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" (identifier "puVar2") (= "=") (identifier "local_38")) (; ";")) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" ({ "{") (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" (identifier "iVar12") (= "=") (binary_expression "iVar1 + uVar9" (identifier "iVar1") (+ "+") (identifier "uVar9"))) (; ";")) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" (identifier "uVar8") (= "=") (unary_expression "~uVar9" (~ "~") (identifier "uVar9"))) (; ";")) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(iVar17 == 0)" (( "(") (binary_expression "iVar17 == 0" (identifier "iVar17") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" (identifier "uVar9") (= "=") (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")) ([ "[") (identifier "iVar7") (] "]")) (= "=") (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (( "(") (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)param_4[iVar12 % iVar17]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "param_4[iVar12 % iVar17]" (identifier "param_4") ([ "[") (binary_expression "iVar12 % iVar17" (identifier "iVar12") (% "%") (identifier "iVar17")) (] "]")))) (<< "<<") (parenthesized_expression "((uVar8 & 3) << 3)" (( "(") (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" (( "(") (binary_expression "uVar8 & 3" (identifier "uVar8") (& "&") (number_literal "3")) () ")")) (<< "<<") (number_literal "3")) () ")"))) (^ "^") (cast_expression "(uint)puVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar2"))) () ")")))) (; ";")) (if_statement "if (uVar9 == 8) break;" (if "if") (parenthesized_expression "(uVar9 == 8)" (( "(") (binary_expression "uVar9 == 8" (identifier "uVar9") (== "==") (number_literal "8")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" (identifier "iVar7") (= "=") (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (>> ">>") (number_literal "2"))) (; ";")) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" (identifier "puVar2") (= "=") (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")) ([ "[") (identifier "iVar7") (] "]"))) (; ";")) (} "}"))) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" (identifier "FUN_00053b20") (argument_list "(local_38,local_34,&local_38,param_1)" (( "(") (identifier "local_38") (, ",") (identifier "local_34") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (cast_expression "(uint)local_38" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_38"))) (; ";")) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_34")) (; ";")) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0x848)" (( "(") (binary_expression "iVar1 != 0x848" (identifier "iVar1") (!= "!=") (number_literal "0x848")) () ")")) (; ";")) (expression_statement "iVar1 = 0x848;" (assignment_expression "iVar1 = 0x848" (identifier "iVar1") (= "=") (number_literal "0x848")) (; ";")) (expression_statement "puVar4 = param_1 + 0x200;" (assignment_expression "puVar4 = param_1 + 0x200" (identifier "puVar4") (= "=") (binary_expression "param_1 + 0x200" (identifier "param_1") (+ "+") (number_literal "0x200"))) (; ";")) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0xc48);" (do "do") (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" ({ "{") (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" (identifier "puVar2") (= "=") (identifier "local_38")) (; ";")) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" ({ "{") (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" (identifier "iVar12") (= "=") (binary_expression "iVar1 + uVar9" (identifier "iVar1") (+ "+") (identifier "uVar9"))) (; ";")) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" (identifier "uVar8") (= "=") (unary_expression "~uVar9" (~ "~") (identifier "uVar9"))) (; ";")) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(iVar17 == 0)" (( "(") (binary_expression "iVar17 == 0" (identifier "iVar17") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" (identifier "uVar9") (= "=") (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")) ([ "[") (identifier "iVar7") (] "]")) (= "=") (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (( "(") (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)param_4[iVar12 % iVar17]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "param_4[iVar12 % iVar17]" (identifier "param_4") ([ "[") (binary_expression "iVar12 % iVar17" (identifier "iVar12") (% "%") (identifier "iVar17")) (] "]")))) (<< "<<") (parenthesized_expression "((uVar8 & 3) << 3)" (( "(") (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" (( "(") (binary_expression "uVar8 & 3" (identifier "uVar8") (& "&") (number_literal "3")) () ")")) (<< "<<") (number_literal "3")) () ")"))) (^ "^") (cast_expression "(uint)puVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar2"))) () ")")))) (; ";")) (if_statement "if (uVar9 == 8) break;" (if "if") (parenthesized_expression "(uVar9 == 8)" (( "(") (binary_expression "uVar9 == 8" (identifier "uVar9") (== "==") (number_literal "8")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" (identifier "iVar7") (= "=") (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (>> ">>") (number_literal "2"))) (; ";")) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" (identifier "puVar2") (= "=") (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")) ([ "[") (identifier "iVar7") (] "]"))) (; ";")) (} "}"))) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" (identifier "FUN_00053b20") (argument_list "(local_38,local_34,&local_38,param_1)" (( "(") (identifier "local_38") (, ",") (identifier "local_34") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (cast_expression "(uint)local_38" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_38"))) (; ";")) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_34")) (; ";")) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0xc48)" (( "(") (binary_expression "iVar1 != 0xc48" (identifier "iVar1") (!= "!=") (number_literal "0xc48")) () ")")) (; ";")) (expression_statement "iVar1 = 0xc48;" (assignment_expression "iVar1 = 0xc48" (identifier "iVar1") (= "=") (number_literal "0xc48")) (; ";")) (expression_statement "puVar4 = param_1 + 0x300;" (assignment_expression "puVar4 = param_1 + 0x300" (identifier "puVar4") (= "=") (binary_expression "param_1 + 0x300" (identifier "param_1") (+ "+") (number_literal "0x300"))) (; ";")) (do_statement "do {\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    puVar2 = local_38;\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  } while (iVar1 != 0x1048);" (do "do") (compound_statement "{\n    uVar9 = 0;\n    iVar7 = 0;\n    puVar2 = local_38;\n    while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }\n    puVar2 = local_38;\n    FUN_00053b20(local_38,local_34,&local_38,param_1);\n    iVar1 = iVar1 + 8;\n    *puVar4 = (uint)local_38;\n    puVar4[1] = local_34;\n    puVar4 = puVar4 + 2;\n  }" ({ "{") (expression_statement "uVar9 = 0;" (assignment_expression "uVar9 = 0" (identifier "uVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" (identifier "puVar2") (= "=") (identifier "local_38")) (; ";")) (while_statement "while( true ) {\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar12 = iVar1 + uVar9;\n      uVar8 = ~uVar9;\n      if (iVar17 == 0) {\n        trap(7);\n      }\n      uVar9 = uVar9 + 1;\n      (&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;\n      if (uVar9 == 8) break;\n      iVar7 = (int)uVar9 >> 2;\n      puVar2 = (&local_38)[iVar7];\n    }" ({ "{") (expression_statement "iVar12 = iVar1 + uVar9;" (assignment_expression "iVar12 = iVar1 + uVar9" (identifier "iVar12") (= "=") (binary_expression "iVar1 + uVar9" (identifier "iVar1") (+ "+") (identifier "uVar9"))) (; ";")) (expression_statement "uVar8 = ~uVar9;" (assignment_expression "uVar8 = ~uVar9" (identifier "uVar8") (= "=") (unary_expression "~uVar9" (~ "~") (identifier "uVar9"))) (; ";")) (if_statement "if (iVar17 == 0) {\n        trap(7);\n      }" (if "if") (parenthesized_expression "(iVar17 == 0)" (( "(") (binary_expression "iVar17 == 0" (identifier "iVar17") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        trap(7);\n      }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar9 = uVar9 + 1;" (assignment_expression "uVar9 = uVar9 + 1" (identifier "uVar9") (= "=") (binary_expression "uVar9 + 1" (identifier "uVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)\n      ;" (assignment_expression "(&local_38)[iVar7] =\n           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")) ([ "[") (identifier "iVar7") (] "]")) (= "=") (cast_expression "(undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)" (( "(") (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2" (binary_expression "(uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3)" (cast_expression "(uint)(byte)param_4[iVar12 % iVar17]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)param_4[iVar12 % iVar17]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "param_4[iVar12 % iVar17]" (identifier "param_4") ([ "[") (binary_expression "iVar12 % iVar17" (identifier "iVar12") (% "%") (identifier "iVar17")) (] "]")))) (<< "<<") (parenthesized_expression "((uVar8 & 3) << 3)" (( "(") (binary_expression "(uVar8 & 3) << 3" (parenthesized_expression "(uVar8 & 3)" (( "(") (binary_expression "uVar8 & 3" (identifier "uVar8") (& "&") (number_literal "3")) () ")")) (<< "<<") (number_literal "3")) () ")"))) (^ "^") (cast_expression "(uint)puVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "puVar2"))) () ")")))) (; ";")) (if_statement "if (uVar9 == 8) break;" (if "if") (parenthesized_expression "(uVar9 == 8)" (( "(") (binary_expression "uVar9 == 8" (identifier "uVar9") (== "==") (number_literal "8")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar7 = (int)uVar9 >> 2;" (assignment_expression "iVar7 = (int)uVar9 >> 2" (identifier "iVar7") (= "=") (binary_expression "(int)uVar9 >> 2" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (>> ">>") (number_literal "2"))) (; ";")) (expression_statement "puVar2 = (&local_38)[iVar7];" (assignment_expression "puVar2 = (&local_38)[iVar7]" (identifier "puVar2") (= "=") (subscript_expression "(&local_38)[iVar7]" (parenthesized_expression "(&local_38)" (( "(") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")) ([ "[") (identifier "iVar7") (] "]"))) (; ";")) (} "}"))) (expression_statement "puVar2 = local_38;" (assignment_expression "puVar2 = local_38" (identifier "puVar2") (= "=") (identifier "local_38")) (; ";")) (expression_statement "FUN_00053b20(local_38,local_34,&local_38,param_1);" (call_expression "FUN_00053b20(local_38,local_34,&local_38,param_1)" (identifier "FUN_00053b20") (argument_list "(local_38,local_34,&local_38,param_1)" (( "(") (identifier "local_38") (, ",") (identifier "local_34") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "iVar1 = iVar1 + 8;" (assignment_expression "iVar1 = iVar1 + 8" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "*puVar4 = (uint)local_38;" (assignment_expression "*puVar4 = (uint)local_38" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (cast_expression "(uint)local_38" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "local_38"))) (; ";")) (expression_statement "puVar4[1] = local_34;" (assignment_expression "puVar4[1] = local_34" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_34")) (; ";")) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 != 0x1048)" (( "(") (binary_expression "iVar1 != 0x1048" (identifier "iVar1") (!= "!=") (number_literal "0x1048")) () ")")) (; ";")) (if_statement "if (local_2c == *(int *)puVar18) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int *)puVar18)" (( "(") (binary_expression "local_2c == *(int *)puVar18" (identifier "local_2c") (== "==") (pointer_expression "*(int *)puVar18" (* "*") (cast_expression "(int *)puVar18" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar18")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar18 = PTR___stack_chk_fail_000b0c70;" (assignment_expression "puVar18 = PTR___stack_chk_fail_000b0c70" (identifier "puVar18") (= "=") (identifier "PTR___stack_chk_fail_000b0c70")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000b0c70"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar17 = *(int *)(puVar18 + 0x5acac);" (assignment_expression "iVar17 = *(int *)(puVar18 + 0x5acac)" (identifier "iVar17") (= "=") (pointer_expression "*(int *)(puVar18 + 0x5acac)" (* "*") (cast_expression "(int *)(puVar18 + 0x5acac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0x5acac)" (( "(") (binary_expression "puVar18 + 0x5acac" (identifier "puVar18") (+ "+") (number_literal "0x5acac")) () ")"))))) (; ";")) (expression_statement "puVar5 = puVar2 + 0x400;" (assignment_expression "puVar5 = puVar2 + 0x400" (identifier "puVar5") (= "=") (binary_expression "puVar2 + 0x400" (identifier "puVar2") (+ "+") (number_literal "0x400"))) (; ";")) (expression_statement "puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c);" (assignment_expression "puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x6e8c)" (( "(") (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x6e8c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" (* "*") (cast_expression "(int *)(puVar18 + 0x5acac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0x5acac)" (( "(") (binary_expression "puVar18 + 0x5acac" (identifier "puVar18") (+ "+") (number_literal "0x5acac")) () ")")))) (+ "+") (number_literal "-0x6e8c")) () ")")))) (; ";")) (expression_statement "uVar10 = 0x243f6a88;" (assignment_expression "uVar10 = 0x243f6a88" (identifier "uVar10") (= "=") (number_literal "0x243f6a88")) (; ";")) (while_statement "while( true ) {\n    *puVar5 = uVar10;\n    puVar5 = puVar5 + 1;\n    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;\n    uVar10 = *puVar3;\n    puVar3 = puVar3 + 1;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    *puVar5 = uVar10;\n    puVar5 = puVar5 + 1;\n    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;\n    uVar10 = *puVar3;\n    puVar3 = puVar3 + 1;\n  }" ({ "{") (expression_statement "*puVar5 = uVar10;" (assignment_expression "*puVar5 = uVar10" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;" (if "if") (parenthesized_expression "(puVar3 == (undefined4 *)(iVar17 + -0x6e48))" (( "(") (binary_expression "puVar3 == (undefined4 *)(iVar17 + -0x6e48)" (identifier "puVar3") (== "==") (cast_expression "(undefined4 *)(iVar17 + -0x6e48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar17 + -0x6e48)" (( "(") (binary_expression "iVar17 + -0x6e48" (identifier "iVar17") (+ "+") (number_literal "-0x6e48")) () ")")))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar10 = *puVar3;" (assignment_expression "uVar10 = *puVar3" (identifier "uVar10") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar17 = *(int *)(puVar18 + 0x5acac);" (assignment_expression "iVar17 = *(int *)(puVar18 + 0x5acac)" (identifier "iVar17") (= "=") (pointer_expression "*(int *)(puVar18 + 0x5acac)" (* "*") (cast_expression "(int *)(puVar18 + 0x5acac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0x5acac)" (( "(") (binary_expression "puVar18 + 0x5acac" (identifier "puVar18") (+ "+") (number_literal "0x5acac")) () ")"))))) (; ";")) (expression_statement "puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c);" (assignment_expression "puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x728c)" (( "(") (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x728c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" (* "*") (cast_expression "(int *)(puVar18 + 0x5acac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0x5acac)" (( "(") (binary_expression "puVar18 + 0x5acac" (identifier "puVar18") (+ "+") (number_literal "0x5acac")) () ")")))) (+ "+") (number_literal "-0x728c")) () ")")))) (; ";")) (expression_statement "puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c);" (assignment_expression "puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c)" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x7e8c)" (( "(") (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x7e8c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" (* "*") (cast_expression "(int *)(puVar18 + 0x5acac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0x5acac)" (( "(") (binary_expression "puVar18 + 0x5acac" (identifier "puVar18") (+ "+") (number_literal "0x5acac")) () ")")))) (+ "+") (number_literal "-0x7e8c")) () ")")))) (; ";")) (expression_statement "uVar16 = 0x3a39ce37;" (assignment_expression "uVar16 = 0x3a39ce37" (identifier "uVar16") (= "=") (number_literal "0x3a39ce37")) (; ";")) (expression_statement "uVar15 = 0xe93d5a68;" (assignment_expression "uVar15 = 0xe93d5a68" (identifier "uVar15") (= "=") (number_literal "0xe93d5a68")) (; ";")) (expression_statement "uVar14 = 0x4b7a70e9;" (assignment_expression "uVar14 = 0x4b7a70e9" (identifier "uVar14") (= "=") (number_literal "0x4b7a70e9")) (; ";")) (expression_statement "uVar10 = 0xd1310ba6;" (assignment_expression "uVar10 = 0xd1310ba6" (identifier "uVar10") (= "=") (number_literal "0xd1310ba6")) (; ";")) (expression_statement "puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c);" (assignment_expression "puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x7a8c)" (( "(") (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x7a8c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" (* "*") (cast_expression "(int *)(puVar18 + 0x5acac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0x5acac)" (( "(") (binary_expression "puVar18 + 0x5acac" (identifier "puVar18") (+ "+") (number_literal "0x5acac")) () ")")))) (+ "+") (number_literal "-0x7a8c")) () ")")))) (; ";")) (expression_statement "puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c);" (assignment_expression "puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c)" (identifier "puVar5") (= "=") (cast_expression "(undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar18 + 0x5acac) + -0x768c)" (( "(") (binary_expression "*(int *)(puVar18 + 0x5acac) + -0x768c" (pointer_expression "*(int *)(puVar18 + 0x5acac)" (* "*") (cast_expression "(int *)(puVar18 + 0x5acac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0x5acac)" (( "(") (binary_expression "puVar18 + 0x5acac" (identifier "puVar18") (+ "+") (number_literal "0x5acac")) () ")")))) (+ "+") (number_literal "-0x768c")) () ")")))) (; ";")) (while_statement "while( true ) {\n    *puVar2 = uVar10;\n    puVar2[0x100] = uVar14;\n    puVar2[0x200] = uVar15;\n    puVar2[0x300] = uVar16;\n    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;\n    uVar16 = *puVar11;\n    puVar11 = puVar11 + 1;\n    uVar14 = *puVar5;\n    uVar10 = *puVar6;\n    uVar15 = *puVar3;\n    puVar6 = puVar6 + 1;\n    puVar2 = puVar2 + 1;\n    puVar3 = puVar3 + 1;\n    puVar5 = puVar5 + 1;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    *puVar2 = uVar10;\n    puVar2[0x100] = uVar14;\n    puVar2[0x200] = uVar15;\n    puVar2[0x300] = uVar16;\n    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;\n    uVar16 = *puVar11;\n    puVar11 = puVar11 + 1;\n    uVar14 = *puVar5;\n    uVar10 = *puVar6;\n    uVar15 = *puVar3;\n    puVar6 = puVar6 + 1;\n    puVar2 = puVar2 + 1;\n    puVar3 = puVar3 + 1;\n    puVar5 = puVar5 + 1;\n  }" ({ "{") (expression_statement "*puVar2 = uVar10;" (assignment_expression "*puVar2 = uVar10" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "puVar2[0x100] = uVar14;" (assignment_expression "puVar2[0x100] = uVar14" (subscript_expression "puVar2[0x100]" (identifier "puVar2") ([ "[") (number_literal "0x100") (] "]")) (= "=") (identifier "uVar14")) (; ";")) (expression_statement "puVar2[0x200] = uVar15;" (assignment_expression "puVar2[0x200] = uVar15" (subscript_expression "puVar2[0x200]" (identifier "puVar2") ([ "[") (number_literal "0x200") (] "]")) (= "=") (identifier "uVar15")) (; ";")) (expression_statement "puVar2[0x300] = uVar16;" (assignment_expression "puVar2[0x300] = uVar16" (subscript_expression "puVar2[0x300]" (identifier "puVar2") ([ "[") (number_literal "0x300") (] "]")) (= "=") (identifier "uVar16")) (; ";")) (if_statement "if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;" (if "if") (parenthesized_expression "(puVar6 == (undefined4 *)(iVar17 + -0x6e90))" (( "(") (binary_expression "puVar6 == (undefined4 *)(iVar17 + -0x6e90)" (identifier "puVar6") (== "==") (cast_expression "(undefined4 *)(iVar17 + -0x6e90)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar17 + -0x6e90)" (( "(") (binary_expression "iVar17 + -0x6e90" (identifier "iVar17") (+ "+") (number_literal "-0x6e90")) () ")")))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar16 = *puVar11;" (assignment_expression "uVar16 = *puVar11" (identifier "uVar16") (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" (identifier "puVar11") (= "=") (binary_expression "puVar11 + 1" (identifier "puVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar14 = *puVar5;" (assignment_expression "uVar14 = *puVar5" (identifier "uVar14") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "uVar10 = *puVar6;" (assignment_expression "uVar10 = *puVar6" (identifier "uVar10") (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "uVar15 = *puVar3;" (assignment_expression "uVar15 = *puVar3" (identifier "uVar15") (= "=") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) (; ";")) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 1" (identifier "puVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = puVar5 + 1;" (assignment_expression "puVar5 = puVar5 + 1" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "blowfish_expandkey();" (call_expression "blowfish_expandkey()" (identifier "blowfish_expandkey") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *ctx,type_2 *key,short keybytes,type_2 *var_2,short saltbytes)

{
  int var_15;
  int var_5;
  type_3 *var_10;
  type_1 *pBVar4;
  type_3 *var_17;
  type_3 *var_18;
  int var_6;
  type_1 *pBVar8;
  type_4 var_12;
  type_2 *key_00;
  type_5 in_register_00000018;
  short keybytes_00;
  type_4 var_7;
  type_3 var_13;
  type_3 *var_19;
  int var_9;
  int var_8;
  type_3 wVar15;
  type_3 wVar16;
  type_3 wVar17;
  int var_11;
  int var_3;
  type_6 *var_16;
  int iVar21;
  type_3 str [2];
  type_2 dummysalt [1];
  
  var_16 = PTR___stack_chk_guard_000b0c9c;
  var_3 = var_1(in_register_00000018,keybytes);
  var_15 = *(int *)PTR___stack_chk_guard_000b0c9c;
  var_11 = 1;
  if (var_2 == (type_2 *)0x0) {
    dummysalt[0] = '\0';
    var_2 = dummysalt;
  }
  else {
    var_11 = (int)saltbytes;
  }
  var_5 = 0;
  var_10 = ctx->P;
  do {
    if (var_3 == 0) {
      var_4(7);
    }
    iVar21 = var_5 % var_3;
    var_6 = var_5 + 1;
    var_8 = var_5 + 2;
    var_9 = var_5 + 3;
    var_5 = var_5 + 4;
    if (var_3 == 0) {
      var_4(7);
    }
    var_7 = (type_4)key[iVar21] << 0x18 ^ *var_10;
    *var_10 = var_7;
    if (var_3 == 0) {
      var_4(7);
    }
    var_7 = (type_4)key[var_6 % var_3] << 0x10 ^ var_7;
    *var_10 = var_7;
    if (var_3 == 0) {
      var_4(7);
    }
    var_7 = (type_4)key[var_8 % var_3] << 8 ^ var_7;
    *var_10 = var_7;
    *var_10 = key[var_9 % var_3] ^ var_7;
    var_10 = var_10 + 1;
  } while (var_5 != 0x48);
  var_3 = 0;
  str[1] = 0;
  str[0] = 0;
  var_10 = ctx->P;
  do {
    var_7 = 0;
    var_5 = 0;
    var_13 = str[0];
    while( true ) {
      var_6 = var_3 + var_7;
      var_12 = ~var_7;
      if (var_11 == 0) {
        var_4(7);
      }
      var_7 = var_7 + 1;
      str[var_5] = (type_4)var_2[var_6 % var_11] << ((var_12 & 3) << 3) ^ var_13;
      if (var_7 == 8) break;
      var_5 = (int)var_7 >> 2;
      var_13 = str[var_5];
    }
    var_14(str[0],str[1],str,ctx);
    var_3 = var_3 + 8;
    *var_10 = str[0];
    var_10[1] = str[1];
    var_10 = var_10 + 2;
  } while (var_3 != 0x48);
  var_3 = 0x48;
  pBVar8 = ctx;
  do {
    var_7 = 0;
    var_5 = 0;
    var_13 = str[0];
    while( true ) {
      var_6 = var_3 + var_7;
      var_12 = ~var_7;
      if (var_11 == 0) {
        var_4(7);
      }
      var_7 = var_7 + 1;
      str[var_5] = (type_4)var_2[var_6 % var_11] << ((var_12 & 3) << 3) ^ var_13;
      if (var_7 == 8) break;
      var_5 = (int)var_7 >> 2;
      var_13 = str[var_5];
    }
    var_14(str[0],str[1],str,ctx);
    var_3 = var_3 + 8;
    pBVar8->S0[0] = str[0];
    pBVar8->S0[1] = str[1];
    pBVar8 = (type_1 *)(pBVar8->S0 + 2);
  } while (var_3 != 0x448);
  var_3 = 0x448;
  var_10 = ctx->S1;
  do {
    var_7 = 0;
    var_5 = 0;
    var_13 = str[0];
    while( true ) {
      var_6 = var_3 + var_7;
      var_12 = ~var_7;
      if (var_11 == 0) {
        var_4(7);
      }
      var_7 = var_7 + 1;
      str[var_5] = (type_4)var_2[var_6 % var_11] << ((var_12 & 3) << 3) ^ var_13;
      if (var_7 == 8) break;
      var_5 = (int)var_7 >> 2;
      var_13 = str[var_5];
    }
    var_14(str[0],str[1],str,ctx);
    var_3 = var_3 + 8;
    *var_10 = str[0];
    var_10[1] = str[1];
    var_10 = var_10 + 2;
  } while (var_3 != 0x848);
  var_3 = 0x848;
  var_10 = ctx->S2;
  do {
    var_7 = 0;
    var_5 = 0;
    var_13 = str[0];
    while( true ) {
      var_6 = var_3 + var_7;
      var_12 = ~var_7;
      if (var_11 == 0) {
        var_4(7);
      }
      var_7 = var_7 + 1;
      str[var_5] = (type_4)var_2[var_6 % var_11] << ((var_12 & 3) << 3) ^ var_13;
      if (var_7 == 8) break;
      var_5 = (int)var_7 >> 2;
      var_13 = str[var_5];
    }
    var_14(str[0],str[1],str,ctx);
    var_3 = var_3 + 8;
    *var_10 = str[0];
    var_10[1] = str[1];
    var_10 = var_10 + 2;
  } while (var_3 != 0xc48);
  var_3 = 0xc48;
  var_10 = ctx->S3;
  do {
    var_7 = 0;
    var_5 = 0;
    var_13 = str[0];
    while( true ) {
      var_6 = var_3 + var_7;
      var_12 = ~var_7;
      if (var_11 == 0) {
        var_4(7);
      }
      var_7 = var_7 + 1;
      str[var_5] = (type_4)var_2[var_6 % var_11] << ((var_12 & 3) << 3) ^ var_13;
      if (var_7 == 8) break;
      var_5 = (int)var_7 >> 2;
      var_13 = str[var_5];
    }
    pBVar8 = (type_1 *)str[0];
    key_00 = (type_2 *)str[1];
    var_17 = str;
    var_14(str[0],str[1],str,ctx);
    keybytes_00 = (short)var_17;
    var_3 = var_3 + 8;
    *var_10 = str[0];
    var_10[1] = str[1];
    var_10 = var_10 + 2;
  } while (var_3 != 0x1048);
  if (var_15 == *(int *)var_16) {
    return;
  }
  var_16 = PTR___stack_chk_fail_000b0c70;
  (*(type_7 *)PTR___stack_chk_fail_000b0c70)();
  var_15 = *(int *)(var_16 + 0x5acac);
  var_17 = pBVar8->P;
  var_10 = (type_3 *)(*(int *)(var_16 + 0x5acac) + -0x6e8c);
  var_13 = 0x243f6a88;
  while( true ) {
    *var_17 = var_13;
    var_17 = var_17 + 1;
    if (var_10 == (type_3 *)(var_15 + -0x6e48)) break;
    var_13 = *var_10;
    var_10 = var_10 + 1;
  }
  var_15 = *(int *)(var_16 + 0x5acac);
  var_18 = (type_3 *)(*(int *)(var_16 + 0x5acac) + -0x728c);
  var_19 = (type_3 *)(*(int *)(var_16 + 0x5acac) + -0x7e8c);
  wVar17 = 0x3a39ce37;
  wVar16 = 0xe93d5a68;
  wVar15 = 0x4b7a70e9;
  var_13 = 0xd1310ba6;
  pBVar4 = pBVar8;
  var_10 = (type_3 *)(*(int *)(var_16 + 0x5acac) + -0x7a8c);
  var_17 = (type_3 *)(*(int *)(var_16 + 0x5acac) + -0x768c);
  while( true ) {
    pBVar4->S0[0] = var_13;
    pBVar4->S1[0] = wVar15;
    pBVar4->S2[0] = wVar16;
    pBVar4->S3[0] = wVar17;
    if (var_18 == (type_3 *)(var_15 + -0x6e90)) break;
    wVar17 = *var_19;
    var_19 = var_19 + 1;
    wVar15 = *var_17;
    var_13 = *var_18;
    wVar16 = *var_10;
    var_18 = var_18 + 1;
    pBVar4 = (type_1 *)(pBVar4->S0 + 1);
    var_10 = var_10 + 1;
    var_17 = var_17 + 1;
  }
  function_1(pBVar8,key_00,keybytes_00,(type_2 *)0x0,0);
  return;
}


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

void MASKED(uint *param_1,int param_2,int param_3,undefined1 *param_4,short param_5)

{
  int iVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  uint *puVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  int iVar7;
  uint uVar8;
  uint uVar9;
  undefined4 uVar10;
  undefined4 *puVar11;
  int iVar12;
  int iVar13;
  undefined4 uVar14;
  undefined4 uVar15;
  undefined4 uVar16;
  int iVar17;
  undefined *puVar18;
  int iVar19;
  undefined4 *local_38;
  uint local_34;
  undefined1 local_30 [4];
  int local_2c;
  
  puVar18 = PTR___stack_chk_guard_000b0c9c;
  local_2c = *(int *)PTR___stack_chk_guard_000b0c9c;
  iVar17 = 1;
  if (param_4 == (undefined1 *)0x0) {
    local_30[0] = 0;
    param_4 = local_30;
  }
  else {
    iVar17 = (int)param_5;
  }
  iVar1 = 0;
  puVar4 = param_1 + 0x400;
  do {
    if (param_3 == 0) {
      trap(7);
    }
    iVar19 = iVar1 % param_3;
    iVar7 = iVar1 + 1;
    iVar13 = iVar1 + 2;
    iVar12 = iVar1 + 3;
    iVar1 = iVar1 + 4;
    if (param_3 == 0) {
      trap(7);
    }
    uVar9 = (uint)*(byte *)(param_2 + iVar19) << 0x18 ^ *puVar4;
    *puVar4 = uVar9;
    if (param_3 == 0) {
      trap(7);
    }
    uVar9 = (uint)*(byte *)(param_2 + iVar7 % param_3) << 0x10 ^ uVar9;
    *puVar4 = uVar9;
    if (param_3 == 0) {
      trap(7);
    }
    uVar9 = (uint)*(byte *)(param_2 + iVar13 % param_3) << 8 ^ uVar9;
    *puVar4 = uVar9;
    *puVar4 = *(byte *)(param_2 + iVar12 % param_3) ^ uVar9;
    puVar4 = puVar4 + 1;
  } while (iVar1 != 0x48);
  iVar1 = 0;
  local_34 = 0;
  local_38 = (undefined4 *)0x0;
  puVar4 = param_1 + 0x400;
  do {
    uVar9 = 0;
    iVar7 = 0;
    puVar2 = local_38;
    while( true ) {
      iVar12 = iVar1 + uVar9;
      uVar8 = ~uVar9;
      if (iVar17 == 0) {
        trap(7);
      }
      uVar9 = uVar9 + 1;
      (&local_38)[iVar7] =
           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)
      ;
      if (uVar9 == 8) break;
      iVar7 = (int)uVar9 >> 2;
      puVar2 = (&local_38)[iVar7];
    }
    FUN_00053b20(local_38,local_34,&local_38,param_1);
    iVar1 = iVar1 + 8;
    *puVar4 = (uint)local_38;
    puVar4[1] = local_34;
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0x48);
  iVar1 = 0x48;
  puVar4 = param_1;
  do {
    uVar9 = 0;
    iVar7 = 0;
    puVar2 = local_38;
    while( true ) {
      iVar12 = iVar1 + uVar9;
      uVar8 = ~uVar9;
      if (iVar17 == 0) {
        trap(7);
      }
      uVar9 = uVar9 + 1;
      (&local_38)[iVar7] =
           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)
      ;
      if (uVar9 == 8) break;
      iVar7 = (int)uVar9 >> 2;
      puVar2 = (&local_38)[iVar7];
    }
    FUN_00053b20(local_38,local_34,&local_38,param_1);
    iVar1 = iVar1 + 8;
    *puVar4 = (uint)local_38;
    puVar4[1] = local_34;
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0x448);
  iVar1 = 0x448;
  puVar4 = param_1 + 0x100;
  do {
    uVar9 = 0;
    iVar7 = 0;
    puVar2 = local_38;
    while( true ) {
      iVar12 = iVar1 + uVar9;
      uVar8 = ~uVar9;
      if (iVar17 == 0) {
        trap(7);
      }
      uVar9 = uVar9 + 1;
      (&local_38)[iVar7] =
           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)
      ;
      if (uVar9 == 8) break;
      iVar7 = (int)uVar9 >> 2;
      puVar2 = (&local_38)[iVar7];
    }
    FUN_00053b20(local_38,local_34,&local_38,param_1);
    iVar1 = iVar1 + 8;
    *puVar4 = (uint)local_38;
    puVar4[1] = local_34;
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0x848);
  iVar1 = 0x848;
  puVar4 = param_1 + 0x200;
  do {
    uVar9 = 0;
    iVar7 = 0;
    puVar2 = local_38;
    while( true ) {
      iVar12 = iVar1 + uVar9;
      uVar8 = ~uVar9;
      if (iVar17 == 0) {
        trap(7);
      }
      uVar9 = uVar9 + 1;
      (&local_38)[iVar7] =
           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)
      ;
      if (uVar9 == 8) break;
      iVar7 = (int)uVar9 >> 2;
      puVar2 = (&local_38)[iVar7];
    }
    FUN_00053b20(local_38,local_34,&local_38,param_1);
    iVar1 = iVar1 + 8;
    *puVar4 = (uint)local_38;
    puVar4[1] = local_34;
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0xc48);
  iVar1 = 0xc48;
  puVar4 = param_1 + 0x300;
  do {
    uVar9 = 0;
    iVar7 = 0;
    puVar2 = local_38;
    while( true ) {
      iVar12 = iVar1 + uVar9;
      uVar8 = ~uVar9;
      if (iVar17 == 0) {
        trap(7);
      }
      uVar9 = uVar9 + 1;
      (&local_38)[iVar7] =
           (undefined4 *)((uint)(byte)param_4[iVar12 % iVar17] << ((uVar8 & 3) << 3) ^ (uint)puVar2)
      ;
      if (uVar9 == 8) break;
      iVar7 = (int)uVar9 >> 2;
      puVar2 = (&local_38)[iVar7];
    }
    puVar2 = local_38;
    FUN_00053b20(local_38,local_34,&local_38,param_1);
    iVar1 = iVar1 + 8;
    *puVar4 = (uint)local_38;
    puVar4[1] = local_34;
    puVar4 = puVar4 + 2;
  } while (iVar1 != 0x1048);
  if (local_2c == *(int *)puVar18) {
    return;
  }
  puVar18 = PTR___stack_chk_fail_000b0c70;
  (*(code *)PTR___stack_chk_fail_000b0c70)();
  iVar17 = *(int *)(puVar18 + 0x5acac);
  puVar5 = puVar2 + 0x400;
  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x6e8c);
  uVar10 = 0x243f6a88;
  while( true ) {
    *puVar5 = uVar10;
    puVar5 = puVar5 + 1;
    if (puVar3 == (undefined4 *)(iVar17 + -0x6e48)) break;
    uVar10 = *puVar3;
    puVar3 = puVar3 + 1;
  }
  iVar17 = *(int *)(puVar18 + 0x5acac);
  puVar6 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x728c);
  puVar11 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7e8c);
  uVar16 = 0x3a39ce37;
  uVar15 = 0xe93d5a68;
  uVar14 = 0x4b7a70e9;
  uVar10 = 0xd1310ba6;
  puVar3 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x7a8c);
  puVar5 = (undefined4 *)(*(int *)(puVar18 + 0x5acac) + -0x768c);
  while( true ) {
    *puVar2 = uVar10;
    puVar2[0x100] = uVar14;
    puVar2[0x200] = uVar15;
    puVar2[0x300] = uVar16;
    if (puVar6 == (undefined4 *)(iVar17 + -0x6e90)) break;
    uVar16 = *puVar11;
    puVar11 = puVar11 + 1;
    uVar14 = *puVar5;
    uVar10 = *puVar6;
    uVar15 = *puVar3;
    puVar6 = puVar6 + 1;
    puVar2 = puVar2 + 1;
    puVar3 = puVar3 + 1;
    puVar5 = puVar5 + 1;
  }
  MASKED();
  return;
}

