
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

CURLcode curl_mime_filedata(curl_mimepart *part,char *filename)

{
  int iVar1;
  curl_strdup_callback p_Var2;
  int iVar3;
  char *pcVar4;
  char *pcVar5;
  CURLcode CVar6;
  CURLcode CVar7;
  int in_GS_OFFSET;
  stat sbuf;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if (part == (curl_mimepart *)0x0) {
    CVar7 = CURLE_BAD_FUNCTION_ARGUMENT;
    goto LAB_00067eca;
  }
  if (part->freefunc != (curl_free_callback)0x0) {
    (*part->freefunc)(part->arg);
  }
  part->readfunc = (curl_read_callback)0x0;
  CVar7 = CURLE_OK;
  part->seekfunc = (curl_seek_callback)0x0;
  part->freefunc = (curl_free_callback)0x0;
  part->arg = part;
  part->data = (char *)0x0;
  part->fp = (FILE *)0x0;
  *(undefined4 *)&part->datasize = 0;
  *(undefined4 *)((int)&part->datasize + 4) = 0;
  (part->encstate).pos = 0;
  (part->encstate).bufbeg = 0;
  (part->encstate).bufend = 0;
  part->kind = MIMEKIND_NONE;
  if (filename == (char *)0x0) goto LAB_00067eca;
  iVar3 = __xstat64(3,filename,(stat64 *)&sbuf);
  if (iVar3 == 0) {
    iVar3 = access(filename,4);
    if (iVar3 != 0) goto LAB_00067e1e;
    pcVar4 = (*Curl_cstrdup)(filename);
    part->data = pcVar4;
    if (pcVar4 == (char *)0x0) goto LAB_00067e3c;
    *(undefined4 *)&part->datasize = 0xffffffff;
    *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;
    if ((sbuf.st_mode & 0xf000) == 0x8000) {
      *(undefined4 *)&part->datasize = (undefined4)sbuf.st_size;
      *(undefined4 *)((int)&part->datasize + 4) = sbuf.st_size._4_4_;
      part->seekfunc = mime_file_seek;
    }
  }
  else {
LAB_00067e1e:
    pcVar4 = (*Curl_cstrdup)(filename);
    part->data = pcVar4;
    if (pcVar4 == (char *)0x0) {
LAB_00067e3c:
      *(undefined4 *)&part->datasize = 0xffffffff;
      CVar7 = CURLE_OUT_OF_MEMORY;
      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;
    }
    else {
      *(undefined4 *)&part->datasize = 0xffffffff;
      CVar7 = CURLE_READ_ERROR;
      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;
    }
  }
  part->kind = MIMEKIND_FILE;
  part->readfunc = mime_file_read;
  part->freefunc = mime_file_free;
  pcVar4 = (*Curl_cstrdup)(filename);
  p_Var2 = Curl_cstrdup;
  if (pcVar4 != (char *)0x0) {
    pcVar5 = __xpg_basename(pcVar4);
    pcVar5 = (*p_Var2)(pcVar5);
    (*Curl_cfree)(pcVar4);
    if (pcVar5 != (char *)0x0) {
      CVar6 = curl_mime_filename(part,pcVar5);
      if (CVar6 != CURLE_OK) {
        CVar7 = CVar6;
      }
      (*Curl_cfree)(pcVar5);
      goto LAB_00067eca;
    }
  }
  CVar7 = CURLE_OUT_OF_MEMORY;
LAB_00067eca:
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return CVar7;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



int curl_mime_filedata(char *param_1)

{
  code *pcVar1;
  int iVar2;
  char *__path;
  char *pcVar3;
  int iVar4;
  int unaff_EBX;
  int iVar5;
  int in_GS_OFFSET;
  int unaff_retaddr;
  undefined4 *local_94;
  stat64 local_84;
  int local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0x67d69;
  entry();
  local_24 = *(int *)(in_GS_OFFSET + 0x14);
  if (unaff_retaddr == 0) {
    iVar5 = 0x2b;
    goto LAB_00067eca;
  }
  if (*(code **)(unaff_retaddr + 0x1c) != (code *)0x0) {
    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));
  }
  *(undefined4 *)(unaff_retaddr + 0x14) = 0;
  iVar5 = 0;
  *(undefined4 *)(unaff_retaddr + 0x18) = 0;
  *(undefined4 *)(unaff_retaddr + 0x1c) = 0;
  *(int *)(unaff_retaddr + 0x20) = unaff_retaddr;
  *(undefined4 *)(unaff_retaddr + 0x10) = 0;
  *(undefined4 *)(unaff_retaddr + 0x24) = 0;
  *(undefined4 *)(unaff_retaddr + 0x3c) = 0;
  *(undefined4 *)(unaff_retaddr + 0x40) = 0;
  *(undefined4 *)(unaff_retaddr + 0x58) = 0;
  *(undefined4 *)(unaff_retaddr + 0x5c) = 0;
  *(undefined4 *)(unaff_retaddr + 0x60) = 0;
  *(undefined4 *)(unaff_retaddr + 0xc) = 0;
  if (param_1 == (char *)0x0) goto LAB_00067eca;
  iVar2 = __xstat64(3,param_1,&local_84);
  if (iVar2 == 0) {
    iVar2 = access(param_1,4);
    if (iVar2 != 0) goto LAB_00067e1e;
    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);
    *(int *)(unaff_retaddr + 0x10) = iVar2;
    if (iVar2 == 0) goto LAB_00067e3c;
    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;
    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;
    if ((local_84.st_mode & 0xf000) == 0x8000) {
      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;
      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;
      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;
    }
  }
  else {
LAB_00067e1e:
    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);
    *(int *)(unaff_retaddr + 0x10) = iVar5;
    if (iVar5 == 0) {
LAB_00067e3c:
      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;
      iVar5 = 0x1b;
      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;
    }
    else {
      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;
      iVar5 = 0x1a;
      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;
    }
  }
  local_94 = (undefined4 *)(unaff_EBX + 0x492fb);
  *(undefined4 *)(unaff_retaddr + 0xc) = 2;
  *(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9;
  *(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59;
  __path = (char *)(*(code *)*local_94)(param_1);
  if (__path != (char *)0x0) {
    pcVar1 = (code *)*local_94;
    pcVar3 = __xpg_basename(__path);
    iVar2 = (*pcVar1)(pcVar3);
    (**(code **)(unaff_EBX + 0x49303))(__path);
    if (iVar2 != 0) {
      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);
      if (iVar4 != 0) {
        iVar5 = iVar4;
      }
      (**(code **)(unaff_EBX + 0x49303))(iVar2);
      goto LAB_00067eca;
    }
  }
  iVar5 = 0x1b;
LAB_00067eca:
  if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar5;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0007c1a0();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00019ed0
ADD EBX,0x48a77
SUB ESP,0x8c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x7c],EAX
XOR EAX,EAX
MOV ESI,dword ptr [ESP + 0xa0]
MOV EBP,dword ptr [ESP + 0xa4]
TEST ESI,ESI
JZ 0x00067f78
MOV EAX,dword ptr [ESI + 0x1c]
TEST EAX,EAX
JZ 0x00067da9
SUB ESP,0xc
PUSH dword ptr [ESI + 0x20]
CALL EAX
ADD ESP,0x10
MOV dword ptr [ESI + 0x14],0x0
XOR EDI,EDI
MOV dword ptr [ESI + 0x18],0x0
MOV dword ptr [ESI + 0x1c],0x0
MOV dword ptr [ESI + 0x20],ESI
MOV dword ptr [ESI + 0x10],0x0
MOV dword ptr [ESI + 0x24],0x0
MOV dword ptr [ESI + 0x3c],0x0
MOV dword ptr [ESI + 0x40],0x0
MOV dword ptr [ESI + 0x58],0x0
MOV dword ptr [ESI + 0x5c],0x0
MOV dword ptr [ESI + 0x60],0x0
MOV dword ptr [ESI + 0xc],0x0
TEST EBP,EBP
JZ 0x00067eca
SUB ESP,0x4
LEA EAX,[ESP + 0x20]
PUSH EAX
PUSH EBP
PUSH 0x3
CALL 0x00019b20
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00067f00
LEA EAX,[EBX + 0x884]
SUB ESP,0xc
MOV dword ptr [ESP + 0x18],EAX
PUSH EBP
CALL dword ptr [EAX]
MOV dword ptr [ESI + 0x10],EAX
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00067f88
MOV dword ptr [ESI + 0x3c],0xffffffff
MOV EDI,0x1b
MOV dword ptr [ESI + 0x40],0xffffffff
LEA EAX,[EBX + 0xfffb6790]
SUB ESP,0xc
MOV dword ptr [ESI + 0xc],0x2
MOV dword ptr [ESI + 0x14],EAX
LEA EAX,[EBX + 0xfffb6630]
MOV dword ptr [ESI + 0x1c],EAX
PUSH EBP
MOV EAX,dword ptr [ESP + 0x1c]
CALL dword ptr [EAX]
MOV EDX,EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00067ef0
MOV EAX,dword ptr [ESP + 0xc]
SUB ESP,0xc
MOV EBP,dword ptr [EAX]
PUSH EDX
MOV dword ptr [ESP + 0x1c],EDX
CALL 0x00018cf0
MOV dword ptr [ESP],EAX
CALL EBP
MOV EDX,dword ptr [ESP + 0x1c]
MOV EBP,EAX
LEA EAX,[EBX + 0x88c]
MOV dword ptr [ESP],EDX
MOV dword ptr [ESP + 0x1c],EAX
CALL dword ptr [EAX]
ADD ESP,0x10
TEST EBP,EBP
JZ 0x00067ef0
SUB ESP,0x8
PUSH EBP
PUSH ESI
CALL 0x000180c0
MOV dword ptr [ESP],EBP
TEST EAX,EAX
CMOVNZ EDI,EAX
MOV EAX,dword ptr [ESP + 0x1c]
CALL dword ptr [EAX]
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x7c]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,EDI
JNZ 0x00067fa0
ADD ESP,0x8c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDI,0x1b
JMP 0x00067eca
SUB ESP,0x8
PUSH 0x4
PUSH EBP
CALL 0x00018210
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00067e1e
LEA EAX,[EBX + 0x884]
SUB ESP,0xc
MOV dword ptr [ESP + 0x18],EAX
PUSH EBP
CALL dword ptr [EAX]
MOV dword ptr [ESI + 0x10],EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00067e3c
MOV EAX,dword ptr [ESP + 0x2c]
MOV dword ptr [ESI + 0x3c],0xffffffff
MOV dword ptr [ESI + 0x40],0xffffffff
AND EAX,0xf000
CMP EAX,0x8000
JNZ 0x00067e4f
MOV EAX,dword ptr [ESP + 0x48]
MOV EDX,dword ptr [ESP + 0x4c]
MOV dword ptr [ESI + 0x3c],EAX
LEA EAX,[EBX + 0xfffb6f30]
MOV dword ptr [ESI + 0x40],EDX
MOV dword ptr [ESI + 0x18],EAX
JMP 0x00067e4f
MOV EDI,0x2b
JMP 0x00067eca
MOV dword ptr [ESI + 0x3c],0xffffffff
MOV EDI,0x1a
MOV dword ptr [ESI + 0x40],0xffffffff
JMP 0x00067e4f
CALL 0x0007c1a0
(translation_unit "int curl_mime_filedata(char *param_1)\n\n{\n  code *pcVar1;\n  int iVar2;\n  char *__path;\n  char *pcVar3;\n  int iVar4;\n  int unaff_EBX;\n  int iVar5;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  undefined4 *local_94;\n  stat64 local_84;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67d69;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  if (unaff_retaddr == 0) {\n    iVar5 = 0x2b;\n    goto LAB_00067eca;\n  }\n  if (*(code **)(unaff_retaddr + 0x1c) != (code *)0x0) {\n    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));\n  }\n  *(undefined4 *)(unaff_retaddr + 0x14) = 0;\n  iVar5 = 0;\n  *(undefined4 *)(unaff_retaddr + 0x18) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x1c) = 0;\n  *(int *)(unaff_retaddr + 0x20) = unaff_retaddr;\n  *(undefined4 *)(unaff_retaddr + 0x10) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x24) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x3c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc) = 0;\n  if (param_1 == (char *)0x0) goto LAB_00067eca;\n  iVar2 = __xstat64(3,param_1,&local_84);\n  if (iVar2 == 0) {\n    iVar2 = access(param_1,4);\n    if (iVar2 != 0) goto LAB_00067e1e;\n    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar2;\n    if (iVar2 == 0) goto LAB_00067e3c;\n    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }\n  }\n  else {\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }\n  local_94 = (undefined4 *)(unaff_EBX + 0x492fb);\n  *(undefined4 *)(unaff_retaddr + 0xc) = 2;\n  *(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9;\n  *(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59;\n  __path = (char *)(*(code *)*local_94)(param_1);\n  if (__path != (char *)0x0) {\n    pcVar1 = (code *)*local_94;\n    pcVar3 = __xpg_basename(__path);\n    iVar2 = (*pcVar1)(pcVar3);\n    (**(code **)(unaff_EBX + 0x49303))(__path);\n    if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }\n  }\n  iVar5 = 0x1b;\nLAB_00067eca:\n  if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007c1a0();\n}\n\n" (function_definition "int curl_mime_filedata(char *param_1)\n\n{\n  code *pcVar1;\n  int iVar2;\n  char *__path;\n  char *pcVar3;\n  int iVar4;\n  int unaff_EBX;\n  int iVar5;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  undefined4 *local_94;\n  stat64 local_84;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67d69;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  if (unaff_retaddr == 0) {\n    iVar5 = 0x2b;\n    goto LAB_00067eca;\n  }\n  if (*(code **)(unaff_retaddr + 0x1c) != (code *)0x0) {\n    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));\n  }\n  *(undefined4 *)(unaff_retaddr + 0x14) = 0;\n  iVar5 = 0;\n  *(undefined4 *)(unaff_retaddr + 0x18) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x1c) = 0;\n  *(int *)(unaff_retaddr + 0x20) = unaff_retaddr;\n  *(undefined4 *)(unaff_retaddr + 0x10) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x24) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x3c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc) = 0;\n  if (param_1 == (char *)0x0) goto LAB_00067eca;\n  iVar2 = __xstat64(3,param_1,&local_84);\n  if (iVar2 == 0) {\n    iVar2 = access(param_1,4);\n    if (iVar2 != 0) goto LAB_00067e1e;\n    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar2;\n    if (iVar2 == 0) goto LAB_00067e3c;\n    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }\n  }\n  else {\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }\n  local_94 = (undefined4 *)(unaff_EBX + 0x492fb);\n  *(undefined4 *)(unaff_retaddr + 0xc) = 2;\n  *(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9;\n  *(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59;\n  __path = (char *)(*(code *)*local_94)(param_1);\n  if (__path != (char *)0x0) {\n    pcVar1 = (code *)*local_94;\n    pcVar3 = __xpg_basename(__path);\n    iVar2 = (*pcVar1)(pcVar3);\n    (**(code **)(unaff_EBX + 0x49303))(__path);\n    if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }\n  }\n  iVar5 = 0x1b;\nLAB_00067eca:\n  if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007c1a0();\n}" primitive_type (function_declarator "curl_mime_filedata(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  char *__path;\n  char *pcVar3;\n  int iVar4;\n  int unaff_EBX;\n  int iVar5;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  undefined4 *local_94;\n  stat64 local_84;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67d69;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  if (unaff_retaddr == 0) {\n    iVar5 = 0x2b;\n    goto LAB_00067eca;\n  }\n  if (*(code **)(unaff_retaddr + 0x1c) != (code *)0x0) {\n    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));\n  }\n  *(undefined4 *)(unaff_retaddr + 0x14) = 0;\n  iVar5 = 0;\n  *(undefined4 *)(unaff_retaddr + 0x18) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x1c) = 0;\n  *(int *)(unaff_retaddr + 0x20) = unaff_retaddr;\n  *(undefined4 *)(unaff_retaddr + 0x10) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x24) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x3c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc) = 0;\n  if (param_1 == (char *)0x0) goto LAB_00067eca;\n  iVar2 = __xstat64(3,param_1,&local_84);\n  if (iVar2 == 0) {\n    iVar2 = access(param_1,4);\n    if (iVar2 != 0) goto LAB_00067e1e;\n    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar2;\n    if (iVar2 == 0) goto LAB_00067e3c;\n    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }\n  }\n  else {\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }\n  local_94 = (undefined4 *)(unaff_EBX + 0x492fb);\n  *(undefined4 *)(unaff_retaddr + 0xc) = 2;\n  *(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9;\n  *(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59;\n  __path = (char *)(*(code *)*local_94)(param_1);\n  if (__path != (char *)0x0) {\n    pcVar1 = (code *)*local_94;\n    pcVar3 = __xpg_basename(__path);\n    iVar2 = (*pcVar1)(pcVar3);\n    (**(code **)(unaff_EBX + 0x49303))(__path);\n    if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }\n  }\n  iVar5 = 0x1b;\nLAB_00067eca:\n  if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0007c1a0();\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *__path;" primitive_type (pointer_declarator "*__path" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int unaff_retaddr;" primitive_type identifier ;) (declaration "undefined4 *local_94;" type_identifier (pointer_declarator "*local_94" * identifier) ;) (declaration "stat64 local_84;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x67d69;" (assignment_expression "uStack_14 = 0x67d69" identifier = number_literal) ;) (expression_statement "entry();" (call_expression "entry()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_24 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_24 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (unaff_retaddr == 0) {\n    iVar5 = 0x2b;\n    goto LAB_00067eca;\n  }" if (parenthesized_expression "(unaff_retaddr == 0)" ( (binary_expression "unaff_retaddr == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = 0x2b;\n    goto LAB_00067eca;\n  }" { (expression_statement "iVar5 = 0x2b;" (assignment_expression "iVar5 = 0x2b" identifier = number_literal) ;) (goto_statement "goto LAB_00067eca;" goto statement_identifier ;) })) (if_statement "if (*(code **)(unaff_retaddr + 0x1c) != (code *)0x0) {\n    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));\n  }" if (parenthesized_expression "(*(code **)(unaff_retaddr + 0x1c) != (code *)0x0)" ( (binary_expression "*(code **)(unaff_retaddr + 0x1c) != (code *)0x0" (pointer_expression "*(code **)(unaff_retaddr + 0x1c)" * (cast_expression "(code **)(unaff_retaddr + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) )))) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));\n  }" { (expression_statement "(**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));" (call_expression "(**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20))" (parenthesized_expression "(**(code **)(unaff_retaddr + 0x1c))" ( (pointer_expression "**(code **)(unaff_retaddr + 0x1c)" * (pointer_expression "*(code **)(unaff_retaddr + 0x1c)" * (cast_expression "(code **)(unaff_retaddr + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(unaff_retaddr + 0x20))" ( (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x20)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x20)" ( (binary_expression "unaff_retaddr + 0x20" identifier + number_literal) )))) ))) ;) })) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x14) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x14) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x14)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x14)" ( (binary_expression "unaff_retaddr + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x18) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x18) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x18)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x18)" ( (binary_expression "unaff_retaddr + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x1c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x1c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(unaff_retaddr + 0x20) = unaff_retaddr;" (assignment_expression "*(int *)(unaff_retaddr + 0x20) = unaff_retaddr" (pointer_expression "*(int *)(unaff_retaddr + 0x20)" * (cast_expression "(int *)(unaff_retaddr + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x20)" ( (binary_expression "unaff_retaddr + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x10) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x10) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x10)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x10)" ( (binary_expression "unaff_retaddr + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x24) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x24) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x24)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x24)" ( (binary_expression "unaff_retaddr + 0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x3c)" ( (binary_expression "unaff_retaddr + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x40)" ( (binary_expression "unaff_retaddr + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x58) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x58) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x58)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x58)" ( (binary_expression "unaff_retaddr + 0x58" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x5c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x5c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x5c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x5c)" ( (binary_expression "unaff_retaddr + 0x5c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x60) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x60) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x60)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x60)" ( (binary_expression "unaff_retaddr + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc)" ( (binary_expression "unaff_retaddr + 0xc" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (param_1 == (char *)0x0) goto LAB_00067eca;" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00067eca;" goto statement_identifier ;)) (expression_statement "iVar2 = __xstat64(3,param_1,&local_84);" (assignment_expression "iVar2 = __xstat64(3,param_1,&local_84)" identifier = (call_expression "__xstat64(3,param_1,&local_84)" identifier (argument_list "(3,param_1,&local_84)" ( number_literal , identifier , (pointer_expression "&local_84" & identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n    iVar2 = access(param_1,4);\n    if (iVar2 != 0) goto LAB_00067e1e;\n    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar2;\n    if (iVar2 == 0) goto LAB_00067e3c;\n    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }\n  }\n  else {\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = access(param_1,4);\n    if (iVar2 != 0) goto LAB_00067e1e;\n    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar2;\n    if (iVar2 == 0) goto LAB_00067e3c;\n    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }\n  }" { (expression_statement "iVar2 = access(param_1,4);" (assignment_expression "iVar2 = access(param_1,4)" identifier = (call_expression "access(param_1,4)" identifier (argument_list "(param_1,4)" ( identifier , number_literal )))) ;) (if_statement "if (iVar2 != 0) goto LAB_00067e1e;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00067e1e;" goto statement_identifier ;)) (expression_statement "iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);" (assignment_expression "iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1)" identifier = (call_expression "(**(code **)(unaff_EBX + 0x492fb))(param_1)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x492fb))" ( (pointer_expression "**(code **)(unaff_EBX + 0x492fb)" * (pointer_expression "*(code **)(unaff_EBX + 0x492fb)" * (cast_expression "(code **)(unaff_EBX + 0x492fb)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x492fb)" ( (binary_expression "unaff_EBX + 0x492fb" identifier + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*(int *)(unaff_retaddr + 0x10) = iVar2;" (assignment_expression "*(int *)(unaff_retaddr + 0x10) = iVar2" (pointer_expression "*(int *)(unaff_retaddr + 0x10)" * (cast_expression "(int *)(unaff_retaddr + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x10)" ( (binary_expression "unaff_retaddr + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar2 == 0) goto LAB_00067e3c;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00067e3c;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x3c)" ( (binary_expression "unaff_retaddr + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x40)" ( (binary_expression "unaff_retaddr + 0x40" identifier + number_literal) )))) = number_literal) ;) (if_statement "if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }" if (parenthesized_expression "((local_84.st_mode & 0xf000) == 0x8000)" ( (binary_expression "(local_84.st_mode & 0xf000) == 0x8000" (parenthesized_expression "(local_84.st_mode & 0xf000)" ( (binary_expression "local_84.st_mode & 0xf000" (field_expression "local_84.st_mode" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }" { (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x3c)" ( (binary_expression "unaff_retaddr + 0x3c" identifier + number_literal) )))) = (cast_expression "(undefined4)local_84.st_size" ( (type_descriptor "undefined4" type_identifier) ) (field_expression "local_84.st_size" identifier . field_identifier))) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x40)" ( (binary_expression "unaff_retaddr + 0x40" identifier + number_literal) )))) = (field_expression "local_84.st_size._4_4_" (field_expression "local_84.st_size" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;" (assignment_expression "*(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659" (pointer_expression "*(int *)(unaff_retaddr + 0x18)" * (cast_expression "(int *)(unaff_retaddr + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x18)" ( (binary_expression "unaff_retaddr + 0x18" identifier + number_literal) )))) = (binary_expression "unaff_EBX + -0x659" identifier + number_literal)) ;) })) }) (else_clause "else {\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }" else (compound_statement "{\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }" { (labeled_statement "LAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);" statement_identifier : (expression_statement "iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);" (assignment_expression "iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1)" identifier = (call_expression "(**(code **)(unaff_EBX + 0x492fb))(param_1)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x492fb))" ( (pointer_expression "**(code **)(unaff_EBX + 0x492fb)" * (pointer_expression "*(code **)(unaff_EBX + 0x492fb)" * (cast_expression "(code **)(unaff_EBX + 0x492fb)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x492fb)" ( (binary_expression "unaff_EBX + 0x492fb" identifier + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;)) (expression_statement "*(int *)(unaff_retaddr + 0x10) = iVar5;" (assignment_expression "*(int *)(unaff_retaddr + 0x10) = iVar5" (pointer_expression "*(int *)(unaff_retaddr + 0x10)" * (cast_expression "(int *)(unaff_retaddr + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x10)" ( (binary_expression "unaff_retaddr + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }" { (labeled_statement "LAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;" statement_identifier : (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x3c)" ( (binary_expression "unaff_retaddr + 0x3c" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "iVar5 = 0x1b;" (assignment_expression "iVar5 = 0x1b" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x40)" ( (binary_expression "unaff_retaddr + 0x40" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }" else (compound_statement "{\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }" { (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x3c)" ( (binary_expression "unaff_retaddr + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar5 = 0x1a;" (assignment_expression "iVar5 = 0x1a" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x40)" ( (binary_expression "unaff_retaddr + 0x40" identifier + number_literal) )))) = number_literal) ;) }))) }))) (expression_statement "local_94 = (undefined4 *)(unaff_EBX + 0x492fb);" (assignment_expression "local_94 = (undefined4 *)(unaff_EBX + 0x492fb)" identifier = (cast_expression "(undefined4 *)(unaff_EBX + 0x492fb)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBX + 0x492fb)" ( (binary_expression "unaff_EBX + 0x492fb" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc) = 2;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc) = 2" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc)" ( (binary_expression "unaff_retaddr + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9;" (assignment_expression "*(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9" (pointer_expression "*(int *)(unaff_retaddr + 0x14)" * (cast_expression "(int *)(unaff_retaddr + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x14)" ( (binary_expression "unaff_retaddr + 0x14" identifier + number_literal) )))) = (binary_expression "unaff_EBX + -0xdf9" identifier + number_literal)) ;) (expression_statement "*(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59;" (assignment_expression "*(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59" (pointer_expression "*(int *)(unaff_retaddr + 0x1c)" * (cast_expression "(int *)(unaff_retaddr + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) )))) = (binary_expression "unaff_EBX + -0xf59" identifier + number_literal)) ;) (expression_statement "__path = (char *)(*(code *)*local_94)(param_1);" (assignment_expression "__path = (char *)(*(code *)*local_94)(param_1)" identifier = (cast_expression "(char *)(*(code *)*local_94)(param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)*local_94)(param_1)" (parenthesized_expression "(*(code *)*local_94)" ( (pointer_expression "*(code *)*local_94" * (cast_expression "(code *)*local_94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_94" * identifier))) )) (argument_list "(param_1)" ( identifier ))))) ;) (if_statement "if (__path != (char *)0x0) {\n    pcVar1 = (code *)*local_94;\n    pcVar3 = __xpg_basename(__path);\n    iVar2 = (*pcVar1)(pcVar3);\n    (**(code **)(unaff_EBX + 0x49303))(__path);\n    if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }\n  }" if (parenthesized_expression "(__path != (char *)0x0)" ( (binary_expression "__path != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar1 = (code *)*local_94;\n    pcVar3 = __xpg_basename(__path);\n    iVar2 = (*pcVar1)(pcVar3);\n    (**(code **)(unaff_EBX + 0x49303))(__path);\n    if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }\n  }" { (expression_statement "pcVar1 = (code *)*local_94;" (assignment_expression "pcVar1 = (code *)*local_94" identifier = (cast_expression "(code *)*local_94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_94" * identifier))) ;) (expression_statement "pcVar3 = __xpg_basename(__path);" (assignment_expression "pcVar3 = __xpg_basename(__path)" identifier = (call_expression "__xpg_basename(__path)" identifier (argument_list "(__path)" ( identifier )))) ;) (expression_statement "iVar2 = (*pcVar1)(pcVar3);" (assignment_expression "iVar2 = (*pcVar1)(pcVar3)" identifier = (call_expression "(*pcVar1)(pcVar3)" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "(pcVar3)" ( identifier )))) ;) (expression_statement "(**(code **)(unaff_EBX + 0x49303))(__path);" (call_expression "(**(code **)(unaff_EBX + 0x49303))(__path)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x49303))" ( (pointer_expression "**(code **)(unaff_EBX + 0x49303)" * (pointer_expression "*(code **)(unaff_EBX + 0x49303)" * (cast_expression "(code **)(unaff_EBX + 0x49303)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x49303)" ( (binary_expression "unaff_EBX + 0x49303" identifier + number_literal) ))))) )) (argument_list "(__path)" ( identifier ))) ;) (if_statement "if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }" { (expression_statement "iVar4 = curl_mime_filename(unaff_retaddr,iVar2);" (assignment_expression "iVar4 = curl_mime_filename(unaff_retaddr,iVar2)" identifier = (call_expression "curl_mime_filename(unaff_retaddr,iVar2)" identifier (argument_list "(unaff_retaddr,iVar2)" ( identifier , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar5 = iVar4;\n      }" { (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) })) (expression_statement "(**(code **)(unaff_EBX + 0x49303))(iVar2);" (call_expression "(**(code **)(unaff_EBX + 0x49303))(iVar2)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x49303))" ( (pointer_expression "**(code **)(unaff_EBX + 0x49303)" * (pointer_expression "*(code **)(unaff_EBX + 0x49303)" * (cast_expression "(code **)(unaff_EBX + 0x49303)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x49303)" ( (binary_expression "unaff_EBX + 0x49303" identifier + number_literal) ))))) )) (argument_list "(iVar2)" ( identifier ))) ;) (goto_statement "goto LAB_00067eca;" goto statement_identifier ;) })) })) (expression_statement "iVar5 = 0x1b;" (assignment_expression "iVar5 = 0x1b" identifier = number_literal) ;) (labeled_statement "LAB_00067eca:\n  if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" if (parenthesized_expression "(local_24 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_24 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) comment (expression_statement "FUN_0007c1a0();" (call_expression "FUN_0007c1a0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nCURLcode curl_mime_filedata(curl_mimepart *part,char *filename)\n\n{\n  int iVar1;\n  curl_strdup_callback p_Var2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  CURLcode CVar6;\n  CURLcode CVar7;\n  int in_GS_OFFSET;\n  stat sbuf;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (part == (curl_mimepart *)0x0) {\n    CVar7 = CURLE_BAD_FUNCTION_ARGUMENT;\n    goto LAB_00067eca;\n  }\n  if (part->freefunc != (curl_free_callback)0x0) {\n    (*part->freefunc)(part->arg);\n  }\n  part->readfunc = (curl_read_callback)0x0;\n  CVar7 = CURLE_OK;\n  part->seekfunc = (curl_seek_callback)0x0;\n  part->freefunc = (curl_free_callback)0x0;\n  part->arg = part;\n  part->data = (char *)0x0;\n  part->fp = (FILE *)0x0;\n  *(undefined4 *)&part->datasize = 0;\n  *(undefined4 *)((int)&part->datasize + 4) = 0;\n  (part->encstate).pos = 0;\n  (part->encstate).bufbeg = 0;\n  (part->encstate).bufend = 0;\n  part->kind = MIMEKIND_NONE;\n  if (filename == (char *)0x0) goto LAB_00067eca;\n  iVar3 = __xstat64(3,filename,(stat64 *)&sbuf);\n  if (iVar3 == 0) {\n    iVar3 = access(filename,4);\n    if (iVar3 != 0) goto LAB_00067e1e;\n    pcVar4 = (*Curl_cstrdup)(filename);\n    part->data = pcVar4;\n    if (pcVar4 == (char *)0x0) goto LAB_00067e3c;\n    *(undefined4 *)&part->datasize = 0xffffffff;\n    *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    if ((sbuf.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)&part->datasize = (undefined4)sbuf.st_size;\n      *(undefined4 *)((int)&part->datasize + 4) = sbuf.st_size._4_4_;\n      part->seekfunc = mime_file_seek;\n    }\n  }\n  else {\nLAB_00067e1e:\n    pcVar4 = (*Curl_cstrdup)(filename);\n    part->data = pcVar4;\n    if (pcVar4 == (char *)0x0) {\nLAB_00067e3c:\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_OUT_OF_MEMORY;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_READ_ERROR;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }\n  }\n  part->kind = MIMEKIND_FILE;\n  part->readfunc = mime_file_read;\n  part->freefunc = mime_file_free;\n  pcVar4 = (*Curl_cstrdup)(filename);\n  p_Var2 = Curl_cstrdup;\n  if (pcVar4 != (char *)0x0) {\n    pcVar5 = __xpg_basename(pcVar4);\n    pcVar5 = (*p_Var2)(pcVar5);\n    (*Curl_cfree)(pcVar4);\n    if (pcVar5 != (char *)0x0) {\n      CVar6 = curl_mime_filename(part,pcVar5);\n      if (CVar6 != CURLE_OK) {\n        CVar7 = CVar6;\n      }\n      (*Curl_cfree)(pcVar5);\n      goto LAB_00067eca;\n    }\n  }\n  CVar7 = CURLE_OUT_OF_MEMORY;\nLAB_00067eca:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return CVar7;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment comment (function_definition "CURLcode curl_mime_filedata(curl_mimepart *part,char *filename)\n\n{\n  int iVar1;\n  curl_strdup_callback p_Var2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  CURLcode CVar6;\n  CURLcode CVar7;\n  int in_GS_OFFSET;\n  stat sbuf;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (part == (curl_mimepart *)0x0) {\n    CVar7 = CURLE_BAD_FUNCTION_ARGUMENT;\n    goto LAB_00067eca;\n  }\n  if (part->freefunc != (curl_free_callback)0x0) {\n    (*part->freefunc)(part->arg);\n  }\n  part->readfunc = (curl_read_callback)0x0;\n  CVar7 = CURLE_OK;\n  part->seekfunc = (curl_seek_callback)0x0;\n  part->freefunc = (curl_free_callback)0x0;\n  part->arg = part;\n  part->data = (char *)0x0;\n  part->fp = (FILE *)0x0;\n  *(undefined4 *)&part->datasize = 0;\n  *(undefined4 *)((int)&part->datasize + 4) = 0;\n  (part->encstate).pos = 0;\n  (part->encstate).bufbeg = 0;\n  (part->encstate).bufend = 0;\n  part->kind = MIMEKIND_NONE;\n  if (filename == (char *)0x0) goto LAB_00067eca;\n  iVar3 = __xstat64(3,filename,(stat64 *)&sbuf);\n  if (iVar3 == 0) {\n    iVar3 = access(filename,4);\n    if (iVar3 != 0) goto LAB_00067e1e;\n    pcVar4 = (*Curl_cstrdup)(filename);\n    part->data = pcVar4;\n    if (pcVar4 == (char *)0x0) goto LAB_00067e3c;\n    *(undefined4 *)&part->datasize = 0xffffffff;\n    *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    if ((sbuf.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)&part->datasize = (undefined4)sbuf.st_size;\n      *(undefined4 *)((int)&part->datasize + 4) = sbuf.st_size._4_4_;\n      part->seekfunc = mime_file_seek;\n    }\n  }\n  else {\nLAB_00067e1e:\n    pcVar4 = (*Curl_cstrdup)(filename);\n    part->data = pcVar4;\n    if (pcVar4 == (char *)0x0) {\nLAB_00067e3c:\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_OUT_OF_MEMORY;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_READ_ERROR;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }\n  }\n  part->kind = MIMEKIND_FILE;\n  part->readfunc = mime_file_read;\n  part->freefunc = mime_file_free;\n  pcVar4 = (*Curl_cstrdup)(filename);\n  p_Var2 = Curl_cstrdup;\n  if (pcVar4 != (char *)0x0) {\n    pcVar5 = __xpg_basename(pcVar4);\n    pcVar5 = (*p_Var2)(pcVar5);\n    (*Curl_cfree)(pcVar4);\n    if (pcVar5 != (char *)0x0) {\n      CVar6 = curl_mime_filename(part,pcVar5);\n      if (CVar6 != CURLE_OK) {\n        CVar7 = CVar6;\n      }\n      (*Curl_cfree)(pcVar5);\n      goto LAB_00067eca;\n    }\n  }\n  CVar7 = CURLE_OUT_OF_MEMORY;\nLAB_00067eca:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return CVar7;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" type_identifier (function_declarator "curl_mime_filedata(curl_mimepart *part,char *filename)" identifier (parameter_list "(curl_mimepart *part,char *filename)" ( (parameter_declaration "curl_mimepart *part" type_identifier (pointer_declarator "*part" * identifier)) , (parameter_declaration "char *filename" primitive_type (pointer_declarator "*filename" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  curl_strdup_callback p_Var2;\n  int iVar3;\n  char *pcVar4;\n  char *pcVar5;\n  CURLcode CVar6;\n  CURLcode CVar7;\n  int in_GS_OFFSET;\n  stat sbuf;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (part == (curl_mimepart *)0x0) {\n    CVar7 = CURLE_BAD_FUNCTION_ARGUMENT;\n    goto LAB_00067eca;\n  }\n  if (part->freefunc != (curl_free_callback)0x0) {\n    (*part->freefunc)(part->arg);\n  }\n  part->readfunc = (curl_read_callback)0x0;\n  CVar7 = CURLE_OK;\n  part->seekfunc = (curl_seek_callback)0x0;\n  part->freefunc = (curl_free_callback)0x0;\n  part->arg = part;\n  part->data = (char *)0x0;\n  part->fp = (FILE *)0x0;\n  *(undefined4 *)&part->datasize = 0;\n  *(undefined4 *)((int)&part->datasize + 4) = 0;\n  (part->encstate).pos = 0;\n  (part->encstate).bufbeg = 0;\n  (part->encstate).bufend = 0;\n  part->kind = MIMEKIND_NONE;\n  if (filename == (char *)0x0) goto LAB_00067eca;\n  iVar3 = __xstat64(3,filename,(stat64 *)&sbuf);\n  if (iVar3 == 0) {\n    iVar3 = access(filename,4);\n    if (iVar3 != 0) goto LAB_00067e1e;\n    pcVar4 = (*Curl_cstrdup)(filename);\n    part->data = pcVar4;\n    if (pcVar4 == (char *)0x0) goto LAB_00067e3c;\n    *(undefined4 *)&part->datasize = 0xffffffff;\n    *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    if ((sbuf.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)&part->datasize = (undefined4)sbuf.st_size;\n      *(undefined4 *)((int)&part->datasize + 4) = sbuf.st_size._4_4_;\n      part->seekfunc = mime_file_seek;\n    }\n  }\n  else {\nLAB_00067e1e:\n    pcVar4 = (*Curl_cstrdup)(filename);\n    part->data = pcVar4;\n    if (pcVar4 == (char *)0x0) {\nLAB_00067e3c:\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_OUT_OF_MEMORY;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_READ_ERROR;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }\n  }\n  part->kind = MIMEKIND_FILE;\n  part->readfunc = mime_file_read;\n  part->freefunc = mime_file_free;\n  pcVar4 = (*Curl_cstrdup)(filename);\n  p_Var2 = Curl_cstrdup;\n  if (pcVar4 != (char *)0x0) {\n    pcVar5 = __xpg_basename(pcVar4);\n    pcVar5 = (*p_Var2)(pcVar5);\n    (*Curl_cfree)(pcVar4);\n    if (pcVar5 != (char *)0x0) {\n      CVar6 = curl_mime_filename(part,pcVar5);\n      if (CVar6 != CURLE_OK) {\n        CVar7 = CVar6;\n      }\n      (*Curl_cfree)(pcVar5);\n      goto LAB_00067eca;\n    }\n  }\n  CVar7 = CURLE_OUT_OF_MEMORY;\nLAB_00067eca:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return CVar7;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "curl_strdup_callback p_Var2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "CURLcode CVar6;" type_identifier identifier ;) (declaration "CURLcode CVar7;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "stat sbuf;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (part == (curl_mimepart *)0x0) {\n    CVar7 = CURLE_BAD_FUNCTION_ARGUMENT;\n    goto LAB_00067eca;\n  }" if (parenthesized_expression "(part == (curl_mimepart *)0x0)" ( (binary_expression "part == (curl_mimepart *)0x0" identifier == (cast_expression "(curl_mimepart *)0x0" ( (type_descriptor "curl_mimepart *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    CVar7 = CURLE_BAD_FUNCTION_ARGUMENT;\n    goto LAB_00067eca;\n  }" { (expression_statement "CVar7 = CURLE_BAD_FUNCTION_ARGUMENT;" (assignment_expression "CVar7 = CURLE_BAD_FUNCTION_ARGUMENT" identifier = identifier) ;) (goto_statement "goto LAB_00067eca;" goto statement_identifier ;) })) (if_statement "if (part->freefunc != (curl_free_callback)0x0) {\n    (*part->freefunc)(part->arg);\n  }" if (parenthesized_expression "(part->freefunc != (curl_free_callback)0x0)" ( (binary_expression "part->freefunc != (curl_free_callback)0x0" (field_expression "part->freefunc" identifier -> field_identifier) != (cast_expression "(curl_free_callback)0x0" ( (type_descriptor "curl_free_callback" type_identifier) ) number_literal)) )) (compound_statement "{\n    (*part->freefunc)(part->arg);\n  }" { (expression_statement "(*part->freefunc)(part->arg);" (call_expression "(*part->freefunc)(part->arg)" (parenthesized_expression "(*part->freefunc)" ( (pointer_expression "*part->freefunc" * (field_expression "part->freefunc" identifier -> field_identifier)) )) (argument_list "(part->arg)" ( (field_expression "part->arg" identifier -> field_identifier) ))) ;) })) (expression_statement "part->readfunc = (curl_read_callback)0x0;" (assignment_expression "part->readfunc = (curl_read_callback)0x0" (field_expression "part->readfunc" identifier -> field_identifier) = (cast_expression "(curl_read_callback)0x0" ( (type_descriptor "curl_read_callback" type_identifier) ) number_literal)) ;) (expression_statement "CVar7 = CURLE_OK;" (assignment_expression "CVar7 = CURLE_OK" identifier = identifier) ;) (expression_statement "part->seekfunc = (curl_seek_callback)0x0;" (assignment_expression "part->seekfunc = (curl_seek_callback)0x0" (field_expression "part->seekfunc" identifier -> field_identifier) = (cast_expression "(curl_seek_callback)0x0" ( (type_descriptor "curl_seek_callback" type_identifier) ) number_literal)) ;) (expression_statement "part->freefunc = (curl_free_callback)0x0;" (assignment_expression "part->freefunc = (curl_free_callback)0x0" (field_expression "part->freefunc" identifier -> field_identifier) = (cast_expression "(curl_free_callback)0x0" ( (type_descriptor "curl_free_callback" type_identifier) ) number_literal)) ;) (expression_statement "part->arg = part;" (assignment_expression "part->arg = part" (field_expression "part->arg" identifier -> field_identifier) = identifier) ;) (expression_statement "part->data = (char *)0x0;" (assignment_expression "part->data = (char *)0x0" (field_expression "part->data" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "part->fp = (FILE *)0x0;" (assignment_expression "part->fp = (FILE *)0x0" (field_expression "part->fp" identifier -> field_identifier) = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*(undefined4 *)&part->datasize = 0;" (assignment_expression "*(undefined4 *)&part->datasize = 0" (pointer_expression "*(undefined4 *)&part->datasize" * (cast_expression "(undefined4 *)&part->datasize" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&part->datasize" & (field_expression "part->datasize" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&part->datasize + 4) = 0;" (assignment_expression "*(undefined4 *)((int)&part->datasize + 4) = 0" (pointer_expression "*(undefined4 *)((int)&part->datasize + 4)" * (cast_expression "(undefined4 *)((int)&part->datasize + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&part->datasize + 4)" ( (binary_expression "(int)&part->datasize + 4" (cast_expression "(int)&part->datasize" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&part->datasize" & (field_expression "part->datasize" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "(part->encstate).pos = 0;" (assignment_expression "(part->encstate).pos = 0" (field_expression "(part->encstate).pos" (parenthesized_expression "(part->encstate)" ( (field_expression "part->encstate" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(part->encstate).bufbeg = 0;" (assignment_expression "(part->encstate).bufbeg = 0" (field_expression "(part->encstate).bufbeg" (parenthesized_expression "(part->encstate)" ( (field_expression "part->encstate" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(part->encstate).bufend = 0;" (assignment_expression "(part->encstate).bufend = 0" (field_expression "(part->encstate).bufend" (parenthesized_expression "(part->encstate)" ( (field_expression "part->encstate" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "part->kind = MIMEKIND_NONE;" (assignment_expression "part->kind = MIMEKIND_NONE" (field_expression "part->kind" identifier -> field_identifier) = identifier) ;) (if_statement "if (filename == (char *)0x0) goto LAB_00067eca;" if (parenthesized_expression "(filename == (char *)0x0)" ( (binary_expression "filename == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00067eca;" goto statement_identifier ;)) (expression_statement "iVar3 = __xstat64(3,filename,(stat64 *)&sbuf);" (assignment_expression "iVar3 = __xstat64(3,filename,(stat64 *)&sbuf)" identifier = (call_expression "__xstat64(3,filename,(stat64 *)&sbuf)" identifier (argument_list "(3,filename,(stat64 *)&sbuf)" ( number_literal , identifier , (cast_expression "(stat64 *)&sbuf" ( (type_descriptor "stat64 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&sbuf" & identifier)) )))) ;) (if_statement "if (iVar3 == 0) {\n    iVar3 = access(filename,4);\n    if (iVar3 != 0) goto LAB_00067e1e;\n    pcVar4 = (*Curl_cstrdup)(filename);\n    part->data = pcVar4;\n    if (pcVar4 == (char *)0x0) goto LAB_00067e3c;\n    *(undefined4 *)&part->datasize = 0xffffffff;\n    *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    if ((sbuf.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)&part->datasize = (undefined4)sbuf.st_size;\n      *(undefined4 *)((int)&part->datasize + 4) = sbuf.st_size._4_4_;\n      part->seekfunc = mime_file_seek;\n    }\n  }\n  else {\nLAB_00067e1e:\n    pcVar4 = (*Curl_cstrdup)(filename);\n    part->data = pcVar4;\n    if (pcVar4 == (char *)0x0) {\nLAB_00067e3c:\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_OUT_OF_MEMORY;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_READ_ERROR;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = access(filename,4);\n    if (iVar3 != 0) goto LAB_00067e1e;\n    pcVar4 = (*Curl_cstrdup)(filename);\n    part->data = pcVar4;\n    if (pcVar4 == (char *)0x0) goto LAB_00067e3c;\n    *(undefined4 *)&part->datasize = 0xffffffff;\n    *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    if ((sbuf.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)&part->datasize = (undefined4)sbuf.st_size;\n      *(undefined4 *)((int)&part->datasize + 4) = sbuf.st_size._4_4_;\n      part->seekfunc = mime_file_seek;\n    }\n  }" { (expression_statement "iVar3 = access(filename,4);" (assignment_expression "iVar3 = access(filename,4)" identifier = (call_expression "access(filename,4)" identifier (argument_list "(filename,4)" ( identifier , number_literal )))) ;) (if_statement "if (iVar3 != 0) goto LAB_00067e1e;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00067e1e;" goto statement_identifier ;)) (expression_statement "pcVar4 = (*Curl_cstrdup)(filename);" (assignment_expression "pcVar4 = (*Curl_cstrdup)(filename)" identifier = (call_expression "(*Curl_cstrdup)(filename)" (parenthesized_expression "(*Curl_cstrdup)" ( (pointer_expression "*Curl_cstrdup" * identifier) )) (argument_list "(filename)" ( identifier )))) ;) (expression_statement "part->data = pcVar4;" (assignment_expression "part->data = pcVar4" (field_expression "part->data" identifier -> field_identifier) = identifier) ;) (if_statement "if (pcVar4 == (char *)0x0) goto LAB_00067e3c;" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00067e3c;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)&part->datasize = 0xffffffff;" (assignment_expression "*(undefined4 *)&part->datasize = 0xffffffff" (pointer_expression "*(undefined4 *)&part->datasize" * (cast_expression "(undefined4 *)&part->datasize" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&part->datasize" & (field_expression "part->datasize" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)&part->datasize + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)&part->datasize + 4)" * (cast_expression "(undefined4 *)((int)&part->datasize + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&part->datasize + 4)" ( (binary_expression "(int)&part->datasize + 4" (cast_expression "(int)&part->datasize" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&part->datasize" & (field_expression "part->datasize" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (if_statement "if ((sbuf.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)&part->datasize = (undefined4)sbuf.st_size;\n      *(undefined4 *)((int)&part->datasize + 4) = sbuf.st_size._4_4_;\n      part->seekfunc = mime_file_seek;\n    }" if (parenthesized_expression "((sbuf.st_mode & 0xf000) == 0x8000)" ( (binary_expression "(sbuf.st_mode & 0xf000) == 0x8000" (parenthesized_expression "(sbuf.st_mode & 0xf000)" ( (binary_expression "sbuf.st_mode & 0xf000" (field_expression "sbuf.st_mode" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n      *(undefined4 *)&part->datasize = (undefined4)sbuf.st_size;\n      *(undefined4 *)((int)&part->datasize + 4) = sbuf.st_size._4_4_;\n      part->seekfunc = mime_file_seek;\n    }" { (expression_statement "*(undefined4 *)&part->datasize = (undefined4)sbuf.st_size;" (assignment_expression "*(undefined4 *)&part->datasize = (undefined4)sbuf.st_size" (pointer_expression "*(undefined4 *)&part->datasize" * (cast_expression "(undefined4 *)&part->datasize" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&part->datasize" & (field_expression "part->datasize" identifier -> field_identifier)))) = (cast_expression "(undefined4)sbuf.st_size" ( (type_descriptor "undefined4" type_identifier) ) (field_expression "sbuf.st_size" identifier . field_identifier))) ;) (expression_statement "*(undefined4 *)((int)&part->datasize + 4) = sbuf.st_size._4_4_;" (assignment_expression "*(undefined4 *)((int)&part->datasize + 4) = sbuf.st_size._4_4_" (pointer_expression "*(undefined4 *)((int)&part->datasize + 4)" * (cast_expression "(undefined4 *)((int)&part->datasize + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&part->datasize + 4)" ( (binary_expression "(int)&part->datasize + 4" (cast_expression "(int)&part->datasize" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&part->datasize" & (field_expression "part->datasize" identifier -> field_identifier))) + number_literal) )))) = (field_expression "sbuf.st_size._4_4_" (field_expression "sbuf.st_size" identifier . field_identifier) . field_identifier)) ;) (expression_statement "part->seekfunc = mime_file_seek;" (assignment_expression "part->seekfunc = mime_file_seek" (field_expression "part->seekfunc" identifier -> field_identifier) = identifier) ;) })) }) (else_clause "else {\nLAB_00067e1e:\n    pcVar4 = (*Curl_cstrdup)(filename);\n    part->data = pcVar4;\n    if (pcVar4 == (char *)0x0) {\nLAB_00067e3c:\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_OUT_OF_MEMORY;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_READ_ERROR;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }\n  }" else (compound_statement "{\nLAB_00067e1e:\n    pcVar4 = (*Curl_cstrdup)(filename);\n    part->data = pcVar4;\n    if (pcVar4 == (char *)0x0) {\nLAB_00067e3c:\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_OUT_OF_MEMORY;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_READ_ERROR;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }\n  }" { (labeled_statement "LAB_00067e1e:\n    pcVar4 = (*Curl_cstrdup)(filename);" statement_identifier : (expression_statement "pcVar4 = (*Curl_cstrdup)(filename);" (assignment_expression "pcVar4 = (*Curl_cstrdup)(filename)" identifier = (call_expression "(*Curl_cstrdup)(filename)" (parenthesized_expression "(*Curl_cstrdup)" ( (pointer_expression "*Curl_cstrdup" * identifier) )) (argument_list "(filename)" ( identifier )))) ;)) (expression_statement "part->data = pcVar4;" (assignment_expression "part->data = pcVar4" (field_expression "part->data" identifier -> field_identifier) = identifier) ;) (if_statement "if (pcVar4 == (char *)0x0) {\nLAB_00067e3c:\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_OUT_OF_MEMORY;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_READ_ERROR;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }" if (parenthesized_expression "(pcVar4 == (char *)0x0)" ( (binary_expression "pcVar4 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00067e3c:\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_OUT_OF_MEMORY;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }" { (labeled_statement "LAB_00067e3c:\n      *(undefined4 *)&part->datasize = 0xffffffff;" statement_identifier : (expression_statement "*(undefined4 *)&part->datasize = 0xffffffff;" (assignment_expression "*(undefined4 *)&part->datasize = 0xffffffff" (pointer_expression "*(undefined4 *)&part->datasize" * (cast_expression "(undefined4 *)&part->datasize" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&part->datasize" & (field_expression "part->datasize" identifier -> field_identifier)))) = number_literal) ;)) (expression_statement "CVar7 = CURLE_OUT_OF_MEMORY;" (assignment_expression "CVar7 = CURLE_OUT_OF_MEMORY" identifier = identifier) ;) (expression_statement "*(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)&part->datasize + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)&part->datasize + 4)" * (cast_expression "(undefined4 *)((int)&part->datasize + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&part->datasize + 4)" ( (binary_expression "(int)&part->datasize + 4" (cast_expression "(int)&part->datasize" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&part->datasize" & (field_expression "part->datasize" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_READ_ERROR;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }" else (compound_statement "{\n      *(undefined4 *)&part->datasize = 0xffffffff;\n      CVar7 = CURLE_READ_ERROR;\n      *(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;\n    }" { (expression_statement "*(undefined4 *)&part->datasize = 0xffffffff;" (assignment_expression "*(undefined4 *)&part->datasize = 0xffffffff" (pointer_expression "*(undefined4 *)&part->datasize" * (cast_expression "(undefined4 *)&part->datasize" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&part->datasize" & (field_expression "part->datasize" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "CVar7 = CURLE_READ_ERROR;" (assignment_expression "CVar7 = CURLE_READ_ERROR" identifier = identifier) ;) (expression_statement "*(undefined4 *)((int)&part->datasize + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)&part->datasize + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)&part->datasize + 4)" * (cast_expression "(undefined4 *)((int)&part->datasize + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&part->datasize + 4)" ( (binary_expression "(int)&part->datasize + 4" (cast_expression "(int)&part->datasize" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&part->datasize" & (field_expression "part->datasize" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) }))) }))) (expression_statement "part->kind = MIMEKIND_FILE;" (assignment_expression "part->kind = MIMEKIND_FILE" (field_expression "part->kind" identifier -> field_identifier) = identifier) ;) (expression_statement "part->readfunc = mime_file_read;" (assignment_expression "part->readfunc = mime_file_read" (field_expression "part->readfunc" identifier -> field_identifier) = identifier) ;) (expression_statement "part->freefunc = mime_file_free;" (assignment_expression "part->freefunc = mime_file_free" (field_expression "part->freefunc" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar4 = (*Curl_cstrdup)(filename);" (assignment_expression "pcVar4 = (*Curl_cstrdup)(filename)" identifier = (call_expression "(*Curl_cstrdup)(filename)" (parenthesized_expression "(*Curl_cstrdup)" ( (pointer_expression "*Curl_cstrdup" * identifier) )) (argument_list "(filename)" ( identifier )))) ;) (expression_statement "p_Var2 = Curl_cstrdup;" (assignment_expression "p_Var2 = Curl_cstrdup" identifier = identifier) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n    pcVar5 = __xpg_basename(pcVar4);\n    pcVar5 = (*p_Var2)(pcVar5);\n    (*Curl_cfree)(pcVar4);\n    if (pcVar5 != (char *)0x0) {\n      CVar6 = curl_mime_filename(part,pcVar5);\n      if (CVar6 != CURLE_OK) {\n        CVar7 = CVar6;\n      }\n      (*Curl_cfree)(pcVar5);\n      goto LAB_00067eca;\n    }\n  }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar5 = __xpg_basename(pcVar4);\n    pcVar5 = (*p_Var2)(pcVar5);\n    (*Curl_cfree)(pcVar4);\n    if (pcVar5 != (char *)0x0) {\n      CVar6 = curl_mime_filename(part,pcVar5);\n      if (CVar6 != CURLE_OK) {\n        CVar7 = CVar6;\n      }\n      (*Curl_cfree)(pcVar5);\n      goto LAB_00067eca;\n    }\n  }" { (expression_statement "pcVar5 = __xpg_basename(pcVar4);" (assignment_expression "pcVar5 = __xpg_basename(pcVar4)" identifier = (call_expression "__xpg_basename(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier )))) ;) (expression_statement "pcVar5 = (*p_Var2)(pcVar5);" (assignment_expression "pcVar5 = (*p_Var2)(pcVar5)" identifier = (call_expression "(*p_Var2)(pcVar5)" (parenthesized_expression "(*p_Var2)" ( (pointer_expression "*p_Var2" * identifier) )) (argument_list "(pcVar5)" ( identifier )))) ;) (expression_statement "(*Curl_cfree)(pcVar4);" (call_expression "(*Curl_cfree)(pcVar4)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(pcVar4)" ( identifier ))) ;) (if_statement "if (pcVar5 != (char *)0x0) {\n      CVar6 = curl_mime_filename(part,pcVar5);\n      if (CVar6 != CURLE_OK) {\n        CVar7 = CVar6;\n      }\n      (*Curl_cfree)(pcVar5);\n      goto LAB_00067eca;\n    }" if (parenthesized_expression "(pcVar5 != (char *)0x0)" ( (binary_expression "pcVar5 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      CVar6 = curl_mime_filename(part,pcVar5);\n      if (CVar6 != CURLE_OK) {\n        CVar7 = CVar6;\n      }\n      (*Curl_cfree)(pcVar5);\n      goto LAB_00067eca;\n    }" { (expression_statement "CVar6 = curl_mime_filename(part,pcVar5);" (assignment_expression "CVar6 = curl_mime_filename(part,pcVar5)" identifier = (call_expression "curl_mime_filename(part,pcVar5)" identifier (argument_list "(part,pcVar5)" ( identifier , identifier )))) ;) (if_statement "if (CVar6 != CURLE_OK) {\n        CVar7 = CVar6;\n      }" if (parenthesized_expression "(CVar6 != CURLE_OK)" ( (binary_expression "CVar6 != CURLE_OK" identifier != identifier) )) (compound_statement "{\n        CVar7 = CVar6;\n      }" { (expression_statement "CVar7 = CVar6;" (assignment_expression "CVar7 = CVar6" identifier = identifier) ;) })) (expression_statement "(*Curl_cfree)(pcVar5);" (call_expression "(*Curl_cfree)(pcVar5)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(pcVar5)" ( identifier ))) ;) (goto_statement "goto LAB_00067eca;" goto statement_identifier ;) })) })) (expression_statement "CVar7 = CURLE_OUT_OF_MEMORY;" (assignment_expression "CVar7 = CURLE_OUT_OF_MEMORY" identifier = identifier) ;) (labeled_statement "LAB_00067eca:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return CVar7;\n  }" statement_identifier : (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return CVar7;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return CVar7;\n  }" { (return_statement "return CVar7;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int curl_mime_filedata(char *param_1)\n\n{\n  code *pcVar1;\n  int iVar2;\n  char *__path;\n  char *pcVar3;\n  int iVar4;\n  int unaff_EBX;\n  int iVar5;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  undefined4 *local_94;\n  stat64 local_84;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67d69;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  if (unaff_retaddr == 0) {\n    iVar5 = 0x2b;\n    goto LAB_00067eca;\n  }\n  if (*(code **)(unaff_retaddr + 0x1c) != (code *)0x0) {\n    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));\n  }\n  *(undefined4 *)(unaff_retaddr + 0x14) = 0;\n  iVar5 = 0;\n  *(undefined4 *)(unaff_retaddr + 0x18) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x1c) = 0;\n  *(int *)(unaff_retaddr + 0x20) = unaff_retaddr;\n  *(undefined4 *)(unaff_retaddr + 0x10) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x24) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x3c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc) = 0;\n  if (param_1 == (char *)0x0) goto LAB_00067eca;\n  iVar2 = __xstat64(3,param_1,&local_84);\n  if (iVar2 == 0) {\n    iVar2 = access(param_1,4);\n    if (iVar2 != 0) goto LAB_00067e1e;\n    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar2;\n    if (iVar2 == 0) goto LAB_00067e3c;\n    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }\n  }\n  else {\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }\n  local_94 = (undefined4 *)(unaff_EBX + 0x492fb);\n  *(undefined4 *)(unaff_retaddr + 0xc) = 2;\n  *(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9;\n  *(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59;\n  __path = (char *)(*(code *)*local_94)(param_1);\n  if (__path != (char *)0x0) {\n    pcVar1 = (code *)*local_94;\n    pcVar3 = __xpg_basename(__path);\n    iVar2 = (*pcVar1)(pcVar3);\n    (**(code **)(unaff_EBX + 0x49303))(__path);\n    if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }\n  }\n  iVar5 = 0x1b;\nLAB_00067eca:\n  if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0007c1a0();\n}\n\n" (function_definition "int curl_mime_filedata(char *param_1)\n\n{\n  code *pcVar1;\n  int iVar2;\n  char *__path;\n  char *pcVar3;\n  int iVar4;\n  int unaff_EBX;\n  int iVar5;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  undefined4 *local_94;\n  stat64 local_84;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67d69;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  if (unaff_retaddr == 0) {\n    iVar5 = 0x2b;\n    goto LAB_00067eca;\n  }\n  if (*(code **)(unaff_retaddr + 0x1c) != (code *)0x0) {\n    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));\n  }\n  *(undefined4 *)(unaff_retaddr + 0x14) = 0;\n  iVar5 = 0;\n  *(undefined4 *)(unaff_retaddr + 0x18) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x1c) = 0;\n  *(int *)(unaff_retaddr + 0x20) = unaff_retaddr;\n  *(undefined4 *)(unaff_retaddr + 0x10) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x24) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x3c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc) = 0;\n  if (param_1 == (char *)0x0) goto LAB_00067eca;\n  iVar2 = __xstat64(3,param_1,&local_84);\n  if (iVar2 == 0) {\n    iVar2 = access(param_1,4);\n    if (iVar2 != 0) goto LAB_00067e1e;\n    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar2;\n    if (iVar2 == 0) goto LAB_00067e3c;\n    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }\n  }\n  else {\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }\n  local_94 = (undefined4 *)(unaff_EBX + 0x492fb);\n  *(undefined4 *)(unaff_retaddr + 0xc) = 2;\n  *(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9;\n  *(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59;\n  __path = (char *)(*(code *)*local_94)(param_1);\n  if (__path != (char *)0x0) {\n    pcVar1 = (code *)*local_94;\n    pcVar3 = __xpg_basename(__path);\n    iVar2 = (*pcVar1)(pcVar3);\n    (**(code **)(unaff_EBX + 0x49303))(__path);\n    if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }\n  }\n  iVar5 = 0x1b;\nLAB_00067eca:\n  if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0007c1a0();\n}" primitive_type (function_declarator "curl_mime_filedata(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  char *__path;\n  char *pcVar3;\n  int iVar4;\n  int unaff_EBX;\n  int iVar5;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  undefined4 *local_94;\n  stat64 local_84;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67d69;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  if (unaff_retaddr == 0) {\n    iVar5 = 0x2b;\n    goto LAB_00067eca;\n  }\n  if (*(code **)(unaff_retaddr + 0x1c) != (code *)0x0) {\n    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));\n  }\n  *(undefined4 *)(unaff_retaddr + 0x14) = 0;\n  iVar5 = 0;\n  *(undefined4 *)(unaff_retaddr + 0x18) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x1c) = 0;\n  *(int *)(unaff_retaddr + 0x20) = unaff_retaddr;\n  *(undefined4 *)(unaff_retaddr + 0x10) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x24) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x3c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc) = 0;\n  if (param_1 == (char *)0x0) goto LAB_00067eca;\n  iVar2 = __xstat64(3,param_1,&local_84);\n  if (iVar2 == 0) {\n    iVar2 = access(param_1,4);\n    if (iVar2 != 0) goto LAB_00067e1e;\n    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar2;\n    if (iVar2 == 0) goto LAB_00067e3c;\n    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }\n  }\n  else {\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }\n  local_94 = (undefined4 *)(unaff_EBX + 0x492fb);\n  *(undefined4 *)(unaff_retaddr + 0xc) = 2;\n  *(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9;\n  *(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59;\n  __path = (char *)(*(code *)*local_94)(param_1);\n  if (__path != (char *)0x0) {\n    pcVar1 = (code *)*local_94;\n    pcVar3 = __xpg_basename(__path);\n    iVar2 = (*pcVar1)(pcVar3);\n    (**(code **)(unaff_EBX + 0x49303))(__path);\n    if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }\n  }\n  iVar5 = 0x1b;\nLAB_00067eca:\n  if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0007c1a0();\n}" { (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *__path;" primitive_type (pointer_declarator "*__path" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int unaff_retaddr;" primitive_type identifier ;) (declaration "undefined4 *local_94;" type_identifier (pointer_declarator "*local_94" * identifier) ;) (declaration "stat64 local_84;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x67d69;" (assignment_expression "uStack_14 = 0x67d69" identifier = number_literal) ;) (expression_statement "entry();" (call_expression "entry()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_24 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_24 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (unaff_retaddr == 0) {\n    iVar5 = 0x2b;\n    goto LAB_00067eca;\n  }" if (parenthesized_expression "(unaff_retaddr == 0)" ( (binary_expression "unaff_retaddr == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = 0x2b;\n    goto LAB_00067eca;\n  }" { (expression_statement "iVar5 = 0x2b;" (assignment_expression "iVar5 = 0x2b" identifier = number_literal) ;) (goto_statement "goto LAB_00067eca;" goto statement_identifier ;) })) (if_statement "if (*(code **)(unaff_retaddr + 0x1c) != (code *)0x0) {\n    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));\n  }" if (parenthesized_expression "(*(code **)(unaff_retaddr + 0x1c) != (code *)0x0)" ( (binary_expression "*(code **)(unaff_retaddr + 0x1c) != (code *)0x0" (pointer_expression "*(code **)(unaff_retaddr + 0x1c)" * (cast_expression "(code **)(unaff_retaddr + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) )))) != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));\n  }" { (expression_statement "(**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));" (call_expression "(**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20))" (parenthesized_expression "(**(code **)(unaff_retaddr + 0x1c))" ( (pointer_expression "**(code **)(unaff_retaddr + 0x1c)" * (pointer_expression "*(code **)(unaff_retaddr + 0x1c)" * (cast_expression "(code **)(unaff_retaddr + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(unaff_retaddr + 0x20))" ( (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x20)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x20)" ( (binary_expression "unaff_retaddr + 0x20" identifier + number_literal) )))) ))) ;) })) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x14) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x14) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x14)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x14)" ( (binary_expression "unaff_retaddr + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x18) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x18) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x18)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x18)" ( (binary_expression "unaff_retaddr + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x1c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x1c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(unaff_retaddr + 0x20) = unaff_retaddr;" (assignment_expression "*(int *)(unaff_retaddr + 0x20) = unaff_retaddr" (pointer_expression "*(int *)(unaff_retaddr + 0x20)" * (cast_expression "(int *)(unaff_retaddr + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x20)" ( (binary_expression "unaff_retaddr + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x10) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x10) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x10)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x10)" ( (binary_expression "unaff_retaddr + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x24) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x24) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x24)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x24)" ( (binary_expression "unaff_retaddr + 0x24" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x3c)" ( (binary_expression "unaff_retaddr + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x40)" ( (binary_expression "unaff_retaddr + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x58) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x58) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x58)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x58)" ( (binary_expression "unaff_retaddr + 0x58" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x5c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x5c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x5c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x5c)" ( (binary_expression "unaff_retaddr + 0x5c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x60) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x60) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x60)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x60)" ( (binary_expression "unaff_retaddr + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc)" ( (binary_expression "unaff_retaddr + 0xc" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (param_1 == (char *)0x0) goto LAB_00067eca;" if (parenthesized_expression "(param_1 == (char *)0x0)" ( (binary_expression "param_1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00067eca;" goto statement_identifier ;)) (expression_statement "iVar2 = __xstat64(3,param_1,&local_84);" (assignment_expression "iVar2 = __xstat64(3,param_1,&local_84)" identifier = (call_expression "__xstat64(3,param_1,&local_84)" identifier (argument_list "(3,param_1,&local_84)" ( number_literal , identifier , (pointer_expression "&local_84" & identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n    iVar2 = access(param_1,4);\n    if (iVar2 != 0) goto LAB_00067e1e;\n    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar2;\n    if (iVar2 == 0) goto LAB_00067e3c;\n    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }\n  }\n  else {\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar2 = access(param_1,4);\n    if (iVar2 != 0) goto LAB_00067e1e;\n    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar2;\n    if (iVar2 == 0) goto LAB_00067e3c;\n    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }\n  }" { (expression_statement "iVar2 = access(param_1,4);" (assignment_expression "iVar2 = access(param_1,4)" identifier = (call_expression "access(param_1,4)" identifier (argument_list "(param_1,4)" ( identifier , number_literal )))) ;) (if_statement "if (iVar2 != 0) goto LAB_00067e1e;" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00067e1e;" goto statement_identifier ;)) (expression_statement "iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);" (assignment_expression "iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1)" identifier = (call_expression "(**(code **)(unaff_EBX + 0x492fb))(param_1)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x492fb))" ( (pointer_expression "**(code **)(unaff_EBX + 0x492fb)" * (pointer_expression "*(code **)(unaff_EBX + 0x492fb)" * (cast_expression "(code **)(unaff_EBX + 0x492fb)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x492fb)" ( (binary_expression "unaff_EBX + 0x492fb" identifier + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*(int *)(unaff_retaddr + 0x10) = iVar2;" (assignment_expression "*(int *)(unaff_retaddr + 0x10) = iVar2" (pointer_expression "*(int *)(unaff_retaddr + 0x10)" * (cast_expression "(int *)(unaff_retaddr + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x10)" ( (binary_expression "unaff_retaddr + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar2 == 0) goto LAB_00067e3c;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00067e3c;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x3c)" ( (binary_expression "unaff_retaddr + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x40)" ( (binary_expression "unaff_retaddr + 0x40" identifier + number_literal) )))) = number_literal) ;) (if_statement "if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }" if (parenthesized_expression "((local_84.st_mode & 0xf000) == 0x8000)" ( (binary_expression "(local_84.st_mode & 0xf000) == 0x8000" (parenthesized_expression "(local_84.st_mode & 0xf000)" ( (binary_expression "local_84.st_mode & 0xf000" (field_expression "local_84.st_mode" identifier . field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }" { (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x3c)" ( (binary_expression "unaff_retaddr + 0x3c" identifier + number_literal) )))) = (cast_expression "(undefined4)local_84.st_size" ( (type_descriptor "undefined4" type_identifier) ) (field_expression "local_84.st_size" identifier . field_identifier))) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x40)" ( (binary_expression "unaff_retaddr + 0x40" identifier + number_literal) )))) = (field_expression "local_84.st_size._4_4_" (field_expression "local_84.st_size" identifier . field_identifier) . field_identifier)) ;) (expression_statement "*(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;" (assignment_expression "*(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659" (pointer_expression "*(int *)(unaff_retaddr + 0x18)" * (cast_expression "(int *)(unaff_retaddr + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x18)" ( (binary_expression "unaff_retaddr + 0x18" identifier + number_literal) )))) = (binary_expression "unaff_EBX + -0x659" identifier + number_literal)) ;) })) }) (else_clause "else {\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }" else (compound_statement "{\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }" { (labeled_statement "LAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);" statement_identifier : (expression_statement "iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);" (assignment_expression "iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1)" identifier = (call_expression "(**(code **)(unaff_EBX + 0x492fb))(param_1)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x492fb))" ( (pointer_expression "**(code **)(unaff_EBX + 0x492fb)" * (pointer_expression "*(code **)(unaff_EBX + 0x492fb)" * (cast_expression "(code **)(unaff_EBX + 0x492fb)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x492fb)" ( (binary_expression "unaff_EBX + 0x492fb" identifier + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;)) (expression_statement "*(int *)(unaff_retaddr + 0x10) = iVar5;" (assignment_expression "*(int *)(unaff_retaddr + 0x10) = iVar5" (pointer_expression "*(int *)(unaff_retaddr + 0x10)" * (cast_expression "(int *)(unaff_retaddr + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x10)" ( (binary_expression "unaff_retaddr + 0x10" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }" { (labeled_statement "LAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;" statement_identifier : (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x3c)" ( (binary_expression "unaff_retaddr + 0x3c" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "iVar5 = 0x1b;" (assignment_expression "iVar5 = 0x1b" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x40)" ( (binary_expression "unaff_retaddr + 0x40" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }" else (compound_statement "{\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }" { (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x3c)" ( (binary_expression "unaff_retaddr + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar5 = 0x1a;" (assignment_expression "iVar5 = 0x1a" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x40)" ( (binary_expression "unaff_retaddr + 0x40" identifier + number_literal) )))) = number_literal) ;) }))) }))) (expression_statement "local_94 = (undefined4 *)(unaff_EBX + 0x492fb);" (assignment_expression "local_94 = (undefined4 *)(unaff_EBX + 0x492fb)" identifier = (cast_expression "(undefined4 *)(unaff_EBX + 0x492fb)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBX + 0x492fb)" ( (binary_expression "unaff_EBX + 0x492fb" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc) = 2;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc) = 2" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc)" ( (binary_expression "unaff_retaddr + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9;" (assignment_expression "*(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9" (pointer_expression "*(int *)(unaff_retaddr + 0x14)" * (cast_expression "(int *)(unaff_retaddr + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x14)" ( (binary_expression "unaff_retaddr + 0x14" identifier + number_literal) )))) = (binary_expression "unaff_EBX + -0xdf9" identifier + number_literal)) ;) (expression_statement "*(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59;" (assignment_expression "*(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59" (pointer_expression "*(int *)(unaff_retaddr + 0x1c)" * (cast_expression "(int *)(unaff_retaddr + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x1c)" ( (binary_expression "unaff_retaddr + 0x1c" identifier + number_literal) )))) = (binary_expression "unaff_EBX + -0xf59" identifier + number_literal)) ;) (expression_statement "__path = (char *)(*(code *)*local_94)(param_1);" (assignment_expression "__path = (char *)(*(code *)*local_94)(param_1)" identifier = (cast_expression "(char *)(*(code *)*local_94)(param_1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)*local_94)(param_1)" (parenthesized_expression "(*(code *)*local_94)" ( (pointer_expression "*(code *)*local_94" * (cast_expression "(code *)*local_94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_94" * identifier))) )) (argument_list "(param_1)" ( identifier ))))) ;) (if_statement "if (__path != (char *)0x0) {\n    pcVar1 = (code *)*local_94;\n    pcVar3 = __xpg_basename(__path);\n    iVar2 = (*pcVar1)(pcVar3);\n    (**(code **)(unaff_EBX + 0x49303))(__path);\n    if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }\n  }" if (parenthesized_expression "(__path != (char *)0x0)" ( (binary_expression "__path != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar1 = (code *)*local_94;\n    pcVar3 = __xpg_basename(__path);\n    iVar2 = (*pcVar1)(pcVar3);\n    (**(code **)(unaff_EBX + 0x49303))(__path);\n    if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }\n  }" { (expression_statement "pcVar1 = (code *)*local_94;" (assignment_expression "pcVar1 = (code *)*local_94" identifier = (cast_expression "(code *)*local_94" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_94" * identifier))) ;) (expression_statement "pcVar3 = __xpg_basename(__path);" (assignment_expression "pcVar3 = __xpg_basename(__path)" identifier = (call_expression "__xpg_basename(__path)" identifier (argument_list "(__path)" ( identifier )))) ;) (expression_statement "iVar2 = (*pcVar1)(pcVar3);" (assignment_expression "iVar2 = (*pcVar1)(pcVar3)" identifier = (call_expression "(*pcVar1)(pcVar3)" (parenthesized_expression "(*pcVar1)" ( (pointer_expression "*pcVar1" * identifier) )) (argument_list "(pcVar3)" ( identifier )))) ;) (expression_statement "(**(code **)(unaff_EBX + 0x49303))(__path);" (call_expression "(**(code **)(unaff_EBX + 0x49303))(__path)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x49303))" ( (pointer_expression "**(code **)(unaff_EBX + 0x49303)" * (pointer_expression "*(code **)(unaff_EBX + 0x49303)" * (cast_expression "(code **)(unaff_EBX + 0x49303)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x49303)" ( (binary_expression "unaff_EBX + 0x49303" identifier + number_literal) ))))) )) (argument_list "(__path)" ( identifier ))) ;) (if_statement "if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }" { (expression_statement "iVar4 = curl_mime_filename(unaff_retaddr,iVar2);" (assignment_expression "iVar4 = curl_mime_filename(unaff_retaddr,iVar2)" identifier = (call_expression "curl_mime_filename(unaff_retaddr,iVar2)" identifier (argument_list "(unaff_retaddr,iVar2)" ( identifier , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar5 = iVar4;\n      }" { (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) })) (expression_statement "(**(code **)(unaff_EBX + 0x49303))(iVar2);" (call_expression "(**(code **)(unaff_EBX + 0x49303))(iVar2)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x49303))" ( (pointer_expression "**(code **)(unaff_EBX + 0x49303)" * (pointer_expression "*(code **)(unaff_EBX + 0x49303)" * (cast_expression "(code **)(unaff_EBX + 0x49303)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x49303)" ( (binary_expression "unaff_EBX + 0x49303" identifier + number_literal) ))))) )) (argument_list "(iVar2)" ( identifier ))) ;) (goto_statement "goto LAB_00067eca;" goto statement_identifier ;) })) })) (expression_statement "iVar5 = 0x1b;" (assignment_expression "iVar5 = 0x1b" identifier = number_literal) ;) (labeled_statement "LAB_00067eca:\n  if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" if (parenthesized_expression "(local_24 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_24 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) (expression_statement "FUN_0007c1a0();" (call_expression "FUN_0007c1a0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (field_expression IDENT . field_identifier))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (field_expression (field_expression IDENT . field_identifier) . field_identifier)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) })) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }))) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "int curl_mime_filedata(char *param_1)\n\n{\n  code *pcVar1;\n  int iVar2;\n  char *__path;\n  char *pcVar3;\n  int iVar4;\n  int unaff_EBX;\n  int iVar5;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  undefined4 *local_94;\n  stat64 local_84;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67d69;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  if (unaff_retaddr == 0) {\n    iVar5 = 0x2b;\n    goto LAB_00067eca;\n  }\n  if (*(code **)(unaff_retaddr + 0x1c) != (code *)0x0) {\n    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));\n  }\n  *(undefined4 *)(unaff_retaddr + 0x14) = 0;\n  iVar5 = 0;\n  *(undefined4 *)(unaff_retaddr + 0x18) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x1c) = 0;\n  *(int *)(unaff_retaddr + 0x20) = unaff_retaddr;\n  *(undefined4 *)(unaff_retaddr + 0x10) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x24) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x3c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc) = 0;\n  if (param_1 == (char *)0x0) goto LAB_00067eca;\n  iVar2 = __xstat64(3,param_1,&local_84);\n  if (iVar2 == 0) {\n    iVar2 = access(param_1,4);\n    if (iVar2 != 0) goto LAB_00067e1e;\n    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar2;\n    if (iVar2 == 0) goto LAB_00067e3c;\n    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }\n  }\n  else {\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }\n  local_94 = (undefined4 *)(unaff_EBX + 0x492fb);\n  *(undefined4 *)(unaff_retaddr + 0xc) = 2;\n  *(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9;\n  *(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59;\n  __path = (char *)(*(code *)*local_94)(param_1);\n  if (__path != (char *)0x0) {\n    pcVar1 = (code *)*local_94;\n    pcVar3 = __xpg_basename(__path);\n    iVar2 = (*pcVar1)(pcVar3);\n    (**(code **)(unaff_EBX + 0x49303))(__path);\n    if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }\n  }\n  iVar5 = 0x1b;\nLAB_00067eca:\n  if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0007c1a0();\n}" (primitive_type "int") (function_declarator "curl_mime_filedata(char *param_1)" (identifier "curl_mime_filedata") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  code *pcVar1;\n  int iVar2;\n  char *__path;\n  char *pcVar3;\n  int iVar4;\n  int unaff_EBX;\n  int iVar5;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  undefined4 *local_94;\n  stat64 local_84;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x67d69;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  if (unaff_retaddr == 0) {\n    iVar5 = 0x2b;\n    goto LAB_00067eca;\n  }\n  if (*(code **)(unaff_retaddr + 0x1c) != (code *)0x0) {\n    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));\n  }\n  *(undefined4 *)(unaff_retaddr + 0x14) = 0;\n  iVar5 = 0;\n  *(undefined4 *)(unaff_retaddr + 0x18) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x1c) = 0;\n  *(int *)(unaff_retaddr + 0x20) = unaff_retaddr;\n  *(undefined4 *)(unaff_retaddr + 0x10) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x24) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x3c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0x60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc) = 0;\n  if (param_1 == (char *)0x0) goto LAB_00067eca;\n  iVar2 = __xstat64(3,param_1,&local_84);\n  if (iVar2 == 0) {\n    iVar2 = access(param_1,4);\n    if (iVar2 != 0) goto LAB_00067e1e;\n    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar2;\n    if (iVar2 == 0) goto LAB_00067e3c;\n    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }\n  }\n  else {\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }\n  local_94 = (undefined4 *)(unaff_EBX + 0x492fb);\n  *(undefined4 *)(unaff_retaddr + 0xc) = 2;\n  *(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9;\n  *(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59;\n  __path = (char *)(*(code *)*local_94)(param_1);\n  if (__path != (char *)0x0) {\n    pcVar1 = (code *)*local_94;\n    pcVar3 = __xpg_basename(__path);\n    iVar2 = (*pcVar1)(pcVar3);\n    (**(code **)(unaff_EBX + 0x49303))(__path);\n    if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }\n  }\n  iVar5 = 0x1b;\nLAB_00067eca:\n  if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0007c1a0();\n}" ({ "{") (declaration "code *pcVar1;" (type_identifier "code") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *__path;" (primitive_type "char") (pointer_declarator "*__path" (* "*") (identifier "__path")) (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int unaff_EBX;" (primitive_type "int") (identifier "unaff_EBX") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "int unaff_retaddr;" (primitive_type "int") (identifier "unaff_retaddr") (; ";")) (declaration "undefined4 *local_94;" (type_identifier "undefined4") (pointer_declarator "*local_94" (* "*") (identifier "local_94")) (; ";")) (declaration "stat64 local_84;" (type_identifier "stat64") (identifier "local_84") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x67d69;" (assignment_expression "uStack_14 = 0x67d69" (identifier "uStack_14") (= "=") (number_literal "0x67d69")) (; ";")) (expression_statement "entry();" (call_expression "entry()" (identifier "entry") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "local_24 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_24 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_24") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (unaff_retaddr == 0) {\n    iVar5 = 0x2b;\n    goto LAB_00067eca;\n  }" (if "if") (parenthesized_expression "(unaff_retaddr == 0)" (( "(") (binary_expression "unaff_retaddr == 0" (identifier "unaff_retaddr") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar5 = 0x2b;\n    goto LAB_00067eca;\n  }" ({ "{") (expression_statement "iVar5 = 0x2b;" (assignment_expression "iVar5 = 0x2b" (identifier "iVar5") (= "=") (number_literal "0x2b")) (; ";")) (goto_statement "goto LAB_00067eca;" (goto "goto") (statement_identifier "LAB_00067eca") (; ";")) (} "}"))) (if_statement "if (*(code **)(unaff_retaddr + 0x1c) != (code *)0x0) {\n    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));\n  }" (if "if") (parenthesized_expression "(*(code **)(unaff_retaddr + 0x1c) != (code *)0x0)" (( "(") (binary_expression "*(code **)(unaff_retaddr + 0x1c) != (code *)0x0" (pointer_expression "*(code **)(unaff_retaddr + 0x1c)" (* "*") (cast_expression "(code **)(unaff_retaddr + 0x1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_retaddr + 0x1c)" (( "(") (binary_expression "unaff_retaddr + 0x1c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (cast_expression "(code *)0x0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));\n  }" ({ "{") (expression_statement "(**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));" (call_expression "(**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20))" (parenthesized_expression "(**(code **)(unaff_retaddr + 0x1c))" (( "(") (pointer_expression "**(code **)(unaff_retaddr + 0x1c)" (* "*") (pointer_expression "*(code **)(unaff_retaddr + 0x1c)" (* "*") (cast_expression "(code **)(unaff_retaddr + 0x1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_retaddr + 0x1c)" (( "(") (binary_expression "unaff_retaddr + 0x1c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(unaff_retaddr + 0x20))" (( "(") (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x20)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x20)" (( "(") (binary_expression "unaff_retaddr + 0x20" (identifier "unaff_retaddr") (+ "+") (number_literal "0x20")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x14) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x14) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x14)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x14)" (( "(") (binary_expression "unaff_retaddr + 0x14" (identifier "unaff_retaddr") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x18) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x18) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x18)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x18)" (( "(") (binary_expression "unaff_retaddr + 0x18" (identifier "unaff_retaddr") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x1c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x1c)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x1c)" (( "(") (binary_expression "unaff_retaddr + 0x1c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(unaff_retaddr + 0x20) = unaff_retaddr;" (assignment_expression "*(int *)(unaff_retaddr + 0x20) = unaff_retaddr" (pointer_expression "*(int *)(unaff_retaddr + 0x20)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x20)" (( "(") (binary_expression "unaff_retaddr + 0x20" (identifier "unaff_retaddr") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "unaff_retaddr")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x10) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x10) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x10)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x10)" (( "(") (binary_expression "unaff_retaddr + 0x10" (identifier "unaff_retaddr") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x24) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x24) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x24)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x24)" (( "(") (binary_expression "unaff_retaddr + 0x24" (identifier "unaff_retaddr") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x3c)" (( "(") (binary_expression "unaff_retaddr + 0x3c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x40)" (( "(") (binary_expression "unaff_retaddr + 0x40" (identifier "unaff_retaddr") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x58) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x58) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x58)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x58)" (( "(") (binary_expression "unaff_retaddr + 0x58" (identifier "unaff_retaddr") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x5c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x5c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x5c)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x5c)" (( "(") (binary_expression "unaff_retaddr + 0x5c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x5c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x60) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x60) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x60)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x60)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x60)" (( "(") (binary_expression "unaff_retaddr + 0x60" (identifier "unaff_retaddr") (+ "+") (number_literal "0x60")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xc)" (( "(") (binary_expression "unaff_retaddr + 0xc" (identifier "unaff_retaddr") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1 == (char *)0x0) goto LAB_00067eca;" (if "if") (parenthesized_expression "(param_1 == (char *)0x0)" (( "(") (binary_expression "param_1 == (char *)0x0" (identifier "param_1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00067eca;" (goto "goto") (statement_identifier "LAB_00067eca") (; ";"))) (expression_statement "iVar2 = __xstat64(3,param_1,&local_84);" (assignment_expression "iVar2 = __xstat64(3,param_1,&local_84)" (identifier "iVar2") (= "=") (call_expression "__xstat64(3,param_1,&local_84)" (identifier "__xstat64") (argument_list "(3,param_1,&local_84)" (( "(") (number_literal "3") (, ",") (identifier "param_1") (, ",") (pointer_expression "&local_84" (& "&") (identifier "local_84")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    iVar2 = access(param_1,4);\n    if (iVar2 != 0) goto LAB_00067e1e;\n    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar2;\n    if (iVar2 == 0) goto LAB_00067e3c;\n    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }\n  }\n  else {\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = access(param_1,4);\n    if (iVar2 != 0) goto LAB_00067e1e;\n    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar2;\n    if (iVar2 == 0) goto LAB_00067e3c;\n    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }\n  }" ({ "{") (expression_statement "iVar2 = access(param_1,4);" (assignment_expression "iVar2 = access(param_1,4)" (identifier "iVar2") (= "=") (call_expression "access(param_1,4)" (identifier "access") (argument_list "(param_1,4)" (( "(") (identifier "param_1") (, ",") (number_literal "4") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) goto LAB_00067e1e;" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00067e1e;" (goto "goto") (statement_identifier "LAB_00067e1e") (; ";"))) (expression_statement "iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);" (assignment_expression "iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1)" (identifier "iVar2") (= "=") (call_expression "(**(code **)(unaff_EBX + 0x492fb))(param_1)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x492fb))" (( "(") (pointer_expression "**(code **)(unaff_EBX + 0x492fb)" (* "*") (pointer_expression "*(code **)(unaff_EBX + 0x492fb)" (* "*") (cast_expression "(code **)(unaff_EBX + 0x492fb)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EBX + 0x492fb)" (( "(") (binary_expression "unaff_EBX + 0x492fb" (identifier "unaff_EBX") (+ "+") (number_literal "0x492fb")) () ")"))))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "*(int *)(unaff_retaddr + 0x10) = iVar2;" (assignment_expression "*(int *)(unaff_retaddr + 0x10) = iVar2" (pointer_expression "*(int *)(unaff_retaddr + 0x10)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x10)" (( "(") (binary_expression "unaff_retaddr + 0x10" (identifier "unaff_retaddr") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar2")) (; ";")) (if_statement "if (iVar2 == 0) goto LAB_00067e3c;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00067e3c;" (goto "goto") (statement_identifier "LAB_00067e3c") (; ";"))) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x3c)" (( "(") (binary_expression "unaff_retaddr + 0x3c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x40)" (( "(") (binary_expression "unaff_retaddr + 0x40" (identifier "unaff_retaddr") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if ((local_84.st_mode & 0xf000) == 0x8000) {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }" (if "if") (parenthesized_expression "((local_84.st_mode & 0xf000) == 0x8000)" (( "(") (binary_expression "(local_84.st_mode & 0xf000) == 0x8000" (parenthesized_expression "(local_84.st_mode & 0xf000)" (( "(") (binary_expression "local_84.st_mode & 0xf000" (field_expression "local_84.st_mode" (identifier "local_84") (. ".") (field_identifier "st_mode")) (& "&") (number_literal "0xf000")) () ")")) (== "==") (number_literal "0x8000")) () ")")) (compound_statement "{\n      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;\n      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;\n      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;\n    }" ({ "{") (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x3c)" (( "(") (binary_expression "unaff_retaddr + 0x3c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (cast_expression "(undefined4)local_84.st_size" (( "(") (type_descriptor "undefined4" (type_identifier "undefined4")) () ")") (field_expression "local_84.st_size" (identifier "local_84") (. ".") (field_identifier "st_size")))) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x40)" (( "(") (binary_expression "unaff_retaddr + 0x40" (identifier "unaff_retaddr") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (field_expression "local_84.st_size._4_4_" (field_expression "local_84.st_size" (identifier "local_84") (. ".") (field_identifier "st_size")) (. ".") (field_identifier "_4_4_"))) (; ";")) (expression_statement "*(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;" (assignment_expression "*(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659" (pointer_expression "*(int *)(unaff_retaddr + 0x18)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x18)" (( "(") (binary_expression "unaff_retaddr + 0x18" (identifier "unaff_retaddr") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "unaff_EBX + -0x659" (identifier "unaff_EBX") (+ "+") (number_literal "-0x659"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }" (else "else") (compound_statement "{\nLAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);\n    *(int *)(unaff_retaddr + 0x10) = iVar5;\n    if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n  }" ({ "{") (labeled_statement "LAB_00067e1e:\n    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);" (statement_identifier "LAB_00067e1e") (: ":") (expression_statement "iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);" (assignment_expression "iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1)" (identifier "iVar5") (= "=") (call_expression "(**(code **)(unaff_EBX + 0x492fb))(param_1)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x492fb))" (( "(") (pointer_expression "**(code **)(unaff_EBX + 0x492fb)" (* "*") (pointer_expression "*(code **)(unaff_EBX + 0x492fb)" (* "*") (cast_expression "(code **)(unaff_EBX + 0x492fb)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EBX + 0x492fb)" (( "(") (binary_expression "unaff_EBX + 0x492fb" (identifier "unaff_EBX") (+ "+") (number_literal "0x492fb")) () ")"))))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";"))) (expression_statement "*(int *)(unaff_retaddr + 0x10) = iVar5;" (assignment_expression "*(int *)(unaff_retaddr + 0x10) = iVar5" (pointer_expression "*(int *)(unaff_retaddr + 0x10)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x10)" (( "(") (binary_expression "unaff_retaddr + 0x10" (identifier "unaff_retaddr") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (iVar5 == 0) {\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }\n    else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1b;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }" ({ "{") (labeled_statement "LAB_00067e3c:\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;" (statement_identifier "LAB_00067e3c") (: ":") (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x3c)" (( "(") (binary_expression "unaff_retaddr + 0x3c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";"))) (expression_statement "iVar5 = 0x1b;" (assignment_expression "iVar5 = 0x1b" (identifier "iVar5") (= "=") (number_literal "0x1b")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x40)" (( "(") (binary_expression "unaff_retaddr + 0x40" (identifier "unaff_retaddr") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")) (else_clause "else {\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }" (else "else") (compound_statement "{\n      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;\n      iVar5 = 0x1a;\n      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;\n    }" ({ "{") (expression_statement "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x3c)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x3c)" (( "(") (binary_expression "unaff_retaddr + 0x3c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "iVar5 = 0x1a;" (assignment_expression "iVar5 = 0x1a" (identifier "iVar5") (= "=") (number_literal "0x1a")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x40)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x40)" (( "(") (binary_expression "unaff_retaddr + 0x40" (identifier "unaff_retaddr") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (} "}")))) (} "}")))) (expression_statement "local_94 = (undefined4 *)(unaff_EBX + 0x492fb);" (assignment_expression "local_94 = (undefined4 *)(unaff_EBX + 0x492fb)" (identifier "local_94") (= "=") (cast_expression "(undefined4 *)(unaff_EBX + 0x492fb)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBX + 0x492fb)" (( "(") (binary_expression "unaff_EBX + 0x492fb" (identifier "unaff_EBX") (+ "+") (number_literal "0x492fb")) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc) = 2;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc) = 2" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xc)" (( "(") (binary_expression "unaff_retaddr + 0xc" (identifier "unaff_retaddr") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "2")) (; ";")) (expression_statement "*(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9;" (assignment_expression "*(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9" (pointer_expression "*(int *)(unaff_retaddr + 0x14)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x14)" (( "(") (binary_expression "unaff_retaddr + 0x14" (identifier "unaff_retaddr") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "unaff_EBX + -0xdf9" (identifier "unaff_EBX") (+ "+") (number_literal "-0xdf9"))) (; ";")) (expression_statement "*(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59;" (assignment_expression "*(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59" (pointer_expression "*(int *)(unaff_retaddr + 0x1c)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x1c)" (( "(") (binary_expression "unaff_retaddr + 0x1c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "unaff_EBX + -0xf59" (identifier "unaff_EBX") (+ "+") (number_literal "-0xf59"))) (; ";")) (expression_statement "__path = (char *)(*(code *)*local_94)(param_1);" (assignment_expression "__path = (char *)(*(code *)*local_94)(param_1)" (identifier "__path") (= "=") (cast_expression "(char *)(*(code *)*local_94)(param_1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)*local_94)(param_1)" (parenthesized_expression "(*(code *)*local_94)" (( "(") (pointer_expression "*(code *)*local_94" (* "*") (cast_expression "(code *)*local_94" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*local_94" (* "*") (identifier "local_94")))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))))) (; ";")) (if_statement "if (__path != (char *)0x0) {\n    pcVar1 = (code *)*local_94;\n    pcVar3 = __xpg_basename(__path);\n    iVar2 = (*pcVar1)(pcVar3);\n    (**(code **)(unaff_EBX + 0x49303))(__path);\n    if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }\n  }" (if "if") (parenthesized_expression "(__path != (char *)0x0)" (( "(") (binary_expression "__path != (char *)0x0" (identifier "__path") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    pcVar1 = (code *)*local_94;\n    pcVar3 = __xpg_basename(__path);\n    iVar2 = (*pcVar1)(pcVar3);\n    (**(code **)(unaff_EBX + 0x49303))(__path);\n    if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }\n  }" ({ "{") (expression_statement "pcVar1 = (code *)*local_94;" (assignment_expression "pcVar1 = (code *)*local_94" (identifier "pcVar1") (= "=") (cast_expression "(code *)*local_94" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*local_94" (* "*") (identifier "local_94")))) (; ";")) (expression_statement "pcVar3 = __xpg_basename(__path);" (assignment_expression "pcVar3 = __xpg_basename(__path)" (identifier "pcVar3") (= "=") (call_expression "__xpg_basename(__path)" (identifier "__xpg_basename") (argument_list "(__path)" (( "(") (identifier "__path") () ")")))) (; ";")) (expression_statement "iVar2 = (*pcVar1)(pcVar3);" (assignment_expression "iVar2 = (*pcVar1)(pcVar3)" (identifier "iVar2") (= "=") (call_expression "(*pcVar1)(pcVar3)" (parenthesized_expression "(*pcVar1)" (( "(") (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) () ")")) (argument_list "(pcVar3)" (( "(") (identifier "pcVar3") () ")")))) (; ";")) (expression_statement "(**(code **)(unaff_EBX + 0x49303))(__path);" (call_expression "(**(code **)(unaff_EBX + 0x49303))(__path)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x49303))" (( "(") (pointer_expression "**(code **)(unaff_EBX + 0x49303)" (* "*") (pointer_expression "*(code **)(unaff_EBX + 0x49303)" (* "*") (cast_expression "(code **)(unaff_EBX + 0x49303)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EBX + 0x49303)" (( "(") (binary_expression "unaff_EBX + 0x49303" (identifier "unaff_EBX") (+ "+") (number_literal "0x49303")) () ")"))))) () ")")) (argument_list "(__path)" (( "(") (identifier "__path") () ")"))) (; ";")) (if_statement "if (iVar2 != 0) {\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);\n      if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }\n      (**(code **)(unaff_EBX + 0x49303))(iVar2);\n      goto LAB_00067eca;\n    }" ({ "{") (expression_statement "iVar4 = curl_mime_filename(unaff_retaddr,iVar2);" (assignment_expression "iVar4 = curl_mime_filename(unaff_retaddr,iVar2)" (identifier "iVar4") (= "=") (call_expression "curl_mime_filename(unaff_retaddr,iVar2)" (identifier "curl_mime_filename") (argument_list "(unaff_retaddr,iVar2)" (( "(") (identifier "unaff_retaddr") (, ",") (identifier "iVar2") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n        iVar5 = iVar4;\n      }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar5 = iVar4;\n      }" ({ "{") (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" (identifier "iVar5") (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (expression_statement "(**(code **)(unaff_EBX + 0x49303))(iVar2);" (call_expression "(**(code **)(unaff_EBX + 0x49303))(iVar2)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x49303))" (( "(") (pointer_expression "**(code **)(unaff_EBX + 0x49303)" (* "*") (pointer_expression "*(code **)(unaff_EBX + 0x49303)" (* "*") (cast_expression "(code **)(unaff_EBX + 0x49303)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EBX + 0x49303)" (( "(") (binary_expression "unaff_EBX + 0x49303" (identifier "unaff_EBX") (+ "+") (number_literal "0x49303")) () ")"))))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (goto_statement "goto LAB_00067eca;" (goto "goto") (statement_identifier "LAB_00067eca") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar5 = 0x1b;" (assignment_expression "iVar5 = 0x1b" (identifier "iVar5") (= "=") (number_literal "0x1b")) (; ";")) (labeled_statement "LAB_00067eca:\n  if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" (statement_identifier "LAB_00067eca") (: ":") (if_statement "if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" (if "if") (parenthesized_expression "(local_24 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_24 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_24") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return iVar5;\n  }" ({ "{") (return_statement "return iVar5;" (return "return") (identifier "iVar5") (; ";")) (} "}")))) (expression_statement "FUN_0007c1a0();" (call_expression "FUN_0007c1a0()" (identifier "FUN_0007c1a0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

type_1 function_1(type_2 *var_2,char *var_3)

{
  int var_13;
  type_3 p_Var2;
  int var_5;
  char *var_7;
  char *var_9;
  type_1 var_11;
  type_1 CVar7;
  int var_1;
  type_4 sbuf;
  
  var_13 = *(int *)(var_1 + 0x14);
  if (var_2 == (type_2 *)0x0) {
    CVar7 = CURLE_BAD_FUNCTION_ARGUMENT;
    goto LAB_00067eca;
  }
  if (var_2->freefunc != (type_5)0x0) {
    (*var_2->freefunc)(var_2->arg);
  }
  var_2->readfunc = (type_6)0x0;
  CVar7 = var_12;
  var_2->seekfunc = (type_7)0x0;
  var_2->freefunc = (type_5)0x0;
  var_2->arg = var_2;
  var_2->data = (char *)0x0;
  var_2->fp = (type_8 *)0x0;
  *(type_9 *)&var_2->datasize = 0;
  *(type_9 *)((int)&var_2->datasize + 4) = 0;
  (var_2->encstate).pos = 0;
  (var_2->encstate).bufbeg = 0;
  (var_2->encstate).bufend = 0;
  var_2->kind = MIMEKIND_NONE;
  if (var_3 == (char *)0x0) goto LAB_00067eca;
  var_5 = var_4(3,var_3,(type_10 *)&sbuf);
  if (var_5 == 0) {
    var_5 = var_6(var_3,4);
    if (var_5 != 0) goto LAB_00067e1e;
    var_7 = (*Curl_cstrdup)(var_3);
    var_2->data = var_7;
    if (var_7 == (char *)0x0) goto LAB_00067e3c;
    *(type_9 *)&var_2->datasize = 0xffffffff;
    *(type_9 *)((int)&var_2->datasize + 4) = 0xffffffff;
    if ((sbuf.st_mode & 0xf000) == 0x8000) {
      *(type_9 *)&var_2->datasize = (type_9)sbuf.st_size;
      *(type_9 *)((int)&var_2->datasize + 4) = sbuf.st_size._4_4_;
      var_2->seekfunc = mime_file_seek;
    }
  }
  else {
LAB_00067e1e:
    var_7 = (*Curl_cstrdup)(var_3);
    var_2->data = var_7;
    if (var_7 == (char *)0x0) {
LAB_00067e3c:
      *(type_9 *)&var_2->datasize = 0xffffffff;
      CVar7 = CURLE_OUT_OF_MEMORY;
      *(type_9 *)((int)&var_2->datasize + 4) = 0xffffffff;
    }
    else {
      *(type_9 *)&var_2->datasize = 0xffffffff;
      CVar7 = CURLE_READ_ERROR;
      *(type_9 *)((int)&var_2->datasize + 4) = 0xffffffff;
    }
  }
  var_2->kind = MIMEKIND_FILE;
  var_2->readfunc = mime_file_read;
  var_2->freefunc = mime_file_free;
  var_7 = (*Curl_cstrdup)(var_3);
  p_Var2 = Curl_cstrdup;
  if (var_7 != (char *)0x0) {
    var_9 = var_8(var_7);
    var_9 = (*p_Var2)(var_9);
    (*Curl_cfree)(var_7);
    if (var_9 != (char *)0x0) {
      var_11 = var_10(var_2,var_9);
      if (var_11 != var_12) {
        CVar7 = var_11;
      }
      (*Curl_cfree)(var_9);
      goto LAB_00067eca;
    }
  }
  CVar7 = CURLE_OUT_OF_MEMORY;
LAB_00067eca:
  if (var_13 == *(int *)(var_1 + 0x14)) {
    return CVar7;
  }
                    /* WARNING: Subroutine does not return */
  var_14();
}


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

int MASKED(char *param_1)

{
  code *pcVar1;
  int iVar2;
  char *__path;
  char *pcVar3;
  int iVar4;
  int unaff_EBX;
  int iVar5;
  int in_GS_OFFSET;
  int unaff_retaddr;
  undefined4 *local_94;
  stat64 local_84;
  int local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0x67d69;
  entry();
  local_24 = *(int *)(in_GS_OFFSET + 0x14);
  if (unaff_retaddr == 0) {
    iVar5 = 0x2b;
    goto LAB_00067eca;
  }
  if (*(code **)(unaff_retaddr + 0x1c) != (code *)0x0) {
    (**(code **)(unaff_retaddr + 0x1c))(*(undefined4 *)(unaff_retaddr + 0x20));
  }
  *(undefined4 *)(unaff_retaddr + 0x14) = 0;
  iVar5 = 0;
  *(undefined4 *)(unaff_retaddr + 0x18) = 0;
  *(undefined4 *)(unaff_retaddr + 0x1c) = 0;
  *(int *)(unaff_retaddr + 0x20) = unaff_retaddr;
  *(undefined4 *)(unaff_retaddr + 0x10) = 0;
  *(undefined4 *)(unaff_retaddr + 0x24) = 0;
  *(undefined4 *)(unaff_retaddr + 0x3c) = 0;
  *(undefined4 *)(unaff_retaddr + 0x40) = 0;
  *(undefined4 *)(unaff_retaddr + 0x58) = 0;
  *(undefined4 *)(unaff_retaddr + 0x5c) = 0;
  *(undefined4 *)(unaff_retaddr + 0x60) = 0;
  *(undefined4 *)(unaff_retaddr + 0xc) = 0;
  if (param_1 == (char *)0x0) goto LAB_00067eca;
  iVar2 = __xstat64(3,param_1,&local_84);
  if (iVar2 == 0) {
    iVar2 = access(param_1,4);
    if (iVar2 != 0) goto LAB_00067e1e;
    iVar2 = (**(code **)(unaff_EBX + 0x492fb))(param_1);
    *(int *)(unaff_retaddr + 0x10) = iVar2;
    if (iVar2 == 0) goto LAB_00067e3c;
    *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;
    *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;
    if ((local_84.st_mode & 0xf000) == 0x8000) {
      *(undefined4 *)(unaff_retaddr + 0x3c) = (undefined4)local_84.st_size;
      *(undefined4 *)(unaff_retaddr + 0x40) = local_84.st_size._4_4_;
      *(int *)(unaff_retaddr + 0x18) = unaff_EBX + -0x659;
    }
  }
  else {
LAB_00067e1e:
    iVar5 = (**(code **)(unaff_EBX + 0x492fb))(param_1);
    *(int *)(unaff_retaddr + 0x10) = iVar5;
    if (iVar5 == 0) {
LAB_00067e3c:
      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;
      iVar5 = 0x1b;
      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;
    }
    else {
      *(undefined4 *)(unaff_retaddr + 0x3c) = 0xffffffff;
      iVar5 = 0x1a;
      *(undefined4 *)(unaff_retaddr + 0x40) = 0xffffffff;
    }
  }
  local_94 = (undefined4 *)(unaff_EBX + 0x492fb);
  *(undefined4 *)(unaff_retaddr + 0xc) = 2;
  *(int *)(unaff_retaddr + 0x14) = unaff_EBX + -0xdf9;
  *(int *)(unaff_retaddr + 0x1c) = unaff_EBX + -0xf59;
  __path = (char *)(*(code *)*local_94)(param_1);
  if (__path != (char *)0x0) {
    pcVar1 = (code *)*local_94;
    pcVar3 = __xpg_basename(__path);
    iVar2 = (*pcVar1)(pcVar3);
    (**(code **)(unaff_EBX + 0x49303))(__path);
    if (iVar2 != 0) {
      iVar4 = curl_mime_filename(unaff_retaddr,iVar2);
      if (iVar4 != 0) {
        iVar5 = iVar4;
      }
      (**(code **)(unaff_EBX + 0x49303))(iVar2);
      goto LAB_00067eca;
    }
  }
  iVar5 = 0x1b;
LAB_00067eca:
  if (local_24 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar5;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0007c1a0();
}

