
int uw_install_context_1(void)

{
  byte bVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  int iVar5;
  int iVar6;
  uint uVar7;
  undefined4 *puVar8;
  int unaff_EDI;
  byte bVar9;
  undefined8 uVar10;
  undefined4 local_20 [4];
  
  bVar9 = 0;
  uVar10 = __x86_get_pc_thunk_di();
  iVar6 = (int)((ulonglong)uVar10 >> 0x20);
  iVar2 = (int)uVar10;
  if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&
     (*(int *)(iVar6 + 0x10) == 0)) {
    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto uw_install_context_1_cold_13;
    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {
      *(undefined1 *)(iVar6 + 0x70) = 0;
    }
    *(undefined4 **)(iVar6 + 0x10) = local_20;
    local_20[0] = *(undefined4 *)(iVar6 + 0x48);
  }
  iVar3 = 0;
  do {
    while( true ) {
      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);
      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);
      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto uw_install_context_1_cold_13;
      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;
      if (puVar4 != (undefined4 *)0x0) {
        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')
        goto uw_install_context_1_cold_13;
        *puVar4 = puVar8;
      }
LAB_00295a78:
      iVar3 = iVar3 + 1;
      if (iVar3 == 0x11) goto LAB_00295b20;
    }
    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))
    goto LAB_00295a78;
    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];
    uVar7 = (uint)bVar1;
    if (uVar7 < 4) {
      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {
        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));
      }
      goto LAB_00295a78;
    }
    iVar3 = iVar3 + 1;
    *puVar4 = *puVar8;
    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));
    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);
    puVar8 = (undefined4 *)((int)puVar8 - iVar5);
    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);
    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {
      *puVar4 = *puVar8;
      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;
      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;
    }
  } while (iVar3 != 0x11);
LAB_00295b20:
  iVar3 = 0;
  if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {
    return iVar3;
  }
  if (*(int *)(iVar2 + 0x10) == 0) {
    puVar4 = *(undefined4 **)(iVar6 + 0x10);
    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {
      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {
uw_install_context_1_cold_13:
                    /* WARNING: Subroutine does not return */
        abort();
      }
      puVar4 = (undefined4 *)*puVar4;
    }
    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));
  }
  return iVar3;
}



int FUN_00295a20(void)

{
  byte bVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  int iVar5;
  int iVar6;
  uint uVar7;
  undefined4 *puVar8;
  int unaff_EDI;
  byte bVar9;
  undefined8 uVar10;
  undefined4 local_20 [4];
  
  bVar9 = 0;
  uVar10 = FUN_000644be();
  iVar6 = (int)((ulonglong)uVar10 >> 0x20);
  iVar2 = (int)uVar10;
  if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&
     (*(int *)(iVar6 + 0x10) == 0)) {
    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;
    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {
      *(undefined1 *)(iVar6 + 0x70) = 0;
    }
    *(undefined4 **)(iVar6 + 0x10) = local_20;
    local_20[0] = *(undefined4 *)(iVar6 + 0x48);
  }
  iVar3 = 0;
  do {
    while( true ) {
      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);
      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);
      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;
      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;
      if (puVar4 != (undefined4 *)0x0) {
        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;
        *puVar4 = puVar8;
      }
LAB_00295a78:
      iVar3 = iVar3 + 1;
      if (iVar3 == 0x11) goto LAB_00295b20;
    }
    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))
    goto LAB_00295a78;
    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];
    uVar7 = (uint)bVar1;
    if (uVar7 < 4) {
      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {
        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));
      }
      goto LAB_00295a78;
    }
    iVar3 = iVar3 + 1;
    *puVar4 = *puVar8;
    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));
    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);
    puVar8 = (undefined4 *)((int)puVar8 - iVar5);
    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);
    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {
      *puVar4 = *puVar8;
      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;
      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;
    }
  } while (iVar3 != 0x11);
LAB_00295b20:
  iVar3 = 0;
  if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {
    return iVar3;
  }
  if (*(int *)(iVar2 + 0x10) == 0) {
    puVar4 = *(undefined4 **)(iVar6 + 0x10);
    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {
      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {
FUN_00035ba0:
                    /* WARNING: Subroutine does not return */
        abort();
      }
      puVar4 = (undefined4 *)*puVar4;
    }
    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));
  }
  return iVar3;
}


