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

int recursive_action(char *fileName,uint flags,_func_int_char_ptr_stat_ptr_void_ptr_int *fileAction,
                    _func_int_char_ptr_stat_ptr_void_ptr_int *dirAction,void *userData,uint depth)

{
  stat statbuf;
  
}



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

undefined4 __regparm3
FUN_000b0e5e(char *param_1,uint param_2,code *param_3,code *param_4,undefined4 param_5,int param_6)

{
  byte bVar1;
  code *pcVar2;
  int iVar3;
  undefined4 uVar4;
  DIR *pDVar5;
  dirent64 *pdVar6;
  undefined1 *puVar7;
  uint *puVar8;
  byte *pbVar9;
  int in_GS_OFFSET;
  undefined8 uVar10;
  uint local_ac;
  undefined4 local_a8;
  stat64 *local_a4;
  code *local_a0;
  uint local_98;
  stat64 local_80;
  undefined4 local_20;
  
  local_a8 = param_5;
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  local_a0 = param_3;
  if (param_3 == (code *)0x0) {
    local_a0 = FUN_000b0e56;
  }
  if (param_4 == (code *)0x0) {
    param_4 = FUN_000b0e56;
  }
  if ((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0) {
    pcVar2 = FUN_00017de0;
  }
  else {
    pcVar2 = FUN_00017db0;
  }
  local_a4 = &local_80;
  local_ac = param_2;
  iVar3 = (*pcVar2)(param_1,local_a4);
  if (iVar3 < 0) {
    puVar8 = &local_ac;
    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&
       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {
      uVar4 = (*local_a0)(param_6);
      puVar7 = &stack0xffffff50;
      goto LAB_000b0f39;
    }
LAB_000b0fd9:
    bVar1 = *(byte *)puVar8;
  }
  else {
    if ((local_80.st_mode & 0xf000) != 0x4000) {
      uVar4 = (*local_a0)(param_6);
      puVar7 = &stack0xffffff50;
      goto LAB_000b0f39;
    }
    if ((local_ac & 1) == 0) {
      uVar4 = (*param_4)(param_6);
      puVar7 = &stack0xffffff50;
      goto LAB_000b0f39;
    }
    local_98 = local_ac & 8;
    puVar8 = &local_ac;
    if ((local_ac & 8) == 0) {
      iVar3 = (*param_4)(param_6);
      puVar8 = (uint *)&stack0xffffff50;
      if (iVar3 == 0) goto LAB_000b0fd9;
      uVar4 = 1;
      puVar7 = &stack0xffffff50;
      puVar8 = (uint *)&stack0xffffff50;
      if (iVar3 == 2) goto LAB_000b0f39;
    }
    *(char **)((int)puVar8 + -0x10) = param_1;
    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;
    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));
    *(DIR **)((int)puVar8 + 0x10) = pDVar5;
    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;
    uVar4 = 1;
    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;
    while( true ) {
      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);
      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;
      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));
      if (pdVar6 == (dirent64 *)0x0) break;
      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;
      uVar10 = FUN_000a56b9();
      *(int *)((int)puVar8 + 0x18) = (int)uVar10;
      if ((int)uVar10 != 0) {
        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);
        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);
        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);
        *(code **)((int)puVar8 + -0x10) = param_4;
        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;
        iVar3 = FUN_000b0e5e();
        if (iVar3 == 0) {
          uVar4 = 0;
        }
        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);
        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;
        free(*(void **)((int)puVar8 + -0x1c));
        puVar8 = (uint *)((int)puVar8 + -0xc);
      }
    }
    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);
    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;
    closedir(*(DIR **)((int)puVar8 + -0x10));
    puVar7 = (undefined1 *)puVar8;
    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;
    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);
    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;
    iVar3 = (*param_4)();
    puVar7 = (undefined1 *)((int)puVar8 + -4);
    pbVar9 = (byte *)((int)puVar8 + -4);
    puVar8 = (uint *)((int)puVar8 + -4);
    if (iVar3 != 0) goto LAB_000b0f39;
    bVar1 = *pbVar9;
  }
  if ((bVar1 & 0x20) == 0) {
    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;
    FUN_00018eb7();
  }
  uVar4 = 0;
  puVar7 = (undefined1 *)puVar8;
LAB_000b0f39:
  if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar4;
  }
                    /* WARNING: Subroutine does not return */
  *(undefined4 *)(puVar7 + -4) = 0xb10c4;
  FUN_00017e10();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x9c
