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

char * choose_tmpdir(void)

{
  char *__name;
  int iVar1;
  char *pcVar2;
  char *pcVar3;
  uint uVar4;
  char *pcVar5;
  uint *puVar6;
  uint *puVar7;
  bool bVar8;
  
  if (memoized_tmpdir != (char *)0x0) {
    return memoized_tmpdir;
  }
  __name = getenv("TMPDIR");
  if ((__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0)) {
    __name = getenv("TMP");
    if ((__name != (char *)0x0) && (iVar1 = access(__name,7), iVar1 == 0)) goto LAB_00013d20;
    __name = getenv("TEMP");
    if ((__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0)) {
      __name = "/tmp";
      iVar1 = access("/tmp",7);
      if (iVar1 == 0) {
        pcVar5 = (char *)0x5;
        pcVar3 = (char *)0x6;
        pcVar2 = (char *)0x4;
      }
      else {
        __name = "/var/tmp";
        iVar1 = access("/var/tmp",7);
        puVar6 = (uint *)__name;
        if (iVar1 == 0) {
          do {
            puVar7 = puVar6 + 1;
            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;
            puVar6 = puVar7;
          } while (uVar4 == 0);
        }
        else {
          __name = "/usr/tmp";
          iVar1 = access("/usr/tmp",7);
          puVar6 = (uint *)__name;
          if (iVar1 == 0) {
            do {
              puVar7 = puVar6 + 1;
              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;
              puVar6 = puVar7;
            } while (uVar4 == 0);
          }
          else {
            __name = "/tmp";
            iVar1 = access("/tmp",7);
            puVar7 = (uint *)__name;
            if (iVar1 != 0) {
              pcVar5 = (char *)0x2;
              pcVar3 = (char *)0x3;
              pcVar2 = (char *)0x1;
              __name = ".";
              goto LAB_00013d42;
            }
            do {
              uVar4 = *puVar7;
              puVar7 = puVar7 + 1;
              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;
            } while (uVar4 == 0);
          }
        }
        bVar8 = (uVar4 & 0x8080) == 0;
        if (bVar8) {
          uVar4 = uVar4 >> 0x10;
        }
        if (bVar8) {
          puVar7 = (uint *)((int)puVar7 + 2);
        }
        pcVar2 = (char *)((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)
                         );
        pcVar3 = pcVar2 + 2;
        pcVar5 = pcVar2 + 1;
      }
      goto LAB_00013d42;
    }
  }
  else {
    getenv("TMP");
LAB_00013d20:
    getenv("TEMP");
  }
  pcVar2 = (char *)strlen(__name);
  pcVar3 = pcVar2 + 2;
  pcVar5 = pcVar2 + 1;
LAB_00013d42:
  pcVar3 = (char *)xmalloc(pcVar3);
  strcpy(pcVar3,__name);
  pcVar3[(int)pcVar2] = '/';
  memoized_tmpdir = pcVar3;
  pcVar3[(int)pcVar5] = '\0';
  return pcVar3;
}



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

char * FUN_00013cb0(void)

{
  uint *__name;
  int iVar1;
  size_t sVar2;
  char *__dest;
  uint uVar3;
  int iVar4;
  uint *puVar5;
  uint *puVar6;
  bool bVar7;
  
  if (DAT_0001826c != (char *)0x0) {
    return DAT_0001826c;
  }
  __name = (uint *)getenv("TMPDIR");
  if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {
    __name = (uint *)getenv("TMP");
    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))
    goto LAB_00013d20;
    __name = (uint *)getenv("TEMP");
    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {
      __name = (uint *)&DAT_00015ad7;
      iVar1 = access("/tmp",7);
      if (iVar1 == 0) {
        iVar4 = 5;
        iVar1 = 6;
        sVar2 = 4;
      }
      else {
        __name = &DAT_00015b18;
        iVar1 = access("/var/tmp",7);
        puVar5 = __name;
        if (iVar1 == 0) {
          do {
            puVar6 = puVar5 + 1;
            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;
            puVar5 = puVar6;
          } while (uVar3 == 0);
        }
        else {
          __name = &DAT_00015b24;
          iVar1 = access("/usr/tmp",7);
          puVar5 = __name;
          if (iVar1 == 0) {
            do {
              puVar6 = puVar5 + 1;
              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;
              puVar5 = puVar6;
            } while (uVar3 == 0);
          }
          else {
            __name = &DAT_00015b30;
            iVar1 = access("/tmp",7);
            puVar6 = __name;
            if (iVar1 != 0) {
              iVar4 = 2;
              iVar1 = 3;
              sVar2 = 1;
              __name = (uint *)&DAT_00015adc;
              goto LAB_00013d42;
            }
            do {
              uVar3 = *puVar6;
              puVar6 = puVar6 + 1;
              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;
            } while (uVar3 == 0);
          }
        }
        bVar7 = (uVar3 & 0x8080) == 0;
        if (bVar7) {
          uVar3 = uVar3 >> 0x10;
        }
        if (bVar7) {
          puVar6 = (uint *)((int)puVar6 + 2);
        }
        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);
        iVar1 = sVar2 + 2;
        iVar4 = sVar2 + 1;
      }
      goto LAB_00013d42;
    }
  }
  else {
    getenv("TMP");
LAB_00013d20:
    getenv("TEMP");
  }
  sVar2 = strlen((char *)__name);
  iVar1 = sVar2 + 2;
  iVar4 = sVar2 + 1;
LAB_00013d42:
  __dest = (char *)xmalloc(iVar1);
  strcpy(__dest,(char *)__name);
  __dest[sVar2] = '/';
  DAT_0001826c = __dest;
  __dest[iVar4] = '\0';
  return __dest;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00011f10
