
void emit_inc_line_addr(int line_delta,addressT addr_delta,char *p,int len)

{
  int iVar1;
  uint uVar2;
  int extraout_ECX;
  char *pcVar3;
  uint uVar4;
  char *pcVar5;
  int iVar6;
  int unaff_EDI;
  char *pcVar7;
  undefined8 uVar8;
  uint local_28;
  
  uVar8 = __x86_get_pc_thunk_di();
  uVar2 = (uint)((ulonglong)uVar8 >> 0x20);
  iVar1 = (int)uVar8;
  pcVar5 = (char *)((int)addr_delta + line_delta);
  if (extraout_ECX < 0) {
                    /* WARNING: Subroutine does not return */
    as_abort((char *)(unaff_EDI + 0x42d94),0x4bd,(char *)(unaff_EDI + 0x4305d));
  }
  if (iVar1 == 0x7fffffff) {
    pcVar7 = (char *)(line_delta + 1);
    if (extraout_ECX == 0 && uVar2 == 0x11) {
      *(undefined1 *)line_delta = 8;
    }
    else {
      *(undefined1 *)line_delta = 2;
      uVar2 = output_leb128(pcVar7,CONCAT44(extraout_ECX,uVar2),0);
      pcVar7 = pcVar7 + uVar2;
    }
    pcVar3 = pcVar7 + 3;
    pcVar7[2] = '\x01';
    pcVar7[0] = '\0';
    pcVar7[1] = '\x01';
    goto LAB_0001a479;
  }
  local_28 = iVar1 + 5;
  if (local_28 < 0xe) {
    iVar6 = iVar1;
    if (iVar1 == 0) goto LAB_0001a4cb;
    local_28 = iVar1 + 0x12;
    iVar6 = 0;
    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {
LAB_0001a42d:
      uVar4 = uVar2 * 0xe + local_28;
      if (uVar4 < 0x100) {
        pcVar3 = (char *)(line_delta + 1);
        *(char *)line_delta = (char)uVar4;
        goto LAB_0001a479;
      }
      if (uVar4 - 0xee < 0x100) {
        *(char *)line_delta = '\b';
        pcVar3 = (char *)(line_delta + 2);
        *(char *)(line_delta + 1) = (char)(uVar4 - 0xee);
        goto LAB_0001a479;
      }
      goto LAB_0001a452;
    }
    *(undefined1 *)line_delta = 2;
    uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);
    pcVar7 = (char *)(line_delta + 1) + uVar2;
  }
  else {
    *(undefined1 *)line_delta = 3;
    iVar6 = 1;
    uVar4 = output_leb128((char *)(line_delta + 1),(longlong)iVar1,1);
    local_28 = 5;
    line_delta = (int)((char *)(line_delta + 1) + uVar4);
LAB_0001a4cb:
    if (extraout_ECX == 0 && uVar2 == 0) {
      pcVar3 = (char *)(line_delta + 1);
      *(char *)line_delta = '\x01';
      goto LAB_0001a479;
    }
    local_28 = local_28 + 0xd;
    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;
LAB_0001a452:
    *(char *)line_delta = '\x02';
    uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);
    pcVar7 = (char *)(line_delta + 1) + uVar2;
    if (iVar6 != 0) {
      *pcVar7 = '\x01';
      pcVar3 = pcVar7 + 1;
      goto LAB_0001a479;
    }
  }
  pcVar3 = pcVar7 + 1;
  *pcVar7 = (char)local_28;
LAB_0001a479:
  if (pcVar3 != pcVar5) {
                    /* WARNING: Subroutine does not return */
    as_abort((char *)(unaff_EDI + 0x42d94),0x50e,(char *)(unaff_EDI + 0x4305d));
  }
  return;
}



void FUN_0001a3c0(undefined1 *param_1,int param_2)

{
  int iVar1;
  int extraout_ECX;
  uint uVar2;
  undefined1 *puVar3;
  uint uVar4;
  undefined1 *puVar5;
  int iVar6;
  undefined2 *puVar7;
  int unaff_EDI;
  undefined1 *puVar8;
  undefined8 uVar9;
  uint local_28;
  
  uVar9 = FUN_0001d569();
  uVar2 = (uint)((ulonglong)uVar9 >> 0x20);
  iVar1 = (int)uVar9;
  puVar5 = param_1 + param_2;
  if (extraout_ECX < 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);
  }
  if (iVar1 == 0x7fffffff) {
    puVar7 = (undefined2 *)(param_1 + 1);
    if (extraout_ECX == 0 && uVar2 == 0x11) {
      *param_1 = 8;
    }
    else {
      *param_1 = 2;
      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);
      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);
    }
    puVar3 = (undefined1 *)((int)puVar7 + 3);
    *(undefined1 *)(puVar7 + 1) = 1;
    *puVar7 = 0x100;
    goto LAB_0001a479;
  }
  local_28 = iVar1 + 5;
  if (local_28 < 0xe) {
    iVar6 = iVar1;
    if (iVar1 == 0) goto LAB_0001a4cb;
    local_28 = iVar1 + 0x12;
    iVar6 = 0;
    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {
LAB_0001a42d:
      uVar4 = uVar2 * 0xe + local_28;
      if (uVar4 < 0x100) {
        puVar3 = param_1 + 1;
        *param_1 = (char)uVar4;
        goto LAB_0001a479;
      }
      if (uVar4 - 0xee < 0x100) {
        *param_1 = 8;
        puVar3 = param_1 + 2;
        param_1[1] = (char)(uVar4 - 0xee);
        goto LAB_0001a479;
      }
      goto LAB_0001a452;
    }
    *param_1 = 2;
    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);
    puVar8 = param_1 + 1 + iVar1;
  }
  else {
    *param_1 = 3;
    iVar6 = 1;
    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);
    local_28 = 5;
    param_1 = param_1 + 1 + iVar1;
LAB_0001a4cb:
    if (extraout_ECX == 0 && uVar2 == 0) {
      puVar3 = param_1 + 1;
      *param_1 = 1;
      goto LAB_0001a479;
    }
    local_28 = local_28 + 0xd;
    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;
LAB_0001a452:
    puVar8 = param_1 + 1;
    *param_1 = 2;
    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);
    puVar8 = puVar8 + (int)param_1;
    if (iVar6 != 0) {
      *puVar8 = 1;
      puVar3 = puVar8 + 1;
      goto LAB_0001a479;
    }
  }
  param_1 = (undefined1 *)(local_28 & 0xff);
  puVar3 = puVar8 + 1;
  *puVar8 = (undefined1)local_28;
LAB_0001a479:
  if (puVar3 != puVar5) {
                    /* WARNING: Subroutine does not return */
    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);
  }
  return;
}