CALL 0x00017640
ADD EBX,0x1fbb3
MOV EBP,EAX
MOV dword ptr [ESP],EDX
MOV dword ptr [ESP + 0xc],ECX
MOV EDI,dword ptr [ESP + 0xb0]
MOV EAX,dword ptr [ESP + 0xb4]
MOV dword ptr [ESP + 0x4],EAX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x8c],EAX
XOR EAX,EAX
TEST ECX,ECX
JNZ 0x000b0eab
LEA EAX,[EBX + 0xfffe0436]
MOV dword ptr [ESP + 0xc],EAX
TEST EDI,EDI
JNZ 0x000b0eb5
LEA EDI,[EBX + 0xfffe0436]
CMP dword ptr [ESP + 0xb8],0x1
SBB EAX,EAX
AND EAX,0x4
ADD EAX,0x2
TEST dword ptr [ESP],EAX
JNZ 0x000b10c4
LEA EAX,[EBX + 0xfff473c0]
SUB ESP,0x8
LEA EDX,[ESP + 0x34]
MOV dword ptr [ESP + 0x10],EDX
PUSH EDX
PUSH EBP
CALL EAX
ADD ESP,0x10
TEST EAX,EAX
JNS 0x000b0f5c
TEST byte ptr [ESP],0x40
JZ 0x000b0fd9
MOV EAX,dword ptr [EBX + 0xcdc]
CMP dword ptr [EAX],0x2
JNZ 0x000b0fd9
PUSH ESI
MOV EDI,dword ptr [ESP + 0xc]
PUSH EDI
PUSH EBP
PUSH 0x3
CALL 0x000174b0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000b0fd9
SUB ESP,0xc
PUSH dword ptr [ESP + 0xc4]
MOV ECX,dword ptr [ESP + 0x14]
MOV EDX,EDI
MOV EAX,EBP
MOV ESI,dword ptr [ESP + 0x1c]
CALL ESI
MOV ESI,EAX
ADD ESP,0xc
MOV EAX,ESI
MOV ECX,dword ptr [ESP + 0x8c]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x000b10bf
ADD ESP,0x9c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0xc
MOV EAX,dword ptr [ESP + 0x3c]
AND EAX,0xf000
CMP EAX,0x4000
JZ 0x000b0f8d
SUB ESP,0xc
PUSH dword ptr [ESP + 0xc4]
MOV ECX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,EBP
MOV EDI,dword ptr [ESP + 0x1c]
CALL EDI
MOV ESI,EAX
ADD ESP,0xc
JMP 0x000b0f39
TEST byte ptr [ESP],0x1
JNZ 0x000b0fb0
SUB ESP,0xc
PUSH dword ptr [ESP + 0xc4]
MOV ECX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,EBP
CALL EDI
MOV ESI,EAX
ADD ESP,0xc
JMP 0x000b0f39
MOV EAX,dword ptr [ESP]
AND EAX,0x8
MOV dword ptr [ESP + 0x14],EAX
JNZ 0x000b0ffb
SUB ESP,0xc
PUSH dword ptr [ESP + 0xc4]
MOV ECX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,EBP
CALL EDI
ADD ESP,0xc
TEST EAX,EAX
JNZ 0x000b0fed
TEST byte ptr [ESP],0x20
JNZ 0x000b0fe6
MOV EAX,EBP
CALL 0x00018eb7
XOR ESI,ESI
JMP 0x000b0f39
MOV ESI,0x1
CMP EAX,0x2
JZ 0x000b0f39
SUB ESP,0xc
PUSH EBP
CALL 0x00017530
MOV dword ptr [ESP + 0x20],EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000b0fd9
MOV ESI,0x1
MOV EAX,dword ptr [ESP + 0xb8]
INC EAX
MOV dword ptr [ESP + 0x1c],EAX
SUB ESP,0xc
PUSH dword ptr [ESP + 0x1c]
CALL 0x000172e0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000b1074
LEA EDX,[EAX + 0x13]
MOV EAX,EBP
CALL 0x000a56b9
MOV dword ptr [ESP + 0x18],EAX
TEST EAX,EAX
JZ 0x000b1020
PUSH EDX
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0xc]
PUSH EDI
MOV ECX,dword ptr [ESP + 0x1c]
MOV EDX,dword ptr [ESP + 0x10]
CALL 0x000b0e5e
POP ECX
TEST EAX,EAX
JNZ 0x000b1063
XOR ESI,ESI
SUB ESP,0xc
PUSH dword ptr [ESP + 0x24]
CALL 0x000175a0
ADD ESP,0x10
JMP 0x000b1020
SUB ESP,0xc
PUSH dword ptr [ESP + 0x1c]
CALL 0x000174f0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JZ 0x000b0f39
SUB ESP,0xc
PUSH dword ptr [ESP + 0xc4]
MOV ECX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ESP + 0x18]
MOV EAX,EBP
CALL EDI
ADD ESP,0xc
TEST EAX,EAX
JNZ 0x000b0f39
TEST byte ptr [ESP],0x20
JZ 0x000b0fdf
JMP 0x000b0fe6
CALL 0x00017e10
LEA EAX,[EBX + 0xfff47390]
JMP 0x000b0ed4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3\nFUN_000b0e5e(char *param_1,uint param_2,code *param_3,code *param_4,undefined4 param_5,int param_6)\n\n{\n  byte bVar1;\n  code *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  DIR *pDVar5;\n  dirent64 *pdVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  byte *pbVar9;\n  int in_GS_OFFSET;\n  undefined8 uVar10;\n  uint local_ac;\n  undefined4 local_a8;\n  stat64 *local_a4;\n  code *local_a0;\n  uint local_98;\n  stat64 local_80;\n  undefined4 local_20;\n  \n  local_a8 = param_5;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_a0 = param_3;\n  if (param_3 == (code *)0x0) {\n    local_a0 = FUN_000b0e56;\n  }\n  if (param_4 == (code *)0x0) {\n    param_4 = FUN_000b0e56;\n  }\n  if ((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0) {\n    pcVar2 = FUN_00017de0;\n  }\n  else {\n    pcVar2 = FUN_00017db0;\n  }\n  local_a4 = &local_80;\n  local_ac = param_2;\n  iVar3 = (*pcVar2)(param_1,local_a4);\n  if (iVar3 < 0) {\n    puVar8 = &local_ac;\n    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\nLAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;\n  }\n  else {\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }\n  if ((bVar1 & 0x20) == 0) {\n    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;\n    FUN_00018eb7();\n  }\n  uVar4 = 0;\n  puVar7 = (undefined1 *)puVar8;\nLAB_000b0f39:\n  if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined4 *)(puVar7 + -4) = 0xb10c4;\n  FUN_00017e10();\n}\n\n" comment (function_definition "undefined4 __regparm3\nFUN_000b0e5e(char *param_1,uint param_2,code *param_3,code *param_4,undefined4 param_5,int param_6)\n\n{\n  byte bVar1;\n  code *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  DIR *pDVar5;\n  dirent64 *pdVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  byte *pbVar9;\n  int in_GS_OFFSET;\n  undefined8 uVar10;\n  uint local_ac;\n  undefined4 local_a8;\n  stat64 *local_a4;\n  code *local_a0;\n  uint local_98;\n  stat64 local_80;\n  undefined4 local_20;\n  \n  local_a8 = param_5;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_a0 = param_3;\n  if (param_3 == (code *)0x0) {\n    local_a0 = FUN_000b0e56;\n  }\n  if (param_4 == (code *)0x0) {\n    param_4 = FUN_000b0e56;\n  }\n  if ((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0) {\n    pcVar2 = FUN_00017de0;\n  }\n  else {\n    pcVar2 = FUN_00017db0;\n  }\n  local_a4 = &local_80;\n  local_ac = param_2;\n  iVar3 = (*pcVar2)(param_1,local_a4);\n  if (iVar3 < 0) {\n    puVar8 = &local_ac;\n    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\nLAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;\n  }\n  else {\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }\n  if ((bVar1 & 0x20) == 0) {\n    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;\n    FUN_00018eb7();\n  }\n  uVar4 = 0;\n  puVar7 = (undefined1 *)puVar8;\nLAB_000b0f39:\n  if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined4 *)(puVar7 + -4) = 0xb10c4;\n  FUN_00017e10();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000b0e5e(char *param_1,uint param_2,code *param_3,code *param_4,undefined4 param_5,int param_6)" identifier (parameter_list "(char *param_1,uint param_2,code *param_3,code *param_4,undefined4 param_5,int param_6)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "code *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "code *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  code *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  DIR *pDVar5;\n  dirent64 *pdVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  byte *pbVar9;\n  int in_GS_OFFSET;\n  undefined8 uVar10;\n  uint local_ac;\n  undefined4 local_a8;\n  stat64 *local_a4;\n  code *local_a0;\n  uint local_98;\n  stat64 local_80;\n  undefined4 local_20;\n  \n  local_a8 = param_5;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_a0 = param_3;\n  if (param_3 == (code *)0x0) {\n    local_a0 = FUN_000b0e56;\n  }\n  if (param_4 == (code *)0x0) {\n    param_4 = FUN_000b0e56;\n  }\n  if ((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0) {\n    pcVar2 = FUN_00017de0;\n  }\n  else {\n    pcVar2 = FUN_00017db0;\n  }\n  local_a4 = &local_80;\n  local_ac = param_2;\n  iVar3 = (*pcVar2)(param_1,local_a4);\n  if (iVar3 < 0) {\n    puVar8 = &local_ac;\n    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\nLAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;\n  }\n  else {\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }\n  if ((bVar1 & 0x20) == 0) {\n    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;\n    FUN_00018eb7();\n  }\n  uVar4 = 0;\n  puVar7 = (undefined1 *)puVar8;\nLAB_000b0f39:\n  if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined4 *)(puVar7 + -4) = 0xb10c4;\n  FUN_00017e10();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "DIR *pDVar5;" type_identifier (pointer_declarator "*pDVar5" * identifier) ;) (declaration "dirent64 *pdVar6;" type_identifier (pointer_declarator "*pdVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "uint local_ac;" type_identifier identifier ;) (declaration "undefined4 local_a8;" type_identifier identifier ;) (declaration "stat64 *local_a4;" type_identifier (pointer_declarator "*local_a4" * identifier) ;) (declaration "code *local_a0;" type_identifier (pointer_declarator "*local_a0" * identifier) ;) (declaration "uint local_98;" type_identifier identifier ;) (declaration "stat64 local_80;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "local_a8 = param_5;" (assignment_expression "local_a8 = param_5" 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) ))))) ;) (expression_statement "local_a0 = param_3;" (assignment_expression "local_a0 = param_3" identifier = identifier) ;) (if_statement "if (param_3 == (code *)0x0) {\n    local_a0 = FUN_000b0e56;\n  }" if (parenthesized_expression "(param_3 == (code *)0x0)" ( (binary_expression "param_3 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_a0 = FUN_000b0e56;\n  }" { (expression_statement "local_a0 = FUN_000b0e56;" (assignment_expression "local_a0 = FUN_000b0e56" identifier = identifier) ;) })) (if_statement "if (param_4 == (code *)0x0) {\n    param_4 = FUN_000b0e56;\n  }" if (parenthesized_expression "(param_4 == (code *)0x0)" ( (binary_expression "param_4 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_4 = FUN_000b0e56;\n  }" { (expression_statement "param_4 = FUN_000b0e56;" (assignment_expression "param_4 = FUN_000b0e56" identifier = identifier) ;) })) (if_statement "if ((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0) {\n    pcVar2 = FUN_00017de0;\n  }\n  else {\n    pcVar2 = FUN_00017db0;\n  }" if (parenthesized_expression "((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0)" ( (binary_expression "(param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0" (parenthesized_expression "(param_2 & (-(uint)(param_6 == 0) & 4) + 2)" ( (binary_expression "param_2 & (-(uint)(param_6 == 0) & 4) + 2" identifier & (binary_expression "(-(uint)(param_6 == 0) & 4) + 2" (parenthesized_expression "(-(uint)(param_6 == 0) & 4)" ( (binary_expression "-(uint)(param_6 == 0) & 4" (unary_expression "-(uint)(param_6 == 0)" - (call_expression "(uint)(param_6 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_6 == 0)" ( (binary_expression "param_6 == 0" identifier == number_literal) )))) & number_literal) )) + number_literal)) )) == number_literal) )) (compound_statement "{\n    pcVar2 = FUN_00017de0;\n  }" { (expression_statement "pcVar2 = FUN_00017de0;" (assignment_expression "pcVar2 = FUN_00017de0" identifier = identifier) ;) }) (else_clause "else {\n    pcVar2 = FUN_00017db0;\n  }" else (compound_statement "{\n    pcVar2 = FUN_00017db0;\n  }" { (expression_statement "pcVar2 = FUN_00017db0;" (assignment_expression "pcVar2 = FUN_00017db0" identifier = identifier) ;) }))) (expression_statement "local_a4 = &local_80;" (assignment_expression "local_a4 = &local_80" identifier = (pointer_expression "&local_80" & identifier)) ;) (expression_statement "local_ac = param_2;" (assignment_expression "local_ac = param_2" identifier = identifier) ;) (expression_statement "iVar3 = (*pcVar2)(param_1,local_a4);" (assignment_expression "iVar3 = (*pcVar2)(param_1,local_a4)" identifier = (call_expression "(*pcVar2)(param_1,local_a4)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(param_1,local_a4)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 < 0) {\n    puVar8 = &local_ac;\n    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\nLAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;\n  }\n  else {\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    puVar8 = &local_ac;\n    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\nLAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;\n  }" { (expression_statement "puVar8 = &local_ac;" (assignment_expression "puVar8 = &local_ac" identifier = (pointer_expression "&local_ac" & identifier)) ;) (if_statement "if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" if (parenthesized_expression "((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0))" ( (binary_expression "(((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)" (parenthesized_expression "(((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2))" ( (binary_expression "((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)" (parenthesized_expression "((local_ac & 0x40) != 0)" ( (binary_expression "(local_ac & 0x40) != 0" (parenthesized_expression "(local_ac & 0x40)" ( (binary_expression "local_ac & 0x40" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(puVar8 = &local_ac, *DAT_000d16fc == 2)" ( (comma_expression "puVar8 = &local_ac, *DAT_000d16fc == 2" (assignment_expression "puVar8 = &local_ac" identifier = (pointer_expression "&local_ac" & identifier)) , (binary_expression "*DAT_000d16fc == 2" (pointer_expression "*DAT_000d16fc" * identifier) == number_literal)) ))) )) && (parenthesized_expression "(iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)" ( (comma_expression "iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0" (assignment_expression "iVar3 = __lxstat64(3,param_1,local_a4)" identifier = (call_expression "__lxstat64(3,param_1,local_a4)" identifier (argument_list "(3,param_1,local_a4)" ( number_literal , identifier , identifier )))) , (comma_expression "puVar8 = &local_ac, iVar3 == 0" (assignment_expression "puVar8 = &local_ac" identifier = (pointer_expression "&local_ac" & identifier)) , (binary_expression "iVar3 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" { (expression_statement "uVar4 = (*local_a0)(param_6);" (assignment_expression "uVar4 = (*local_a0)(param_6)" identifier = (call_expression "(*local_a0)(param_6)" (parenthesized_expression "(*local_a0)" ( (pointer_expression "*local_a0" * identifier) )) (argument_list "(param_6)" ( identifier )))) ;) (expression_statement "puVar7 = &stack0xffffff50;" (assignment_expression "puVar7 = &stack0xffffff50" identifier = (pointer_expression "&stack0xffffff50" & identifier)) ;) (goto_statement "goto LAB_000b0f39;" goto statement_identifier ;) })) (labeled_statement "LAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;" statement_identifier : (expression_statement "bVar1 = *(byte *)puVar8;" (assignment_expression "bVar1 = *(byte *)puVar8" identifier = (pointer_expression "*(byte *)puVar8" * (cast_expression "(byte *)puVar8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;)) }) (else_clause "else {\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }" else (compound_statement "{\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }" { (if_statement "if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" 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) )) (compound_statement "{\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" { (expression_statement "uVar4 = (*local_a0)(param_6);" (assignment_expression "uVar4 = (*local_a0)(param_6)" identifier = (call_expression "(*local_a0)(param_6)" (parenthesized_expression "(*local_a0)" ( (pointer_expression "*local_a0" * identifier) )) (argument_list "(param_6)" ( identifier )))) ;) (expression_statement "puVar7 = &stack0xffffff50;" (assignment_expression "puVar7 = &stack0xffffff50" identifier = (pointer_expression "&stack0xffffff50" & identifier)) ;) (goto_statement "goto LAB_000b0f39;" goto statement_identifier ;) })) (if_statement "if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" if (parenthesized_expression "((local_ac & 1) == 0)" ( (binary_expression "(local_ac & 1) == 0" (parenthesized_expression "(local_ac & 1)" ( (binary_expression "local_ac & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" { (expression_statement "uVar4 = (*param_4)(param_6);" (assignment_expression "uVar4 = (*param_4)(param_6)" identifier = (call_expression "(*param_4)(param_6)" (parenthesized_expression "(*param_4)" ( (pointer_expression "*param_4" * identifier) )) (argument_list "(param_6)" ( identifier )))) ;) (expression_statement "puVar7 = &stack0xffffff50;" (assignment_expression "puVar7 = &stack0xffffff50" identifier = (pointer_expression "&stack0xffffff50" & identifier)) ;) (goto_statement "goto LAB_000b0f39;" goto statement_identifier ;) })) (expression_statement "local_98 = local_ac & 8;" (assignment_expression "local_98 = local_ac & 8" identifier = (binary_expression "local_ac & 8" identifier & number_literal)) ;) (expression_statement "puVar8 = &local_ac;" (assignment_expression "puVar8 = &local_ac" identifier = (pointer_expression "&local_ac" & identifier)) ;) (if_statement "if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }" if (parenthesized_expression "((local_ac & 8) == 0)" ( (binary_expression "(local_ac & 8) == 0" (parenthesized_expression "(local_ac & 8)" ( (binary_expression "local_ac & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }" { (expression_statement "iVar3 = (*param_4)(param_6);" (assignment_expression "iVar3 = (*param_4)(param_6)" identifier = (call_expression "(*param_4)(param_6)" (parenthesized_expression "(*param_4)" ( (pointer_expression "*param_4" * identifier) )) (argument_list "(param_6)" ( identifier )))) ;) (expression_statement "puVar8 = (uint *)&stack0xffffff50;" (assignment_expression "puVar8 = (uint *)&stack0xffffff50" identifier = (cast_expression "(uint *)&stack0xffffff50" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0xffffff50" & identifier))) ;) (if_statement "if (iVar3 == 0) goto LAB_000b0fd9;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000b0fd9;" goto statement_identifier ;)) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "puVar7 = &stack0xffffff50;" (assignment_expression "puVar7 = &stack0xffffff50" identifier = (pointer_expression "&stack0xffffff50" & identifier)) ;) (expression_statement "puVar8 = (uint *)&stack0xffffff50;" (assignment_expression "puVar8 = (uint *)&stack0xffffff50" identifier = (cast_expression "(uint *)&stack0xffffff50" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0xffffff50" & identifier))) ;) (if_statement "if (iVar3 == 2) goto LAB_000b0f39;" if (parenthesized_expression "(iVar3 == 2)" ( (binary_expression "iVar3 == 2" identifier == number_literal) )) (goto_statement "goto LAB_000b0f39;" goto statement_identifier ;)) })) (expression_statement "*(char **)((int)puVar8 + -0x10) = param_1;" (assignment_expression "*(char **)((int)puVar8 + -0x10) = param_1" (pointer_expression "*(char **)((int)puVar8 + -0x10)" * (cast_expression "(char **)((int)puVar8 + -0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb1004" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x14)" ( (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));" (assignment_expression "pDVar5 = opendir(*(char **)((int)puVar8 + -0x10))" identifier = (call_expression "opendir(*(char **)((int)puVar8 + -0x10))" identifier (argument_list "(*(char **)((int)puVar8 + -0x10))" ( (pointer_expression "*(char **)((int)puVar8 + -0x10)" * (cast_expression "(char **)((int)puVar8 + -0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )))) ;) (expression_statement "*(DIR **)((int)puVar8 + 0x10) = pDVar5;" (assignment_expression "*(DIR **)((int)puVar8 + 0x10) = pDVar5" (pointer_expression "*(DIR **)((int)puVar8 + 0x10)" * (cast_expression "(DIR **)((int)puVar8 + 0x10)" ( (type_descriptor "DIR **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + 0x10)" ( (binary_expression "(int)puVar8 + 0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;" if (parenthesized_expression "(pDVar5 == (DIR *)0x0)" ( (binary_expression "pDVar5 == (DIR *)0x0" identifier == (cast_expression "(DIR *)0x0" ( (type_descriptor "DIR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000b0fd9;" goto statement_identifier ;)) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "*(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;" (assignment_expression "*(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1" (pointer_expression "*(int *)((int)puVar8 + 0x1c)" * (cast_expression "(int *)((int)puVar8 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x1c)" ( (binary_expression "(int)puVar8 + 0x1c" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(int *)((int)puVar8 + 0xb8) + 1" (pointer_expression "*(int *)((int)puVar8 + 0xb8)" * (cast_expression "(int *)((int)puVar8 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0xb8)" ( (binary_expression "(int)puVar8 + 0xb8" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal)) ;) (while_statement "while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }" { (expression_statement "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x10)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + 0x10)" * (cast_expression "(undefined4 *)((int)puVar8 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x10)" ( (binary_expression "(int)puVar8 + 0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb102c" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x14)" ( (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));" (assignment_expression "pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10))" identifier = (call_expression "readdir64(*(DIR **)((int)puVar8 + -0x10))" identifier (argument_list "(*(DIR **)((int)puVar8 + -0x10))" ( (pointer_expression "*(DIR **)((int)puVar8 + -0x10)" * (cast_expression "(DIR **)((int)puVar8 + -0x10)" ( (type_descriptor "DIR **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )))) ;) (if_statement "if (pdVar6 == (dirent64 *)0x0) break;" if (parenthesized_expression "(pdVar6 == (dirent64 *)0x0)" ( (binary_expression "pdVar6 == (dirent64 *)0x0" identifier == (cast_expression "(dirent64 *)0x0" ( (type_descriptor "dirent64 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "*(undefined4 *)((int)puVar8 + -4) = 0xb103d;" (assignment_expression "*(undefined4 *)((int)puVar8 + -4) = 0xb103d" (pointer_expression "*(undefined4 *)((int)puVar8 + -4)" * (cast_expression "(undefined4 *)((int)puVar8 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "uVar10 = FUN_000a56b9();" (assignment_expression "uVar10 = FUN_000a56b9()" identifier = (call_expression "FUN_000a56b9()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(int *)((int)puVar8 + 0x18) = (int)uVar10;" (assignment_expression "*(int *)((int)puVar8 + 0x18) = (int)uVar10" (pointer_expression "*(int *)((int)puVar8 + 0x18)" * (cast_expression "(int *)((int)puVar8 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x18)" ( (binary_expression "(int)puVar8 + 0x18" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }" if (parenthesized_expression "((int)uVar10 != 0)" ( (binary_expression "(int)uVar10 != 0" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) != number_literal) )) (compound_statement "{\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }" { (expression_statement "*(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);" (assignment_expression "*(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20)" (pointer_expression "*(int *)((int)puVar8 + -4)" * (cast_expression "(int *)((int)puVar8 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(int)((ulonglong)uVar10 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar10 >> 0x20)" ( (binary_expression "(ulonglong)uVar10 >> 0x20" (cast_expression "(ulonglong)uVar10" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);" (assignment_expression "*(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c)" (pointer_expression "*(undefined4 *)((int)puVar8 + -8)" * (cast_expression "(undefined4 *)((int)puVar8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -8)" ( (binary_expression "(int)puVar8 + -8" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + 0x1c)" * (cast_expression "(undefined4 *)((int)puVar8 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x1c)" ( (binary_expression "(int)puVar8 + 0x1c" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0xc)" * (cast_expression "(undefined4 *)((int)puVar8 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0xc)" ( (binary_expression "(int)puVar8 + -0xc" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + 4)" * (cast_expression "(undefined4 *)((int)puVar8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 4)" ( (binary_expression "(int)puVar8 + 4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(code **)((int)puVar8 + -0x10) = param_4;" (assignment_expression "*(code **)((int)puVar8 + -0x10) = param_4" (pointer_expression "*(code **)((int)puVar8 + -0x10)" * (cast_expression "(code **)((int)puVar8 + -0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb105c" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x14)" ( (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar3 = FUN_000b0e5e();" (assignment_expression "iVar3 = FUN_000b0e5e()" identifier = (call_expression "FUN_000b0e5e()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n          uVar4 = 0;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar4 = 0;\n        }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x1c)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x1c)" ( (binary_expression "(int)puVar8 + -0x1c" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + 0xc)" * (cast_expression "(undefined4 *)((int)puVar8 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0xc)" ( (binary_expression "(int)puVar8 + 0xc" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x20) = 0xb106f" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x20)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x20)" ( (binary_expression "(int)puVar8 + -0x20" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "free(*(void **)((int)puVar8 + -0x1c));" (call_expression "free(*(void **)((int)puVar8 + -0x1c))" identifier (argument_list "(*(void **)((int)puVar8 + -0x1c))" ( (pointer_expression "*(void **)((int)puVar8 + -0x1c)" * (cast_expression "(void **)((int)puVar8 + -0x1c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + -0x1c)" ( (binary_expression "(int)puVar8 + -0x1c" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (expression_statement "puVar8 = (uint *)((int)puVar8 + -0xc);" (assignment_expression "puVar8 = (uint *)((int)puVar8 + -0xc)" identifier = (cast_expression "(uint *)((int)puVar8 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0xc)" ( (binary_expression "(int)puVar8 + -0xc" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) })) (expression_statement "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x10)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + 0x10)" * (cast_expression "(undefined4 *)((int)puVar8 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x10)" ( (binary_expression "(int)puVar8 + 0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb1080" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x14)" ( (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "closedir(*(DIR **)((int)puVar8 + -0x10));" (call_expression "closedir(*(DIR **)((int)puVar8 + -0x10))" identifier (argument_list "(*(DIR **)((int)puVar8 + -0x10))" ( (pointer_expression "*(DIR **)((int)puVar8 + -0x10)" * (cast_expression "(DIR **)((int)puVar8 + -0x10)" ( (type_descriptor "DIR **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (expression_statement "puVar7 = (undefined1 *)puVar8;" (assignment_expression "puVar7 = (undefined1 *)puVar8" identifier = (cast_expression "(undefined1 *)puVar8" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;" if (parenthesized_expression "(*(int *)((int)puVar8 + 0x14) == 0)" ( (binary_expression "*(int *)((int)puVar8 + 0x14) == 0" (pointer_expression "*(int *)((int)puVar8 + 0x14)" * (cast_expression "(int *)((int)puVar8 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x14)" ( (binary_expression "(int)puVar8 + 0x14" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_000b0f39;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x10)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + 0xb8)" * (cast_expression "(undefined4 *)((int)puVar8 + 0xb8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0xb8)" ( (binary_expression "(int)puVar8 + 0xb8" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x14)" ( (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar3 = (*param_4)();" (assignment_expression "iVar3 = (*param_4)()" identifier = (call_expression "(*param_4)()" (parenthesized_expression "(*param_4)" ( (pointer_expression "*param_4" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "puVar7 = (undefined1 *)((int)puVar8 + -4);" (assignment_expression "puVar7 = (undefined1 *)((int)puVar8 + -4)" identifier = (cast_expression "(undefined1 *)((int)puVar8 + -4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "pbVar9 = (byte *)((int)puVar8 + -4);" (assignment_expression "pbVar9 = (byte *)((int)puVar8 + -4)" identifier = (cast_expression "(byte *)((int)puVar8 + -4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar8 = (uint *)((int)puVar8 + -4);" (assignment_expression "puVar8 = (uint *)((int)puVar8 + -4)" identifier = (cast_expression "(uint *)((int)puVar8 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (iVar3 != 0) goto LAB_000b0f39;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000b0f39;" goto statement_identifier ;)) (expression_statement "bVar1 = *pbVar9;" (assignment_expression "bVar1 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) }))) (if_statement "if ((bVar1 & 0x20) == 0) {\n    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;\n    FUN_00018eb7();\n  }" if (parenthesized_expression "((bVar1 & 0x20) == 0)" ( (binary_expression "(bVar1 & 0x20) == 0" (parenthesized_expression "(bVar1 & 0x20)" ( (binary_expression "bVar1 & 0x20" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;\n    FUN_00018eb7();\n  }" { (expression_statement "*(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;" (assignment_expression "*(undefined4 *)((int)puVar8 + -4) = 0xb0fe6" (pointer_expression "*(undefined4 *)((int)puVar8 + -4)" * (cast_expression "(undefined4 *)((int)puVar8 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00018eb7();" (call_expression "FUN_00018eb7()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar7 = (undefined1 *)puVar8;" (assignment_expression "puVar7 = (undefined1 *)puVar8" identifier = (cast_expression "(undefined1 *)puVar8" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (labeled_statement "LAB_000b0f39:\n  if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar4;\n  }" statement_identifier : (if_statement "if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar4;\n  }" if (parenthesized_expression "(*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar7 + 0x8c)" * (cast_expression "(int *)(puVar7 + 0x8c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x8c)" ( (binary_expression "puVar7 + 0x8c" 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    return uVar4;\n  }" { (return_statement "return uVar4;" return identifier ;) }))) comment (expression_statement "*(undefined4 *)(puVar7 + -4) = 0xb10c4;" (assignment_expression "*(undefined4 *)(puVar7 + -4) = 0xb10c4" (pointer_expression "*(undefined4 *)(puVar7 + -4)" * (cast_expression "(undefined4 *)(puVar7 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -4)" ( (binary_expression "puVar7 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint recursive_action(char *fileName,uint flags,_func_int_char_ptr_stat_ptr_void_ptr_int *fileAction,\n                    _func_int_char_ptr_stat_ptr_void_ptr_int *dirAction,void *userData,uint depth)\n\n{\n  stat statbuf;\n  \n}\n\n" comment (function_definition "int recursive_action(char *fileName,uint flags,_func_int_char_ptr_stat_ptr_void_ptr_int *fileAction,\n                    _func_int_char_ptr_stat_ptr_void_ptr_int *dirAction,void *userData,uint depth)\n\n{\n  stat statbuf;\n  \n}" primitive_type (function_declarator "recursive_action(char *fileName,uint flags,_func_int_char_ptr_stat_ptr_void_ptr_int *fileAction,\n                    _func_int_char_ptr_stat_ptr_void_ptr_int *dirAction,void *userData,uint depth)" identifier (parameter_list "(char *fileName,uint flags,_func_int_char_ptr_stat_ptr_void_ptr_int *fileAction,\n                    _func_int_char_ptr_stat_ptr_void_ptr_int *dirAction,void *userData,uint depth)" ( (parameter_declaration "char *fileName" primitive_type (pointer_declarator "*fileName" * identifier)) , (parameter_declaration "uint flags" type_identifier identifier) , (parameter_declaration "_func_int_char_ptr_stat_ptr_void_ptr_int *fileAction" type_identifier (pointer_declarator "*fileAction" * identifier)) , (parameter_declaration "_func_int_char_ptr_stat_ptr_void_ptr_int *dirAction" type_identifier (pointer_declarator "*dirAction" * identifier)) , (parameter_declaration "void *userData" primitive_type (pointer_declarator "*userData" * identifier)) , (parameter_declaration "uint depth" type_identifier identifier) ))) (compound_statement "{\n  stat statbuf;\n  \n}" { (declaration "stat statbuf;" type_identifier identifier ;) })))
(translation_unit "undefined4 __regparm3\nFUN_000b0e5e(char *param_1,uint param_2,code *param_3,code *param_4,undefined4 param_5,int param_6)\n\n{\n  byte bVar1;\n  code *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  DIR *pDVar5;\n  dirent64 *pdVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  byte *pbVar9;\n  int in_GS_OFFSET;\n  undefined8 uVar10;\n  uint local_ac;\n  undefined4 local_a8;\n  stat64 *local_a4;\n  code *local_a0;\n  uint local_98;\n  stat64 local_80;\n  undefined4 local_20;\n  \n  local_a8 = param_5;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_a0 = param_3;\n  if (param_3 == (code *)0x0) {\n    local_a0 = FUN_000b0e56;\n  }\n  if (param_4 == (code *)0x0) {\n    param_4 = FUN_000b0e56;\n  }\n  if ((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0) {\n    pcVar2 = FUN_00017de0;\n  }\n  else {\n    pcVar2 = FUN_00017db0;\n  }\n  local_a4 = &local_80;\n  local_ac = param_2;\n  iVar3 = (*pcVar2)(param_1,local_a4);\n  if (iVar3 < 0) {\n    puVar8 = &local_ac;\n    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\nLAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;\n  }\n  else {\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }\n  if ((bVar1 & 0x20) == 0) {\n    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;\n    FUN_00018eb7();\n  }\n  uVar4 = 0;\n  puVar7 = (undefined1 *)puVar8;\nLAB_000b0f39:\n  if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar4;\n  }\n                    \n  *(undefined4 *)(puVar7 + -4) = 0xb10c4;\n  FUN_00017e10();\n}\n\n" (function_definition "undefined4 __regparm3\nFUN_000b0e5e(char *param_1,uint param_2,code *param_3,code *param_4,undefined4 param_5,int param_6)\n\n{\n  byte bVar1;\n  code *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  DIR *pDVar5;\n  dirent64 *pdVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  byte *pbVar9;\n  int in_GS_OFFSET;\n  undefined8 uVar10;\n  uint local_ac;\n  undefined4 local_a8;\n  stat64 *local_a4;\n  code *local_a0;\n  uint local_98;\n  stat64 local_80;\n  undefined4 local_20;\n  \n  local_a8 = param_5;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_a0 = param_3;\n  if (param_3 == (code *)0x0) {\n    local_a0 = FUN_000b0e56;\n  }\n  if (param_4 == (code *)0x0) {\n    param_4 = FUN_000b0e56;\n  }\n  if ((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0) {\n    pcVar2 = FUN_00017de0;\n  }\n  else {\n    pcVar2 = FUN_00017db0;\n  }\n  local_a4 = &local_80;\n  local_ac = param_2;\n  iVar3 = (*pcVar2)(param_1,local_a4);\n  if (iVar3 < 0) {\n    puVar8 = &local_ac;\n    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\nLAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;\n  }\n  else {\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }\n  if ((bVar1 & 0x20) == 0) {\n    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;\n    FUN_00018eb7();\n  }\n  uVar4 = 0;\n  puVar7 = (undefined1 *)puVar8;\nLAB_000b0f39:\n  if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar4;\n  }\n                    \n  *(undefined4 *)(puVar7 + -4) = 0xb10c4;\n  FUN_00017e10();\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000b0e5e(char *param_1,uint param_2,code *param_3,code *param_4,undefined4 param_5,int param_6)" identifier (parameter_list "(char *param_1,uint param_2,code *param_3,code *param_4,undefined4 param_5,int param_6)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "code *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "code *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  code *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  DIR *pDVar5;\n  dirent64 *pdVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  byte *pbVar9;\n  int in_GS_OFFSET;\n  undefined8 uVar10;\n  uint local_ac;\n  undefined4 local_a8;\n  stat64 *local_a4;\n  code *local_a0;\n  uint local_98;\n  stat64 local_80;\n  undefined4 local_20;\n  \n  local_a8 = param_5;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_a0 = param_3;\n  if (param_3 == (code *)0x0) {\n    local_a0 = FUN_000b0e56;\n  }\n  if (param_4 == (code *)0x0) {\n    param_4 = FUN_000b0e56;\n  }\n  if ((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0) {\n    pcVar2 = FUN_00017de0;\n  }\n  else {\n    pcVar2 = FUN_00017db0;\n  }\n  local_a4 = &local_80;\n  local_ac = param_2;\n  iVar3 = (*pcVar2)(param_1,local_a4);\n  if (iVar3 < 0) {\n    puVar8 = &local_ac;\n    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\nLAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;\n  }\n  else {\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }\n  if ((bVar1 & 0x20) == 0) {\n    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;\n    FUN_00018eb7();\n  }\n  uVar4 = 0;\n  puVar7 = (undefined1 *)puVar8;\nLAB_000b0f39:\n  if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar4;\n  }\n                    \n  *(undefined4 *)(puVar7 + -4) = 0xb10c4;\n  FUN_00017e10();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "DIR *pDVar5;" type_identifier (pointer_declarator "*pDVar5" * identifier) ;) (declaration "dirent64 *pdVar6;" type_identifier (pointer_declarator "*pdVar6" * identifier) ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar10;" type_identifier identifier ;) (declaration "uint local_ac;" type_identifier identifier ;) (declaration "undefined4 local_a8;" type_identifier identifier ;) (declaration "stat64 *local_a4;" type_identifier (pointer_declarator "*local_a4" * identifier) ;) (declaration "code *local_a0;" type_identifier (pointer_declarator "*local_a0" * identifier) ;) (declaration "uint local_98;" type_identifier identifier ;) (declaration "stat64 local_80;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (expression_statement "local_a8 = param_5;" (assignment_expression "local_a8 = param_5" 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) ))))) ;) (expression_statement "local_a0 = param_3;" (assignment_expression "local_a0 = param_3" identifier = identifier) ;) (if_statement "if (param_3 == (code *)0x0) {\n    local_a0 = FUN_000b0e56;\n  }" if (parenthesized_expression "(param_3 == (code *)0x0)" ( (binary_expression "param_3 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_a0 = FUN_000b0e56;\n  }" { (expression_statement "local_a0 = FUN_000b0e56;" (assignment_expression "local_a0 = FUN_000b0e56" identifier = identifier) ;) })) (if_statement "if (param_4 == (code *)0x0) {\n    param_4 = FUN_000b0e56;\n  }" if (parenthesized_expression "(param_4 == (code *)0x0)" ( (binary_expression "param_4 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    param_4 = FUN_000b0e56;\n  }" { (expression_statement "param_4 = FUN_000b0e56;" (assignment_expression "param_4 = FUN_000b0e56" identifier = identifier) ;) })) (if_statement "if ((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0) {\n    pcVar2 = FUN_00017de0;\n  }\n  else {\n    pcVar2 = FUN_00017db0;\n  }" if (parenthesized_expression "((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0)" ( (binary_expression "(param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0" (parenthesized_expression "(param_2 & (-(uint)(param_6 == 0) & 4) + 2)" ( (binary_expression "param_2 & (-(uint)(param_6 == 0) & 4) + 2" identifier & (binary_expression "(-(uint)(param_6 == 0) & 4) + 2" (parenthesized_expression "(-(uint)(param_6 == 0) & 4)" ( (binary_expression "-(uint)(param_6 == 0) & 4" (unary_expression "-(uint)(param_6 == 0)" - (call_expression "(uint)(param_6 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_6 == 0)" ( (binary_expression "param_6 == 0" identifier == number_literal) )))) & number_literal) )) + number_literal)) )) == number_literal) )) (compound_statement "{\n    pcVar2 = FUN_00017de0;\n  }" { (expression_statement "pcVar2 = FUN_00017de0;" (assignment_expression "pcVar2 = FUN_00017de0" identifier = identifier) ;) }) (else_clause "else {\n    pcVar2 = FUN_00017db0;\n  }" else (compound_statement "{\n    pcVar2 = FUN_00017db0;\n  }" { (expression_statement "pcVar2 = FUN_00017db0;" (assignment_expression "pcVar2 = FUN_00017db0" identifier = identifier) ;) }))) (expression_statement "local_a4 = &local_80;" (assignment_expression "local_a4 = &local_80" identifier = (pointer_expression "&local_80" & identifier)) ;) (expression_statement "local_ac = param_2;" (assignment_expression "local_ac = param_2" identifier = identifier) ;) (expression_statement "iVar3 = (*pcVar2)(param_1,local_a4);" (assignment_expression "iVar3 = (*pcVar2)(param_1,local_a4)" identifier = (call_expression "(*pcVar2)(param_1,local_a4)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(param_1,local_a4)" ( identifier , identifier )))) ;) (if_statement "if (iVar3 < 0) {\n    puVar8 = &local_ac;\n    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\nLAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;\n  }\n  else {\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    puVar8 = &local_ac;\n    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\nLAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;\n  }" { (expression_statement "puVar8 = &local_ac;" (assignment_expression "puVar8 = &local_ac" identifier = (pointer_expression "&local_ac" & identifier)) ;) (if_statement "if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" if (parenthesized_expression "((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0))" ( (binary_expression "(((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)" (parenthesized_expression "(((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2))" ( (binary_expression "((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)" (parenthesized_expression "((local_ac & 0x40) != 0)" ( (binary_expression "(local_ac & 0x40) != 0" (parenthesized_expression "(local_ac & 0x40)" ( (binary_expression "local_ac & 0x40" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(puVar8 = &local_ac, *DAT_000d16fc == 2)" ( (comma_expression "puVar8 = &local_ac, *DAT_000d16fc == 2" (assignment_expression "puVar8 = &local_ac" identifier = (pointer_expression "&local_ac" & identifier)) , (binary_expression "*DAT_000d16fc == 2" (pointer_expression "*DAT_000d16fc" * identifier) == number_literal)) ))) )) && (parenthesized_expression "(iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)" ( (comma_expression "iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0" (assignment_expression "iVar3 = __lxstat64(3,param_1,local_a4)" identifier = (call_expression "__lxstat64(3,param_1,local_a4)" identifier (argument_list "(3,param_1,local_a4)" ( number_literal , identifier , identifier )))) , (comma_expression "puVar8 = &local_ac, iVar3 == 0" (assignment_expression "puVar8 = &local_ac" identifier = (pointer_expression "&local_ac" & identifier)) , (binary_expression "iVar3 == 0" identifier == number_literal))) ))) )) (compound_statement "{\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" { (expression_statement "uVar4 = (*local_a0)(param_6);" (assignment_expression "uVar4 = (*local_a0)(param_6)" identifier = (call_expression "(*local_a0)(param_6)" (parenthesized_expression "(*local_a0)" ( (pointer_expression "*local_a0" * identifier) )) (argument_list "(param_6)" ( identifier )))) ;) (expression_statement "puVar7 = &stack0xffffff50;" (assignment_expression "puVar7 = &stack0xffffff50" identifier = (pointer_expression "&stack0xffffff50" & identifier)) ;) (goto_statement "goto LAB_000b0f39;" goto statement_identifier ;) })) (labeled_statement "LAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;" statement_identifier : (expression_statement "bVar1 = *(byte *)puVar8;" (assignment_expression "bVar1 = *(byte *)puVar8" identifier = (pointer_expression "*(byte *)puVar8" * (cast_expression "(byte *)puVar8" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;)) }) (else_clause "else {\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }" else (compound_statement "{\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }" { (if_statement "if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" 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) )) (compound_statement "{\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" { (expression_statement "uVar4 = (*local_a0)(param_6);" (assignment_expression "uVar4 = (*local_a0)(param_6)" identifier = (call_expression "(*local_a0)(param_6)" (parenthesized_expression "(*local_a0)" ( (pointer_expression "*local_a0" * identifier) )) (argument_list "(param_6)" ( identifier )))) ;) (expression_statement "puVar7 = &stack0xffffff50;" (assignment_expression "puVar7 = &stack0xffffff50" identifier = (pointer_expression "&stack0xffffff50" & identifier)) ;) (goto_statement "goto LAB_000b0f39;" goto statement_identifier ;) })) (if_statement "if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" if (parenthesized_expression "((local_ac & 1) == 0)" ( (binary_expression "(local_ac & 1) == 0" (parenthesized_expression "(local_ac & 1)" ( (binary_expression "local_ac & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" { (expression_statement "uVar4 = (*param_4)(param_6);" (assignment_expression "uVar4 = (*param_4)(param_6)" identifier = (call_expression "(*param_4)(param_6)" (parenthesized_expression "(*param_4)" ( (pointer_expression "*param_4" * identifier) )) (argument_list "(param_6)" ( identifier )))) ;) (expression_statement "puVar7 = &stack0xffffff50;" (assignment_expression "puVar7 = &stack0xffffff50" identifier = (pointer_expression "&stack0xffffff50" & identifier)) ;) (goto_statement "goto LAB_000b0f39;" goto statement_identifier ;) })) (expression_statement "local_98 = local_ac & 8;" (assignment_expression "local_98 = local_ac & 8" identifier = (binary_expression "local_ac & 8" identifier & number_literal)) ;) (expression_statement "puVar8 = &local_ac;" (assignment_expression "puVar8 = &local_ac" identifier = (pointer_expression "&local_ac" & identifier)) ;) (if_statement "if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }" if (parenthesized_expression "((local_ac & 8) == 0)" ( (binary_expression "(local_ac & 8) == 0" (parenthesized_expression "(local_ac & 8)" ( (binary_expression "local_ac & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }" { (expression_statement "iVar3 = (*param_4)(param_6);" (assignment_expression "iVar3 = (*param_4)(param_6)" identifier = (call_expression "(*param_4)(param_6)" (parenthesized_expression "(*param_4)" ( (pointer_expression "*param_4" * identifier) )) (argument_list "(param_6)" ( identifier )))) ;) (expression_statement "puVar8 = (uint *)&stack0xffffff50;" (assignment_expression "puVar8 = (uint *)&stack0xffffff50" identifier = (cast_expression "(uint *)&stack0xffffff50" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0xffffff50" & identifier))) ;) (if_statement "if (iVar3 == 0) goto LAB_000b0fd9;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000b0fd9;" goto statement_identifier ;)) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "puVar7 = &stack0xffffff50;" (assignment_expression "puVar7 = &stack0xffffff50" identifier = (pointer_expression "&stack0xffffff50" & identifier)) ;) (expression_statement "puVar8 = (uint *)&stack0xffffff50;" (assignment_expression "puVar8 = (uint *)&stack0xffffff50" identifier = (cast_expression "(uint *)&stack0xffffff50" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0xffffff50" & identifier))) ;) (if_statement "if (iVar3 == 2) goto LAB_000b0f39;" if (parenthesized_expression "(iVar3 == 2)" ( (binary_expression "iVar3 == 2" identifier == number_literal) )) (goto_statement "goto LAB_000b0f39;" goto statement_identifier ;)) })) (expression_statement "*(char **)((int)puVar8 + -0x10) = param_1;" (assignment_expression "*(char **)((int)puVar8 + -0x10) = param_1" (pointer_expression "*(char **)((int)puVar8 + -0x10)" * (cast_expression "(char **)((int)puVar8 + -0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb1004" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x14)" ( (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));" (assignment_expression "pDVar5 = opendir(*(char **)((int)puVar8 + -0x10))" identifier = (call_expression "opendir(*(char **)((int)puVar8 + -0x10))" identifier (argument_list "(*(char **)((int)puVar8 + -0x10))" ( (pointer_expression "*(char **)((int)puVar8 + -0x10)" * (cast_expression "(char **)((int)puVar8 + -0x10)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )))) ;) (expression_statement "*(DIR **)((int)puVar8 + 0x10) = pDVar5;" (assignment_expression "*(DIR **)((int)puVar8 + 0x10) = pDVar5" (pointer_expression "*(DIR **)((int)puVar8 + 0x10)" * (cast_expression "(DIR **)((int)puVar8 + 0x10)" ( (type_descriptor "DIR **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + 0x10)" ( (binary_expression "(int)puVar8 + 0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;" if (parenthesized_expression "(pDVar5 == (DIR *)0x0)" ( (binary_expression "pDVar5 == (DIR *)0x0" identifier == (cast_expression "(DIR *)0x0" ( (type_descriptor "DIR *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000b0fd9;" goto statement_identifier ;)) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "*(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;" (assignment_expression "*(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1" (pointer_expression "*(int *)((int)puVar8 + 0x1c)" * (cast_expression "(int *)((int)puVar8 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x1c)" ( (binary_expression "(int)puVar8 + 0x1c" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(int *)((int)puVar8 + 0xb8) + 1" (pointer_expression "*(int *)((int)puVar8 + 0xb8)" * (cast_expression "(int *)((int)puVar8 + 0xb8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0xb8)" ( (binary_expression "(int)puVar8 + 0xb8" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal)) ;) (while_statement "while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }" { (expression_statement "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x10)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + 0x10)" * (cast_expression "(undefined4 *)((int)puVar8 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x10)" ( (binary_expression "(int)puVar8 + 0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb102c" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x14)" ( (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));" (assignment_expression "pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10))" identifier = (call_expression "readdir64(*(DIR **)((int)puVar8 + -0x10))" identifier (argument_list "(*(DIR **)((int)puVar8 + -0x10))" ( (pointer_expression "*(DIR **)((int)puVar8 + -0x10)" * (cast_expression "(DIR **)((int)puVar8 + -0x10)" ( (type_descriptor "DIR **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )))) ;) (if_statement "if (pdVar6 == (dirent64 *)0x0) break;" if (parenthesized_expression "(pdVar6 == (dirent64 *)0x0)" ( (binary_expression "pdVar6 == (dirent64 *)0x0" identifier == (cast_expression "(dirent64 *)0x0" ( (type_descriptor "dirent64 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "*(undefined4 *)((int)puVar8 + -4) = 0xb103d;" (assignment_expression "*(undefined4 *)((int)puVar8 + -4) = 0xb103d" (pointer_expression "*(undefined4 *)((int)puVar8 + -4)" * (cast_expression "(undefined4 *)((int)puVar8 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "uVar10 = FUN_000a56b9();" (assignment_expression "uVar10 = FUN_000a56b9()" identifier = (call_expression "FUN_000a56b9()" identifier (argument_list "()" ( )))) ;) (expression_statement "*(int *)((int)puVar8 + 0x18) = (int)uVar10;" (assignment_expression "*(int *)((int)puVar8 + 0x18) = (int)uVar10" (pointer_expression "*(int *)((int)puVar8 + 0x18)" * (cast_expression "(int *)((int)puVar8 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x18)" ( (binary_expression "(int)puVar8 + 0x18" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }" if (parenthesized_expression "((int)uVar10 != 0)" ( (binary_expression "(int)uVar10 != 0" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) != number_literal) )) (compound_statement "{\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }" { (expression_statement "*(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);" (assignment_expression "*(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20)" (pointer_expression "*(int *)((int)puVar8 + -4)" * (cast_expression "(int *)((int)puVar8 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (cast_expression "(int)((ulonglong)uVar10 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar10 >> 0x20)" ( (binary_expression "(ulonglong)uVar10 >> 0x20" (cast_expression "(ulonglong)uVar10" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);" (assignment_expression "*(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c)" (pointer_expression "*(undefined4 *)((int)puVar8 + -8)" * (cast_expression "(undefined4 *)((int)puVar8 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -8)" ( (binary_expression "(int)puVar8 + -8" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + 0x1c)" * (cast_expression "(undefined4 *)((int)puVar8 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x1c)" ( (binary_expression "(int)puVar8 + 0x1c" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0xc)" * (cast_expression "(undefined4 *)((int)puVar8 + -0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0xc)" ( (binary_expression "(int)puVar8 + -0xc" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + 4)" * (cast_expression "(undefined4 *)((int)puVar8 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 4)" ( (binary_expression "(int)puVar8 + 4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(code **)((int)puVar8 + -0x10) = param_4;" (assignment_expression "*(code **)((int)puVar8 + -0x10) = param_4" (pointer_expression "*(code **)((int)puVar8 + -0x10)" * (cast_expression "(code **)((int)puVar8 + -0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb105c" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x14)" ( (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar3 = FUN_000b0e5e();" (assignment_expression "iVar3 = FUN_000b0e5e()" identifier = (call_expression "FUN_000b0e5e()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n          uVar4 = 0;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar4 = 0;\n        }" { (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) })) (expression_statement "*(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x1c)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x1c)" ( (binary_expression "(int)puVar8 + -0x1c" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + 0xc)" * (cast_expression "(undefined4 *)((int)puVar8 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0xc)" ( (binary_expression "(int)puVar8 + 0xc" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x20) = 0xb106f" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x20)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x20)" ( (binary_expression "(int)puVar8 + -0x20" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "free(*(void **)((int)puVar8 + -0x1c));" (call_expression "free(*(void **)((int)puVar8 + -0x1c))" identifier (argument_list "(*(void **)((int)puVar8 + -0x1c))" ( (pointer_expression "*(void **)((int)puVar8 + -0x1c)" * (cast_expression "(void **)((int)puVar8 + -0x1c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + -0x1c)" ( (binary_expression "(int)puVar8 + -0x1c" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (expression_statement "puVar8 = (uint *)((int)puVar8 + -0xc);" (assignment_expression "puVar8 = (uint *)((int)puVar8 + -0xc)" identifier = (cast_expression "(uint *)((int)puVar8 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0xc)" ( (binary_expression "(int)puVar8 + -0xc" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) })) (expression_statement "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x10)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + 0x10)" * (cast_expression "(undefined4 *)((int)puVar8 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x10)" ( (binary_expression "(int)puVar8 + 0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb1080" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x14)" ( (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "closedir(*(DIR **)((int)puVar8 + -0x10));" (call_expression "closedir(*(DIR **)((int)puVar8 + -0x10))" identifier (argument_list "(*(DIR **)((int)puVar8 + -0x10))" ( (pointer_expression "*(DIR **)((int)puVar8 + -0x10)" * (cast_expression "(DIR **)((int)puVar8 + -0x10)" ( (type_descriptor "DIR **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) (expression_statement "puVar7 = (undefined1 *)puVar8;" (assignment_expression "puVar7 = (undefined1 *)puVar8" identifier = (cast_expression "(undefined1 *)puVar8" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;" if (parenthesized_expression "(*(int *)((int)puVar8 + 0x14) == 0)" ( (binary_expression "*(int *)((int)puVar8 + 0x14) == 0" (pointer_expression "*(int *)((int)puVar8 + 0x14)" * (cast_expression "(int *)((int)puVar8 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0x14)" ( (binary_expression "(int)puVar8 + 0x14" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_000b0f39;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x10)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x10)" ( (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)puVar8 + 0xb8)" * (cast_expression "(undefined4 *)((int)puVar8 + 0xb8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + 0xb8)" ( (binary_expression "(int)puVar8 + 0xb8" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" * (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -0x14)" ( (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "iVar3 = (*param_4)();" (assignment_expression "iVar3 = (*param_4)()" identifier = (call_expression "(*param_4)()" (parenthesized_expression "(*param_4)" ( (pointer_expression "*param_4" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "puVar7 = (undefined1 *)((int)puVar8 + -4);" (assignment_expression "puVar7 = (undefined1 *)((int)puVar8 + -4)" identifier = (cast_expression "(undefined1 *)((int)puVar8 + -4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "pbVar9 = (byte *)((int)puVar8 + -4);" (assignment_expression "pbVar9 = (byte *)((int)puVar8 + -4)" identifier = (cast_expression "(byte *)((int)puVar8 + -4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "puVar8 = (uint *)((int)puVar8 + -4);" (assignment_expression "puVar8 = (uint *)((int)puVar8 + -4)" identifier = (cast_expression "(uint *)((int)puVar8 + -4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (if_statement "if (iVar3 != 0) goto LAB_000b0f39;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000b0f39;" goto statement_identifier ;)) (expression_statement "bVar1 = *pbVar9;" (assignment_expression "bVar1 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) }))) (if_statement "if ((bVar1 & 0x20) == 0) {\n    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;\n    FUN_00018eb7();\n  }" if (parenthesized_expression "((bVar1 & 0x20) == 0)" ( (binary_expression "(bVar1 & 0x20) == 0" (parenthesized_expression "(bVar1 & 0x20)" ( (binary_expression "bVar1 & 0x20" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;\n    FUN_00018eb7();\n  }" { (expression_statement "*(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;" (assignment_expression "*(undefined4 *)((int)puVar8 + -4) = 0xb0fe6" (pointer_expression "*(undefined4 *)((int)puVar8 + -4)" * (cast_expression "(undefined4 *)((int)puVar8 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar8 + -4)" ( (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00018eb7();" (call_expression "FUN_00018eb7()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar7 = (undefined1 *)puVar8;" (assignment_expression "puVar7 = (undefined1 *)puVar8" identifier = (cast_expression "(undefined1 *)puVar8" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (labeled_statement "LAB_000b0f39:\n  if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar4;\n  }" statement_identifier : (if_statement "if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar4;\n  }" if (parenthesized_expression "(*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar7 + 0x8c)" * (cast_expression "(int *)(puVar7 + 0x8c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 0x8c)" ( (binary_expression "puVar7 + 0x8c" 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    return uVar4;\n  }" { (return_statement "return uVar4;" return identifier ;) }))) (expression_statement "*(undefined4 *)(puVar7 + -4) = 0xb10c4;" (assignment_expression "*(undefined4 *)(puVar7 + -4) = 0xb10c4" (pointer_expression "*(undefined4 *)(puVar7 + -4)" * (cast_expression "(undefined4 *)(puVar7 + -4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -4)" ( (binary_expression "puVar7 + -4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) )))) & LIT) )) + LIT)) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression & IDENT)) , (binary_expression (pointer_expression * IDENT) == LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , IDENT )))) , (comma_expression (assignment_expression IDENT = (pointer_expression & IDENT)) , (binary_expression IDENT == LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = 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 = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) + LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = 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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) })) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (labeled_statement statement_identifier : (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 { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 __regparm3\nFUN_000b0e5e(char *param_1,uint param_2,code *param_3,code *param_4,undefined4 param_5,int param_6)\n\n{\n  byte bVar1;\n  code *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  DIR *pDVar5;\n  dirent64 *pdVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  byte *pbVar9;\n  int in_GS_OFFSET;\n  undefined8 uVar10;\n  uint local_ac;\n  undefined4 local_a8;\n  stat64 *local_a4;\n  code *local_a0;\n  uint local_98;\n  stat64 local_80;\n  undefined4 local_20;\n  \n  local_a8 = param_5;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_a0 = param_3;\n  if (param_3 == (code *)0x0) {\n    local_a0 = FUN_000b0e56;\n  }\n  if (param_4 == (code *)0x0) {\n    param_4 = FUN_000b0e56;\n  }\n  if ((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0) {\n    pcVar2 = FUN_00017de0;\n  }\n  else {\n    pcVar2 = FUN_00017db0;\n  }\n  local_a4 = &local_80;\n  local_ac = param_2;\n  iVar3 = (*pcVar2)(param_1,local_a4);\n  if (iVar3 < 0) {\n    puVar8 = &local_ac;\n    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\nLAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;\n  }\n  else {\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }\n  if ((bVar1 & 0x20) == 0) {\n    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;\n    FUN_00018eb7();\n  }\n  uVar4 = 0;\n  puVar7 = (undefined1 *)puVar8;\nLAB_000b0f39:\n  if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar4;\n  }\n                    \n  *(undefined4 *)(puVar7 + -4) = 0xb10c4;\n  FUN_00017e10();\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000b0e5e(char *param_1,uint param_2,code *param_3,code *param_4,undefined4 param_5,int param_6)" (identifier "FUN_000b0e5e") (parameter_list "(char *param_1,uint param_2,code *param_3,code *param_4,undefined4 param_5,int param_6)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "code *param_3" (type_identifier "code") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "code *param_4" (type_identifier "code") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) () ")"))) (compound_statement "{\n  byte bVar1;\n  code *pcVar2;\n  int iVar3;\n  undefined4 uVar4;\n  DIR *pDVar5;\n  dirent64 *pdVar6;\n  undefined1 *puVar7;\n  uint *puVar8;\n  byte *pbVar9;\n  int in_GS_OFFSET;\n  undefined8 uVar10;\n  uint local_ac;\n  undefined4 local_a8;\n  stat64 *local_a4;\n  code *local_a0;\n  uint local_98;\n  stat64 local_80;\n  undefined4 local_20;\n  \n  local_a8 = param_5;\n  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  local_a0 = param_3;\n  if (param_3 == (code *)0x0) {\n    local_a0 = FUN_000b0e56;\n  }\n  if (param_4 == (code *)0x0) {\n    param_4 = FUN_000b0e56;\n  }\n  if ((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0) {\n    pcVar2 = FUN_00017de0;\n  }\n  else {\n    pcVar2 = FUN_00017db0;\n  }\n  local_a4 = &local_80;\n  local_ac = param_2;\n  iVar3 = (*pcVar2)(param_1,local_a4);\n  if (iVar3 < 0) {\n    puVar8 = &local_ac;\n    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\nLAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;\n  }\n  else {\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }\n  if ((bVar1 & 0x20) == 0) {\n    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;\n    FUN_00018eb7();\n  }\n  uVar4 = 0;\n  puVar7 = (undefined1 *)puVar8;\nLAB_000b0f39:\n  if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar4;\n  }\n                    \n  *(undefined4 *)(puVar7 + -4) = 0xb10c4;\n  FUN_00017e10();\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "code *pcVar2;" (type_identifier "code") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "DIR *pDVar5;" (type_identifier "DIR") (pointer_declarator "*pDVar5" (* "*") (identifier "pDVar5")) (; ";")) (declaration "dirent64 *pdVar6;" (type_identifier "dirent64") (pointer_declarator "*pdVar6" (* "*") (identifier "pdVar6")) (; ";")) (declaration "undefined1 *puVar7;" (type_identifier "undefined1") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "uint *puVar8;" (type_identifier "uint") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined8 uVar10;" (type_identifier "undefined8") (identifier "uVar10") (; ";")) (declaration "uint local_ac;" (type_identifier "uint") (identifier "local_ac") (; ";")) (declaration "undefined4 local_a8;" (type_identifier "undefined4") (identifier "local_a8") (; ";")) (declaration "stat64 *local_a4;" (type_identifier "stat64") (pointer_declarator "*local_a4" (* "*") (identifier "local_a4")) (; ";")) (declaration "code *local_a0;" (type_identifier "code") (pointer_declarator "*local_a0" (* "*") (identifier "local_a0")) (; ";")) (declaration "uint local_98;" (type_identifier "uint") (identifier "local_98") (; ";")) (declaration "stat64 local_80;" (type_identifier "stat64") (identifier "local_80") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (expression_statement "local_a8 = param_5;" (assignment_expression "local_a8 = param_5" (identifier "local_a8") (= "=") (identifier "param_5")) (; ";")) (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")) () ")"))))) (; ";")) (expression_statement "local_a0 = param_3;" (assignment_expression "local_a0 = param_3" (identifier "local_a0") (= "=") (identifier "param_3")) (; ";")) (if_statement "if (param_3 == (code *)0x0) {\n    local_a0 = FUN_000b0e56;\n  }" (if "if") (parenthesized_expression "(param_3 == (code *)0x0)" (( "(") (binary_expression "param_3 == (code *)0x0" (identifier "param_3") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_a0 = FUN_000b0e56;\n  }" ({ "{") (expression_statement "local_a0 = FUN_000b0e56;" (assignment_expression "local_a0 = FUN_000b0e56" (identifier "local_a0") (= "=") (identifier "FUN_000b0e56")) (; ";")) (} "}"))) (if_statement "if (param_4 == (code *)0x0) {\n    param_4 = FUN_000b0e56;\n  }" (if "if") (parenthesized_expression "(param_4 == (code *)0x0)" (( "(") (binary_expression "param_4 == (code *)0x0" (identifier "param_4") (== "==") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    param_4 = FUN_000b0e56;\n  }" ({ "{") (expression_statement "param_4 = FUN_000b0e56;" (assignment_expression "param_4 = FUN_000b0e56" (identifier "param_4") (= "=") (identifier "FUN_000b0e56")) (; ";")) (} "}"))) (if_statement "if ((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0) {\n    pcVar2 = FUN_00017de0;\n  }\n  else {\n    pcVar2 = FUN_00017db0;\n  }" (if "if") (parenthesized_expression "((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0)" (( "(") (binary_expression "(param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0" (parenthesized_expression "(param_2 & (-(uint)(param_6 == 0) & 4) + 2)" (( "(") (binary_expression "param_2 & (-(uint)(param_6 == 0) & 4) + 2" (identifier "param_2") (& "&") (binary_expression "(-(uint)(param_6 == 0) & 4) + 2" (parenthesized_expression "(-(uint)(param_6 == 0) & 4)" (( "(") (binary_expression "-(uint)(param_6 == 0) & 4" (unary_expression "-(uint)(param_6 == 0)" (- "-") (call_expression "(uint)(param_6 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_6 == 0)" (( "(") (binary_expression "param_6 == 0" (identifier "param_6") (== "==") (number_literal "0")) () ")")))) (& "&") (number_literal "4")) () ")")) (+ "+") (number_literal "2"))) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar2 = FUN_00017de0;\n  }" ({ "{") (expression_statement "pcVar2 = FUN_00017de0;" (assignment_expression "pcVar2 = FUN_00017de0" (identifier "pcVar2") (= "=") (identifier "FUN_00017de0")) (; ";")) (} "}")) (else_clause "else {\n    pcVar2 = FUN_00017db0;\n  }" (else "else") (compound_statement "{\n    pcVar2 = FUN_00017db0;\n  }" ({ "{") (expression_statement "pcVar2 = FUN_00017db0;" (assignment_expression "pcVar2 = FUN_00017db0" (identifier "pcVar2") (= "=") (identifier "FUN_00017db0")) (; ";")) (} "}")))) (expression_statement "local_a4 = &local_80;" (assignment_expression "local_a4 = &local_80" (identifier "local_a4") (= "=") (pointer_expression "&local_80" (& "&") (identifier "local_80"))) (; ";")) (expression_statement "local_ac = param_2;" (assignment_expression "local_ac = param_2" (identifier "local_ac") (= "=") (identifier "param_2")) (; ";")) (expression_statement "iVar3 = (*pcVar2)(param_1,local_a4);" (assignment_expression "iVar3 = (*pcVar2)(param_1,local_a4)" (identifier "iVar3") (= "=") (call_expression "(*pcVar2)(param_1,local_a4)" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "(param_1,local_a4)" (( "(") (identifier "param_1") (, ",") (identifier "local_a4") () ")")))) (; ";")) (if_statement "if (iVar3 < 0) {\n    puVar8 = &local_ac;\n    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\nLAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;\n  }\n  else {\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }" (if "if") (parenthesized_expression "(iVar3 < 0)" (( "(") (binary_expression "iVar3 < 0" (identifier "iVar3") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    puVar8 = &local_ac;\n    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\nLAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;\n  }" ({ "{") (expression_statement "puVar8 = &local_ac;" (assignment_expression "puVar8 = &local_ac" (identifier "puVar8") (= "=") (pointer_expression "&local_ac" (& "&") (identifier "local_ac"))) (; ";")) (if_statement "if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" (if "if") (parenthesized_expression "((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0))" (( "(") (binary_expression "(((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&\n       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)" (parenthesized_expression "(((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2))" (( "(") (binary_expression "((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)" (parenthesized_expression "((local_ac & 0x40) != 0)" (( "(") (binary_expression "(local_ac & 0x40) != 0" (parenthesized_expression "(local_ac & 0x40)" (( "(") (binary_expression "local_ac & 0x40" (identifier "local_ac") (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(puVar8 = &local_ac, *DAT_000d16fc == 2)" (( "(") (comma_expression "puVar8 = &local_ac, *DAT_000d16fc == 2" (assignment_expression "puVar8 = &local_ac" (identifier "puVar8") (= "=") (pointer_expression "&local_ac" (& "&") (identifier "local_ac"))) (, ",") (binary_expression "*DAT_000d16fc == 2" (pointer_expression "*DAT_000d16fc" (* "*") (identifier "DAT_000d16fc")) (== "==") (number_literal "2"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)" (( "(") (comma_expression "iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0" (assignment_expression "iVar3 = __lxstat64(3,param_1,local_a4)" (identifier "iVar3") (= "=") (call_expression "__lxstat64(3,param_1,local_a4)" (identifier "__lxstat64") (argument_list "(3,param_1,local_a4)" (( "(") (number_literal "3") (, ",") (identifier "param_1") (, ",") (identifier "local_a4") () ")")))) (, ",") (comma_expression "puVar8 = &local_ac, iVar3 == 0" (assignment_expression "puVar8 = &local_ac" (identifier "puVar8") (= "=") (pointer_expression "&local_ac" (& "&") (identifier "local_ac"))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" ({ "{") (expression_statement "uVar4 = (*local_a0)(param_6);" (assignment_expression "uVar4 = (*local_a0)(param_6)" (identifier "uVar4") (= "=") (call_expression "(*local_a0)(param_6)" (parenthesized_expression "(*local_a0)" (( "(") (pointer_expression "*local_a0" (* "*") (identifier "local_a0")) () ")")) (argument_list "(param_6)" (( "(") (identifier "param_6") () ")")))) (; ";")) (expression_statement "puVar7 = &stack0xffffff50;" (assignment_expression "puVar7 = &stack0xffffff50" (identifier "puVar7") (= "=") (pointer_expression "&stack0xffffff50" (& "&") (identifier "stack0xffffff50"))) (; ";")) (goto_statement "goto LAB_000b0f39;" (goto "goto") (statement_identifier "LAB_000b0f39") (; ";")) (} "}"))) (labeled_statement "LAB_000b0fd9:\n    bVar1 = *(byte *)puVar8;" (statement_identifier "LAB_000b0fd9") (: ":") (expression_statement "bVar1 = *(byte *)puVar8;" (assignment_expression "bVar1 = *(byte *)puVar8" (identifier "bVar1") (= "=") (pointer_expression "*(byte *)puVar8" (* "*") (cast_expression "(byte *)puVar8" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar8")))) (; ";"))) (} "}")) (else_clause "else {\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }" (else "else") (compound_statement "{\n    if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }\n    local_98 = local_ac & 8;\n    puVar8 = &local_ac;\n    if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }\n    *(char **)((int)puVar8 + -0x10) = param_1;\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;\n    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));\n    *(DIR **)((int)puVar8 + 0x10) = pDVar5;\n    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;\n    uVar4 = 1;\n    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;\n    while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;\n    closedir(*(DIR **)((int)puVar8 + -0x10));\n    puVar7 = (undefined1 *)puVar8;\n    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;\n    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);\n    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;\n    iVar3 = (*param_4)();\n    puVar7 = (undefined1 *)((int)puVar8 + -4);\n    pbVar9 = (byte *)((int)puVar8 + -4);\n    puVar8 = (uint *)((int)puVar8 + -4);\n    if (iVar3 != 0) goto LAB_000b0f39;\n    bVar1 = *pbVar9;\n  }" ({ "{") (if_statement "if ((local_80.st_mode & 0xf000) != 0x4000) {\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" (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")) () ")")) (compound_statement "{\n      uVar4 = (*local_a0)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" ({ "{") (expression_statement "uVar4 = (*local_a0)(param_6);" (assignment_expression "uVar4 = (*local_a0)(param_6)" (identifier "uVar4") (= "=") (call_expression "(*local_a0)(param_6)" (parenthesized_expression "(*local_a0)" (( "(") (pointer_expression "*local_a0" (* "*") (identifier "local_a0")) () ")")) (argument_list "(param_6)" (( "(") (identifier "param_6") () ")")))) (; ";")) (expression_statement "puVar7 = &stack0xffffff50;" (assignment_expression "puVar7 = &stack0xffffff50" (identifier "puVar7") (= "=") (pointer_expression "&stack0xffffff50" (& "&") (identifier "stack0xffffff50"))) (; ";")) (goto_statement "goto LAB_000b0f39;" (goto "goto") (statement_identifier "LAB_000b0f39") (; ";")) (} "}"))) (if_statement "if ((local_ac & 1) == 0) {\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" (if "if") (parenthesized_expression "((local_ac & 1) == 0)" (( "(") (binary_expression "(local_ac & 1) == 0" (parenthesized_expression "(local_ac & 1)" (( "(") (binary_expression "local_ac & 1" (identifier "local_ac") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar4 = (*param_4)(param_6);\n      puVar7 = &stack0xffffff50;\n      goto LAB_000b0f39;\n    }" ({ "{") (expression_statement "uVar4 = (*param_4)(param_6);" (assignment_expression "uVar4 = (*param_4)(param_6)" (identifier "uVar4") (= "=") (call_expression "(*param_4)(param_6)" (parenthesized_expression "(*param_4)" (( "(") (pointer_expression "*param_4" (* "*") (identifier "param_4")) () ")")) (argument_list "(param_6)" (( "(") (identifier "param_6") () ")")))) (; ";")) (expression_statement "puVar7 = &stack0xffffff50;" (assignment_expression "puVar7 = &stack0xffffff50" (identifier "puVar7") (= "=") (pointer_expression "&stack0xffffff50" (& "&") (identifier "stack0xffffff50"))) (; ";")) (goto_statement "goto LAB_000b0f39;" (goto "goto") (statement_identifier "LAB_000b0f39") (; ";")) (} "}"))) (expression_statement "local_98 = local_ac & 8;" (assignment_expression "local_98 = local_ac & 8" (identifier "local_98") (= "=") (binary_expression "local_ac & 8" (identifier "local_ac") (& "&") (number_literal "8"))) (; ";")) (expression_statement "puVar8 = &local_ac;" (assignment_expression "puVar8 = &local_ac" (identifier "puVar8") (= "=") (pointer_expression "&local_ac" (& "&") (identifier "local_ac"))) (; ";")) (if_statement "if ((local_ac & 8) == 0) {\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }" (if "if") (parenthesized_expression "((local_ac & 8) == 0)" (( "(") (binary_expression "(local_ac & 8) == 0" (parenthesized_expression "(local_ac & 8)" (( "(") (binary_expression "local_ac & 8" (identifier "local_ac") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = (*param_4)(param_6);\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 0) goto LAB_000b0fd9;\n      uVar4 = 1;\n      puVar7 = &stack0xffffff50;\n      puVar8 = (uint *)&stack0xffffff50;\n      if (iVar3 == 2) goto LAB_000b0f39;\n    }" ({ "{") (expression_statement "iVar3 = (*param_4)(param_6);" (assignment_expression "iVar3 = (*param_4)(param_6)" (identifier "iVar3") (= "=") (call_expression "(*param_4)(param_6)" (parenthesized_expression "(*param_4)" (( "(") (pointer_expression "*param_4" (* "*") (identifier "param_4")) () ")")) (argument_list "(param_6)" (( "(") (identifier "param_6") () ")")))) (; ";")) (expression_statement "puVar8 = (uint *)&stack0xffffff50;" (assignment_expression "puVar8 = (uint *)&stack0xffffff50" (identifier "puVar8") (= "=") (cast_expression "(uint *)&stack0xffffff50" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&stack0xffffff50" (& "&") (identifier "stack0xffffff50")))) (; ";")) (if_statement "if (iVar3 == 0) goto LAB_000b0fd9;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000b0fd9;" (goto "goto") (statement_identifier "LAB_000b0fd9") (; ";"))) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar7 = &stack0xffffff50;" (assignment_expression "puVar7 = &stack0xffffff50" (identifier "puVar7") (= "=") (pointer_expression "&stack0xffffff50" (& "&") (identifier "stack0xffffff50"))) (; ";")) (expression_statement "puVar8 = (uint *)&stack0xffffff50;" (assignment_expression "puVar8 = (uint *)&stack0xffffff50" (identifier "puVar8") (= "=") (cast_expression "(uint *)&stack0xffffff50" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&stack0xffffff50" (& "&") (identifier "stack0xffffff50")))) (; ";")) (if_statement "if (iVar3 == 2) goto LAB_000b0f39;" (if "if") (parenthesized_expression "(iVar3 == 2)" (( "(") (binary_expression "iVar3 == 2" (identifier "iVar3") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_000b0f39;" (goto "goto") (statement_identifier "LAB_000b0f39") (; ";"))) (} "}"))) (expression_statement "*(char **)((int)puVar8 + -0x10) = param_1;" (assignment_expression "*(char **)((int)puVar8 + -0x10) = param_1" (pointer_expression "*(char **)((int)puVar8 + -0x10)" (* "*") (cast_expression "(char **)((int)puVar8 + -0x10)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar8 + -0x10)" (( "(") (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb1004" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -0x14)" (( "(") (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0xb1004")) (; ";")) (expression_statement "pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));" (assignment_expression "pDVar5 = opendir(*(char **)((int)puVar8 + -0x10))" (identifier "pDVar5") (= "=") (call_expression "opendir(*(char **)((int)puVar8 + -0x10))" (identifier "opendir") (argument_list "(*(char **)((int)puVar8 + -0x10))" (( "(") (pointer_expression "*(char **)((int)puVar8 + -0x10)" (* "*") (cast_expression "(char **)((int)puVar8 + -0x10)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar8 + -0x10)" (( "(") (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "*(DIR **)((int)puVar8 + 0x10) = pDVar5;" (assignment_expression "*(DIR **)((int)puVar8 + 0x10) = pDVar5" (pointer_expression "*(DIR **)((int)puVar8 + 0x10)" (* "*") (cast_expression "(DIR **)((int)puVar8 + 0x10)" (( "(") (type_descriptor "DIR **" (type_identifier "DIR") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar8 + 0x10)" (( "(") (binary_expression "(int)puVar8 + 0x10" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "pDVar5")) (; ";")) (if_statement "if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;" (if "if") (parenthesized_expression "(pDVar5 == (DIR *)0x0)" (( "(") (binary_expression "pDVar5 == (DIR *)0x0" (identifier "pDVar5") (== "==") (cast_expression "(DIR *)0x0" (( "(") (type_descriptor "DIR *" (type_identifier "DIR") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000b0fd9;" (goto "goto") (statement_identifier "LAB_000b0fd9") (; ";"))) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (expression_statement "*(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;" (assignment_expression "*(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1" (pointer_expression "*(int *)((int)puVar8 + 0x1c)" (* "*") (cast_expression "(int *)((int)puVar8 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x1c)" (( "(") (binary_expression "(int)puVar8 + 0x1c" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "*(int *)((int)puVar8 + 0xb8) + 1" (pointer_expression "*(int *)((int)puVar8 + 0xb8)" (* "*") (cast_expression "(int *)((int)puVar8 + 0xb8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0xb8)" (( "(") (binary_expression "(int)puVar8 + 0xb8" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0xb8")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (while_statement "while( true ) {\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);\n      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;\n      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));\n      if (pdVar6 == (dirent64 *)0x0) break;\n      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;\n      uVar10 = FUN_000a56b9();\n      *(int *)((int)puVar8 + 0x18) = (int)uVar10;\n      if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }\n    }" ({ "{") (expression_statement "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x10)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -0x10)" (( "(") (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)puVar8 + 0x10)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x10)" (( "(") (binary_expression "(int)puVar8 + 0x10" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb102c" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -0x14)" (( "(") (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0xb102c")) (; ";")) (expression_statement "pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));" (assignment_expression "pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10))" (identifier "pdVar6") (= "=") (call_expression "readdir64(*(DIR **)((int)puVar8 + -0x10))" (identifier "readdir64") (argument_list "(*(DIR **)((int)puVar8 + -0x10))" (( "(") (pointer_expression "*(DIR **)((int)puVar8 + -0x10)" (* "*") (cast_expression "(DIR **)((int)puVar8 + -0x10)" (( "(") (type_descriptor "DIR **" (type_identifier "DIR") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar8 + -0x10)" (( "(") (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x10")) () ")")))) () ")")))) (; ";")) (if_statement "if (pdVar6 == (dirent64 *)0x0) break;" (if "if") (parenthesized_expression "(pdVar6 == (dirent64 *)0x0)" (( "(") (binary_expression "pdVar6 == (dirent64 *)0x0" (identifier "pdVar6") (== "==") (cast_expression "(dirent64 *)0x0" (( "(") (type_descriptor "dirent64 *" (type_identifier "dirent64") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*(undefined4 *)((int)puVar8 + -4) = 0xb103d;" (assignment_expression "*(undefined4 *)((int)puVar8 + -4) = 0xb103d" (pointer_expression "*(undefined4 *)((int)puVar8 + -4)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -4)" (( "(") (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0xb103d")) (; ";")) (expression_statement "uVar10 = FUN_000a56b9();" (assignment_expression "uVar10 = FUN_000a56b9()" (identifier "uVar10") (= "=") (call_expression "FUN_000a56b9()" (identifier "FUN_000a56b9") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*(int *)((int)puVar8 + 0x18) = (int)uVar10;" (assignment_expression "*(int *)((int)puVar8 + 0x18) = (int)uVar10" (pointer_expression "*(int *)((int)puVar8 + 0x18)" (* "*") (cast_expression "(int *)((int)puVar8 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x18)" (( "(") (binary_expression "(int)puVar8 + 0x18" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x18")) () ")")))) (= "=") (cast_expression "(int)uVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar10"))) (; ";")) (if_statement "if ((int)uVar10 != 0) {\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }" (if "if") (parenthesized_expression "((int)uVar10 != 0)" (( "(") (binary_expression "(int)uVar10 != 0" (cast_expression "(int)uVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar10")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);\n        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);\n        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);\n        *(code **)((int)puVar8 + -0x10) = param_4;\n        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;\n        iVar3 = FUN_000b0e5e();\n        if (iVar3 == 0) {\n          uVar4 = 0;\n        }\n        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);\n        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;\n        free(*(void **)((int)puVar8 + -0x1c));\n        puVar8 = (uint *)((int)puVar8 + -0xc);\n      }" ({ "{") (expression_statement "*(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);" (assignment_expression "*(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20)" (pointer_expression "*(int *)((int)puVar8 + -4)" (* "*") (cast_expression "(int *)((int)puVar8 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -4)" (( "(") (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-4")) () ")")))) (= "=") (cast_expression "(int)((ulonglong)uVar10 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar10 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar10 >> 0x20" (cast_expression "(ulonglong)uVar10" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar10")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);" (assignment_expression "*(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c)" (pointer_expression "*(undefined4 *)((int)puVar8 + -8)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -8)" (( "(") (binary_expression "(int)puVar8 + -8" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-8")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)puVar8 + 0x1c)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x1c)" (( "(") (binary_expression "(int)puVar8 + 0x1c" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0xc)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -0xc)" (( "(") (binary_expression "(int)puVar8 + -0xc" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)puVar8 + 4)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 4)" (( "(") (binary_expression "(int)puVar8 + 4" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(code **)((int)puVar8 + -0x10) = param_4;" (assignment_expression "*(code **)((int)puVar8 + -0x10) = param_4" (pointer_expression "*(code **)((int)puVar8 + -0x10)" (* "*") (cast_expression "(code **)((int)puVar8 + -0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar8 + -0x10)" (( "(") (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb105c" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -0x14)" (( "(") (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0xb105c")) (; ";")) (expression_statement "iVar3 = FUN_000b0e5e();" (assignment_expression "iVar3 = FUN_000b0e5e()" (identifier "iVar3") (= "=") (call_expression "FUN_000b0e5e()" (identifier "FUN_000b0e5e") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n          uVar4 = 0;\n        }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uVar4 = 0;\n        }" ({ "{") (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x1c)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -0x1c)" (( "(") (binary_expression "(int)puVar8 + -0x1c" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)puVar8 + 0xc)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0xc)" (( "(") (binary_expression "(int)puVar8 + 0xc" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x20) = 0xb106f" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x20)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -0x20)" (( "(") (binary_expression "(int)puVar8 + -0x20" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x20")) () ")")))) (= "=") (number_literal "0xb106f")) (; ";")) (expression_statement "free(*(void **)((int)puVar8 + -0x1c));" (call_expression "free(*(void **)((int)puVar8 + -0x1c))" (identifier "free") (argument_list "(*(void **)((int)puVar8 + -0x1c))" (( "(") (pointer_expression "*(void **)((int)puVar8 + -0x1c)" (* "*") (cast_expression "(void **)((int)puVar8 + -0x1c)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar8 + -0x1c)" (( "(") (binary_expression "(int)puVar8 + -0x1c" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x1c")) () ")")))) () ")"))) (; ";")) (expression_statement "puVar8 = (uint *)((int)puVar8 + -0xc);" (assignment_expression "puVar8 = (uint *)((int)puVar8 + -0xc)" (identifier "puVar8") (= "=") (cast_expression "(uint *)((int)puVar8 + -0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -0xc)" (( "(") (binary_expression "(int)puVar8 + -0xc" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0xc")) () ")")))) (; ";")) (} "}"))) (} "}"))) (expression_statement "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x10)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -0x10)" (( "(") (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)puVar8 + 0x10)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x10)" (( "(") (binary_expression "(int)puVar8 + 0x10" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb1080" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -0x14)" (( "(") (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0xb1080")) (; ";")) (expression_statement "closedir(*(DIR **)((int)puVar8 + -0x10));" (call_expression "closedir(*(DIR **)((int)puVar8 + -0x10))" (identifier "closedir") (argument_list "(*(DIR **)((int)puVar8 + -0x10))" (( "(") (pointer_expression "*(DIR **)((int)puVar8 + -0x10)" (* "*") (cast_expression "(DIR **)((int)puVar8 + -0x10)" (( "(") (type_descriptor "DIR **" (type_identifier "DIR") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)puVar8 + -0x10)" (( "(") (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x10")) () ")")))) () ")"))) (; ";")) (expression_statement "puVar7 = (undefined1 *)puVar8;" (assignment_expression "puVar7 = (undefined1 *)puVar8" (identifier "puVar7") (= "=") (cast_expression "(undefined1 *)puVar8" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar8"))) (; ";")) (if_statement "if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;" (if "if") (parenthesized_expression "(*(int *)((int)puVar8 + 0x14) == 0)" (( "(") (binary_expression "*(int *)((int)puVar8 + 0x14) == 0" (pointer_expression "*(int *)((int)puVar8 + 0x14)" (* "*") (cast_expression "(int *)((int)puVar8 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0x14)" (( "(") (binary_expression "(int)puVar8 + 0x14" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0x14")) () ")")))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000b0f39;" (goto "goto") (statement_identifier "LAB_000b0f39") (; ";"))) (expression_statement "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8)" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x10)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -0x10)" (( "(") (binary_expression "(int)puVar8 + -0x10" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)((int)puVar8 + 0xb8)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + 0xb8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + 0xb8)" (( "(") (binary_expression "(int)puVar8 + 0xb8" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "0xb8")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;" (assignment_expression "*(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5" (pointer_expression "*(undefined4 *)((int)puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -0x14)" (( "(") (binary_expression "(int)puVar8 + -0x14" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0xb10a5")) (; ";")) (expression_statement "iVar3 = (*param_4)();" (assignment_expression "iVar3 = (*param_4)()" (identifier "iVar3") (= "=") (call_expression "(*param_4)()" (parenthesized_expression "(*param_4)" (( "(") (pointer_expression "*param_4" (* "*") (identifier "param_4")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar7 = (undefined1 *)((int)puVar8 + -4);" (assignment_expression "puVar7 = (undefined1 *)((int)puVar8 + -4)" (identifier "puVar7") (= "=") (cast_expression "(undefined1 *)((int)puVar8 + -4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -4)" (( "(") (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-4")) () ")")))) (; ";")) (expression_statement "pbVar9 = (byte *)((int)puVar8 + -4);" (assignment_expression "pbVar9 = (byte *)((int)puVar8 + -4)" (identifier "pbVar9") (= "=") (cast_expression "(byte *)((int)puVar8 + -4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -4)" (( "(") (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-4")) () ")")))) (; ";")) (expression_statement "puVar8 = (uint *)((int)puVar8 + -4);" (assignment_expression "puVar8 = (uint *)((int)puVar8 + -4)" (identifier "puVar8") (= "=") (cast_expression "(uint *)((int)puVar8 + -4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -4)" (( "(") (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-4")) () ")")))) (; ";")) (if_statement "if (iVar3 != 0) goto LAB_000b0f39;" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000b0f39;" (goto "goto") (statement_identifier "LAB_000b0f39") (; ";"))) (expression_statement "bVar1 = *pbVar9;" (assignment_expression "bVar1 = *pbVar9" (identifier "bVar1") (= "=") (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9"))) (; ";")) (} "}")))) (if_statement "if ((bVar1 & 0x20) == 0) {\n    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;\n    FUN_00018eb7();\n  }" (if "if") (parenthesized_expression "((bVar1 & 0x20) == 0)" (( "(") (binary_expression "(bVar1 & 0x20) == 0" (parenthesized_expression "(bVar1 & 0x20)" (( "(") (binary_expression "bVar1 & 0x20" (identifier "bVar1") (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;\n    FUN_00018eb7();\n  }" ({ "{") (expression_statement "*(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;" (assignment_expression "*(undefined4 *)((int)puVar8 + -4) = 0xb0fe6" (pointer_expression "*(undefined4 *)((int)puVar8 + -4)" (* "*") (cast_expression "(undefined4 *)((int)puVar8 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar8 + -4)" (( "(") (binary_expression "(int)puVar8 + -4" (cast_expression "(int)puVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar8")) (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0xb0fe6")) (; ";")) (expression_statement "FUN_00018eb7();" (call_expression "FUN_00018eb7()" (identifier "FUN_00018eb7") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar7 = (undefined1 *)puVar8;" (assignment_expression "puVar7 = (undefined1 *)puVar8" (identifier "puVar7") (= "=") (cast_expression "(undefined1 *)puVar8" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar8"))) (; ";")) (labeled_statement "LAB_000b0f39:\n  if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar4;\n  }" (statement_identifier "LAB_000b0f39") (: ":") (if_statement "if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {\n    return uVar4;\n  }" (if "if") (parenthesized_expression "(*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)" (pointer_expression "*(int *)(puVar7 + 0x8c)" (* "*") (cast_expression "(int *)(puVar7 + 0x8c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 0x8c)" (( "(") (binary_expression "puVar7 + 0x8c" (identifier "puVar7") (+ "+") (number_literal "0x8c")) () ")")))) (== "==") (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    return uVar4;\n  }" ({ "{") (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))) (expression_statement "*(undefined4 *)(puVar7 + -4) = 0xb10c4;" (assignment_expression "*(undefined4 *)(puVar7 + -4) = 0xb10c4" (pointer_expression "*(undefined4 *)(puVar7 + -4)" (* "*") (cast_expression "(undefined4 *)(puVar7 + -4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + -4)" (( "(") (binary_expression "puVar7 + -4" (identifier "puVar7") (+ "+") (number_literal "-4")) () ")")))) (= "=") (number_literal "0xb10c4")) (; ";")) (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" (identifier "FUN_00017e10") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

int function_1(char *fileName,type_1 flags,type_2 *fileAction,
                    type_2 *dirAction,void *userData,type_1 depth)

{
  type_3 statbuf;
  
}


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

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

undefined4 __regparm3
MASKED(char *param_1,uint param_2,code *param_3,code *param_4,undefined4 param_5,int param_6)

{
  byte bVar1;
  code *pcVar2;
  int iVar3;
  undefined4 uVar4;
  DIR *pDVar5;
  dirent64 *pdVar6;
  undefined1 *puVar7;
  uint *puVar8;
  byte *pbVar9;
  int in_GS_OFFSET;
  undefined8 uVar10;
  uint local_ac;
  undefined4 local_a8;
  stat64 *local_a4;
  code *local_a0;
  uint local_98;
  stat64 local_80;
  undefined4 local_20;
  
  local_a8 = param_5;
  local_20 = *(undefined4 *)(in_GS_OFFSET + 0x14);
  local_a0 = param_3;
  if (param_3 == (code *)0x0) {
    local_a0 = FUN_000b0e56;
  }
  if (param_4 == (code *)0x0) {
    param_4 = FUN_000b0e56;
  }
  if ((param_2 & (-(uint)(param_6 == 0) & 4) + 2) == 0) {
    pcVar2 = FUN_00017de0;
  }
  else {
    pcVar2 = FUN_00017db0;
  }
  local_a4 = &local_80;
  local_ac = param_2;
  iVar3 = (*pcVar2)(param_1,local_a4);
  if (iVar3 < 0) {
    puVar8 = &local_ac;
    if ((((local_ac & 0x40) != 0) && (puVar8 = &local_ac, *DAT_000d16fc == 2)) &&
       (iVar3 = __lxstat64(3,param_1,local_a4), puVar8 = &local_ac, iVar3 == 0)) {
      uVar4 = (*local_a0)(param_6);
      puVar7 = &stack0xffffff50;
      goto LAB_000b0f39;
    }
LAB_000b0fd9:
    bVar1 = *(byte *)puVar8;
  }
  else {
    if ((local_80.st_mode & 0xf000) != 0x4000) {
      uVar4 = (*local_a0)(param_6);
      puVar7 = &stack0xffffff50;
      goto LAB_000b0f39;
    }
    if ((local_ac & 1) == 0) {
      uVar4 = (*param_4)(param_6);
      puVar7 = &stack0xffffff50;
      goto LAB_000b0f39;
    }
    local_98 = local_ac & 8;
    puVar8 = &local_ac;
    if ((local_ac & 8) == 0) {
      iVar3 = (*param_4)(param_6);
      puVar8 = (uint *)&stack0xffffff50;
      if (iVar3 == 0) goto LAB_000b0fd9;
      uVar4 = 1;
      puVar7 = &stack0xffffff50;
      puVar8 = (uint *)&stack0xffffff50;
      if (iVar3 == 2) goto LAB_000b0f39;
    }
    *(char **)((int)puVar8 + -0x10) = param_1;
    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1004;
    pDVar5 = opendir(*(char **)((int)puVar8 + -0x10));
    *(DIR **)((int)puVar8 + 0x10) = pDVar5;
    if (pDVar5 == (DIR *)0x0) goto LAB_000b0fd9;
    uVar4 = 1;
    *(int *)((int)puVar8 + 0x1c) = *(int *)((int)puVar8 + 0xb8) + 1;
    while( true ) {
      *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);
      *(undefined4 *)((int)puVar8 + -0x14) = 0xb102c;
      pdVar6 = readdir64(*(DIR **)((int)puVar8 + -0x10));
      if (pdVar6 == (dirent64 *)0x0) break;
      *(undefined4 *)((int)puVar8 + -4) = 0xb103d;
      uVar10 = FUN_000a56b9();
      *(int *)((int)puVar8 + 0x18) = (int)uVar10;
      if ((int)uVar10 != 0) {
        *(int *)((int)puVar8 + -4) = (int)((ulonglong)uVar10 >> 0x20);
        *(undefined4 *)((int)puVar8 + -8) = *(undefined4 *)((int)puVar8 + 0x1c);
        *(undefined4 *)((int)puVar8 + -0xc) = *(undefined4 *)((int)puVar8 + 4);
        *(code **)((int)puVar8 + -0x10) = param_4;
        *(undefined4 *)((int)puVar8 + -0x14) = 0xb105c;
        iVar3 = MASKED();
        if (iVar3 == 0) {
          uVar4 = 0;
        }
        *(undefined4 *)((int)puVar8 + -0x1c) = *(undefined4 *)((int)puVar8 + 0xc);
        *(undefined4 *)((int)puVar8 + -0x20) = 0xb106f;
        free(*(void **)((int)puVar8 + -0x1c));
        puVar8 = (uint *)((int)puVar8 + -0xc);
      }
    }
    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0x10);
    *(undefined4 *)((int)puVar8 + -0x14) = 0xb1080;
    closedir(*(DIR **)((int)puVar8 + -0x10));
    puVar7 = (undefined1 *)puVar8;
    if (*(int *)((int)puVar8 + 0x14) == 0) goto LAB_000b0f39;
    *(undefined4 *)((int)puVar8 + -0x10) = *(undefined4 *)((int)puVar8 + 0xb8);
    *(undefined4 *)((int)puVar8 + -0x14) = 0xb10a5;
    iVar3 = (*param_4)();
    puVar7 = (undefined1 *)((int)puVar8 + -4);
    pbVar9 = (byte *)((int)puVar8 + -4);
    puVar8 = (uint *)((int)puVar8 + -4);
    if (iVar3 != 0) goto LAB_000b0f39;
    bVar1 = *pbVar9;
  }
  if ((bVar1 & 0x20) == 0) {
    *(undefined4 *)((int)puVar8 + -4) = 0xb0fe6;
    FUN_00018eb7();
  }
  uVar4 = 0;
  puVar7 = (undefined1 *)puVar8;
LAB_000b0f39:
  if (*(int *)(puVar7 + 0x8c) == *(int *)(in_GS_OFFSET + 0x14)) {
    return uVar4;
  }
                    /* WARNING: Subroutine does not return */
  *(undefined4 *)(puVar7 + -4) = 0xb10c4;
  FUN_00017e10();
}

