
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* WARNING: Unknown calling convention */

_Bool check_nofollow(void)

{
  int iVar1;
  int iVar2;
  byte *pbVar3;
  utsname *puVar4;
  int in_GS_OFFSET;
  undefined1 uVar5;
  bool bVar6;
  undefined1 uVar7;
  bool bVar8;
  byte bVar9;
  double dVar10;
  undefined1 auStack_1bc [12];
  float local_1b0;
  utsname uts;
  
  bVar9 = 0;
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  iVar2 = uname((utsname *)&uts);
  if (iVar2 == 0) {
    uVar5 = auStack_1bc < (undefined1 *)0x8;
    uVar7 = &stack0x00000000 == (undefined1 *)0x1c4;
    dVar10 = strtod(uts.release,(char **)0x0);
    local_1b0 = (float)dVar10;
    iVar2 = 6;
    pbVar3 = (byte *)"Linux";
    puVar4 = (utsname *)&uts;
    do {
      if (iVar2 == 0) break;
      iVar2 = iVar2 + -1;
      uVar5 = *pbVar3 < (byte)puVar4->sysname[0];
      uVar7 = *pbVar3 == puVar4->sysname[0];
      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;
      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);
    } while ((bool)uVar7);
    bVar6 = false;
    bVar8 = (!(bool)uVar5 && !(bool)uVar7) == (bool)uVar5;
    if (bVar8) {
      bVar6 = _DAT_00051108 <= local_1b0;
      goto LAB_0001ab29;
    }
    iVar2 = 8;
    pbVar3 = (byte *)"FreeBSD";
    puVar4 = (utsname *)&uts;
    do {
      if (iVar2 == 0) break;
      iVar2 = iVar2 + -1;
      bVar6 = *pbVar3 < (byte)puVar4->sysname[0];
      bVar8 = *pbVar3 == puVar4->sysname[0];
      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;
      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);
    } while (bVar8);
    if ((!bVar6 && !bVar8) == bVar6) {
      bVar6 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;
      goto LAB_0001ab29;
    }
  }
  bVar6 = true;
LAB_0001ab29:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return bVar6;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

bool FUN_0001aaa0(void)

{
  int iVar1;
  byte *pbVar2;
  utsname *puVar3;
  int in_GS_OFFSET;
  undefined1 uVar4;
  bool bVar5;
  undefined1 uVar6;
  bool bVar7;
  byte bVar8;
  double dVar9;
  undefined1 auStack_1bc [12];
  float local_1b0;
  utsname local_1a6;
  int local_20;
  undefined4 uStack_14;
  
  bVar8 = 0;
  uStack_14 = 0x1aaa9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar1 = uname(&local_1a6);
  if (iVar1 == 0) {
    uVar4 = auStack_1bc < (undefined1 *)0x8;
    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;
    dVar9 = strtod(local_1a6.release,(char **)0x0);
    local_1b0 = (float)dVar9;
    iVar1 = 6;
    pbVar2 = (byte *)"Linux";
    puVar3 = &local_1a6;
    do {
      if (iVar1 == 0) break;
      iVar1 = iVar1 + -1;
      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];
      uVar6 = *pbVar2 == puVar3->sysname[0];
      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;
      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);
    } while ((bool)uVar6);
    bVar5 = false;
    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;
    if (bVar7) {
      bVar5 = _DAT_00051108 <= local_1b0;
      goto LAB_0001ab29;
    }
    iVar1 = 8;
    pbVar2 = (byte *)"FreeBSD";
    puVar3 = &local_1a6;
    do {
      if (iVar1 == 0) break;
      iVar1 = iVar1 + -1;
      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];
      bVar7 = *pbVar2 == puVar3->sysname[0];
      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;
      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);
    } while (bVar7);
    if ((!bVar5 && !bVar7) == bVar5) {
      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;
      goto LAB_0001ab29;
    }
  }
  bVar5 = true;
LAB_0001ab29:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0004e0c0();
  }
  return bVar5;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014d70