PUSH EBP
PUSH EDI
CALL 0x000644be
ADD EDI,0x1195d9
PUSH ESI
PUSH EBX
MOV EBX,EAX
SUB ESP,0x2c
MOV EAX,dword ptr [EDX + 0x60]
MOV dword ptr [ESP + 0xc],EDI
TEST EAX,0x40000000
JZ 0x00295a48
CMP byte ptr [EDX + 0x70],0x0
JNZ 0x00295a53
MOV ESI,dword ptr [EDX + 0x10]
TEST ESI,ESI
JZ 0x00295b4e
XOR EAX,EAX
MOV dword ptr [ESP + 0x4],EBX
MOV dword ptr [ESP + 0x8],EDX
JMP 0x00295a84
TEST ECX,ECX
JZ 0x00295a78
MOV EBX,dword ptr [ESP + 0xc]
CMP byte ptr [EAX + EBX*0x1 + 0x916c],0x4
JNZ 0x00035ba0
MOV dword ptr [ECX],ESI
ADD EAX,0x1
CMP EAX,0x11
JZ 0x00295b20
MOV EDI,dword ptr [ESP + 0x4]
MOV EBX,dword ptr [ESP + 0x8]
CMP byte ptr [EDI + EAX*0x1 + 0x6c],0x0
MOV ECX,dword ptr [EDI + EAX*0x4]
MOV ESI,dword ptr [EBX + EAX*0x4]
JNZ 0x00035ba0
CMP byte ptr [EBX + EAX*0x1 + 0x6c],0x0
JNZ 0x00295a60
TEST ESI,ESI
SETNZ DL
TEST ECX,ECX
MOV EBP,EDX
SETNZ DL
MOV EDI,EDX
MOV EDX,EBP
MOV EBX,EDI
TEST DL,BL
JZ 0x00295a78
CMP ECX,ESI
JZ 0x00295a78
MOV EDI,dword ptr [ESP + 0xc]
MOVZX EBP,byte ptr [EAX + EDI*0x1 + 0x916c]
CMP EBP,0x4
JNC 0x00295af0
TEST EBP,EBP
JZ 0x00295a78
MOVZX EBX,byte ptr [ESI]
MOV byte ptr [ECX],BL
TEST EBP,0x2
JZ 0x00295a78
MOVZX ESI,word ptr [ESI + EBP*0x1 + -0x2]
MOV word ptr [ECX + EBP*0x1 + -0x2],SI
JMP 0x00295a78
MOV EDI,dword ptr [ESI]
ADD EAX,0x1
MOV dword ptr [ECX],EDI
MOV EDI,dword ptr [ESI + EBP*0x1 + -0x4]
MOV dword ptr [ECX + EBP*0x1 + -0x4],EDI
LEA EDI,[ECX + 0x4]
AND EDI,0xfffffffc
SUB ECX,EDI
SUB ESI,ECX
ADD ECX,EBP
SHR ECX,0x2
MOVSD.REP ES:EDI,ESI
CMP EAX,0x11
JNZ 0x00295a84
LEA ESI,[ESI]
MOV EBX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP + 0x8]
XOR EAX,EAX
TEST byte ptr [EBX + 0x63],0x40
JNZ 0x00295b40
MOV ECX,dword ptr [EBX + 0x10]
TEST ECX,ECX
JZ 0x00295b7d
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP byte ptr [EBX + 0x70],0x0
JZ 0x00295b30
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDI,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [EDX + 0x48]
CMP byte ptr [EDI + 0x9170],0x4
JNZ 0x00035ba0
MOV dword ptr [ESP + 0x1c],ECX
TEST EAX,0x40000000
JZ 0x00295b71
MOV byte ptr [EDX + 0x70],0x0
LEA EAX,[ESP + 0x1c]
MOV dword ptr [EDX + 0x10],EAX
JMP 0x00295a53
MOV EAX,dword ptr [ESP + 0xc]
MOVZX ECX,byte ptr [EAX + 0x9170]
MOV EAX,dword ptr [EDX + 0x10]
TEST byte ptr [EDX + 0x63],0x40
JNZ 0x00295ba4
CMP CL,0x4
JNZ 0x00035ba0
MOV EAX,dword ptr [EAX]
SUB EAX,dword ptr [EBX + 0x48]
ADD EAX,dword ptr [EDX + 0x68]
JMP 0x00295b37
CMP byte ptr [EDX + 0x70],0x0
JZ 0x00295b91
JMP 0x00295b9c
(translation_unit "int FUN_00295a20(void)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  int unaff_EDI;\n  byte bVar9;\n  undefined8 uVar10;\n  undefined4 local_20 [4];\n  \n  bVar9 = 0;\n  uVar10 = FUN_000644be();\n  iVar6 = (int)((ulonglong)uVar10 >> 0x20);\n  iVar2 = (int)uVar10;\n  if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }\n  iVar3 = 0;\n  do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);\nLAB_00295b20:\n  iVar3 = 0;\n  if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }\n  if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }\n  return iVar3;\n}\n\n" (function_definition "int FUN_00295a20(void)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  int unaff_EDI;\n  byte bVar9;\n  undefined8 uVar10;\n  undefined4 local_20 [4];\n  \n  bVar9 = 0;\n  uVar10 = FUN_000644be();\n  iVar6 = (int)((ulonglong)uVar10 >> 0x20);\n  iVar2 = (int)uVar10;\n  if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }\n  iVar3 = 0;\n  do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);\nLAB_00295b20:\n  iVar3 = 0;\n  if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }\n  if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }\n  return iVar3;\n}" primitive_type (function_declarator "FUN_00295a20(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  int unaff_EDI;\n  byte bVar9;\n  undefined8 uVar10;\n  undefined4 local_20 [4];\n  \n  bVar9 = 0;\n  uVar10 = FUN_000644be();\n  iVar6 = (int)((ulonglong)uVar10 >> 0x20);\n  iVar2 = (int)uVar10;\n  if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }\n  iVar3 = 0;\n  do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);\nLAB_00295b20:\n  iVar3 = 0;\n  if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }\n  if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }\n  return iVar3;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "undefined4 local_20 [4];" type_identifier (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "bVar9 = 0;" (assignment_expression "bVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = FUN_000644be();" (assignment_expression "uVar10 = FUN_000644be()" identifier = (call_expression "FUN_000644be()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = (int)((ulonglong)uVar10 >> 0x20);" (assignment_expression "iVar6 = (int)((ulonglong)uVar10 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar10 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar10 >> 0x20)" ( (binary_expression "(ulonglong)uVar10 >> 0x20" (cast_expression "(ulonglong)uVar10" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar2 = (int)uVar10;" (assignment_expression "iVar2 = (int)uVar10" identifier = (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }" if (parenthesized_expression "((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0))" ( (binary_expression "(((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)" (parenthesized_expression "(((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0'))" ( (binary_expression "((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')" (parenthesized_expression "((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0)" ( (binary_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000) == 0" (parenthesized_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000)" ( (binary_expression "*(uint *)(iVar6 + 0x60) & 0x40000000" (pointer_expression "*(uint *)(iVar6 + 0x60)" * (cast_expression "(uint *)(iVar6 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x60)" ( (binary_expression "iVar6 + 0x60" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(char *)(iVar6 + 0x70) == '\0')" ( (binary_expression "*(char *)(iVar6 + 0x70) == '\0'" (pointer_expression "*(char *)(iVar6 + 0x70)" * (cast_expression "(char *)(iVar6 + 0x70)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x70)" ( (binary_expression "iVar6 + 0x70" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(*(int *)(iVar6 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar6 + 0x10) == 0" (pointer_expression "*(int *)(iVar6 + 0x10)" * (cast_expression "(int *)(iVar6 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }" { (if_statement "if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;" if (parenthesized_expression "(*(char *)(unaff_EDI + 0x122749) != '\x04')" ( (binary_expression "*(char *)(unaff_EDI + 0x122749) != '\x04'" (pointer_expression "*(char *)(unaff_EDI + 0x122749)" * (cast_expression "(char *)(unaff_EDI + 0x122749)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x122749)" ( (binary_expression "unaff_EDI + 0x122749" identifier + number_literal) )))) != (char_literal "'\x04'" ' escape_sequence ')) )) (goto_statement "goto FUN_00035ba0;" goto statement_identifier ;)) (if_statement "if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }" if (parenthesized_expression "((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0)" ( (binary_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000) != 0" (parenthesized_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000)" ( (binary_expression "*(uint *)(iVar6 + 0x60) & 0x40000000" (pointer_expression "*(uint *)(iVar6 + 0x60)" * (cast_expression "(uint *)(iVar6 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x60)" ( (binary_expression "iVar6 + 0x60" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }" { (expression_statement "*(undefined1 *)(iVar6 + 0x70) = 0;" (assignment_expression "*(undefined1 *)(iVar6 + 0x70) = 0" (pointer_expression "*(undefined1 *)(iVar6 + 0x70)" * (cast_expression "(undefined1 *)(iVar6 + 0x70)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x70)" ( (binary_expression "iVar6 + 0x70" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "*(undefined4 **)(iVar6 + 0x10) = local_20;" (assignment_expression "*(undefined4 **)(iVar6 + 0x10) = local_20" (pointer_expression "*(undefined4 **)(iVar6 + 0x10)" * (cast_expression "(undefined4 **)(iVar6 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_20[0] = *(undefined4 *)(iVar6 + 0x48);" (assignment_expression "local_20[0] = *(undefined4 *)(iVar6 + 0x48)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar6 + 0x48)" * (cast_expression "(undefined4 *)(iVar6 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x48)" ( (binary_expression "iVar6 + 0x48" identifier + number_literal) ))))) ;) })) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);" do (compound_statement "{\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  }" { (while_statement "while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }" { (expression_statement "puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);" (assignment_expression "puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar2 + iVar3 * 4)" * (cast_expression "(undefined4 **)(iVar2 + iVar3 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + iVar3 * 4)" ( (binary_expression "iVar2 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (expression_statement "puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);" (assignment_expression "puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar6 + iVar3 * 4)" * (cast_expression "(undefined4 **)(iVar6 + iVar3 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + iVar3 * 4)" ( (binary_expression "iVar6 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;" if (parenthesized_expression "(*(char *)(iVar2 + 0x6c + iVar3) != '\0')" ( (binary_expression "*(char *)(iVar2 + 0x6c + iVar3) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x6c + iVar3)" * (cast_expression "(char *)(iVar2 + 0x6c + iVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x6c + iVar3)" ( (binary_expression "iVar2 + 0x6c + iVar3" (binary_expression "iVar2 + 0x6c" identifier + number_literal) + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto FUN_00035ba0;" goto statement_identifier ;)) (if_statement "if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;" if (parenthesized_expression "(*(char *)(iVar6 + 0x6c + iVar3) == '\0')" ( (binary_expression "*(char *)(iVar6 + 0x6c + iVar3) == '\0'" (pointer_expression "*(char *)(iVar6 + 0x6c + iVar3)" * (cast_expression "(char *)(iVar6 + 0x6c + iVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x6c + iVar3)" ( (binary_expression "iVar6 + 0x6c + iVar3" (binary_expression "iVar6 + 0x6c" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (if_statement "if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }" if (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }" { (if_statement "if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;" if (parenthesized_expression "((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')" ( (binary_expression "(&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04'" (subscript_expression "(&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI]" (parenthesized_expression "(&UNK_001195d9)" ( (pointer_expression "&UNK_001195d9" & identifier) )) [ (binary_expression "iVar3 + 0x916c + unaff_EDI" (binary_expression "iVar3 + 0x916c" identifier + number_literal) + identifier) ]) != (char_literal "'\x04'" ' escape_sequence ')) )) (goto_statement "goto FUN_00035ba0;" goto statement_identifier ;)) (expression_statement "*puVar4 = puVar8;" (assignment_expression "*puVar4 = puVar8" (pointer_expression "*puVar4" * identifier) = identifier) ;) })) (labeled_statement "LAB_00295a78:\n      iVar3 = iVar3 + 1;" statement_identifier : (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;)) (if_statement "if (iVar3 == 0x11) goto LAB_00295b20;" if (parenthesized_expression "(iVar3 == 0x11)" ( (binary_expression "iVar3 == 0x11" identifier == number_literal) )) (goto_statement "goto LAB_00295b20;" goto statement_identifier ;)) })) (if_statement "if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;" if (parenthesized_expression "((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))" ( (binary_expression "(puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8)" (parenthesized_expression "(puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0)" ( (binary_expression "puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0" (binary_expression "puVar8 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) || (parenthesized_expression "(puVar4 == puVar8)" ( (binary_expression "puVar4 == puVar8" identifier == identifier) ))) )) (goto_statement "goto LAB_00295a78;" goto statement_identifier ;)) (expression_statement "bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];" (assignment_expression "bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI]" identifier = (subscript_expression "(&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI]" (parenthesized_expression "(&UNK_001195d9)" ( (pointer_expression "&UNK_001195d9" & identifier) )) [ (binary_expression "iVar3 + 0x916c + unaff_EDI" (binary_expression "iVar3 + 0x916c" identifier + number_literal) + identifier) ])) ;) (expression_statement "uVar7 = (uint)bVar1;" (assignment_expression "uVar7 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }" if (parenthesized_expression "(uVar7 < 4)" ( (binary_expression "uVar7 < 4" identifier < number_literal) )) (compound_statement "{\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }" { (if_statement "if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }" if (parenthesized_expression "((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0))" ( (binary_expression "(uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)" (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)" ( (comma_expression "*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0" (assignment_expression "*(undefined1 *)puVar4 = *(undefined1 *)puVar8" (pointer_expression "*(undefined1 *)puVar4" * (cast_expression "(undefined1 *)puVar4" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)puVar8" * (cast_expression "(undefined1 *)puVar8" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) , (binary_expression "(bVar1 & 2) != 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }" { (expression_statement "*(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));" (assignment_expression "*(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2))" (pointer_expression "*(undefined2 *)((int)puVar4 + (uVar7 - 2))" * (cast_expression "(undefined2 *)((int)puVar4 + (uVar7 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (uVar7 - 2))" ( (binary_expression "(int)puVar4 + (uVar7 - 2)" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - 2)" ( (binary_expression "uVar7 - 2" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined2 *)((int)puVar8 + (uVar7 - 2))" * (cast_expression "(undefined2 *)((int)puVar8 + (uVar7 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + (uVar7 - 2))" ( (binary_expression "(int)puVar8 + (uVar7 - 2)" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - 2)" ( (binary_expression "uVar7 - 2" identifier - number_literal) ))) ))))) ;) })) (goto_statement "goto LAB_00295a78;" goto statement_identifier ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*puVar4 = *puVar8;" (assignment_expression "*puVar4 = *puVar8" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "*(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));" (assignment_expression "*(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4))" (pointer_expression "*(undefined4 *)((int)puVar4 + (uVar7 - 4))" * (cast_expression "(undefined4 *)((int)puVar4 + (uVar7 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (uVar7 - 4))" ( (binary_expression "(int)puVar4 + (uVar7 - 4)" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - 4)" ( (binary_expression "uVar7 - 4" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + (uVar7 - 4))" * (cast_expression "(undefined4 *)((int)puVar8 + (uVar7 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + (uVar7 - 4))" ( (binary_expression "(int)puVar8 + (uVar7 - 4)" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - 4)" ( (binary_expression "uVar7 - 4" identifier - number_literal) ))) ))))) ;) (expression_statement "iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);" (assignment_expression "iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc)" identifier = (binary_expression "(int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc)" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)((uint)(puVar4 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar4 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar4 + 1) & 0xfffffffc" (call_expression "(uint)(puVar4 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar4 + 1)" ( (binary_expression "puVar4 + 1" identifier + number_literal) ))) & number_literal) ))))) ;) (expression_statement "puVar8 = (undefined4 *)((int)puVar8 - iVar5);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar8 - iVar5)" identifier = (cast_expression "(undefined4 *)((int)puVar8 - iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 - iVar5)" ( (binary_expression "(int)puVar8 - iVar5" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) (expression_statement "puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);" (assignment_expression "puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar4 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar4 + 1) & 0xfffffffc" (call_expression "(uint)(puVar4 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar4 + 1)" ( (binary_expression "puVar4 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }" for ( (assignment_expression "uVar7 = iVar5 + uVar7 >> 2" identifier = (binary_expression "iVar5 + uVar7 >> 2" (binary_expression "iVar5 + uVar7" identifier + identifier) >> number_literal)) ; (binary_expression "uVar7 != 0" identifier != number_literal) ; (assignment_expression "uVar7 = uVar7 - 1" identifier = (binary_expression "uVar7 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }" { (expression_statement "*puVar4 = *puVar8;" (assignment_expression "*puVar4 = *puVar8" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar4 = puVar4 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar4 + (uint)bVar9 * -2 + 1" (binary_expression "puVar4 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) }) while (parenthesized_expression "(iVar3 != 0x11)" ( (binary_expression "iVar3 != 0x11" identifier != number_literal) )) ;) (labeled_statement "LAB_00295b20:\n  iVar3 = 0;" statement_identifier : (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;)) (if_statement "if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }" if (parenthesized_expression "(((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0'))" ( (binary_expression "((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')" (parenthesized_expression "((*(byte *)(iVar2 + 99) & 0x40) != 0)" ( (binary_expression "(*(byte *)(iVar2 + 99) & 0x40) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 99) & 0x40)" ( (binary_expression "*(byte *)(iVar2 + 99) & 0x40" (pointer_expression "*(byte *)(iVar2 + 99)" * (cast_expression "(byte *)(iVar2 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 99)" ( (binary_expression "iVar2 + 99" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(char *)(iVar2 + 0x70) != '\0')" ( (binary_expression "*(char *)(iVar2 + 0x70) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x70)" * (cast_expression "(char *)(iVar2 + 0x70)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x70)" ( (binary_expression "iVar2 + 0x70" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (if_statement "if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x10) == 0" (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }" { (expression_statement "puVar4 = *(undefined4 **)(iVar6 + 0x10);" (assignment_expression "puVar4 = *(undefined4 **)(iVar6 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(iVar6 + 0x10)" * (cast_expression "(undefined4 **)(iVar6 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }" if (parenthesized_expression "(((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0'))" ( (binary_expression "((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')" (parenthesized_expression "((*(byte *)(iVar6 + 99) & 0x40) == 0)" ( (binary_expression "(*(byte *)(iVar6 + 99) & 0x40) == 0" (parenthesized_expression "(*(byte *)(iVar6 + 99) & 0x40)" ( (binary_expression "*(byte *)(iVar6 + 99) & 0x40" (pointer_expression "*(byte *)(iVar6 + 99)" * (cast_expression "(byte *)(iVar6 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 99)" ( (binary_expression "iVar6 + 99" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(char *)(iVar6 + 0x70) == '\0')" ( (binary_expression "*(char *)(iVar6 + 0x70) == '\0'" (pointer_expression "*(char *)(iVar6 + 0x70)" * (cast_expression "(char *)(iVar6 + 0x70)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x70)" ( (binary_expression "iVar6 + 0x70" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }" { (if_statement "if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }" if (parenthesized_expression "(*(char *)(unaff_EDI + 0x122749) != '\x04')" ( (binary_expression "*(char *)(unaff_EDI + 0x122749) != '\x04'" (pointer_expression "*(char *)(unaff_EDI + 0x122749)" * (cast_expression "(char *)(unaff_EDI + 0x122749)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x122749)" ( (binary_expression "unaff_EDI + 0x122749" identifier + number_literal) )))) != (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\nFUN_00035ba0:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }" { (labeled_statement "FUN_00035ba0:\n                    /* WARNING: Subroutine does not return */\n        abort();" statement_identifier : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })) (expression_statement "puVar4 = (undefined4 *)*puVar4;" (assignment_expression "puVar4 = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) })) (expression_statement "iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));" (assignment_expression "iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48))" identifier = (binary_expression "(int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48))" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48))" ( (binary_expression "*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48)" (pointer_expression "*(int *)(iVar6 + 0x68)" * (cast_expression "(int *)(iVar6 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x68)" ( (binary_expression "iVar6 + 0x68" identifier + number_literal) )))) - (pointer_expression "*(int *)(iVar2 + 0x48)" * (cast_expression "(int *)(iVar2 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x48)" ( (binary_expression "iVar2 + 0x48" identifier + number_literal) ))))) )))) ;) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "int uw_install_context_1(void)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  int unaff_EDI;\n  byte bVar9;\n  undefined8 uVar10;\n  undefined4 local_20 [4];\n  \n  bVar9 = 0;\n  uVar10 = __x86_get_pc_thunk_di();\n  iVar6 = (int)((ulonglong)uVar10 >> 0x20);\n  iVar2 = (int)uVar10;\n  if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto uw_install_context_1_cold_13;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }\n  iVar3 = 0;\n  do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto uw_install_context_1_cold_13;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')\n        goto uw_install_context_1_cold_13;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);\nLAB_00295b20:\n  iVar3 = 0;\n  if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }\n  if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nuw_install_context_1_cold_13:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }\n  return iVar3;\n}\n\n" (function_definition "int uw_install_context_1(void)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  int unaff_EDI;\n  byte bVar9;\n  undefined8 uVar10;\n  undefined4 local_20 [4];\n  \n  bVar9 = 0;\n  uVar10 = __x86_get_pc_thunk_di();\n  iVar6 = (int)((ulonglong)uVar10 >> 0x20);\n  iVar2 = (int)uVar10;\n  if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto uw_install_context_1_cold_13;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }\n  iVar3 = 0;\n  do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto uw_install_context_1_cold_13;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')\n        goto uw_install_context_1_cold_13;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);\nLAB_00295b20:\n  iVar3 = 0;\n  if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }\n  if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nuw_install_context_1_cold_13:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }\n  return iVar3;\n}" primitive_type (function_declarator "uw_install_context_1(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  int unaff_EDI;\n  byte bVar9;\n  undefined8 uVar10;\n  undefined4 local_20 [4];\n  \n  bVar9 = 0;\n  uVar10 = __x86_get_pc_thunk_di();\n  iVar6 = (int)((ulonglong)uVar10 >> 0x20);\n  iVar2 = (int)uVar10;\n  if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto uw_install_context_1_cold_13;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }\n  iVar3 = 0;\n  do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto uw_install_context_1_cold_13;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')\n        goto uw_install_context_1_cold_13;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);\nLAB_00295b20:\n  iVar3 = 0;\n  if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }\n  if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nuw_install_context_1_cold_13:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }\n  return iVar3;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "undefined4 local_20 [4];" type_identifier (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "bVar9 = 0;" (assignment_expression "bVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = __x86_get_pc_thunk_di();" (assignment_expression "uVar10 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = (int)((ulonglong)uVar10 >> 0x20);" (assignment_expression "iVar6 = (int)((ulonglong)uVar10 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar10 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar10 >> 0x20)" ( (binary_expression "(ulonglong)uVar10 >> 0x20" (cast_expression "(ulonglong)uVar10" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar2 = (int)uVar10;" (assignment_expression "iVar2 = (int)uVar10" identifier = (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto uw_install_context_1_cold_13;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }" if (parenthesized_expression "((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0))" ( (binary_expression "(((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)" (parenthesized_expression "(((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0'))" ( (binary_expression "((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')" (parenthesized_expression "((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0)" ( (binary_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000) == 0" (parenthesized_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000)" ( (binary_expression "*(uint *)(iVar6 + 0x60) & 0x40000000" (pointer_expression "*(uint *)(iVar6 + 0x60)" * (cast_expression "(uint *)(iVar6 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x60)" ( (binary_expression "iVar6 + 0x60" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(char *)(iVar6 + 0x70) == '\0')" ( (binary_expression "*(char *)(iVar6 + 0x70) == '\0'" (pointer_expression "*(char *)(iVar6 + 0x70)" * (cast_expression "(char *)(iVar6 + 0x70)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x70)" ( (binary_expression "iVar6 + 0x70" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(*(int *)(iVar6 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar6 + 0x10) == 0" (pointer_expression "*(int *)(iVar6 + 0x10)" * (cast_expression "(int *)(iVar6 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto uw_install_context_1_cold_13;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }" { (if_statement "if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto uw_install_context_1_cold_13;" if (parenthesized_expression "(*(char *)(unaff_EDI + 0x122749) != '\x04')" ( (binary_expression "*(char *)(unaff_EDI + 0x122749) != '\x04'" (pointer_expression "*(char *)(unaff_EDI + 0x122749)" * (cast_expression "(char *)(unaff_EDI + 0x122749)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x122749)" ( (binary_expression "unaff_EDI + 0x122749" identifier + number_literal) )))) != (char_literal "'\x04'" ' escape_sequence ')) )) (goto_statement "goto uw_install_context_1_cold_13;" goto statement_identifier ;)) (if_statement "if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }" if (parenthesized_expression "((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0)" ( (binary_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000) != 0" (parenthesized_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000)" ( (binary_expression "*(uint *)(iVar6 + 0x60) & 0x40000000" (pointer_expression "*(uint *)(iVar6 + 0x60)" * (cast_expression "(uint *)(iVar6 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x60)" ( (binary_expression "iVar6 + 0x60" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }" { (expression_statement "*(undefined1 *)(iVar6 + 0x70) = 0;" (assignment_expression "*(undefined1 *)(iVar6 + 0x70) = 0" (pointer_expression "*(undefined1 *)(iVar6 + 0x70)" * (cast_expression "(undefined1 *)(iVar6 + 0x70)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x70)" ( (binary_expression "iVar6 + 0x70" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "*(undefined4 **)(iVar6 + 0x10) = local_20;" (assignment_expression "*(undefined4 **)(iVar6 + 0x10) = local_20" (pointer_expression "*(undefined4 **)(iVar6 + 0x10)" * (cast_expression "(undefined4 **)(iVar6 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_20[0] = *(undefined4 *)(iVar6 + 0x48);" (assignment_expression "local_20[0] = *(undefined4 *)(iVar6 + 0x48)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar6 + 0x48)" * (cast_expression "(undefined4 *)(iVar6 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x48)" ( (binary_expression "iVar6 + 0x48" identifier + number_literal) ))))) ;) })) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto uw_install_context_1_cold_13;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')\n        goto uw_install_context_1_cold_13;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);" do (compound_statement "{\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto uw_install_context_1_cold_13;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')\n        goto uw_install_context_1_cold_13;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  }" { (while_statement "while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto uw_install_context_1_cold_13;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')\n        goto uw_install_context_1_cold_13;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto uw_install_context_1_cold_13;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')\n        goto uw_install_context_1_cold_13;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }" { (expression_statement "puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);" (assignment_expression "puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar2 + iVar3 * 4)" * (cast_expression "(undefined4 **)(iVar2 + iVar3 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + iVar3 * 4)" ( (binary_expression "iVar2 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (expression_statement "puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);" (assignment_expression "puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar6 + iVar3 * 4)" * (cast_expression "(undefined4 **)(iVar6 + iVar3 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + iVar3 * 4)" ( (binary_expression "iVar6 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto uw_install_context_1_cold_13;" if (parenthesized_expression "(*(char *)(iVar2 + 0x6c + iVar3) != '\0')" ( (binary_expression "*(char *)(iVar2 + 0x6c + iVar3) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x6c + iVar3)" * (cast_expression "(char *)(iVar2 + 0x6c + iVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x6c + iVar3)" ( (binary_expression "iVar2 + 0x6c + iVar3" (binary_expression "iVar2 + 0x6c" identifier + number_literal) + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto uw_install_context_1_cold_13;" goto statement_identifier ;)) (if_statement "if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;" if (parenthesized_expression "(*(char *)(iVar6 + 0x6c + iVar3) == '\0')" ( (binary_expression "*(char *)(iVar6 + 0x6c + iVar3) == '\0'" (pointer_expression "*(char *)(iVar6 + 0x6c + iVar3)" * (cast_expression "(char *)(iVar6 + 0x6c + iVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x6c + iVar3)" ( (binary_expression "iVar6 + 0x6c + iVar3" (binary_expression "iVar6 + 0x6c" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (if_statement "if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')\n        goto uw_install_context_1_cold_13;\n        *puVar4 = puVar8;\n      }" if (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')\n        goto uw_install_context_1_cold_13;\n        *puVar4 = puVar8;\n      }" { (if_statement "if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')\n        goto uw_install_context_1_cold_13;" if (parenthesized_expression "((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')" ( (binary_expression "(&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04'" (subscript_expression "(&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI]" (parenthesized_expression "(&UNK_001195d9)" ( (pointer_expression "&UNK_001195d9" & identifier) )) [ (binary_expression "iVar3 + 0x916c + unaff_EDI" (binary_expression "iVar3 + 0x916c" identifier + number_literal) + identifier) ]) != (char_literal "'\x04'" ' escape_sequence ')) )) (goto_statement "goto uw_install_context_1_cold_13;" goto statement_identifier ;)) (expression_statement "*puVar4 = puVar8;" (assignment_expression "*puVar4 = puVar8" (pointer_expression "*puVar4" * identifier) = identifier) ;) })) (labeled_statement "LAB_00295a78:\n      iVar3 = iVar3 + 1;" statement_identifier : (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;)) (if_statement "if (iVar3 == 0x11) goto LAB_00295b20;" if (parenthesized_expression "(iVar3 == 0x11)" ( (binary_expression "iVar3 == 0x11" identifier == number_literal) )) (goto_statement "goto LAB_00295b20;" goto statement_identifier ;)) })) (if_statement "if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;" if (parenthesized_expression "((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))" ( (binary_expression "(puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8)" (parenthesized_expression "(puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0)" ( (binary_expression "puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0" (binary_expression "puVar8 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) || (parenthesized_expression "(puVar4 == puVar8)" ( (binary_expression "puVar4 == puVar8" identifier == identifier) ))) )) (goto_statement "goto LAB_00295a78;" goto statement_identifier ;)) (expression_statement "bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];" (assignment_expression "bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI]" identifier = (subscript_expression "(&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI]" (parenthesized_expression "(&UNK_001195d9)" ( (pointer_expression "&UNK_001195d9" & identifier) )) [ (binary_expression "iVar3 + 0x916c + unaff_EDI" (binary_expression "iVar3 + 0x916c" identifier + number_literal) + identifier) ])) ;) (expression_statement "uVar7 = (uint)bVar1;" (assignment_expression "uVar7 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }" if (parenthesized_expression "(uVar7 < 4)" ( (binary_expression "uVar7 < 4" identifier < number_literal) )) (compound_statement "{\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }" { (if_statement "if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }" if (parenthesized_expression "((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0))" ( (binary_expression "(uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)" (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)" ( (comma_expression "*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0" (assignment_expression "*(undefined1 *)puVar4 = *(undefined1 *)puVar8" (pointer_expression "*(undefined1 *)puVar4" * (cast_expression "(undefined1 *)puVar4" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)puVar8" * (cast_expression "(undefined1 *)puVar8" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) , (binary_expression "(bVar1 & 2) != 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }" { (expression_statement "*(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));" (assignment_expression "*(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2))" (pointer_expression "*(undefined2 *)((int)puVar4 + (uVar7 - 2))" * (cast_expression "(undefined2 *)((int)puVar4 + (uVar7 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (uVar7 - 2))" ( (binary_expression "(int)puVar4 + (uVar7 - 2)" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - 2)" ( (binary_expression "uVar7 - 2" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined2 *)((int)puVar8 + (uVar7 - 2))" * (cast_expression "(undefined2 *)((int)puVar8 + (uVar7 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + (uVar7 - 2))" ( (binary_expression "(int)puVar8 + (uVar7 - 2)" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - 2)" ( (binary_expression "uVar7 - 2" identifier - number_literal) ))) ))))) ;) })) (goto_statement "goto LAB_00295a78;" goto statement_identifier ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*puVar4 = *puVar8;" (assignment_expression "*puVar4 = *puVar8" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "*(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));" (assignment_expression "*(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4))" (pointer_expression "*(undefined4 *)((int)puVar4 + (uVar7 - 4))" * (cast_expression "(undefined4 *)((int)puVar4 + (uVar7 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (uVar7 - 4))" ( (binary_expression "(int)puVar4 + (uVar7 - 4)" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - 4)" ( (binary_expression "uVar7 - 4" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + (uVar7 - 4))" * (cast_expression "(undefined4 *)((int)puVar8 + (uVar7 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + (uVar7 - 4))" ( (binary_expression "(int)puVar8 + (uVar7 - 4)" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - 4)" ( (binary_expression "uVar7 - 4" identifier - number_literal) ))) ))))) ;) (expression_statement "iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);" (assignment_expression "iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc)" identifier = (binary_expression "(int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc)" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)((uint)(puVar4 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar4 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar4 + 1) & 0xfffffffc" (call_expression "(uint)(puVar4 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar4 + 1)" ( (binary_expression "puVar4 + 1" identifier + number_literal) ))) & number_literal) ))))) ;) (expression_statement "puVar8 = (undefined4 *)((int)puVar8 - iVar5);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar8 - iVar5)" identifier = (cast_expression "(undefined4 *)((int)puVar8 - iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 - iVar5)" ( (binary_expression "(int)puVar8 - iVar5" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) (expression_statement "puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);" (assignment_expression "puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar4 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar4 + 1) & 0xfffffffc" (call_expression "(uint)(puVar4 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar4 + 1)" ( (binary_expression "puVar4 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }" for ( (assignment_expression "uVar7 = iVar5 + uVar7 >> 2" identifier = (binary_expression "iVar5 + uVar7 >> 2" (binary_expression "iVar5 + uVar7" identifier + identifier) >> number_literal)) ; (binary_expression "uVar7 != 0" identifier != number_literal) ; (assignment_expression "uVar7 = uVar7 - 1" identifier = (binary_expression "uVar7 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }" { (expression_statement "*puVar4 = *puVar8;" (assignment_expression "*puVar4 = *puVar8" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar4 = puVar4 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar4 + (uint)bVar9 * -2 + 1" (binary_expression "puVar4 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) }) while (parenthesized_expression "(iVar3 != 0x11)" ( (binary_expression "iVar3 != 0x11" identifier != number_literal) )) ;) (labeled_statement "LAB_00295b20:\n  iVar3 = 0;" statement_identifier : (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;)) (if_statement "if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }" if (parenthesized_expression "(((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0'))" ( (binary_expression "((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')" (parenthesized_expression "((*(byte *)(iVar2 + 99) & 0x40) != 0)" ( (binary_expression "(*(byte *)(iVar2 + 99) & 0x40) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 99) & 0x40)" ( (binary_expression "*(byte *)(iVar2 + 99) & 0x40" (pointer_expression "*(byte *)(iVar2 + 99)" * (cast_expression "(byte *)(iVar2 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 99)" ( (binary_expression "iVar2 + 99" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(char *)(iVar2 + 0x70) != '\0')" ( (binary_expression "*(char *)(iVar2 + 0x70) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x70)" * (cast_expression "(char *)(iVar2 + 0x70)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x70)" ( (binary_expression "iVar2 + 0x70" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (if_statement "if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nuw_install_context_1_cold_13:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x10) == 0" (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nuw_install_context_1_cold_13:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }" { (expression_statement "puVar4 = *(undefined4 **)(iVar6 + 0x10);" (assignment_expression "puVar4 = *(undefined4 **)(iVar6 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(iVar6 + 0x10)" * (cast_expression "(undefined4 **)(iVar6 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nuw_install_context_1_cold_13:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }" if (parenthesized_expression "(((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0'))" ( (binary_expression "((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')" (parenthesized_expression "((*(byte *)(iVar6 + 99) & 0x40) == 0)" ( (binary_expression "(*(byte *)(iVar6 + 99) & 0x40) == 0" (parenthesized_expression "(*(byte *)(iVar6 + 99) & 0x40)" ( (binary_expression "*(byte *)(iVar6 + 99) & 0x40" (pointer_expression "*(byte *)(iVar6 + 99)" * (cast_expression "(byte *)(iVar6 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 99)" ( (binary_expression "iVar6 + 99" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(char *)(iVar6 + 0x70) == '\0')" ( (binary_expression "*(char *)(iVar6 + 0x70) == '\0'" (pointer_expression "*(char *)(iVar6 + 0x70)" * (cast_expression "(char *)(iVar6 + 0x70)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x70)" ( (binary_expression "iVar6 + 0x70" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nuw_install_context_1_cold_13:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }" { (if_statement "if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nuw_install_context_1_cold_13:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }" if (parenthesized_expression "(*(char *)(unaff_EDI + 0x122749) != '\x04')" ( (binary_expression "*(char *)(unaff_EDI + 0x122749) != '\x04'" (pointer_expression "*(char *)(unaff_EDI + 0x122749)" * (cast_expression "(char *)(unaff_EDI + 0x122749)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x122749)" ( (binary_expression "unaff_EDI + 0x122749" identifier + number_literal) )))) != (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\nuw_install_context_1_cold_13:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }" { (labeled_statement "uw_install_context_1_cold_13:\n                    /* WARNING: Subroutine does not return */\n        abort();" statement_identifier : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })) (expression_statement "puVar4 = (undefined4 *)*puVar4;" (assignment_expression "puVar4 = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) })) (expression_statement "iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));" (assignment_expression "iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48))" identifier = (binary_expression "(int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48))" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48))" ( (binary_expression "*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48)" (pointer_expression "*(int *)(iVar6 + 0x68)" * (cast_expression "(int *)(iVar6 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x68)" ( (binary_expression "iVar6 + 0x68" identifier + number_literal) )))) - (pointer_expression "*(int *)(iVar2 + 0x48)" * (cast_expression "(int *)(iVar2 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x48)" ( (binary_expression "iVar2 + 0x48" identifier + number_literal) ))))) )))) ;) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "int FUN_00295a20(void)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  int unaff_EDI;\n  byte bVar9;\n  undefined8 uVar10;\n  undefined4 local_20 [4];\n  \n  bVar9 = 0;\n  uVar10 = FUN_000644be();\n  iVar6 = (int)((ulonglong)uVar10 >> 0x20);\n  iVar2 = (int)uVar10;\n  if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }\n  iVar3 = 0;\n  do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);\nLAB_00295b20:\n  iVar3 = 0;\n  if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }\n  if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }\n  return iVar3;\n}\n\n" (function_definition "int FUN_00295a20(void)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  int unaff_EDI;\n  byte bVar9;\n  undefined8 uVar10;\n  undefined4 local_20 [4];\n  \n  bVar9 = 0;\n  uVar10 = FUN_000644be();\n  iVar6 = (int)((ulonglong)uVar10 >> 0x20);\n  iVar2 = (int)uVar10;\n  if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }\n  iVar3 = 0;\n  do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);\nLAB_00295b20:\n  iVar3 = 0;\n  if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }\n  if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }\n  return iVar3;\n}" primitive_type (function_declarator "FUN_00295a20(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  int unaff_EDI;\n  byte bVar9;\n  undefined8 uVar10;\n  undefined4 local_20 [4];\n  \n  bVar9 = 0;\n  uVar10 = FUN_000644be();\n  iVar6 = (int)((ulonglong)uVar10 >> 0x20);\n  iVar2 = (int)uVar10;\n  if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }\n  iVar3 = 0;\n  do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);\nLAB_00295b20:\n  iVar3 = 0;\n  if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }\n  if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }\n  return iVar3;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "undefined4 local_20 [4];" type_identifier (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "bVar9 = 0;" (assignment_expression "bVar9 = 0" identifier = number_literal) ;) (expression_statement "uVar10 = FUN_000644be();" (assignment_expression "uVar10 = FUN_000644be()" identifier = (call_expression "FUN_000644be()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = (int)((ulonglong)uVar10 >> 0x20);" (assignment_expression "iVar6 = (int)((ulonglong)uVar10 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar10 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar10 >> 0x20)" ( (binary_expression "(ulonglong)uVar10 >> 0x20" (cast_expression "(ulonglong)uVar10" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar2 = (int)uVar10;" (assignment_expression "iVar2 = (int)uVar10" identifier = (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }" if (parenthesized_expression "((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0))" ( (binary_expression "(((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)" (parenthesized_expression "(((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0'))" ( (binary_expression "((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')" (parenthesized_expression "((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0)" ( (binary_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000) == 0" (parenthesized_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000)" ( (binary_expression "*(uint *)(iVar6 + 0x60) & 0x40000000" (pointer_expression "*(uint *)(iVar6 + 0x60)" * (cast_expression "(uint *)(iVar6 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x60)" ( (binary_expression "iVar6 + 0x60" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(char *)(iVar6 + 0x70) == '\0')" ( (binary_expression "*(char *)(iVar6 + 0x70) == '\0'" (pointer_expression "*(char *)(iVar6 + 0x70)" * (cast_expression "(char *)(iVar6 + 0x70)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x70)" ( (binary_expression "iVar6 + 0x70" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(*(int *)(iVar6 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar6 + 0x10) == 0" (pointer_expression "*(int *)(iVar6 + 0x10)" * (cast_expression "(int *)(iVar6 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }" { (if_statement "if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;" if (parenthesized_expression "(*(char *)(unaff_EDI + 0x122749) != '\x04')" ( (binary_expression "*(char *)(unaff_EDI + 0x122749) != '\x04'" (pointer_expression "*(char *)(unaff_EDI + 0x122749)" * (cast_expression "(char *)(unaff_EDI + 0x122749)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x122749)" ( (binary_expression "unaff_EDI + 0x122749" identifier + number_literal) )))) != (char_literal "'\x04'" ' escape_sequence ')) )) (goto_statement "goto FUN_00035ba0;" goto statement_identifier ;)) (if_statement "if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }" if (parenthesized_expression "((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0)" ( (binary_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000) != 0" (parenthesized_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000)" ( (binary_expression "*(uint *)(iVar6 + 0x60) & 0x40000000" (pointer_expression "*(uint *)(iVar6 + 0x60)" * (cast_expression "(uint *)(iVar6 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x60)" ( (binary_expression "iVar6 + 0x60" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }" { (expression_statement "*(undefined1 *)(iVar6 + 0x70) = 0;" (assignment_expression "*(undefined1 *)(iVar6 + 0x70) = 0" (pointer_expression "*(undefined1 *)(iVar6 + 0x70)" * (cast_expression "(undefined1 *)(iVar6 + 0x70)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x70)" ( (binary_expression "iVar6 + 0x70" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "*(undefined4 **)(iVar6 + 0x10) = local_20;" (assignment_expression "*(undefined4 **)(iVar6 + 0x10) = local_20" (pointer_expression "*(undefined4 **)(iVar6 + 0x10)" * (cast_expression "(undefined4 **)(iVar6 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_20[0] = *(undefined4 *)(iVar6 + 0x48);" (assignment_expression "local_20[0] = *(undefined4 *)(iVar6 + 0x48)" (subscript_expression "local_20[0]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(iVar6 + 0x48)" * (cast_expression "(undefined4 *)(iVar6 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x48)" ( (binary_expression "iVar6 + 0x48" identifier + number_literal) ))))) ;) })) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);" do (compound_statement "{\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  }" { (while_statement "while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }" { (expression_statement "puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);" (assignment_expression "puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar2 + iVar3 * 4)" * (cast_expression "(undefined4 **)(iVar2 + iVar3 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + iVar3 * 4)" ( (binary_expression "iVar2 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (expression_statement "puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);" (assignment_expression "puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4)" identifier = (pointer_expression "*(undefined4 **)(iVar6 + iVar3 * 4)" * (cast_expression "(undefined4 **)(iVar6 + iVar3 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + iVar3 * 4)" ( (binary_expression "iVar6 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;" if (parenthesized_expression "(*(char *)(iVar2 + 0x6c + iVar3) != '\0')" ( (binary_expression "*(char *)(iVar2 + 0x6c + iVar3) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x6c + iVar3)" * (cast_expression "(char *)(iVar2 + 0x6c + iVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x6c + iVar3)" ( (binary_expression "iVar2 + 0x6c + iVar3" (binary_expression "iVar2 + 0x6c" identifier + number_literal) + identifier) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto FUN_00035ba0;" goto statement_identifier ;)) (if_statement "if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;" if (parenthesized_expression "(*(char *)(iVar6 + 0x6c + iVar3) == '\0')" ( (binary_expression "*(char *)(iVar6 + 0x6c + iVar3) == '\0'" (pointer_expression "*(char *)(iVar6 + 0x6c + iVar3)" * (cast_expression "(char *)(iVar6 + 0x6c + iVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x6c + iVar3)" ( (binary_expression "iVar6 + 0x6c + iVar3" (binary_expression "iVar6 + 0x6c" identifier + number_literal) + identifier) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (if_statement "if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }" if (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }" { (if_statement "if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;" if (parenthesized_expression "((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')" ( (binary_expression "(&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04'" (subscript_expression "(&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI]" (parenthesized_expression "(&UNK_001195d9)" ( (pointer_expression "&UNK_001195d9" & identifier) )) [ (binary_expression "iVar3 + 0x916c + unaff_EDI" (binary_expression "iVar3 + 0x916c" identifier + number_literal) + identifier) ]) != (char_literal "'\x04'" ' escape_sequence ')) )) (goto_statement "goto FUN_00035ba0;" goto statement_identifier ;)) (expression_statement "*puVar4 = puVar8;" (assignment_expression "*puVar4 = puVar8" (pointer_expression "*puVar4" * identifier) = identifier) ;) })) (labeled_statement "LAB_00295a78:\n      iVar3 = iVar3 + 1;" statement_identifier : (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;)) (if_statement "if (iVar3 == 0x11) goto LAB_00295b20;" if (parenthesized_expression "(iVar3 == 0x11)" ( (binary_expression "iVar3 == 0x11" identifier == number_literal) )) (goto_statement "goto LAB_00295b20;" goto statement_identifier ;)) })) (if_statement "if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;" if (parenthesized_expression "((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))" ( (binary_expression "(puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8)" (parenthesized_expression "(puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0)" ( (binary_expression "puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0" (binary_expression "puVar8 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) || (parenthesized_expression "(puVar4 == puVar8)" ( (binary_expression "puVar4 == puVar8" identifier == identifier) ))) )) (goto_statement "goto LAB_00295a78;" goto statement_identifier ;)) (expression_statement "bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];" (assignment_expression "bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI]" identifier = (subscript_expression "(&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI]" (parenthesized_expression "(&UNK_001195d9)" ( (pointer_expression "&UNK_001195d9" & identifier) )) [ (binary_expression "iVar3 + 0x916c + unaff_EDI" (binary_expression "iVar3 + 0x916c" identifier + number_literal) + identifier) ])) ;) (expression_statement "uVar7 = (uint)bVar1;" (assignment_expression "uVar7 = (uint)bVar1" identifier = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }" if (parenthesized_expression "(uVar7 < 4)" ( (binary_expression "uVar7 < 4" identifier < number_literal) )) (compound_statement "{\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }" { (if_statement "if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }" if (parenthesized_expression "((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0))" ( (binary_expression "(uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)" (parenthesized_expression "(uVar7 != 0)" ( (binary_expression "uVar7 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)" ( (comma_expression "*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0" (assignment_expression "*(undefined1 *)puVar4 = *(undefined1 *)puVar8" (pointer_expression "*(undefined1 *)puVar4" * (cast_expression "(undefined1 *)puVar4" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined1 *)puVar8" * (cast_expression "(undefined1 *)puVar8" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) , (binary_expression "(bVar1 & 2) != 0" (parenthesized_expression "(bVar1 & 2)" ( (binary_expression "bVar1 & 2" identifier & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }" { (expression_statement "*(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));" (assignment_expression "*(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2))" (pointer_expression "*(undefined2 *)((int)puVar4 + (uVar7 - 2))" * (cast_expression "(undefined2 *)((int)puVar4 + (uVar7 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (uVar7 - 2))" ( (binary_expression "(int)puVar4 + (uVar7 - 2)" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - 2)" ( (binary_expression "uVar7 - 2" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined2 *)((int)puVar8 + (uVar7 - 2))" * (cast_expression "(undefined2 *)((int)puVar8 + (uVar7 - 2))" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + (uVar7 - 2))" ( (binary_expression "(int)puVar8 + (uVar7 - 2)" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - 2)" ( (binary_expression "uVar7 - 2" identifier - number_literal) ))) ))))) ;) })) (goto_statement "goto LAB_00295a78;" goto statement_identifier ;) })) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*puVar4 = *puVar8;" (assignment_expression "*puVar4 = *puVar8" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "*(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));" (assignment_expression "*(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4))" (pointer_expression "*(undefined4 *)((int)puVar4 + (uVar7 - 4))" * (cast_expression "(undefined4 *)((int)puVar4 + (uVar7 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (uVar7 - 4))" ( (binary_expression "(int)puVar4 + (uVar7 - 4)" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - 4)" ( (binary_expression "uVar7 - 4" identifier - number_literal) ))) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + (uVar7 - 4))" * (cast_expression "(undefined4 *)((int)puVar8 + (uVar7 - 4))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + (uVar7 - 4))" ( (binary_expression "(int)puVar8 + (uVar7 - 4)" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(uVar7 - 4)" ( (binary_expression "uVar7 - 4" identifier - number_literal) ))) ))))) ;) (expression_statement "iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);" (assignment_expression "iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc)" identifier = (binary_expression "(int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc)" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)((uint)(puVar4 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar4 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar4 + 1) & 0xfffffffc" (call_expression "(uint)(puVar4 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar4 + 1)" ( (binary_expression "puVar4 + 1" identifier + number_literal) ))) & number_literal) ))))) ;) (expression_statement "puVar8 = (undefined4 *)((int)puVar8 - iVar5);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar8 - iVar5)" identifier = (cast_expression "(undefined4 *)((int)puVar8 - iVar5)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 - iVar5)" ( (binary_expression "(int)puVar8 - iVar5" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) (expression_statement "puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);" (assignment_expression "puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar4 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar4 + 1) & 0xfffffffc" (call_expression "(uint)(puVar4 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar4 + 1)" ( (binary_expression "puVar4 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }" for ( (assignment_expression "uVar7 = iVar5 + uVar7 >> 2" identifier = (binary_expression "iVar5 + uVar7 >> 2" (binary_expression "iVar5 + uVar7" identifier + identifier) >> number_literal)) ; (binary_expression "uVar7 != 0" identifier != number_literal) ; (assignment_expression "uVar7 = uVar7 - 1" identifier = (binary_expression "uVar7 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }" { (expression_statement "*puVar4 = *puVar8;" (assignment_expression "*puVar4 = *puVar8" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar4 = puVar4 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "puVar4 + (uint)bVar9 * -2 + 1" (binary_expression "puVar4 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) }) while (parenthesized_expression "(iVar3 != 0x11)" ( (binary_expression "iVar3 != 0x11" identifier != number_literal) )) ;) (labeled_statement "LAB_00295b20:\n  iVar3 = 0;" statement_identifier : (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;)) (if_statement "if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }" if (parenthesized_expression "(((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0'))" ( (binary_expression "((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')" (parenthesized_expression "((*(byte *)(iVar2 + 99) & 0x40) != 0)" ( (binary_expression "(*(byte *)(iVar2 + 99) & 0x40) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 99) & 0x40)" ( (binary_expression "*(byte *)(iVar2 + 99) & 0x40" (pointer_expression "*(byte *)(iVar2 + 99)" * (cast_expression "(byte *)(iVar2 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 99)" ( (binary_expression "iVar2 + 99" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(char *)(iVar2 + 0x70) != '\0')" ( (binary_expression "*(char *)(iVar2 + 0x70) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x70)" * (cast_expression "(char *)(iVar2 + 0x70)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x70)" ( (binary_expression "iVar2 + 0x70" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (if_statement "if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }" if (parenthesized_expression "(*(int *)(iVar2 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar2 + 0x10) == 0" (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }" { (expression_statement "puVar4 = *(undefined4 **)(iVar6 + 0x10);" (assignment_expression "puVar4 = *(undefined4 **)(iVar6 + 0x10)" identifier = (pointer_expression "*(undefined4 **)(iVar6 + 0x10)" * (cast_expression "(undefined4 **)(iVar6 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }" if (parenthesized_expression "(((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0'))" ( (binary_expression "((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')" (parenthesized_expression "((*(byte *)(iVar6 + 99) & 0x40) == 0)" ( (binary_expression "(*(byte *)(iVar6 + 99) & 0x40) == 0" (parenthesized_expression "(*(byte *)(iVar6 + 99) & 0x40)" ( (binary_expression "*(byte *)(iVar6 + 99) & 0x40" (pointer_expression "*(byte *)(iVar6 + 99)" * (cast_expression "(byte *)(iVar6 + 99)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 99)" ( (binary_expression "iVar6 + 99" identifier + number_literal) )))) & number_literal) )) == number_literal) )) || (parenthesized_expression "(*(char *)(iVar6 + 0x70) == '\0')" ( (binary_expression "*(char *)(iVar6 + 0x70) == '\0'" (pointer_expression "*(char *)(iVar6 + 0x70)" * (cast_expression "(char *)(iVar6 + 0x70)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x70)" ( (binary_expression "iVar6 + 0x70" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }" { (if_statement "if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }" if (parenthesized_expression "(*(char *)(unaff_EDI + 0x122749) != '\x04')" ( (binary_expression "*(char *)(unaff_EDI + 0x122749) != '\x04'" (pointer_expression "*(char *)(unaff_EDI + 0x122749)" * (cast_expression "(char *)(unaff_EDI + 0x122749)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x122749)" ( (binary_expression "unaff_EDI + 0x122749" identifier + number_literal) )))) != (char_literal "'\x04'" ' escape_sequence ')) )) (compound_statement "{\nFUN_00035ba0:\n                    \n        abort();\n      }" { (labeled_statement "FUN_00035ba0:\n                    \n        abort();" statement_identifier : (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })) (expression_statement "puVar4 = (undefined4 *)*puVar4;" (assignment_expression "puVar4 = (undefined4 *)*puVar4" identifier = (cast_expression "(undefined4 *)*puVar4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar4" * identifier))) ;) })) (expression_statement "iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));" (assignment_expression "iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48))" identifier = (binary_expression "(int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48))" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48))" ( (binary_expression "*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48)" (pointer_expression "*(int *)(iVar6 + 0x68)" * (cast_expression "(int *)(iVar6 + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x68)" ( (binary_expression "iVar6 + 0x68" identifier + number_literal) )))) - (pointer_expression "*(int *)(iVar2 + 0x48)" * (cast_expression "(int *)(iVar2 + 0x48)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x48)" ( (binary_expression "iVar2 + 0x48" identifier + number_literal) ))))) )))) ;) })) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) == (char_literal ' escape_sequence ')) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (binary_expression IDENT + LIT) + IDENT) ]) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) || (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) || (parenthesized_expression ( (binary_expression IDENT == IDENT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (binary_expression IDENT + LIT) + IDENT) ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) , (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) ))))) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression IDENT - LIT) ))) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) >> LIT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_00295a20(void)\n\n{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  int unaff_EDI;\n  byte bVar9;\n  undefined8 uVar10;\n  undefined4 local_20 [4];\n  \n  bVar9 = 0;\n  uVar10 = FUN_000644be();\n  iVar6 = (int)((ulonglong)uVar10 >> 0x20);\n  iVar2 = (int)uVar10;\n  if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }\n  iVar3 = 0;\n  do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);\nLAB_00295b20:\n  iVar3 = 0;\n  if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }\n  if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }\n  return iVar3;\n}" (primitive_type "int") (function_declarator "FUN_00295a20(void)" (identifier "FUN_00295a20") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  undefined4 *puVar8;\n  int unaff_EDI;\n  byte bVar9;\n  undefined8 uVar10;\n  undefined4 local_20 [4];\n  \n  bVar9 = 0;\n  uVar10 = FUN_000644be();\n  iVar6 = (int)((ulonglong)uVar10 >> 0x20);\n  iVar2 = (int)uVar10;\n  if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }\n  iVar3 = 0;\n  do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);\nLAB_00295b20:\n  iVar3 = 0;\n  if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }\n  if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }\n  return iVar3;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "byte bVar9;" (type_identifier "byte") (identifier "bVar9") (; ";")) (declaration "undefined8 uVar10;" (type_identifier "undefined8") (identifier "uVar10") (; ";")) (declaration "undefined4 local_20 [4];" (type_identifier "undefined4") (array_declarator "local_20 [4]" (identifier "local_20") ([ "[") (number_literal "4") (] "]")) (; ";")) (expression_statement "bVar9 = 0;" (assignment_expression "bVar9 = 0" (identifier "bVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar10 = FUN_000644be();" (assignment_expression "uVar10 = FUN_000644be()" (identifier "uVar10") (= "=") (call_expression "FUN_000644be()" (identifier "FUN_000644be") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar6 = (int)((ulonglong)uVar10 >> 0x20);" (assignment_expression "iVar6 = (int)((ulonglong)uVar10 >> 0x20)" (identifier "iVar6") (= "=") (cast_expression "(int)((ulonglong)uVar10 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar10 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar10 >> 0x20" (cast_expression "(ulonglong)uVar10" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar10")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "iVar2 = (int)uVar10;" (assignment_expression "iVar2 = (int)uVar10" (identifier "iVar2") (= "=") (cast_expression "(int)uVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar10"))) (; ";")) (if_statement "if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)) {\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }" (if "if") (parenthesized_expression "((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0))" (( "(") (binary_expression "(((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&\n     (*(int *)(iVar6 + 0x10) == 0)" (parenthesized_expression "(((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0'))" (( "(") (binary_expression "((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')" (parenthesized_expression "((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0)" (( "(") (binary_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000) == 0" (parenthesized_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000)" (( "(") (binary_expression "*(uint *)(iVar6 + 0x60) & 0x40000000" (pointer_expression "*(uint *)(iVar6 + 0x60)" (* "*") (cast_expression "(uint *)(iVar6 + 0x60)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x60)" (( "(") (binary_expression "iVar6 + 0x60" (identifier "iVar6") (+ "+") (number_literal "0x60")) () ")")))) (& "&") (number_literal "0x40000000")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(char *)(iVar6 + 0x70) == '\0')" (( "(") (binary_expression "*(char *)(iVar6 + 0x70) == '\0'" (pointer_expression "*(char *)(iVar6 + 0x70)" (* "*") (cast_expression "(char *)(iVar6 + 0x70)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x70)" (( "(") (binary_expression "iVar6 + 0x70" (identifier "iVar6") (+ "+") (number_literal "0x70")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar6 + 0x10) == 0)" (( "(") (binary_expression "*(int *)(iVar6 + 0x10) == 0" (pointer_expression "*(int *)(iVar6 + 0x10)" (* "*") (cast_expression "(int *)(iVar6 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x10)" (( "(") (binary_expression "iVar6 + 0x10" (identifier "iVar6") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;\n    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }\n    *(undefined4 **)(iVar6 + 0x10) = local_20;\n    local_20[0] = *(undefined4 *)(iVar6 + 0x48);\n  }" ({ "{") (if_statement "if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;" (if "if") (parenthesized_expression "(*(char *)(unaff_EDI + 0x122749) != '\x04')" (( "(") (binary_expression "*(char *)(unaff_EDI + 0x122749) != '\x04'" (pointer_expression "*(char *)(unaff_EDI + 0x122749)" (* "*") (cast_expression "(char *)(unaff_EDI + 0x122749)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x122749)" (( "(") (binary_expression "unaff_EDI + 0x122749" (identifier "unaff_EDI") (+ "+") (number_literal "0x122749")) () ")")))) (!= "!=") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (goto_statement "goto FUN_00035ba0;" (goto "goto") (statement_identifier "FUN_00035ba0") (; ";"))) (if_statement "if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }" (if "if") (parenthesized_expression "((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0)" (( "(") (binary_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000) != 0" (parenthesized_expression "(*(uint *)(iVar6 + 0x60) & 0x40000000)" (( "(") (binary_expression "*(uint *)(iVar6 + 0x60) & 0x40000000" (pointer_expression "*(uint *)(iVar6 + 0x60)" (* "*") (cast_expression "(uint *)(iVar6 + 0x60)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x60)" (( "(") (binary_expression "iVar6 + 0x60" (identifier "iVar6") (+ "+") (number_literal "0x60")) () ")")))) (& "&") (number_literal "0x40000000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined1 *)(iVar6 + 0x70) = 0;\n    }" ({ "{") (expression_statement "*(undefined1 *)(iVar6 + 0x70) = 0;" (assignment_expression "*(undefined1 *)(iVar6 + 0x70) = 0" (pointer_expression "*(undefined1 *)(iVar6 + 0x70)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0x70)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x70)" (( "(") (binary_expression "iVar6 + 0x70" (identifier "iVar6") (+ "+") (number_literal "0x70")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "*(undefined4 **)(iVar6 + 0x10) = local_20;" (assignment_expression "*(undefined4 **)(iVar6 + 0x10) = local_20" (pointer_expression "*(undefined4 **)(iVar6 + 0x10)" (* "*") (cast_expression "(undefined4 **)(iVar6 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0x10)" (( "(") (binary_expression "iVar6 + 0x10" (identifier "iVar6") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "local_20")) (; ";")) (expression_statement "local_20[0] = *(undefined4 *)(iVar6 + 0x48);" (assignment_expression "local_20[0] = *(undefined4 *)(iVar6 + 0x48)" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(iVar6 + 0x48)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x48)" (( "(") (binary_expression "iVar6 + 0x48" (identifier "iVar6") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  } while (iVar3 != 0x11);" (do "do") (compound_statement "{\n    while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }\n    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;\n    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];\n    uVar7 = (uint)bVar1;\n    if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }\n    iVar3 = iVar3 + 1;\n    *puVar4 = *puVar8;\n    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));\n    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);\n    puVar8 = (undefined4 *)((int)puVar8 - iVar5);\n    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);\n    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }\n  }" ({ "{") (while_statement "while( true ) {\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);\n      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);\n      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;\n      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;\n      if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }\nLAB_00295a78:\n      iVar3 = iVar3 + 1;\n      if (iVar3 == 0x11) goto LAB_00295b20;\n    }" ({ "{") (expression_statement "puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);" (assignment_expression "puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)(iVar2 + iVar3 * 4)" (* "*") (cast_expression "(undefined4 **)(iVar2 + iVar3 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + iVar3 * 4)" (( "(") (binary_expression "iVar2 + iVar3 * 4" (identifier "iVar2") (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);" (assignment_expression "puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4)" (identifier "puVar8") (= "=") (pointer_expression "*(undefined4 **)(iVar6 + iVar3 * 4)" (* "*") (cast_expression "(undefined4 **)(iVar6 + iVar3 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + iVar3 * 4)" (( "(") (binary_expression "iVar6 + iVar3 * 4" (identifier "iVar6") (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;" (if "if") (parenthesized_expression "(*(char *)(iVar2 + 0x6c + iVar3) != '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 0x6c + iVar3) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x6c + iVar3)" (* "*") (cast_expression "(char *)(iVar2 + 0x6c + iVar3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x6c + iVar3)" (( "(") (binary_expression "iVar2 + 0x6c + iVar3" (binary_expression "iVar2 + 0x6c" (identifier "iVar2") (+ "+") (number_literal "0x6c")) (+ "+") (identifier "iVar3")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto FUN_00035ba0;" (goto "goto") (statement_identifier "FUN_00035ba0") (; ";"))) (if_statement "if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;" (if "if") (parenthesized_expression "(*(char *)(iVar6 + 0x6c + iVar3) == '\0')" (( "(") (binary_expression "*(char *)(iVar6 + 0x6c + iVar3) == '\0'" (pointer_expression "*(char *)(iVar6 + 0x6c + iVar3)" (* "*") (cast_expression "(char *)(iVar6 + 0x6c + iVar3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x6c + iVar3)" (( "(") (binary_expression "iVar6 + 0x6c + iVar3" (binary_expression "iVar6 + 0x6c" (identifier "iVar6") (+ "+") (number_literal "0x6c")) (+ "+") (identifier "iVar3")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (puVar4 != (undefined4 *)0x0) {\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }" (if "if") (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar4 != (undefined4 *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;\n        *puVar4 = puVar8;\n      }" ({ "{") (if_statement "if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;" (if "if") (parenthesized_expression "((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04')" (( "(") (binary_expression "(&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04'" (subscript_expression "(&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI]" (parenthesized_expression "(&UNK_001195d9)" (( "(") (pointer_expression "&UNK_001195d9" (& "&") (identifier "UNK_001195d9")) () ")")) ([ "[") (binary_expression "iVar3 + 0x916c + unaff_EDI" (binary_expression "iVar3 + 0x916c" (identifier "iVar3") (+ "+") (number_literal "0x916c")) (+ "+") (identifier "unaff_EDI")) (] "]")) (!= "!=") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (goto_statement "goto FUN_00035ba0;" (goto "goto") (statement_identifier "FUN_00035ba0") (; ";"))) (expression_statement "*puVar4 = puVar8;" (assignment_expression "*puVar4 = puVar8" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "puVar8")) (; ";")) (} "}"))) (labeled_statement "LAB_00295a78:\n      iVar3 = iVar3 + 1;" (statement_identifier "LAB_00295a78") (: ":") (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";"))) (if_statement "if (iVar3 == 0x11) goto LAB_00295b20;" (if "if") (parenthesized_expression "(iVar3 == 0x11)" (( "(") (binary_expression "iVar3 == 0x11" (identifier "iVar3") (== "==") (number_literal "0x11")) () ")")) (goto_statement "goto LAB_00295b20;" (goto "goto") (statement_identifier "LAB_00295b20") (; ";"))) (} "}"))) (if_statement "if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))\n    goto LAB_00295a78;" (if "if") (parenthesized_expression "((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))" (( "(") (binary_expression "(puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8)" (parenthesized_expression "(puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0" (binary_expression "puVar8 == (undefined4 *)0x0" (identifier "puVar8") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (|| "||") (binary_expression "puVar4 == (undefined4 *)0x0" (identifier "puVar4") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (|| "||") (parenthesized_expression "(puVar4 == puVar8)" (( "(") (binary_expression "puVar4 == puVar8" (identifier "puVar4") (== "==") (identifier "puVar8")) () ")"))) () ")")) (goto_statement "goto LAB_00295a78;" (goto "goto") (statement_identifier "LAB_00295a78") (; ";"))) (expression_statement "bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];" (assignment_expression "bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI]" (identifier "bVar1") (= "=") (subscript_expression "(&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI]" (parenthesized_expression "(&UNK_001195d9)" (( "(") (pointer_expression "&UNK_001195d9" (& "&") (identifier "UNK_001195d9")) () ")")) ([ "[") (binary_expression "iVar3 + 0x916c + unaff_EDI" (binary_expression "iVar3 + 0x916c" (identifier "iVar3") (+ "+") (number_literal "0x916c")) (+ "+") (identifier "unaff_EDI")) (] "]"))) (; ";")) (expression_statement "uVar7 = (uint)bVar1;" (assignment_expression "uVar7 = (uint)bVar1" (identifier "uVar7") (= "=") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1"))) (; ";")) (if_statement "if (uVar7 < 4) {\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }" (if "if") (parenthesized_expression "(uVar7 < 4)" (( "(") (binary_expression "uVar7 < 4" (identifier "uVar7") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }\n      goto LAB_00295a78;\n    }" ({ "{") (if_statement "if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }" (if "if") (parenthesized_expression "((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0))" (( "(") (binary_expression "(uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)" (parenthesized_expression "(uVar7 != 0)" (( "(") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)" (( "(") (comma_expression "*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0" (assignment_expression "*(undefined1 *)puVar4 = *(undefined1 *)puVar8" (pointer_expression "*(undefined1 *)puVar4" (* "*") (cast_expression "(undefined1 *)puVar4" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar4"))) (= "=") (pointer_expression "*(undefined1 *)puVar8" (* "*") (cast_expression "(undefined1 *)puVar8" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar8")))) (, ",") (binary_expression "(bVar1 & 2) != 0" (parenthesized_expression "(bVar1 & 2)" (( "(") (binary_expression "bVar1 & 2" (identifier "bVar1") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));\n      }" ({ "{") (expression_statement "*(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));" (assignment_expression "*(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2))" (pointer_expression "*(undefined2 *)((int)puVar4 + (uVar7 - 2))" (* "*") (cast_expression "(undefined2 *)((int)puVar4 + (uVar7 - 2))" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar4 + (uVar7 - 2))" (( "(") (binary_expression "(int)puVar4 + (uVar7 - 2)" (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4")) (+ "+") (parenthesized_expression "(uVar7 - 2)" (( "(") (binary_expression "uVar7 - 2" (identifier "uVar7") (- "-") (number_literal "2")) () ")"))) () ")")))) (= "=") (pointer_expression "*(undefined2 *)((int)puVar8 + (uVar7 - 2))" (* "*") (cast_expression "(undefined2 *)((int)puVar8 + (uVar7 - 2))" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + (uVar7 - 2))" (( "(") (binary_expression "(int)puVar8 + (uVar7 - 2)" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (parenthesized_expression "(uVar7 - 2)" (( "(") (binary_expression "uVar7 - 2" (identifier "uVar7") (- "-") (number_literal "2")) () ")"))) () ")"))))) (; ";")) (} "}"))) (goto_statement "goto LAB_00295a78;" (goto "goto") (statement_identifier "LAB_00295a78") (; ";")) (} "}"))) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar4 = *puVar8;" (assignment_expression "*puVar4 = *puVar8" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar8" (* "*") (identifier "puVar8"))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));" (assignment_expression "*(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4))" (pointer_expression "*(undefined4 *)((int)puVar4 + (uVar7 - 4))" (* "*") (cast_expression "(undefined4 *)((int)puVar4 + (uVar7 - 4))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar4 + (uVar7 - 4))" (( "(") (binary_expression "(int)puVar4 + (uVar7 - 4)" (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4")) (+ "+") (parenthesized_expression "(uVar7 - 4)" (( "(") (binary_expression "uVar7 - 4" (identifier "uVar7") (- "-") (number_literal "4")) () ")"))) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)puVar8 + (uVar7 - 4))" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + (uVar7 - 4))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + (uVar7 - 4))" (( "(") (binary_expression "(int)puVar8 + (uVar7 - 4)" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (parenthesized_expression "(uVar7 - 4)" (( "(") (binary_expression "uVar7 - 4" (identifier "uVar7") (- "-") (number_literal "4")) () ")"))) () ")"))))) (; ";")) (expression_statement "iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);" (assignment_expression "iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc)" (identifier "iVar5") (= "=") (binary_expression "(int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc)" (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4")) (- "-") (cast_expression "(int)((uint)(puVar4 + 1) & 0xfffffffc)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)(puVar4 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar4 + 1) & 0xfffffffc" (call_expression "(uint)(puVar4 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar4 + 1)" (( "(") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")"))))) (; ";")) (expression_statement "puVar8 = (undefined4 *)((int)puVar8 - iVar5);" (assignment_expression "puVar8 = (undefined4 *)((int)puVar8 - iVar5)" (identifier "puVar8") (= "=") (cast_expression "(undefined4 *)((int)puVar8 - iVar5)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 - iVar5)" (( "(") (binary_expression "(int)puVar8 - iVar5" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (- "-") (identifier "iVar5")) () ")")))) (; ";")) (expression_statement "puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);" (assignment_expression "puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(puVar4 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar4 + 1) & 0xfffffffc" (call_expression "(uint)(puVar4 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar4 + 1)" (( "(") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (for_statement "for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }" (for "for") (( "(") (assignment_expression "uVar7 = iVar5 + uVar7 >> 2" (identifier "uVar7") (= "=") (binary_expression "iVar5 + uVar7 >> 2" (binary_expression "iVar5 + uVar7" (identifier "iVar5") (+ "+") (identifier "uVar7")) (>> ">>") (number_literal "2"))) (; ";") (binary_expression "uVar7 != 0" (identifier "uVar7") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar7 = uVar7 - 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 - 1" (identifier "uVar7") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n      *puVar4 = *puVar8;\n      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;\n      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;\n    }" ({ "{") (expression_statement "*puVar4 = *puVar8;" (assignment_expression "*puVar4 = *puVar8" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar8" (* "*") (identifier "puVar8"))) (; ";")) (expression_statement "puVar8 = puVar8 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar9 * -2 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + (uint)bVar9 * -2 + 1" (binary_expression "puVar8 + (uint)bVar9 * -2" (identifier "puVar8") (+ "+") (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar9")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar4 = puVar4 + (uint)bVar9 * -2 + 1;" (assignment_expression "puVar4 = puVar4 + (uint)bVar9 * -2 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + (uint)bVar9 * -2 + 1" (binary_expression "puVar4 + (uint)bVar9 * -2" (identifier "puVar4") (+ "+") (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar9")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0x11)" (( "(") (binary_expression "iVar3 != 0x11" (identifier "iVar3") (!= "!=") (number_literal "0x11")) () ")")) (; ";")) (labeled_statement "LAB_00295b20:\n  iVar3 = 0;" (statement_identifier "LAB_00295b20") (: ":") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";"))) (if_statement "if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {\n    return iVar3;\n  }" (if "if") (parenthesized_expression "(((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0'))" (( "(") (binary_expression "((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')" (parenthesized_expression "((*(byte *)(iVar2 + 99) & 0x40) != 0)" (( "(") (binary_expression "(*(byte *)(iVar2 + 99) & 0x40) != 0" (parenthesized_expression "(*(byte *)(iVar2 + 99) & 0x40)" (( "(") (binary_expression "*(byte *)(iVar2 + 99) & 0x40" (pointer_expression "*(byte *)(iVar2 + 99)" (* "*") (cast_expression "(byte *)(iVar2 + 99)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 99)" (( "(") (binary_expression "iVar2 + 99" (identifier "iVar2") (+ "+") (number_literal "99")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(iVar2 + 0x70) != '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 0x70) != '\0'" (pointer_expression "*(char *)(iVar2 + 0x70)" (* "*") (cast_expression "(char *)(iVar2 + 0x70)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x70)" (( "(") (binary_expression "iVar2 + 0x70" (identifier "iVar2") (+ "+") (number_literal "0x70")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    return iVar3;\n  }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar2 + 0x10) == 0) {\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar2 + 0x10) == 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x10) == 0" (pointer_expression "*(int *)(iVar2 + 0x10)" (* "*") (cast_expression "(int *)(iVar2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar4 = *(undefined4 **)(iVar6 + 0x10);\n    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }\n    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));\n  }" ({ "{") (expression_statement "puVar4 = *(undefined4 **)(iVar6 + 0x10);" (assignment_expression "puVar4 = *(undefined4 **)(iVar6 + 0x10)" (identifier "puVar4") (= "=") (pointer_expression "*(undefined4 **)(iVar6 + 0x10)" (* "*") (cast_expression "(undefined4 **)(iVar6 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0x10)" (( "(") (binary_expression "iVar6 + 0x10" (identifier "iVar6") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }" (if "if") (parenthesized_expression "(((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0'))" (( "(") (binary_expression "((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')" (parenthesized_expression "((*(byte *)(iVar6 + 99) & 0x40) == 0)" (( "(") (binary_expression "(*(byte *)(iVar6 + 99) & 0x40) == 0" (parenthesized_expression "(*(byte *)(iVar6 + 99) & 0x40)" (( "(") (binary_expression "*(byte *)(iVar6 + 99) & 0x40" (pointer_expression "*(byte *)(iVar6 + 99)" (* "*") (cast_expression "(byte *)(iVar6 + 99)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 99)" (( "(") (binary_expression "iVar6 + 99" (identifier "iVar6") (+ "+") (number_literal "99")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(char *)(iVar6 + 0x70) == '\0')" (( "(") (binary_expression "*(char *)(iVar6 + 0x70) == '\0'" (pointer_expression "*(char *)(iVar6 + 0x70)" (* "*") (cast_expression "(char *)(iVar6 + 0x70)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x70)" (( "(") (binary_expression "iVar6 + 0x70" (identifier "iVar6") (+ "+") (number_literal "0x70")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }\n      puVar4 = (undefined4 *)*puVar4;\n    }" ({ "{") (if_statement "if (*(char *)(unaff_EDI + 0x122749) != '\x04') {\nFUN_00035ba0:\n                    \n        abort();\n      }" (if "if") (parenthesized_expression "(*(char *)(unaff_EDI + 0x122749) != '\x04')" (( "(") (binary_expression "*(char *)(unaff_EDI + 0x122749) != '\x04'" (pointer_expression "*(char *)(unaff_EDI + 0x122749)" (* "*") (cast_expression "(char *)(unaff_EDI + 0x122749)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x122749)" (( "(") (binary_expression "unaff_EDI + 0x122749" (identifier "unaff_EDI") (+ "+") (number_literal "0x122749")) () ")")))) (!= "!=") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (compound_statement "{\nFUN_00035ba0:\n                    \n        abort();\n      }" ({ "{") (labeled_statement "FUN_00035ba0:\n                    \n        abort();" (statement_identifier "FUN_00035ba0") (: ":") (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";"))) (} "}"))) (expression_statement "puVar4 = (undefined4 *)*puVar4;" (assignment_expression "puVar4 = (undefined4 *)*puVar4" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)*puVar4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")))) (; ";")) (} "}"))) (expression_statement "iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));" (assignment_expression "iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48))" (identifier "iVar3") (= "=") (binary_expression "(int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48))" (cast_expression "(int)puVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar4")) (+ "+") (parenthesized_expression "(*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48))" (( "(") (binary_expression "*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48)" (pointer_expression "*(int *)(iVar6 + 0x68)" (* "*") (cast_expression "(int *)(iVar6 + 0x68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x68)" (( "(") (binary_expression "iVar6 + 0x68" (identifier "iVar6") (+ "+") (number_literal "0x68")) () ")")))) (- "-") (pointer_expression "*(int *)(iVar2 + 0x48)" (* "*") (cast_expression "(int *)(iVar2 + 0x48)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x48)" (( "(") (binary_expression "iVar2 + 0x48" (identifier "iVar2") (+ "+") (number_literal "0x48")) () ")"))))) () ")")))) (; ";")) (} "}"))) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}")))

int function_1(void)

{
  type_1 var_9;
  int var_4;
  int var_5;
  type_2 *var_6;
  int var_10;
  int var_2;
  type_3 var_8;
  type_2 *var_7;
  int var_3;
  type_1 bVar9;
  type_4 uVar10;
  type_2 local_20 [4];
  
  bVar9 = 0;
  uVar10 = var_1();
  var_2 = (int)((type_5)uVar10 >> 0x20);
  var_4 = (int)uVar10;
  if ((((*(type_3 *)(var_2 + 0x60) & 0x40000000) == 0) || (*(char *)(var_2 + 0x70) == '\0')) &&
     (*(int *)(var_2 + 0x10) == 0)) {
    if (*(char *)(var_3 + 0x122749) != '\x04') goto uw_install_context_1_cold_13;
    if ((*(type_3 *)(var_2 + 0x60) & 0x40000000) != 0) {
      *(type_6 *)(var_2 + 0x70) = 0;
    }
    *(type_2 **)(var_2 + 0x10) = local_20;
    local_20[0] = *(type_2 *)(var_2 + 0x48);
  }
  var_5 = 0;
  do {
    while( true ) {
      var_6 = *(type_2 **)(var_4 + var_5 * 4);
      var_7 = *(type_2 **)(var_2 + var_5 * 4);
      if (*(char *)(var_4 + 0x6c + var_5) != '\0') goto uw_install_context_1_cold_13;
      if (*(char *)(var_2 + 0x6c + var_5) == '\0') break;
      if (var_6 != (type_2 *)0x0) {
        if ((&UNK_001195d9)[var_5 + 0x916c + var_3] != '\x04')
        goto uw_install_context_1_cold_13;
        *var_6 = var_7;
      }
LAB_00295a78:
      var_5 = var_5 + 1;
      if (var_5 == 0x11) goto LAB_00295b20;
    }
    if ((var_7 == (type_2 *)0x0 || var_6 == (type_2 *)0x0) || (var_6 == var_7))
    goto LAB_00295a78;
    var_9 = (&UNK_001195d9)[var_5 + 0x916c + var_3];
    var_8 = (type_3)var_9;
    if (var_8 < 4) {
      if ((var_8 != 0) && (*(type_6 *)var_6 = *(type_6 *)var_7, (var_9 & 2) != 0)) {
        *(type_7 *)((int)var_6 + (var_8 - 2)) = *(type_7 *)((int)var_7 + (var_8 - 2));
      }
      goto LAB_00295a78;
    }
    var_5 = var_5 + 1;
    *var_6 = *var_7;
    *(type_2 *)((int)var_6 + (var_8 - 4)) = *(type_2 *)((int)var_7 + (var_8 - 4));
    var_10 = (int)var_6 - (int)((type_3)(var_6 + 1) & 0xfffffffc);
    var_7 = (type_2 *)((int)var_7 - var_10);
    var_6 = (type_2 *)((type_3)(var_6 + 1) & 0xfffffffc);
    for (var_8 = var_10 + var_8 >> 2; var_8 != 0; var_8 = var_8 - 1) {
      *var_6 = *var_7;
      var_7 = var_7 + (type_3)bVar9 * -2 + 1;
      var_6 = var_6 + (type_3)bVar9 * -2 + 1;
    }
  } while (var_5 != 0x11);
LAB_00295b20:
  var_5 = 0;
  if (((*(type_1 *)(var_4 + 99) & 0x40) != 0) && (*(char *)(var_4 + 0x70) != '\0')) {
    return var_5;
  }
  if (*(int *)(var_4 + 0x10) == 0) {
    var_6 = *(type_2 **)(var_2 + 0x10);
    if (((*(type_1 *)(var_2 + 99) & 0x40) == 0) || (*(char *)(var_2 + 0x70) == '\0')) {
      if (*(char *)(var_3 + 0x122749) != '\x04') {
uw_install_context_1_cold_13:
                    /* WARNING: Subroutine does not return */
        var_11();
      }
      var_6 = (type_2 *)*var_6;
    }
    var_5 = (int)var_6 + (*(int *)(var_2 + 0x68) - *(int *)(var_4 + 0x48));
  }
  return var_5;
}


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

int MASKED(void)

{
  byte bVar1;
  int iVar2;
  int iVar3;
  undefined4 *puVar4;
  int iVar5;
  int iVar6;
  uint uVar7;
  undefined4 *puVar8;
  int unaff_EDI;
  byte bVar9;
  undefined8 uVar10;
  undefined4 local_20 [4];
  
  bVar9 = 0;
  uVar10 = FUN_000644be();
  iVar6 = (int)((ulonglong)uVar10 >> 0x20);
  iVar2 = (int)uVar10;
  if ((((*(uint *)(iVar6 + 0x60) & 0x40000000) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) &&
     (*(int *)(iVar6 + 0x10) == 0)) {
    if (*(char *)(unaff_EDI + 0x122749) != '\x04') goto FUN_00035ba0;
    if ((*(uint *)(iVar6 + 0x60) & 0x40000000) != 0) {
      *(undefined1 *)(iVar6 + 0x70) = 0;
    }
    *(undefined4 **)(iVar6 + 0x10) = local_20;
    local_20[0] = *(undefined4 *)(iVar6 + 0x48);
  }
  iVar3 = 0;
  do {
    while( true ) {
      puVar4 = *(undefined4 **)(iVar2 + iVar3 * 4);
      puVar8 = *(undefined4 **)(iVar6 + iVar3 * 4);
      if (*(char *)(iVar2 + 0x6c + iVar3) != '\0') goto FUN_00035ba0;
      if (*(char *)(iVar6 + 0x6c + iVar3) == '\0') break;
      if (puVar4 != (undefined4 *)0x0) {
        if ((&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI] != '\x04') goto FUN_00035ba0;
        *puVar4 = puVar8;
      }
LAB_00295a78:
      iVar3 = iVar3 + 1;
      if (iVar3 == 0x11) goto LAB_00295b20;
    }
    if ((puVar8 == (undefined4 *)0x0 || puVar4 == (undefined4 *)0x0) || (puVar4 == puVar8))
    goto LAB_00295a78;
    bVar1 = (&UNK_001195d9)[iVar3 + 0x916c + unaff_EDI];
    uVar7 = (uint)bVar1;
    if (uVar7 < 4) {
      if ((uVar7 != 0) && (*(undefined1 *)puVar4 = *(undefined1 *)puVar8, (bVar1 & 2) != 0)) {
        *(undefined2 *)((int)puVar4 + (uVar7 - 2)) = *(undefined2 *)((int)puVar8 + (uVar7 - 2));
      }
      goto LAB_00295a78;
    }
    iVar3 = iVar3 + 1;
    *puVar4 = *puVar8;
    *(undefined4 *)((int)puVar4 + (uVar7 - 4)) = *(undefined4 *)((int)puVar8 + (uVar7 - 4));
    iVar5 = (int)puVar4 - (int)((uint)(puVar4 + 1) & 0xfffffffc);
    puVar8 = (undefined4 *)((int)puVar8 - iVar5);
    puVar4 = (undefined4 *)((uint)(puVar4 + 1) & 0xfffffffc);
    for (uVar7 = iVar5 + uVar7 >> 2; uVar7 != 0; uVar7 = uVar7 - 1) {
      *puVar4 = *puVar8;
      puVar8 = puVar8 + (uint)bVar9 * -2 + 1;
      puVar4 = puVar4 + (uint)bVar9 * -2 + 1;
    }
  } while (iVar3 != 0x11);
LAB_00295b20:
  iVar3 = 0;
  if (((*(byte *)(iVar2 + 99) & 0x40) != 0) && (*(char *)(iVar2 + 0x70) != '\0')) {
    return iVar3;
  }
  if (*(int *)(iVar2 + 0x10) == 0) {
    puVar4 = *(undefined4 **)(iVar6 + 0x10);
    if (((*(byte *)(iVar6 + 99) & 0x40) == 0) || (*(char *)(iVar6 + 0x70) == '\0')) {
      if (*(char *)(unaff_EDI + 0x122749) != '\x04') {
FUN_00035ba0:
                    /* WARNING: Subroutine does not return */
        abort();
      }
      puVar4 = (undefined4 *)*puVar4;
    }
    iVar3 = (int)puVar4 + (*(int *)(iVar6 + 0x68) - *(int *)(iVar2 + 0x48));
  }
  return iVar3;
}

