
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 set_fd_flags(int fd,int add_flags,char *name)

{
  int *piVar1;
  int iVar2;
  int *extraout_ECX;
  undefined4 extraout_EDX;
  undefined4 extraout_EDX_00;
  undefined4 extraout_EDX_01;
  undefined4 uVar3;
  undefined1 *puVar4;
  undefined1 *puVar5;
  int *piVar6;
  int in_GS_OFFSET;
  int aiStack_c0 [5];
  undefined1 auStack_9c [12];
  int *local_90;
  stat st;
  
  puVar5 = auStack_9c;
  if ((add_flags & 0xfffdfeffU) != 0) {
    piVar1 = (int *)rpl_fcntl(fd,3,0,0);
    puVar5 = auStack_9c;
    piVar6 = (int *)(add_flags & 0xfffdfeffU | (uint)piVar1);
    puVar4 = auStack_9c;
    if ((int)piVar1 < 0) goto LAB_00015236;
    if (piVar1 != piVar6) {
      uVar3 = extraout_EDX;
      puVar5 = auStack_9c;
      if (((uint)piVar6 & 0x10000) != 0) {
        local_90 = piVar1;
        piVar1 = (int *)__fxstat64(3,fd,(stat64 *)&st);
        puVar5 = auStack_9c;
        puVar4 = auStack_9c;
        if (piVar1 != (int *)0x0) goto LAB_00015236;
        piVar1 = local_90;
        uVar3 = extraout_EDX_00;
        if ((st.st_mode & 0xf000) == 0x4000) goto LAB_00015267;
        piVar1 = __errno_location();
        *piVar1 = 0x14;
        puVar4 = auStack_9c;
        goto LAB_00015236;
      }
      do {
        *(undefined4 *)(puVar5 + -4) = uVar3;
        *(int **)(puVar5 + -8) = piVar6;
        *(undefined4 *)(puVar5 + -0xc) = 4;
        *(int *)(puVar5 + -0x10) = fd;
        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;
        iVar2 = rpl_fcntl(*(int *)(puVar5 + -0x10),*(int *)(puVar5 + -0xc));
        if (iVar2 != -1) break;
        piVar1 = (int *)0x0;
        puVar4 = puVar5;
LAB_00015236:
        *(int **)(puVar4 + -4) = piVar1;
        *(int **)(puVar4 + -8) = piVar1;
        *(char **)(puVar4 + -0xc) = name;
        *(undefined4 *)(puVar4 + -0x10) = 4;
        *(undefined4 *)(puVar4 + -0x14) = 0x15240;
        fd = (int)quotearg_style(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc));
        *(undefined4 *)(puVar4 + -8) = 5;
        *(char **)(puVar4 + -0xc) = "setting flags for %s";
        *(undefined4 *)(puVar4 + -0x10) = 0;
        *(undefined4 *)(puVar4 + -0x14) = 0x15255;
        piVar6 = (int *)dcgettext();
        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;
        piVar1 = __errno_location();
        *(int *)(puVar4 + -0x14) = fd;
        *(int **)(puVar4 + -0x18) = piVar6;
        *(int *)(puVar4 + -0x1c) = *piVar1;
        puVar5 = puVar4 + -0x20;
        *(undefined4 *)(puVar4 + -0x20) = 1;
        *(undefined4 *)(puVar4 + -0x24) = 0x15267;
        nl_error(*(int *)(puVar4 + -0x20),*(int *)(puVar4 + -0x1c),*(char **)(puVar4 + -0x18));
        piVar1 = extraout_ECX;
        uVar3 = extraout_EDX_01;
LAB_00015267:
        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);
      } while (piVar6 != piVar1);
    }
  }
  if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    *(undefined4 *)(puVar5 + -4) = 0x1527f;
    __stack_chk_fail_local();
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 FUN_00015180(int param_1,uint param_2,undefined4 param_3)