PUSH EBP
PUSH EDI
CALL 0x0001d569
ADD EDI,0x65c39
PUSH ESI
MOV ESI,EAX
PUSH EBX
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x30]
MOV EBP,dword ptr [ESP + 0x34]
MOV dword ptr [ESP],EDI
ADD EBP,EAX
TEST ECX,ECX
JS 0x0001a59b
CMP ESI,0x7fffffff
JZ 0x0001a500
LEA EDI,[ESI + 0x5]
MOV dword ptr [ESP + 0x4],EDI
CMP EDI,0xd
JA 0x0001a490
TEST ESI,ESI
JZ 0x0001a4cb
MOV EBX,0x110
ADD ESI,0x12
CMP EBX,EDX
MOV EBX,0x0
MOV dword ptr [ESP + 0x4],ESI
MOV ESI,0x0
SBB EBX,ECX
JC 0x0001a528
IMUL EBX,EDX,0xe
ADD EBX,dword ptr [ESP + 0x4]
CMP EBX,0xff
JBE 0x0001a580
SUB EBX,0xee
CMP EBX,0xff
JBE 0x0001a570
LEA EDI,[EAX + 0x1]
MOV byte ptr [EAX],0x2
PUSH 0x0
PUSH ECX
PUSH EDX
PUSH EDI
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x00031e70
ADD ESP,0x10
ADD EDI,EAX
TEST ESI,ESI
JZ 0x0001a541
MOV byte ptr [EDI],0x1
LEA EDX,[EDI + 0x1]
CMP EDX,EBP
JNZ 0x0001a5b8
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EDI,[EAX + 0x1]
MOV EBX,ESI
SAR ESI,0x1f
MOV dword ptr [ESP + 0x8],EDX
MOV dword ptr [ESP + 0xc],ECX
MOV byte ptr [EAX],0x3
PUSH 0x1
PUSH ESI
MOV ESI,0x1
PUSH EBX
PUSH EDI
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x00031e70
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x4],0x5
ADD EAX,EDI
MOV EDI,ECX
OR EDI,EDX
JZ 0x0001a590
MOV EBX,dword ptr [ESP + 0x4]
ADD EBX,0xd
MOV dword ptr [ESP + 0x4],EBX
MOV EBX,0x110
CMP EBX,EDX
MOV EBX,0x0
SBB EBX,ECX
JNC 0x0001a42d
JMP 0x0001a452
MOV EBX,EDX
MOV EDI,ECX
LEA ESI,[EAX + 0x1]
XOR EBX,0x11
OR EDI,EBX
JNZ 0x0001a550
MOV byte ptr [EAX],0x8
MOV ECX,0x100
LEA EDX,[ESI + 0x3]
MOV byte ptr [ESI + 0x2],0x1
MOV word ptr [ESI],CX
JMP 0x0001a479
LEA EDI,[EAX + 0x1]
MOV byte ptr [EAX],0x2
PUSH 0x0
PUSH ECX
PUSH EDX
PUSH EDI
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x00031e70
ADD ESP,0x10
ADD EDI,EAX
MOVZX EAX,byte ptr [ESP + 0x4]
LEA EDX,[EDI + 0x1]
MOV byte ptr [EDI],AL
JMP 0x0001a479
MOV byte ptr [EAX],0x2
PUSH 0x0
PUSH ECX
PUSH EDX
PUSH ESI
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x00031e70
ADD ESP,0x10
ADD ESI,EAX
JMP 0x0001a511
MOV byte ptr [EAX],0x8
LEA EDX,[EAX + 0x2]
MOV byte ptr [EAX + 0x1],BL
JMP 0x0001a479
LEA EDX,[EAX + 0x1]
MOV byte ptr [EAX],BL
JMP 0x0001a479
LEA EDX,[EAX + 0x1]
MOV byte ptr [EAX],0x1
JMP 0x0001a479
PUSH EBX
MOV EBX,dword ptr [ESP + 0x4]
LEA EAX,[EBX + 0xfffdd424]
PUSH EAX
LEA EAX,[EBX + 0xfffdd15b]
PUSH 0x4bd
PUSH EAX
CALL 0x0002be80
PUSH EAX
MOV EBX,dword ptr [ESP + 0x4]
LEA EAX,[EBX + 0xfffdd424]
PUSH EAX
LEA EAX,[EBX + 0xfffdd15b]
PUSH 0x50e
PUSH EAX
CALL 0x0002be80
(translation_unit "void FUN_0001a3c0(undefined1 *param_1,int param_2)\n\n{\n  int iVar1;\n  int extraout_ECX;\n  uint uVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined2 *puVar7;\n  int unaff_EDI;\n  undefined1 *puVar8;\n  undefined8 uVar9;\n  uint local_28;\n  \n  uVar9 = FUN_0001d569();\n  uVar2 = (uint)((ulonglong)uVar9 >> 0x20);\n  iVar1 = (int)uVar9;\n  puVar5 = param_1 + param_2;\n  if (extraout_ECX < 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);\n  }\n  if (iVar1 == 0x7fffffff) {\n    puVar7 = (undefined2 *)(param_1 + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }\n    puVar3 = (undefined1 *)((int)puVar7 + 3);\n    *(undefined1 *)(puVar7 + 1) = 1;\n    *puVar7 = 0x100;\n    goto LAB_0001a479;\n  }\n  local_28 = iVar1 + 5;\n  if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *param_1 = 2;\n    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);\n    puVar8 = param_1 + 1 + iVar1;\n  }\n  else {\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }\n  param_1 = (undefined1 *)(local_28 & 0xff);\n  puVar3 = puVar8 + 1;\n  *puVar8 = (undefined1)local_28;\nLAB_0001a479:\n  if (puVar3 != puVar5) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001a3c0(undefined1 *param_1,int param_2)\n\n{\n  int iVar1;\n  int extraout_ECX;\n  uint uVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined2 *puVar7;\n  int unaff_EDI;\n  undefined1 *puVar8;\n  undefined8 uVar9;\n  uint local_28;\n  \n  uVar9 = FUN_0001d569();\n  uVar2 = (uint)((ulonglong)uVar9 >> 0x20);\n  iVar1 = (int)uVar9;\n  puVar5 = param_1 + param_2;\n  if (extraout_ECX < 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);\n  }\n  if (iVar1 == 0x7fffffff) {\n    puVar7 = (undefined2 *)(param_1 + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }\n    puVar3 = (undefined1 *)((int)puVar7 + 3);\n    *(undefined1 *)(puVar7 + 1) = 1;\n    *puVar7 = 0x100;\n    goto LAB_0001a479;\n  }\n  local_28 = iVar1 + 5;\n  if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *param_1 = 2;\n    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);\n    puVar8 = param_1 + 1 + iVar1;\n  }\n  else {\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }\n  param_1 = (undefined1 *)(local_28 & 0xff);\n  puVar3 = puVar8 + 1;\n  *puVar8 = (undefined1)local_28;\nLAB_0001a479:\n  if (puVar3 != puVar5) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001a3c0(undefined1 *param_1,int param_2)" identifier (parameter_list "(undefined1 *param_1,int param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int extraout_ECX;\n  uint uVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined2 *puVar7;\n  int unaff_EDI;\n  undefined1 *puVar8;\n  undefined8 uVar9;\n  uint local_28;\n  \n  uVar9 = FUN_0001d569();\n  uVar2 = (uint)((ulonglong)uVar9 >> 0x20);\n  iVar1 = (int)uVar9;\n  puVar5 = param_1 + param_2;\n  if (extraout_ECX < 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);\n  }\n  if (iVar1 == 0x7fffffff) {\n    puVar7 = (undefined2 *)(param_1 + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }\n    puVar3 = (undefined1 *)((int)puVar7 + 3);\n    *(undefined1 *)(puVar7 + 1) = 1;\n    *puVar7 = 0x100;\n    goto LAB_0001a479;\n  }\n  local_28 = iVar1 + 5;\n  if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *param_1 = 2;\n    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);\n    puVar8 = param_1 + 1 + iVar1;\n  }\n  else {\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }\n  param_1 = (undefined1 *)(local_28 & 0xff);\n  puVar3 = puVar8 + 1;\n  *puVar8 = (undefined1)local_28;\nLAB_0001a479:\n  if (puVar3 != puVar5) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined2 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined8 uVar9;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (expression_statement "uVar9 = FUN_0001d569();" (assignment_expression "uVar9 = FUN_0001d569()" identifier = (call_expression "FUN_0001d569()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = (uint)((ulonglong)uVar9 >> 0x20);" (assignment_expression "uVar2 = (uint)((ulonglong)uVar9 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar9 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar9 >> 0x20)" ( (binary_expression "(ulonglong)uVar9 >> 0x20" (cast_expression "(ulonglong)uVar9" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar1 = (int)uVar9;" (assignment_expression "iVar1 = (int)uVar9" identifier = (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "puVar5 = param_1 + param_2;" (assignment_expression "puVar5 = param_1 + param_2" identifier = (binary_expression "param_1 + param_2" identifier + identifier)) ;) (if_statement "if (extraout_ECX < 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);\n  }" if (parenthesized_expression "(extraout_ECX < 0)" ( (binary_expression "extraout_ECX < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);\n  }" { comment (expression_statement "FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);" (call_expression "FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d)" identifier (argument_list "(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d)" ( (binary_expression "unaff_EDI + 0x42d94" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x4305d" identifier + number_literal) ))) ;) })) (if_statement "if (iVar1 == 0x7fffffff) {\n    puVar7 = (undefined2 *)(param_1 + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }\n    puVar3 = (undefined1 *)((int)puVar7 + 3);\n    *(undefined1 *)(puVar7 + 1) = 1;\n    *puVar7 = 0x100;\n    goto LAB_0001a479;\n  }" if (parenthesized_expression "(iVar1 == 0x7fffffff)" ( (binary_expression "iVar1 == 0x7fffffff" identifier == number_literal) )) (compound_statement "{\n    puVar7 = (undefined2 *)(param_1 + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }\n    puVar3 = (undefined1 *)((int)puVar7 + 3);\n    *(undefined1 *)(puVar7 + 1) = 1;\n    *puVar7 = 0x100;\n    goto LAB_0001a479;\n  }" { (expression_statement "puVar7 = (undefined2 *)(param_1 + 1);" (assignment_expression "puVar7 = (undefined2 *)(param_1 + 1)" identifier = (cast_expression "(undefined2 *)(param_1 + 1)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) ;) (if_statement "if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }" if (parenthesized_expression "(extraout_ECX == 0 && uVar2 == 0x11)" ( (binary_expression "extraout_ECX == 0 && uVar2 == 0x11" (binary_expression "extraout_ECX == 0" identifier == number_literal) && (binary_expression "uVar2 == 0x11" identifier == number_literal)) )) (compound_statement "{\n      *param_1 = 8;\n    }" { (expression_statement "*param_1 = 8;" (assignment_expression "*param_1 = 8" (pointer_expression "*param_1" * identifier) = number_literal) ;) }) (else_clause "else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }" else (compound_statement "{\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }" { (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);" (assignment_expression "param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0)" identifier = (cast_expression "(undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00031e70(puVar7,uVar2,extraout_ECX,0)" identifier (argument_list "(puVar7,uVar2,extraout_ECX,0)" ( identifier , identifier , identifier , number_literal ))))) ;) (expression_statement "puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);" (assignment_expression "puVar7 = (undefined2 *)((int)puVar7 + (int)param_1)" identifier = (cast_expression "(undefined2 *)((int)puVar7 + (int)param_1)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (int)param_1)" ( (binary_expression "(int)puVar7 + (int)param_1" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) }))) (expression_statement "puVar3 = (undefined1 *)((int)puVar7 + 3);" (assignment_expression "puVar3 = (undefined1 *)((int)puVar7 + 3)" identifier = (cast_expression "(undefined1 *)((int)puVar7 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 3)" ( (binary_expression "(int)puVar7 + 3" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "*(undefined1 *)(puVar7 + 1) = 1;" (assignment_expression "*(undefined1 *)(puVar7 + 1) = 1" (pointer_expression "*(undefined1 *)(puVar7 + 1)" * (cast_expression "(undefined1 *)(puVar7 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*puVar7 = 0x100;" (assignment_expression "*puVar7 = 0x100" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) })) (expression_statement "local_28 = iVar1 + 5;" (assignment_expression "local_28 = iVar1 + 5" identifier = (binary_expression "iVar1 + 5" identifier + number_literal)) ;) (if_statement "if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *param_1 = 2;\n    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);\n    puVar8 = param_1 + 1 + iVar1;\n  }\n  else {\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }" if (parenthesized_expression "(local_28 < 0xe)" ( (binary_expression "local_28 < 0xe" identifier < number_literal) )) (compound_statement "{\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *param_1 = 2;\n    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);\n    puVar8 = param_1 + 1 + iVar1;\n  }" { (expression_statement "iVar6 = iVar1;" (assignment_expression "iVar6 = iVar1" identifier = identifier) ;) (if_statement "if (iVar1 == 0) goto LAB_0001a4cb;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001a4cb;" goto statement_identifier ;)) (expression_statement "local_28 = iVar1 + 0x12;" (assignment_expression "local_28 = iVar1 + 0x12" identifier = (binary_expression "iVar1 + 0x12" identifier + number_literal)) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }" if (parenthesized_expression "(extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX)" ( (binary_expression "extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (binary_expression "extraout_ECX == 0" identifier == number_literal) && (binary_expression "(uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (call_expression "(uint)(0x110 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x110 < uVar2)" ( (binary_expression "0x110 < uVar2" number_literal < identifier) ))) <= (binary_expression "(uint)-extraout_ECX" (parenthesized_expression "(uint)" ( identifier )) - identifier))) )) (compound_statement "{\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }" { (labeled_statement "LAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;" statement_identifier : (expression_statement "uVar4 = uVar2 * 0xe + local_28;" (assignment_expression "uVar4 = uVar2 * 0xe + local_28" identifier = (binary_expression "uVar2 * 0xe + local_28" (binary_expression "uVar2 * 0xe" identifier * number_literal) + identifier)) ;)) (if_statement "if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }" if (parenthesized_expression "(uVar4 < 0x100)" ( (binary_expression "uVar4 < 0x100" identifier < number_literal) )) (compound_statement "{\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }" { (expression_statement "puVar3 = param_1 + 1;" (assignment_expression "puVar3 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = (char)uVar4;" (assignment_expression "*param_1 = (char)uVar4" (pointer_expression "*param_1" * identifier) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) })) (if_statement "if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }" if (parenthesized_expression "(uVar4 - 0xee < 0x100)" ( (binary_expression "uVar4 - 0xee < 0x100" (binary_expression "uVar4 - 0xee" identifier - number_literal) < number_literal) )) (compound_statement "{\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }" { (expression_statement "*param_1 = 8;" (assignment_expression "*param_1 = 8" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "puVar3 = param_1 + 2;" (assignment_expression "puVar3 = param_1 + 2" identifier = (binary_expression "param_1 + 2" identifier + number_literal)) ;) (expression_statement "param_1[1] = (char)(uVar4 - 0xee);" (assignment_expression "param_1[1] = (char)(uVar4 - 0xee)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(char)(uVar4 - 0xee)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar4 - 0xee)" ( (binary_expression "uVar4 - 0xee" identifier - number_literal) )))) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) })) (goto_statement "goto LAB_0001a452;" goto statement_identifier ;) })) (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);" (assignment_expression "iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0)" identifier = (call_expression "FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0)" identifier (argument_list "(param_1 + 1,uVar2,extraout_ECX,0)" ( (binary_expression "param_1 + 1" identifier + number_literal) , identifier , identifier , number_literal )))) ;) (expression_statement "puVar8 = param_1 + 1 + iVar1;" (assignment_expression "puVar8 = param_1 + 1 + iVar1" identifier = (binary_expression "param_1 + 1 + iVar1" (binary_expression "param_1 + 1" identifier + number_literal) + identifier)) ;) }) (else_clause "else {\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }" else (compound_statement "{\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }" { (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);" (assignment_expression "iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1)" identifier = (call_expression "FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1)" identifier (argument_list "(param_1 + 1,iVar1,iVar1 >> 0x1f,1)" ( (binary_expression "param_1 + 1" identifier + number_literal) , identifier , (binary_expression "iVar1 >> 0x1f" identifier >> number_literal) , number_literal )))) ;) (expression_statement "local_28 = 5;" (assignment_expression "local_28 = 5" identifier = number_literal) ;) (expression_statement "param_1 = param_1 + 1 + iVar1;" (assignment_expression "param_1 = param_1 + 1 + iVar1" identifier = (binary_expression "param_1 + 1 + iVar1" (binary_expression "param_1 + 1" identifier + number_literal) + identifier)) ;) (labeled_statement "LAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }" statement_identifier : (if_statement "if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }" if (parenthesized_expression "(extraout_ECX == 0 && uVar2 == 0)" ( (binary_expression "extraout_ECX == 0 && uVar2 == 0" (binary_expression "extraout_ECX == 0" identifier == number_literal) && (binary_expression "uVar2 == 0" identifier == number_literal)) )) (compound_statement "{\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }" { (expression_statement "puVar3 = param_1 + 1;" (assignment_expression "puVar3 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" * identifier) = number_literal) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) }))) (expression_statement "local_28 = local_28 + 0xd;" (assignment_expression "local_28 = local_28 + 0xd" identifier = (binary_expression "local_28 + 0xd" identifier + number_literal)) ;) (if_statement "if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;" if (parenthesized_expression "(extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX)" ( (binary_expression "extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (binary_expression "extraout_ECX == 0" identifier == number_literal) && (binary_expression "(uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (call_expression "(uint)(0x110 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x110 < uVar2)" ( (binary_expression "0x110 < uVar2" number_literal < identifier) ))) <= (binary_expression "(uint)-extraout_ECX" (parenthesized_expression "(uint)" ( identifier )) - identifier))) )) (goto_statement "goto LAB_0001a42d;" goto statement_identifier ;)) (labeled_statement "LAB_0001a452:\n    puVar8 = param_1 + 1;" statement_identifier : (expression_statement "puVar8 = param_1 + 1;" (assignment_expression "puVar8 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;)) (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);" (assignment_expression "param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0)" identifier = (cast_expression "(undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00031e70(puVar8,uVar2,extraout_ECX,0)" identifier (argument_list "(puVar8,uVar2,extraout_ECX,0)" ( identifier , identifier , identifier , number_literal ))))) ;) (expression_statement "puVar8 = puVar8 + (int)param_1;" (assignment_expression "puVar8 = puVar8 + (int)param_1" identifier = (binary_expression "puVar8 + (int)param_1" identifier + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }" { (expression_statement "*puVar8 = 1;" (assignment_expression "*puVar8 = 1" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar8 + 1;" (assignment_expression "puVar3 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) })) }))) (expression_statement "param_1 = (undefined1 *)(local_28 & 0xff);" (assignment_expression "param_1 = (undefined1 *)(local_28 & 0xff)" identifier = (cast_expression "(undefined1 *)(local_28 & 0xff)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 & 0xff)" ( (binary_expression "local_28 & 0xff" identifier & number_literal) )))) ;) (expression_statement "puVar3 = puVar8 + 1;" (assignment_expression "puVar3 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "*puVar8 = (undefined1)local_28;" (assignment_expression "*puVar8 = (undefined1)local_28" (pointer_expression "*puVar8" * identifier) = (cast_expression "(undefined1)local_28" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) (labeled_statement "LAB_0001a479:\n  if (puVar3 != puVar5) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }" statement_identifier : (if_statement "if (puVar3 != puVar5) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }" if (parenthesized_expression "(puVar3 != puVar5)" ( (binary_expression "puVar3 != puVar5" identifier != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }" { comment (expression_statement "FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);" (call_expression "FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1)" identifier (argument_list "(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1)" ( (binary_expression "unaff_EDI + 0x42d94" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x4305d" identifier + number_literal) , identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void emit_inc_line_addr(int line_delta,addressT addr_delta,char *p,int len)\n\n{\n  int iVar1;\n  uint uVar2;\n  int extraout_ECX;\n  char *pcVar3;\n  uint uVar4;\n  char *pcVar5;\n  int iVar6;\n  int unaff_EDI;\n  char *pcVar7;\n  undefined8 uVar8;\n  uint local_28;\n  \n  uVar8 = __x86_get_pc_thunk_di();\n  uVar2 = (uint)((ulonglong)uVar8 >> 0x20);\n  iVar1 = (int)uVar8;\n  pcVar5 = (char *)((int)addr_delta + line_delta);\n  if (extraout_ECX < 0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort((char *)(unaff_EDI + 0x42d94),0x4bd,(char *)(unaff_EDI + 0x4305d));\n  }\n  if (iVar1 == 0x7fffffff) {\n    pcVar7 = (char *)(line_delta + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *(undefined1 *)line_delta = 8;\n    }\n    else {\n      *(undefined1 *)line_delta = 2;\n      uVar2 = output_leb128(pcVar7,CONCAT44(extraout_ECX,uVar2),0);\n      pcVar7 = pcVar7 + uVar2;\n    }\n    pcVar3 = pcVar7 + 3;\n    pcVar7[2] = '\x01';\n    pcVar7[0] = '\0';\n    pcVar7[1] = '\x01';\n    goto LAB_0001a479;\n  }\n  local_28 = iVar1 + 5;\n  if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        pcVar3 = (char *)(line_delta + 1);\n        *(char *)line_delta = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *(char *)line_delta = '\b';\n        pcVar3 = (char *)(line_delta + 2);\n        *(char *)(line_delta + 1) = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *(undefined1 *)line_delta = 2;\n    uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);\n    pcVar7 = (char *)(line_delta + 1) + uVar2;\n  }\n  else {\n    *(undefined1 *)line_delta = 3;\n    iVar6 = 1;\n    uVar4 = output_leb128((char *)(line_delta + 1),(longlong)iVar1,1);\n    local_28 = 5;\n    line_delta = (int)((char *)(line_delta + 1) + uVar4);\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      pcVar3 = (char *)(line_delta + 1);\n      *(char *)line_delta = '\x01';\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    *(char *)line_delta = '\x02';\n    uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);\n    pcVar7 = (char *)(line_delta + 1) + uVar2;\n    if (iVar6 != 0) {\n      *pcVar7 = '\x01';\n      pcVar3 = pcVar7 + 1;\n      goto LAB_0001a479;\n    }\n  }\n  pcVar3 = pcVar7 + 1;\n  *pcVar7 = (char)local_28;\nLAB_0001a479:\n  if (pcVar3 != pcVar5) {\n                    /* WARNING: Subroutine does not return */\n    as_abort((char *)(unaff_EDI + 0x42d94),0x50e,(char *)(unaff_EDI + 0x4305d));\n  }\n  return;\n}\n\n" (function_definition "void emit_inc_line_addr(int line_delta,addressT addr_delta,char *p,int len)\n\n{\n  int iVar1;\n  uint uVar2;\n  int extraout_ECX;\n  char *pcVar3;\n  uint uVar4;\n  char *pcVar5;\n  int iVar6;\n  int unaff_EDI;\n  char *pcVar7;\n  undefined8 uVar8;\n  uint local_28;\n  \n  uVar8 = __x86_get_pc_thunk_di();\n  uVar2 = (uint)((ulonglong)uVar8 >> 0x20);\n  iVar1 = (int)uVar8;\n  pcVar5 = (char *)((int)addr_delta + line_delta);\n  if (extraout_ECX < 0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort((char *)(unaff_EDI + 0x42d94),0x4bd,(char *)(unaff_EDI + 0x4305d));\n  }\n  if (iVar1 == 0x7fffffff) {\n    pcVar7 = (char *)(line_delta + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *(undefined1 *)line_delta = 8;\n    }\n    else {\n      *(undefined1 *)line_delta = 2;\n      uVar2 = output_leb128(pcVar7,CONCAT44(extraout_ECX,uVar2),0);\n      pcVar7 = pcVar7 + uVar2;\n    }\n    pcVar3 = pcVar7 + 3;\n    pcVar7[2] = '\x01';\n    pcVar7[0] = '\0';\n    pcVar7[1] = '\x01';\n    goto LAB_0001a479;\n  }\n  local_28 = iVar1 + 5;\n  if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        pcVar3 = (char *)(line_delta + 1);\n        *(char *)line_delta = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *(char *)line_delta = '\b';\n        pcVar3 = (char *)(line_delta + 2);\n        *(char *)(line_delta + 1) = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *(undefined1 *)line_delta = 2;\n    uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);\n    pcVar7 = (char *)(line_delta + 1) + uVar2;\n  }\n  else {\n    *(undefined1 *)line_delta = 3;\n    iVar6 = 1;\n    uVar4 = output_leb128((char *)(line_delta + 1),(longlong)iVar1,1);\n    local_28 = 5;\n    line_delta = (int)((char *)(line_delta + 1) + uVar4);\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      pcVar3 = (char *)(line_delta + 1);\n      *(char *)line_delta = '\x01';\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    *(char *)line_delta = '\x02';\n    uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);\n    pcVar7 = (char *)(line_delta + 1) + uVar2;\n    if (iVar6 != 0) {\n      *pcVar7 = '\x01';\n      pcVar3 = pcVar7 + 1;\n      goto LAB_0001a479;\n    }\n  }\n  pcVar3 = pcVar7 + 1;\n  *pcVar7 = (char)local_28;\nLAB_0001a479:\n  if (pcVar3 != pcVar5) {\n                    /* WARNING: Subroutine does not return */\n    as_abort((char *)(unaff_EDI + 0x42d94),0x50e,(char *)(unaff_EDI + 0x4305d));\n  }\n  return;\n}" primitive_type (function_declarator "emit_inc_line_addr(int line_delta,addressT addr_delta,char *p,int len)" identifier (parameter_list "(int line_delta,addressT addr_delta,char *p,int len)" ( (parameter_declaration "int line_delta" primitive_type identifier) , (parameter_declaration "addressT addr_delta" type_identifier identifier) , (parameter_declaration "char *p" primitive_type (pointer_declarator "*p" * identifier)) , (parameter_declaration "int len" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int extraout_ECX;\n  char *pcVar3;\n  uint uVar4;\n  char *pcVar5;\n  int iVar6;\n  int unaff_EDI;\n  char *pcVar7;\n  undefined8 uVar8;\n  uint local_28;\n  \n  uVar8 = __x86_get_pc_thunk_di();\n  uVar2 = (uint)((ulonglong)uVar8 >> 0x20);\n  iVar1 = (int)uVar8;\n  pcVar5 = (char *)((int)addr_delta + line_delta);\n  if (extraout_ECX < 0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort((char *)(unaff_EDI + 0x42d94),0x4bd,(char *)(unaff_EDI + 0x4305d));\n  }\n  if (iVar1 == 0x7fffffff) {\n    pcVar7 = (char *)(line_delta + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *(undefined1 *)line_delta = 8;\n    }\n    else {\n      *(undefined1 *)line_delta = 2;\n      uVar2 = output_leb128(pcVar7,CONCAT44(extraout_ECX,uVar2),0);\n      pcVar7 = pcVar7 + uVar2;\n    }\n    pcVar3 = pcVar7 + 3;\n    pcVar7[2] = '\x01';\n    pcVar7[0] = '\0';\n    pcVar7[1] = '\x01';\n    goto LAB_0001a479;\n  }\n  local_28 = iVar1 + 5;\n  if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        pcVar3 = (char *)(line_delta + 1);\n        *(char *)line_delta = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *(char *)line_delta = '\b';\n        pcVar3 = (char *)(line_delta + 2);\n        *(char *)(line_delta + 1) = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *(undefined1 *)line_delta = 2;\n    uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);\n    pcVar7 = (char *)(line_delta + 1) + uVar2;\n  }\n  else {\n    *(undefined1 *)line_delta = 3;\n    iVar6 = 1;\n    uVar4 = output_leb128((char *)(line_delta + 1),(longlong)iVar1,1);\n    local_28 = 5;\n    line_delta = (int)((char *)(line_delta + 1) + uVar4);\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      pcVar3 = (char *)(line_delta + 1);\n      *(char *)line_delta = '\x01';\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    *(char *)line_delta = '\x02';\n    uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);\n    pcVar7 = (char *)(line_delta + 1) + uVar2;\n    if (iVar6 != 0) {\n      *pcVar7 = '\x01';\n      pcVar3 = pcVar7 + 1;\n      goto LAB_0001a479;\n    }\n  }\n  pcVar3 = pcVar7 + 1;\n  *pcVar7 = (char)local_28;\nLAB_0001a479:\n  if (pcVar3 != pcVar5) {\n                    /* WARNING: Subroutine does not return */\n    as_abort((char *)(unaff_EDI + 0x42d94),0x50e,(char *)(unaff_EDI + 0x4305d));\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (expression_statement "uVar8 = __x86_get_pc_thunk_di();" (assignment_expression "uVar8 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = (uint)((ulonglong)uVar8 >> 0x20);" (assignment_expression "uVar2 = (uint)((ulonglong)uVar8 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar8 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar1 = (int)uVar8;" (assignment_expression "iVar1 = (int)uVar8" identifier = (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pcVar5 = (char *)((int)addr_delta + line_delta);" (assignment_expression "pcVar5 = (char *)((int)addr_delta + line_delta)" identifier = (cast_expression "(char *)((int)addr_delta + line_delta)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)addr_delta + line_delta)" ( (binary_expression "(int)addr_delta + line_delta" (cast_expression "(int)addr_delta" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (if_statement "if (extraout_ECX < 0) {\n                    /* WARNING: Subroutine does not return */\n    as_abort((char *)(unaff_EDI + 0x42d94),0x4bd,(char *)(unaff_EDI + 0x4305d));\n  }" if (parenthesized_expression "(extraout_ECX < 0)" ( (binary_expression "extraout_ECX < 0" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    as_abort((char *)(unaff_EDI + 0x42d94),0x4bd,(char *)(unaff_EDI + 0x4305d));\n  }" { comment (expression_statement "as_abort((char *)(unaff_EDI + 0x42d94),0x4bd,(char *)(unaff_EDI + 0x4305d));" (call_expression "as_abort((char *)(unaff_EDI + 0x42d94),0x4bd,(char *)(unaff_EDI + 0x4305d))" identifier (argument_list "((char *)(unaff_EDI + 0x42d94),0x4bd,(char *)(unaff_EDI + 0x4305d))" ( (cast_expression "(char *)(unaff_EDI + 0x42d94)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x42d94)" ( (binary_expression "unaff_EDI + 0x42d94" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x4305d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x4305d)" ( (binary_expression "unaff_EDI + 0x4305d" identifier + number_literal) ))) ))) ;) })) (if_statement "if (iVar1 == 0x7fffffff) {\n    pcVar7 = (char *)(line_delta + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *(undefined1 *)line_delta = 8;\n    }\n    else {\n      *(undefined1 *)line_delta = 2;\n      uVar2 = output_leb128(pcVar7,CONCAT44(extraout_ECX,uVar2),0);\n      pcVar7 = pcVar7 + uVar2;\n    }\n    pcVar3 = pcVar7 + 3;\n    pcVar7[2] = '\x01';\n    pcVar7[0] = '\0';\n    pcVar7[1] = '\x01';\n    goto LAB_0001a479;\n  }" if (parenthesized_expression "(iVar1 == 0x7fffffff)" ( (binary_expression "iVar1 == 0x7fffffff" identifier == number_literal) )) (compound_statement "{\n    pcVar7 = (char *)(line_delta + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *(undefined1 *)line_delta = 8;\n    }\n    else {\n      *(undefined1 *)line_delta = 2;\n      uVar2 = output_leb128(pcVar7,CONCAT44(extraout_ECX,uVar2),0);\n      pcVar7 = pcVar7 + uVar2;\n    }\n    pcVar3 = pcVar7 + 3;\n    pcVar7[2] = '\x01';\n    pcVar7[0] = '\0';\n    pcVar7[1] = '\x01';\n    goto LAB_0001a479;\n  }" { (expression_statement "pcVar7 = (char *)(line_delta + 1);" (assignment_expression "pcVar7 = (char *)(line_delta + 1)" identifier = (cast_expression "(char *)(line_delta + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(line_delta + 1)" ( (binary_expression "line_delta + 1" identifier + number_literal) )))) ;) (if_statement "if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *(undefined1 *)line_delta = 8;\n    }\n    else {\n      *(undefined1 *)line_delta = 2;\n      uVar2 = output_leb128(pcVar7,CONCAT44(extraout_ECX,uVar2),0);\n      pcVar7 = pcVar7 + uVar2;\n    }" if (parenthesized_expression "(extraout_ECX == 0 && uVar2 == 0x11)" ( (binary_expression "extraout_ECX == 0 && uVar2 == 0x11" (binary_expression "extraout_ECX == 0" identifier == number_literal) && (binary_expression "uVar2 == 0x11" identifier == number_literal)) )) (compound_statement "{\n      *(undefined1 *)line_delta = 8;\n    }" { (expression_statement "*(undefined1 *)line_delta = 8;" (assignment_expression "*(undefined1 *)line_delta = 8" (pointer_expression "*(undefined1 *)line_delta" * (cast_expression "(undefined1 *)line_delta" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) }) (else_clause "else {\n      *(undefined1 *)line_delta = 2;\n      uVar2 = output_leb128(pcVar7,CONCAT44(extraout_ECX,uVar2),0);\n      pcVar7 = pcVar7 + uVar2;\n    }" else (compound_statement "{\n      *(undefined1 *)line_delta = 2;\n      uVar2 = output_leb128(pcVar7,CONCAT44(extraout_ECX,uVar2),0);\n      pcVar7 = pcVar7 + uVar2;\n    }" { (expression_statement "*(undefined1 *)line_delta = 2;" (assignment_expression "*(undefined1 *)line_delta = 2" (pointer_expression "*(undefined1 *)line_delta" * (cast_expression "(undefined1 *)line_delta" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "uVar2 = output_leb128(pcVar7,CONCAT44(extraout_ECX,uVar2),0);" (assignment_expression "uVar2 = output_leb128(pcVar7,CONCAT44(extraout_ECX,uVar2),0)" identifier = (call_expression "output_leb128(pcVar7,CONCAT44(extraout_ECX,uVar2),0)" identifier (argument_list "(pcVar7,CONCAT44(extraout_ECX,uVar2),0)" ( identifier , (call_expression "CONCAT44(extraout_ECX,uVar2)" identifier (argument_list "(extraout_ECX,uVar2)" ( identifier , identifier ))) , number_literal )))) ;) (expression_statement "pcVar7 = pcVar7 + uVar2;" (assignment_expression "pcVar7 = pcVar7 + uVar2" identifier = (binary_expression "pcVar7 + uVar2" identifier + identifier)) ;) }))) (expression_statement "pcVar3 = pcVar7 + 3;" (assignment_expression "pcVar3 = pcVar7 + 3" identifier = (binary_expression "pcVar7 + 3" identifier + number_literal)) ;) (expression_statement "pcVar7[2] = '\x01';" (assignment_expression "pcVar7[2] = '\x01'" (subscript_expression "pcVar7[2]" identifier [ number_literal ]) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "pcVar7[0] = '\0';" (assignment_expression "pcVar7[0] = '\0'" (subscript_expression "pcVar7[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar7[1] = '\x01';" (assignment_expression "pcVar7[1] = '\x01'" (subscript_expression "pcVar7[1]" identifier [ number_literal ]) = (char_literal "'\x01'" ' escape_sequence ')) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) })) (expression_statement "local_28 = iVar1 + 5;" (assignment_expression "local_28 = iVar1 + 5" identifier = (binary_expression "iVar1 + 5" identifier + number_literal)) ;) (if_statement "if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        pcVar3 = (char *)(line_delta + 1);\n        *(char *)line_delta = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *(char *)line_delta = '\b';\n        pcVar3 = (char *)(line_delta + 2);\n        *(char *)(line_delta + 1) = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *(undefined1 *)line_delta = 2;\n    uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);\n    pcVar7 = (char *)(line_delta + 1) + uVar2;\n  }\n  else {\n    *(undefined1 *)line_delta = 3;\n    iVar6 = 1;\n    uVar4 = output_leb128((char *)(line_delta + 1),(longlong)iVar1,1);\n    local_28 = 5;\n    line_delta = (int)((char *)(line_delta + 1) + uVar4);\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      pcVar3 = (char *)(line_delta + 1);\n      *(char *)line_delta = '\x01';\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    *(char *)line_delta = '\x02';\n    uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);\n    pcVar7 = (char *)(line_delta + 1) + uVar2;\n    if (iVar6 != 0) {\n      *pcVar7 = '\x01';\n      pcVar3 = pcVar7 + 1;\n      goto LAB_0001a479;\n    }\n  }" if (parenthesized_expression "(local_28 < 0xe)" ( (binary_expression "local_28 < 0xe" identifier < number_literal) )) (compound_statement "{\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        pcVar3 = (char *)(line_delta + 1);\n        *(char *)line_delta = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *(char *)line_delta = '\b';\n        pcVar3 = (char *)(line_delta + 2);\n        *(char *)(line_delta + 1) = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *(undefined1 *)line_delta = 2;\n    uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);\n    pcVar7 = (char *)(line_delta + 1) + uVar2;\n  }" { (expression_statement "iVar6 = iVar1;" (assignment_expression "iVar6 = iVar1" identifier = identifier) ;) (if_statement "if (iVar1 == 0) goto LAB_0001a4cb;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001a4cb;" goto statement_identifier ;)) (expression_statement "local_28 = iVar1 + 0x12;" (assignment_expression "local_28 = iVar1 + 0x12" identifier = (binary_expression "iVar1 + 0x12" identifier + number_literal)) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        pcVar3 = (char *)(line_delta + 1);\n        *(char *)line_delta = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *(char *)line_delta = '\b';\n        pcVar3 = (char *)(line_delta + 2);\n        *(char *)(line_delta + 1) = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }" if (parenthesized_expression "(extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX)" ( (binary_expression "extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (binary_expression "extraout_ECX == 0" identifier == number_literal) && (binary_expression "(uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (call_expression "(uint)(0x110 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x110 < uVar2)" ( (binary_expression "0x110 < uVar2" number_literal < identifier) ))) <= (binary_expression "(uint)-extraout_ECX" (parenthesized_expression "(uint)" ( identifier )) - identifier))) )) (compound_statement "{\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        pcVar3 = (char *)(line_delta + 1);\n        *(char *)line_delta = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *(char *)line_delta = '\b';\n        pcVar3 = (char *)(line_delta + 2);\n        *(char *)(line_delta + 1) = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }" { (labeled_statement "LAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;" statement_identifier : (expression_statement "uVar4 = uVar2 * 0xe + local_28;" (assignment_expression "uVar4 = uVar2 * 0xe + local_28" identifier = (binary_expression "uVar2 * 0xe + local_28" (binary_expression "uVar2 * 0xe" identifier * number_literal) + identifier)) ;)) (if_statement "if (uVar4 < 0x100) {\n        pcVar3 = (char *)(line_delta + 1);\n        *(char *)line_delta = (char)uVar4;\n        goto LAB_0001a479;\n      }" if (parenthesized_expression "(uVar4 < 0x100)" ( (binary_expression "uVar4 < 0x100" identifier < number_literal) )) (compound_statement "{\n        pcVar3 = (char *)(line_delta + 1);\n        *(char *)line_delta = (char)uVar4;\n        goto LAB_0001a479;\n      }" { (expression_statement "pcVar3 = (char *)(line_delta + 1);" (assignment_expression "pcVar3 = (char *)(line_delta + 1)" identifier = (cast_expression "(char *)(line_delta + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(line_delta + 1)" ( (binary_expression "line_delta + 1" identifier + number_literal) )))) ;) (expression_statement "*(char *)line_delta = (char)uVar4;" (assignment_expression "*(char *)line_delta = (char)uVar4" (pointer_expression "*(char *)line_delta" * (cast_expression "(char *)line_delta" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) })) (if_statement "if (uVar4 - 0xee < 0x100) {\n        *(char *)line_delta = '\b';\n        pcVar3 = (char *)(line_delta + 2);\n        *(char *)(line_delta + 1) = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }" if (parenthesized_expression "(uVar4 - 0xee < 0x100)" ( (binary_expression "uVar4 - 0xee < 0x100" (binary_expression "uVar4 - 0xee" identifier - number_literal) < number_literal) )) (compound_statement "{\n        *(char *)line_delta = '\b';\n        pcVar3 = (char *)(line_delta + 2);\n        *(char *)(line_delta + 1) = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }" { (expression_statement "*(char *)line_delta = '\b';" (assignment_expression "*(char *)line_delta = '\b'" (pointer_expression "*(char *)line_delta" * (cast_expression "(char *)line_delta" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (char_literal "'\b'" ' escape_sequence ')) ;) (expression_statement "pcVar3 = (char *)(line_delta + 2);" (assignment_expression "pcVar3 = (char *)(line_delta + 2)" identifier = (cast_expression "(char *)(line_delta + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(line_delta + 2)" ( (binary_expression "line_delta + 2" identifier + number_literal) )))) ;) (expression_statement "*(char *)(line_delta + 1) = (char)(uVar4 - 0xee);" (assignment_expression "*(char *)(line_delta + 1) = (char)(uVar4 - 0xee)" (pointer_expression "*(char *)(line_delta + 1)" * (cast_expression "(char *)(line_delta + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(line_delta + 1)" ( (binary_expression "line_delta + 1" identifier + number_literal) )))) = (cast_expression "(char)(uVar4 - 0xee)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar4 - 0xee)" ( (binary_expression "uVar4 - 0xee" identifier - number_literal) )))) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) })) (goto_statement "goto LAB_0001a452;" goto statement_identifier ;) })) (expression_statement "*(undefined1 *)line_delta = 2;" (assignment_expression "*(undefined1 *)line_delta = 2" (pointer_expression "*(undefined1 *)line_delta" * (cast_expression "(undefined1 *)line_delta" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);" (assignment_expression "uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0)" identifier = (call_expression "output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0)" identifier (argument_list "((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0)" ( (cast_expression "(char *)(line_delta + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(line_delta + 1)" ( (binary_expression "line_delta + 1" identifier + number_literal) ))) , (call_expression "CONCAT44(extraout_ECX,uVar2)" identifier (argument_list "(extraout_ECX,uVar2)" ( identifier , identifier ))) , number_literal )))) ;) (expression_statement "pcVar7 = (char *)(line_delta + 1) + uVar2;" (assignment_expression "pcVar7 = (char *)(line_delta + 1) + uVar2" identifier = (binary_expression "(char *)(line_delta + 1) + uVar2" (cast_expression "(char *)(line_delta + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(line_delta + 1)" ( (binary_expression "line_delta + 1" identifier + number_literal) ))) + identifier)) ;) }) (else_clause "else {\n    *(undefined1 *)line_delta = 3;\n    iVar6 = 1;\n    uVar4 = output_leb128((char *)(line_delta + 1),(longlong)iVar1,1);\n    local_28 = 5;\n    line_delta = (int)((char *)(line_delta + 1) + uVar4);\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      pcVar3 = (char *)(line_delta + 1);\n      *(char *)line_delta = '\x01';\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    *(char *)line_delta = '\x02';\n    uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);\n    pcVar7 = (char *)(line_delta + 1) + uVar2;\n    if (iVar6 != 0) {\n      *pcVar7 = '\x01';\n      pcVar3 = pcVar7 + 1;\n      goto LAB_0001a479;\n    }\n  }" else (compound_statement "{\n    *(undefined1 *)line_delta = 3;\n    iVar6 = 1;\n    uVar4 = output_leb128((char *)(line_delta + 1),(longlong)iVar1,1);\n    local_28 = 5;\n    line_delta = (int)((char *)(line_delta + 1) + uVar4);\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      pcVar3 = (char *)(line_delta + 1);\n      *(char *)line_delta = '\x01';\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    *(char *)line_delta = '\x02';\n    uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);\n    pcVar7 = (char *)(line_delta + 1) + uVar2;\n    if (iVar6 != 0) {\n      *pcVar7 = '\x01';\n      pcVar3 = pcVar7 + 1;\n      goto LAB_0001a479;\n    }\n  }" { (expression_statement "*(undefined1 *)line_delta = 3;" (assignment_expression "*(undefined1 *)line_delta = 3" (pointer_expression "*(undefined1 *)line_delta" * (cast_expression "(undefined1 *)line_delta" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "uVar4 = output_leb128((char *)(line_delta + 1),(longlong)iVar1,1);" (assignment_expression "uVar4 = output_leb128((char *)(line_delta + 1),(longlong)iVar1,1)" identifier = (call_expression "output_leb128((char *)(line_delta + 1),(longlong)iVar1,1)" identifier (argument_list "((char *)(line_delta + 1),(longlong)iVar1,1)" ( (cast_expression "(char *)(line_delta + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(line_delta + 1)" ( (binary_expression "line_delta + 1" identifier + number_literal) ))) , (cast_expression "(longlong)iVar1" ( (type_descriptor "longlong" type_identifier) ) identifier) , number_literal )))) ;) (expression_statement "local_28 = 5;" (assignment_expression "local_28 = 5" identifier = number_literal) ;) (expression_statement "line_delta = (int)((char *)(line_delta + 1) + uVar4);" (assignment_expression "line_delta = (int)((char *)(line_delta + 1) + uVar4)" identifier = (cast_expression "(int)((char *)(line_delta + 1) + uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((char *)(line_delta + 1) + uVar4)" ( (binary_expression "(char *)(line_delta + 1) + uVar4" (cast_expression "(char *)(line_delta + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(line_delta + 1)" ( (binary_expression "line_delta + 1" identifier + number_literal) ))) + identifier) )))) ;) (labeled_statement "LAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      pcVar3 = (char *)(line_delta + 1);\n      *(char *)line_delta = '\x01';\n      goto LAB_0001a479;\n    }" statement_identifier : (if_statement "if (extraout_ECX == 0 && uVar2 == 0) {\n      pcVar3 = (char *)(line_delta + 1);\n      *(char *)line_delta = '\x01';\n      goto LAB_0001a479;\n    }" if (parenthesized_expression "(extraout_ECX == 0 && uVar2 == 0)" ( (binary_expression "extraout_ECX == 0 && uVar2 == 0" (binary_expression "extraout_ECX == 0" identifier == number_literal) && (binary_expression "uVar2 == 0" identifier == number_literal)) )) (compound_statement "{\n      pcVar3 = (char *)(line_delta + 1);\n      *(char *)line_delta = '\x01';\n      goto LAB_0001a479;\n    }" { (expression_statement "pcVar3 = (char *)(line_delta + 1);" (assignment_expression "pcVar3 = (char *)(line_delta + 1)" identifier = (cast_expression "(char *)(line_delta + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(line_delta + 1)" ( (binary_expression "line_delta + 1" identifier + number_literal) )))) ;) (expression_statement "*(char *)line_delta = '\x01';" (assignment_expression "*(char *)line_delta = '\x01'" (pointer_expression "*(char *)line_delta" * (cast_expression "(char *)line_delta" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (char_literal "'\x01'" ' escape_sequence ')) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) }))) (expression_statement "local_28 = local_28 + 0xd;" (assignment_expression "local_28 = local_28 + 0xd" identifier = (binary_expression "local_28 + 0xd" identifier + number_literal)) ;) (if_statement "if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;" if (parenthesized_expression "(extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX)" ( (binary_expression "extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (binary_expression "extraout_ECX == 0" identifier == number_literal) && (binary_expression "(uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (call_expression "(uint)(0x110 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x110 < uVar2)" ( (binary_expression "0x110 < uVar2" number_literal < identifier) ))) <= (binary_expression "(uint)-extraout_ECX" (parenthesized_expression "(uint)" ( identifier )) - identifier))) )) (goto_statement "goto LAB_0001a42d;" goto statement_identifier ;)) (labeled_statement "LAB_0001a452:\n    *(char *)line_delta = '\x02';" statement_identifier : (expression_statement "*(char *)line_delta = '\x02';" (assignment_expression "*(char *)line_delta = '\x02'" (pointer_expression "*(char *)line_delta" * (cast_expression "(char *)line_delta" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (char_literal "'\x02'" ' escape_sequence ')) ;)) (expression_statement "uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0);" (assignment_expression "uVar2 = output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0)" identifier = (call_expression "output_leb128((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0)" identifier (argument_list "((char *)(line_delta + 1),CONCAT44(extraout_ECX,uVar2),0)" ( (cast_expression "(char *)(line_delta + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(line_delta + 1)" ( (binary_expression "line_delta + 1" identifier + number_literal) ))) , (call_expression "CONCAT44(extraout_ECX,uVar2)" identifier (argument_list "(extraout_ECX,uVar2)" ( identifier , identifier ))) , number_literal )))) ;) (expression_statement "pcVar7 = (char *)(line_delta + 1) + uVar2;" (assignment_expression "pcVar7 = (char *)(line_delta + 1) + uVar2" identifier = (binary_expression "(char *)(line_delta + 1) + uVar2" (cast_expression "(char *)(line_delta + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(line_delta + 1)" ( (binary_expression "line_delta + 1" identifier + number_literal) ))) + identifier)) ;) (if_statement "if (iVar6 != 0) {\n      *pcVar7 = '\x01';\n      pcVar3 = pcVar7 + 1;\n      goto LAB_0001a479;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      *pcVar7 = '\x01';\n      pcVar3 = pcVar7 + 1;\n      goto LAB_0001a479;\n    }" { (expression_statement "*pcVar7 = '\x01';" (assignment_expression "*pcVar7 = '\x01'" (pointer_expression "*pcVar7" * identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "pcVar3 = pcVar7 + 1;" (assignment_expression "pcVar3 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) })) }))) (expression_statement "pcVar3 = pcVar7 + 1;" (assignment_expression "pcVar3 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar7 = (char)local_28;" (assignment_expression "*pcVar7 = (char)local_28" (pointer_expression "*pcVar7" * identifier) = (cast_expression "(char)local_28" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (labeled_statement "LAB_0001a479:\n  if (pcVar3 != pcVar5) {\n                    /* WARNING: Subroutine does not return */\n    as_abort((char *)(unaff_EDI + 0x42d94),0x50e,(char *)(unaff_EDI + 0x4305d));\n  }" statement_identifier : (if_statement "if (pcVar3 != pcVar5) {\n                    /* WARNING: Subroutine does not return */\n    as_abort((char *)(unaff_EDI + 0x42d94),0x50e,(char *)(unaff_EDI + 0x4305d));\n  }" if (parenthesized_expression "(pcVar3 != pcVar5)" ( (binary_expression "pcVar3 != pcVar5" identifier != identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    as_abort((char *)(unaff_EDI + 0x42d94),0x50e,(char *)(unaff_EDI + 0x4305d));\n  }" { comment (expression_statement "as_abort((char *)(unaff_EDI + 0x42d94),0x50e,(char *)(unaff_EDI + 0x4305d));" (call_expression "as_abort((char *)(unaff_EDI + 0x42d94),0x50e,(char *)(unaff_EDI + 0x4305d))" identifier (argument_list "((char *)(unaff_EDI + 0x42d94),0x50e,(char *)(unaff_EDI + 0x4305d))" ( (cast_expression "(char *)(unaff_EDI + 0x42d94)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x42d94)" ( (binary_expression "unaff_EDI + 0x42d94" identifier + number_literal) ))) , number_literal , (cast_expression "(char *)(unaff_EDI + 0x4305d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x4305d)" ( (binary_expression "unaff_EDI + 0x4305d" identifier + number_literal) ))) ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001a3c0(undefined1 *param_1,int param_2)\n\n{\n  int iVar1;\n  int extraout_ECX;\n  uint uVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined2 *puVar7;\n  int unaff_EDI;\n  undefined1 *puVar8;\n  undefined8 uVar9;\n  uint local_28;\n  \n  uVar9 = FUN_0001d569();\n  uVar2 = (uint)((ulonglong)uVar9 >> 0x20);\n  iVar1 = (int)uVar9;\n  puVar5 = param_1 + param_2;\n  if (extraout_ECX < 0) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);\n  }\n  if (iVar1 == 0x7fffffff) {\n    puVar7 = (undefined2 *)(param_1 + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }\n    puVar3 = (undefined1 *)((int)puVar7 + 3);\n    *(undefined1 *)(puVar7 + 1) = 1;\n    *puVar7 = 0x100;\n    goto LAB_0001a479;\n  }\n  local_28 = iVar1 + 5;\n  if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *param_1 = 2;\n    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);\n    puVar8 = param_1 + 1 + iVar1;\n  }\n  else {\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }\n  param_1 = (undefined1 *)(local_28 & 0xff);\n  puVar3 = puVar8 + 1;\n  *puVar8 = (undefined1)local_28;\nLAB_0001a479:\n  if (puVar3 != puVar5) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0001a3c0(undefined1 *param_1,int param_2)\n\n{\n  int iVar1;\n  int extraout_ECX;\n  uint uVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined2 *puVar7;\n  int unaff_EDI;\n  undefined1 *puVar8;\n  undefined8 uVar9;\n  uint local_28;\n  \n  uVar9 = FUN_0001d569();\n  uVar2 = (uint)((ulonglong)uVar9 >> 0x20);\n  iVar1 = (int)uVar9;\n  puVar5 = param_1 + param_2;\n  if (extraout_ECX < 0) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);\n  }\n  if (iVar1 == 0x7fffffff) {\n    puVar7 = (undefined2 *)(param_1 + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }\n    puVar3 = (undefined1 *)((int)puVar7 + 3);\n    *(undefined1 *)(puVar7 + 1) = 1;\n    *puVar7 = 0x100;\n    goto LAB_0001a479;\n  }\n  local_28 = iVar1 + 5;\n  if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *param_1 = 2;\n    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);\n    puVar8 = param_1 + 1 + iVar1;\n  }\n  else {\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }\n  param_1 = (undefined1 *)(local_28 & 0xff);\n  puVar3 = puVar8 + 1;\n  *puVar8 = (undefined1)local_28;\nLAB_0001a479:\n  if (puVar3 != puVar5) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0001a3c0(undefined1 *param_1,int param_2)" identifier (parameter_list "(undefined1 *param_1,int param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int extraout_ECX;\n  uint uVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined2 *puVar7;\n  int unaff_EDI;\n  undefined1 *puVar8;\n  undefined8 uVar9;\n  uint local_28;\n  \n  uVar9 = FUN_0001d569();\n  uVar2 = (uint)((ulonglong)uVar9 >> 0x20);\n  iVar1 = (int)uVar9;\n  puVar5 = param_1 + param_2;\n  if (extraout_ECX < 0) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);\n  }\n  if (iVar1 == 0x7fffffff) {\n    puVar7 = (undefined2 *)(param_1 + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }\n    puVar3 = (undefined1 *)((int)puVar7 + 3);\n    *(undefined1 *)(puVar7 + 1) = 1;\n    *puVar7 = 0x100;\n    goto LAB_0001a479;\n  }\n  local_28 = iVar1 + 5;\n  if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *param_1 = 2;\n    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);\n    puVar8 = param_1 + 1 + iVar1;\n  }\n  else {\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }\n  param_1 = (undefined1 *)(local_28 & 0xff);\n  puVar3 = puVar8 + 1;\n  *puVar8 = (undefined1)local_28;\nLAB_0001a479:\n  if (puVar3 != puVar5) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined2 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "undefined8 uVar9;" type_identifier identifier ;) (declaration "uint local_28;" type_identifier identifier ;) (expression_statement "uVar9 = FUN_0001d569();" (assignment_expression "uVar9 = FUN_0001d569()" identifier = (call_expression "FUN_0001d569()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = (uint)((ulonglong)uVar9 >> 0x20);" (assignment_expression "uVar2 = (uint)((ulonglong)uVar9 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)uVar9 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)uVar9 >> 0x20)" ( (binary_expression "(ulonglong)uVar9 >> 0x20" (cast_expression "(ulonglong)uVar9" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iVar1 = (int)uVar9;" (assignment_expression "iVar1 = (int)uVar9" identifier = (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "puVar5 = param_1 + param_2;" (assignment_expression "puVar5 = param_1 + param_2" identifier = (binary_expression "param_1 + param_2" identifier + identifier)) ;) (if_statement "if (extraout_ECX < 0) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);\n  }" if (parenthesized_expression "(extraout_ECX < 0)" ( (binary_expression "extraout_ECX < 0" identifier < number_literal) )) (compound_statement "{\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);\n  }" { (expression_statement "FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);" (call_expression "FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d)" identifier (argument_list "(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d)" ( (binary_expression "unaff_EDI + 0x42d94" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x4305d" identifier + number_literal) ))) ;) })) (if_statement "if (iVar1 == 0x7fffffff) {\n    puVar7 = (undefined2 *)(param_1 + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }\n    puVar3 = (undefined1 *)((int)puVar7 + 3);\n    *(undefined1 *)(puVar7 + 1) = 1;\n    *puVar7 = 0x100;\n    goto LAB_0001a479;\n  }" if (parenthesized_expression "(iVar1 == 0x7fffffff)" ( (binary_expression "iVar1 == 0x7fffffff" identifier == number_literal) )) (compound_statement "{\n    puVar7 = (undefined2 *)(param_1 + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }\n    puVar3 = (undefined1 *)((int)puVar7 + 3);\n    *(undefined1 *)(puVar7 + 1) = 1;\n    *puVar7 = 0x100;\n    goto LAB_0001a479;\n  }" { (expression_statement "puVar7 = (undefined2 *)(param_1 + 1);" (assignment_expression "puVar7 = (undefined2 *)(param_1 + 1)" identifier = (cast_expression "(undefined2 *)(param_1 + 1)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) ;) (if_statement "if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }" if (parenthesized_expression "(extraout_ECX == 0 && uVar2 == 0x11)" ( (binary_expression "extraout_ECX == 0 && uVar2 == 0x11" (binary_expression "extraout_ECX == 0" identifier == number_literal) && (binary_expression "uVar2 == 0x11" identifier == number_literal)) )) (compound_statement "{\n      *param_1 = 8;\n    }" { (expression_statement "*param_1 = 8;" (assignment_expression "*param_1 = 8" (pointer_expression "*param_1" * identifier) = number_literal) ;) }) (else_clause "else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }" else (compound_statement "{\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }" { (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);" (assignment_expression "param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0)" identifier = (cast_expression "(undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00031e70(puVar7,uVar2,extraout_ECX,0)" identifier (argument_list "(puVar7,uVar2,extraout_ECX,0)" ( identifier , identifier , identifier , number_literal ))))) ;) (expression_statement "puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);" (assignment_expression "puVar7 = (undefined2 *)((int)puVar7 + (int)param_1)" identifier = (cast_expression "(undefined2 *)((int)puVar7 + (int)param_1)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + (int)param_1)" ( (binary_expression "(int)puVar7 + (int)param_1" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) }))) (expression_statement "puVar3 = (undefined1 *)((int)puVar7 + 3);" (assignment_expression "puVar3 = (undefined1 *)((int)puVar7 + 3)" identifier = (cast_expression "(undefined1 *)((int)puVar7 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 3)" ( (binary_expression "(int)puVar7 + 3" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "*(undefined1 *)(puVar7 + 1) = 1;" (assignment_expression "*(undefined1 *)(puVar7 + 1) = 1" (pointer_expression "*(undefined1 *)(puVar7 + 1)" * (cast_expression "(undefined1 *)(puVar7 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*puVar7 = 0x100;" (assignment_expression "*puVar7 = 0x100" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) })) (expression_statement "local_28 = iVar1 + 5;" (assignment_expression "local_28 = iVar1 + 5" identifier = (binary_expression "iVar1 + 5" identifier + number_literal)) ;) (if_statement "if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *param_1 = 2;\n    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);\n    puVar8 = param_1 + 1 + iVar1;\n  }\n  else {\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }" if (parenthesized_expression "(local_28 < 0xe)" ( (binary_expression "local_28 < 0xe" identifier < number_literal) )) (compound_statement "{\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *param_1 = 2;\n    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);\n    puVar8 = param_1 + 1 + iVar1;\n  }" { (expression_statement "iVar6 = iVar1;" (assignment_expression "iVar6 = iVar1" identifier = identifier) ;) (if_statement "if (iVar1 == 0) goto LAB_0001a4cb;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001a4cb;" goto statement_identifier ;)) (expression_statement "local_28 = iVar1 + 0x12;" (assignment_expression "local_28 = iVar1 + 0x12" identifier = (binary_expression "iVar1 + 0x12" identifier + number_literal)) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }" if (parenthesized_expression "(extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX)" ( (binary_expression "extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (binary_expression "extraout_ECX == 0" identifier == number_literal) && (binary_expression "(uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (call_expression "(uint)(0x110 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x110 < uVar2)" ( (binary_expression "0x110 < uVar2" number_literal < identifier) ))) <= (binary_expression "(uint)-extraout_ECX" (parenthesized_expression "(uint)" ( identifier )) - identifier))) )) (compound_statement "{\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }" { (labeled_statement "LAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;" statement_identifier : (expression_statement "uVar4 = uVar2 * 0xe + local_28;" (assignment_expression "uVar4 = uVar2 * 0xe + local_28" identifier = (binary_expression "uVar2 * 0xe + local_28" (binary_expression "uVar2 * 0xe" identifier * number_literal) + identifier)) ;)) (if_statement "if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }" if (parenthesized_expression "(uVar4 < 0x100)" ( (binary_expression "uVar4 < 0x100" identifier < number_literal) )) (compound_statement "{\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }" { (expression_statement "puVar3 = param_1 + 1;" (assignment_expression "puVar3 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = (char)uVar4;" (assignment_expression "*param_1 = (char)uVar4" (pointer_expression "*param_1" * identifier) = (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) })) (if_statement "if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }" if (parenthesized_expression "(uVar4 - 0xee < 0x100)" ( (binary_expression "uVar4 - 0xee < 0x100" (binary_expression "uVar4 - 0xee" identifier - number_literal) < number_literal) )) (compound_statement "{\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }" { (expression_statement "*param_1 = 8;" (assignment_expression "*param_1 = 8" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "puVar3 = param_1 + 2;" (assignment_expression "puVar3 = param_1 + 2" identifier = (binary_expression "param_1 + 2" identifier + number_literal)) ;) (expression_statement "param_1[1] = (char)(uVar4 - 0xee);" (assignment_expression "param_1[1] = (char)(uVar4 - 0xee)" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (cast_expression "(char)(uVar4 - 0xee)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar4 - 0xee)" ( (binary_expression "uVar4 - 0xee" identifier - number_literal) )))) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) })) (goto_statement "goto LAB_0001a452;" goto statement_identifier ;) })) (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);" (assignment_expression "iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0)" identifier = (call_expression "FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0)" identifier (argument_list "(param_1 + 1,uVar2,extraout_ECX,0)" ( (binary_expression "param_1 + 1" identifier + number_literal) , identifier , identifier , number_literal )))) ;) (expression_statement "puVar8 = param_1 + 1 + iVar1;" (assignment_expression "puVar8 = param_1 + 1 + iVar1" identifier = (binary_expression "param_1 + 1 + iVar1" (binary_expression "param_1 + 1" identifier + number_literal) + identifier)) ;) }) (else_clause "else {\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }" else (compound_statement "{\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }" { (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);" (assignment_expression "iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1)" identifier = (call_expression "FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1)" identifier (argument_list "(param_1 + 1,iVar1,iVar1 >> 0x1f,1)" ( (binary_expression "param_1 + 1" identifier + number_literal) , identifier , (binary_expression "iVar1 >> 0x1f" identifier >> number_literal) , number_literal )))) ;) (expression_statement "local_28 = 5;" (assignment_expression "local_28 = 5" identifier = number_literal) ;) (expression_statement "param_1 = param_1 + 1 + iVar1;" (assignment_expression "param_1 = param_1 + 1 + iVar1" identifier = (binary_expression "param_1 + 1 + iVar1" (binary_expression "param_1 + 1" identifier + number_literal) + identifier)) ;) (labeled_statement "LAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }" statement_identifier : (if_statement "if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }" if (parenthesized_expression "(extraout_ECX == 0 && uVar2 == 0)" ( (binary_expression "extraout_ECX == 0 && uVar2 == 0" (binary_expression "extraout_ECX == 0" identifier == number_literal) && (binary_expression "uVar2 == 0" identifier == number_literal)) )) (compound_statement "{\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }" { (expression_statement "puVar3 = param_1 + 1;" (assignment_expression "puVar3 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" * identifier) = number_literal) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) }))) (expression_statement "local_28 = local_28 + 0xd;" (assignment_expression "local_28 = local_28 + 0xd" identifier = (binary_expression "local_28 + 0xd" identifier + number_literal)) ;) (if_statement "if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;" if (parenthesized_expression "(extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX)" ( (binary_expression "extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (binary_expression "extraout_ECX == 0" identifier == number_literal) && (binary_expression "(uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (call_expression "(uint)(0x110 < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0x110 < uVar2)" ( (binary_expression "0x110 < uVar2" number_literal < identifier) ))) <= (binary_expression "(uint)-extraout_ECX" (parenthesized_expression "(uint)" ( identifier )) - identifier))) )) (goto_statement "goto LAB_0001a42d;" goto statement_identifier ;)) (labeled_statement "LAB_0001a452:\n    puVar8 = param_1 + 1;" statement_identifier : (expression_statement "puVar8 = param_1 + 1;" (assignment_expression "puVar8 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;)) (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);" (assignment_expression "param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0)" identifier = (cast_expression "(undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00031e70(puVar8,uVar2,extraout_ECX,0)" identifier (argument_list "(puVar8,uVar2,extraout_ECX,0)" ( identifier , identifier , identifier , number_literal ))))) ;) (expression_statement "puVar8 = puVar8 + (int)param_1;" (assignment_expression "puVar8 = puVar8 + (int)param_1" identifier = (binary_expression "puVar8 + (int)param_1" identifier + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }" { (expression_statement "*puVar8 = 1;" (assignment_expression "*puVar8 = 1" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar8 + 1;" (assignment_expression "puVar3 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_0001a479;" goto statement_identifier ;) })) }))) (expression_statement "param_1 = (undefined1 *)(local_28 & 0xff);" (assignment_expression "param_1 = (undefined1 *)(local_28 & 0xff)" identifier = (cast_expression "(undefined1 *)(local_28 & 0xff)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 & 0xff)" ( (binary_expression "local_28 & 0xff" identifier & number_literal) )))) ;) (expression_statement "puVar3 = puVar8 + 1;" (assignment_expression "puVar3 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "*puVar8 = (undefined1)local_28;" (assignment_expression "*puVar8 = (undefined1)local_28" (pointer_expression "*puVar8" * identifier) = (cast_expression "(undefined1)local_28" ( (type_descriptor "undefined1" type_identifier) ) identifier)) ;) (labeled_statement "LAB_0001a479:\n  if (puVar3 != puVar5) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }" statement_identifier : (if_statement "if (puVar3 != puVar5) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }" if (parenthesized_expression "(puVar3 != puVar5)" ( (binary_expression "puVar3 != puVar5" identifier != identifier) )) (compound_statement "{\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }" { (expression_statement "FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);" (call_expression "FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1)" identifier (argument_list "(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1)" ( (binary_expression "unaff_EDI + 0x42d94" identifier + number_literal) , number_literal , (binary_expression "unaff_EDI + 0x4305d" identifier + number_literal) , identifier ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))) <= (binary_expression (parenthesized_expression ( IDENT )) - IDENT))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) )))) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT >> LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) + IDENT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression IDENT == LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (goto_statement goto statement_identifier ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))) <= (binary_expression (parenthesized_expression ( IDENT )) - IDENT))) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) }))) (return_statement return ;) })))
(function_definition "void FUN_0001a3c0(undefined1 *param_1,int param_2)\n\n{\n  int iVar1;\n  int extraout_ECX;\n  uint uVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined2 *puVar7;\n  int unaff_EDI;\n  undefined1 *puVar8;\n  undefined8 uVar9;\n  uint local_28;\n  \n  uVar9 = FUN_0001d569();\n  uVar2 = (uint)((ulonglong)uVar9 >> 0x20);\n  iVar1 = (int)uVar9;\n  puVar5 = param_1 + param_2;\n  if (extraout_ECX < 0) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);\n  }\n  if (iVar1 == 0x7fffffff) {\n    puVar7 = (undefined2 *)(param_1 + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }\n    puVar3 = (undefined1 *)((int)puVar7 + 3);\n    *(undefined1 *)(puVar7 + 1) = 1;\n    *puVar7 = 0x100;\n    goto LAB_0001a479;\n  }\n  local_28 = iVar1 + 5;\n  if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *param_1 = 2;\n    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);\n    puVar8 = param_1 + 1 + iVar1;\n  }\n  else {\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }\n  param_1 = (undefined1 *)(local_28 & 0xff);\n  puVar3 = puVar8 + 1;\n  *puVar8 = (undefined1)local_28;\nLAB_0001a479:\n  if (puVar3 != puVar5) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001a3c0(undefined1 *param_1,int param_2)" (identifier "FUN_0001a3c0") (parameter_list "(undefined1 *param_1,int param_2)" (( "(") (parameter_declaration "undefined1 *param_1" (type_identifier "undefined1") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  int extraout_ECX;\n  uint uVar2;\n  undefined1 *puVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  int iVar6;\n  undefined2 *puVar7;\n  int unaff_EDI;\n  undefined1 *puVar8;\n  undefined8 uVar9;\n  uint local_28;\n  \n  uVar9 = FUN_0001d569();\n  uVar2 = (uint)((ulonglong)uVar9 >> 0x20);\n  iVar1 = (int)uVar9;\n  puVar5 = param_1 + param_2;\n  if (extraout_ECX < 0) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);\n  }\n  if (iVar1 == 0x7fffffff) {\n    puVar7 = (undefined2 *)(param_1 + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }\n    puVar3 = (undefined1 *)((int)puVar7 + 3);\n    *(undefined1 *)(puVar7 + 1) = 1;\n    *puVar7 = 0x100;\n    goto LAB_0001a479;\n  }\n  local_28 = iVar1 + 5;\n  if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *param_1 = 2;\n    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);\n    puVar8 = param_1 + 1 + iVar1;\n  }\n  else {\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }\n  param_1 = (undefined1 *)(local_28 & 0xff);\n  puVar3 = puVar8 + 1;\n  *puVar8 = (undefined1)local_28;\nLAB_0001a479:\n  if (puVar3 != puVar5) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int extraout_ECX;" (primitive_type "int") (identifier "extraout_ECX") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined1 *puVar5;" (type_identifier "undefined1") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined2 *puVar7;" (type_identifier "undefined2") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "undefined8 uVar9;" (type_identifier "undefined8") (identifier "uVar9") (; ";")) (declaration "uint local_28;" (type_identifier "uint") (identifier "local_28") (; ";")) (expression_statement "uVar9 = FUN_0001d569();" (assignment_expression "uVar9 = FUN_0001d569()" (identifier "uVar9") (= "=") (call_expression "FUN_0001d569()" (identifier "FUN_0001d569") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar2 = (uint)((ulonglong)uVar9 >> 0x20);" (assignment_expression "uVar2 = (uint)((ulonglong)uVar9 >> 0x20)" (identifier "uVar2") (= "=") (call_expression "(uint)((ulonglong)uVar9 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)uVar9 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar9 >> 0x20" (cast_expression "(ulonglong)uVar9" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar9")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "iVar1 = (int)uVar9;" (assignment_expression "iVar1 = (int)uVar9" (identifier "iVar1") (= "=") (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9"))) (; ";")) (expression_statement "puVar5 = param_1 + param_2;" (assignment_expression "puVar5 = param_1 + param_2" (identifier "puVar5") (= "=") (binary_expression "param_1 + param_2" (identifier "param_1") (+ "+") (identifier "param_2"))) (; ";")) (if_statement "if (extraout_ECX < 0) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);\n  }" (if "if") (parenthesized_expression "(extraout_ECX < 0)" (( "(") (binary_expression "extraout_ECX < 0" (identifier "extraout_ECX") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);\n  }" ({ "{") (expression_statement "FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);" (call_expression "FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d)" (identifier "FUN_0002be80") (argument_list "(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d)" (( "(") (binary_expression "unaff_EDI + 0x42d94" (identifier "unaff_EDI") (+ "+") (number_literal "0x42d94")) (, ",") (number_literal "0x4bd") (, ",") (binary_expression "unaff_EDI + 0x4305d" (identifier "unaff_EDI") (+ "+") (number_literal "0x4305d")) () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar1 == 0x7fffffff) {\n    puVar7 = (undefined2 *)(param_1 + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }\n    puVar3 = (undefined1 *)((int)puVar7 + 3);\n    *(undefined1 *)(puVar7 + 1) = 1;\n    *puVar7 = 0x100;\n    goto LAB_0001a479;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0x7fffffff)" (( "(") (binary_expression "iVar1 == 0x7fffffff" (identifier "iVar1") (== "==") (number_literal "0x7fffffff")) () ")")) (compound_statement "{\n    puVar7 = (undefined2 *)(param_1 + 1);\n    if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }\n    puVar3 = (undefined1 *)((int)puVar7 + 3);\n    *(undefined1 *)(puVar7 + 1) = 1;\n    *puVar7 = 0x100;\n    goto LAB_0001a479;\n  }" ({ "{") (expression_statement "puVar7 = (undefined2 *)(param_1 + 1);" (assignment_expression "puVar7 = (undefined2 *)(param_1 + 1)" (identifier "puVar7") (= "=") (cast_expression "(undefined2 *)(param_1 + 1)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (extraout_ECX == 0 && uVar2 == 0x11) {\n      *param_1 = 8;\n    }\n    else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }" (if "if") (parenthesized_expression "(extraout_ECX == 0 && uVar2 == 0x11)" (( "(") (binary_expression "extraout_ECX == 0 && uVar2 == 0x11" (binary_expression "extraout_ECX == 0" (identifier "extraout_ECX") (== "==") (number_literal "0")) (&& "&&") (binary_expression "uVar2 == 0x11" (identifier "uVar2") (== "==") (number_literal "0x11"))) () ")")) (compound_statement "{\n      *param_1 = 8;\n    }" ({ "{") (expression_statement "*param_1 = 8;" (assignment_expression "*param_1 = 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "8")) (; ";")) (} "}")) (else_clause "else {\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }" (else "else") (compound_statement "{\n      *param_1 = 2;\n      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);\n      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);\n    }" ({ "{") (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "2")) (; ";")) (expression_statement "param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);" (assignment_expression "param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0)" (identifier "param_1") (= "=") (cast_expression "(undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00031e70(puVar7,uVar2,extraout_ECX,0)" (identifier "FUN_00031e70") (argument_list "(puVar7,uVar2,extraout_ECX,0)" (( "(") (identifier "puVar7") (, ",") (identifier "uVar2") (, ",") (identifier "extraout_ECX") (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);" (assignment_expression "puVar7 = (undefined2 *)((int)puVar7 + (int)param_1)" (identifier "puVar7") (= "=") (cast_expression "(undefined2 *)((int)puVar7 + (int)param_1)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + (int)param_1)" (( "(") (binary_expression "(int)puVar7 + (int)param_1" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) () ")")))) (; ";")) (} "}")))) (expression_statement "puVar3 = (undefined1 *)((int)puVar7 + 3);" (assignment_expression "puVar3 = (undefined1 *)((int)puVar7 + 3)" (identifier "puVar3") (= "=") (cast_expression "(undefined1 *)((int)puVar7 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 3)" (( "(") (binary_expression "(int)puVar7 + 3" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "3")) () ")")))) (; ";")) (expression_statement "*(undefined1 *)(puVar7 + 1) = 1;" (assignment_expression "*(undefined1 *)(puVar7 + 1) = 1" (pointer_expression "*(undefined1 *)(puVar7 + 1)" (* "*") (cast_expression "(undefined1 *)(puVar7 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 1)" (( "(") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*puVar7 = 0x100;" (assignment_expression "*puVar7 = 0x100" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (number_literal "0x100")) (; ";")) (goto_statement "goto LAB_0001a479;" (goto "goto") (statement_identifier "LAB_0001a479") (; ";")) (} "}"))) (expression_statement "local_28 = iVar1 + 5;" (assignment_expression "local_28 = iVar1 + 5" (identifier "local_28") (= "=") (binary_expression "iVar1 + 5" (identifier "iVar1") (+ "+") (number_literal "5"))) (; ";")) (if_statement "if (local_28 < 0xe) {\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *param_1 = 2;\n    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);\n    puVar8 = param_1 + 1 + iVar1;\n  }\n  else {\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }" (if "if") (parenthesized_expression "(local_28 < 0xe)" (( "(") (binary_expression "local_28 < 0xe" (identifier "local_28") (< "<") (number_literal "0xe")) () ")")) (compound_statement "{\n    iVar6 = iVar1;\n    if (iVar1 == 0) goto LAB_0001a4cb;\n    local_28 = iVar1 + 0x12;\n    iVar6 = 0;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }\n    *param_1 = 2;\n    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);\n    puVar8 = param_1 + 1 + iVar1;\n  }" ({ "{") (expression_statement "iVar6 = iVar1;" (assignment_expression "iVar6 = iVar1" (identifier "iVar6") (= "=") (identifier "iVar1")) (; ";")) (if_statement "if (iVar1 == 0) goto LAB_0001a4cb;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001a4cb;" (goto "goto") (statement_identifier "LAB_0001a4cb") (; ";"))) (expression_statement "local_28 = iVar1 + 0x12;" (assignment_expression "local_28 = iVar1 + 0x12" (identifier "local_28") (= "=") (binary_expression "iVar1 + 0x12" (identifier "iVar1") (+ "+") (number_literal "0x12"))) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (if_statement "if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }" (if "if") (parenthesized_expression "(extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX)" (( "(") (binary_expression "extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (binary_expression "extraout_ECX == 0" (identifier "extraout_ECX") (== "==") (number_literal "0")) (&& "&&") (binary_expression "(uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (call_expression "(uint)(0x110 < uVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0x110 < uVar2)" (( "(") (binary_expression "0x110 < uVar2" (number_literal "0x110") (< "<") (identifier "uVar2")) () ")"))) (<= "<=") (binary_expression "(uint)-extraout_ECX" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (- "-") (identifier "extraout_ECX")))) () ")")) (compound_statement "{\nLAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;\n      if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }\n      if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }\n      goto LAB_0001a452;\n    }" ({ "{") (labeled_statement "LAB_0001a42d:\n      uVar4 = uVar2 * 0xe + local_28;" (statement_identifier "LAB_0001a42d") (: ":") (expression_statement "uVar4 = uVar2 * 0xe + local_28;" (assignment_expression "uVar4 = uVar2 * 0xe + local_28" (identifier "uVar4") (= "=") (binary_expression "uVar2 * 0xe + local_28" (binary_expression "uVar2 * 0xe" (identifier "uVar2") (* "*") (number_literal "0xe")) (+ "+") (identifier "local_28"))) (; ";"))) (if_statement "if (uVar4 < 0x100) {\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }" (if "if") (parenthesized_expression "(uVar4 < 0x100)" (( "(") (binary_expression "uVar4 < 0x100" (identifier "uVar4") (< "<") (number_literal "0x100")) () ")")) (compound_statement "{\n        puVar3 = param_1 + 1;\n        *param_1 = (char)uVar4;\n        goto LAB_0001a479;\n      }" ({ "{") (expression_statement "puVar3 = param_1 + 1;" (assignment_expression "puVar3 = param_1 + 1" (identifier "puVar3") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = (char)uVar4;" (assignment_expression "*param_1 = (char)uVar4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(char)uVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar4"))) (; ";")) (goto_statement "goto LAB_0001a479;" (goto "goto") (statement_identifier "LAB_0001a479") (; ";")) (} "}"))) (if_statement "if (uVar4 - 0xee < 0x100) {\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }" (if "if") (parenthesized_expression "(uVar4 - 0xee < 0x100)" (( "(") (binary_expression "uVar4 - 0xee < 0x100" (binary_expression "uVar4 - 0xee" (identifier "uVar4") (- "-") (number_literal "0xee")) (< "<") (number_literal "0x100")) () ")")) (compound_statement "{\n        *param_1 = 8;\n        puVar3 = param_1 + 2;\n        param_1[1] = (char)(uVar4 - 0xee);\n        goto LAB_0001a479;\n      }" ({ "{") (expression_statement "*param_1 = 8;" (assignment_expression "*param_1 = 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "8")) (; ";")) (expression_statement "puVar3 = param_1 + 2;" (assignment_expression "puVar3 = param_1 + 2" (identifier "puVar3") (= "=") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "param_1[1] = (char)(uVar4 - 0xee);" (assignment_expression "param_1[1] = (char)(uVar4 - 0xee)" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(char)(uVar4 - 0xee)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar4 - 0xee)" (( "(") (binary_expression "uVar4 - 0xee" (identifier "uVar4") (- "-") (number_literal "0xee")) () ")")))) (; ";")) (goto_statement "goto LAB_0001a479;" (goto "goto") (statement_identifier "LAB_0001a479") (; ";")) (} "}"))) (goto_statement "goto LAB_0001a452;" (goto "goto") (statement_identifier "LAB_0001a452") (; ";")) (} "}"))) (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "2")) (; ";")) (expression_statement "iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);" (assignment_expression "iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0)" (identifier "iVar1") (= "=") (call_expression "FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0)" (identifier "FUN_00031e70") (argument_list "(param_1 + 1,uVar2,extraout_ECX,0)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) (, ",") (identifier "uVar2") (, ",") (identifier "extraout_ECX") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "puVar8 = param_1 + 1 + iVar1;" (assignment_expression "puVar8 = param_1 + 1 + iVar1" (identifier "puVar8") (= "=") (binary_expression "param_1 + 1 + iVar1" (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) (+ "+") (identifier "iVar1"))) (; ";")) (} "}")) (else_clause "else {\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }" (else "else") (compound_statement "{\n    *param_1 = 3;\n    iVar6 = 1;\n    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);\n    local_28 = 5;\n    param_1 = param_1 + 1 + iVar1;\nLAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }\n    local_28 = local_28 + 0xd;\n    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;\nLAB_0001a452:\n    puVar8 = param_1 + 1;\n    *param_1 = 2;\n    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);\n    puVar8 = puVar8 + (int)param_1;\n    if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }\n  }" ({ "{") (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "3")) (; ";")) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" (identifier "iVar6") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);" (assignment_expression "iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1)" (identifier "iVar1") (= "=") (call_expression "FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1)" (identifier "FUN_00031e70") (argument_list "(param_1 + 1,iVar1,iVar1 >> 0x1f,1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) (, ",") (identifier "iVar1") (, ",") (binary_expression "iVar1 >> 0x1f" (identifier "iVar1") (>> ">>") (number_literal "0x1f")) (, ",") (number_literal "1") () ")")))) (; ";")) (expression_statement "local_28 = 5;" (assignment_expression "local_28 = 5" (identifier "local_28") (= "=") (number_literal "5")) (; ";")) (expression_statement "param_1 = param_1 + 1 + iVar1;" (assignment_expression "param_1 = param_1 + 1 + iVar1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1 + iVar1" (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) (+ "+") (identifier "iVar1"))) (; ";")) (labeled_statement "LAB_0001a4cb:\n    if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }" (statement_identifier "LAB_0001a4cb") (: ":") (if_statement "if (extraout_ECX == 0 && uVar2 == 0) {\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }" (if "if") (parenthesized_expression "(extraout_ECX == 0 && uVar2 == 0)" (( "(") (binary_expression "extraout_ECX == 0 && uVar2 == 0" (binary_expression "extraout_ECX == 0" (identifier "extraout_ECX") (== "==") (number_literal "0")) (&& "&&") (binary_expression "uVar2 == 0" (identifier "uVar2") (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n      puVar3 = param_1 + 1;\n      *param_1 = 1;\n      goto LAB_0001a479;\n    }" ({ "{") (expression_statement "puVar3 = param_1 + 1;" (assignment_expression "puVar3 = param_1 + 1" (identifier "puVar3") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_0001a479;" (goto "goto") (statement_identifier "LAB_0001a479") (; ";")) (} "}")))) (expression_statement "local_28 = local_28 + 0xd;" (assignment_expression "local_28 = local_28 + 0xd" (identifier "local_28") (= "=") (binary_expression "local_28 + 0xd" (identifier "local_28") (+ "+") (number_literal "0xd"))) (; ";")) (if_statement "if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;" (if "if") (parenthesized_expression "(extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX)" (( "(") (binary_expression "extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (binary_expression "extraout_ECX == 0" (identifier "extraout_ECX") (== "==") (number_literal "0")) (&& "&&") (binary_expression "(uint)(0x110 < uVar2) <= (uint)-extraout_ECX" (call_expression "(uint)(0x110 < uVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0x110 < uVar2)" (( "(") (binary_expression "0x110 < uVar2" (number_literal "0x110") (< "<") (identifier "uVar2")) () ")"))) (<= "<=") (binary_expression "(uint)-extraout_ECX" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (- "-") (identifier "extraout_ECX")))) () ")")) (goto_statement "goto LAB_0001a42d;" (goto "goto") (statement_identifier "LAB_0001a42d") (; ";"))) (labeled_statement "LAB_0001a452:\n    puVar8 = param_1 + 1;" (statement_identifier "LAB_0001a452") (: ":") (expression_statement "puVar8 = param_1 + 1;" (assignment_expression "puVar8 = param_1 + 1" (identifier "puVar8") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "2")) (; ";")) (expression_statement "param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);" (assignment_expression "param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0)" (identifier "param_1") (= "=") (cast_expression "(undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00031e70(puVar8,uVar2,extraout_ECX,0)" (identifier "FUN_00031e70") (argument_list "(puVar8,uVar2,extraout_ECX,0)" (( "(") (identifier "puVar8") (, ",") (identifier "uVar2") (, ",") (identifier "extraout_ECX") (, ",") (number_literal "0") () ")"))))) (; ";")) (expression_statement "puVar8 = puVar8 + (int)param_1;" (assignment_expression "puVar8 = puVar8 + (int)param_1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + (int)param_1" (identifier "puVar8") (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (if_statement "if (iVar6 != 0) {\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *puVar8 = 1;\n      puVar3 = puVar8 + 1;\n      goto LAB_0001a479;\n    }" ({ "{") (expression_statement "*puVar8 = 1;" (assignment_expression "*puVar8 = 1" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar3 = puVar8 + 1;" (assignment_expression "puVar3 = puVar8 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (goto_statement "goto LAB_0001a479;" (goto "goto") (statement_identifier "LAB_0001a479") (; ";")) (} "}"))) (} "}")))) (expression_statement "param_1 = (undefined1 *)(local_28 & 0xff);" (assignment_expression "param_1 = (undefined1 *)(local_28 & 0xff)" (identifier "param_1") (= "=") (cast_expression "(undefined1 *)(local_28 & 0xff)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 & 0xff)" (( "(") (binary_expression "local_28 & 0xff" (identifier "local_28") (& "&") (number_literal "0xff")) () ")")))) (; ";")) (expression_statement "puVar3 = puVar8 + 1;" (assignment_expression "puVar3 = puVar8 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar8 = (undefined1)local_28;" (assignment_expression "*puVar8 = (undefined1)local_28" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (cast_expression "(undefined1)local_28" (( "(") (type_descriptor "undefined1" (type_identifier "undefined1")) () ")") (identifier "local_28"))) (; ";")) (labeled_statement "LAB_0001a479:\n  if (puVar3 != puVar5) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }" (statement_identifier "LAB_0001a479") (: ":") (if_statement "if (puVar3 != puVar5) {\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }" (if "if") (parenthesized_expression "(puVar3 != puVar5)" (( "(") (binary_expression "puVar3 != puVar5" (identifier "puVar3") (!= "!=") (identifier "puVar5")) () ")")) (compound_statement "{\n                    \n    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);\n  }" ({ "{") (expression_statement "FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);" (call_expression "FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1)" (identifier "FUN_0002be80") (argument_list "(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1)" (( "(") (binary_expression "unaff_EDI + 0x42d94" (identifier "unaff_EDI") (+ "+") (number_literal "0x42d94")) (, ",") (number_literal "0x50e") (, ",") (binary_expression "unaff_EDI + 0x4305d" (identifier "unaff_EDI") (+ "+") (number_literal "0x4305d")) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(int var_2,type_1 addr_delta,char *p,int len)

{
  int var_6;
  type_2 var_7;
  int var_3;
  char *var_14;
  type_2 var_12;
  char *var_15;
  int var_13;
  int var_5;
  char *var_10;
  type_3 uVar8;
  type_2 var_11;
  
  uVar8 = var_1();
  var_7 = (type_2)((type_4)uVar8 >> 0x20);
  var_6 = (int)uVar8;
  var_15 = (char *)((int)addr_delta + var_2);
  if (var_3 < 0) {
                    /* WARNING: Subroutine does not return */
    var_4((char *)(var_5 + 0x42d94),0x4bd,(char *)(var_5 + 0x4305d));
  }
  if (var_6 == 0x7fffffff) {
    var_10 = (char *)(var_2 + 1);
    if (var_3 == 0 && var_7 == 0x11) {
      *(type_5 *)var_2 = 8;
    }
    else {
      *(type_5 *)var_2 = 2;
      var_7 = var_8(var_10,var_9(var_3,var_7),0);
      var_10 = var_10 + var_7;
    }
    var_14 = var_10 + 3;
    var_10[2] = '\x01';
    var_10[0] = '\0';
    var_10[1] = '\x01';
    goto LAB_0001a479;
  }
  var_11 = var_6 + 5;
  if (var_11 < 0xe) {
    var_13 = var_6;
    if (var_6 == 0) goto LAB_0001a4cb;
    var_11 = var_6 + 0x12;
    var_13 = 0;
    if (var_3 == 0 && (type_2)(0x110 < var_7) <= (type_2)-var_3) {
LAB_0001a42d:
      var_12 = var_7 * 0xe + var_11;
      if (var_12 < 0x100) {
        var_14 = (char *)(var_2 + 1);
        *(char *)var_2 = (char)var_12;
        goto LAB_0001a479;
      }
      if (var_12 - 0xee < 0x100) {
        *(char *)var_2 = '\b';
        var_14 = (char *)(var_2 + 2);
        *(char *)(var_2 + 1) = (char)(var_12 - 0xee);
        goto LAB_0001a479;
      }
      goto LAB_0001a452;
    }
    *(type_5 *)var_2 = 2;
    var_7 = var_8((char *)(var_2 + 1),var_9(var_3,var_7),0);
    var_10 = (char *)(var_2 + 1) + var_7;
  }
  else {
    *(type_5 *)var_2 = 3;
    var_13 = 1;
    var_12 = var_8((char *)(var_2 + 1),(type_6)var_6,1);
    var_11 = 5;
    var_2 = (int)((char *)(var_2 + 1) + var_12);
LAB_0001a4cb:
    if (var_3 == 0 && var_7 == 0) {
      var_14 = (char *)(var_2 + 1);
      *(char *)var_2 = '\x01';
      goto LAB_0001a479;
    }
    var_11 = var_11 + 0xd;
    if (var_3 == 0 && (type_2)(0x110 < var_7) <= (type_2)-var_3) goto LAB_0001a42d;
LAB_0001a452:
    *(char *)var_2 = '\x02';
    var_7 = var_8((char *)(var_2 + 1),var_9(var_3,var_7),0);
    var_10 = (char *)(var_2 + 1) + var_7;
    if (var_13 != 0) {
      *var_10 = '\x01';
      var_14 = var_10 + 1;
      goto LAB_0001a479;
    }
  }
  var_14 = var_10 + 1;
  *var_10 = (char)var_11;
LAB_0001a479:
  if (var_14 != var_15) {
                    /* WARNING: Subroutine does not return */
    var_4((char *)(var_5 + 0x42d94),0x50e,(char *)(var_5 + 0x4305d));
  }
  return;
}


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

void MASKED(undefined1 *param_1,int param_2)

{
  int iVar1;
  int extraout_ECX;
  uint uVar2;
  undefined1 *puVar3;
  uint uVar4;
  undefined1 *puVar5;
  int iVar6;
  undefined2 *puVar7;
  int unaff_EDI;
  undefined1 *puVar8;
  undefined8 uVar9;
  uint local_28;
  
  uVar9 = FUN_0001d569();
  uVar2 = (uint)((ulonglong)uVar9 >> 0x20);
  iVar1 = (int)uVar9;
  puVar5 = param_1 + param_2;
  if (extraout_ECX < 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0002be80(unaff_EDI + 0x42d94,0x4bd,unaff_EDI + 0x4305d);
  }
  if (iVar1 == 0x7fffffff) {
    puVar7 = (undefined2 *)(param_1 + 1);
    if (extraout_ECX == 0 && uVar2 == 0x11) {
      *param_1 = 8;
    }
    else {
      *param_1 = 2;
      param_1 = (undefined1 *)FUN_00031e70(puVar7,uVar2,extraout_ECX,0);
      puVar7 = (undefined2 *)((int)puVar7 + (int)param_1);
    }
    puVar3 = (undefined1 *)((int)puVar7 + 3);
    *(undefined1 *)(puVar7 + 1) = 1;
    *puVar7 = 0x100;
    goto LAB_0001a479;
  }
  local_28 = iVar1 + 5;
  if (local_28 < 0xe) {
    iVar6 = iVar1;
    if (iVar1 == 0) goto LAB_0001a4cb;
    local_28 = iVar1 + 0x12;
    iVar6 = 0;
    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) {
LAB_0001a42d:
      uVar4 = uVar2 * 0xe + local_28;
      if (uVar4 < 0x100) {
        puVar3 = param_1 + 1;
        *param_1 = (char)uVar4;
        goto LAB_0001a479;
      }
      if (uVar4 - 0xee < 0x100) {
        *param_1 = 8;
        puVar3 = param_1 + 2;
        param_1[1] = (char)(uVar4 - 0xee);
        goto LAB_0001a479;
      }
      goto LAB_0001a452;
    }
    *param_1 = 2;
    iVar1 = FUN_00031e70(param_1 + 1,uVar2,extraout_ECX,0);
    puVar8 = param_1 + 1 + iVar1;
  }
  else {
    *param_1 = 3;
    iVar6 = 1;
    iVar1 = FUN_00031e70(param_1 + 1,iVar1,iVar1 >> 0x1f,1);
    local_28 = 5;
    param_1 = param_1 + 1 + iVar1;
LAB_0001a4cb:
    if (extraout_ECX == 0 && uVar2 == 0) {
      puVar3 = param_1 + 1;
      *param_1 = 1;
      goto LAB_0001a479;
    }
    local_28 = local_28 + 0xd;
    if (extraout_ECX == 0 && (uint)(0x110 < uVar2) <= (uint)-extraout_ECX) goto LAB_0001a42d;
LAB_0001a452:
    puVar8 = param_1 + 1;
    *param_1 = 2;
    param_1 = (undefined1 *)FUN_00031e70(puVar8,uVar2,extraout_ECX,0);
    puVar8 = puVar8 + (int)param_1;
    if (iVar6 != 0) {
      *puVar8 = 1;
      puVar3 = puVar8 + 1;
      goto LAB_0001a479;
    }
  }
  param_1 = (undefined1 *)(local_28 & 0xff);
  puVar3 = puVar8 + 1;
  *puVar8 = (undefined1)local_28;
LAB_0001a479:
  if (puVar3 != puVar5) {
                    /* WARNING: Subroutine does not return */
    FUN_0002be80(unaff_EDI + 0x42d94,0x50e,unaff_EDI + 0x4305d,param_1);
  }
  return;
}