ADD EBX,0x5023f
SUB ESP,0x1b8
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x1a8],EAX
XOR EAX,EAX
LEA EBP,[ESP + 0x22]
PUSH EBP
CALL 0x000142e0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001ab24
SUB ESP,0x8
LEA ESI,[EBX + 0xfffe5809]
MOV EDI,EBP
PUSH 0x0
LEA EAX,[ESP + 0xa4]
PUSH EAX
CALL 0x000149f0
MOV ECX,0x6
FSTP dword ptr [ESP + 0x1c]
FLD dword ptr [ESP + 0x1c]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
ADD ESP,0x10
TEST AL,AL
JZ 0x0001ab48
MOV ECX,0x8
LEA ESI,[EBX + 0xfffe580f]
MOV EDI,EBP
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JZ 0x0001ab60
FSTP ST0
MOV EAX,0x1
MOV EDX,dword ptr [ESP + 0x19c]
XOR EDX,dword ptr GS:[0x14]
JNZ 0x0001ab71
ADD ESP,0x1ac
POP EBX
POP ESI
POP EDI
POP EBP
RET
FLD dword ptr [EBX + 0xfffe6420]
FXCH
FCOMIP ST0,ST1
FSTP ST0
SETNC AL
JMP 0x0001ab29
FLD dword ptr [EBX + 0xfffe6424]
FXCH
FCOMIP ST0,ST1
FSTP ST0
SETNC AL
JMP 0x0001ab29
CALL 0x0004e0c0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nbool FUN_0001aaa0(void)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  utsname *puVar3;\n  int in_GS_OFFSET;\n  undefined1 uVar4;\n  bool bVar5;\n  undefined1 uVar6;\n  bool bVar7;\n  byte bVar8;\n  double dVar9;\n  undefined1 auStack_1bc [12];\n  float local_1b0;\n  utsname local_1a6;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x1aaa9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = uname(&local_1a6);\n  if (iVar1 == 0) {\n    uVar4 = auStack_1bc < (undefined1 *)0x8;\n    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar9 = strtod(local_1a6.release,(char **)0x0);\n    local_1b0 = (float)dVar9;\n    iVar1 = 6;\n    pbVar2 = (byte *)"Linux";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);\n    bVar5 = false;\n    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;\n    if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar1 = 8;\n    pbVar2 = (byte *)"FreeBSD";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);\n    if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }\n  bVar5 = true;\nLAB_0001ab29:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0004e0c0();\n  }\n  return bVar5;\n}\n\n" comment comment (function_definition "bool FUN_0001aaa0(void)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  utsname *puVar3;\n  int in_GS_OFFSET;\n  undefined1 uVar4;\n  bool bVar5;\n  undefined1 uVar6;\n  bool bVar7;\n  byte bVar8;\n  double dVar9;\n  undefined1 auStack_1bc [12];\n  float local_1b0;\n  utsname local_1a6;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x1aaa9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = uname(&local_1a6);\n  if (iVar1 == 0) {\n    uVar4 = auStack_1bc < (undefined1 *)0x8;\n    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar9 = strtod(local_1a6.release,(char **)0x0);\n    local_1b0 = (float)dVar9;\n    iVar1 = 6;\n    pbVar2 = (byte *)"Linux";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);\n    bVar5 = false;\n    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;\n    if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar1 = 8;\n    pbVar2 = (byte *)"FreeBSD";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);\n    if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }\n  bVar5 = true;\nLAB_0001ab29:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0004e0c0();\n  }\n  return bVar5;\n}" primitive_type (function_declarator "FUN_0001aaa0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  utsname *puVar3;\n  int in_GS_OFFSET;\n  undefined1 uVar4;\n  bool bVar5;\n  undefined1 uVar6;\n  bool bVar7;\n  byte bVar8;\n  double dVar9;\n  undefined1 auStack_1bc [12];\n  float local_1b0;\n  utsname local_1a6;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x1aaa9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = uname(&local_1a6);\n  if (iVar1 == 0) {\n    uVar4 = auStack_1bc < (undefined1 *)0x8;\n    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar9 = strtod(local_1a6.release,(char **)0x0);\n    local_1b0 = (float)dVar9;\n    iVar1 = 6;\n    pbVar2 = (byte *)"Linux";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);\n    bVar5 = false;\n    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;\n    if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar1 = 8;\n    pbVar2 = (byte *)"FreeBSD";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);\n    if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }\n  bVar5 = true;\nLAB_0001ab29:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0004e0c0();\n  }\n  return bVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "utsname *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 uVar4;" type_identifier identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "undefined1 uVar6;" type_identifier identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "double dVar9;" primitive_type identifier ;) (declaration "undefined1 auStack_1bc [12];" type_identifier (array_declarator "auStack_1bc [12]" identifier [ number_literal ]) ;) (declaration "float local_1b0;" primitive_type identifier ;) (declaration "utsname local_1a6;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x1aaa9;" (assignment_expression "uStack_14 = 0x1aaa9" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (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) ))))) ;) (expression_statement "iVar1 = uname(&local_1a6);" (assignment_expression "iVar1 = uname(&local_1a6)" identifier = (call_expression "uname(&local_1a6)" identifier (argument_list "(&local_1a6)" ( (pointer_expression "&local_1a6" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar4 = auStack_1bc < (undefined1 *)0x8;\n    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar9 = strtod(local_1a6.release,(char **)0x0);\n    local_1b0 = (float)dVar9;\n    iVar1 = 6;\n    pbVar2 = (byte *)"Linux";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);\n    bVar5 = false;\n    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;\n    if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar1 = 8;\n    pbVar2 = (byte *)"FreeBSD";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);\n    if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar4 = auStack_1bc < (undefined1 *)0x8;\n    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar9 = strtod(local_1a6.release,(char **)0x0);\n    local_1b0 = (float)dVar9;\n    iVar1 = 6;\n    pbVar2 = (byte *)"Linux";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);\n    bVar5 = false;\n    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;\n    if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar1 = 8;\n    pbVar2 = (byte *)"FreeBSD";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);\n    if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }" { (expression_statement "uVar4 = auStack_1bc < (undefined1 *)0x8;" (assignment_expression "uVar4 = auStack_1bc < (undefined1 *)0x8" identifier = (binary_expression "auStack_1bc < (undefined1 *)0x8" identifier < (cast_expression "(undefined1 *)0x8" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;" (assignment_expression "uVar6 = &stack0x00000000 == (undefined1 *)0x1c4" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x1c4" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x1c4" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "dVar9 = strtod(local_1a6.release,(char **)0x0);" (assignment_expression "dVar9 = strtod(local_1a6.release,(char **)0x0)" identifier = (call_expression "strtod(local_1a6.release,(char **)0x0)" identifier (argument_list "(local_1a6.release,(char **)0x0)" ( (field_expression "local_1a6.release" identifier . field_identifier) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) (expression_statement "local_1b0 = (float)dVar9;" (assignment_expression "local_1b0 = (float)dVar9" identifier = (cast_expression "(float)dVar9" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (expression_statement "iVar1 = 6;" (assignment_expression "iVar1 = 6" identifier = number_literal) ;) (expression_statement "pbVar2 = (byte *)"Linux";" (assignment_expression "pbVar2 = (byte *)"Linux"" identifier = (cast_expression "(byte *)"Linux"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""Linux"" " string_content "))) ;) (expression_statement "puVar3 = &local_1a6;" (assignment_expression "puVar3 = &local_1a6" identifier = (pointer_expression "&local_1a6" & identifier)) ;) (do_statement "do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);" do (compound_statement "{\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    }" { (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "uVar4 = *pbVar2 < (byte)puVar3->sysname[0];" (assignment_expression "uVar4 = *pbVar2 < (byte)puVar3->sysname[0]" identifier = (binary_expression "*pbVar2 < (byte)puVar3->sysname[0]" (pointer_expression "*pbVar2" * identifier) < (cast_expression "(byte)puVar3->sysname[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar3->sysname[0]" (field_expression "puVar3->sysname" identifier -> field_identifier) [ number_literal ])))) ;) (expression_statement "uVar6 = *pbVar2 == puVar3->sysname[0];" (assignment_expression "uVar6 = *pbVar2 == puVar3->sysname[0]" identifier = (binary_expression "*pbVar2 == puVar3->sysname[0]" (pointer_expression "*pbVar2" * identifier) == (subscript_expression "puVar3->sysname[0]" (field_expression "puVar3->sysname" identifier -> field_identifier) [ number_literal ]))) ;) (expression_statement "pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;" (assignment_expression "pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1" identifier = (binary_expression "pbVar2 + (uint)bVar8 * -2 + 1" (binary_expression "pbVar2 + (uint)bVar8 * -2" identifier + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);" (assignment_expression "puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1)" identifier = (cast_expression "(utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1)" ( (type_descriptor "utsname *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + (uint)bVar8 * -2 + 1)" ( (binary_expression "(int)puVar3 + (uint)bVar8 * -2 + 1" (binary_expression "(int)puVar3 + (uint)bVar8 * -2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) }) while (parenthesized_expression "((bool)uVar6)" ( (cast_expression "(bool)uVar6" ( (type_descriptor "bool" primitive_type) ) identifier) )) ;) (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" identifier = false) ;) (expression_statement "bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;" (assignment_expression "bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4" identifier = (binary_expression "(!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4" (parenthesized_expression "(!(bool)uVar4 && !(bool)uVar6)" ( (binary_expression "!(bool)uVar4 && !(bool)uVar6" (unary_expression "!(bool)uVar4" ! (cast_expression "(bool)uVar4" ( (type_descriptor "bool" primitive_type) ) identifier)) && (unary_expression "!(bool)uVar6" ! (cast_expression "(bool)uVar6" ( (type_descriptor "bool" primitive_type) ) identifier))) )) == (cast_expression "(bool)uVar4" ( (type_descriptor "bool" primitive_type) ) identifier))) ;) (if_statement "if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }" { (expression_statement "bVar5 = _DAT_00051108 <= local_1b0;" (assignment_expression "bVar5 = _DAT_00051108 <= local_1b0" identifier = (binary_expression "_DAT_00051108 <= local_1b0" identifier <= identifier)) ;) (goto_statement "goto LAB_0001ab29;" goto statement_identifier ;) })) (expression_statement "iVar1 = 8;" (assignment_expression "iVar1 = 8" identifier = number_literal) ;) (expression_statement "pbVar2 = (byte *)"FreeBSD";" (assignment_expression "pbVar2 = (byte *)"FreeBSD"" identifier = (cast_expression "(byte *)"FreeBSD"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""FreeBSD"" " string_content "))) ;) (expression_statement "puVar3 = &local_1a6;" (assignment_expression "puVar3 = &local_1a6" identifier = (pointer_expression "&local_1a6" & identifier)) ;) (do_statement "do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);" do (compound_statement "{\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    }" { (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pbVar2 < (byte)puVar3->sysname[0];" (assignment_expression "bVar5 = *pbVar2 < (byte)puVar3->sysname[0]" identifier = (binary_expression "*pbVar2 < (byte)puVar3->sysname[0]" (pointer_expression "*pbVar2" * identifier) < (cast_expression "(byte)puVar3->sysname[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar3->sysname[0]" (field_expression "puVar3->sysname" identifier -> field_identifier) [ number_literal ])))) ;) (expression_statement "bVar7 = *pbVar2 == puVar3->sysname[0];" (assignment_expression "bVar7 = *pbVar2 == puVar3->sysname[0]" identifier = (binary_expression "*pbVar2 == puVar3->sysname[0]" (pointer_expression "*pbVar2" * identifier) == (subscript_expression "puVar3->sysname[0]" (field_expression "puVar3->sysname" identifier -> field_identifier) [ number_literal ]))) ;) (expression_statement "pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;" (assignment_expression "pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1" identifier = (binary_expression "pbVar2 + (uint)bVar8 * -2 + 1" (binary_expression "pbVar2 + (uint)bVar8 * -2" identifier + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);" (assignment_expression "puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1)" identifier = (cast_expression "(utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1)" ( (type_descriptor "utsname *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + (uint)bVar8 * -2 + 1)" ( (binary_expression "(int)puVar3 + (uint)bVar8 * -2 + 1" (binary_expression "(int)puVar3 + (uint)bVar8 * -2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (if_statement "if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }" if (parenthesized_expression "((!bVar5 && !bVar7) == bVar5)" ( (binary_expression "(!bVar5 && !bVar7) == bVar5" (parenthesized_expression "(!bVar5 && !bVar7)" ( (binary_expression "!bVar5 && !bVar7" (unary_expression "!bVar5" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier) )) (compound_statement "{\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }" { (expression_statement "bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;" (assignment_expression "bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0" identifier = (binary_expression "(float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0" (cast_expression "(float)s__ffF_sharefile_c_0005110b._1_4_" ( (type_descriptor "float" primitive_type) ) (field_expression "s__ffF_sharefile_c_0005110b._1_4_" identifier . field_identifier)) <= identifier)) ;) (goto_statement "goto LAB_0001ab29;" goto statement_identifier ;) })) })) (expression_statement "bVar5 = true;" (assignment_expression "bVar5 = true" identifier = true) ;) (labeled_statement "LAB_0001ab29:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0004e0c0();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0004e0c0();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0004e0c0();\n  }" { comment (expression_statement "FUN_0004e0c0();" (call_expression "FUN_0004e0c0()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return bVar5;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n/* WARNING: Unknown calling convention */\n\n_Bool check_nofollow(void)\n\n{\n  int iVar1;\n  int iVar2;\n  byte *pbVar3;\n  utsname *puVar4;\n  int in_GS_OFFSET;\n  undefined1 uVar5;\n  bool bVar6;\n  undefined1 uVar7;\n  bool bVar8;\n  byte bVar9;\n  double dVar10;\n  undefined1 auStack_1bc [12];\n  float local_1b0;\n  utsname uts;\n  \n  bVar9 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = uname((utsname *)&uts);\n  if (iVar2 == 0) {\n    uVar5 = auStack_1bc < (undefined1 *)0x8;\n    uVar7 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar10 = strtod(uts.release,(char **)0x0);\n    local_1b0 = (float)dVar10;\n    iVar2 = 6;\n    pbVar3 = (byte *)"Linux";\n    puVar4 = (utsname *)&uts;\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      uVar5 = *pbVar3 < (byte)puVar4->sysname[0];\n      uVar7 = *pbVar3 == puVar4->sysname[0];\n      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;\n      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);\n    } while ((bool)uVar7);\n    bVar6 = false;\n    bVar8 = (!(bool)uVar5 && !(bool)uVar7) == (bool)uVar5;\n    if (bVar8) {\n      bVar6 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar2 = 8;\n    pbVar3 = (byte *)"FreeBSD";\n    puVar4 = (utsname *)&uts;\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < (byte)puVar4->sysname[0];\n      bVar8 = *pbVar3 == puVar4->sysname[0];\n      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;\n      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);\n    } while (bVar8);\n    if ((!bVar6 && !bVar8) == bVar6) {\n      bVar6 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }\n  bVar6 = true;\nLAB_0001ab29:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return bVar6;\n}\n\n" comment comment comment (function_definition "_Bool check_nofollow(void)\n\n{\n  int iVar1;\n  int iVar2;\n  byte *pbVar3;\n  utsname *puVar4;\n  int in_GS_OFFSET;\n  undefined1 uVar5;\n  bool bVar6;\n  undefined1 uVar7;\n  bool bVar8;\n  byte bVar9;\n  double dVar10;\n  undefined1 auStack_1bc [12];\n  float local_1b0;\n  utsname uts;\n  \n  bVar9 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = uname((utsname *)&uts);\n  if (iVar2 == 0) {\n    uVar5 = auStack_1bc < (undefined1 *)0x8;\n    uVar7 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar10 = strtod(uts.release,(char **)0x0);\n    local_1b0 = (float)dVar10;\n    iVar2 = 6;\n    pbVar3 = (byte *)"Linux";\n    puVar4 = (utsname *)&uts;\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      uVar5 = *pbVar3 < (byte)puVar4->sysname[0];\n      uVar7 = *pbVar3 == puVar4->sysname[0];\n      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;\n      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);\n    } while ((bool)uVar7);\n    bVar6 = false;\n    bVar8 = (!(bool)uVar5 && !(bool)uVar7) == (bool)uVar5;\n    if (bVar8) {\n      bVar6 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar2 = 8;\n    pbVar3 = (byte *)"FreeBSD";\n    puVar4 = (utsname *)&uts;\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < (byte)puVar4->sysname[0];\n      bVar8 = *pbVar3 == puVar4->sysname[0];\n      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;\n      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);\n    } while (bVar8);\n    if ((!bVar6 && !bVar8) == bVar6) {\n      bVar6 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }\n  bVar6 = true;\nLAB_0001ab29:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return bVar6;\n}" type_identifier (function_declarator "check_nofollow(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  byte *pbVar3;\n  utsname *puVar4;\n  int in_GS_OFFSET;\n  undefined1 uVar5;\n  bool bVar6;\n  undefined1 uVar7;\n  bool bVar8;\n  byte bVar9;\n  double dVar10;\n  undefined1 auStack_1bc [12];\n  float local_1b0;\n  utsname uts;\n  \n  bVar9 = 0;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = uname((utsname *)&uts);\n  if (iVar2 == 0) {\n    uVar5 = auStack_1bc < (undefined1 *)0x8;\n    uVar7 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar10 = strtod(uts.release,(char **)0x0);\n    local_1b0 = (float)dVar10;\n    iVar2 = 6;\n    pbVar3 = (byte *)"Linux";\n    puVar4 = (utsname *)&uts;\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      uVar5 = *pbVar3 < (byte)puVar4->sysname[0];\n      uVar7 = *pbVar3 == puVar4->sysname[0];\n      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;\n      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);\n    } while ((bool)uVar7);\n    bVar6 = false;\n    bVar8 = (!(bool)uVar5 && !(bool)uVar7) == (bool)uVar5;\n    if (bVar8) {\n      bVar6 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar2 = 8;\n    pbVar3 = (byte *)"FreeBSD";\n    puVar4 = (utsname *)&uts;\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < (byte)puVar4->sysname[0];\n      bVar8 = *pbVar3 == puVar4->sysname[0];\n      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;\n      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);\n    } while (bVar8);\n    if ((!bVar6 && !bVar8) == bVar6) {\n      bVar6 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }\n  bVar6 = true;\nLAB_0001ab29:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return bVar6;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "utsname *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 uVar5;" type_identifier identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "undefined1 uVar7;" type_identifier identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "byte bVar9;" type_identifier identifier ;) (declaration "double dVar10;" primitive_type identifier ;) (declaration "undefined1 auStack_1bc [12];" type_identifier (array_declarator "auStack_1bc [12]" identifier [ number_literal ]) ;) (declaration "float local_1b0;" primitive_type identifier ;) (declaration "utsname uts;" type_identifier identifier ;) (expression_statement "bVar9 = 0;" (assignment_expression "bVar9 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (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) ))))) ;) (expression_statement "iVar2 = uname((utsname *)&uts);" (assignment_expression "iVar2 = uname((utsname *)&uts)" identifier = (call_expression "uname((utsname *)&uts)" identifier (argument_list "((utsname *)&uts)" ( (cast_expression "(utsname *)&uts" ( (type_descriptor "utsname *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&uts" & identifier)) )))) ;) (if_statement "if (iVar2 == 0) {\n    uVar5 = auStack_1bc < (undefined1 *)0x8;\n    uVar7 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar10 = strtod(uts.release,(char **)0x0);\n    local_1b0 = (float)dVar10;\n    iVar2 = 6;\n    pbVar3 = (byte *)"Linux";\n    puVar4 = (utsname *)&uts;\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      uVar5 = *pbVar3 < (byte)puVar4->sysname[0];\n      uVar7 = *pbVar3 == puVar4->sysname[0];\n      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;\n      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);\n    } while ((bool)uVar7);\n    bVar6 = false;\n    bVar8 = (!(bool)uVar5 && !(bool)uVar7) == (bool)uVar5;\n    if (bVar8) {\n      bVar6 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar2 = 8;\n    pbVar3 = (byte *)"FreeBSD";\n    puVar4 = (utsname *)&uts;\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < (byte)puVar4->sysname[0];\n      bVar8 = *pbVar3 == puVar4->sysname[0];\n      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;\n      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);\n    } while (bVar8);\n    if ((!bVar6 && !bVar8) == bVar6) {\n      bVar6 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar5 = auStack_1bc < (undefined1 *)0x8;\n    uVar7 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar10 = strtod(uts.release,(char **)0x0);\n    local_1b0 = (float)dVar10;\n    iVar2 = 6;\n    pbVar3 = (byte *)"Linux";\n    puVar4 = (utsname *)&uts;\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      uVar5 = *pbVar3 < (byte)puVar4->sysname[0];\n      uVar7 = *pbVar3 == puVar4->sysname[0];\n      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;\n      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);\n    } while ((bool)uVar7);\n    bVar6 = false;\n    bVar8 = (!(bool)uVar5 && !(bool)uVar7) == (bool)uVar5;\n    if (bVar8) {\n      bVar6 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar2 = 8;\n    pbVar3 = (byte *)"FreeBSD";\n    puVar4 = (utsname *)&uts;\n    do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < (byte)puVar4->sysname[0];\n      bVar8 = *pbVar3 == puVar4->sysname[0];\n      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;\n      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);\n    } while (bVar8);\n    if ((!bVar6 && !bVar8) == bVar6) {\n      bVar6 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }" { (expression_statement "uVar5 = auStack_1bc < (undefined1 *)0x8;" (assignment_expression "uVar5 = auStack_1bc < (undefined1 *)0x8" identifier = (binary_expression "auStack_1bc < (undefined1 *)0x8" identifier < (cast_expression "(undefined1 *)0x8" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "uVar7 = &stack0x00000000 == (undefined1 *)0x1c4;" (assignment_expression "uVar7 = &stack0x00000000 == (undefined1 *)0x1c4" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x1c4" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x1c4" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "dVar10 = strtod(uts.release,(char **)0x0);" (assignment_expression "dVar10 = strtod(uts.release,(char **)0x0)" identifier = (call_expression "strtod(uts.release,(char **)0x0)" identifier (argument_list "(uts.release,(char **)0x0)" ( (field_expression "uts.release" identifier . field_identifier) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) (expression_statement "local_1b0 = (float)dVar10;" (assignment_expression "local_1b0 = (float)dVar10" identifier = (cast_expression "(float)dVar10" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (expression_statement "iVar2 = 6;" (assignment_expression "iVar2 = 6" identifier = number_literal) ;) (expression_statement "pbVar3 = (byte *)"Linux";" (assignment_expression "pbVar3 = (byte *)"Linux"" identifier = (cast_expression "(byte *)"Linux"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""Linux"" " string_content "))) ;) (expression_statement "puVar4 = (utsname *)&uts;" (assignment_expression "puVar4 = (utsname *)&uts" identifier = (cast_expression "(utsname *)&uts" ( (type_descriptor "utsname *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&uts" & identifier))) ;) (do_statement "do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      uVar5 = *pbVar3 < (byte)puVar4->sysname[0];\n      uVar7 = *pbVar3 == puVar4->sysname[0];\n      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;\n      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);\n    } while ((bool)uVar7);" do (compound_statement "{\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      uVar5 = *pbVar3 < (byte)puVar4->sysname[0];\n      uVar7 = *pbVar3 == puVar4->sysname[0];\n      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;\n      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);\n    }" { (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "uVar5 = *pbVar3 < (byte)puVar4->sysname[0];" (assignment_expression "uVar5 = *pbVar3 < (byte)puVar4->sysname[0]" identifier = (binary_expression "*pbVar3 < (byte)puVar4->sysname[0]" (pointer_expression "*pbVar3" * identifier) < (cast_expression "(byte)puVar4->sysname[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar4->sysname[0]" (field_expression "puVar4->sysname" identifier -> field_identifier) [ number_literal ])))) ;) (expression_statement "uVar7 = *pbVar3 == puVar4->sysname[0];" (assignment_expression "uVar7 = *pbVar3 == puVar4->sysname[0]" identifier = (binary_expression "*pbVar3 == puVar4->sysname[0]" (pointer_expression "*pbVar3" * identifier) == (subscript_expression "puVar4->sysname[0]" (field_expression "puVar4->sysname" identifier -> field_identifier) [ number_literal ]))) ;) (expression_statement "pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;" (assignment_expression "pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "pbVar3 + (uint)bVar9 * -2 + 1" (binary_expression "pbVar3 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);" (assignment_expression "puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1)" identifier = (cast_expression "(utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1)" ( (type_descriptor "utsname *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (uint)bVar9 * -2 + 1)" ( (binary_expression "(int)puVar4 + (uint)bVar9 * -2 + 1" (binary_expression "(int)puVar4 + (uint)bVar9 * -2" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) }) while (parenthesized_expression "((bool)uVar7)" ( (cast_expression "(bool)uVar7" ( (type_descriptor "bool" primitive_type) ) identifier) )) ;) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) (expression_statement "bVar8 = (!(bool)uVar5 && !(bool)uVar7) == (bool)uVar5;" (assignment_expression "bVar8 = (!(bool)uVar5 && !(bool)uVar7) == (bool)uVar5" identifier = (binary_expression "(!(bool)uVar5 && !(bool)uVar7) == (bool)uVar5" (parenthesized_expression "(!(bool)uVar5 && !(bool)uVar7)" ( (binary_expression "!(bool)uVar5 && !(bool)uVar7" (unary_expression "!(bool)uVar5" ! (cast_expression "(bool)uVar5" ( (type_descriptor "bool" primitive_type) ) identifier)) && (unary_expression "!(bool)uVar7" ! (cast_expression "(bool)uVar7" ( (type_descriptor "bool" primitive_type) ) identifier))) )) == (cast_expression "(bool)uVar5" ( (type_descriptor "bool" primitive_type) ) identifier))) ;) (if_statement "if (bVar8) {\n      bVar6 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }" if (parenthesized_expression "(bVar8)" ( identifier )) (compound_statement "{\n      bVar6 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }" { (expression_statement "bVar6 = _DAT_00051108 <= local_1b0;" (assignment_expression "bVar6 = _DAT_00051108 <= local_1b0" identifier = (binary_expression "_DAT_00051108 <= local_1b0" identifier <= identifier)) ;) (goto_statement "goto LAB_0001ab29;" goto statement_identifier ;) })) (expression_statement "iVar2 = 8;" (assignment_expression "iVar2 = 8" identifier = number_literal) ;) (expression_statement "pbVar3 = (byte *)"FreeBSD";" (assignment_expression "pbVar3 = (byte *)"FreeBSD"" identifier = (cast_expression "(byte *)"FreeBSD"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""FreeBSD"" " string_content "))) ;) (expression_statement "puVar4 = (utsname *)&uts;" (assignment_expression "puVar4 = (utsname *)&uts" identifier = (cast_expression "(utsname *)&uts" ( (type_descriptor "utsname *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&uts" & identifier))) ;) (do_statement "do {\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < (byte)puVar4->sysname[0];\n      bVar8 = *pbVar3 == puVar4->sysname[0];\n      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;\n      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);\n    } while (bVar8);" do (compound_statement "{\n      if (iVar2 == 0) break;\n      iVar2 = iVar2 + -1;\n      bVar6 = *pbVar3 < (byte)puVar4->sysname[0];\n      bVar8 = *pbVar3 == puVar4->sysname[0];\n      pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;\n      puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);\n    }" { (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = iVar2 + -1;" (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ;) (expression_statement "bVar6 = *pbVar3 < (byte)puVar4->sysname[0];" (assignment_expression "bVar6 = *pbVar3 < (byte)puVar4->sysname[0]" identifier = (binary_expression "*pbVar3 < (byte)puVar4->sysname[0]" (pointer_expression "*pbVar3" * identifier) < (cast_expression "(byte)puVar4->sysname[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar4->sysname[0]" (field_expression "puVar4->sysname" identifier -> field_identifier) [ number_literal ])))) ;) (expression_statement "bVar8 = *pbVar3 == puVar4->sysname[0];" (assignment_expression "bVar8 = *pbVar3 == puVar4->sysname[0]" identifier = (binary_expression "*pbVar3 == puVar4->sysname[0]" (pointer_expression "*pbVar3" * identifier) == (subscript_expression "puVar4->sysname[0]" (field_expression "puVar4->sysname" identifier -> field_identifier) [ number_literal ]))) ;) (expression_statement "pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1;" (assignment_expression "pbVar3 = pbVar3 + (uint)bVar9 * -2 + 1" identifier = (binary_expression "pbVar3 + (uint)bVar9 * -2 + 1" (binary_expression "pbVar3 + (uint)bVar9 * -2" identifier + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1);" (assignment_expression "puVar4 = (utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1)" identifier = (cast_expression "(utsname *)((int)puVar4 + (uint)bVar9 * -2 + 1)" ( (type_descriptor "utsname *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar4 + (uint)bVar9 * -2 + 1)" ( (binary_expression "(int)puVar4 + (uint)bVar9 * -2 + 1" (binary_expression "(int)puVar4 + (uint)bVar9 * -2" (cast_expression "(int)puVar4" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar9 * -2" (cast_expression "(uint)bVar9" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) }) while (parenthesized_expression "(bVar8)" ( identifier )) ;) (if_statement "if ((!bVar6 && !bVar8) == bVar6) {\n      bVar6 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }" if (parenthesized_expression "((!bVar6 && !bVar8) == bVar6)" ( (binary_expression "(!bVar6 && !bVar8) == bVar6" (parenthesized_expression "(!bVar6 && !bVar8)" ( (binary_expression "!bVar6 && !bVar8" (unary_expression "!bVar6" ! identifier) && (unary_expression "!bVar8" ! identifier)) )) == identifier) )) (compound_statement "{\n      bVar6 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }" { (expression_statement "bVar6 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;" (assignment_expression "bVar6 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0" identifier = (binary_expression "(float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0" (cast_expression "(float)s__ffF_sharefile_c_0005110b._1_4_" ( (type_descriptor "float" primitive_type) ) (field_expression "s__ffF_sharefile_c_0005110b._1_4_" identifier . field_identifier)) <= identifier)) ;) (goto_statement "goto LAB_0001ab29;" goto statement_identifier ;) })) })) (expression_statement "bVar6 = true;" (assignment_expression "bVar6 = true" identifier = true) ;) (labeled_statement "LAB_0001ab29:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return bVar6;" return identifier ;) })))
(translation_unit "bool FUN_0001aaa0(void)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  utsname *puVar3;\n  int in_GS_OFFSET;\n  undefined1 uVar4;\n  bool bVar5;\n  undefined1 uVar6;\n  bool bVar7;\n  byte bVar8;\n  double dVar9;\n  undefined1 auStack_1bc [12];\n  float local_1b0;\n  utsname local_1a6;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x1aaa9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = uname(&local_1a6);\n  if (iVar1 == 0) {\n    uVar4 = auStack_1bc < (undefined1 *)0x8;\n    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar9 = strtod(local_1a6.release,(char **)0x0);\n    local_1b0 = (float)dVar9;\n    iVar1 = 6;\n    pbVar2 = (byte *)"Linux";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);\n    bVar5 = false;\n    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;\n    if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar1 = 8;\n    pbVar2 = (byte *)"FreeBSD";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);\n    if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }\n  bVar5 = true;\nLAB_0001ab29:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\n  }\n  return bVar5;\n}\n\n" (function_definition "bool FUN_0001aaa0(void)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  utsname *puVar3;\n  int in_GS_OFFSET;\n  undefined1 uVar4;\n  bool bVar5;\n  undefined1 uVar6;\n  bool bVar7;\n  byte bVar8;\n  double dVar9;\n  undefined1 auStack_1bc [12];\n  float local_1b0;\n  utsname local_1a6;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x1aaa9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = uname(&local_1a6);\n  if (iVar1 == 0) {\n    uVar4 = auStack_1bc < (undefined1 *)0x8;\n    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar9 = strtod(local_1a6.release,(char **)0x0);\n    local_1b0 = (float)dVar9;\n    iVar1 = 6;\n    pbVar2 = (byte *)"Linux";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);\n    bVar5 = false;\n    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;\n    if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar1 = 8;\n    pbVar2 = (byte *)"FreeBSD";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);\n    if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }\n  bVar5 = true;\nLAB_0001ab29:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\n  }\n  return bVar5;\n}" primitive_type (function_declarator "FUN_0001aaa0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  utsname *puVar3;\n  int in_GS_OFFSET;\n  undefined1 uVar4;\n  bool bVar5;\n  undefined1 uVar6;\n  bool bVar7;\n  byte bVar8;\n  double dVar9;\n  undefined1 auStack_1bc [12];\n  float local_1b0;\n  utsname local_1a6;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x1aaa9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = uname(&local_1a6);\n  if (iVar1 == 0) {\n    uVar4 = auStack_1bc < (undefined1 *)0x8;\n    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar9 = strtod(local_1a6.release,(char **)0x0);\n    local_1b0 = (float)dVar9;\n    iVar1 = 6;\n    pbVar2 = (byte *)"Linux";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);\n    bVar5 = false;\n    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;\n    if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar1 = 8;\n    pbVar2 = (byte *)"FreeBSD";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);\n    if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }\n  bVar5 = true;\nLAB_0001ab29:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\n  }\n  return bVar5;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte *pbVar2;" type_identifier (pointer_declarator "*pbVar2" * identifier) ;) (declaration "utsname *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined1 uVar4;" type_identifier identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "undefined1 uVar6;" type_identifier identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "double dVar9;" primitive_type identifier ;) (declaration "undefined1 auStack_1bc [12];" type_identifier (array_declarator "auStack_1bc [12]" identifier [ number_literal ]) ;) (declaration "float local_1b0;" primitive_type identifier ;) (declaration "utsname local_1a6;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x1aaa9;" (assignment_expression "uStack_14 = 0x1aaa9" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (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) ))))) ;) (expression_statement "iVar1 = uname(&local_1a6);" (assignment_expression "iVar1 = uname(&local_1a6)" identifier = (call_expression "uname(&local_1a6)" identifier (argument_list "(&local_1a6)" ( (pointer_expression "&local_1a6" & identifier) )))) ;) (if_statement "if (iVar1 == 0) {\n    uVar4 = auStack_1bc < (undefined1 *)0x8;\n    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar9 = strtod(local_1a6.release,(char **)0x0);\n    local_1b0 = (float)dVar9;\n    iVar1 = 6;\n    pbVar2 = (byte *)"Linux";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);\n    bVar5 = false;\n    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;\n    if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar1 = 8;\n    pbVar2 = (byte *)"FreeBSD";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);\n    if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar4 = auStack_1bc < (undefined1 *)0x8;\n    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar9 = strtod(local_1a6.release,(char **)0x0);\n    local_1b0 = (float)dVar9;\n    iVar1 = 6;\n    pbVar2 = (byte *)"Linux";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);\n    bVar5 = false;\n    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;\n    if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar1 = 8;\n    pbVar2 = (byte *)"FreeBSD";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);\n    if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }" { (expression_statement "uVar4 = auStack_1bc < (undefined1 *)0x8;" (assignment_expression "uVar4 = auStack_1bc < (undefined1 *)0x8" identifier = (binary_expression "auStack_1bc < (undefined1 *)0x8" identifier < (cast_expression "(undefined1 *)0x8" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;" (assignment_expression "uVar6 = &stack0x00000000 == (undefined1 *)0x1c4" identifier = (binary_expression "&stack0x00000000 == (undefined1 *)0x1c4" (pointer_expression "&stack0x00000000" & identifier) == (cast_expression "(undefined1 *)0x1c4" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (expression_statement "dVar9 = strtod(local_1a6.release,(char **)0x0);" (assignment_expression "dVar9 = strtod(local_1a6.release,(char **)0x0)" identifier = (call_expression "strtod(local_1a6.release,(char **)0x0)" identifier (argument_list "(local_1a6.release,(char **)0x0)" ( (field_expression "local_1a6.release" identifier . field_identifier) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) (expression_statement "local_1b0 = (float)dVar9;" (assignment_expression "local_1b0 = (float)dVar9" identifier = (cast_expression "(float)dVar9" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (expression_statement "iVar1 = 6;" (assignment_expression "iVar1 = 6" identifier = number_literal) ;) (expression_statement "pbVar2 = (byte *)"Linux";" (assignment_expression "pbVar2 = (byte *)"Linux"" identifier = (cast_expression "(byte *)"Linux"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""Linux"" " string_content "))) ;) (expression_statement "puVar3 = &local_1a6;" (assignment_expression "puVar3 = &local_1a6" identifier = (pointer_expression "&local_1a6" & identifier)) ;) (do_statement "do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);" do (compound_statement "{\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    }" { (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "uVar4 = *pbVar2 < (byte)puVar3->sysname[0];" (assignment_expression "uVar4 = *pbVar2 < (byte)puVar3->sysname[0]" identifier = (binary_expression "*pbVar2 < (byte)puVar3->sysname[0]" (pointer_expression "*pbVar2" * identifier) < (cast_expression "(byte)puVar3->sysname[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar3->sysname[0]" (field_expression "puVar3->sysname" identifier -> field_identifier) [ number_literal ])))) ;) (expression_statement "uVar6 = *pbVar2 == puVar3->sysname[0];" (assignment_expression "uVar6 = *pbVar2 == puVar3->sysname[0]" identifier = (binary_expression "*pbVar2 == puVar3->sysname[0]" (pointer_expression "*pbVar2" * identifier) == (subscript_expression "puVar3->sysname[0]" (field_expression "puVar3->sysname" identifier -> field_identifier) [ number_literal ]))) ;) (expression_statement "pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;" (assignment_expression "pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1" identifier = (binary_expression "pbVar2 + (uint)bVar8 * -2 + 1" (binary_expression "pbVar2 + (uint)bVar8 * -2" identifier + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);" (assignment_expression "puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1)" identifier = (cast_expression "(utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1)" ( (type_descriptor "utsname *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + (uint)bVar8 * -2 + 1)" ( (binary_expression "(int)puVar3 + (uint)bVar8 * -2 + 1" (binary_expression "(int)puVar3 + (uint)bVar8 * -2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) }) while (parenthesized_expression "((bool)uVar6)" ( (cast_expression "(bool)uVar6" ( (type_descriptor "bool" primitive_type) ) identifier) )) ;) (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" identifier = false) ;) (expression_statement "bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;" (assignment_expression "bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4" identifier = (binary_expression "(!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4" (parenthesized_expression "(!(bool)uVar4 && !(bool)uVar6)" ( (binary_expression "!(bool)uVar4 && !(bool)uVar6" (unary_expression "!(bool)uVar4" ! (cast_expression "(bool)uVar4" ( (type_descriptor "bool" primitive_type) ) identifier)) && (unary_expression "!(bool)uVar6" ! (cast_expression "(bool)uVar6" ( (type_descriptor "bool" primitive_type) ) identifier))) )) == (cast_expression "(bool)uVar4" ( (type_descriptor "bool" primitive_type) ) identifier))) ;) (if_statement "if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }" { (expression_statement "bVar5 = _DAT_00051108 <= local_1b0;" (assignment_expression "bVar5 = _DAT_00051108 <= local_1b0" identifier = (binary_expression "_DAT_00051108 <= local_1b0" identifier <= identifier)) ;) (goto_statement "goto LAB_0001ab29;" goto statement_identifier ;) })) (expression_statement "iVar1 = 8;" (assignment_expression "iVar1 = 8" identifier = number_literal) ;) (expression_statement "pbVar2 = (byte *)"FreeBSD";" (assignment_expression "pbVar2 = (byte *)"FreeBSD"" identifier = (cast_expression "(byte *)"FreeBSD"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""FreeBSD"" " string_content "))) ;) (expression_statement "puVar3 = &local_1a6;" (assignment_expression "puVar3 = &local_1a6" identifier = (pointer_expression "&local_1a6" & identifier)) ;) (do_statement "do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);" do (compound_statement "{\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    }" { (if_statement "if (iVar1 == 0) break;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pbVar2 < (byte)puVar3->sysname[0];" (assignment_expression "bVar5 = *pbVar2 < (byte)puVar3->sysname[0]" identifier = (binary_expression "*pbVar2 < (byte)puVar3->sysname[0]" (pointer_expression "*pbVar2" * identifier) < (cast_expression "(byte)puVar3->sysname[0]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "puVar3->sysname[0]" (field_expression "puVar3->sysname" identifier -> field_identifier) [ number_literal ])))) ;) (expression_statement "bVar7 = *pbVar2 == puVar3->sysname[0];" (assignment_expression "bVar7 = *pbVar2 == puVar3->sysname[0]" identifier = (binary_expression "*pbVar2 == puVar3->sysname[0]" (pointer_expression "*pbVar2" * identifier) == (subscript_expression "puVar3->sysname[0]" (field_expression "puVar3->sysname" identifier -> field_identifier) [ number_literal ]))) ;) (expression_statement "pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;" (assignment_expression "pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1" identifier = (binary_expression "pbVar2 + (uint)bVar8 * -2 + 1" (binary_expression "pbVar2 + (uint)bVar8 * -2" identifier + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);" (assignment_expression "puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1)" identifier = (cast_expression "(utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1)" ( (type_descriptor "utsname *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar3 + (uint)bVar8 * -2 + 1)" ( (binary_expression "(int)puVar3 + (uint)bVar8 * -2 + 1" (binary_expression "(int)puVar3 + (uint)bVar8 * -2" (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) }) while (parenthesized_expression "(bVar7)" ( identifier )) ;) (if_statement "if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }" if (parenthesized_expression "((!bVar5 && !bVar7) == bVar5)" ( (binary_expression "(!bVar5 && !bVar7) == bVar5" (parenthesized_expression "(!bVar5 && !bVar7)" ( (binary_expression "!bVar5 && !bVar7" (unary_expression "!bVar5" ! identifier) && (unary_expression "!bVar7" ! identifier)) )) == identifier) )) (compound_statement "{\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }" { (expression_statement "bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;" (assignment_expression "bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0" identifier = (binary_expression "(float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0" (cast_expression "(float)s__ffF_sharefile_c_0005110b._1_4_" ( (type_descriptor "float" primitive_type) ) (field_expression "s__ffF_sharefile_c_0005110b._1_4_" identifier . field_identifier)) <= identifier)) ;) (goto_statement "goto LAB_0001ab29;" goto statement_identifier ;) })) })) (expression_statement "bVar5 = true;" (assignment_expression "bVar5 = true" identifier = true) ;) (labeled_statement "LAB_0001ab29:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_0004e0c0();\n  }" { (expression_statement "FUN_0004e0c0();" (call_expression "FUN_0004e0c0()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return bVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression & IDENT) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (field_expression IDENT . field_identifier) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (field_expression IDENT -> field_identifier) [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (subscript_expression (field_expression IDENT -> field_identifier) [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) )))) ;) }) while (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE) ) IDENT) )) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! (cast_expression ( (type_descriptor TYPE) ) IDENT)) && (unary_expression ! (cast_expression ( (type_descriptor TYPE) ) IDENT))) )) == (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT <= IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (field_expression IDENT -> field_identifier) [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (subscript_expression (field_expression IDENT -> field_identifier) [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) )))) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (field_expression IDENT . field_identifier)) <= IDENT)) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "bool FUN_0001aaa0(void)\n\n{\n  int iVar1;\n  byte *pbVar2;\n  utsname *puVar3;\n  int in_GS_OFFSET;\n  undefined1 uVar4;\n  bool bVar5;\n  undefined1 uVar6;\n  bool bVar7;\n  byte bVar8;\n  double dVar9;\n  undefined1 auStack_1bc [12];\n  float local_1b0;\n  utsname local_1a6;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x1aaa9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = uname(&local_1a6);\n  if (iVar1 == 0) {\n    uVar4 = auStack_1bc < (undefined1 *)0x8;\n    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar9 = strtod(local_1a6.release,(char **)0x0);\n    local_1b0 = (float)dVar9;\n    iVar1 = 6;\n    pbVar2 = (byte *)"Linux";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);\n    bVar5 = false;\n    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;\n    if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar1 = 8;\n    pbVar2 = (byte *)"FreeBSD";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);\n    if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }\n  bVar5 = true;\nLAB_0001ab29:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\n  }\n  return bVar5;\n}" (primitive_type "bool") (function_declarator "FUN_0001aaa0(void)" (identifier "FUN_0001aaa0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  byte *pbVar2;\n  utsname *puVar3;\n  int in_GS_OFFSET;\n  undefined1 uVar4;\n  bool bVar5;\n  undefined1 uVar6;\n  bool bVar7;\n  byte bVar8;\n  double dVar9;\n  undefined1 auStack_1bc [12];\n  float local_1b0;\n  utsname local_1a6;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar8 = 0;\n  uStack_14 = 0x1aaa9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar1 = uname(&local_1a6);\n  if (iVar1 == 0) {\n    uVar4 = auStack_1bc < (undefined1 *)0x8;\n    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar9 = strtod(local_1a6.release,(char **)0x0);\n    local_1b0 = (float)dVar9;\n    iVar1 = 6;\n    pbVar2 = (byte *)"Linux";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);\n    bVar5 = false;\n    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;\n    if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar1 = 8;\n    pbVar2 = (byte *)"FreeBSD";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);\n    if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }\n  bVar5 = true;\nLAB_0001ab29:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\n  }\n  return bVar5;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "byte *pbVar2;" (type_identifier "byte") (pointer_declarator "*pbVar2" (* "*") (identifier "pbVar2")) (; ";")) (declaration "utsname *puVar3;" (type_identifier "utsname") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined1 uVar4;" (type_identifier "undefined1") (identifier "uVar4") (; ";")) (declaration "bool bVar5;" (primitive_type "bool") (identifier "bVar5") (; ";")) (declaration "undefined1 uVar6;" (type_identifier "undefined1") (identifier "uVar6") (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (declaration "byte bVar8;" (type_identifier "byte") (identifier "bVar8") (; ";")) (declaration "double dVar9;" (primitive_type "double") (identifier "dVar9") (; ";")) (declaration "undefined1 auStack_1bc [12];" (type_identifier "undefined1") (array_declarator "auStack_1bc [12]" (identifier "auStack_1bc") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "float local_1b0;" (primitive_type "float") (identifier "local_1b0") (; ";")) (declaration "utsname local_1a6;" (type_identifier "utsname") (identifier "local_1a6") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "bVar8 = 0;" (assignment_expression "bVar8 = 0" (identifier "bVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_14 = 0x1aaa9;" (assignment_expression "uStack_14 = 0x1aaa9" (identifier "uStack_14") (= "=") (number_literal "0x1aaa9")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "iVar1 = uname(&local_1a6);" (assignment_expression "iVar1 = uname(&local_1a6)" (identifier "iVar1") (= "=") (call_expression "uname(&local_1a6)" (identifier "uname") (argument_list "(&local_1a6)" (( "(") (pointer_expression "&local_1a6" (& "&") (identifier "local_1a6")) () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    uVar4 = auStack_1bc < (undefined1 *)0x8;\n    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar9 = strtod(local_1a6.release,(char **)0x0);\n    local_1b0 = (float)dVar9;\n    iVar1 = 6;\n    pbVar2 = (byte *)"Linux";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);\n    bVar5 = false;\n    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;\n    if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar1 = 8;\n    pbVar2 = (byte *)"FreeBSD";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);\n    if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar4 = auStack_1bc < (undefined1 *)0x8;\n    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;\n    dVar9 = strtod(local_1a6.release,(char **)0x0);\n    local_1b0 = (float)dVar9;\n    iVar1 = 6;\n    pbVar2 = (byte *)"Linux";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);\n    bVar5 = false;\n    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;\n    if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }\n    iVar1 = 8;\n    pbVar2 = (byte *)"FreeBSD";\n    puVar3 = &local_1a6;\n    do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);\n    if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }\n  }" ({ "{") (expression_statement "uVar4 = auStack_1bc < (undefined1 *)0x8;" (assignment_expression "uVar4 = auStack_1bc < (undefined1 *)0x8" (identifier "uVar4") (= "=") (binary_expression "auStack_1bc < (undefined1 *)0x8" (identifier "auStack_1bc") (< "<") (cast_expression "(undefined1 *)0x8" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x8")))) (; ";")) (expression_statement "uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;" (assignment_expression "uVar6 = &stack0x00000000 == (undefined1 *)0x1c4" (identifier "uVar6") (= "=") (binary_expression "&stack0x00000000 == (undefined1 *)0x1c4" (pointer_expression "&stack0x00000000" (& "&") (identifier "stack0x00000000")) (== "==") (cast_expression "(undefined1 *)0x1c4" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1c4")))) (; ";")) (expression_statement "dVar9 = strtod(local_1a6.release,(char **)0x0);" (assignment_expression "dVar9 = strtod(local_1a6.release,(char **)0x0)" (identifier "dVar9") (= "=") (call_expression "strtod(local_1a6.release,(char **)0x0)" (identifier "strtod") (argument_list "(local_1a6.release,(char **)0x0)" (( "(") (field_expression "local_1a6.release" (identifier "local_1a6") (. ".") (field_identifier "release")) (, ",") (cast_expression "(char **)0x0" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0")) () ")")))) (; ";")) (expression_statement "local_1b0 = (float)dVar9;" (assignment_expression "local_1b0 = (float)dVar9" (identifier "local_1b0") (= "=") (cast_expression "(float)dVar9" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (identifier "dVar9"))) (; ";")) (expression_statement "iVar1 = 6;" (assignment_expression "iVar1 = 6" (identifier "iVar1") (= "=") (number_literal "6")) (; ";")) (expression_statement "pbVar2 = (byte *)"Linux";" (assignment_expression "pbVar2 = (byte *)"Linux"" (identifier "pbVar2") (= "=") (cast_expression "(byte *)"Linux"" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""Linux"" (" """) (string_content "Linux") (" """)))) (; ";")) (expression_statement "puVar3 = &local_1a6;" (assignment_expression "puVar3 = &local_1a6" (identifier "puVar3") (= "=") (pointer_expression "&local_1a6" (& "&") (identifier "local_1a6"))) (; ";")) (do_statement "do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while ((bool)uVar6);" (do "do") (compound_statement "{\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];\n      uVar6 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    }" ({ "{") (if_statement "if (iVar1 == 0) break;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar4 = *pbVar2 < (byte)puVar3->sysname[0];" (assignment_expression "uVar4 = *pbVar2 < (byte)puVar3->sysname[0]" (identifier "uVar4") (= "=") (binary_expression "*pbVar2 < (byte)puVar3->sysname[0]" (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2")) (< "<") (cast_expression "(byte)puVar3->sysname[0]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "puVar3->sysname[0]" (field_expression "puVar3->sysname" (identifier "puVar3") (-> "->") (field_identifier "sysname")) ([ "[") (number_literal "0") (] "]"))))) (; ";")) (expression_statement "uVar6 = *pbVar2 == puVar3->sysname[0];" (assignment_expression "uVar6 = *pbVar2 == puVar3->sysname[0]" (identifier "uVar6") (= "=") (binary_expression "*pbVar2 == puVar3->sysname[0]" (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2")) (== "==") (subscript_expression "puVar3->sysname[0]" (field_expression "puVar3->sysname" (identifier "puVar3") (-> "->") (field_identifier "sysname")) ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;" (assignment_expression "pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1" (identifier "pbVar2") (= "=") (binary_expression "pbVar2 + (uint)bVar8 * -2 + 1" (binary_expression "pbVar2 + (uint)bVar8 * -2" (identifier "pbVar2") (+ "+") (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);" (assignment_expression "puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1)" (identifier "puVar3") (= "=") (cast_expression "(utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1)" (( "(") (type_descriptor "utsname *" (type_identifier "utsname") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + (uint)bVar8 * -2 + 1)" (( "(") (binary_expression "(int)puVar3 + (uint)bVar8 * -2 + 1" (binary_expression "(int)puVar3 + (uint)bVar8 * -2" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((bool)uVar6)" (( "(") (cast_expression "(bool)uVar6" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (identifier "uVar6")) () ")")) (; ";")) (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" (identifier "bVar5") (= "=") (false "false")) (; ";")) (expression_statement "bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;" (assignment_expression "bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4" (identifier "bVar7") (= "=") (binary_expression "(!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4" (parenthesized_expression "(!(bool)uVar4 && !(bool)uVar6)" (( "(") (binary_expression "!(bool)uVar4 && !(bool)uVar6" (unary_expression "!(bool)uVar4" (! "!") (cast_expression "(bool)uVar4" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (identifier "uVar4"))) (&& "&&") (unary_expression "!(bool)uVar6" (! "!") (cast_expression "(bool)uVar6" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (identifier "uVar6")))) () ")")) (== "==") (cast_expression "(bool)uVar4" (( "(") (type_descriptor "bool" (primitive_type "bool")) () ")") (identifier "uVar4")))) (; ";")) (if_statement "if (bVar7) {\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }" (if "if") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (compound_statement "{\n      bVar5 = _DAT_00051108 <= local_1b0;\n      goto LAB_0001ab29;\n    }" ({ "{") (expression_statement "bVar5 = _DAT_00051108 <= local_1b0;" (assignment_expression "bVar5 = _DAT_00051108 <= local_1b0" (identifier "bVar5") (= "=") (binary_expression "_DAT_00051108 <= local_1b0" (identifier "_DAT_00051108") (<= "<=") (identifier "local_1b0"))) (; ";")) (goto_statement "goto LAB_0001ab29;" (goto "goto") (statement_identifier "LAB_0001ab29") (; ";")) (} "}"))) (expression_statement "iVar1 = 8;" (assignment_expression "iVar1 = 8" (identifier "iVar1") (= "=") (number_literal "8")) (; ";")) (expression_statement "pbVar2 = (byte *)"FreeBSD";" (assignment_expression "pbVar2 = (byte *)"FreeBSD"" (identifier "pbVar2") (= "=") (cast_expression "(byte *)"FreeBSD"" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""FreeBSD"" (" """) (string_content "FreeBSD") (" """)))) (; ";")) (expression_statement "puVar3 = &local_1a6;" (assignment_expression "puVar3 = &local_1a6" (identifier "puVar3") (= "=") (pointer_expression "&local_1a6" (& "&") (identifier "local_1a6"))) (; ";")) (do_statement "do {\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    } while (bVar7);" (do "do") (compound_statement "{\n      if (iVar1 == 0) break;\n      iVar1 = iVar1 + -1;\n      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];\n      bVar7 = *pbVar2 == puVar3->sysname[0];\n      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;\n      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);\n    }" ({ "{") (if_statement "if (iVar1 == 0) break;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar1 = iVar1 + -1;" (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar5 = *pbVar2 < (byte)puVar3->sysname[0];" (assignment_expression "bVar5 = *pbVar2 < (byte)puVar3->sysname[0]" (identifier "bVar5") (= "=") (binary_expression "*pbVar2 < (byte)puVar3->sysname[0]" (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2")) (< "<") (cast_expression "(byte)puVar3->sysname[0]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "puVar3->sysname[0]" (field_expression "puVar3->sysname" (identifier "puVar3") (-> "->") (field_identifier "sysname")) ([ "[") (number_literal "0") (] "]"))))) (; ";")) (expression_statement "bVar7 = *pbVar2 == puVar3->sysname[0];" (assignment_expression "bVar7 = *pbVar2 == puVar3->sysname[0]" (identifier "bVar7") (= "=") (binary_expression "*pbVar2 == puVar3->sysname[0]" (pointer_expression "*pbVar2" (* "*") (identifier "pbVar2")) (== "==") (subscript_expression "puVar3->sysname[0]" (field_expression "puVar3->sysname" (identifier "puVar3") (-> "->") (field_identifier "sysname")) ([ "[") (number_literal "0") (] "]")))) (; ";")) (expression_statement "pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;" (assignment_expression "pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1" (identifier "pbVar2") (= "=") (binary_expression "pbVar2 + (uint)bVar8 * -2 + 1" (binary_expression "pbVar2 + (uint)bVar8 * -2" (identifier "pbVar2") (+ "+") (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);" (assignment_expression "puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1)" (identifier "puVar3") (= "=") (cast_expression "(utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1)" (( "(") (type_descriptor "utsname *" (type_identifier "utsname") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar3 + (uint)bVar8 * -2 + 1)" (( "(") (binary_expression "(int)puVar3 + (uint)bVar8 * -2 + 1" (binary_expression "(int)puVar3 + (uint)bVar8 * -2" (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3")) (+ "+") (binary_expression "(uint)bVar8 * -2" (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (; ";")) (if_statement "if ((!bVar5 && !bVar7) == bVar5) {\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }" (if "if") (parenthesized_expression "((!bVar5 && !bVar7) == bVar5)" (( "(") (binary_expression "(!bVar5 && !bVar7) == bVar5" (parenthesized_expression "(!bVar5 && !bVar7)" (( "(") (binary_expression "!bVar5 && !bVar7" (unary_expression "!bVar5" (! "!") (identifier "bVar5")) (&& "&&") (unary_expression "!bVar7" (! "!") (identifier "bVar7"))) () ")")) (== "==") (identifier "bVar5")) () ")")) (compound_statement "{\n      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;\n      goto LAB_0001ab29;\n    }" ({ "{") (expression_statement "bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;" (assignment_expression "bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0" (identifier "bVar5") (= "=") (binary_expression "(float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0" (cast_expression "(float)s__ffF_sharefile_c_0005110b._1_4_" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (field_expression "s__ffF_sharefile_c_0005110b._1_4_" (identifier "s__ffF_sharefile_c_0005110b") (. ".") (field_identifier "_1_4_"))) (<= "<=") (identifier "local_1b0"))) (; ";")) (goto_statement "goto LAB_0001ab29;" (goto "goto") (statement_identifier "LAB_0001ab29") (; ";")) (} "}"))) (} "}"))) (expression_statement "bVar5 = true;" (assignment_expression "bVar5 = true" (identifier "bVar5") (= "=") (true "true")) (; ";")) (labeled_statement "LAB_0001ab29:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\n  }" (statement_identifier "LAB_0001ab29") (: ":") (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0004e0c0();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_0004e0c0();\n  }" ({ "{") (expression_statement "FUN_0004e0c0();" (call_expression "FUN_0004e0c0()" (identifier "FUN_0004e0c0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return bVar5;" (return "return") (identifier "bVar5") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* WARNING: Unknown calling convention */

type_1 function_1(void)

{
  int var_10;
  int var_3;
  type_2 *var_6;
  type_3 *puVar4;
  int var_1;
  type_4 uVar5;
  bool var_9;
  type_4 uVar7;
  bool bVar8;
  type_2 bVar9;
  double dVar10;
  type_4 var_4 [12];
  float var_8;
  type_3 uts;
  
  bVar9 = 0;
  var_10 = *(int *)(var_1 + 0x14);
  var_3 = var_2((type_3 *)&uts);
  if (var_3 == 0) {
    uVar5 = var_4 < (type_4 *)0x8;
    uVar7 = &stack0x00000000 == (type_4 *)0x1c4;
    dVar10 = var_5(uts.release,(char **)0x0);
    var_8 = (float)dVar10;
    var_3 = 6;
    var_6 = (type_2 *)"Linux";
    puVar4 = (type_3 *)&uts;
    do {
      if (var_3 == 0) break;
      var_3 = var_3 + -1;
      uVar5 = *var_6 < (type_2)puVar4->sysname[0];
      uVar7 = *var_6 == puVar4->sysname[0];
      var_6 = var_6 + (type_5)bVar9 * -2 + 1;
      puVar4 = (type_3 *)((int)puVar4 + (type_5)bVar9 * -2 + 1);
    } while ((bool)uVar7);
    var_9 = false;
    bVar8 = (!(bool)uVar5 && !(bool)uVar7) == (bool)uVar5;
    if (bVar8) {
      var_9 = var_7 <= var_8;
      goto LAB_0001ab29;
    }
    var_3 = 8;
    var_6 = (type_2 *)"FreeBSD";
    puVar4 = (type_3 *)&uts;
    do {
      if (var_3 == 0) break;
      var_3 = var_3 + -1;
      var_9 = *var_6 < (type_2)puVar4->sysname[0];
      bVar8 = *var_6 == puVar4->sysname[0];
      var_6 = var_6 + (type_5)bVar9 * -2 + 1;
      puVar4 = (type_3 *)((int)puVar4 + (type_5)bVar9 * -2 + 1);
    } while (bVar8);
    if ((!var_9 && !bVar8) == var_9) {
      var_9 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= var_8;
      goto LAB_0001ab29;
    }
  }
  var_9 = true;
LAB_0001ab29:
  if (var_10 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_11();
  }
  return var_9;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

bool MASKED(void)

{
  int iVar1;
  byte *pbVar2;
  utsname *puVar3;
  int in_GS_OFFSET;
  undefined1 uVar4;
  bool bVar5;
  undefined1 uVar6;
  bool bVar7;
  byte bVar8;
  double dVar9;
  undefined1 auStack_1bc [12];
  float local_1b0;
  utsname local_1a6;
  int local_20;
  undefined4 uStack_14;
  
  bVar8 = 0;
  uStack_14 = 0x1aaa9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar1 = uname(&local_1a6);
  if (iVar1 == 0) {
    uVar4 = auStack_1bc < (undefined1 *)0x8;
    uVar6 = &stack0x00000000 == (undefined1 *)0x1c4;
    dVar9 = strtod(local_1a6.release,(char **)0x0);
    local_1b0 = (float)dVar9;
    iVar1 = 6;
    pbVar2 = (byte *)"Linux";
    puVar3 = &local_1a6;
    do {
      if (iVar1 == 0) break;
      iVar1 = iVar1 + -1;
      uVar4 = *pbVar2 < (byte)puVar3->sysname[0];
      uVar6 = *pbVar2 == puVar3->sysname[0];
      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;
      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);
    } while ((bool)uVar6);
    bVar5 = false;
    bVar7 = (!(bool)uVar4 && !(bool)uVar6) == (bool)uVar4;
    if (bVar7) {
      bVar5 = _DAT_00051108 <= local_1b0;
      goto LAB_0001ab29;
    }
    iVar1 = 8;
    pbVar2 = (byte *)"FreeBSD";
    puVar3 = &local_1a6;
    do {
      if (iVar1 == 0) break;
      iVar1 = iVar1 + -1;
      bVar5 = *pbVar2 < (byte)puVar3->sysname[0];
      bVar7 = *pbVar2 == puVar3->sysname[0];
      pbVar2 = pbVar2 + (uint)bVar8 * -2 + 1;
      puVar3 = (utsname *)((int)puVar3 + (uint)bVar8 * -2 + 1);
    } while (bVar7);
    if ((!bVar5 && !bVar7) == bVar5) {
      bVar5 = (float)s__ffF_sharefile_c_0005110b._1_4_ <= local_1b0;
      goto LAB_0001ab29;
    }
  }
  bVar5 = true;
LAB_0001ab29:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0004e0c0();
  }
  return bVar5;
}