{
  int iVar1;
  int *piVar2;
  int *extraout_ECX;
  undefined4 extraout_EDX;
  undefined4 extraout_EDX_00;
  undefined4 uVar3;
  undefined1 *puVar4;
  undefined1 *puVar5;
  int *piVar6;
  int in_GS_OFFSET;
  undefined8 uVar7;
  int aiStackY_c0 [5];
  undefined1 auStack_9c [12];
  int *local_90;
  stat64 local_80;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1518d;
  puVar5 = auStack_9c;
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  if ((param_2 & 0xfffdfeff) != 0) {
    uVar7 = FUN_0001caa0(param_1,3,0,0);
    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);
    piVar2 = (int *)uVar7;
    puVar5 = auStack_9c;
    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);
    puVar4 = auStack_9c;
    if ((int)piVar2 < 0) goto LAB_00015236;
    if (piVar2 != piVar6) {
      puVar5 = auStack_9c;
      if (((uint)piVar6 & 0x10000) != 0) {
        local_90 = piVar2;
        piVar2 = (int *)__fxstat64(3,param_1,&local_80);
        puVar5 = auStack_9c;
        puVar4 = auStack_9c;
        if (piVar2 != (int *)0x0) goto LAB_00015236;
        piVar2 = local_90;
        uVar3 = extraout_EDX;
        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;
        piVar2 = __errno_location();
        *piVar2 = 0x14;
        puVar4 = auStack_9c;
        goto LAB_00015236;
      }
      do {
        *(undefined4 *)(puVar5 + -4) = uVar3;
        *(int **)(puVar5 + -8) = piVar6;
        *(undefined4 *)(puVar5 + -0xc) = 4;
        *(int *)(puVar5 + -0x10) = param_1;
        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;
        iVar1 = FUN_0001caa0();
        if (iVar1 != -1) break;
        piVar2 = (int *)0x0;
        puVar4 = puVar5;
LAB_00015236:
        *(int **)(puVar4 + -4) = piVar2;
        *(int **)(puVar4 + -8) = piVar2;
        *(undefined4 *)(puVar4 + -0xc) = param_3;
        *(undefined4 *)(puVar4 + -0x10) = 4;
        *(undefined4 *)(puVar4 + -0x14) = 0x15240;
        param_1 = FUN_0001ac30();
        *(undefined4 *)(puVar4 + -8) = 5;
        *(char **)(puVar4 + -0xc) = "setting flags for %s";
        *(undefined4 *)(puVar4 + -0x10) = 0;
        *(undefined4 *)(puVar4 + -0x14) = 0x15255;
        piVar6 = (int *)dcgettext();
        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;
        piVar2 = __errno_location();
        *(int *)(puVar4 + -0x14) = param_1;
        *(int **)(puVar4 + -0x18) = piVar6;
        *(int *)(puVar4 + -0x1c) = *piVar2;
        puVar5 = puVar4 + -0x20;
        *(undefined4 *)(puVar4 + -0x20) = 1;
        *(undefined4 *)(puVar4 + -0x24) = 0x15267;
        FUN_00014f80();
        piVar2 = extraout_ECX;
        uVar3 = extraout_EDX_00;
LAB_00015267:
        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);
      } while (piVar6 != piVar2);
    }
  }
  if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    *(undefined4 *)(puVar5 + -4) = 0x1527f;
    FUN_000214c0();
  }
  return;
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x00014850
ADD EBX,0x14e73
SUB ESP,0x8c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x7c],EAX
XOR EAX,EAX
AND ESI,0xfffdfeff
JNZ 0x000151c9
MOV EAX,dword ptr [ESP + 0x7c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x0001527a
ADD ESP,0x8c
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EAX
MOV EBP,ECX
PUSH EAX
PUSH 0x3
PUSH EDI
CALL 0x0001caa0
ADD ESP,0x10
OR ESI,EAX
TEST EAX,EAX
JS 0x00015236
CMP EAX,ESI
JZ 0x000151ad
TEST ESI,0x10000
JNZ 0x000151fe
PUSH EDX
PUSH ESI
PUSH 0x4
PUSH EDI
CALL 0x0001caa0
ADD ESP,0x10
ADD EAX,0x1
JNZ 0x000151ad
JMP 0x00015236
MOV dword ptr [ESP + 0xc],EAX
PUSH ECX
LEA EAX,[ESP + 0x20]
PUSH EAX
PUSH EDI
PUSH 0x3
CALL 0x000121e0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00015236
MOV EAX,dword ptr [ESP + 0x2c]
MOV ECX,dword ptr [ESP + 0xc]
AND EAX,0xf000
CMP EAX,0x4000
JZ 0x00015267
CALL 0x00012350
MOV dword ptr [EAX],0x14
PUSH EAX
PUSH EAX
PUSH EBP
PUSH 0x4
CALL 0x0001ac30
ADD ESP,0xc
MOV EDI,EAX
LEA EAX,[EBX + 0xffff809c]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x00012170
MOV ESI,EAX
CALL 0x00012350
PUSH EDI
PUSH ESI
PUSH dword ptr [EAX]
PUSH 0x1
CALL 0x00014f80
AND ESI,0xfffeffff
CMP ESI,ECX
JZ 0x000151ad
JMP 0x000151ea
CALL 0x000214c0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00015180(int param_1,uint param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *extraout_ECX;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  int aiStackY_c0 [5];\n  undefined1 auStack_9c [12];\n  int *local_90;\n  stat64 local_80;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1518d;\n  puVar5 = auStack_9c;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 0xfffdfeff) != 0) {\n    uVar7 = FUN_0001caa0(param_1,3,0,0);\n    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);\n    piVar2 = (int *)uVar7;\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);\n    puVar4 = auStack_9c;\n    if ((int)piVar2 < 0) goto LAB_00015236;\n    if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }\n  }\n  if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    FUN_000214c0();\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00015180(int param_1,uint param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *extraout_ECX;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  int aiStackY_c0 [5];\n  undefined1 auStack_9c [12];\n  int *local_90;\n  stat64 local_80;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1518d;\n  puVar5 = auStack_9c;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 0xfffdfeff) != 0) {\n    uVar7 = FUN_0001caa0(param_1,3,0,0);\n    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);\n    piVar2 = (int *)uVar7;\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);\n    puVar4 = auStack_9c;\n    if ((int)piVar2 < 0) goto LAB_00015236;\n    if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }\n  }\n  if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    FUN_000214c0();\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00015180(int param_1,uint param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,uint param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int *extraout_ECX;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  int aiStackY_c0 [5];\n  undefined1 auStack_9c [12];\n  int *local_90;\n  stat64 local_80;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1518d;\n  puVar5 = auStack_9c;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 0xfffdfeff) != 0) {\n    uVar7 = FUN_0001caa0(param_1,3,0,0);\n    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);\n    piVar2 = (int *)uVar7;\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);\n    puVar4 = auStack_9c;\n    if ((int)piVar2 < 0) goto LAB_00015236;\n    if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }\n  }\n  if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    FUN_000214c0();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *extraout_ECX;" primitive_type (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX_00;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (declaration "int aiStackY_c0 [5];" primitive_type (array_declarator "aiStackY_c0 [5]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_9c [12];" type_identifier (array_declarator "auStack_9c [12]" identifier [ number_literal ]) ;) (declaration "int *local_90;" primitive_type (pointer_declarator "*local_90" * identifier) ;) (declaration "stat64 local_80;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1518d;" (assignment_expression "uStack_14 = 0x1518d" identifier = number_literal) ;) (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" identifier = identifier) ;) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((param_2 & 0xfffdfeff) != 0) {\n    uVar7 = FUN_0001caa0(param_1,3,0,0);\n    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);\n    piVar2 = (int *)uVar7;\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);\n    puVar4 = auStack_9c;\n    if ((int)piVar2 < 0) goto LAB_00015236;\n    if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }\n  }" if (parenthesized_expression "((param_2 & 0xfffdfeff) != 0)" ( (binary_expression "(param_2 & 0xfffdfeff) != 0" (parenthesized_expression "(param_2 & 0xfffdfeff)" ( (binary_expression "param_2 & 0xfffdfeff" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar7 = FUN_0001caa0(param_1,3,0,0);\n    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);\n    piVar2 = (int *)uVar7;\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);\n    puVar4 = auStack_9c;\n    if ((int)piVar2 < 0) goto LAB_00015236;\n    if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }\n  }" { (expression_statement "uVar7 = FUN_0001caa0(param_1,3,0,0);" (assignment_expression "uVar7 = FUN_0001caa0(param_1,3,0,0)" identifier = (call_expression "FUN_0001caa0(param_1,3,0,0)" identifier (argument_list "(param_1,3,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar7 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar7 >> 0x20)" ( (binary_expression "(ulonglong)uVar7 >> 0x20" (cast_expression "(ulonglong)uVar7" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar2 = (int *)uVar7;" (assignment_expression "piVar2 = (int *)uVar7" identifier = (cast_expression "(int *)uVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" identifier = identifier) ;) (expression_statement "piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);" (assignment_expression "piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2)" identifier = (cast_expression "(int *)(param_2 & 0xfffdfeff | (uint)piVar2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 & 0xfffdfeff | (uint)piVar2)" ( (binary_expression "param_2 & 0xfffdfeff | (uint)piVar2" (binary_expression "param_2 & 0xfffdfeff" identifier & number_literal) | (cast_expression "(uint)piVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (expression_statement "puVar4 = auStack_9c;" (assignment_expression "puVar4 = auStack_9c" identifier = identifier) ;) (if_statement "if ((int)piVar2 < 0) goto LAB_00015236;" if (parenthesized_expression "((int)piVar2 < 0)" ( (binary_expression "(int)piVar2 < 0" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_00015236;" goto statement_identifier ;)) (if_statement "if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }" if (parenthesized_expression "(piVar2 != piVar6)" ( (binary_expression "piVar2 != piVar6" identifier != identifier) )) (compound_statement "{\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }" { (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" identifier = identifier) ;) (if_statement "if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }" if (parenthesized_expression "(((uint)piVar6 & 0x10000) != 0)" ( (binary_expression "((uint)piVar6 & 0x10000) != 0" (parenthesized_expression "((uint)piVar6 & 0x10000)" ( (binary_expression "(uint)piVar6 & 0x10000" (cast_expression "(uint)piVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }" { (expression_statement "local_90 = piVar2;" (assignment_expression "local_90 = piVar2" identifier = identifier) ;) (expression_statement "piVar2 = (int *)__fxstat64(3,param_1,&local_80);" (assignment_expression "piVar2 = (int *)__fxstat64(3,param_1,&local_80)" identifier = (cast_expression "(int *)__fxstat64(3,param_1,&local_80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "__fxstat64(3,param_1,&local_80)" identifier (argument_list "(3,param_1,&local_80)" ( number_literal , identifier , (pointer_expression "&local_80" & identifier) ))))) ;) (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" identifier = identifier) ;) (expression_statement "puVar4 = auStack_9c;" (assignment_expression "puVar4 = auStack_9c" identifier = identifier) ;) (if_statement "if (piVar2 != (int *)0x0) goto LAB_00015236;" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00015236;" goto statement_identifier ;)) (expression_statement "piVar2 = local_90;" (assignment_expression "piVar2 = local_90" identifier = identifier) ;) (expression_statement "uVar3 = extraout_EDX;" (assignment_expression "uVar3 = extraout_EDX" identifier = identifier) ;) (if_statement "if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;" if (parenthesized_expression "((local_80.st_mode & 0xf000) == 0x4000)" ( (binary_expression "(local_80.st_mode & 0xf000) == 0x4000" (parenthesized_expression "(local_80.st_mode & 0xf000)" ( (binary_expression "local_80.st_mode & 0xf000" (field_expression "local_80.st_mode" identifier . field_identifier) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00015267;" goto statement_identifier ;)) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar2 = 0x14;" (assignment_expression "*piVar2 = 0x14" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "puVar4 = auStack_9c;" (assignment_expression "puVar4 = auStack_9c" identifier = identifier) ;) (goto_statement "goto LAB_00015236;" goto statement_identifier ;) })) (do_statement "do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);" do (compound_statement "{\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      }" { (expression_statement "*(undefined4 *)(puVar5 + -4) = uVar3;" (assignment_expression "*(undefined4 *)(puVar5 + -4) = uVar3" (pointer_expression "*(undefined4 *)(puVar5 + -4)" * (cast_expression "(undefined4 *)(puVar5 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar5 + -8) = piVar6;" (assignment_expression "*(int **)(puVar5 + -8) = piVar6" (pointer_expression "*(int **)(puVar5 + -8)" * (cast_expression "(int **)(puVar5 + -8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -8)" ( (binary_expression "puVar5 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar5 + -0xc) = 4;" (assignment_expression "*(undefined4 *)(puVar5 + -0xc) = 4" (pointer_expression "*(undefined4 *)(puVar5 + -0xc)" * (cast_expression "(undefined4 *)(puVar5 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0xc)" ( (binary_expression "puVar5 + -0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(puVar5 + -0x10) = param_1;" (assignment_expression "*(int *)(puVar5 + -0x10) = param_1" (pointer_expression "*(int *)(puVar5 + -0x10)" * (cast_expression "(int *)(puVar5 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar5 + -0x14) = 0x151f4;" (assignment_expression "*(undefined4 *)(puVar5 + -0x14) = 0x151f4" (pointer_expression "*(undefined4 *)(puVar5 + -0x14)" * (cast_expression "(undefined4 *)(puVar5 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x14)" ( (binary_expression "puVar5 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = FUN_0001caa0();" (assignment_expression "iVar1 = FUN_0001caa0()" identifier = (call_expression "FUN_0001caa0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != -1) break;" if (parenthesized_expression "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "piVar2 = (int *)0x0;" (assignment_expression "piVar2 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (labeled_statement "LAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;" statement_identifier : (expression_statement "*(int **)(puVar4 + -4) = piVar2;" (assignment_expression "*(int **)(puVar4 + -4) = piVar2" (pointer_expression "*(int **)(puVar4 + -4)" * (cast_expression "(int **)(puVar4 + -4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -4)" ( (binary_expression "puVar4 + -4" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(int **)(puVar4 + -8) = piVar2;" (assignment_expression "*(int **)(puVar4 + -8) = piVar2" (pointer_expression "*(int **)(puVar4 + -8)" * (cast_expression "(int **)(puVar4 + -8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -8)" ( (binary_expression "puVar4 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar4 + -0xc) = param_3;" (assignment_expression "*(undefined4 *)(puVar4 + -0xc) = param_3" (pointer_expression "*(undefined4 *)(puVar4 + -0xc)" * (cast_expression "(undefined4 *)(puVar4 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x10) = 4;" (assignment_expression "*(undefined4 *)(puVar4 + -0x10) = 4" (pointer_expression "*(undefined4 *)(puVar4 + -0x10)" * (cast_expression "(undefined4 *)(puVar4 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x10)" ( (binary_expression "puVar4 + -0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x15240;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x15240" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" * (cast_expression "(undefined4 *)(puVar4 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1 = FUN_0001ac30();" (assignment_expression "param_1 = FUN_0001ac30()" identifier = (call_expression "FUN_0001ac30()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(puVar4 + -8) = 5;" (assignment_expression "*(undefined4 *)(puVar4 + -8) = 5" (pointer_expression "*(undefined4 *)(puVar4 + -8)" * (cast_expression "(undefined4 *)(puVar4 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -8)" ( (binary_expression "puVar4 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)(puVar4 + -0xc) = "setting flags for %s";" (assignment_expression "*(char **)(puVar4 + -0xc) = "setting flags for %s"" (pointer_expression "*(char **)(puVar4 + -0xc)" * (cast_expression "(char **)(puVar4 + -0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = (string_literal ""setting flags for %s"" " string_content ")) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x10) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -0x10) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -0x10)" * (cast_expression "(undefined4 *)(puVar4 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x10)" ( (binary_expression "puVar4 + -0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x15255;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x15255" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" * (cast_expression "(undefined4 *)(puVar4 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "piVar6 = (int *)dcgettext();" (assignment_expression "piVar6 = (int *)dcgettext()" identifier = (cast_expression "(int *)dcgettext()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x1525c;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x1525c" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" * (cast_expression "(undefined4 *)(puVar4 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(int *)(puVar4 + -0x14) = param_1;" (assignment_expression "*(int *)(puVar4 + -0x14) = param_1" (pointer_expression "*(int *)(puVar4 + -0x14)" * (cast_expression "(int *)(puVar4 + -0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar4 + -0x18) = piVar6;" (assignment_expression "*(int **)(puVar4 + -0x18) = piVar6" (pointer_expression "*(int **)(puVar4 + -0x18)" * (cast_expression "(int **)(puVar4 + -0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0x18)" ( (binary_expression "puVar4 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar4 + -0x1c) = *piVar2;" (assignment_expression "*(int *)(puVar4 + -0x1c) = *piVar2" (pointer_expression "*(int *)(puVar4 + -0x1c)" * (cast_expression "(int *)(puVar4 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x1c)" ( (binary_expression "puVar4 + -0x1c" identifier + number_literal) )))) = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "puVar5 = puVar4 + -0x20;" (assignment_expression "puVar5 = puVar4 + -0x20" identifier = (binary_expression "puVar4 + -0x20" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x20) = 1;" (assignment_expression "*(undefined4 *)(puVar4 + -0x20) = 1" (pointer_expression "*(undefined4 *)(puVar4 + -0x20)" * (cast_expression "(undefined4 *)(puVar4 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x20)" ( (binary_expression "puVar4 + -0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x24) = 0x15267;" (assignment_expression "*(undefined4 *)(puVar4 + -0x24) = 0x15267" (pointer_expression "*(undefined4 *)(puVar4 + -0x24)" * (cast_expression "(undefined4 *)(puVar4 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x24)" ( (binary_expression "puVar4 + -0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00014f80();" (call_expression "FUN_00014f80()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar2 = extraout_ECX;" (assignment_expression "piVar2 = extraout_ECX" identifier = identifier) ;) (expression_statement "uVar3 = extraout_EDX_00;" (assignment_expression "uVar3 = extraout_EDX_00" identifier = identifier) ;) (labeled_statement "LAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);" statement_identifier : (expression_statement "piVar6 = (int *)((uint)piVar6 & 0xfffeffff);" (assignment_expression "piVar6 = (int *)((uint)piVar6 & 0xfffeffff)" identifier = (cast_expression "(int *)((uint)piVar6 & 0xfffeffff)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)piVar6 & 0xfffeffff)" ( (binary_expression "(uint)piVar6 & 0xfffeffff" (cast_expression "(uint)piVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )))) ;)) }) while (parenthesized_expression "(piVar6 != piVar2)" ( (binary_expression "piVar6 != piVar2" identifier != identifier) )) ;) })) })) (if_statement "if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    FUN_000214c0();\n  }" if (parenthesized_expression "(*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar5 + 0x7c)" * (cast_expression "(int *)(puVar5 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x7c)" ( (binary_expression "puVar5 + 0x7c" identifier + number_literal) )))) != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    FUN_000214c0();\n  }" { comment (expression_statement "*(undefined4 *)(puVar5 + -4) = 0x1527f;" (assignment_expression "*(undefined4 *)(puVar5 + -4) = 0x1527f" (pointer_expression "*(undefined4 *)(puVar5 + -4)" * (cast_expression "(undefined4 *)(puVar5 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000214c0();" (call_expression "FUN_000214c0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 set_fd_flags(int fd,int add_flags,char *name)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *extraout_ECX;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  undefined4 extraout_EDX_01;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  int aiStack_c0 [5];\n  undefined1 auStack_9c [12];\n  int *local_90;\n  stat st;\n  \n  puVar5 = auStack_9c;\n  if ((add_flags & 0xfffdfeffU) != 0) {\n    piVar1 = (int *)rpl_fcntl(fd,3,0,0);\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(add_flags & 0xfffdfeffU | (uint)piVar1);\n    puVar4 = auStack_9c;\n    if ((int)piVar1 < 0) goto LAB_00015236;\n    if (piVar1 != piVar6) {\n      uVar3 = extraout_EDX;\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar1;\n        piVar1 = (int *)__fxstat64(3,fd,(stat64 *)&st);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar1 != (int *)0x0) goto LAB_00015236;\n        piVar1 = local_90;\n        uVar3 = extraout_EDX_00;\n        if ((st.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar1 = __errno_location();\n        *piVar1 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = fd;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar2 = rpl_fcntl(*(int *)(puVar5 + -0x10),*(int *)(puVar5 + -0xc));\n        if (iVar2 != -1) break;\n        piVar1 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar1;\n        *(int **)(puVar4 + -8) = piVar1;\n        *(char **)(puVar4 + -0xc) = name;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        fd = (int)quotearg_style(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc));\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar1 = __errno_location();\n        *(int *)(puVar4 + -0x14) = fd;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar1;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        nl_error(*(int *)(puVar4 + -0x20),*(int *)(puVar4 + -0x1c),*(char **)(puVar4 + -0x18));\n        piVar1 = extraout_ECX;\n        uVar3 = extraout_EDX_01;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar1);\n    }\n  }\n  if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    __stack_chk_fail_local();\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 set_fd_flags(int fd,int add_flags,char *name)\n\n{\n  int *piVar1;\n  int iVar2;\n  int *extraout_ECX;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  undefined4 extraout_EDX_01;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  int aiStack_c0 [5];\n  undefined1 auStack_9c [12];\n  int *local_90;\n  stat st;\n  \n  puVar5 = auStack_9c;\n  if ((add_flags & 0xfffdfeffU) != 0) {\n    piVar1 = (int *)rpl_fcntl(fd,3,0,0);\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(add_flags & 0xfffdfeffU | (uint)piVar1);\n    puVar4 = auStack_9c;\n    if ((int)piVar1 < 0) goto LAB_00015236;\n    if (piVar1 != piVar6) {\n      uVar3 = extraout_EDX;\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar1;\n        piVar1 = (int *)__fxstat64(3,fd,(stat64 *)&st);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar1 != (int *)0x0) goto LAB_00015236;\n        piVar1 = local_90;\n        uVar3 = extraout_EDX_00;\n        if ((st.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar1 = __errno_location();\n        *piVar1 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = fd;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar2 = rpl_fcntl(*(int *)(puVar5 + -0x10),*(int *)(puVar5 + -0xc));\n        if (iVar2 != -1) break;\n        piVar1 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar1;\n        *(int **)(puVar4 + -8) = piVar1;\n        *(char **)(puVar4 + -0xc) = name;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        fd = (int)quotearg_style(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc));\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar1 = __errno_location();\n        *(int *)(puVar4 + -0x14) = fd;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar1;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        nl_error(*(int *)(puVar4 + -0x20),*(int *)(puVar4 + -0x1c),*(char **)(puVar4 + -0x18));\n        piVar1 = extraout_ECX;\n        uVar3 = extraout_EDX_01;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar1);\n    }\n  }\n  if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    __stack_chk_fail_local();\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "set_fd_flags(int fd,int add_flags,char *name)" identifier (parameter_list "(int fd,int add_flags,char *name)" ( (parameter_declaration "int fd" primitive_type identifier) , (parameter_declaration "int add_flags" primitive_type identifier) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int *extraout_ECX;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  undefined4 extraout_EDX_01;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  int aiStack_c0 [5];\n  undefined1 auStack_9c [12];\n  int *local_90;\n  stat st;\n  \n  puVar5 = auStack_9c;\n  if ((add_flags & 0xfffdfeffU) != 0) {\n    piVar1 = (int *)rpl_fcntl(fd,3,0,0);\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(add_flags & 0xfffdfeffU | (uint)piVar1);\n    puVar4 = auStack_9c;\n    if ((int)piVar1 < 0) goto LAB_00015236;\n    if (piVar1 != piVar6) {\n      uVar3 = extraout_EDX;\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar1;\n        piVar1 = (int *)__fxstat64(3,fd,(stat64 *)&st);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar1 != (int *)0x0) goto LAB_00015236;\n        piVar1 = local_90;\n        uVar3 = extraout_EDX_00;\n        if ((st.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar1 = __errno_location();\n        *piVar1 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = fd;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar2 = rpl_fcntl(*(int *)(puVar5 + -0x10),*(int *)(puVar5 + -0xc));\n        if (iVar2 != -1) break;\n        piVar1 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar1;\n        *(int **)(puVar4 + -8) = piVar1;\n        *(char **)(puVar4 + -0xc) = name;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        fd = (int)quotearg_style(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc));\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar1 = __errno_location();\n        *(int *)(puVar4 + -0x14) = fd;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar1;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        nl_error(*(int *)(puVar4 + -0x20),*(int *)(puVar4 + -0x1c),*(char **)(puVar4 + -0x18));\n        piVar1 = extraout_ECX;\n        uVar3 = extraout_EDX_01;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar1);\n    }\n  }\n  if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    __stack_chk_fail_local();\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *extraout_ECX;" primitive_type (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX_00;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX_01;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int aiStack_c0 [5];" primitive_type (array_declarator "aiStack_c0 [5]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_9c [12];" type_identifier (array_declarator "auStack_9c [12]" identifier [ number_literal ]) ;) (declaration "int *local_90;" primitive_type (pointer_declarator "*local_90" * identifier) ;) (declaration "stat st;" type_identifier identifier ;) (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" identifier = identifier) ;) (if_statement "if ((add_flags & 0xfffdfeffU) != 0) {\n    piVar1 = (int *)rpl_fcntl(fd,3,0,0);\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(add_flags & 0xfffdfeffU | (uint)piVar1);\n    puVar4 = auStack_9c;\n    if ((int)piVar1 < 0) goto LAB_00015236;\n    if (piVar1 != piVar6) {\n      uVar3 = extraout_EDX;\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar1;\n        piVar1 = (int *)__fxstat64(3,fd,(stat64 *)&st);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar1 != (int *)0x0) goto LAB_00015236;\n        piVar1 = local_90;\n        uVar3 = extraout_EDX_00;\n        if ((st.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar1 = __errno_location();\n        *piVar1 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = fd;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar2 = rpl_fcntl(*(int *)(puVar5 + -0x10),*(int *)(puVar5 + -0xc));\n        if (iVar2 != -1) break;\n        piVar1 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar1;\n        *(int **)(puVar4 + -8) = piVar1;\n        *(char **)(puVar4 + -0xc) = name;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        fd = (int)quotearg_style(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc));\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar1 = __errno_location();\n        *(int *)(puVar4 + -0x14) = fd;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar1;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        nl_error(*(int *)(puVar4 + -0x20),*(int *)(puVar4 + -0x1c),*(char **)(puVar4 + -0x18));\n        piVar1 = extraout_ECX;\n        uVar3 = extraout_EDX_01;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar1);\n    }\n  }" if (parenthesized_expression "((add_flags & 0xfffdfeffU) != 0)" ( (binary_expression "(add_flags & 0xfffdfeffU) != 0" (parenthesized_expression "(add_flags & 0xfffdfeffU)" ( (binary_expression "add_flags & 0xfffdfeffU" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    piVar1 = (int *)rpl_fcntl(fd,3,0,0);\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(add_flags & 0xfffdfeffU | (uint)piVar1);\n    puVar4 = auStack_9c;\n    if ((int)piVar1 < 0) goto LAB_00015236;\n    if (piVar1 != piVar6) {\n      uVar3 = extraout_EDX;\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar1;\n        piVar1 = (int *)__fxstat64(3,fd,(stat64 *)&st);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar1 != (int *)0x0) goto LAB_00015236;\n        piVar1 = local_90;\n        uVar3 = extraout_EDX_00;\n        if ((st.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar1 = __errno_location();\n        *piVar1 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = fd;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar2 = rpl_fcntl(*(int *)(puVar5 + -0x10),*(int *)(puVar5 + -0xc));\n        if (iVar2 != -1) break;\n        piVar1 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar1;\n        *(int **)(puVar4 + -8) = piVar1;\n        *(char **)(puVar4 + -0xc) = name;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        fd = (int)quotearg_style(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc));\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar1 = __errno_location();\n        *(int *)(puVar4 + -0x14) = fd;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar1;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        nl_error(*(int *)(puVar4 + -0x20),*(int *)(puVar4 + -0x1c),*(char **)(puVar4 + -0x18));\n        piVar1 = extraout_ECX;\n        uVar3 = extraout_EDX_01;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar1);\n    }\n  }" { (expression_statement "piVar1 = (int *)rpl_fcntl(fd,3,0,0);" (assignment_expression "piVar1 = (int *)rpl_fcntl(fd,3,0,0)" identifier = (cast_expression "(int *)rpl_fcntl(fd,3,0,0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "rpl_fcntl(fd,3,0,0)" identifier (argument_list "(fd,3,0,0)" ( identifier , number_literal , number_literal , number_literal ))))) ;) (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" identifier = identifier) ;) (expression_statement "piVar6 = (int *)(add_flags & 0xfffdfeffU | (uint)piVar1);" (assignment_expression "piVar6 = (int *)(add_flags & 0xfffdfeffU | (uint)piVar1)" identifier = (cast_expression "(int *)(add_flags & 0xfffdfeffU | (uint)piVar1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(add_flags & 0xfffdfeffU | (uint)piVar1)" ( (binary_expression "add_flags & 0xfffdfeffU | (uint)piVar1" (binary_expression "add_flags & 0xfffdfeffU" identifier & number_literal) | (cast_expression "(uint)piVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (expression_statement "puVar4 = auStack_9c;" (assignment_expression "puVar4 = auStack_9c" identifier = identifier) ;) (if_statement "if ((int)piVar1 < 0) goto LAB_00015236;" if (parenthesized_expression "((int)piVar1 < 0)" ( (binary_expression "(int)piVar1 < 0" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_00015236;" goto statement_identifier ;)) (if_statement "if (piVar1 != piVar6) {\n      uVar3 = extraout_EDX;\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar1;\n        piVar1 = (int *)__fxstat64(3,fd,(stat64 *)&st);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar1 != (int *)0x0) goto LAB_00015236;\n        piVar1 = local_90;\n        uVar3 = extraout_EDX_00;\n        if ((st.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar1 = __errno_location();\n        *piVar1 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = fd;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar2 = rpl_fcntl(*(int *)(puVar5 + -0x10),*(int *)(puVar5 + -0xc));\n        if (iVar2 != -1) break;\n        piVar1 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar1;\n        *(int **)(puVar4 + -8) = piVar1;\n        *(char **)(puVar4 + -0xc) = name;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        fd = (int)quotearg_style(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc));\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar1 = __errno_location();\n        *(int *)(puVar4 + -0x14) = fd;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar1;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        nl_error(*(int *)(puVar4 + -0x20),*(int *)(puVar4 + -0x1c),*(char **)(puVar4 + -0x18));\n        piVar1 = extraout_ECX;\n        uVar3 = extraout_EDX_01;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar1);\n    }" if (parenthesized_expression "(piVar1 != piVar6)" ( (binary_expression "piVar1 != piVar6" identifier != identifier) )) (compound_statement "{\n      uVar3 = extraout_EDX;\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar1;\n        piVar1 = (int *)__fxstat64(3,fd,(stat64 *)&st);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar1 != (int *)0x0) goto LAB_00015236;\n        piVar1 = local_90;\n        uVar3 = extraout_EDX_00;\n        if ((st.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar1 = __errno_location();\n        *piVar1 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = fd;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar2 = rpl_fcntl(*(int *)(puVar5 + -0x10),*(int *)(puVar5 + -0xc));\n        if (iVar2 != -1) break;\n        piVar1 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar1;\n        *(int **)(puVar4 + -8) = piVar1;\n        *(char **)(puVar4 + -0xc) = name;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        fd = (int)quotearg_style(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc));\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar1 = __errno_location();\n        *(int *)(puVar4 + -0x14) = fd;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar1;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        nl_error(*(int *)(puVar4 + -0x20),*(int *)(puVar4 + -0x1c),*(char **)(puVar4 + -0x18));\n        piVar1 = extraout_ECX;\n        uVar3 = extraout_EDX_01;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar1);\n    }" { (expression_statement "uVar3 = extraout_EDX;" (assignment_expression "uVar3 = extraout_EDX" identifier = identifier) ;) (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" identifier = identifier) ;) (if_statement "if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar1;\n        piVar1 = (int *)__fxstat64(3,fd,(stat64 *)&st);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar1 != (int *)0x0) goto LAB_00015236;\n        piVar1 = local_90;\n        uVar3 = extraout_EDX_00;\n        if ((st.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar1 = __errno_location();\n        *piVar1 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }" if (parenthesized_expression "(((uint)piVar6 & 0x10000) != 0)" ( (binary_expression "((uint)piVar6 & 0x10000) != 0" (parenthesized_expression "((uint)piVar6 & 0x10000)" ( (binary_expression "(uint)piVar6 & 0x10000" (cast_expression "(uint)piVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        local_90 = piVar1;\n        piVar1 = (int *)__fxstat64(3,fd,(stat64 *)&st);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar1 != (int *)0x0) goto LAB_00015236;\n        piVar1 = local_90;\n        uVar3 = extraout_EDX_00;\n        if ((st.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar1 = __errno_location();\n        *piVar1 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }" { (expression_statement "local_90 = piVar1;" (assignment_expression "local_90 = piVar1" identifier = identifier) ;) (expression_statement "piVar1 = (int *)__fxstat64(3,fd,(stat64 *)&st);" (assignment_expression "piVar1 = (int *)__fxstat64(3,fd,(stat64 *)&st)" identifier = (cast_expression "(int *)__fxstat64(3,fd,(stat64 *)&st)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "__fxstat64(3,fd,(stat64 *)&st)" identifier (argument_list "(3,fd,(stat64 *)&st)" ( number_literal , identifier , (cast_expression "(stat64 *)&st" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&st" & identifier)) ))))) ;) (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" identifier = identifier) ;) (expression_statement "puVar4 = auStack_9c;" (assignment_expression "puVar4 = auStack_9c" identifier = identifier) ;) (if_statement "if (piVar1 != (int *)0x0) goto LAB_00015236;" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00015236;" goto statement_identifier ;)) (expression_statement "piVar1 = local_90;" (assignment_expression "piVar1 = local_90" identifier = identifier) ;) (expression_statement "uVar3 = extraout_EDX_00;" (assignment_expression "uVar3 = extraout_EDX_00" identifier = identifier) ;) (if_statement "if ((st.st_mode & 0xf000) == 0x4000) goto LAB_00015267;" if (parenthesized_expression "((st.st_mode & 0xf000) == 0x4000)" ( (binary_expression "(st.st_mode & 0xf000) == 0x4000" (parenthesized_expression "(st.st_mode & 0xf000)" ( (binary_expression "st.st_mode & 0xf000" (field_expression "st.st_mode" identifier . field_identifier) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00015267;" goto statement_identifier ;)) (expression_statement "piVar1 = __errno_location();" (assignment_expression "piVar1 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar1 = 0x14;" (assignment_expression "*piVar1 = 0x14" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (expression_statement "puVar4 = auStack_9c;" (assignment_expression "puVar4 = auStack_9c" identifier = identifier) ;) (goto_statement "goto LAB_00015236;" goto statement_identifier ;) })) (do_statement "do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = fd;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar2 = rpl_fcntl(*(int *)(puVar5 + -0x10),*(int *)(puVar5 + -0xc));\n        if (iVar2 != -1) break;\n        piVar1 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar1;\n        *(int **)(puVar4 + -8) = piVar1;\n        *(char **)(puVar4 + -0xc) = name;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        fd = (int)quotearg_style(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc));\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar1 = __errno_location();\n        *(int *)(puVar4 + -0x14) = fd;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar1;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        nl_error(*(int *)(puVar4 + -0x20),*(int *)(puVar4 + -0x1c),*(char **)(puVar4 + -0x18));\n        piVar1 = extraout_ECX;\n        uVar3 = extraout_EDX_01;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar1);" do (compound_statement "{\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = fd;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar2 = rpl_fcntl(*(int *)(puVar5 + -0x10),*(int *)(puVar5 + -0xc));\n        if (iVar2 != -1) break;\n        piVar1 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar1;\n        *(int **)(puVar4 + -8) = piVar1;\n        *(char **)(puVar4 + -0xc) = name;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        fd = (int)quotearg_style(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc));\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar1 = __errno_location();\n        *(int *)(puVar4 + -0x14) = fd;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar1;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        nl_error(*(int *)(puVar4 + -0x20),*(int *)(puVar4 + -0x1c),*(char **)(puVar4 + -0x18));\n        piVar1 = extraout_ECX;\n        uVar3 = extraout_EDX_01;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      }" { (expression_statement "*(undefined4 *)(puVar5 + -4) = uVar3;" (assignment_expression "*(undefined4 *)(puVar5 + -4) = uVar3" (pointer_expression "*(undefined4 *)(puVar5 + -4)" * (cast_expression "(undefined4 *)(puVar5 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar5 + -8) = piVar6;" (assignment_expression "*(int **)(puVar5 + -8) = piVar6" (pointer_expression "*(int **)(puVar5 + -8)" * (cast_expression "(int **)(puVar5 + -8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -8)" ( (binary_expression "puVar5 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar5 + -0xc) = 4;" (assignment_expression "*(undefined4 *)(puVar5 + -0xc) = 4" (pointer_expression "*(undefined4 *)(puVar5 + -0xc)" * (cast_expression "(undefined4 *)(puVar5 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0xc)" ( (binary_expression "puVar5 + -0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(puVar5 + -0x10) = fd;" (assignment_expression "*(int *)(puVar5 + -0x10) = fd" (pointer_expression "*(int *)(puVar5 + -0x10)" * (cast_expression "(int *)(puVar5 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar5 + -0x14) = 0x151f4;" (assignment_expression "*(undefined4 *)(puVar5 + -0x14) = 0x151f4" (pointer_expression "*(undefined4 *)(puVar5 + -0x14)" * (cast_expression "(undefined4 *)(puVar5 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x14)" ( (binary_expression "puVar5 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar2 = rpl_fcntl(*(int *)(puVar5 + -0x10),*(int *)(puVar5 + -0xc));" (assignment_expression "iVar2 = rpl_fcntl(*(int *)(puVar5 + -0x10),*(int *)(puVar5 + -0xc))" identifier = (call_expression "rpl_fcntl(*(int *)(puVar5 + -0x10),*(int *)(puVar5 + -0xc))" identifier (argument_list "(*(int *)(puVar5 + -0x10),*(int *)(puVar5 + -0xc))" ( (pointer_expression "*(int *)(puVar5 + -0x10)" * (cast_expression "(int *)(puVar5 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) , (pointer_expression "*(int *)(puVar5 + -0xc)" * (cast_expression "(int *)(puVar5 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0xc)" ( (binary_expression "puVar5 + -0xc" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 != -1) break;" if (parenthesized_expression "(iVar2 != -1)" ( (binary_expression "iVar2 != -1" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "piVar1 = (int *)0x0;" (assignment_expression "piVar1 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (labeled_statement "LAB_00015236:\n        *(int **)(puVar4 + -4) = piVar1;" statement_identifier : (expression_statement "*(int **)(puVar4 + -4) = piVar1;" (assignment_expression "*(int **)(puVar4 + -4) = piVar1" (pointer_expression "*(int **)(puVar4 + -4)" * (cast_expression "(int **)(puVar4 + -4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -4)" ( (binary_expression "puVar4 + -4" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(int **)(puVar4 + -8) = piVar1;" (assignment_expression "*(int **)(puVar4 + -8) = piVar1" (pointer_expression "*(int **)(puVar4 + -8)" * (cast_expression "(int **)(puVar4 + -8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -8)" ( (binary_expression "puVar4 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(char **)(puVar4 + -0xc) = name;" (assignment_expression "*(char **)(puVar4 + -0xc) = name" (pointer_expression "*(char **)(puVar4 + -0xc)" * (cast_expression "(char **)(puVar4 + -0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x10) = 4;" (assignment_expression "*(undefined4 *)(puVar4 + -0x10) = 4" (pointer_expression "*(undefined4 *)(puVar4 + -0x10)" * (cast_expression "(undefined4 *)(puVar4 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x10)" ( (binary_expression "puVar4 + -0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x15240;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x15240" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" * (cast_expression "(undefined4 *)(puVar4 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "fd = (int)quotearg_style(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc));" (assignment_expression "fd = (int)quotearg_style(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc))" identifier = (cast_expression "(int)quotearg_style(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc))" ( (type_descriptor "int" primitive_type) ) (call_expression "quotearg_style(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc))" identifier (argument_list "(*(quoting_style *)(puVar4 + -0x10),*(char **)(puVar4 + -0xc))" ( (pointer_expression "*(quoting_style *)(puVar4 + -0x10)" * (cast_expression "(quoting_style *)(puVar4 + -0x10)" ( (type_descriptor "quoting_style *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x10)" ( (binary_expression "puVar4 + -0x10" identifier + number_literal) )))) , (pointer_expression "*(char **)(puVar4 + -0xc)" * (cast_expression "(char **)(puVar4 + -0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) ))))) ;) (expression_statement "*(undefined4 *)(puVar4 + -8) = 5;" (assignment_expression "*(undefined4 *)(puVar4 + -8) = 5" (pointer_expression "*(undefined4 *)(puVar4 + -8)" * (cast_expression "(undefined4 *)(puVar4 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -8)" ( (binary_expression "puVar4 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)(puVar4 + -0xc) = "setting flags for %s";" (assignment_expression "*(char **)(puVar4 + -0xc) = "setting flags for %s"" (pointer_expression "*(char **)(puVar4 + -0xc)" * (cast_expression "(char **)(puVar4 + -0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = (string_literal ""setting flags for %s"" " string_content ")) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x10) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -0x10) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -0x10)" * (cast_expression "(undefined4 *)(puVar4 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x10)" ( (binary_expression "puVar4 + -0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x15255;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x15255" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" * (cast_expression "(undefined4 *)(puVar4 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "piVar6 = (int *)dcgettext();" (assignment_expression "piVar6 = (int *)dcgettext()" identifier = (cast_expression "(int *)dcgettext()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x1525c;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x1525c" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" * (cast_expression "(undefined4 *)(puVar4 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "piVar1 = __errno_location();" (assignment_expression "piVar1 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(int *)(puVar4 + -0x14) = fd;" (assignment_expression "*(int *)(puVar4 + -0x14) = fd" (pointer_expression "*(int *)(puVar4 + -0x14)" * (cast_expression "(int *)(puVar4 + -0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar4 + -0x18) = piVar6;" (assignment_expression "*(int **)(puVar4 + -0x18) = piVar6" (pointer_expression "*(int **)(puVar4 + -0x18)" * (cast_expression "(int **)(puVar4 + -0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0x18)" ( (binary_expression "puVar4 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar4 + -0x1c) = *piVar1;" (assignment_expression "*(int *)(puVar4 + -0x1c) = *piVar1" (pointer_expression "*(int *)(puVar4 + -0x1c)" * (cast_expression "(int *)(puVar4 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x1c)" ( (binary_expression "puVar4 + -0x1c" identifier + number_literal) )))) = (pointer_expression "*piVar1" * identifier)) ;) (expression_statement "puVar5 = puVar4 + -0x20;" (assignment_expression "puVar5 = puVar4 + -0x20" identifier = (binary_expression "puVar4 + -0x20" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x20) = 1;" (assignment_expression "*(undefined4 *)(puVar4 + -0x20) = 1" (pointer_expression "*(undefined4 *)(puVar4 + -0x20)" * (cast_expression "(undefined4 *)(puVar4 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x20)" ( (binary_expression "puVar4 + -0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x24) = 0x15267;" (assignment_expression "*(undefined4 *)(puVar4 + -0x24) = 0x15267" (pointer_expression "*(undefined4 *)(puVar4 + -0x24)" * (cast_expression "(undefined4 *)(puVar4 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x24)" ( (binary_expression "puVar4 + -0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "nl_error(*(int *)(puVar4 + -0x20),*(int *)(puVar4 + -0x1c),*(char **)(puVar4 + -0x18));" (call_expression "nl_error(*(int *)(puVar4 + -0x20),*(int *)(puVar4 + -0x1c),*(char **)(puVar4 + -0x18))" identifier (argument_list "(*(int *)(puVar4 + -0x20),*(int *)(puVar4 + -0x1c),*(char **)(puVar4 + -0x18))" ( (pointer_expression "*(int *)(puVar4 + -0x20)" * (cast_expression "(int *)(puVar4 + -0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x20)" ( (binary_expression "puVar4 + -0x20" identifier + number_literal) )))) , (pointer_expression "*(int *)(puVar4 + -0x1c)" * (cast_expression "(int *)(puVar4 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x1c)" ( (binary_expression "puVar4 + -0x1c" identifier + number_literal) )))) , (pointer_expression "*(char **)(puVar4 + -0x18)" * (cast_expression "(char **)(puVar4 + -0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0x18)" ( (binary_expression "puVar4 + -0x18" identifier + number_literal) )))) ))) ;) (expression_statement "piVar1 = extraout_ECX;" (assignment_expression "piVar1 = extraout_ECX" identifier = identifier) ;) (expression_statement "uVar3 = extraout_EDX_01;" (assignment_expression "uVar3 = extraout_EDX_01" identifier = identifier) ;) (labeled_statement "LAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);" statement_identifier : (expression_statement "piVar6 = (int *)((uint)piVar6 & 0xfffeffff);" (assignment_expression "piVar6 = (int *)((uint)piVar6 & 0xfffeffff)" identifier = (cast_expression "(int *)((uint)piVar6 & 0xfffeffff)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)piVar6 & 0xfffeffff)" ( (binary_expression "(uint)piVar6 & 0xfffeffff" (cast_expression "(uint)piVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )))) ;)) }) while (parenthesized_expression "(piVar6 != piVar1)" ( (binary_expression "piVar6 != piVar1" identifier != identifier) )) ;) })) })) (if_statement "if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar5 + 0x7c)" * (cast_expression "(int *)(puVar5 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x7c)" ( (binary_expression "puVar5 + 0x7c" identifier + number_literal) )))) != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "*(undefined4 *)(puVar5 + -4) = 0x1527f;" (assignment_expression "*(undefined4 *)(puVar5 + -4) = 0x1527f" (pointer_expression "*(undefined4 *)(puVar5 + -4)" * (cast_expression "(undefined4 *)(puVar5 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00015180(int param_1,uint param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *extraout_ECX;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  int aiStackY_c0 [5];\n  undefined1 auStack_9c [12];\n  int *local_90;\n  stat64 local_80;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1518d;\n  puVar5 = auStack_9c;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 0xfffdfeff) != 0) {\n    uVar7 = FUN_0001caa0(param_1,3,0,0);\n    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);\n    piVar2 = (int *)uVar7;\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);\n    puVar4 = auStack_9c;\n    if ((int)piVar2 < 0) goto LAB_00015236;\n    if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }\n  }\n  if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    FUN_000214c0();\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00015180(int param_1,uint param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *extraout_ECX;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  int aiStackY_c0 [5];\n  undefined1 auStack_9c [12];\n  int *local_90;\n  stat64 local_80;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1518d;\n  puVar5 = auStack_9c;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 0xfffdfeff) != 0) {\n    uVar7 = FUN_0001caa0(param_1,3,0,0);\n    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);\n    piVar2 = (int *)uVar7;\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);\n    puVar4 = auStack_9c;\n    if ((int)piVar2 < 0) goto LAB_00015236;\n    if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }\n  }\n  if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    FUN_000214c0();\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00015180(int param_1,uint param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,uint param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int *extraout_ECX;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  int aiStackY_c0 [5];\n  undefined1 auStack_9c [12];\n  int *local_90;\n  stat64 local_80;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1518d;\n  puVar5 = auStack_9c;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 0xfffdfeff) != 0) {\n    uVar7 = FUN_0001caa0(param_1,3,0,0);\n    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);\n    piVar2 = (int *)uVar7;\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);\n    puVar4 = auStack_9c;\n    if ((int)piVar2 < 0) goto LAB_00015236;\n    if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }\n  }\n  if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    FUN_000214c0();\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int *extraout_ECX;" primitive_type (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX_00;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined1 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar7;" type_identifier identifier ;) (declaration "int aiStackY_c0 [5];" primitive_type (array_declarator "aiStackY_c0 [5]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_9c [12];" type_identifier (array_declarator "auStack_9c [12]" identifier [ number_literal ]) ;) (declaration "int *local_90;" primitive_type (pointer_declarator "*local_90" * identifier) ;) (declaration "stat64 local_80;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1518d;" (assignment_expression "uStack_14 = 0x1518d" identifier = number_literal) ;) (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" identifier = identifier) ;) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((param_2 & 0xfffdfeff) != 0) {\n    uVar7 = FUN_0001caa0(param_1,3,0,0);\n    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);\n    piVar2 = (int *)uVar7;\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);\n    puVar4 = auStack_9c;\n    if ((int)piVar2 < 0) goto LAB_00015236;\n    if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }\n  }" if (parenthesized_expression "((param_2 & 0xfffdfeff) != 0)" ( (binary_expression "(param_2 & 0xfffdfeff) != 0" (parenthesized_expression "(param_2 & 0xfffdfeff)" ( (binary_expression "param_2 & 0xfffdfeff" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    uVar7 = FUN_0001caa0(param_1,3,0,0);\n    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);\n    piVar2 = (int *)uVar7;\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);\n    puVar4 = auStack_9c;\n    if ((int)piVar2 < 0) goto LAB_00015236;\n    if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }\n  }" { (expression_statement "uVar7 = FUN_0001caa0(param_1,3,0,0);" (assignment_expression "uVar7 = FUN_0001caa0(param_1,3,0,0)" identifier = (call_expression "FUN_0001caa0(param_1,3,0,0)" identifier (argument_list "(param_1,3,0,0)" ( identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar7 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar7 >> 0x20)" ( (binary_expression "(ulonglong)uVar7 >> 0x20" (cast_expression "(ulonglong)uVar7" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar2 = (int *)uVar7;" (assignment_expression "piVar2 = (int *)uVar7" identifier = (cast_expression "(int *)uVar7" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" identifier = identifier) ;) (expression_statement "piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);" (assignment_expression "piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2)" identifier = (cast_expression "(int *)(param_2 & 0xfffdfeff | (uint)piVar2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 & 0xfffdfeff | (uint)piVar2)" ( (binary_expression "param_2 & 0xfffdfeff | (uint)piVar2" (binary_expression "param_2 & 0xfffdfeff" identifier & number_literal) | (cast_expression "(uint)piVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) (expression_statement "puVar4 = auStack_9c;" (assignment_expression "puVar4 = auStack_9c" identifier = identifier) ;) (if_statement "if ((int)piVar2 < 0) goto LAB_00015236;" if (parenthesized_expression "((int)piVar2 < 0)" ( (binary_expression "(int)piVar2 < 0" (cast_expression "(int)piVar2" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_00015236;" goto statement_identifier ;)) (if_statement "if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }" if (parenthesized_expression "(piVar2 != piVar6)" ( (binary_expression "piVar2 != piVar6" identifier != identifier) )) (compound_statement "{\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }" { (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" identifier = identifier) ;) (if_statement "if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }" if (parenthesized_expression "(((uint)piVar6 & 0x10000) != 0)" ( (binary_expression "((uint)piVar6 & 0x10000) != 0" (parenthesized_expression "((uint)piVar6 & 0x10000)" ( (binary_expression "(uint)piVar6 & 0x10000" (cast_expression "(uint)piVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }" { (expression_statement "local_90 = piVar2;" (assignment_expression "local_90 = piVar2" identifier = identifier) ;) (expression_statement "piVar2 = (int *)__fxstat64(3,param_1,&local_80);" (assignment_expression "piVar2 = (int *)__fxstat64(3,param_1,&local_80)" identifier = (cast_expression "(int *)__fxstat64(3,param_1,&local_80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "__fxstat64(3,param_1,&local_80)" identifier (argument_list "(3,param_1,&local_80)" ( number_literal , identifier , (pointer_expression "&local_80" & identifier) ))))) ;) (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" identifier = identifier) ;) (expression_statement "puVar4 = auStack_9c;" (assignment_expression "puVar4 = auStack_9c" identifier = identifier) ;) (if_statement "if (piVar2 != (int *)0x0) goto LAB_00015236;" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00015236;" goto statement_identifier ;)) (expression_statement "piVar2 = local_90;" (assignment_expression "piVar2 = local_90" identifier = identifier) ;) (expression_statement "uVar3 = extraout_EDX;" (assignment_expression "uVar3 = extraout_EDX" identifier = identifier) ;) (if_statement "if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;" if (parenthesized_expression "((local_80.st_mode & 0xf000) == 0x4000)" ( (binary_expression "(local_80.st_mode & 0xf000) == 0x4000" (parenthesized_expression "(local_80.st_mode & 0xf000)" ( (binary_expression "local_80.st_mode & 0xf000" (field_expression "local_80.st_mode" identifier . field_identifier) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00015267;" goto statement_identifier ;)) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*piVar2 = 0x14;" (assignment_expression "*piVar2 = 0x14" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "puVar4 = auStack_9c;" (assignment_expression "puVar4 = auStack_9c" identifier = identifier) ;) (goto_statement "goto LAB_00015236;" goto statement_identifier ;) })) (do_statement "do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);" do (compound_statement "{\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      }" { (expression_statement "*(undefined4 *)(puVar5 + -4) = uVar3;" (assignment_expression "*(undefined4 *)(puVar5 + -4) = uVar3" (pointer_expression "*(undefined4 *)(puVar5 + -4)" * (cast_expression "(undefined4 *)(puVar5 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar5 + -8) = piVar6;" (assignment_expression "*(int **)(puVar5 + -8) = piVar6" (pointer_expression "*(int **)(puVar5 + -8)" * (cast_expression "(int **)(puVar5 + -8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + -8)" ( (binary_expression "puVar5 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar5 + -0xc) = 4;" (assignment_expression "*(undefined4 *)(puVar5 + -0xc) = 4" (pointer_expression "*(undefined4 *)(puVar5 + -0xc)" * (cast_expression "(undefined4 *)(puVar5 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0xc)" ( (binary_expression "puVar5 + -0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(puVar5 + -0x10) = param_1;" (assignment_expression "*(int *)(puVar5 + -0x10) = param_1" (pointer_expression "*(int *)(puVar5 + -0x10)" * (cast_expression "(int *)(puVar5 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x10)" ( (binary_expression "puVar5 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar5 + -0x14) = 0x151f4;" (assignment_expression "*(undefined4 *)(puVar5 + -0x14) = 0x151f4" (pointer_expression "*(undefined4 *)(puVar5 + -0x14)" * (cast_expression "(undefined4 *)(puVar5 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -0x14)" ( (binary_expression "puVar5 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = FUN_0001caa0();" (assignment_expression "iVar1 = FUN_0001caa0()" identifier = (call_expression "FUN_0001caa0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != -1) break;" if (parenthesized_expression "(iVar1 != -1)" ( (binary_expression "iVar1 != -1" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "piVar2 = (int *)0x0;" (assignment_expression "piVar2 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (labeled_statement "LAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;" statement_identifier : (expression_statement "*(int **)(puVar4 + -4) = piVar2;" (assignment_expression "*(int **)(puVar4 + -4) = piVar2" (pointer_expression "*(int **)(puVar4 + -4)" * (cast_expression "(int **)(puVar4 + -4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -4)" ( (binary_expression "puVar4 + -4" identifier + number_literal) )))) = identifier) ;)) (expression_statement "*(int **)(puVar4 + -8) = piVar2;" (assignment_expression "*(int **)(puVar4 + -8) = piVar2" (pointer_expression "*(int **)(puVar4 + -8)" * (cast_expression "(int **)(puVar4 + -8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -8)" ( (binary_expression "puVar4 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar4 + -0xc) = param_3;" (assignment_expression "*(undefined4 *)(puVar4 + -0xc) = param_3" (pointer_expression "*(undefined4 *)(puVar4 + -0xc)" * (cast_expression "(undefined4 *)(puVar4 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x10) = 4;" (assignment_expression "*(undefined4 *)(puVar4 + -0x10) = 4" (pointer_expression "*(undefined4 *)(puVar4 + -0x10)" * (cast_expression "(undefined4 *)(puVar4 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x10)" ( (binary_expression "puVar4 + -0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x15240;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x15240" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" * (cast_expression "(undefined4 *)(puVar4 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1 = FUN_0001ac30();" (assignment_expression "param_1 = FUN_0001ac30()" identifier = (call_expression "FUN_0001ac30()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(undefined4 *)(puVar4 + -8) = 5;" (assignment_expression "*(undefined4 *)(puVar4 + -8) = 5" (pointer_expression "*(undefined4 *)(puVar4 + -8)" * (cast_expression "(undefined4 *)(puVar4 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -8)" ( (binary_expression "puVar4 + -8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(char **)(puVar4 + -0xc) = "setting flags for %s";" (assignment_expression "*(char **)(puVar4 + -0xc) = "setting flags for %s"" (pointer_expression "*(char **)(puVar4 + -0xc)" * (cast_expression "(char **)(puVar4 + -0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0xc)" ( (binary_expression "puVar4 + -0xc" identifier + number_literal) )))) = (string_literal ""setting flags for %s"" " string_content ")) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x10) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -0x10) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -0x10)" * (cast_expression "(undefined4 *)(puVar4 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x10)" ( (binary_expression "puVar4 + -0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x15255;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x15255" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" * (cast_expression "(undefined4 *)(puVar4 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "piVar6 = (int *)dcgettext();" (assignment_expression "piVar6 = (int *)dcgettext()" identifier = (cast_expression "(int *)dcgettext()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext()" identifier (argument_list "()" ( ))))) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x1525c;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x1525c" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" * (cast_expression "(undefined4 *)(puVar4 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(int *)(puVar4 + -0x14) = param_1;" (assignment_expression "*(int *)(puVar4 + -0x14) = param_1" (pointer_expression "*(int *)(puVar4 + -0x14)" * (cast_expression "(int *)(puVar4 + -0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x14)" ( (binary_expression "puVar4 + -0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar4 + -0x18) = piVar6;" (assignment_expression "*(int **)(puVar4 + -0x18) = piVar6" (pointer_expression "*(int **)(puVar4 + -0x18)" * (cast_expression "(int **)(puVar4 + -0x18)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + -0x18)" ( (binary_expression "puVar4 + -0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar4 + -0x1c) = *piVar2;" (assignment_expression "*(int *)(puVar4 + -0x1c) = *piVar2" (pointer_expression "*(int *)(puVar4 + -0x1c)" * (cast_expression "(int *)(puVar4 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x1c)" ( (binary_expression "puVar4 + -0x1c" identifier + number_literal) )))) = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "puVar5 = puVar4 + -0x20;" (assignment_expression "puVar5 = puVar4 + -0x20" identifier = (binary_expression "puVar4 + -0x20" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x20) = 1;" (assignment_expression "*(undefined4 *)(puVar4 + -0x20) = 1" (pointer_expression "*(undefined4 *)(puVar4 + -0x20)" * (cast_expression "(undefined4 *)(puVar4 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x20)" ( (binary_expression "puVar4 + -0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(puVar4 + -0x24) = 0x15267;" (assignment_expression "*(undefined4 *)(puVar4 + -0x24) = 0x15267" (pointer_expression "*(undefined4 *)(puVar4 + -0x24)" * (cast_expression "(undefined4 *)(puVar4 + -0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4 + -0x24)" ( (binary_expression "puVar4 + -0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00014f80();" (call_expression "FUN_00014f80()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar2 = extraout_ECX;" (assignment_expression "piVar2 = extraout_ECX" identifier = identifier) ;) (expression_statement "uVar3 = extraout_EDX_00;" (assignment_expression "uVar3 = extraout_EDX_00" identifier = identifier) ;) (labeled_statement "LAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);" statement_identifier : (expression_statement "piVar6 = (int *)((uint)piVar6 & 0xfffeffff);" (assignment_expression "piVar6 = (int *)((uint)piVar6 & 0xfffeffff)" identifier = (cast_expression "(int *)((uint)piVar6 & 0xfffeffff)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)piVar6 & 0xfffeffff)" ( (binary_expression "(uint)piVar6 & 0xfffeffff" (cast_expression "(uint)piVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )))) ;)) }) while (parenthesized_expression "(piVar6 != piVar2)" ( (binary_expression "piVar6 != piVar2" identifier != identifier) )) ;) })) })) (if_statement "if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    FUN_000214c0();\n  }" if (parenthesized_expression "(*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar5 + 0x7c)" * (cast_expression "(int *)(puVar5 + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + 0x7c)" ( (binary_expression "puVar5 + 0x7c" identifier + number_literal) )))) != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    FUN_000214c0();\n  }" { (expression_statement "*(undefined4 *)(puVar5 + -4) = 0x1527f;" (assignment_expression "*(undefined4 *)(puVar5 + -4) = 0x1527f" (pointer_expression "*(undefined4 *)(puVar5 + -4)" * (cast_expression "(undefined4 *)(puVar5 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar5 + -4)" ( (binary_expression "puVar5 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_000214c0();" (call_expression "FUN_000214c0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT )))) ;) (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 (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT & LIT) | (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , IDENT , (pointer_expression & IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (string_literal " string_content ")) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression 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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;)) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00015180(int param_1,uint param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int *extraout_ECX;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  int aiStackY_c0 [5];\n  undefined1 auStack_9c [12];\n  int *local_90;\n  stat64 local_80;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1518d;\n  puVar5 = auStack_9c;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 0xfffdfeff) != 0) {\n    uVar7 = FUN_0001caa0(param_1,3,0,0);\n    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);\n    piVar2 = (int *)uVar7;\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);\n    puVar4 = auStack_9c;\n    if ((int)piVar2 < 0) goto LAB_00015236;\n    if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }\n  }\n  if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    FUN_000214c0();\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00015180(int param_1,uint param_2,undefined4 param_3)" (identifier "FUN_00015180") (parameter_list "(int param_1,uint param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int *extraout_ECX;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  undefined4 uVar3;\n  undefined1 *puVar4;\n  undefined1 *puVar5;\n  int *piVar6;\n  int in_GS_OFFSET;\n  undefined8 uVar7;\n  int aiStackY_c0 [5];\n  undefined1 auStack_9c [12];\n  int *local_90;\n  stat64 local_80;\n  undefined4 local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1518d;\n  puVar5 = auStack_9c;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  if ((param_2 & 0xfffdfeff) != 0) {\n    uVar7 = FUN_0001caa0(param_1,3,0,0);\n    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);\n    piVar2 = (int *)uVar7;\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);\n    puVar4 = auStack_9c;\n    if ((int)piVar2 < 0) goto LAB_00015236;\n    if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }\n  }\n  if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    FUN_000214c0();\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int *extraout_ECX;" (primitive_type "int") (pointer_declarator "*extraout_ECX" (* "*") (identifier "extraout_ECX")) (; ";")) (declaration "undefined4 extraout_EDX;" (type_identifier "undefined4") (identifier "extraout_EDX") (; ";")) (declaration "undefined4 extraout_EDX_00;" (type_identifier "undefined4") (identifier "extraout_EDX_00") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined1 *puVar4;" (type_identifier "undefined1") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined1 *puVar5;" (type_identifier "undefined1") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined8 uVar7;" (type_identifier "undefined8") (identifier "uVar7") (; ";")) (declaration "int aiStackY_c0 [5];" (primitive_type "int") (array_declarator "aiStackY_c0 [5]" (identifier "aiStackY_c0") ([ "[") (number_literal "5") (] "]")) (; ";")) (declaration "undefined1 auStack_9c [12];" (type_identifier "undefined1") (array_declarator "auStack_9c [12]" (identifier "auStack_9c") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "int *local_90;" (primitive_type "int") (pointer_declarator "*local_90" (* "*") (identifier "local_90")) (; ";")) (declaration "stat64 local_80;" (type_identifier "stat64") (identifier "local_80") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x1518d;" (assignment_expression "uStack_14 = 0x1518d" (identifier "uStack_14") (= "=") (number_literal "0x1518d")) (; ";")) (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" (identifier "puVar5") (= "=") (identifier "auStack_9c")) (; ";")) (expression_statement "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((param_2 & 0xfffdfeff) != 0) {\n    uVar7 = FUN_0001caa0(param_1,3,0,0);\n    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);\n    piVar2 = (int *)uVar7;\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);\n    puVar4 = auStack_9c;\n    if ((int)piVar2 < 0) goto LAB_00015236;\n    if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }\n  }" (if "if") (parenthesized_expression "((param_2 & 0xfffdfeff) != 0)" (( "(") (binary_expression "(param_2 & 0xfffdfeff) != 0" (parenthesized_expression "(param_2 & 0xfffdfeff)" (( "(") (binary_expression "param_2 & 0xfffdfeff" (identifier "param_2") (& "&") (number_literal "0xfffdfeff")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = FUN_0001caa0(param_1,3,0,0);\n    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);\n    piVar2 = (int *)uVar7;\n    puVar5 = auStack_9c;\n    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);\n    puVar4 = auStack_9c;\n    if ((int)piVar2 < 0) goto LAB_00015236;\n    if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }\n  }" ({ "{") (expression_statement "uVar7 = FUN_0001caa0(param_1,3,0,0);" (assignment_expression "uVar7 = FUN_0001caa0(param_1,3,0,0)" (identifier "uVar7") (= "=") (call_expression "FUN_0001caa0(param_1,3,0,0)" (identifier "FUN_0001caa0") (argument_list "(param_1,3,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "3") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);" (assignment_expression "uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20)" (identifier "uVar3") (= "=") (call_expression "(undefined4)((ulonglong)uVar7 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)uVar7 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar7 >> 0x20" (cast_expression "(ulonglong)uVar7" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar7")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "piVar2 = (int *)uVar7;" (assignment_expression "piVar2 = (int *)uVar7" (identifier "piVar2") (= "=") (cast_expression "(int *)uVar7" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar7"))) (; ";")) (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" (identifier "puVar5") (= "=") (identifier "auStack_9c")) (; ";")) (expression_statement "piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);" (assignment_expression "piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2)" (identifier "piVar6") (= "=") (cast_expression "(int *)(param_2 & 0xfffdfeff | (uint)piVar2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 & 0xfffdfeff | (uint)piVar2)" (( "(") (binary_expression "param_2 & 0xfffdfeff | (uint)piVar2" (binary_expression "param_2 & 0xfffdfeff" (identifier "param_2") (& "&") (number_literal "0xfffdfeff")) (| "|") (cast_expression "(uint)piVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar2"))) () ")")))) (; ";")) (expression_statement "puVar4 = auStack_9c;" (assignment_expression "puVar4 = auStack_9c" (identifier "puVar4") (= "=") (identifier "auStack_9c")) (; ";")) (if_statement "if ((int)piVar2 < 0) goto LAB_00015236;" (if "if") (parenthesized_expression "((int)piVar2 < 0)" (( "(") (binary_expression "(int)piVar2 < 0" (cast_expression "(int)piVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar2")) (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_00015236;" (goto "goto") (statement_identifier "LAB_00015236") (; ";"))) (if_statement "if (piVar2 != piVar6) {\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }" (if "if") (parenthesized_expression "(piVar2 != piVar6)" (( "(") (binary_expression "piVar2 != piVar6" (identifier "piVar2") (!= "!=") (identifier "piVar6")) () ")")) (compound_statement "{\n      puVar5 = auStack_9c;\n      if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }\n      do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);\n    }" ({ "{") (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" (identifier "puVar5") (= "=") (identifier "auStack_9c")) (; ";")) (if_statement "if (((uint)piVar6 & 0x10000) != 0) {\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }" (if "if") (parenthesized_expression "(((uint)piVar6 & 0x10000) != 0)" (( "(") (binary_expression "((uint)piVar6 & 0x10000) != 0" (parenthesized_expression "((uint)piVar6 & 0x10000)" (( "(") (binary_expression "(uint)piVar6 & 0x10000" (cast_expression "(uint)piVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar6")) (& "&") (number_literal "0x10000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        local_90 = piVar2;\n        piVar2 = (int *)__fxstat64(3,param_1,&local_80);\n        puVar5 = auStack_9c;\n        puVar4 = auStack_9c;\n        if (piVar2 != (int *)0x0) goto LAB_00015236;\n        piVar2 = local_90;\n        uVar3 = extraout_EDX;\n        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;\n        piVar2 = __errno_location();\n        *piVar2 = 0x14;\n        puVar4 = auStack_9c;\n        goto LAB_00015236;\n      }" ({ "{") (expression_statement "local_90 = piVar2;" (assignment_expression "local_90 = piVar2" (identifier "local_90") (= "=") (identifier "piVar2")) (; ";")) (expression_statement "piVar2 = (int *)__fxstat64(3,param_1,&local_80);" (assignment_expression "piVar2 = (int *)__fxstat64(3,param_1,&local_80)" (identifier "piVar2") (= "=") (cast_expression "(int *)__fxstat64(3,param_1,&local_80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "__fxstat64(3,param_1,&local_80)" (identifier "__fxstat64") (argument_list "(3,param_1,&local_80)" (( "(") (number_literal "3") (, ",") (identifier "param_1") (, ",") (pointer_expression "&local_80" (& "&") (identifier "local_80")) () ")"))))) (; ";")) (expression_statement "puVar5 = auStack_9c;" (assignment_expression "puVar5 = auStack_9c" (identifier "puVar5") (= "=") (identifier "auStack_9c")) (; ";")) (expression_statement "puVar4 = auStack_9c;" (assignment_expression "puVar4 = auStack_9c" (identifier "puVar4") (= "=") (identifier "auStack_9c")) (; ";")) (if_statement "if (piVar2 != (int *)0x0) goto LAB_00015236;" (if "if") (parenthesized_expression "(piVar2 != (int *)0x0)" (( "(") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00015236;" (goto "goto") (statement_identifier "LAB_00015236") (; ";"))) (expression_statement "piVar2 = local_90;" (assignment_expression "piVar2 = local_90" (identifier "piVar2") (= "=") (identifier "local_90")) (; ";")) (expression_statement "uVar3 = extraout_EDX;" (assignment_expression "uVar3 = extraout_EDX" (identifier "uVar3") (= "=") (identifier "extraout_EDX")) (; ";")) (if_statement "if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;" (if "if") (parenthesized_expression "((local_80.st_mode & 0xf000) == 0x4000)" (( "(") (binary_expression "(local_80.st_mode & 0xf000) == 0x4000" (parenthesized_expression "(local_80.st_mode & 0xf000)" (( "(") (binary_expression "local_80.st_mode & 0xf000" (field_expression "local_80.st_mode" (identifier "local_80") (. ".") (field_identifier "st_mode")) (& "&") (number_literal "0xf000")) () ")")) (== "==") (number_literal "0x4000")) () ")")) (goto_statement "goto LAB_00015267;" (goto "goto") (statement_identifier "LAB_00015267") (; ";"))) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" (identifier "piVar2") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*piVar2 = 0x14;" (assignment_expression "*piVar2 = 0x14" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (number_literal "0x14")) (; ";")) (expression_statement "puVar4 = auStack_9c;" (assignment_expression "puVar4 = auStack_9c" (identifier "puVar4") (= "=") (identifier "auStack_9c")) (; ";")) (goto_statement "goto LAB_00015236;" (goto "goto") (statement_identifier "LAB_00015236") (; ";")) (} "}"))) (do_statement "do {\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      } while (piVar6 != piVar2);" (do "do") (compound_statement "{\n        *(undefined4 *)(puVar5 + -4) = uVar3;\n        *(int **)(puVar5 + -8) = piVar6;\n        *(undefined4 *)(puVar5 + -0xc) = 4;\n        *(int *)(puVar5 + -0x10) = param_1;\n        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;\n        iVar1 = FUN_0001caa0();\n        if (iVar1 != -1) break;\n        piVar2 = (int *)0x0;\n        puVar4 = puVar5;\nLAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;\n        *(int **)(puVar4 + -8) = piVar2;\n        *(undefined4 *)(puVar4 + -0xc) = param_3;\n        *(undefined4 *)(puVar4 + -0x10) = 4;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15240;\n        param_1 = FUN_0001ac30();\n        *(undefined4 *)(puVar4 + -8) = 5;\n        *(char **)(puVar4 + -0xc) = "setting flags for %s";\n        *(undefined4 *)(puVar4 + -0x10) = 0;\n        *(undefined4 *)(puVar4 + -0x14) = 0x15255;\n        piVar6 = (int *)dcgettext();\n        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;\n        piVar2 = __errno_location();\n        *(int *)(puVar4 + -0x14) = param_1;\n        *(int **)(puVar4 + -0x18) = piVar6;\n        *(int *)(puVar4 + -0x1c) = *piVar2;\n        puVar5 = puVar4 + -0x20;\n        *(undefined4 *)(puVar4 + -0x20) = 1;\n        *(undefined4 *)(puVar4 + -0x24) = 0x15267;\n        FUN_00014f80();\n        piVar2 = extraout_ECX;\n        uVar3 = extraout_EDX_00;\nLAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);\n      }" ({ "{") (expression_statement "*(undefined4 *)(puVar5 + -4) = uVar3;" (assignment_expression "*(undefined4 *)(puVar5 + -4) = uVar3" (pointer_expression "*(undefined4 *)(puVar5 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar5 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -4)" (( "(") (binary_expression "puVar5 + -4" (identifier "puVar5") (+ "+") (number_literal "-4")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(int **)(puVar5 + -8) = piVar6;" (assignment_expression "*(int **)(puVar5 + -8) = piVar6" (pointer_expression "*(int **)(puVar5 + -8)" (* "*") (cast_expression "(int **)(puVar5 + -8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar5 + -8)" (( "(") (binary_expression "puVar5 + -8" (identifier "puVar5") (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "piVar6")) (; ";")) (expression_statement "*(undefined4 *)(puVar5 + -0xc) = 4;" (assignment_expression "*(undefined4 *)(puVar5 + -0xc) = 4" (pointer_expression "*(undefined4 *)(puVar5 + -0xc)" (* "*") (cast_expression "(undefined4 *)(puVar5 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -0xc)" (( "(") (binary_expression "puVar5 + -0xc" (identifier "puVar5") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (number_literal "4")) (; ";")) (expression_statement "*(int *)(puVar5 + -0x10) = param_1;" (assignment_expression "*(int *)(puVar5 + -0x10) = param_1" (pointer_expression "*(int *)(puVar5 + -0x10)" (* "*") (cast_expression "(int *)(puVar5 + -0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -0x10)" (( "(") (binary_expression "puVar5 + -0x10" (identifier "puVar5") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(undefined4 *)(puVar5 + -0x14) = 0x151f4;" (assignment_expression "*(undefined4 *)(puVar5 + -0x14) = 0x151f4" (pointer_expression "*(undefined4 *)(puVar5 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar5 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -0x14)" (( "(") (binary_expression "puVar5 + -0x14" (identifier "puVar5") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x151f4")) (; ";")) (expression_statement "iVar1 = FUN_0001caa0();" (assignment_expression "iVar1 = FUN_0001caa0()" (identifier "iVar1") (= "=") (call_expression "FUN_0001caa0()" (identifier "FUN_0001caa0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != -1) break;" (if "if") (parenthesized_expression "(iVar1 != -1)" (( "(") (binary_expression "iVar1 != -1" (identifier "iVar1") (!= "!=") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "piVar2 = (int *)0x0;" (assignment_expression "piVar2 = (int *)0x0" (identifier "piVar2") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" (identifier "puVar4") (= "=") (identifier "puVar5")) (; ";")) (labeled_statement "LAB_00015236:\n        *(int **)(puVar4 + -4) = piVar2;" (statement_identifier "LAB_00015236") (: ":") (expression_statement "*(int **)(puVar4 + -4) = piVar2;" (assignment_expression "*(int **)(puVar4 + -4) = piVar2" (pointer_expression "*(int **)(puVar4 + -4)" (* "*") (cast_expression "(int **)(puVar4 + -4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + -4)" (( "(") (binary_expression "puVar4 + -4" (identifier "puVar4") (+ "+") (number_literal "-4")) () ")")))) (= "=") (identifier "piVar2")) (; ";"))) (expression_statement "*(int **)(puVar4 + -8) = piVar2;" (assignment_expression "*(int **)(puVar4 + -8) = piVar2" (pointer_expression "*(int **)(puVar4 + -8)" (* "*") (cast_expression "(int **)(puVar4 + -8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + -8)" (( "(") (binary_expression "puVar4 + -8" (identifier "puVar4") (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "piVar2")) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -0xc) = param_3;" (assignment_expression "*(undefined4 *)(puVar4 + -0xc) = param_3" (pointer_expression "*(undefined4 *)(puVar4 + -0xc)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0xc)" (( "(") (binary_expression "puVar4 + -0xc" (identifier "puVar4") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -0x10) = 4;" (assignment_expression "*(undefined4 *)(puVar4 + -0x10) = 4" (pointer_expression "*(undefined4 *)(puVar4 + -0x10)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x10)" (( "(") (binary_expression "puVar4 + -0x10" (identifier "puVar4") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (number_literal "4")) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x15240;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x15240" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x14)" (( "(") (binary_expression "puVar4 + -0x14" (identifier "puVar4") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x15240")) (; ";")) (expression_statement "param_1 = FUN_0001ac30();" (assignment_expression "param_1 = FUN_0001ac30()" (identifier "param_1") (= "=") (call_expression "FUN_0001ac30()" (identifier "FUN_0001ac30") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -8) = 5;" (assignment_expression "*(undefined4 *)(puVar4 + -8) = 5" (pointer_expression "*(undefined4 *)(puVar4 + -8)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -8)" (( "(") (binary_expression "puVar4 + -8" (identifier "puVar4") (+ "+") (number_literal "-8")) () ")")))) (= "=") (number_literal "5")) (; ";")) (expression_statement "*(char **)(puVar4 + -0xc) = "setting flags for %s";" (assignment_expression "*(char **)(puVar4 + -0xc) = "setting flags for %s"" (pointer_expression "*(char **)(puVar4 + -0xc)" (* "*") (cast_expression "(char **)(puVar4 + -0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + -0xc)" (( "(") (binary_expression "puVar4 + -0xc" (identifier "puVar4") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (string_literal ""setting flags for %s"" (" """) (string_content "setting flags for %s") (" """))) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -0x10) = 0;" (assignment_expression "*(undefined4 *)(puVar4 + -0x10) = 0" (pointer_expression "*(undefined4 *)(puVar4 + -0x10)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x10)" (( "(") (binary_expression "puVar4 + -0x10" (identifier "puVar4") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x15255;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x15255" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x14)" (( "(") (binary_expression "puVar4 + -0x14" (identifier "puVar4") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x15255")) (; ";")) (expression_statement "piVar6 = (int *)dcgettext();" (assignment_expression "piVar6 = (int *)dcgettext()" (identifier "piVar6") (= "=") (cast_expression "(int *)dcgettext()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext()" (identifier "dcgettext") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -0x14) = 0x1525c;" (assignment_expression "*(undefined4 *)(puVar4 + -0x14) = 0x1525c" (pointer_expression "*(undefined4 *)(puVar4 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x14)" (( "(") (binary_expression "puVar4 + -0x14" (identifier "puVar4") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x1525c")) (; ";")) (expression_statement "piVar2 = __errno_location();" (assignment_expression "piVar2 = __errno_location()" (identifier "piVar2") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(int *)(puVar4 + -0x14) = param_1;" (assignment_expression "*(int *)(puVar4 + -0x14) = param_1" (pointer_expression "*(int *)(puVar4 + -0x14)" (* "*") (cast_expression "(int *)(puVar4 + -0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x14)" (( "(") (binary_expression "puVar4 + -0x14" (identifier "puVar4") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(int **)(puVar4 + -0x18) = piVar6;" (assignment_expression "*(int **)(puVar4 + -0x18) = piVar6" (pointer_expression "*(int **)(puVar4 + -0x18)" (* "*") (cast_expression "(int **)(puVar4 + -0x18)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + -0x18)" (( "(") (binary_expression "puVar4 + -0x18" (identifier "puVar4") (+ "+") (number_literal "-0x18")) () ")")))) (= "=") (identifier "piVar6")) (; ";")) (expression_statement "*(int *)(puVar4 + -0x1c) = *piVar2;" (assignment_expression "*(int *)(puVar4 + -0x1c) = *piVar2" (pointer_expression "*(int *)(puVar4 + -0x1c)" (* "*") (cast_expression "(int *)(puVar4 + -0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x1c)" (( "(") (binary_expression "puVar4 + -0x1c" (identifier "puVar4") (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (expression_statement "puVar5 = puVar4 + -0x20;" (assignment_expression "puVar5 = puVar4 + -0x20" (identifier "puVar5") (= "=") (binary_expression "puVar4 + -0x20" (identifier "puVar4") (+ "+") (number_literal "-0x20"))) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -0x20) = 1;" (assignment_expression "*(undefined4 *)(puVar4 + -0x20) = 1" (pointer_expression "*(undefined4 *)(puVar4 + -0x20)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x20)" (( "(") (binary_expression "puVar4 + -0x20" (identifier "puVar4") (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(puVar4 + -0x24) = 0x15267;" (assignment_expression "*(undefined4 *)(puVar4 + -0x24) = 0x15267" (pointer_expression "*(undefined4 *)(puVar4 + -0x24)" (* "*") (cast_expression "(undefined4 *)(puVar4 + -0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4 + -0x24)" (( "(") (binary_expression "puVar4 + -0x24" (identifier "puVar4") (+ "+") (number_literal "-0x24")) () ")")))) (= "=") (number_literal "0x15267")) (; ";")) (expression_statement "FUN_00014f80();" (call_expression "FUN_00014f80()" (identifier "FUN_00014f80") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar2 = extraout_ECX;" (assignment_expression "piVar2 = extraout_ECX" (identifier "piVar2") (= "=") (identifier "extraout_ECX")) (; ";")) (expression_statement "uVar3 = extraout_EDX_00;" (assignment_expression "uVar3 = extraout_EDX_00" (identifier "uVar3") (= "=") (identifier "extraout_EDX_00")) (; ";")) (labeled_statement "LAB_00015267:\n        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);" (statement_identifier "LAB_00015267") (: ":") (expression_statement "piVar6 = (int *)((uint)piVar6 & 0xfffeffff);" (assignment_expression "piVar6 = (int *)((uint)piVar6 & 0xfffeffff)" (identifier "piVar6") (= "=") (cast_expression "(int *)((uint)piVar6 & 0xfffeffff)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)piVar6 & 0xfffeffff)" (( "(") (binary_expression "(uint)piVar6 & 0xfffeffff" (cast_expression "(uint)piVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar6")) (& "&") (number_literal "0xfffeffff")) () ")")))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(piVar6 != piVar2)" (( "(") (binary_expression "piVar6 != piVar2" (identifier "piVar6") (!= "!=") (identifier "piVar2")) () ")")) (; ";")) (} "}"))) (} "}"))) (if_statement "if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    FUN_000214c0();\n  }" (if "if") (parenthesized_expression "(*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar5 + 0x7c)" (* "*") (cast_expression "(int *)(puVar5 + 0x7c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + 0x7c)" (( "(") (binary_expression "puVar5 + 0x7c" (identifier "puVar5") (+ "+") (number_literal "0x7c")) () ")")))) (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    *(undefined4 *)(puVar5 + -4) = 0x1527f;\n    FUN_000214c0();\n  }" ({ "{") (expression_statement "*(undefined4 *)(puVar5 + -4) = 0x1527f;" (assignment_expression "*(undefined4 *)(puVar5 + -4) = 0x1527f" (pointer_expression "*(undefined4 *)(puVar5 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar5 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar5 + -4)" (( "(") (binary_expression "puVar5 + -4" (identifier "puVar5") (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0x1527f")) (; ";")) (expression_statement "FUN_000214c0();" (call_expression "FUN_000214c0()" (identifier "FUN_000214c0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 function_1(int fd,int var_1,char *name)

{
  int *var_3;
  int var_8;
  int *extraout_ECX;
  type_1 extraout_EDX;
  type_1 extraout_EDX_00;
  type_1 extraout_EDX_01;
  type_1 uVar3;
  type_2 *var_9;
  type_2 *var_7;
  int *var_4;
  int var_13;
  int aiStack_c0 [5];
  type_2 auStack_9c [12];
  int *local_90;
  type_3 st;
  
  var_7 = auStack_9c;
  if ((var_1 & 0xfffdfeffU) != 0) {
    var_3 = (int *)var_2(fd,3,0,0);
    var_7 = auStack_9c;
    var_4 = (int *)(var_1 & 0xfffdfeffU | (type_4)var_3);
    var_9 = auStack_9c;
    if ((int)var_3 < 0) goto LAB_00015236;
    if (var_3 != var_4) {
      uVar3 = extraout_EDX;
      var_7 = auStack_9c;
      if (((type_4)var_4 & 0x10000) != 0) {
        local_90 = var_3;
        var_3 = (int *)var_5(3,fd,(type_5 *)&st);
        var_7 = auStack_9c;
        var_9 = auStack_9c;
        if (var_3 != (int *)0x0) goto LAB_00015236;
        var_3 = local_90;
        uVar3 = extraout_EDX_00;
        if ((st.st_mode & 0xf000) == 0x4000) goto LAB_00015267;
        var_3 = var_6();
        *var_3 = 0x14;
        var_9 = auStack_9c;
        goto LAB_00015236;
      }
      do {
        *(type_1 *)(var_7 + -4) = uVar3;
        *(int **)(var_7 + -8) = var_4;
        *(type_1 *)(var_7 + -0xc) = 4;
        *(int *)(var_7 + -0x10) = fd;
        *(type_1 *)(var_7 + -0x14) = 0x151f4;
        var_8 = var_2(*(int *)(var_7 + -0x10),*(int *)(var_7 + -0xc));
        if (var_8 != -1) break;
        var_3 = (int *)0x0;
        var_9 = var_7;
LAB_00015236:
        *(int **)(var_9 + -4) = var_3;
        *(int **)(var_9 + -8) = var_3;
        *(char **)(var_9 + -0xc) = name;
        *(type_1 *)(var_9 + -0x10) = 4;
        *(type_1 *)(var_9 + -0x14) = 0x15240;
        fd = (int)var_10(*(type_6 *)(var_9 + -0x10),*(char **)(var_9 + -0xc));
        *(type_1 *)(var_9 + -8) = 5;
        *(char **)(var_9 + -0xc) = "setting flags for %s";
        *(type_1 *)(var_9 + -0x10) = 0;
        *(type_1 *)(var_9 + -0x14) = 0x15255;
        var_4 = (int *)var_11();
        *(type_1 *)(var_9 + -0x14) = 0x1525c;
        var_3 = var_6();
        *(int *)(var_9 + -0x14) = fd;
        *(int **)(var_9 + -0x18) = var_4;
        *(int *)(var_9 + -0x1c) = *var_3;
        var_7 = var_9 + -0x20;
        *(type_1 *)(var_9 + -0x20) = 1;
        *(type_1 *)(var_9 + -0x24) = 0x15267;
        var_12(*(int *)(var_9 + -0x20),*(int *)(var_9 + -0x1c),*(char **)(var_9 + -0x18));
        var_3 = extraout_ECX;
        uVar3 = extraout_EDX_01;
LAB_00015267:
        var_4 = (int *)((type_4)var_4 & 0xfffeffff);
      } while (var_4 != var_3);
    }
  }
  if (*(int *)(var_7 + 0x7c) != *(int *)(var_13 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    *(type_1 *)(var_7 + -4) = 0x1527f;
    var_14();
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (number_literal))))) (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) declarator: (abstract_pointer_declarator)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (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: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (string_literal (string_content)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 MASKED(int param_1,uint param_2,undefined4 param_3)

{
  int iVar1;
  int *piVar2;
  int *extraout_ECX;
  undefined4 extraout_EDX;
  undefined4 extraout_EDX_00;
  undefined4 uVar3;
  undefined1 *puVar4;
  undefined1 *puVar5;
  int *piVar6;
  int in_GS_OFFSET;
  undefined8 uVar7;
  int aiStackY_c0 [5];
  undefined1 auStack_9c [12];
  int *local_90;
  stat64 local_80;
  undefined4 local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1518d;
  puVar5 = auStack_9c;
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  if ((param_2 & 0xfffdfeff) != 0) {
    uVar7 = FUN_0001caa0(param_1,3,0,0);
    uVar3 = (undefined4)((ulonglong)uVar7 >> 0x20);
    piVar2 = (int *)uVar7;
    puVar5 = auStack_9c;
    piVar6 = (int *)(param_2 & 0xfffdfeff | (uint)piVar2);
    puVar4 = auStack_9c;
    if ((int)piVar2 < 0) goto LAB_00015236;
    if (piVar2 != piVar6) {
      puVar5 = auStack_9c;
      if (((uint)piVar6 & 0x10000) != 0) {
        local_90 = piVar2;
        piVar2 = (int *)__fxstat64(3,param_1,&local_80);
        puVar5 = auStack_9c;
        puVar4 = auStack_9c;
        if (piVar2 != (int *)0x0) goto LAB_00015236;
        piVar2 = local_90;
        uVar3 = extraout_EDX;
        if ((local_80.st_mode & 0xf000) == 0x4000) goto LAB_00015267;
        piVar2 = __errno_location();
        *piVar2 = 0x14;
        puVar4 = auStack_9c;
        goto LAB_00015236;
      }
      do {
        *(undefined4 *)(puVar5 + -4) = uVar3;
        *(int **)(puVar5 + -8) = piVar6;
        *(undefined4 *)(puVar5 + -0xc) = 4;
        *(int *)(puVar5 + -0x10) = param_1;
        *(undefined4 *)(puVar5 + -0x14) = 0x151f4;
        iVar1 = FUN_0001caa0();
        if (iVar1 != -1) break;
        piVar2 = (int *)0x0;
        puVar4 = puVar5;
LAB_00015236:
        *(int **)(puVar4 + -4) = piVar2;
        *(int **)(puVar4 + -8) = piVar2;
        *(undefined4 *)(puVar4 + -0xc) = param_3;
        *(undefined4 *)(puVar4 + -0x10) = 4;
        *(undefined4 *)(puVar4 + -0x14) = 0x15240;
        param_1 = FUN_0001ac30();
        *(undefined4 *)(puVar4 + -8) = 5;
        *(char **)(puVar4 + -0xc) = "setting flags for %s";
        *(undefined4 *)(puVar4 + -0x10) = 0;
        *(undefined4 *)(puVar4 + -0x14) = 0x15255;
        piVar6 = (int *)dcgettext();
        *(undefined4 *)(puVar4 + -0x14) = 0x1525c;
        piVar2 = __errno_location();
        *(int *)(puVar4 + -0x14) = param_1;
        *(int **)(puVar4 + -0x18) = piVar6;
        *(int *)(puVar4 + -0x1c) = *piVar2;
        puVar5 = puVar4 + -0x20;
        *(undefined4 *)(puVar4 + -0x20) = 1;
        *(undefined4 *)(puVar4 + -0x24) = 0x15267;
        FUN_00014f80();
        piVar2 = extraout_ECX;
        uVar3 = extraout_EDX_00;
LAB_00015267:
        piVar6 = (int *)((uint)piVar6 & 0xfffeffff);
      } while (piVar6 != piVar2);
    }
  }
  if (*(int *)(puVar5 + 0x7c) != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    *(undefined4 *)(puVar5 + -4) = 0x1527f;
    FUN_000214c0();
  }
  return;
}