ADD EBX,0x4347
SUB ESP,0x1c
MOV ESI,dword ptr [EBX + 0x26c]
TEST ESI,ESI
JZ 0x00013ce0
ADD ESP,0x1c
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xffffdade]
PUSH EAX
CALL 0x00011240
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JZ 0x00013d80
SUB ESP,0x8
PUSH 0x7
PUSH EAX
CALL 0x00011350
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00013d80
SUB ESP,0xc
LEA EAX,[EBX + 0xffffdae5]
PUSH EAX
CALL 0x00011240
ADD ESP,0x10
SUB ESP,0xc
LEA EAX,[EBX + 0xffffdae9]
PUSH EAX
CALL 0x00011240
MOV dword ptr [ESP],EBP
CALL 0x000112c0
ADD ESP,0x10
MOV EDI,EAX
LEA EAX,[EAX + 0x2]
LEA EDX,[EDI + 0x1]
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0xc
PUSH EAX
CALL 0x000111c0
MOV ESI,EAX
POP EAX
POP EDX
PUSH EBP
PUSH ESI
CALL 0x00011200
MOV EDX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
MOV byte ptr [ESI + EDI*0x1],0x2f
MOV dword ptr [EBX + 0x26c],ESI
MOV EAX,ESI
MOV byte ptr [ESI + EDX*0x1],0x0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xffffdae5]
PUSH EAX
CALL 0x00011240
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JZ 0x00013dae
SUB ESP,0x8
PUSH 0x7
PUSH EBP
CALL 0x00011350
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00013d20
SUB ESP,0xc
LEA EAX,[EBX + 0xffffdae9]
PUSH EAX
CALL 0x00011240
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JZ 0x00013de8
SUB ESP,0x8
PUSH 0x7
PUSH EAX
CALL 0x00011350
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00013de8
SUB ESP,0xc
PUSH EBP
JMP 0x00013d32
SUB ESP,0x8
LEA EBP,[EBX + 0xffffdad7]
PUSH 0x7
PUSH EBP
CALL 0x00011350
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00013e18
MOV EDX,0x5
MOV EAX,0x6
MOV EDI,0x4
JMP 0x00013d42
SUB ESP,0x8
LEA EBP,[EBX + 0xffffdb18]
PUSH 0x7
PUSH EBP
CALL 0x00011350
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00013e70
MOV EDI,EBP
MOV EDX,dword ptr [EDI]
ADD EDI,0x4
LEA EAX,[EDX + 0xfefefeff]
NOT EDX
AND EAX,EDX
AND EAX,0x80808080
JZ 0x00013e32
MOV EDX,EAX
SHR EDX,0x10
TEST EAX,0x8080
CMOVZ EAX,EDX
LEA EDX,[EDI + 0x2]
CMOVZ EDI,EDX
MOV ECX,EAX
ADD CL,AL
SBB EDI,0x3
SUB EDI,EBP
LEA EAX,[EDI + 0x2]
LEA EDX,[EDI + 0x1]
JMP 0x00013d42
SUB ESP,0x8
LEA EBP,[EBX + 0xffffdb24]
PUSH 0x7
PUSH EBP
CALL 0x00011350
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00013ea8
MOV EDI,EBP
MOV EDX,dword ptr [EDI]
ADD EDI,0x4
LEA EAX,[EDX + 0xfefefeff]
NOT EDX
AND EAX,EDX
AND EAX,0x80808080
JZ 0x00013e8a
JMP 0x00013e48
SUB ESP,0x8
LEA EBP,[EBX + 0xffffdb30]
PUSH 0x7
MOV EDI,EBP
PUSH EBP
CALL 0x00011350
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00013ee0
MOV EDX,dword ptr [EDI]
ADD EDI,0x4
LEA EAX,[EDX + 0xfefefeff]
NOT EDX
AND EAX,EDX
AND EAX,0x80808080
JZ 0x00013ec2
JMP 0x00013e48
MOV EDX,0x2
MOV EAX,0x3
MOV EDI,0x1
LEA EBP,[EBX + 0xffffdadc]
JMP 0x00013d42
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * FUN_00013cb0(void)\n\n{\n  uint *__name;\n  int iVar1;\n  size_t sVar2;\n  char *__dest;\n  uint uVar3;\n  int iVar4;\n  uint *puVar5;\n  uint *puVar6;\n  bool bVar7;\n  \n  if (DAT_0001826c != (char *)0x0) {\n    return DAT_0001826c;\n  }\n  __name = (uint *)getenv("TMPDIR");\n  if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n    __name = (uint *)getenv("TMP");\n    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;\n    __name = (uint *)getenv("TEMP");\n    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }\n  sVar2 = strlen((char *)__name);\n  iVar1 = sVar2 + 2;\n  iVar4 = sVar2 + 1;\nLAB_00013d42:\n  __dest = (char *)xmalloc(iVar1);\n  strcpy(__dest,(char *)__name);\n  __dest[sVar2] = '/';\n  DAT_0001826c = __dest;\n  __dest[iVar4] = '\0';\n  return __dest;\n}\n\n" comment (function_definition "char * FUN_00013cb0(void)\n\n{\n  uint *__name;\n  int iVar1;\n  size_t sVar2;\n  char *__dest;\n  uint uVar3;\n  int iVar4;\n  uint *puVar5;\n  uint *puVar6;\n  bool bVar7;\n  \n  if (DAT_0001826c != (char *)0x0) {\n    return DAT_0001826c;\n  }\n  __name = (uint *)getenv("TMPDIR");\n  if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n    __name = (uint *)getenv("TMP");\n    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;\n    __name = (uint *)getenv("TEMP");\n    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }\n  sVar2 = strlen((char *)__name);\n  iVar1 = sVar2 + 2;\n  iVar4 = sVar2 + 1;\nLAB_00013d42:\n  __dest = (char *)xmalloc(iVar1);\n  strcpy(__dest,(char *)__name);\n  __dest[sVar2] = '/';\n  DAT_0001826c = __dest;\n  __dest[iVar4] = '\0';\n  return __dest;\n}" primitive_type (pointer_declarator "* FUN_00013cb0(void)" * (function_declarator "FUN_00013cb0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  uint *__name;\n  int iVar1;\n  size_t sVar2;\n  char *__dest;\n  uint uVar3;\n  int iVar4;\n  uint *puVar5;\n  uint *puVar6;\n  bool bVar7;\n  \n  if (DAT_0001826c != (char *)0x0) {\n    return DAT_0001826c;\n  }\n  __name = (uint *)getenv("TMPDIR");\n  if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n    __name = (uint *)getenv("TMP");\n    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;\n    __name = (uint *)getenv("TEMP");\n    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }\n  sVar2 = strlen((char *)__name);\n  iVar1 = sVar2 + 2;\n  iVar4 = sVar2 + 1;\nLAB_00013d42:\n  __dest = (char *)xmalloc(iVar1);\n  strcpy(__dest,(char *)__name);\n  __dest[sVar2] = '/';\n  DAT_0001826c = __dest;\n  __dest[iVar4] = '\0';\n  return __dest;\n}" { (declaration "uint *__name;" type_identifier (pointer_declarator "*__name" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "char *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type identifier ;) (if_statement "if (DAT_0001826c != (char *)0x0) {\n    return DAT_0001826c;\n  }" if (parenthesized_expression "(DAT_0001826c != (char *)0x0)" ( (binary_expression "DAT_0001826c != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return DAT_0001826c;\n  }" { (return_statement "return DAT_0001826c;" return identifier ;) })) (expression_statement "__name = (uint *)getenv("TMPDIR");" (assignment_expression "__name = (uint *)getenv("TMPDIR")" identifier = (cast_expression "(uint *)getenv("TMPDIR")" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "getenv("TMPDIR")" identifier (argument_list "("TMPDIR")" ( (string_literal ""TMPDIR"" " string_content ") ))))) ;) (if_statement "if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n    __name = (uint *)getenv("TMP");\n    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;\n    __name = (uint *)getenv("TEMP");\n    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }" if (parenthesized_expression "((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0))" ( (binary_expression "(__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)" (parenthesized_expression "(__name == (uint *)0x0)" ( (binary_expression "__name == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar1 = access((char *)__name,7), iVar1 != 0)" ( (comma_expression "iVar1 = access((char *)__name,7), iVar1 != 0" (assignment_expression "iVar1 = access((char *)__name,7)" identifier = (call_expression "access((char *)__name,7)" identifier (argument_list "((char *)__name,7)" ( (cast_expression "(char *)__name" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    __name = (uint *)getenv("TMP");\n    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;\n    __name = (uint *)getenv("TEMP");\n    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }" { (expression_statement "__name = (uint *)getenv("TMP");" (assignment_expression "__name = (uint *)getenv("TMP")" identifier = (cast_expression "(uint *)getenv("TMP")" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "getenv("TMP")" identifier (argument_list "("TMP")" ( (string_literal ""TMP"" " string_content ") ))))) ;) (if_statement "if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;" if (parenthesized_expression "((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))" ( (binary_expression "(__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0)" (parenthesized_expression "(__name != (uint *)0x0)" ( (binary_expression "__name != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar1 = access((char *)__name,7), iVar1 == 0)" ( (comma_expression "iVar1 = access((char *)__name,7), iVar1 == 0" (assignment_expression "iVar1 = access((char *)__name,7)" identifier = (call_expression "access((char *)__name,7)" identifier (argument_list "((char *)__name,7)" ( (cast_expression "(char *)__name" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00013d20;" goto statement_identifier ;)) (expression_statement "__name = (uint *)getenv("TEMP");" (assignment_expression "__name = (uint *)getenv("TEMP")" identifier = (cast_expression "(uint *)getenv("TEMP")" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "getenv("TEMP")" identifier (argument_list "("TEMP")" ( (string_literal ""TEMP"" " string_content ") ))))) ;) (if_statement "if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }" if (parenthesized_expression "((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0))" ( (binary_expression "(__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)" (parenthesized_expression "(__name == (uint *)0x0)" ( (binary_expression "__name == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar1 = access((char *)__name,7), iVar1 != 0)" ( (comma_expression "iVar1 = access((char *)__name,7), iVar1 != 0" (assignment_expression "iVar1 = access((char *)__name,7)" identifier = (call_expression "access((char *)__name,7)" identifier (argument_list "((char *)__name,7)" ( (cast_expression "(char *)__name" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }" { (expression_statement "__name = (uint *)&DAT_00015ad7;" (assignment_expression "__name = (uint *)&DAT_00015ad7" identifier = (cast_expression "(uint *)&DAT_00015ad7" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00015ad7" & identifier))) ;) (expression_statement "iVar1 = access("/tmp",7);" (assignment_expression "iVar1 = access("/tmp",7)" identifier = (call_expression "access("/tmp",7)" identifier (argument_list "("/tmp",7)" ( (string_literal ""/tmp"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }" { (expression_statement "iVar4 = 5;" (assignment_expression "iVar4 = 5" identifier = number_literal) ;) (expression_statement "iVar1 = 6;" (assignment_expression "iVar1 = 6" identifier = number_literal) ;) (expression_statement "sVar2 = 4;" (assignment_expression "sVar2 = 4" identifier = number_literal) ;) }) (else_clause "else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }" else (compound_statement "{\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }" { (expression_statement "__name = &DAT_00015b18;" (assignment_expression "__name = &DAT_00015b18" identifier = (pointer_expression "&DAT_00015b18" & identifier)) ;) (expression_statement "iVar1 = access("/var/tmp",7);" (assignment_expression "iVar1 = access("/var/tmp",7)" identifier = (call_expression "access("/var/tmp",7)" identifier (argument_list "("/var/tmp",7)" ( (string_literal ""/var/tmp"" " string_content ") , number_literal )))) ;) (expression_statement "puVar5 = __name;" (assignment_expression "puVar5 = __name" identifier = identifier) ;) (if_statement "if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }" { (do_statement "do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);" do (compound_statement "{\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          }" { (expression_statement "puVar6 = puVar5 + 1;" (assignment_expression "puVar6 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;" (assignment_expression "uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080" identifier = (binary_expression "*puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080" (binary_expression "*puVar5 + 0xfefefeff & ~*puVar5" (binary_expression "*puVar5 + 0xfefefeff" (pointer_expression "*puVar5" * identifier) + number_literal) & (unary_expression "~*puVar5" ~ (pointer_expression "*puVar5" * identifier))) & number_literal)) ;) (expression_statement "puVar5 = puVar6;" (assignment_expression "puVar5 = puVar6" identifier = identifier) ;) }) while (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) ;) }) (else_clause "else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }" else (compound_statement "{\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }" { (expression_statement "__name = &DAT_00015b24;" (assignment_expression "__name = &DAT_00015b24" identifier = (pointer_expression "&DAT_00015b24" & identifier)) ;) (expression_statement "iVar1 = access("/usr/tmp",7);" (assignment_expression "iVar1 = access("/usr/tmp",7)" identifier = (call_expression "access("/usr/tmp",7)" identifier (argument_list "("/usr/tmp",7)" ( (string_literal ""/usr/tmp"" " string_content ") , number_literal )))) ;) (expression_statement "puVar5 = __name;" (assignment_expression "puVar5 = __name" identifier = identifier) ;) (if_statement "if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }" { (do_statement "do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);" do (compound_statement "{\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            }" { (expression_statement "puVar6 = puVar5 + 1;" (assignment_expression "puVar6 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;" (assignment_expression "uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080" identifier = (binary_expression "*puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080" (binary_expression "*puVar5 + 0xfefefeff & ~*puVar5" (binary_expression "*puVar5 + 0xfefefeff" (pointer_expression "*puVar5" * identifier) + number_literal) & (unary_expression "~*puVar5" ~ (pointer_expression "*puVar5" * identifier))) & number_literal)) ;) (expression_statement "puVar5 = puVar6;" (assignment_expression "puVar5 = puVar6" identifier = identifier) ;) }) while (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) ;) }) (else_clause "else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }" else (compound_statement "{\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }" { (expression_statement "__name = &DAT_00015b30;" (assignment_expression "__name = &DAT_00015b30" identifier = (pointer_expression "&DAT_00015b30" & identifier)) ;) (expression_statement "iVar1 = access("/tmp",7);" (assignment_expression "iVar1 = access("/tmp",7)" identifier = (call_expression "access("/tmp",7)" identifier (argument_list "("/tmp",7)" ( (string_literal ""/tmp"" " string_content ") , number_literal )))) ;) (expression_statement "puVar6 = __name;" (assignment_expression "puVar6 = __name" identifier = identifier) ;) (if_statement "if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (expression_statement "iVar1 = 3;" (assignment_expression "iVar1 = 3" identifier = number_literal) ;) (expression_statement "sVar2 = 1;" (assignment_expression "sVar2 = 1" identifier = number_literal) ;) (expression_statement "__name = (uint *)&DAT_00015adc;" (assignment_expression "__name = (uint *)&DAT_00015adc" identifier = (cast_expression "(uint *)&DAT_00015adc" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00015adc" & identifier))) ;) (goto_statement "goto LAB_00013d42;" goto statement_identifier ;) })) (do_statement "do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);" do (compound_statement "{\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            }" { (expression_statement "uVar3 = *puVar6;" (assignment_expression "uVar3 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;" (assignment_expression "uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080" identifier = (binary_expression "uVar3 + 0xfefefeff & ~uVar3 & 0x80808080" (binary_expression "uVar3 + 0xfefefeff & ~uVar3" (binary_expression "uVar3 + 0xfefefeff" identifier + number_literal) & (unary_expression "~uVar3" ~ identifier)) & number_literal)) ;) }) while (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) ;) }))) }))) (expression_statement "bVar7 = (uVar3 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar3 & 0x8080) == 0" identifier = (binary_expression "(uVar3 & 0x8080) == 0" (parenthesized_expression "(uVar3 & 0x8080)" ( (binary_expression "uVar3 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          uVar3 = uVar3 >> 0x10;\n        }" { (expression_statement "uVar3 = uVar3 >> 0x10;" (assignment_expression "uVar3 = uVar3 >> 0x10" identifier = (binary_expression "uVar3 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }" { (expression_statement "puVar6 = (uint *)((int)puVar6 + 2);" (assignment_expression "puVar6 = (uint *)((int)puVar6 + 2)" identifier = (cast_expression "(uint *)((int)puVar6 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 2)" ( (binary_expression "(int)puVar6 + 2" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);" (assignment_expression "sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name)" identifier = (binary_expression "(int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name)" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name)" ( (binary_expression "(-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name" (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar3,(byte)uVar3)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar3,(byte)uVar3)" identifier (argument_list "((byte)uVar3,(byte)uVar3)" ( (cast_expression "(byte)uVar3" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar3" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) )) - (cast_expression "(int)__name" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "iVar1 = sVar2 + 2;" (assignment_expression "iVar1 = sVar2 + 2" identifier = (binary_expression "sVar2 + 2" identifier + number_literal)) ;) (expression_statement "iVar4 = sVar2 + 1;" (assignment_expression "iVar4 = sVar2 + 1" identifier = (binary_expression "sVar2 + 1" identifier + number_literal)) ;) }))) (goto_statement "goto LAB_00013d42;" goto statement_identifier ;) })) }) (else_clause "else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }" else (compound_statement "{\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }" { (expression_statement "getenv("TMP");" (call_expression "getenv("TMP")" identifier (argument_list "("TMP")" ( (string_literal ""TMP"" " string_content ") ))) ;) (labeled_statement "LAB_00013d20:\n    getenv("TEMP");" statement_identifier : (expression_statement "getenv("TEMP");" (call_expression "getenv("TEMP")" identifier (argument_list "("TEMP")" ( (string_literal ""TEMP"" " string_content ") ))) ;)) }))) (expression_statement "sVar2 = strlen((char *)__name);" (assignment_expression "sVar2 = strlen((char *)__name)" identifier = (call_expression "strlen((char *)__name)" identifier (argument_list "((char *)__name)" ( (cast_expression "(char *)__name" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "iVar1 = sVar2 + 2;" (assignment_expression "iVar1 = sVar2 + 2" identifier = (binary_expression "sVar2 + 2" identifier + number_literal)) ;) (expression_statement "iVar4 = sVar2 + 1;" (assignment_expression "iVar4 = sVar2 + 1" identifier = (binary_expression "sVar2 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_00013d42:\n  __dest = (char *)xmalloc(iVar1);" statement_identifier : (expression_statement "__dest = (char *)xmalloc(iVar1);" (assignment_expression "__dest = (char *)xmalloc(iVar1)" identifier = (cast_expression "(char *)xmalloc(iVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))))) ;)) (expression_statement "strcpy(__dest,(char *)__name);" (call_expression "strcpy(__dest,(char *)__name)" identifier (argument_list "(__dest,(char *)__name)" ( identifier , (cast_expression "(char *)__name" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "__dest[sVar2] = '/';" (assignment_expression "__dest[sVar2] = '/'" (subscript_expression "__dest[sVar2]" identifier [ identifier ]) = (char_literal "'/'" ' character ')) ;) (expression_statement "DAT_0001826c = __dest;" (assignment_expression "DAT_0001826c = __dest" identifier = identifier) ;) (expression_statement "__dest[iVar4] = '\0';" (assignment_expression "__dest[iVar4] = '\0'" (subscript_expression "__dest[iVar4]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return __dest;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nchar * choose_tmpdir(void)\n\n{\n  char *__name;\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  uint uVar4;\n  char *pcVar5;\n  uint *puVar6;\n  uint *puVar7;\n  bool bVar8;\n  \n  if (memoized_tmpdir != (char *)0x0) {\n    return memoized_tmpdir;\n  }\n  __name = getenv("TMPDIR");\n  if ((__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0)) {\n    __name = getenv("TMP");\n    if ((__name != (char *)0x0) && (iVar1 = access(__name,7), iVar1 == 0)) goto LAB_00013d20;\n    __name = getenv("TEMP");\n    if ((__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0)) {\n      __name = "/tmp";\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        pcVar5 = (char *)0x5;\n        pcVar3 = (char *)0x6;\n        pcVar2 = (char *)0x4;\n      }\n      else {\n        __name = "/var/tmp";\n        iVar1 = access("/var/tmp",7);\n        puVar6 = (uint *)__name;\n        if (iVar1 == 0) {\n          do {\n            puVar7 = puVar6 + 1;\n            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n            puVar6 = puVar7;\n          } while (uVar4 == 0);\n        }\n        else {\n          __name = "/usr/tmp";\n          iVar1 = access("/usr/tmp",7);\n          puVar6 = (uint *)__name;\n          if (iVar1 == 0) {\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }\n          else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }\n        }\n        bVar8 = (uVar4 & 0x8080) == 0;\n        if (bVar8) {\n          uVar4 = uVar4 >> 0x10;\n        }\n        if (bVar8) {\n          puVar7 = (uint *)((int)puVar7 + 2);\n        }\n        pcVar2 = (char *)((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)\n                         );\n        pcVar3 = pcVar2 + 2;\n        pcVar5 = pcVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }\n  pcVar2 = (char *)strlen(__name);\n  pcVar3 = pcVar2 + 2;\n  pcVar5 = pcVar2 + 1;\nLAB_00013d42:\n  pcVar3 = (char *)xmalloc(pcVar3);\n  strcpy(pcVar3,__name);\n  pcVar3[(int)pcVar2] = '/';\n  memoized_tmpdir = pcVar3;\n  pcVar3[(int)pcVar5] = '\0';\n  return pcVar3;\n}\n\n" comment comment (function_definition "char * choose_tmpdir(void)\n\n{\n  char *__name;\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  uint uVar4;\n  char *pcVar5;\n  uint *puVar6;\n  uint *puVar7;\n  bool bVar8;\n  \n  if (memoized_tmpdir != (char *)0x0) {\n    return memoized_tmpdir;\n  }\n  __name = getenv("TMPDIR");\n  if ((__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0)) {\n    __name = getenv("TMP");\n    if ((__name != (char *)0x0) && (iVar1 = access(__name,7), iVar1 == 0)) goto LAB_00013d20;\n    __name = getenv("TEMP");\n    if ((__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0)) {\n      __name = "/tmp";\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        pcVar5 = (char *)0x5;\n        pcVar3 = (char *)0x6;\n        pcVar2 = (char *)0x4;\n      }\n      else {\n        __name = "/var/tmp";\n        iVar1 = access("/var/tmp",7);\n        puVar6 = (uint *)__name;\n        if (iVar1 == 0) {\n          do {\n            puVar7 = puVar6 + 1;\n            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n            puVar6 = puVar7;\n          } while (uVar4 == 0);\n        }\n        else {\n          __name = "/usr/tmp";\n          iVar1 = access("/usr/tmp",7);\n          puVar6 = (uint *)__name;\n          if (iVar1 == 0) {\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }\n          else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }\n        }\n        bVar8 = (uVar4 & 0x8080) == 0;\n        if (bVar8) {\n          uVar4 = uVar4 >> 0x10;\n        }\n        if (bVar8) {\n          puVar7 = (uint *)((int)puVar7 + 2);\n        }\n        pcVar2 = (char *)((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)\n                         );\n        pcVar3 = pcVar2 + 2;\n        pcVar5 = pcVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }\n  pcVar2 = (char *)strlen(__name);\n  pcVar3 = pcVar2 + 2;\n  pcVar5 = pcVar2 + 1;\nLAB_00013d42:\n  pcVar3 = (char *)xmalloc(pcVar3);\n  strcpy(pcVar3,__name);\n  pcVar3[(int)pcVar2] = '/';\n  memoized_tmpdir = pcVar3;\n  pcVar3[(int)pcVar5] = '\0';\n  return pcVar3;\n}" primitive_type (pointer_declarator "* choose_tmpdir(void)" * (function_declarator "choose_tmpdir(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  char *__name;\n  int iVar1;\n  char *pcVar2;\n  char *pcVar3;\n  uint uVar4;\n  char *pcVar5;\n  uint *puVar6;\n  uint *puVar7;\n  bool bVar8;\n  \n  if (memoized_tmpdir != (char *)0x0) {\n    return memoized_tmpdir;\n  }\n  __name = getenv("TMPDIR");\n  if ((__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0)) {\n    __name = getenv("TMP");\n    if ((__name != (char *)0x0) && (iVar1 = access(__name,7), iVar1 == 0)) goto LAB_00013d20;\n    __name = getenv("TEMP");\n    if ((__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0)) {\n      __name = "/tmp";\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        pcVar5 = (char *)0x5;\n        pcVar3 = (char *)0x6;\n        pcVar2 = (char *)0x4;\n      }\n      else {\n        __name = "/var/tmp";\n        iVar1 = access("/var/tmp",7);\n        puVar6 = (uint *)__name;\n        if (iVar1 == 0) {\n          do {\n            puVar7 = puVar6 + 1;\n            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n            puVar6 = puVar7;\n          } while (uVar4 == 0);\n        }\n        else {\n          __name = "/usr/tmp";\n          iVar1 = access("/usr/tmp",7);\n          puVar6 = (uint *)__name;\n          if (iVar1 == 0) {\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }\n          else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }\n        }\n        bVar8 = (uVar4 & 0x8080) == 0;\n        if (bVar8) {\n          uVar4 = uVar4 >> 0x10;\n        }\n        if (bVar8) {\n          puVar7 = (uint *)((int)puVar7 + 2);\n        }\n        pcVar2 = (char *)((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)\n                         );\n        pcVar3 = pcVar2 + 2;\n        pcVar5 = pcVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }\n  pcVar2 = (char *)strlen(__name);\n  pcVar3 = pcVar2 + 2;\n  pcVar5 = pcVar2 + 1;\nLAB_00013d42:\n  pcVar3 = (char *)xmalloc(pcVar3);\n  strcpy(pcVar3,__name);\n  pcVar3[(int)pcVar2] = '/';\n  memoized_tmpdir = pcVar3;\n  pcVar3[(int)pcVar5] = '\0';\n  return pcVar3;\n}" { (declaration "char *__name;" primitive_type (pointer_declarator "*__name" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "bool bVar8;" primitive_type identifier ;) (if_statement "if (memoized_tmpdir != (char *)0x0) {\n    return memoized_tmpdir;\n  }" if (parenthesized_expression "(memoized_tmpdir != (char *)0x0)" ( (binary_expression "memoized_tmpdir != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return memoized_tmpdir;\n  }" { (return_statement "return memoized_tmpdir;" return identifier ;) })) (expression_statement "__name = getenv("TMPDIR");" (assignment_expression "__name = getenv("TMPDIR")" identifier = (call_expression "getenv("TMPDIR")" identifier (argument_list "("TMPDIR")" ( (string_literal ""TMPDIR"" " string_content ") )))) ;) (if_statement "if ((__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0)) {\n    __name = getenv("TMP");\n    if ((__name != (char *)0x0) && (iVar1 = access(__name,7), iVar1 == 0)) goto LAB_00013d20;\n    __name = getenv("TEMP");\n    if ((__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0)) {\n      __name = "/tmp";\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        pcVar5 = (char *)0x5;\n        pcVar3 = (char *)0x6;\n        pcVar2 = (char *)0x4;\n      }\n      else {\n        __name = "/var/tmp";\n        iVar1 = access("/var/tmp",7);\n        puVar6 = (uint *)__name;\n        if (iVar1 == 0) {\n          do {\n            puVar7 = puVar6 + 1;\n            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n            puVar6 = puVar7;\n          } while (uVar4 == 0);\n        }\n        else {\n          __name = "/usr/tmp";\n          iVar1 = access("/usr/tmp",7);\n          puVar6 = (uint *)__name;\n          if (iVar1 == 0) {\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }\n          else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }\n        }\n        bVar8 = (uVar4 & 0x8080) == 0;\n        if (bVar8) {\n          uVar4 = uVar4 >> 0x10;\n        }\n        if (bVar8) {\n          puVar7 = (uint *)((int)puVar7 + 2);\n        }\n        pcVar2 = (char *)((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)\n                         );\n        pcVar3 = pcVar2 + 2;\n        pcVar5 = pcVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }" if (parenthesized_expression "((__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0))" ( (binary_expression "(__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0)" (parenthesized_expression "(__name == (char *)0x0)" ( (binary_expression "__name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar1 = access(__name,7), iVar1 != 0)" ( (comma_expression "iVar1 = access(__name,7), iVar1 != 0" (assignment_expression "iVar1 = access(__name,7)" identifier = (call_expression "access(__name,7)" identifier (argument_list "(__name,7)" ( identifier , number_literal )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    __name = getenv("TMP");\n    if ((__name != (char *)0x0) && (iVar1 = access(__name,7), iVar1 == 0)) goto LAB_00013d20;\n    __name = getenv("TEMP");\n    if ((__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0)) {\n      __name = "/tmp";\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        pcVar5 = (char *)0x5;\n        pcVar3 = (char *)0x6;\n        pcVar2 = (char *)0x4;\n      }\n      else {\n        __name = "/var/tmp";\n        iVar1 = access("/var/tmp",7);\n        puVar6 = (uint *)__name;\n        if (iVar1 == 0) {\n          do {\n            puVar7 = puVar6 + 1;\n            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n            puVar6 = puVar7;\n          } while (uVar4 == 0);\n        }\n        else {\n          __name = "/usr/tmp";\n          iVar1 = access("/usr/tmp",7);\n          puVar6 = (uint *)__name;\n          if (iVar1 == 0) {\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }\n          else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }\n        }\n        bVar8 = (uVar4 & 0x8080) == 0;\n        if (bVar8) {\n          uVar4 = uVar4 >> 0x10;\n        }\n        if (bVar8) {\n          puVar7 = (uint *)((int)puVar7 + 2);\n        }\n        pcVar2 = (char *)((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)\n                         );\n        pcVar3 = pcVar2 + 2;\n        pcVar5 = pcVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }" { (expression_statement "__name = getenv("TMP");" (assignment_expression "__name = getenv("TMP")" identifier = (call_expression "getenv("TMP")" identifier (argument_list "("TMP")" ( (string_literal ""TMP"" " string_content ") )))) ;) (if_statement "if ((__name != (char *)0x0) && (iVar1 = access(__name,7), iVar1 == 0)) goto LAB_00013d20;" if (parenthesized_expression "((__name != (char *)0x0) && (iVar1 = access(__name,7), iVar1 == 0))" ( (binary_expression "(__name != (char *)0x0) && (iVar1 = access(__name,7), iVar1 == 0)" (parenthesized_expression "(__name != (char *)0x0)" ( (binary_expression "__name != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar1 = access(__name,7), iVar1 == 0)" ( (comma_expression "iVar1 = access(__name,7), iVar1 == 0" (assignment_expression "iVar1 = access(__name,7)" identifier = (call_expression "access(__name,7)" identifier (argument_list "(__name,7)" ( identifier , number_literal )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00013d20;" goto statement_identifier ;)) (expression_statement "__name = getenv("TEMP");" (assignment_expression "__name = getenv("TEMP")" identifier = (call_expression "getenv("TEMP")" identifier (argument_list "("TEMP")" ( (string_literal ""TEMP"" " string_content ") )))) ;) (if_statement "if ((__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0)) {\n      __name = "/tmp";\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        pcVar5 = (char *)0x5;\n        pcVar3 = (char *)0x6;\n        pcVar2 = (char *)0x4;\n      }\n      else {\n        __name = "/var/tmp";\n        iVar1 = access("/var/tmp",7);\n        puVar6 = (uint *)__name;\n        if (iVar1 == 0) {\n          do {\n            puVar7 = puVar6 + 1;\n            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n            puVar6 = puVar7;\n          } while (uVar4 == 0);\n        }\n        else {\n          __name = "/usr/tmp";\n          iVar1 = access("/usr/tmp",7);\n          puVar6 = (uint *)__name;\n          if (iVar1 == 0) {\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }\n          else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }\n        }\n        bVar8 = (uVar4 & 0x8080) == 0;\n        if (bVar8) {\n          uVar4 = uVar4 >> 0x10;\n        }\n        if (bVar8) {\n          puVar7 = (uint *)((int)puVar7 + 2);\n        }\n        pcVar2 = (char *)((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)\n                         );\n        pcVar3 = pcVar2 + 2;\n        pcVar5 = pcVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }" if (parenthesized_expression "((__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0))" ( (binary_expression "(__name == (char *)0x0) || (iVar1 = access(__name,7), iVar1 != 0)" (parenthesized_expression "(__name == (char *)0x0)" ( (binary_expression "__name == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar1 = access(__name,7), iVar1 != 0)" ( (comma_expression "iVar1 = access(__name,7), iVar1 != 0" (assignment_expression "iVar1 = access(__name,7)" identifier = (call_expression "access(__name,7)" identifier (argument_list "(__name,7)" ( identifier , number_literal )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      __name = "/tmp";\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        pcVar5 = (char *)0x5;\n        pcVar3 = (char *)0x6;\n        pcVar2 = (char *)0x4;\n      }\n      else {\n        __name = "/var/tmp";\n        iVar1 = access("/var/tmp",7);\n        puVar6 = (uint *)__name;\n        if (iVar1 == 0) {\n          do {\n            puVar7 = puVar6 + 1;\n            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n            puVar6 = puVar7;\n          } while (uVar4 == 0);\n        }\n        else {\n          __name = "/usr/tmp";\n          iVar1 = access("/usr/tmp",7);\n          puVar6 = (uint *)__name;\n          if (iVar1 == 0) {\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }\n          else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }\n        }\n        bVar8 = (uVar4 & 0x8080) == 0;\n        if (bVar8) {\n          uVar4 = uVar4 >> 0x10;\n        }\n        if (bVar8) {\n          puVar7 = (uint *)((int)puVar7 + 2);\n        }\n        pcVar2 = (char *)((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)\n                         );\n        pcVar3 = pcVar2 + 2;\n        pcVar5 = pcVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }" { (expression_statement "__name = "/tmp";" (assignment_expression "__name = "/tmp"" identifier = (string_literal ""/tmp"" " string_content ")) ;) (expression_statement "iVar1 = access("/tmp",7);" (assignment_expression "iVar1 = access("/tmp",7)" identifier = (call_expression "access("/tmp",7)" identifier (argument_list "("/tmp",7)" ( (string_literal ""/tmp"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n        pcVar5 = (char *)0x5;\n        pcVar3 = (char *)0x6;\n        pcVar2 = (char *)0x4;\n      }\n      else {\n        __name = "/var/tmp";\n        iVar1 = access("/var/tmp",7);\n        puVar6 = (uint *)__name;\n        if (iVar1 == 0) {\n          do {\n            puVar7 = puVar6 + 1;\n            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n            puVar6 = puVar7;\n          } while (uVar4 == 0);\n        }\n        else {\n          __name = "/usr/tmp";\n          iVar1 = access("/usr/tmp",7);\n          puVar6 = (uint *)__name;\n          if (iVar1 == 0) {\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }\n          else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }\n        }\n        bVar8 = (uVar4 & 0x8080) == 0;\n        if (bVar8) {\n          uVar4 = uVar4 >> 0x10;\n        }\n        if (bVar8) {\n          puVar7 = (uint *)((int)puVar7 + 2);\n        }\n        pcVar2 = (char *)((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)\n                         );\n        pcVar3 = pcVar2 + 2;\n        pcVar5 = pcVar2 + 1;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        pcVar5 = (char *)0x5;\n        pcVar3 = (char *)0x6;\n        pcVar2 = (char *)0x4;\n      }" { (expression_statement "pcVar5 = (char *)0x5;" (assignment_expression "pcVar5 = (char *)0x5" identifier = (cast_expression "(char *)0x5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar3 = (char *)0x6;" (assignment_expression "pcVar3 = (char *)0x6" identifier = (cast_expression "(char *)0x6" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar2 = (char *)0x4;" (assignment_expression "pcVar2 = (char *)0x4" identifier = (cast_expression "(char *)0x4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n        __name = "/var/tmp";\n        iVar1 = access("/var/tmp",7);\n        puVar6 = (uint *)__name;\n        if (iVar1 == 0) {\n          do {\n            puVar7 = puVar6 + 1;\n            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n            puVar6 = puVar7;\n          } while (uVar4 == 0);\n        }\n        else {\n          __name = "/usr/tmp";\n          iVar1 = access("/usr/tmp",7);\n          puVar6 = (uint *)__name;\n          if (iVar1 == 0) {\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }\n          else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }\n        }\n        bVar8 = (uVar4 & 0x8080) == 0;\n        if (bVar8) {\n          uVar4 = uVar4 >> 0x10;\n        }\n        if (bVar8) {\n          puVar7 = (uint *)((int)puVar7 + 2);\n        }\n        pcVar2 = (char *)((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)\n                         );\n        pcVar3 = pcVar2 + 2;\n        pcVar5 = pcVar2 + 1;\n      }" else (compound_statement "{\n        __name = "/var/tmp";\n        iVar1 = access("/var/tmp",7);\n        puVar6 = (uint *)__name;\n        if (iVar1 == 0) {\n          do {\n            puVar7 = puVar6 + 1;\n            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n            puVar6 = puVar7;\n          } while (uVar4 == 0);\n        }\n        else {\n          __name = "/usr/tmp";\n          iVar1 = access("/usr/tmp",7);\n          puVar6 = (uint *)__name;\n          if (iVar1 == 0) {\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }\n          else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }\n        }\n        bVar8 = (uVar4 & 0x8080) == 0;\n        if (bVar8) {\n          uVar4 = uVar4 >> 0x10;\n        }\n        if (bVar8) {\n          puVar7 = (uint *)((int)puVar7 + 2);\n        }\n        pcVar2 = (char *)((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)\n                         );\n        pcVar3 = pcVar2 + 2;\n        pcVar5 = pcVar2 + 1;\n      }" { (expression_statement "__name = "/var/tmp";" (assignment_expression "__name = "/var/tmp"" identifier = (string_literal ""/var/tmp"" " string_content ")) ;) (expression_statement "iVar1 = access("/var/tmp",7);" (assignment_expression "iVar1 = access("/var/tmp",7)" identifier = (call_expression "access("/var/tmp",7)" identifier (argument_list "("/var/tmp",7)" ( (string_literal ""/var/tmp"" " string_content ") , number_literal )))) ;) (expression_statement "puVar6 = (uint *)__name;" (assignment_expression "puVar6 = (uint *)__name" identifier = (cast_expression "(uint *)__name" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (iVar1 == 0) {\n          do {\n            puVar7 = puVar6 + 1;\n            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n            puVar6 = puVar7;\n          } while (uVar4 == 0);\n        }\n        else {\n          __name = "/usr/tmp";\n          iVar1 = access("/usr/tmp",7);\n          puVar6 = (uint *)__name;\n          if (iVar1 == 0) {\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }\n          else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          do {\n            puVar7 = puVar6 + 1;\n            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n            puVar6 = puVar7;\n          } while (uVar4 == 0);\n        }" { (do_statement "do {\n            puVar7 = puVar6 + 1;\n            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n            puVar6 = puVar7;\n          } while (uVar4 == 0);" do (compound_statement "{\n            puVar7 = puVar6 + 1;\n            uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n            puVar6 = puVar7;\n          }" { (expression_statement "puVar7 = puVar6 + 1;" (assignment_expression "puVar7 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;" (assignment_expression "uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080" identifier = (binary_expression "*puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080" (binary_expression "*puVar6 + 0xfefefeff & ~*puVar6" (binary_expression "*puVar6 + 0xfefefeff" (pointer_expression "*puVar6" * identifier) + number_literal) & (unary_expression "~*puVar6" ~ (pointer_expression "*puVar6" * identifier))) & number_literal)) ;) (expression_statement "puVar6 = puVar7;" (assignment_expression "puVar6 = puVar7" identifier = identifier) ;) }) while (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) ;) }) (else_clause "else {\n          __name = "/usr/tmp";\n          iVar1 = access("/usr/tmp",7);\n          puVar6 = (uint *)__name;\n          if (iVar1 == 0) {\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }\n          else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }\n        }" else (compound_statement "{\n          __name = "/usr/tmp";\n          iVar1 = access("/usr/tmp",7);\n          puVar6 = (uint *)__name;\n          if (iVar1 == 0) {\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }\n          else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }\n        }" { (expression_statement "__name = "/usr/tmp";" (assignment_expression "__name = "/usr/tmp"" identifier = (string_literal ""/usr/tmp"" " string_content ")) ;) (expression_statement "iVar1 = access("/usr/tmp",7);" (assignment_expression "iVar1 = access("/usr/tmp",7)" identifier = (call_expression "access("/usr/tmp",7)" identifier (argument_list "("/usr/tmp",7)" ( (string_literal ""/usr/tmp"" " string_content ") , number_literal )))) ;) (expression_statement "puVar6 = (uint *)__name;" (assignment_expression "puVar6 = (uint *)__name" identifier = (cast_expression "(uint *)__name" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (iVar1 == 0) {\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }\n          else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n            do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);\n          }" { (do_statement "do {\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            } while (uVar4 == 0);" do (compound_statement "{\n              puVar7 = puVar6 + 1;\n              uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;\n              puVar6 = puVar7;\n            }" { (expression_statement "puVar7 = puVar6 + 1;" (assignment_expression "puVar7 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080;" (assignment_expression "uVar4 = *puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080" identifier = (binary_expression "*puVar6 + 0xfefefeff & ~*puVar6 & 0x80808080" (binary_expression "*puVar6 + 0xfefefeff & ~*puVar6" (binary_expression "*puVar6 + 0xfefefeff" (pointer_expression "*puVar6" * identifier) + number_literal) & (unary_expression "~*puVar6" ~ (pointer_expression "*puVar6" * identifier))) & number_literal)) ;) (expression_statement "puVar6 = puVar7;" (assignment_expression "puVar6 = puVar7" identifier = identifier) ;) }) while (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) ;) }) (else_clause "else {\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }" else (compound_statement "{\n            __name = "/tmp";\n            iVar1 = access("/tmp",7);\n            puVar7 = (uint *)__name;\n            if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }\n            do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);\n          }" { (expression_statement "__name = "/tmp";" (assignment_expression "__name = "/tmp"" identifier = (string_literal ""/tmp"" " string_content ")) ;) (expression_statement "iVar1 = access("/tmp",7);" (assignment_expression "iVar1 = access("/tmp",7)" identifier = (call_expression "access("/tmp",7)" identifier (argument_list "("/tmp",7)" ( (string_literal ""/tmp"" " string_content ") , number_literal )))) ;) (expression_statement "puVar7 = (uint *)__name;" (assignment_expression "puVar7 = (uint *)__name" identifier = (cast_expression "(uint *)__name" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (iVar1 != 0) {\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n              pcVar5 = (char *)0x2;\n              pcVar3 = (char *)0x3;\n              pcVar2 = (char *)0x1;\n              __name = ".";\n              goto LAB_00013d42;\n            }" { (expression_statement "pcVar5 = (char *)0x2;" (assignment_expression "pcVar5 = (char *)0x2" identifier = (cast_expression "(char *)0x2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar3 = (char *)0x3;" (assignment_expression "pcVar3 = (char *)0x3" identifier = (cast_expression "(char *)0x3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar2 = (char *)0x1;" (assignment_expression "pcVar2 = (char *)0x1" identifier = (cast_expression "(char *)0x1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "__name = ".";" (assignment_expression "__name = "."" identifier = (string_literal ""."" " string_content ")) ;) (goto_statement "goto LAB_00013d42;" goto statement_identifier ;) })) (do_statement "do {\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            } while (uVar4 == 0);" do (compound_statement "{\n              uVar4 = *puVar7;\n              puVar7 = puVar7 + 1;\n              uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;\n            }" { (expression_statement "uVar4 = *puVar7;" (assignment_expression "uVar4 = *puVar7" identifier = (pointer_expression "*puVar7" * identifier)) ;) (expression_statement "puVar7 = puVar7 + 1;" (assignment_expression "puVar7 = puVar7 + 1" identifier = (binary_expression "puVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080;" (assignment_expression "uVar4 = uVar4 + 0xfefefeff & ~uVar4 & 0x80808080" identifier = (binary_expression "uVar4 + 0xfefefeff & ~uVar4 & 0x80808080" (binary_expression "uVar4 + 0xfefefeff & ~uVar4" (binary_expression "uVar4 + 0xfefefeff" identifier + number_literal) & (unary_expression "~uVar4" ~ identifier)) & number_literal)) ;) }) while (parenthesized_expression "(uVar4 == 0)" ( (binary_expression "uVar4 == 0" identifier == number_literal) )) ;) }))) }))) (expression_statement "bVar8 = (uVar4 & 0x8080) == 0;" (assignment_expression "bVar8 = (uVar4 & 0x8080) == 0" identifier = (binary_expression "(uVar4 & 0x8080) == 0" (parenthesized_expression "(uVar4 & 0x8080)" ( (binary_expression "uVar4 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar8) {\n          uVar4 = uVar4 >> 0x10;\n        }" if (parenthesized_expression "(bVar8)" ( identifier )) (compound_statement "{\n          uVar4 = uVar4 >> 0x10;\n        }" { (expression_statement "uVar4 = uVar4 >> 0x10;" (assignment_expression "uVar4 = uVar4 >> 0x10" identifier = (binary_expression "uVar4 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar8) {\n          puVar7 = (uint *)((int)puVar7 + 2);\n        }" if (parenthesized_expression "(bVar8)" ( identifier )) (compound_statement "{\n          puVar7 = (uint *)((int)puVar7 + 2);\n        }" { (expression_statement "puVar7 = (uint *)((int)puVar7 + 2);" (assignment_expression "puVar7 = (uint *)((int)puVar7 + 2)" identifier = (cast_expression "(uint *)((int)puVar7 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 2)" ( (binary_expression "(int)puVar7 + 2" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "pcVar2 = (char *)((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)\n                         );" (assignment_expression "pcVar2 = (char *)((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)\n                         )" identifier = (cast_expression "(char *)((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)\n                         )" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)\n                         )" ( (binary_expression "(int)puVar7 + ((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name)" ( (binary_expression "(-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)) - (int)__name" (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar4,(byte)uVar4)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar4,(byte)uVar4)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar4,(byte)uVar4)" identifier (argument_list "((byte)uVar4,(byte)uVar4)" ( (cast_expression "(byte)uVar4" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar4" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) )) - (cast_expression "(int)__name" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) ;) (expression_statement "pcVar3 = pcVar2 + 2;" (assignment_expression "pcVar3 = pcVar2 + 2" identifier = (binary_expression "pcVar2 + 2" identifier + number_literal)) ;) (expression_statement "pcVar5 = pcVar2 + 1;" (assignment_expression "pcVar5 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) }))) (goto_statement "goto LAB_00013d42;" goto statement_identifier ;) })) }) (else_clause "else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }" else (compound_statement "{\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }" { (expression_statement "getenv("TMP");" (call_expression "getenv("TMP")" identifier (argument_list "("TMP")" ( (string_literal ""TMP"" " string_content ") ))) ;) (labeled_statement "LAB_00013d20:\n    getenv("TEMP");" statement_identifier : (expression_statement "getenv("TEMP");" (call_expression "getenv("TEMP")" identifier (argument_list "("TEMP")" ( (string_literal ""TEMP"" " string_content ") ))) ;)) }))) (expression_statement "pcVar2 = (char *)strlen(__name);" (assignment_expression "pcVar2 = (char *)strlen(__name)" identifier = (cast_expression "(char *)strlen(__name)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "strlen(__name)" identifier (argument_list "(__name)" ( identifier ))))) ;) (expression_statement "pcVar3 = pcVar2 + 2;" (assignment_expression "pcVar3 = pcVar2 + 2" identifier = (binary_expression "pcVar2 + 2" identifier + number_literal)) ;) (expression_statement "pcVar5 = pcVar2 + 1;" (assignment_expression "pcVar5 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_00013d42:\n  pcVar3 = (char *)xmalloc(pcVar3);" statement_identifier : (expression_statement "pcVar3 = (char *)xmalloc(pcVar3);" (assignment_expression "pcVar3 = (char *)xmalloc(pcVar3)" identifier = (cast_expression "(char *)xmalloc(pcVar3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(pcVar3)" identifier (argument_list "(pcVar3)" ( identifier ))))) ;)) (expression_statement "strcpy(pcVar3,__name);" (call_expression "strcpy(pcVar3,__name)" identifier (argument_list "(pcVar3,__name)" ( identifier , identifier ))) ;) (expression_statement "pcVar3[(int)pcVar2] = '/';" (assignment_expression "pcVar3[(int)pcVar2] = '/'" (subscript_expression "pcVar3[(int)pcVar2]" identifier [ (cast_expression "(int)pcVar2" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (char_literal "'/'" ' character ')) ;) (expression_statement "memoized_tmpdir = pcVar3;" (assignment_expression "memoized_tmpdir = pcVar3" identifier = identifier) ;) (expression_statement "pcVar3[(int)pcVar5] = '\0';" (assignment_expression "pcVar3[(int)pcVar5] = '\0'" (subscript_expression "pcVar3[(int)pcVar5]" identifier [ (cast_expression "(int)pcVar5" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return pcVar3;" return identifier ;) })))
(translation_unit "char * FUN_00013cb0(void)\n\n{\n  uint *__name;\n  int iVar1;\n  size_t sVar2;\n  char *__dest;\n  uint uVar3;\n  int iVar4;\n  uint *puVar5;\n  uint *puVar6;\n  bool bVar7;\n  \n  if (DAT_0001826c != (char *)0x0) {\n    return DAT_0001826c;\n  }\n  __name = (uint *)getenv("TMPDIR");\n  if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n    __name = (uint *)getenv("TMP");\n    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;\n    __name = (uint *)getenv("TEMP");\n    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }\n  sVar2 = strlen((char *)__name);\n  iVar1 = sVar2 + 2;\n  iVar4 = sVar2 + 1;\nLAB_00013d42:\n  __dest = (char *)xmalloc(iVar1);\n  strcpy(__dest,(char *)__name);\n  __dest[sVar2] = '/';\n  DAT_0001826c = __dest;\n  __dest[iVar4] = '\0';\n  return __dest;\n}\n\n" (function_definition "char * FUN_00013cb0(void)\n\n{\n  uint *__name;\n  int iVar1;\n  size_t sVar2;\n  char *__dest;\n  uint uVar3;\n  int iVar4;\n  uint *puVar5;\n  uint *puVar6;\n  bool bVar7;\n  \n  if (DAT_0001826c != (char *)0x0) {\n    return DAT_0001826c;\n  }\n  __name = (uint *)getenv("TMPDIR");\n  if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n    __name = (uint *)getenv("TMP");\n    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;\n    __name = (uint *)getenv("TEMP");\n    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }\n  sVar2 = strlen((char *)__name);\n  iVar1 = sVar2 + 2;\n  iVar4 = sVar2 + 1;\nLAB_00013d42:\n  __dest = (char *)xmalloc(iVar1);\n  strcpy(__dest,(char *)__name);\n  __dest[sVar2] = '/';\n  DAT_0001826c = __dest;\n  __dest[iVar4] = '\0';\n  return __dest;\n}" primitive_type (pointer_declarator "* FUN_00013cb0(void)" * (function_declarator "FUN_00013cb0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  uint *__name;\n  int iVar1;\n  size_t sVar2;\n  char *__dest;\n  uint uVar3;\n  int iVar4;\n  uint *puVar5;\n  uint *puVar6;\n  bool bVar7;\n  \n  if (DAT_0001826c != (char *)0x0) {\n    return DAT_0001826c;\n  }\n  __name = (uint *)getenv("TMPDIR");\n  if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n    __name = (uint *)getenv("TMP");\n    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;\n    __name = (uint *)getenv("TEMP");\n    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }\n  sVar2 = strlen((char *)__name);\n  iVar1 = sVar2 + 2;\n  iVar4 = sVar2 + 1;\nLAB_00013d42:\n  __dest = (char *)xmalloc(iVar1);\n  strcpy(__dest,(char *)__name);\n  __dest[sVar2] = '/';\n  DAT_0001826c = __dest;\n  __dest[iVar4] = '\0';\n  return __dest;\n}" { (declaration "uint *__name;" type_identifier (pointer_declarator "*__name" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "char *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type identifier ;) (if_statement "if (DAT_0001826c != (char *)0x0) {\n    return DAT_0001826c;\n  }" if (parenthesized_expression "(DAT_0001826c != (char *)0x0)" ( (binary_expression "DAT_0001826c != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return DAT_0001826c;\n  }" { (return_statement "return DAT_0001826c;" return identifier ;) })) (expression_statement "__name = (uint *)getenv("TMPDIR");" (assignment_expression "__name = (uint *)getenv("TMPDIR")" identifier = (cast_expression "(uint *)getenv("TMPDIR")" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "getenv("TMPDIR")" identifier (argument_list "("TMPDIR")" ( (string_literal ""TMPDIR"" " string_content ") ))))) ;) (if_statement "if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n    __name = (uint *)getenv("TMP");\n    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;\n    __name = (uint *)getenv("TEMP");\n    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }" if (parenthesized_expression "((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0))" ( (binary_expression "(__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)" (parenthesized_expression "(__name == (uint *)0x0)" ( (binary_expression "__name == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar1 = access((char *)__name,7), iVar1 != 0)" ( (comma_expression "iVar1 = access((char *)__name,7), iVar1 != 0" (assignment_expression "iVar1 = access((char *)__name,7)" identifier = (call_expression "access((char *)__name,7)" identifier (argument_list "((char *)__name,7)" ( (cast_expression "(char *)__name" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    __name = (uint *)getenv("TMP");\n    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;\n    __name = (uint *)getenv("TEMP");\n    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }" { (expression_statement "__name = (uint *)getenv("TMP");" (assignment_expression "__name = (uint *)getenv("TMP")" identifier = (cast_expression "(uint *)getenv("TMP")" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "getenv("TMP")" identifier (argument_list "("TMP")" ( (string_literal ""TMP"" " string_content ") ))))) ;) (if_statement "if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;" if (parenthesized_expression "((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))" ( (binary_expression "(__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0)" (parenthesized_expression "(__name != (uint *)0x0)" ( (binary_expression "__name != (uint *)0x0" identifier != (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar1 = access((char *)__name,7), iVar1 == 0)" ( (comma_expression "iVar1 = access((char *)__name,7), iVar1 == 0" (assignment_expression "iVar1 = access((char *)__name,7)" identifier = (call_expression "access((char *)__name,7)" identifier (argument_list "((char *)__name,7)" ( (cast_expression "(char *)__name" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_00013d20;" goto statement_identifier ;)) (expression_statement "__name = (uint *)getenv("TEMP");" (assignment_expression "__name = (uint *)getenv("TEMP")" identifier = (cast_expression "(uint *)getenv("TEMP")" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "getenv("TEMP")" identifier (argument_list "("TEMP")" ( (string_literal ""TEMP"" " string_content ") ))))) ;) (if_statement "if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }" if (parenthesized_expression "((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0))" ( (binary_expression "(__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)" (parenthesized_expression "(__name == (uint *)0x0)" ( (binary_expression "__name == (uint *)0x0" identifier == (cast_expression "(uint *)0x0" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar1 = access((char *)__name,7), iVar1 != 0)" ( (comma_expression "iVar1 = access((char *)__name,7), iVar1 != 0" (assignment_expression "iVar1 = access((char *)__name,7)" identifier = (call_expression "access((char *)__name,7)" identifier (argument_list "((char *)__name,7)" ( (cast_expression "(char *)__name" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }" { (expression_statement "__name = (uint *)&DAT_00015ad7;" (assignment_expression "__name = (uint *)&DAT_00015ad7" identifier = (cast_expression "(uint *)&DAT_00015ad7" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00015ad7" & identifier))) ;) (expression_statement "iVar1 = access("/tmp",7);" (assignment_expression "iVar1 = access("/tmp",7)" identifier = (call_expression "access("/tmp",7)" identifier (argument_list "("/tmp",7)" ( (string_literal ""/tmp"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }" { (expression_statement "iVar4 = 5;" (assignment_expression "iVar4 = 5" identifier = number_literal) ;) (expression_statement "iVar1 = 6;" (assignment_expression "iVar1 = 6" identifier = number_literal) ;) (expression_statement "sVar2 = 4;" (assignment_expression "sVar2 = 4" identifier = number_literal) ;) }) (else_clause "else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }" else (compound_statement "{\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }" { (expression_statement "__name = &DAT_00015b18;" (assignment_expression "__name = &DAT_00015b18" identifier = (pointer_expression "&DAT_00015b18" & identifier)) ;) (expression_statement "iVar1 = access("/var/tmp",7);" (assignment_expression "iVar1 = access("/var/tmp",7)" identifier = (call_expression "access("/var/tmp",7)" identifier (argument_list "("/var/tmp",7)" ( (string_literal ""/var/tmp"" " string_content ") , number_literal )))) ;) (expression_statement "puVar5 = __name;" (assignment_expression "puVar5 = __name" identifier = identifier) ;) (if_statement "if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }" { (do_statement "do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);" do (compound_statement "{\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          }" { (expression_statement "puVar6 = puVar5 + 1;" (assignment_expression "puVar6 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;" (assignment_expression "uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080" identifier = (binary_expression "*puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080" (binary_expression "*puVar5 + 0xfefefeff & ~*puVar5" (binary_expression "*puVar5 + 0xfefefeff" (pointer_expression "*puVar5" * identifier) + number_literal) & (unary_expression "~*puVar5" ~ (pointer_expression "*puVar5" * identifier))) & number_literal)) ;) (expression_statement "puVar5 = puVar6;" (assignment_expression "puVar5 = puVar6" identifier = identifier) ;) }) while (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) ;) }) (else_clause "else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }" else (compound_statement "{\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }" { (expression_statement "__name = &DAT_00015b24;" (assignment_expression "__name = &DAT_00015b24" identifier = (pointer_expression "&DAT_00015b24" & identifier)) ;) (expression_statement "iVar1 = access("/usr/tmp",7);" (assignment_expression "iVar1 = access("/usr/tmp",7)" identifier = (call_expression "access("/usr/tmp",7)" identifier (argument_list "("/usr/tmp",7)" ( (string_literal ""/usr/tmp"" " string_content ") , number_literal )))) ;) (expression_statement "puVar5 = __name;" (assignment_expression "puVar5 = __name" identifier = identifier) ;) (if_statement "if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }" { (do_statement "do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);" do (compound_statement "{\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            }" { (expression_statement "puVar6 = puVar5 + 1;" (assignment_expression "puVar6 = puVar5 + 1" identifier = (binary_expression "puVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;" (assignment_expression "uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080" identifier = (binary_expression "*puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080" (binary_expression "*puVar5 + 0xfefefeff & ~*puVar5" (binary_expression "*puVar5 + 0xfefefeff" (pointer_expression "*puVar5" * identifier) + number_literal) & (unary_expression "~*puVar5" ~ (pointer_expression "*puVar5" * identifier))) & number_literal)) ;) (expression_statement "puVar5 = puVar6;" (assignment_expression "puVar5 = puVar6" identifier = identifier) ;) }) while (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) ;) }) (else_clause "else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }" else (compound_statement "{\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }" { (expression_statement "__name = &DAT_00015b30;" (assignment_expression "__name = &DAT_00015b30" identifier = (pointer_expression "&DAT_00015b30" & identifier)) ;) (expression_statement "iVar1 = access("/tmp",7);" (assignment_expression "iVar1 = access("/tmp",7)" identifier = (call_expression "access("/tmp",7)" identifier (argument_list "("/tmp",7)" ( (string_literal ""/tmp"" " string_content ") , number_literal )))) ;) (expression_statement "puVar6 = __name;" (assignment_expression "puVar6 = __name" identifier = identifier) ;) (if_statement "if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (expression_statement "iVar1 = 3;" (assignment_expression "iVar1 = 3" identifier = number_literal) ;) (expression_statement "sVar2 = 1;" (assignment_expression "sVar2 = 1" identifier = number_literal) ;) (expression_statement "__name = (uint *)&DAT_00015adc;" (assignment_expression "__name = (uint *)&DAT_00015adc" identifier = (cast_expression "(uint *)&DAT_00015adc" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00015adc" & identifier))) ;) (goto_statement "goto LAB_00013d42;" goto statement_identifier ;) })) (do_statement "do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);" do (compound_statement "{\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            }" { (expression_statement "uVar3 = *puVar6;" (assignment_expression "uVar3 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" identifier = (binary_expression "puVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;" (assignment_expression "uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080" identifier = (binary_expression "uVar3 + 0xfefefeff & ~uVar3 & 0x80808080" (binary_expression "uVar3 + 0xfefefeff & ~uVar3" (binary_expression "uVar3 + 0xfefefeff" identifier + number_literal) & (unary_expression "~uVar3" ~ identifier)) & number_literal)) ;) }) while (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) ;) }))) }))) (expression_statement "bVar7 = (uVar3 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar3 & 0x8080) == 0" identifier = (binary_expression "(uVar3 & 0x8080) == 0" (parenthesized_expression "(uVar3 & 0x8080)" ( (binary_expression "uVar3 & 0x8080" identifier & number_literal) )) == number_literal)) ;) (if_statement "if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          uVar3 = uVar3 >> 0x10;\n        }" { (expression_statement "uVar3 = uVar3 >> 0x10;" (assignment_expression "uVar3 = uVar3 >> 0x10" identifier = (binary_expression "uVar3 >> 0x10" identifier >> number_literal)) ;) })) (if_statement "if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }" if (parenthesized_expression "(bVar7)" ( identifier )) (compound_statement "{\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }" { (expression_statement "puVar6 = (uint *)((int)puVar6 + 2);" (assignment_expression "puVar6 = (uint *)((int)puVar6 + 2)" identifier = (cast_expression "(uint *)((int)puVar6 + 2)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar6 + 2)" ( (binary_expression "(int)puVar6 + 2" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) (expression_statement "sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);" (assignment_expression "sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name)" identifier = (binary_expression "(int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name)" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name)" ( (binary_expression "(-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name" (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3))" ( (binary_expression "-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)" number_literal - (cast_expression "(uint)CARRY1((byte)uVar3,(byte)uVar3)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY1((byte)uVar3,(byte)uVar3)" identifier (argument_list "((byte)uVar3,(byte)uVar3)" ( (cast_expression "(byte)uVar3" ( (type_descriptor "byte" type_identifier) ) identifier) , (cast_expression "(byte)uVar3" ( (type_descriptor "byte" type_identifier) ) identifier) ))))) )) - (cast_expression "(int)__name" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "iVar1 = sVar2 + 2;" (assignment_expression "iVar1 = sVar2 + 2" identifier = (binary_expression "sVar2 + 2" identifier + number_literal)) ;) (expression_statement "iVar4 = sVar2 + 1;" (assignment_expression "iVar4 = sVar2 + 1" identifier = (binary_expression "sVar2 + 1" identifier + number_literal)) ;) }))) (goto_statement "goto LAB_00013d42;" goto statement_identifier ;) })) }) (else_clause "else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }" else (compound_statement "{\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }" { (expression_statement "getenv("TMP");" (call_expression "getenv("TMP")" identifier (argument_list "("TMP")" ( (string_literal ""TMP"" " string_content ") ))) ;) (labeled_statement "LAB_00013d20:\n    getenv("TEMP");" statement_identifier : (expression_statement "getenv("TEMP");" (call_expression "getenv("TEMP")" identifier (argument_list "("TEMP")" ( (string_literal ""TEMP"" " string_content ") ))) ;)) }))) (expression_statement "sVar2 = strlen((char *)__name);" (assignment_expression "sVar2 = strlen((char *)__name)" identifier = (call_expression "strlen((char *)__name)" identifier (argument_list "((char *)__name)" ( (cast_expression "(char *)__name" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "iVar1 = sVar2 + 2;" (assignment_expression "iVar1 = sVar2 + 2" identifier = (binary_expression "sVar2 + 2" identifier + number_literal)) ;) (expression_statement "iVar4 = sVar2 + 1;" (assignment_expression "iVar4 = sVar2 + 1" identifier = (binary_expression "sVar2 + 1" identifier + number_literal)) ;) (labeled_statement "LAB_00013d42:\n  __dest = (char *)xmalloc(iVar1);" statement_identifier : (expression_statement "__dest = (char *)xmalloc(iVar1);" (assignment_expression "__dest = (char *)xmalloc(iVar1)" identifier = (cast_expression "(char *)xmalloc(iVar1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))))) ;)) (expression_statement "strcpy(__dest,(char *)__name);" (call_expression "strcpy(__dest,(char *)__name)" identifier (argument_list "(__dest,(char *)__name)" ( identifier , (cast_expression "(char *)__name" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "__dest[sVar2] = '/';" (assignment_expression "__dest[sVar2] = '/'" (subscript_expression "__dest[sVar2]" identifier [ identifier ]) = (char_literal "'/'" ' character ')) ;) (expression_statement "DAT_0001826c = __dest;" (assignment_expression "DAT_0001826c = __dest" identifier = identifier) ;) (expression_statement "__dest[iVar4] = '\0';" (assignment_expression "__dest[iVar4] = '\0'" (subscript_expression "__dest[iVar4]" identifier [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return __dest;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT )))) , (binary_expression IDENT == LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (string_literal " string_content ") ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , LIT )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (pointer_expression * IDENT) + LIT) & (unary_expression ~ (pointer_expression * IDENT))) & LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (pointer_expression * IDENT) + LIT) & (unary_expression ~ (pointer_expression * IDENT))) & LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (goto_statement goto statement_identifier ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression IDENT + LIT) & (unary_expression ~ IDENT)) & LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) }))) }))) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE) ) IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))))) )) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;)) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (char_literal ' character ')) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = (char_literal ' escape_sequence ')) ;) (return_statement return IDENT ;) })))
(function_definition "char * FUN_00013cb0(void)\n\n{\n  uint *__name;\n  int iVar1;\n  size_t sVar2;\n  char *__dest;\n  uint uVar3;\n  int iVar4;\n  uint *puVar5;\n  uint *puVar6;\n  bool bVar7;\n  \n  if (DAT_0001826c != (char *)0x0) {\n    return DAT_0001826c;\n  }\n  __name = (uint *)getenv("TMPDIR");\n  if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n    __name = (uint *)getenv("TMP");\n    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;\n    __name = (uint *)getenv("TEMP");\n    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }\n  sVar2 = strlen((char *)__name);\n  iVar1 = sVar2 + 2;\n  iVar4 = sVar2 + 1;\nLAB_00013d42:\n  __dest = (char *)xmalloc(iVar1);\n  strcpy(__dest,(char *)__name);\n  __dest[sVar2] = '/';\n  DAT_0001826c = __dest;\n  __dest[iVar4] = '\0';\n  return __dest;\n}" (primitive_type "char") (pointer_declarator "* FUN_00013cb0(void)" (* "*") (function_declarator "FUN_00013cb0(void)" (identifier "FUN_00013cb0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  uint *__name;\n  int iVar1;\n  size_t sVar2;\n  char *__dest;\n  uint uVar3;\n  int iVar4;\n  uint *puVar5;\n  uint *puVar6;\n  bool bVar7;\n  \n  if (DAT_0001826c != (char *)0x0) {\n    return DAT_0001826c;\n  }\n  __name = (uint *)getenv("TMPDIR");\n  if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n    __name = (uint *)getenv("TMP");\n    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;\n    __name = (uint *)getenv("TEMP");\n    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }\n  sVar2 = strlen((char *)__name);\n  iVar1 = sVar2 + 2;\n  iVar4 = sVar2 + 1;\nLAB_00013d42:\n  __dest = (char *)xmalloc(iVar1);\n  strcpy(__dest,(char *)__name);\n  __dest[sVar2] = '/';\n  DAT_0001826c = __dest;\n  __dest[iVar4] = '\0';\n  return __dest;\n}" ({ "{") (declaration "uint *__name;" (type_identifier "uint") (pointer_declarator "*__name" (* "*") (identifier "__name")) (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "char *__dest;" (primitive_type "char") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "uint *puVar6;" (type_identifier "uint") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (if_statement "if (DAT_0001826c != (char *)0x0) {\n    return DAT_0001826c;\n  }" (if "if") (parenthesized_expression "(DAT_0001826c != (char *)0x0)" (( "(") (binary_expression "DAT_0001826c != (char *)0x0" (identifier "DAT_0001826c") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return DAT_0001826c;\n  }" ({ "{") (return_statement "return DAT_0001826c;" (return "return") (identifier "DAT_0001826c") (; ";")) (} "}"))) (expression_statement "__name = (uint *)getenv("TMPDIR");" (assignment_expression "__name = (uint *)getenv("TMPDIR")" (identifier "__name") (= "=") (cast_expression "(uint *)getenv("TMPDIR")" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "getenv("TMPDIR")" (identifier "getenv") (argument_list "("TMPDIR")" (( "(") (string_literal ""TMPDIR"" (" """) (string_content "TMPDIR") (" """)) () ")"))))) (; ";")) (if_statement "if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n    __name = (uint *)getenv("TMP");\n    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;\n    __name = (uint *)getenv("TEMP");\n    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }\n  else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }" (if "if") (parenthesized_expression "((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0))" (( "(") (binary_expression "(__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)" (parenthesized_expression "(__name == (uint *)0x0)" (( "(") (binary_expression "__name == (uint *)0x0" (identifier "__name") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(iVar1 = access((char *)__name,7), iVar1 != 0)" (( "(") (comma_expression "iVar1 = access((char *)__name,7), iVar1 != 0" (assignment_expression "iVar1 = access((char *)__name,7)" (identifier "iVar1") (= "=") (call_expression "access((char *)__name,7)" (identifier "access") (argument_list "((char *)__name,7)" (( "(") (cast_expression "(char *)__name" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__name")) (, ",") (number_literal "7") () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    __name = (uint *)getenv("TMP");\n    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;\n    __name = (uint *)getenv("TEMP");\n    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }\n  }" ({ "{") (expression_statement "__name = (uint *)getenv("TMP");" (assignment_expression "__name = (uint *)getenv("TMP")" (identifier "__name") (= "=") (cast_expression "(uint *)getenv("TMP")" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "getenv("TMP")" (identifier "getenv") (argument_list "("TMP")" (( "(") (string_literal ""TMP"" (" """) (string_content "TMP") (" """)) () ")"))))) (; ";")) (if_statement "if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))\n    goto LAB_00013d20;" (if "if") (parenthesized_expression "((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))" (( "(") (binary_expression "(__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0)" (parenthesized_expression "(__name != (uint *)0x0)" (( "(") (binary_expression "__name != (uint *)0x0" (identifier "__name") (!= "!=") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = access((char *)__name,7), iVar1 == 0)" (( "(") (comma_expression "iVar1 = access((char *)__name,7), iVar1 == 0" (assignment_expression "iVar1 = access((char *)__name,7)" (identifier "iVar1") (= "=") (call_expression "access((char *)__name,7)" (identifier "access") (argument_list "((char *)__name,7)" (( "(") (cast_expression "(char *)__name" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__name")) (, ",") (number_literal "7") () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_00013d20;" (goto "goto") (statement_identifier "LAB_00013d20") (; ";"))) (expression_statement "__name = (uint *)getenv("TEMP");" (assignment_expression "__name = (uint *)getenv("TEMP")" (identifier "__name") (= "=") (cast_expression "(uint *)getenv("TEMP")" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "getenv("TEMP")" (identifier "getenv") (argument_list "("TEMP")" (( "(") (string_literal ""TEMP"" (" """) (string_content "TEMP") (" """)) () ")"))))) (; ";")) (if_statement "if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }" (if "if") (parenthesized_expression "((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0))" (( "(") (binary_expression "(__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)" (parenthesized_expression "(__name == (uint *)0x0)" (( "(") (binary_expression "__name == (uint *)0x0" (identifier "__name") (== "==") (cast_expression "(uint *)0x0" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(iVar1 = access((char *)__name,7), iVar1 != 0)" (( "(") (comma_expression "iVar1 = access((char *)__name,7), iVar1 != 0" (assignment_expression "iVar1 = access((char *)__name,7)" (identifier "iVar1") (= "=") (call_expression "access((char *)__name,7)" (identifier "access") (argument_list "((char *)__name,7)" (( "(") (cast_expression "(char *)__name" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__name")) (, ",") (number_literal "7") () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      __name = (uint *)&DAT_00015ad7;\n      iVar1 = access("/tmp",7);\n      if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }\n      goto LAB_00013d42;\n    }" ({ "{") (expression_statement "__name = (uint *)&DAT_00015ad7;" (assignment_expression "__name = (uint *)&DAT_00015ad7" (identifier "__name") (= "=") (cast_expression "(uint *)&DAT_00015ad7" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_00015ad7" (& "&") (identifier "DAT_00015ad7")))) (; ";")) (expression_statement "iVar1 = access("/tmp",7);" (assignment_expression "iVar1 = access("/tmp",7)" (identifier "iVar1") (= "=") (call_expression "access("/tmp",7)" (identifier "access") (argument_list "("/tmp",7)" (( "(") (string_literal ""/tmp"" (" """) (string_content "/tmp") (" """)) (, ",") (number_literal "7") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }\n      else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar4 = 5;\n        iVar1 = 6;\n        sVar2 = 4;\n      }" ({ "{") (expression_statement "iVar4 = 5;" (assignment_expression "iVar4 = 5" (identifier "iVar4") (= "=") (number_literal "5")) (; ";")) (expression_statement "iVar1 = 6;" (assignment_expression "iVar1 = 6" (identifier "iVar1") (= "=") (number_literal "6")) (; ";")) (expression_statement "sVar2 = 4;" (assignment_expression "sVar2 = 4" (identifier "sVar2") (= "=") (number_literal "4")) (; ";")) (} "}")) (else_clause "else {\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }" (else "else") (compound_statement "{\n        __name = &DAT_00015b18;\n        iVar1 = access("/var/tmp",7);\n        puVar5 = __name;\n        if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }\n        bVar7 = (uVar3 & 0x8080) == 0;\n        if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }\n        if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }\n        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);\n        iVar1 = sVar2 + 2;\n        iVar4 = sVar2 + 1;\n      }" ({ "{") (expression_statement "__name = &DAT_00015b18;" (assignment_expression "__name = &DAT_00015b18" (identifier "__name") (= "=") (pointer_expression "&DAT_00015b18" (& "&") (identifier "DAT_00015b18"))) (; ";")) (expression_statement "iVar1 = access("/var/tmp",7);" (assignment_expression "iVar1 = access("/var/tmp",7)" (identifier "iVar1") (= "=") (call_expression "access("/var/tmp",7)" (identifier "access") (argument_list "("/var/tmp",7)" (( "(") (string_literal ""/var/tmp"" (" """) (string_content "/var/tmp") (" """)) (, ",") (number_literal "7") () ")")))) (; ";")) (expression_statement "puVar5 = __name;" (assignment_expression "puVar5 = __name" (identifier "puVar5") (= "=") (identifier "__name")) (; ";")) (if_statement "if (iVar1 == 0) {\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }\n        else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);\n        }" ({ "{") (do_statement "do {\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          } while (uVar3 == 0);" (do "do") (compound_statement "{\n            puVar6 = puVar5 + 1;\n            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n            puVar5 = puVar6;\n          }" ({ "{") (expression_statement "puVar6 = puVar5 + 1;" (assignment_expression "puVar6 = puVar5 + 1" (identifier "puVar6") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;" (assignment_expression "uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080" (identifier "uVar3") (= "=") (binary_expression "*puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080" (binary_expression "*puVar5 + 0xfefefeff & ~*puVar5" (binary_expression "*puVar5 + 0xfefefeff" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (+ "+") (number_literal "0xfefefeff")) (& "&") (unary_expression "~*puVar5" (~ "~") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (& "&") (number_literal "0x80808080"))) (; ";")) (expression_statement "puVar5 = puVar6;" (assignment_expression "puVar5 = puVar6" (identifier "puVar5") (= "=") (identifier "puVar6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}")) (else_clause "else {\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }" (else "else") (compound_statement "{\n          __name = &DAT_00015b24;\n          iVar1 = access("/usr/tmp",7);\n          puVar5 = __name;\n          if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }\n        }" ({ "{") (expression_statement "__name = &DAT_00015b24;" (assignment_expression "__name = &DAT_00015b24" (identifier "__name") (= "=") (pointer_expression "&DAT_00015b24" (& "&") (identifier "DAT_00015b24"))) (; ";")) (expression_statement "iVar1 = access("/usr/tmp",7);" (assignment_expression "iVar1 = access("/usr/tmp",7)" (identifier "iVar1") (= "=") (call_expression "access("/usr/tmp",7)" (identifier "access") (argument_list "("/usr/tmp",7)" (( "(") (string_literal ""/usr/tmp"" (" """) (string_content "/usr/tmp") (" """)) (, ",") (number_literal "7") () ")")))) (; ";")) (expression_statement "puVar5 = __name;" (assignment_expression "puVar5 = __name" (identifier "puVar5") (= "=") (identifier "__name")) (; ";")) (if_statement "if (iVar1 == 0) {\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }\n          else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);\n          }" ({ "{") (do_statement "do {\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            } while (uVar3 == 0);" (do "do") (compound_statement "{\n              puVar6 = puVar5 + 1;\n              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;\n              puVar5 = puVar6;\n            }" ({ "{") (expression_statement "puVar6 = puVar5 + 1;" (assignment_expression "puVar6 = puVar5 + 1" (identifier "puVar6") (= "=") (binary_expression "puVar5 + 1" (identifier "puVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;" (assignment_expression "uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080" (identifier "uVar3") (= "=") (binary_expression "*puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080" (binary_expression "*puVar5 + 0xfefefeff & ~*puVar5" (binary_expression "*puVar5 + 0xfefefeff" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (+ "+") (number_literal "0xfefefeff")) (& "&") (unary_expression "~*puVar5" (~ "~") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (& "&") (number_literal "0x80808080"))) (; ";")) (expression_statement "puVar5 = puVar6;" (assignment_expression "puVar5 = puVar6" (identifier "puVar5") (= "=") (identifier "puVar6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}")) (else_clause "else {\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }" (else "else") (compound_statement "{\n            __name = &DAT_00015b30;\n            iVar1 = access("/tmp",7);\n            puVar6 = __name;\n            if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }\n            do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);\n          }" ({ "{") (expression_statement "__name = &DAT_00015b30;" (assignment_expression "__name = &DAT_00015b30" (identifier "__name") (= "=") (pointer_expression "&DAT_00015b30" (& "&") (identifier "DAT_00015b30"))) (; ";")) (expression_statement "iVar1 = access("/tmp",7);" (assignment_expression "iVar1 = access("/tmp",7)" (identifier "iVar1") (= "=") (call_expression "access("/tmp",7)" (identifier "access") (argument_list "("/tmp",7)" (( "(") (string_literal ""/tmp"" (" """) (string_content "/tmp") (" """)) (, ",") (number_literal "7") () ")")))) (; ";")) (expression_statement "puVar6 = __name;" (assignment_expression "puVar6 = __name" (identifier "puVar6") (= "=") (identifier "__name")) (; ";")) (if_statement "if (iVar1 != 0) {\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              iVar4 = 2;\n              iVar1 = 3;\n              sVar2 = 1;\n              __name = (uint *)&DAT_00015adc;\n              goto LAB_00013d42;\n            }" ({ "{") (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" (identifier "iVar4") (= "=") (number_literal "2")) (; ";")) (expression_statement "iVar1 = 3;" (assignment_expression "iVar1 = 3" (identifier "iVar1") (= "=") (number_literal "3")) (; ";")) (expression_statement "sVar2 = 1;" (assignment_expression "sVar2 = 1" (identifier "sVar2") (= "=") (number_literal "1")) (; ";")) (expression_statement "__name = (uint *)&DAT_00015adc;" (assignment_expression "__name = (uint *)&DAT_00015adc" (identifier "__name") (= "=") (cast_expression "(uint *)&DAT_00015adc" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_00015adc" (& "&") (identifier "DAT_00015adc")))) (; ";")) (goto_statement "goto LAB_00013d42;" (goto "goto") (statement_identifier "LAB_00013d42") (; ";")) (} "}"))) (do_statement "do {\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            } while (uVar3 == 0);" (do "do") (compound_statement "{\n              uVar3 = *puVar6;\n              puVar6 = puVar6 + 1;\n              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;\n            }" ({ "{") (expression_statement "uVar3 = *puVar6;" (assignment_expression "uVar3 = *puVar6" (identifier "uVar3") (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "puVar6 = puVar6 + 1;" (assignment_expression "puVar6 = puVar6 + 1" (identifier "puVar6") (= "=") (binary_expression "puVar6 + 1" (identifier "puVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;" (assignment_expression "uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080" (identifier "uVar3") (= "=") (binary_expression "uVar3 + 0xfefefeff & ~uVar3 & 0x80808080" (binary_expression "uVar3 + 0xfefefeff & ~uVar3" (binary_expression "uVar3 + 0xfefefeff" (identifier "uVar3") (+ "+") (number_literal "0xfefefeff")) (& "&") (unary_expression "~uVar3" (~ "~") (identifier "uVar3"))) (& "&") (number_literal "0x80808080"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}")))) (} "}")))) (expression_statement "bVar7 = (uVar3 & 0x8080) == 0;" (assignment_expression "bVar7 = (uVar3 & 0x8080) == 0" (identifier "bVar7") (= "=") (binary_expression "(uVar3 & 0x8080) == 0" (parenthesized_expression "(uVar3 & 0x8080)" (( "(") (binary_expression "uVar3 & 0x8080" (identifier "uVar3") (& "&") (number_literal "0x8080")) () ")")) (== "==") (number_literal "0"))) (; ";")) (if_statement "if (bVar7) {\n          uVar3 = uVar3 >> 0x10;\n        }" (if "if") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (compound_statement "{\n          uVar3 = uVar3 >> 0x10;\n        }" ({ "{") (expression_statement "uVar3 = uVar3 >> 0x10;" (assignment_expression "uVar3 = uVar3 >> 0x10" (identifier "uVar3") (= "=") (binary_expression "uVar3 >> 0x10" (identifier "uVar3") (>> ">>") (number_literal "0x10"))) (; ";")) (} "}"))) (if_statement "if (bVar7) {\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }" (if "if") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (compound_statement "{\n          puVar6 = (uint *)((int)puVar6 + 2);\n        }" ({ "{") (expression_statement "puVar6 = (uint *)((int)puVar6 + 2);" (assignment_expression "puVar6 = (uint *)((int)puVar6 + 2)" (identifier "puVar6") (= "=") (cast_expression "(uint *)((int)puVar6 + 2)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar6 + 2)" (( "(") (binary_expression "(int)puVar6 + 2" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (number_literal "2")) () ")")))) (; ";")) (} "}"))) (expression_statement "sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);" (assignment_expression "sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name)" (identifier "sVar2") (= "=") (binary_expression "(int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name)" (cast_expression "(int)puVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar6")) (+ "+") (parenthesized_expression "((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name)" (( "(") (binary_expression "(-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name" (parenthesized_expression "(-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3))" (( "(") (binary_expression "-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)" (number_literal "-3") (- "-") (cast_expression "(uint)CARRY1((byte)uVar3,(byte)uVar3)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY1((byte)uVar3,(byte)uVar3)" (identifier "CARRY1") (argument_list "((byte)uVar3,(byte)uVar3)" (( "(") (cast_expression "(byte)uVar3" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar3")) (, ",") (cast_expression "(byte)uVar3" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar3")) () ")"))))) () ")")) (- "-") (cast_expression "(int)__name" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__name"))) () ")")))) (; ";")) (expression_statement "iVar1 = sVar2 + 2;" (assignment_expression "iVar1 = sVar2 + 2" (identifier "iVar1") (= "=") (binary_expression "sVar2 + 2" (identifier "sVar2") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar4 = sVar2 + 1;" (assignment_expression "iVar4 = sVar2 + 1" (identifier "iVar4") (= "=") (binary_expression "sVar2 + 1" (identifier "sVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (goto_statement "goto LAB_00013d42;" (goto "goto") (statement_identifier "LAB_00013d42") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }" (else "else") (compound_statement "{\n    getenv("TMP");\nLAB_00013d20:\n    getenv("TEMP");\n  }" ({ "{") (expression_statement "getenv("TMP");" (call_expression "getenv("TMP")" (identifier "getenv") (argument_list "("TMP")" (( "(") (string_literal ""TMP"" (" """) (string_content "TMP") (" """)) () ")"))) (; ";")) (labeled_statement "LAB_00013d20:\n    getenv("TEMP");" (statement_identifier "LAB_00013d20") (: ":") (expression_statement "getenv("TEMP");" (call_expression "getenv("TEMP")" (identifier "getenv") (argument_list "("TEMP")" (( "(") (string_literal ""TEMP"" (" """) (string_content "TEMP") (" """)) () ")"))) (; ";"))) (} "}")))) (expression_statement "sVar2 = strlen((char *)__name);" (assignment_expression "sVar2 = strlen((char *)__name)" (identifier "sVar2") (= "=") (call_expression "strlen((char *)__name)" (identifier "strlen") (argument_list "((char *)__name)" (( "(") (cast_expression "(char *)__name" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__name")) () ")")))) (; ";")) (expression_statement "iVar1 = sVar2 + 2;" (assignment_expression "iVar1 = sVar2 + 2" (identifier "iVar1") (= "=") (binary_expression "sVar2 + 2" (identifier "sVar2") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar4 = sVar2 + 1;" (assignment_expression "iVar4 = sVar2 + 1" (identifier "iVar4") (= "=") (binary_expression "sVar2 + 1" (identifier "sVar2") (+ "+") (number_literal "1"))) (; ";")) (labeled_statement "LAB_00013d42:\n  __dest = (char *)xmalloc(iVar1);" (statement_identifier "LAB_00013d42") (: ":") (expression_statement "__dest = (char *)xmalloc(iVar1);" (assignment_expression "__dest = (char *)xmalloc(iVar1)" (identifier "__dest") (= "=") (cast_expression "(char *)xmalloc(iVar1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(iVar1)" (identifier "xmalloc") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))))) (; ";"))) (expression_statement "strcpy(__dest,(char *)__name);" (call_expression "strcpy(__dest,(char *)__name)" (identifier "strcpy") (argument_list "(__dest,(char *)__name)" (( "(") (identifier "__dest") (, ",") (cast_expression "(char *)__name" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__name")) () ")"))) (; ";")) (expression_statement "__dest[sVar2] = '/';" (assignment_expression "__dest[sVar2] = '/'" (subscript_expression "__dest[sVar2]" (identifier "__dest") ([ "[") (identifier "sVar2") (] "]")) (= "=") (char_literal "'/'" (' "'") (character "/") (' "'"))) (; ";")) (expression_statement "DAT_0001826c = __dest;" (assignment_expression "DAT_0001826c = __dest" (identifier "DAT_0001826c") (= "=") (identifier "__dest")) (; ";")) (expression_statement "__dest[iVar4] = '\0';" (assignment_expression "__dest[iVar4] = '\0'" (subscript_expression "__dest[iVar4]" (identifier "__dest") ([ "[") (identifier "iVar4") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (return_statement "return __dest;" (return "return") (identifier "__dest") (; ";")) (} "}")))

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

char * function_1(void)

{
  char *var_3;
  int var_5;
  char *var_10;
  char *pcVar3;
  type_1 var_7;
  char *pcVar5;
  type_1 *var_6;
  type_1 *var_8;
  bool bVar8;
  
  if (var_1 != (char *)0x0) {
    return var_1;
  }
  var_3 = var_2("TMPDIR");
  if ((var_3 == (char *)0x0) || (var_5 = var_4(var_3,7), var_5 != 0)) {
    var_3 = var_2("TMP");
    if ((var_3 != (char *)0x0) && (var_5 = var_4(var_3,7), var_5 == 0)) goto LAB_00013d20;
    var_3 = var_2("TEMP");
    if ((var_3 == (char *)0x0) || (var_5 = var_4(var_3,7), var_5 != 0)) {
      var_3 = "/tmp";
      var_5 = var_4("/tmp",7);
      if (var_5 == 0) {
        pcVar5 = (char *)0x5;
        pcVar3 = (char *)0x6;
        var_10 = (char *)0x4;
      }
      else {
        var_3 = "/var/tmp";
        var_5 = var_4("/var/tmp",7);
        var_6 = (type_1 *)var_3;
        if (var_5 == 0) {
          do {
            var_8 = var_6 + 1;
            var_7 = *var_6 + 0xfefefeff & ~*var_6 & 0x80808080;
            var_6 = var_8;
          } while (var_7 == 0);
        }
        else {
          var_3 = "/usr/tmp";
          var_5 = var_4("/usr/tmp",7);
          var_6 = (type_1 *)var_3;
          if (var_5 == 0) {
            do {
              var_8 = var_6 + 1;
              var_7 = *var_6 + 0xfefefeff & ~*var_6 & 0x80808080;
              var_6 = var_8;
            } while (var_7 == 0);
          }
          else {
            var_3 = "/tmp";
            var_5 = var_4("/tmp",7);
            var_8 = (type_1 *)var_3;
            if (var_5 != 0) {
              pcVar5 = (char *)0x2;
              pcVar3 = (char *)0x3;
              var_10 = (char *)0x1;
              var_3 = ".";
              goto LAB_00013d42;
            }
            do {
              var_7 = *var_8;
              var_8 = var_8 + 1;
              var_7 = var_7 + 0xfefefeff & ~var_7 & 0x80808080;
            } while (var_7 == 0);
          }
        }
        bVar8 = (var_7 & 0x8080) == 0;
        if (bVar8) {
          var_7 = var_7 >> 0x10;
        }
        if (bVar8) {
          var_8 = (type_1 *)((int)var_8 + 2);
        }
        var_10 = (char *)((int)var_8 + ((-3 - (type_1)var_9((type_2)var_7,(type_2)var_7)) - (int)var_3)
                         );
        pcVar3 = var_10 + 2;
        pcVar5 = var_10 + 1;
      }
      goto LAB_00013d42;
    }
  }
  else {
    var_2("TMP");
LAB_00013d20:
    var_2("TEMP");
  }
  var_10 = (char *)var_11(var_3);
  pcVar3 = var_10 + 2;
  pcVar5 = var_10 + 1;
LAB_00013d42:
  pcVar3 = (char *)var_12(pcVar3);
  var_13(pcVar3,var_3);
  pcVar3[(int)var_10] = '/';
  var_1 = pcVar3;
  pcVar3[(int)pcVar5] = '\0';
  return pcVar3;
}


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

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

char * MASKED(void)

{
  uint *__name;
  int iVar1;
  size_t sVar2;
  char *__dest;
  uint uVar3;
  int iVar4;
  uint *puVar5;
  uint *puVar6;
  bool bVar7;
  
  if (DAT_0001826c != (char *)0x0) {
    return DAT_0001826c;
  }
  __name = (uint *)getenv("TMPDIR");
  if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {
    __name = (uint *)getenv("TMP");
    if ((__name != (uint *)0x0) && (iVar1 = access((char *)__name,7), iVar1 == 0))
    goto LAB_00013d20;
    __name = (uint *)getenv("TEMP");
    if ((__name == (uint *)0x0) || (iVar1 = access((char *)__name,7), iVar1 != 0)) {
      __name = (uint *)&DAT_00015ad7;
      iVar1 = access("/tmp",7);
      if (iVar1 == 0) {
        iVar4 = 5;
        iVar1 = 6;
        sVar2 = 4;
      }
      else {
        __name = &DAT_00015b18;
        iVar1 = access("/var/tmp",7);
        puVar5 = __name;
        if (iVar1 == 0) {
          do {
            puVar6 = puVar5 + 1;
            uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;
            puVar5 = puVar6;
          } while (uVar3 == 0);
        }
        else {
          __name = &DAT_00015b24;
          iVar1 = access("/usr/tmp",7);
          puVar5 = __name;
          if (iVar1 == 0) {
            do {
              puVar6 = puVar5 + 1;
              uVar3 = *puVar5 + 0xfefefeff & ~*puVar5 & 0x80808080;
              puVar5 = puVar6;
            } while (uVar3 == 0);
          }
          else {
            __name = &DAT_00015b30;
            iVar1 = access("/tmp",7);
            puVar6 = __name;
            if (iVar1 != 0) {
              iVar4 = 2;
              iVar1 = 3;
              sVar2 = 1;
              __name = (uint *)&DAT_00015adc;
              goto LAB_00013d42;
            }
            do {
              uVar3 = *puVar6;
              puVar6 = puVar6 + 1;
              uVar3 = uVar3 + 0xfefefeff & ~uVar3 & 0x80808080;
            } while (uVar3 == 0);
          }
        }
        bVar7 = (uVar3 & 0x8080) == 0;
        if (bVar7) {
          uVar3 = uVar3 >> 0x10;
        }
        if (bVar7) {
          puVar6 = (uint *)((int)puVar6 + 2);
        }
        sVar2 = (int)puVar6 + ((-3 - (uint)CARRY1((byte)uVar3,(byte)uVar3)) - (int)__name);
        iVar1 = sVar2 + 2;
        iVar4 = sVar2 + 1;
      }
      goto LAB_00013d42;
    }
  }
  else {
    getenv("TMP");
LAB_00013d20:
    getenv("TEMP");
  }
  sVar2 = strlen((char *)__name);
  iVar1 = sVar2 + 2;
  iVar4 = sVar2 + 1;
LAB_00013d42:
  __dest = (char *)xmalloc(iVar1);
  strcpy(__dest,(char *)__name);
  __dest[sVar2] = '/';
  DAT_0001826c = __dest;
  __dest[iVar4] = '\0';
  return __dest;
}

