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

CURLcode __regparm3
_Curl_auth_create_digest_http_message
          (Curl_easy *data,char *userp,char *passwdp,uchar *request,uchar *uripath,
          digestdata *digest,char **outptr,size_t *outlen,
          _func_void_uchar_ptr_uchar_ptr *convert_to_ascii,_func_void_uchar_ptr_uchar_ptr *hash)

{
  int iVar1;
  uchar *puVar2;
  int iVar3;
  uchar *puVar4;
  size_t sVar5;
  CURLcode CVar6;
  char *pcVar7;
  size_t sVar8;
  uchar *puVar9;
  char *pcVar10;
  char *pcVar11;
  char cVar12;
  int in_GS_OFFSET;
  char *cnonce;
  size_t cnonce_sz;
  uchar hashbuf [32];
  uchar request_digest [65];
  uchar ha1 [65];
  char userh [65];
  uchar ha2 [65];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  cnonce = (char *)0x0;
  cnonce_sz = 0;
  if (digest->nc == 0) {
    digest->nc = 1;
  }
  if (digest->cnonce == (char *)0x0) {
    CVar6 = Curl_rand_hex(data,ha2,0x21);
    if (CVar6 != CURLE_OK) goto LAB_000716f5;
    sVar8 = strlen((char *)ha2);
    CVar6 = Curl_base64_encode(data,(char *)ha2,sVar8,&cnonce,&cnonce_sz);
    if (CVar6 != CURLE_OK) goto LAB_000716f5;
    digest->cnonce = cnonce;
  }
  pcVar10 = digest->realm;
  puVar2 = (uchar *)userp;
  if (digest->userhash == false) {
LAB_0007147b:
    puVar2 = (uchar *)curl_maprintf("%s:%s:%s",puVar2,pcVar10,passwdp);
    if (puVar2 != (uchar *)0x0) {
      (*hash)(hashbuf,puVar2);
      (*Curl_cfree)(puVar2);
      (*convert_to_ascii)(hashbuf,ha1);
      if (((digest->algo & 0xfffffffdU) == 1) || (digest->algo == 5)) {
        puVar2 = (uchar *)curl_maprintf("%s:%s:%s",ha1,digest->nonce,digest->cnonce);
        if (puVar2 == (uchar *)0x0) goto LAB_000716f0;
        (*hash)(hashbuf,puVar2);
        (*Curl_cfree)(puVar2);
        (*convert_to_ascii)(hashbuf,ha1);
      }
      puVar2 = (uchar *)curl_maprintf("%s:%s",request,uripath);
      if (puVar2 != (uchar *)0x0) {
        puVar9 = puVar2;
        if ((digest->qop != (char *)0x0) &&
           (iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0)) {
          (*hash)(hashbuf,"");
          (*convert_to_ascii)(hashbuf,ha2);
          puVar9 = (uchar *)curl_maprintf("%s:%s",puVar2,ha2);
          (*Curl_cfree)(puVar2);
          if (puVar9 == (uchar *)0x0) goto LAB_000716f0;
        }
        puVar2 = ha2;
        (*hash)(hashbuf,puVar9);
        (*Curl_cfree)(puVar9);
        (*convert_to_ascii)(hashbuf,puVar2);
        if (digest->qop == (char *)0x0) {
          puVar9 = (uchar *)digest->nonce;
          puVar4 = (uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2);
        }
        else {
          puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,
                                          digest->cnonce,digest->qop,puVar2);
          puVar9 = puVar2;
        }
        if (puVar4 != (uchar *)0x0) {
          (*hash)(hashbuf,puVar4);
          (*Curl_cfree)(puVar4);
          (*convert_to_ascii)(hashbuf,request_digest);
          if (digest->userhash != false) {
            userp = userh;
          }
          cVar12 = *userp;
          if (cVar12 == '\0') {
            sVar5 = 1;
          }
          else {
            sVar5 = 1;
            pcVar10 = userp;
            do {
              while ((cVar12 != '\"' && (cVar12 != '\\'))) {
                pcVar10 = pcVar10 + 1;
                cVar12 = *pcVar10;
                sVar5 = sVar5 + 1;
                if (cVar12 == '\0') goto LAB_00071624;
              }
              pcVar10 = pcVar10 + 1;
              cVar12 = *pcVar10;
              sVar5 = sVar5 + 2;
            } while (cVar12 != '\0');
          }
LAB_00071624:
          pcVar10 = (char *)(*Curl_cmalloc)(sVar5);
          if (pcVar10 != (char *)0x0) {
            cVar12 = *userp;
            pcVar7 = pcVar10;
            while (cVar12 != '\0') {
              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {
                pcVar11 = pcVar7 + 2;
                *pcVar7 = '\\';
                pcVar7 = pcVar7 + 1;
              }
              *pcVar7 = *userp;
              cVar12 = userp[1];
              pcVar7 = pcVar11;
              userp = userp + 1;
            }
            *pcVar7 = '\0';
            if (digest->qop == (char *)0x0) {
              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""
                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);
            }
            else {
              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""
                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,
                                     digest->nc,digest->qop,request_digest);
              iVar3 = Curl_strcasecompare(digest->qop,"auth");
              if (iVar3 != 0) {
                digest->nc = digest->nc + 1;
              }
            }
            (*Curl_cfree)(pcVar10);
            if (pcVar7 != (char *)0x0) {
              puVar2 = (uchar *)digest->opaque;
              if (puVar2 != (uchar *)0x0) {
                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);
                (*Curl_cfree)(pcVar7);
                pcVar7 = pcVar10;
                puVar9 = puVar2;
                if (pcVar10 == (char *)0x0) goto LAB_000716f0;
              }
              puVar2 = (uchar *)digest->algorithm;
              if (puVar2 == (uchar *)0x0) {
                cVar12 = digest->userhash;
                pcVar10 = pcVar7;
                puVar2 = puVar9;
              }
              else {
                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);
                (*Curl_cfree)(pcVar7);
                if (pcVar10 == (char *)0x0) goto LAB_000716f0;
                cVar12 = digest->userhash;
              }
              pcVar7 = pcVar10;
              if (cVar12 != '\0') {
                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);
                (*Curl_cfree)(pcVar10);
                if (pcVar7 == (char *)0x0) goto LAB_000716f0;
              }
              *outptr = pcVar7;
              sVar8 = strlen(pcVar7);
              *outlen = sVar8;
              CVar6 = CURLE_OK;
              goto LAB_000716f5;
            }
          }
        }
      }
    }
  }
  else {
    puVar9 = (uchar *)curl_maprintf("%s:%s",userp,pcVar10);
    if (puVar9 != (uchar *)0x0) {
      (*hash)(hashbuf,puVar9);
      (*Curl_cfree)(puVar9);
      (*convert_to_ascii)(hashbuf,(uchar *)userh);
      pcVar10 = digest->realm;
      if (digest->userhash != false) {
        puVar2 = (uchar *)userh;
      }
      goto LAB_0007147b;
    }
  }
LAB_000716f0:
  CVar6 = CURLE_OUT_OF_MEMORY;
LAB_000716f5:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return CVar6;
}



int __regparm3
FUN_000713d0(undefined4 param_1,char *param_2,undefined4 param_3,undefined4 param_4,int *param_5,
            undefined4 *param_6,size_t *param_7,code *param_8,code *param_9)

{
  int iVar1;
  code *pcVar2;
  undefined4 uVar3;
  int iVar4;
  int iVar5;
  char *pcVar6;
  char *pcVar7;
  size_t sVar8;
  int iVar9;
  char *pcVar10;
  char *pcVar11;
  char cVar12;
  int unaff_EBX;
  int in_GS_OFFSET;
  undefined4 unaff_retaddr;
  int local_150;
  undefined4 local_14c;
  undefined1 local_148 [32];
  undefined1 local_128 [65];
  undefined1 local_e7 [65];
  char local_a6 [65];
  char local_65 [65];
  int local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0x713db;
  uVar3 = entry();
  local_24 = *(int *)(in_GS_OFFSET + 0x14);
  local_150 = 0;
  local_14c = 0;
  if (param_5[8] == 0) {
    param_5[8] = 1;
  }
  if (param_5[1] == 0) {
    iVar4 = FUN_00060200(uVar3,local_65,0x21);
    if (iVar4 != 0) goto LAB_000716f5;
    sVar8 = strlen(local_65);
    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);
    if (iVar4 != 0) goto LAB_000716f5;
    param_5[1] = local_150;
  }
  iVar4 = param_5[2];
  pcVar11 = param_2;
  if ((char)param_5[9] == '\0') {
LAB_0007147b:
    iVar1 = unaff_EBX + 0x16439;
    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);
    if (iVar4 != 0) {
      (*param_9)(local_148,iVar4);
      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;
      (**(code **)pcVar2)(iVar4);
      (*param_8)(local_148,local_e7);
      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {
        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);
        if (iVar4 == 0) goto LAB_000716f0;
        (*param_9)(local_148,iVar4);
        (**(code **)pcVar2)(iVar4);
        (*param_8)(local_148,local_e7);
      }
      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);
      if (iVar4 != 0) {
        iVar9 = iVar4;
        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))
        {
          (*param_9)(local_148,unaff_EBX + 0x16995);
          (*param_8)(local_148,local_65);
          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);
          (**(code **)pcVar2)(iVar4);
          if (iVar9 == 0) goto LAB_000716f0;
        }
        pcVar11 = local_65;
        (*param_9)(local_148,iVar9);
        (**(code **)pcVar2)(iVar9);
        (*param_8)(local_148,pcVar11);
        if (param_5[6] == 0) {
          pcVar10 = (char *)*param_5;
          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);
        }
        else {
          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],
                                param_5[6],pcVar11);
          pcVar10 = pcVar11;
        }
        if (iVar4 != 0) {
          (*param_9)(local_148,iVar4);
          (**(code **)pcVar2)(iVar4);
          (*param_8)(local_148,local_128);
          if ((char)param_5[9] != '\0') {
            param_2 = local_a6;
          }
          cVar12 = *param_2;
          if (cVar12 == '\0') {
            iVar4 = 1;
          }
          else {
            iVar4 = 1;
            pcVar11 = param_2;
            do {
              while ((cVar12 != '\"' && (cVar12 != '\\'))) {
                pcVar11 = pcVar11 + 1;
                cVar12 = *pcVar11;
                iVar4 = iVar4 + 1;
                if (cVar12 == '\0') goto LAB_00071624;
              }
              pcVar11 = pcVar11 + 1;
              cVar12 = *pcVar11;
              iVar4 = iVar4 + 2;
            } while (cVar12 != '\0');
          }
LAB_00071624:
          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);
          if (pcVar11 != (char *)0x0) {
            cVar12 = *param_2;
            pcVar7 = pcVar11;
            while (cVar12 != '\0') {
              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {
                pcVar6 = pcVar7 + 2;
                *pcVar7 = '\\';
                pcVar7 = pcVar7 + 1;
              }
              *pcVar7 = *param_2;
              cVar12 = param_2[1];
              pcVar7 = pcVar6;
              param_2 = param_2 + 1;
            }
            *pcVar7 = '\0';
            if (param_5[6] == 0) {
              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4
                                             ,local_128);
            }
            else {
              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4
                                             ,param_5[1],param_5[8],param_5[6],local_128);
              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);
              if (iVar4 != 0) {
                param_5[8] = param_5[8] + 1;
              }
            }
            (**(code **)pcVar2)(pcVar11);
            if (pcVar7 != (char *)0x0) {
              pcVar11 = (char *)param_5[5];
              if (pcVar11 != (char *)0x0) {
                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);
                (**(code **)pcVar2)(pcVar7);
                pcVar7 = pcVar6;
                pcVar10 = pcVar11;
                if (pcVar6 == (char *)0x0) goto LAB_000716f0;
              }
              pcVar11 = (char *)param_5[7];
              if (pcVar11 == (char *)0x0) {
                cVar12 = (char)param_5[9];
                pcVar6 = pcVar7;
                pcVar11 = pcVar10;
              }
              else {
                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);
                (**(code **)pcVar2)(pcVar7);
                if (pcVar6 == (char *)0x0) goto LAB_000716f0;
                cVar12 = (char)param_5[9];
              }
              pcVar10 = pcVar6;
              if (cVar12 != '\0') {
                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);
                (**(code **)pcVar2)(pcVar6);
                if (pcVar10 == (char *)0x0) goto LAB_000716f0;
              }
              *param_6 = pcVar10;
              sVar8 = strlen(pcVar10);
              *param_7 = sVar8;
              iVar4 = 0;
              goto LAB_000716f5;
            }
          }
        }
      }
    }
  }
  else {
    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);
    if (iVar4 != 0) {
      (*param_9)(local_148,iVar4);
      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);
      (*param_8)(local_148,local_a6);
      iVar4 = param_5[2];
      if ((char)param_5[9] != '\0') {
        pcVar11 = local_a6;
      }
      goto LAB_0007147b;
    }
  }
LAB_000716f0:
  iVar4 = 0x1b;
LAB_000716f5:
  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0007c1a0();
  }
  return iVar4;
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00019ed0
ADD EBX,0x3f405
SUB ESP,0x16c
MOV dword ptr [ESP + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x180]
MOV ESI,dword ptr [ESP + 0x188]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [ESP + 0x184]
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x18c]
MOV dword ptr [ESP + 0x24],EAX
MOV EAX,dword ptr [ESP + 0x190]
MOV dword ptr [ESP + 0x28],EAX
MOV EAX,dword ptr [ESP + 0x194]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x198]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x15c],EAX
XOR EAX,EAX
MOV EAX,dword ptr [ESI + 0x20]
MOV dword ptr [ESP + 0x30],0x0
MOV dword ptr [ESP + 0x34],0x0
TEST EAX,EAX
JNZ 0x00071461
MOV dword ptr [ESI + 0x20],0x1
MOV EDI,dword ptr [ESI + 0x4]
TEST EDI,EDI
JZ 0x00071960
CMP byte ptr [ESI + 0x24],0x0
MOV EDX,dword ptr [ESI + 0x8]
MOV EAX,EBP
JNZ 0x00071830
PUSH ECX
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xfffd7034]
MOV dword ptr [ESP + 0x2c],EAX
PUSH EAX
CALL 0x00018d60
ADD ESP,0x10
MOV EDI,EAX
TEST EAX,EAX
JZ 0x000716f0
SUB ESP,0x8
PUSH EAX
LEA EAX,[ESP + 0x44]
MOV dword ptr [ESP + 0x10],EAX
PUSH EAX
MOV ECX,dword ptr [ESP + 0x1c]
CALL ECX
LEA ECX,[EBX + 0x88c]
MOV dword ptr [ESP],EDI
MOV dword ptr [ESP + 0x20],ECX
CALL dword ptr [ECX]
POP EAX
POP EDX
LEA ECX,[ESP + 0xa1]
MOV dword ptr [ESP + 0x20],ECX
PUSH ECX
PUSH dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x18]
CALL EAX
MOV EAX,dword ptr [ESI + 0xc]
MOV EDX,EAX
ADD ESP,0x10
AND EDX,0xfffffffd
CMP EDX,0x1
JZ 0x00071718
CMP EAX,0x5
JZ 0x00071718
SUB ESP,0x4
LEA EAX,[EBX + 0xfffd7037]
PUSH dword ptr [ESP + 0x18]
PUSH dword ptr [ESP + 0x24]
MOV dword ptr [ESP + 0x28],EAX
PUSH EAX
CALL 0x00018d60
ADD ESP,0x10
MOV EDX,EAX
TEST EAX,EAX
JZ 0x000716f0
MOV EAX,dword ptr [ESI + 0x18]
TEST EAX,EAX
JZ 0x00071544
MOV dword ptr [ESP + 0x2c],EDX
LEA ECX,[EBX + 0xfffd7020]
SUB ESP,0x8
PUSH ECX
PUSH EAX
CALL 0x0003b840
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x2c]
TEST EAX,EAX
JNZ 0x000718b0
LEA EDI,[ESP + 0x11b]
SUB ESP,0x8
PUSH EDX
MOV dword ptr [ESP + 0x28],EDX
PUSH dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x1c]
CALL EAX
MOV EDX,dword ptr [ESP + 0x2c]
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [ESP],EDX
CALL dword ptr [EAX]
POP ECX
POP EAX
PUSH EDI
PUSH dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x18]
CALL EAX
MOV EAX,dword ptr [ESI + 0x18]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000719c0
SUB ESP,0x4
PUSH EDI
PUSH EAX
LEA EAX,[EBX + 0xfffd7029]
PUSH dword ptr [ESI + 0x4]
PUSH dword ptr [ESI + 0x20]
PUSH dword ptr [ESI]
PUSH dword ptr [ESP + 0x30]
PUSH EAX
CALL 0x00018d60
ADD ESP,0x20
MOV EDI,EAX
TEST EDI,EDI
JZ 0x000716f0
SUB ESP,0x8
PUSH EDI
PUSH dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x1c]
CALL EAX
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [ESP],EDI
CALL dword ptr [EAX]
POP EAX
POP EDX
LEA EDI,[ESP + 0x60]
PUSH EDI
PUSH dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x18]
CALL EAX
ADD ESP,0x10
CMP byte ptr [ESI + 0x24],0x0
JZ 0x000715e7
LEA EBP,[ESP + 0xda]
MOVZX EDX,byte ptr [EBP]
TEST DL,DL
JZ 0x000719e0
MOV ECX,EBP
MOV EAX,0x1
JMP 0x0007160d
ADD ECX,0x1
MOVZX EDX,byte ptr [ECX]
ADD EAX,0x1
TEST DL,DL
JZ 0x00071624
CMP DL,0x22
JZ 0x00071617
CMP DL,0x5c
JNZ 0x00071600
ADD ECX,0x1
MOVZX EDX,byte ptr [ECX]
ADD EAX,0x2
TEST DL,DL
JNZ 0x0007160d
SUB ESP,0xc
PUSH EAX
LEA EAX,[EBX + 0x890]
CALL dword ptr [EAX]
MOV dword ptr [ESP + 0x14],EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000716f0
MOVZX EDX,byte ptr [EBP]
TEST DL,DL
JNZ 0x00071667
JMP 0x00071768
ADD EBP,0x1
MOVZX EDX,byte ptr [EBP + -0x1]
MOV byte ptr [EAX],DL
MOVZX EDX,byte ptr [EBP]
MOV EAX,ECX
TEST DL,DL
JZ 0x00071770
LEA ECX,[EAX + 0x1]
CMP DL,0x22
JZ 0x00071674
CMP DL,0x5c
JNZ 0x00071650
LEA EDX,[EAX + 0x2]
MOV byte ptr [EAX],0x5c
MOV EAX,ECX
MOV ECX,EDX
JMP 0x00071650
SUB ESP,0x8
LEA EAX,[EBX + 0xfffd7174]
PUSH EDI
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESI]
PUSH dword ptr [ESI + 0x8]
PUSH dword ptr [ESP + 0x1c]
PUSH EAX
CALL 0x00018d60
ADD ESP,0x20
MOV EDI,EAX
SUB ESP,0xc
PUSH dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x20]
CALL dword ptr [EAX]
ADD ESP,0x10
TEST EDI,EDI
JZ 0x000716f0
MOV EAX,dword ptr [ESI + 0x14]
TEST EAX,EAX
JZ 0x000717d0
SUB ESP,0x4
PUSH EAX
LEA EAX,[EBX + 0xfffd703d]
PUSH EDI
PUSH EAX
CALL 0x00018d60
MOV dword ptr [ESP],EDI
MOV EBP,EAX
MOV EAX,dword ptr [ESP + 0x20]
CALL dword ptr [EAX]
ADD ESP,0x10
TEST EBP,EBP
JNZ 0x000717d2
LEA ESI,[ESI]
NOP
MOV EAX,0x1b
MOV EBX,dword ptr [ESP + 0x15c]
XOR EBX,dword ptr GS:[0x14]
JNZ 0x000719ea
ADD ESP,0x16c
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH dword ptr [ESI + 0x4]
PUSH dword ptr [ESI]
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0x2c]
CALL 0x00018d60
ADD ESP,0x10
MOV EDI,EAX
TEST EAX,EAX
JZ 0x000716f0
SUB ESP,0x8
PUSH EAX
PUSH dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x1c]
CALL EAX
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [ESP],EDI
CALL dword ptr [EAX]
POP ECX
POP EDI
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x18]
CALL EAX
ADD ESP,0x10
JMP 0x000714f2
MOV ECX,dword ptr [ESP + 0x4]
LEA ESI,[ESI]
MOV byte ptr [ECX],0x0
MOV EAX,dword ptr [ESI + 0x18]
TEST EAX,EAX
JZ 0x00071680
SUB ESP,0xc
PUSH EDI
PUSH EAX
LEA EAX,[EBX + 0xfffd7114]
PUSH dword ptr [ESI + 0x20]
PUSH dword ptr [ESI + 0x4]
PUSH dword ptr [ESP + 0x30]
PUSH dword ptr [ESI]
PUSH dword ptr [ESI + 0x8]
PUSH dword ptr [ESP + 0x2c]
PUSH EAX
CALL 0x00018d60
ADD ESP,0x28
MOV EDI,EAX
LEA EAX,[EBX + 0xfffd5cfb]
PUSH EAX
PUSH dword ptr [ESI + 0x18]
CALL 0x0003b840
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000716a2
ADD dword ptr [ESI + 0x20],0x1
JMP 0x000716a2
MOV EBP,EDI
MOV EAX,dword ptr [ESI + 0x1c]
TEST EAX,EAX
JZ 0x00071920
SUB ESP,0x4
PUSH EAX
LEA EAX,[EBX + 0xfffd704d]
PUSH EBP
PUSH EAX
CALL 0x00018d60
MOV dword ptr [ESP],EBP
MOV EDI,EAX
MOV EAX,dword ptr [ESP + 0x20]
CALL dword ptr [EAX]
ADD ESP,0x10
TEST EDI,EDI
JZ 0x000716f0
CMP byte ptr [ESI + 0x24],0x0
JNZ 0x0007192c
MOV EAX,dword ptr [ESP + 0x24]
SUB ESP,0xc
MOV dword ptr [EAX],EDI
PUSH EDI
CALL 0x00018850
ADD ESP,0x10
MOV ESI,dword ptr [ESP + 0x28]
MOV dword ptr [ESI],EAX
XOR EAX,EAX
JMP 0x000716f5
MOV dword ptr [ESP + 0x4],ECX
LEA EAX,[EBX + 0xfffd7037]
SUB ESP,0x4
PUSH EDX
PUSH EBP
PUSH EAX
CALL 0x00018d60
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x4]
TEST EAX,EAX
MOV EDI,EAX
JZ 0x000716f0
MOV dword ptr [ESP + 0x10],ECX
SUB ESP,0x8
PUSH EAX
LEA EDX,[ESP + 0x44]
PUSH EDX
MOV EAX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESP + 0x14],EDX
CALL EAX
LEA EAX,[EBX + 0x88c]
MOV dword ptr [ESP],EDI
CALL dword ptr [EAX]
POP ECX
POP EDI
LEA EDI,[ESP + 0xe2]
PUSH EDI
MOV EDX,dword ptr [ESP + 0x10]
PUSH EDX
MOV EAX,dword ptr [ESP + 0x18]
CALL EAX
MOV EDX,dword ptr [ESI + 0x8]
MOV ECX,dword ptr [ESP + 0x20]
ADD ESP,0x10
CMP byte ptr [ESI + 0x24],0x0
JZ 0x000719ef
MOV EAX,EDI
JMP 0x0007147b
MOV dword ptr [ESP + 0x2c],EDX
LEA EAX,[EBX + 0xfffd7590]
SUB ESP,0x8
PUSH EAX
PUSH dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x1c]
CALL EAX
POP EAX
POP EDX
LEA EDI,[ESP + 0x123]
PUSH EDI
PUSH dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x18]
CALL EAX
ADD ESP,0xc
PUSH EDI
MOV EDX,dword ptr [ESP + 0x34]
PUSH EDX
MOV dword ptr [ESP + 0x38],EDX
PUSH dword ptr [ESP + 0x28]
CALL 0x00018d60
MOV EDX,dword ptr [ESP + 0x3c]
MOV dword ptr [ESP + 0x2c],EAX
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [ESP],EDX
CALL dword ptr [EAX]
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x1c]
TEST EAX,EAX
JZ 0x000716f0
MOV EDX,EAX
JMP 0x0007154b
CMP byte ptr [ESI + 0x24],0x0
MOV EDI,EBP
JZ 0x0007180e
SUB ESP,0x8
LEA EAX,[EBX + 0xfffd7060]
PUSH EDI
PUSH EAX
CALL 0x00018d60
MOV dword ptr [ESP],EDI
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x20]
CALL dword ptr [EAX]
ADD ESP,0x10
TEST ESI,ESI
JZ 0x000716f0
MOV EDI,ESI
JMP 0x0007180e
MOV dword ptr [ESP + 0x10],ECX
SUB ESP,0x4
PUSH 0x21
LEA EDI,[ESP + 0x123]
PUSH EDI
PUSH dword ptr [ESP + 0x10]
CALL 0x00060200
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000716f5
SUB ESP,0xc
PUSH EDI
CALL 0x00018850
POP EDX
LEA EDX,[ESP + 0x40]
PUSH EDX
LEA EDX,[ESP + 0x40]
PUSH EDX
PUSH EAX
PUSH EDI
PUSH dword ptr [ESP + 0x20]
CALL 0x0001b180
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x000716f5
MOV EAX,dword ptr [ESP + 0x30]
MOV ECX,dword ptr [ESP + 0x10]
MOV dword ptr [ESI + 0x4],EAX
JMP 0x0007146c
PUSH EDI
PUSH dword ptr [ESI]
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0x2c]
CALL 0x00018d60
ADD ESP,0x10
MOV EDI,EAX
JMP 0x000715a7
MOV EAX,0x1
JMP 0x00071624
CALL 0x0007c1a0
MOV EAX,EBP
JMP 0x0007147b
(translation_unit "int __regparm3\nFUN_000713d0(undefined4 param_1,char *param_2,undefined4 param_3,undefined4 param_4,int *param_5,\n            undefined4 *param_6,size_t *param_7,code *param_8,code *param_9)\n\n{\n  int iVar1;\n  code *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  size_t sVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  char cVar12;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  int local_150;\n  undefined4 local_14c;\n  undefined1 local_148 [32];\n  undefined1 local_128 [65];\n  undefined1 local_e7 [65];\n  char local_a6 [65];\n  char local_65 [65];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x713db;\n  uVar3 = entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  local_150 = 0;\n  local_14c = 0;\n  if (param_5[8] == 0) {\n    param_5[8] = 1;\n  }\n  if (param_5[1] == 0) {\n    iVar4 = FUN_00060200(uVar3,local_65,0x21);\n    if (iVar4 != 0) goto LAB_000716f5;\n    sVar8 = strlen(local_65);\n    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);\n    if (iVar4 != 0) goto LAB_000716f5;\n    param_5[1] = local_150;\n  }\n  iVar4 = param_5[2];\n  pcVar11 = param_2;\n  if ((char)param_5[9] == '\0') {\nLAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;\n    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }\nLAB_000716f0:\n  iVar4 = 0x1b;\nLAB_000716f5:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0007c1a0();\n  }\n  return iVar4;\n}\n\n" (function_definition "int __regparm3\nFUN_000713d0(undefined4 param_1,char *param_2,undefined4 param_3,undefined4 param_4,int *param_5,\n            undefined4 *param_6,size_t *param_7,code *param_8,code *param_9)\n\n{\n  int iVar1;\n  code *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  size_t sVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  char cVar12;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  int local_150;\n  undefined4 local_14c;\n  undefined1 local_148 [32];\n  undefined1 local_128 [65];\n  undefined1 local_e7 [65];\n  char local_a6 [65];\n  char local_65 [65];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x713db;\n  uVar3 = entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  local_150 = 0;\n  local_14c = 0;\n  if (param_5[8] == 0) {\n    param_5[8] = 1;\n  }\n  if (param_5[1] == 0) {\n    iVar4 = FUN_00060200(uVar3,local_65,0x21);\n    if (iVar4 != 0) goto LAB_000716f5;\n    sVar8 = strlen(local_65);\n    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);\n    if (iVar4 != 0) goto LAB_000716f5;\n    param_5[1] = local_150;\n  }\n  iVar4 = param_5[2];\n  pcVar11 = param_2;\n  if ((char)param_5[9] == '\0') {\nLAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;\n    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }\nLAB_000716f0:\n  iVar4 = 0x1b;\nLAB_000716f5:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0007c1a0();\n  }\n  return iVar4;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000713d0(undefined4 param_1,char *param_2,undefined4 param_3,undefined4 param_4,int *param_5,\n            undefined4 *param_6,size_t *param_7,code *param_8,code *param_9)" identifier (parameter_list "(undefined4 param_1,char *param_2,undefined4 param_3,undefined4 param_4,int *param_5,\n            undefined4 *param_6,size_t *param_7,code *param_8,code *param_9)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "size_t *param_7" primitive_type (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "code *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) , (parameter_declaration "code *param_9" type_identifier (pointer_declarator "*param_9" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  size_t sVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  char cVar12;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  int local_150;\n  undefined4 local_14c;\n  undefined1 local_148 [32];\n  undefined1 local_128 [65];\n  undefined1 local_e7 [65];\n  char local_a6 [65];\n  char local_65 [65];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x713db;\n  uVar3 = entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  local_150 = 0;\n  local_14c = 0;\n  if (param_5[8] == 0) {\n    param_5[8] = 1;\n  }\n  if (param_5[1] == 0) {\n    iVar4 = FUN_00060200(uVar3,local_65,0x21);\n    if (iVar4 != 0) goto LAB_000716f5;\n    sVar8 = strlen(local_65);\n    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);\n    if (iVar4 != 0) goto LAB_000716f5;\n    param_5[1] = local_150;\n  }\n  iVar4 = param_5[2];\n  pcVar11 = param_2;\n  if ((char)param_5[9] == '\0') {\nLAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;\n    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }\nLAB_000716f0:\n  iVar4 = 0x1b;\nLAB_000716f5:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0007c1a0();\n  }\n  return iVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "size_t sVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "char cVar12;" primitive_type identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (declaration "int local_150;" primitive_type identifier ;) (declaration "undefined4 local_14c;" type_identifier identifier ;) (declaration "undefined1 local_148 [32];" type_identifier (array_declarator "local_148 [32]" identifier [ number_literal ]) ;) (declaration "undefined1 local_128 [65];" type_identifier (array_declarator "local_128 [65]" identifier [ number_literal ]) ;) (declaration "undefined1 local_e7 [65];" type_identifier (array_declarator "local_e7 [65]" identifier [ number_literal ]) ;) (declaration "char local_a6 [65];" primitive_type (array_declarator "local_a6 [65]" identifier [ number_literal ]) ;) (declaration "char local_65 [65];" primitive_type (array_declarator "local_65 [65]" identifier [ number_literal ]) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x713db;" (assignment_expression "uStack_14 = 0x713db" identifier = number_literal) ;) (expression_statement "uVar3 = entry();" (assignment_expression "uVar3 = entry()" identifier = (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) ))))) ;) (expression_statement "local_150 = 0;" (assignment_expression "local_150 = 0" identifier = number_literal) ;) (expression_statement "local_14c = 0;" (assignment_expression "local_14c = 0" identifier = number_literal) ;) (if_statement "if (param_5[8] == 0) {\n    param_5[8] = 1;\n  }" if (parenthesized_expression "(param_5[8] == 0)" ( (binary_expression "param_5[8] == 0" (subscript_expression "param_5[8]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    param_5[8] = 1;\n  }" { (expression_statement "param_5[8] = 1;" (assignment_expression "param_5[8] = 1" (subscript_expression "param_5[8]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (param_5[1] == 0) {\n    iVar4 = FUN_00060200(uVar3,local_65,0x21);\n    if (iVar4 != 0) goto LAB_000716f5;\n    sVar8 = strlen(local_65);\n    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);\n    if (iVar4 != 0) goto LAB_000716f5;\n    param_5[1] = local_150;\n  }" if (parenthesized_expression "(param_5[1] == 0)" ( (binary_expression "param_5[1] == 0" (subscript_expression "param_5[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    iVar4 = FUN_00060200(uVar3,local_65,0x21);\n    if (iVar4 != 0) goto LAB_000716f5;\n    sVar8 = strlen(local_65);\n    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);\n    if (iVar4 != 0) goto LAB_000716f5;\n    param_5[1] = local_150;\n  }" { (expression_statement "iVar4 = FUN_00060200(uVar3,local_65,0x21);" (assignment_expression "iVar4 = FUN_00060200(uVar3,local_65,0x21)" identifier = (call_expression "FUN_00060200(uVar3,local_65,0x21)" identifier (argument_list "(uVar3,local_65,0x21)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar4 != 0) goto LAB_000716f5;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000716f5;" goto statement_identifier ;)) (expression_statement "sVar8 = strlen(local_65);" (assignment_expression "sVar8 = strlen(local_65)" identifier = (call_expression "strlen(local_65)" identifier (argument_list "(local_65)" ( identifier )))) ;) (expression_statement "iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);" (assignment_expression "iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c)" identifier = (call_expression "FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c)" identifier (argument_list "(uVar3,local_65,sVar8,&local_150,&local_14c)" ( identifier , identifier , identifier , (pointer_expression "&local_150" & identifier) , (pointer_expression "&local_14c" & identifier) )))) ;) (if_statement "if (iVar4 != 0) goto LAB_000716f5;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000716f5;" goto statement_identifier ;)) (expression_statement "param_5[1] = local_150;" (assignment_expression "param_5[1] = local_150" (subscript_expression "param_5[1]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "iVar4 = param_5[2];" (assignment_expression "iVar4 = param_5[2]" identifier = (subscript_expression "param_5[2]" identifier [ number_literal ])) ;) (expression_statement "pcVar11 = param_2;" (assignment_expression "pcVar11 = param_2" identifier = identifier) ;) (if_statement "if ((char)param_5[9] == '\0') {\nLAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;\n    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }" if (parenthesized_expression "((char)param_5[9] == '\0')" ( (binary_expression "(char)param_5[9] == '\0'" (cast_expression "(char)param_5[9]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_5[9]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;\n    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }" { (labeled_statement "LAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;" statement_identifier : (expression_statement "iVar1 = unaff_EBX + 0x16439;" (assignment_expression "iVar1 = unaff_EBX + 0x16439" identifier = (binary_expression "unaff_EBX + 0x16439" identifier + number_literal)) ;)) (expression_statement "iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);" (assignment_expression "iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3)" identifier = (call_expression "curl_maprintf(iVar1,pcVar11,iVar4,param_3)" identifier (argument_list "(iVar1,pcVar11,iVar4,param_3)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }" { (expression_statement "(*param_9)(local_148,iVar4);" (call_expression "(*param_9)(local_148,iVar4)" (parenthesized_expression "(*param_9)" ( (pointer_expression "*param_9" * identifier) )) (argument_list "(local_148,iVar4)" ( identifier , identifier ))) ;) (expression_statement "pcVar2 = FUN_0003fc90 + unaff_EBX + 1;" (assignment_expression "pcVar2 = FUN_0003fc90 + unaff_EBX + 1" identifier = (binary_expression "FUN_0003fc90 + unaff_EBX + 1" (binary_expression "FUN_0003fc90 + unaff_EBX" identifier + identifier) + number_literal)) ;) (expression_statement "(**(code **)pcVar2)(iVar4);" (call_expression "(**(code **)pcVar2)(iVar4)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "(*param_8)(local_148,local_e7);" (call_expression "(*param_8)(local_148,local_e7)" (parenthesized_expression "(*param_8)" ( (pointer_expression "*param_8" * identifier) )) (argument_list "(local_148,local_e7)" ( identifier , identifier ))) ;) (if_statement "if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }" if (parenthesized_expression "(((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5))" ( (binary_expression "((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)" (parenthesized_expression "((param_5[3] & 0xfffffffdU) == 1)" ( (binary_expression "(param_5[3] & 0xfffffffdU) == 1" (parenthesized_expression "(param_5[3] & 0xfffffffdU)" ( (binary_expression "param_5[3] & 0xfffffffdU" (subscript_expression "param_5[3]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) || (parenthesized_expression "(param_5[3] == 5)" ( (binary_expression "param_5[3] == 5" (subscript_expression "param_5[3]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }" { (expression_statement "iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);" (assignment_expression "iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1])" identifier = (call_expression "curl_maprintf(iVar1,local_e7,*param_5,param_5[1])" identifier (argument_list "(iVar1,local_e7,*param_5,param_5[1])" ( identifier , identifier , (pointer_expression "*param_5" * identifier) , (subscript_expression "param_5[1]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar4 == 0) goto LAB_000716f0;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) (expression_statement "(*param_9)(local_148,iVar4);" (call_expression "(*param_9)(local_148,iVar4)" (parenthesized_expression "(*param_9)" ( (pointer_expression "*param_9" * identifier) )) (argument_list "(local_148,iVar4)" ( identifier , identifier ))) ;) (expression_statement "(**(code **)pcVar2)(iVar4);" (call_expression "(**(code **)pcVar2)(iVar4)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "(*param_8)(local_148,local_e7);" (call_expression "(*param_8)(local_148,local_e7)" (parenthesized_expression "(*param_8)" ( (pointer_expression "*param_8" * identifier) )) (argument_list "(local_148,local_e7)" ( identifier , identifier ))) ;) })) (expression_statement "iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);" (assignment_expression "iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4)" identifier = (call_expression "curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4)" identifier (argument_list "(unaff_EBX + 0x1643c,unaff_retaddr,param_4)" ( (binary_expression "unaff_EBX + 0x1643c" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }" { (expression_statement "iVar9 = iVar4;" (assignment_expression "iVar9 = iVar4" identifier = identifier) ;) (if_statement "if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }" if (parenthesized_expression "((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))" ( (binary_expression "(param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0)" (parenthesized_expression "(param_5[6] != 0)" ( (binary_expression "param_5[6] != 0" (subscript_expression "param_5[6]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0)" ( (comma_expression "iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0" (assignment_expression "iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425)" identifier = (call_expression "FUN_0003b840(param_5[6],unaff_EBX + 0x16425)" identifier (argument_list "(param_5[6],unaff_EBX + 0x16425)" ( (subscript_expression "param_5[6]" identifier [ number_literal ]) , (binary_expression "unaff_EBX + 0x16425" identifier + number_literal) )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }" { (expression_statement "(*param_9)(local_148,unaff_EBX + 0x16995);" (call_expression "(*param_9)(local_148,unaff_EBX + 0x16995)" (parenthesized_expression "(*param_9)" ( (pointer_expression "*param_9" * identifier) )) (argument_list "(local_148,unaff_EBX + 0x16995)" ( identifier , (binary_expression "unaff_EBX + 0x16995" identifier + number_literal) ))) ;) (expression_statement "(*param_8)(local_148,local_65);" (call_expression "(*param_8)(local_148,local_65)" (parenthesized_expression "(*param_8)" ( (pointer_expression "*param_8" * identifier) )) (argument_list "(local_148,local_65)" ( identifier , identifier ))) ;) (expression_statement "iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);" (assignment_expression "iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65)" identifier = (call_expression "curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65)" identifier (argument_list "(unaff_EBX + 0x1643c,iVar4,local_65)" ( (binary_expression "unaff_EBX + 0x1643c" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "(**(code **)pcVar2)(iVar4);" (call_expression "(**(code **)pcVar2)(iVar4)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar4)" ( identifier ))) ;) (if_statement "if (iVar9 == 0) goto LAB_000716f0;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) })) (expression_statement "pcVar11 = local_65;" (assignment_expression "pcVar11 = local_65" identifier = identifier) ;) (expression_statement "(*param_9)(local_148,iVar9);" (call_expression "(*param_9)(local_148,iVar9)" (parenthesized_expression "(*param_9)" ( (pointer_expression "*param_9" * identifier) )) (argument_list "(local_148,iVar9)" ( identifier , identifier ))) ;) (expression_statement "(**(code **)pcVar2)(iVar9);" (call_expression "(**(code **)pcVar2)(iVar9)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar9)" ( identifier ))) ;) (expression_statement "(*param_8)(local_148,pcVar11);" (call_expression "(*param_8)(local_148,pcVar11)" (parenthesized_expression "(*param_8)" ( (pointer_expression "*param_8" * identifier) )) (argument_list "(local_148,pcVar11)" ( identifier , identifier ))) ;) (if_statement "if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }" if (parenthesized_expression "(param_5[6] == 0)" ( (binary_expression "param_5[6] == 0" (subscript_expression "param_5[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }" { (expression_statement "pcVar10 = (char *)*param_5;" (assignment_expression "pcVar10 = (char *)*param_5" identifier = (cast_expression "(char *)*param_5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_5" * identifier))) ;) (expression_statement "iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);" (assignment_expression "iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11)" identifier = (call_expression "curl_maprintf(iVar1,local_e7,pcVar10,pcVar11)" identifier (argument_list "(iVar1,local_e7,pcVar10,pcVar11)" ( identifier , identifier , identifier , identifier )))) ;) }) (else_clause "else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }" else (compound_statement "{\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }" { (expression_statement "iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);" (assignment_expression "iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11)" identifier = (call_expression "curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11)" identifier (argument_list "(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11)" ( (binary_expression "unaff_EBX + 0x1642e" identifier + number_literal) , identifier , (pointer_expression "*param_5" * identifier) , (subscript_expression "param_5[8]" identifier [ number_literal ]) , (subscript_expression "param_5[1]" identifier [ number_literal ]) , (subscript_expression "param_5[6]" identifier [ number_literal ]) , identifier )))) ;) (expression_statement "pcVar10 = pcVar11;" (assignment_expression "pcVar10 = pcVar11" identifier = identifier) ;) }))) (if_statement "if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }" { (expression_statement "(*param_9)(local_148,iVar4);" (call_expression "(*param_9)(local_148,iVar4)" (parenthesized_expression "(*param_9)" ( (pointer_expression "*param_9" * identifier) )) (argument_list "(local_148,iVar4)" ( identifier , identifier ))) ;) (expression_statement "(**(code **)pcVar2)(iVar4);" (call_expression "(**(code **)pcVar2)(iVar4)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "(*param_8)(local_148,local_128);" (call_expression "(*param_8)(local_148,local_128)" (parenthesized_expression "(*param_8)" ( (pointer_expression "*param_8" * identifier) )) (argument_list "(local_148,local_128)" ( identifier , identifier ))) ;) (if_statement "if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }" if (parenthesized_expression "((char)param_5[9] != '\0')" ( (binary_expression "(char)param_5[9] != '\0'" (cast_expression "(char)param_5[9]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_5[9]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            param_2 = local_a6;\n          }" { (expression_statement "param_2 = local_a6;" (assignment_expression "param_2 = local_a6" identifier = identifier) ;) })) (expression_statement "cVar12 = *param_2;" (assignment_expression "cVar12 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }" if (parenthesized_expression "(cVar12 == '\0')" ( (binary_expression "cVar12 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar4 = 1;\n          }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }" else (compound_statement "{\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (expression_statement "pcVar11 = param_2;" (assignment_expression "pcVar11 = param_2" identifier = identifier) ;) (do_statement "do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');" do (compound_statement "{\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            }" { (while_statement "while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }" while (parenthesized_expression "((cVar12 != '\"' && (cVar12 != '\\')))" ( (parenthesized_expression "(cVar12 != '\"' && (cVar12 != '\\'))" ( (binary_expression "cVar12 != '\"' && (cVar12 != '\\')" (binary_expression "cVar12 != '\"'" identifier != (char_literal "'\"'" ' escape_sequence ')) && (parenthesized_expression "(cVar12 != '\\')" ( (binary_expression "cVar12 != '\\'" identifier != (char_literal "'\\'" ' escape_sequence ')) ))) )) )) (compound_statement "{\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }" { (expression_statement "pcVar11 = pcVar11 + 1;" (assignment_expression "pcVar11 = pcVar11 + 1" identifier = (binary_expression "pcVar11 + 1" identifier + number_literal)) ;) (expression_statement "cVar12 = *pcVar11;" (assignment_expression "cVar12 = *pcVar11" identifier = (pointer_expression "*pcVar11" * identifier)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (cVar12 == '\0') goto LAB_00071624;" if (parenthesized_expression "(cVar12 == '\0')" ( (binary_expression "cVar12 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00071624;" goto statement_identifier ;)) })) (expression_statement "pcVar11 = pcVar11 + 1;" (assignment_expression "pcVar11 = pcVar11 + 1" identifier = (binary_expression "pcVar11 + 1" identifier + number_literal)) ;) (expression_statement "cVar12 = *pcVar11;" (assignment_expression "cVar12 = *pcVar11" identifier = (pointer_expression "*pcVar11" * identifier)) ;) (expression_statement "iVar4 = iVar4 + 2;" (assignment_expression "iVar4 = iVar4 + 2" identifier = (binary_expression "iVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar12 != '\0')" ( (binary_expression "cVar12 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) }))) (labeled_statement "LAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);" statement_identifier : (expression_statement "pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);" (assignment_expression "pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4)" identifier = (cast_expression "(char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(unaff_EBX + 0x3fc95))(iVar4)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x3fc95))" ( (pointer_expression "**(code **)(unaff_EBX + 0x3fc95)" * (pointer_expression "*(code **)(unaff_EBX + 0x3fc95)" * (cast_expression "(code **)(unaff_EBX + 0x3fc95)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x3fc95)" ( (binary_expression "unaff_EBX + 0x3fc95" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier ))))) ;)) (if_statement "if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }" if (parenthesized_expression "(pcVar11 != (char *)0x0)" ( (binary_expression "pcVar11 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }" { (expression_statement "cVar12 = *param_2;" (assignment_expression "cVar12 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "pcVar7 = pcVar11;" (assignment_expression "pcVar7 = pcVar11" identifier = identifier) ;) (while_statement "while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }" while (parenthesized_expression "(cVar12 != '\0')" ( (binary_expression "cVar12 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }" { (if_statement "if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }" if (parenthesized_expression "((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\'))" ( (binary_expression "(cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')" (parenthesized_expression "(cVar12 == '\"')" ( (binary_expression "cVar12 == '\"'" identifier == (char_literal "'\"'" ' escape_sequence ')) )) || (parenthesized_expression "(pcVar6 = pcVar7 + 1, cVar12 == '\\')" ( (comma_expression "pcVar6 = pcVar7 + 1, cVar12 == '\\'" (assignment_expression "pcVar6 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) , (binary_expression "cVar12 == '\\'" identifier == (char_literal "'\\'" ' escape_sequence '))) ))) )) (compound_statement "{\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }" { (expression_statement "pcVar6 = pcVar7 + 2;" (assignment_expression "pcVar6 = pcVar7 + 2" identifier = (binary_expression "pcVar7 + 2" identifier + number_literal)) ;) (expression_statement "*pcVar7 = '\\';" (assignment_expression "*pcVar7 = '\\'" (pointer_expression "*pcVar7" * identifier) = (char_literal "'\\'" ' escape_sequence ')) ;) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "*pcVar7 = *param_2;" (assignment_expression "*pcVar7 = *param_2" (pointer_expression "*pcVar7" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "cVar12 = param_2[1];" (assignment_expression "cVar12 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar7 = pcVar6;" (assignment_expression "pcVar7 = pcVar6" identifier = identifier) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) })) (expression_statement "*pcVar7 = '\0';" (assignment_expression "*pcVar7 = '\0'" (pointer_expression "*pcVar7" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }" if (parenthesized_expression "(param_5[6] == 0)" ( (binary_expression "param_5[6] == 0" (subscript_expression "param_5[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }" { (expression_statement "pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);" (assignment_expression "pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128)" identifier = (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128)" identifier (argument_list "(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128)" ( (binary_expression "unaff_EBX + 0x16579" identifier + number_literal) , identifier , (subscript_expression "param_5[2]" identifier [ number_literal ]) , (pointer_expression "*param_5" * identifier) , identifier , identifier ))))) ;) }) (else_clause "else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }" else (compound_statement "{\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }" { (expression_statement "pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);" (assignment_expression "pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128)" identifier = (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128)" identifier (argument_list "(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128)" ( (binary_expression "unaff_EBX + 0x16519" identifier + number_literal) , identifier , (subscript_expression "param_5[2]" identifier [ number_literal ]) , (pointer_expression "*param_5" * identifier) , identifier , (subscript_expression "param_5[1]" identifier [ number_literal ]) , (subscript_expression "param_5[8]" identifier [ number_literal ]) , (subscript_expression "param_5[6]" identifier [ number_literal ]) , identifier ))))) ;) (expression_statement "iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);" (assignment_expression "iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX)" identifier = (call_expression "FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX)" identifier (argument_list "(param_5[6],&UNK_00015100 + unaff_EBX)" ( (subscript_expression "param_5[6]" identifier [ number_literal ]) , (binary_expression "&UNK_00015100 + unaff_EBX" (pointer_expression "&UNK_00015100" & identifier) + identifier) )))) ;) (if_statement "if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n                param_5[8] = param_5[8] + 1;\n              }" { (expression_statement "param_5[8] = param_5[8] + 1;" (assignment_expression "param_5[8] = param_5[8] + 1" (subscript_expression "param_5[8]" identifier [ number_literal ]) = (binary_expression "param_5[8] + 1" (subscript_expression "param_5[8]" identifier [ number_literal ]) + number_literal)) ;) })) }))) (expression_statement "(**(code **)pcVar2)(pcVar11);" (call_expression "(**(code **)pcVar2)(pcVar11)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(pcVar11)" ( identifier ))) ;) (if_statement "if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }" if (parenthesized_expression "(pcVar7 != (char *)0x0)" ( (binary_expression "pcVar7 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }" { (expression_statement "pcVar11 = (char *)param_5[5];" (assignment_expression "pcVar11 = (char *)param_5[5]" identifier = (cast_expression "(char *)param_5[5]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_5[5]" identifier [ number_literal ]))) ;) (if_statement "if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }" if (parenthesized_expression "(pcVar11 != (char *)0x0)" ( (binary_expression "pcVar11 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }" { (expression_statement "pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);" (assignment_expression "pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11)" identifier = (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11)" identifier (argument_list "(unaff_EBX + 0x16442,pcVar7,pcVar11)" ( (binary_expression "unaff_EBX + 0x16442" identifier + number_literal) , identifier , identifier ))))) ;) (expression_statement "(**(code **)pcVar2)(pcVar7);" (call_expression "(**(code **)pcVar2)(pcVar7)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(pcVar7)" ( identifier ))) ;) (expression_statement "pcVar7 = pcVar6;" (assignment_expression "pcVar7 = pcVar6" identifier = identifier) ;) (expression_statement "pcVar10 = pcVar11;" (assignment_expression "pcVar10 = pcVar11" identifier = identifier) ;) (if_statement "if (pcVar6 == (char *)0x0) goto LAB_000716f0;" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) })) (expression_statement "pcVar11 = (char *)param_5[7];" (assignment_expression "pcVar11 = (char *)param_5[7]" identifier = (cast_expression "(char *)param_5[7]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_5[7]" identifier [ number_literal ]))) ;) (if_statement "if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }" if (parenthesized_expression "(pcVar11 == (char *)0x0)" ( (binary_expression "pcVar11 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }" { (expression_statement "cVar12 = (char)param_5[9];" (assignment_expression "cVar12 = (char)param_5[9]" identifier = (cast_expression "(char)param_5[9]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_5[9]" identifier [ number_literal ]))) ;) (expression_statement "pcVar6 = pcVar7;" (assignment_expression "pcVar6 = pcVar7" identifier = identifier) ;) (expression_statement "pcVar11 = pcVar10;" (assignment_expression "pcVar11 = pcVar10" identifier = identifier) ;) }) (else_clause "else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }" else (compound_statement "{\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }" { (expression_statement "pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);" (assignment_expression "pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11)" identifier = (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11)" identifier (argument_list "(unaff_EBX + 0x16452,pcVar7,pcVar11)" ( (binary_expression "unaff_EBX + 0x16452" identifier + number_literal) , identifier , identifier ))))) ;) (expression_statement "(**(code **)pcVar2)(pcVar7);" (call_expression "(**(code **)pcVar2)(pcVar7)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(pcVar7)" ( identifier ))) ;) (if_statement "if (pcVar6 == (char *)0x0) goto LAB_000716f0;" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) (expression_statement "cVar12 = (char)param_5[9];" (assignment_expression "cVar12 = (char)param_5[9]" identifier = (cast_expression "(char)param_5[9]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_5[9]" identifier [ number_literal ]))) ;) }))) (expression_statement "pcVar10 = pcVar6;" (assignment_expression "pcVar10 = pcVar6" identifier = identifier) ;) (if_statement "if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }" if (parenthesized_expression "(cVar12 != '\0')" ( (binary_expression "cVar12 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }" { (expression_statement "pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);" (assignment_expression "pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11)" identifier = (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11)" identifier (argument_list "(unaff_EBX + 0x16465,pcVar6,pcVar11)" ( (binary_expression "unaff_EBX + 0x16465" identifier + number_literal) , identifier , identifier ))))) ;) (expression_statement "(**(code **)pcVar2)(pcVar6);" (call_expression "(**(code **)pcVar2)(pcVar6)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(pcVar6)" ( identifier ))) ;) (if_statement "if (pcVar10 == (char *)0x0) goto LAB_000716f0;" if (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) })) (expression_statement "*param_6 = pcVar10;" (assignment_expression "*param_6 = pcVar10" (pointer_expression "*param_6" * identifier) = identifier) ;) (expression_statement "sVar8 = strlen(pcVar10);" (assignment_expression "sVar8 = strlen(pcVar10)" identifier = (call_expression "strlen(pcVar10)" identifier (argument_list "(pcVar10)" ( identifier )))) ;) (expression_statement "*param_7 = sVar8;" (assignment_expression "*param_7 = sVar8" (pointer_expression "*param_7" * identifier) = identifier) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000716f5;" goto statement_identifier ;) })) })) })) })) })) }) (else_clause "else {\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }" else (compound_statement "{\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }" { (expression_statement "iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);" (assignment_expression "iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4)" identifier = (call_expression "curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4)" identifier (argument_list "(unaff_EBX + 0x1643c,param_2,iVar4)" ( (binary_expression "unaff_EBX + 0x1643c" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }" { (expression_statement "(*param_9)(local_148,iVar4);" (call_expression "(*param_9)(local_148,iVar4)" (parenthesized_expression "(*param_9)" ( (pointer_expression "*param_9" * identifier) )) (argument_list "(local_148,iVar4)" ( identifier , identifier ))) ;) (expression_statement "(**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);" (call_expression "(**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4)" (parenthesized_expression "(**(code **)(FUN_0003fc90 + unaff_EBX + 1))" ( (pointer_expression "**(code **)(FUN_0003fc90 + unaff_EBX + 1)" * (pointer_expression "*(code **)(FUN_0003fc90 + unaff_EBX + 1)" * (cast_expression "(code **)(FUN_0003fc90 + unaff_EBX + 1)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(FUN_0003fc90 + unaff_EBX + 1)" ( (binary_expression "FUN_0003fc90 + unaff_EBX + 1" (binary_expression "FUN_0003fc90 + unaff_EBX" identifier + identifier) + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "(*param_8)(local_148,local_a6);" (call_expression "(*param_8)(local_148,local_a6)" (parenthesized_expression "(*param_8)" ( (pointer_expression "*param_8" * identifier) )) (argument_list "(local_148,local_a6)" ( identifier , identifier ))) ;) (expression_statement "iVar4 = param_5[2];" (assignment_expression "iVar4 = param_5[2]" identifier = (subscript_expression "param_5[2]" identifier [ number_literal ])) ;) (if_statement "if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }" if (parenthesized_expression "((char)param_5[9] != '\0')" ( (binary_expression "(char)param_5[9] != '\0'" (cast_expression "(char)param_5[9]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_5[9]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        pcVar11 = local_a6;\n      }" { (expression_statement "pcVar11 = local_a6;" (assignment_expression "pcVar11 = local_a6" identifier = identifier) ;) })) (goto_statement "goto LAB_0007147b;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_000716f0:\n  iVar4 = 0x1b;" statement_identifier : (expression_statement "iVar4 = 0x1b;" (assignment_expression "iVar4 = 0x1b" identifier = number_literal) ;)) (labeled_statement "LAB_000716f5:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0007c1a0();\n  }" statement_identifier : (if_statement "if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0007c1a0();\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                    /* WARNING: Subroutine does not return */\n    FUN_0007c1a0();\n  }" { comment (expression_statement "FUN_0007c1a0();" (call_expression "FUN_0007c1a0()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nCURLcode __regparm3\n_Curl_auth_create_digest_http_message\n          (Curl_easy *data,char *userp,char *passwdp,uchar *request,uchar *uripath,\n          digestdata *digest,char **outptr,size_t *outlen,\n          _func_void_uchar_ptr_uchar_ptr *convert_to_ascii,_func_void_uchar_ptr_uchar_ptr *hash)\n\n{\n  int iVar1;\n  uchar *puVar2;\n  int iVar3;\n  uchar *puVar4;\n  size_t sVar5;\n  CURLcode CVar6;\n  char *pcVar7;\n  size_t sVar8;\n  uchar *puVar9;\n  char *pcVar10;\n  char *pcVar11;\n  char cVar12;\n  int in_GS_OFFSET;\n  char *cnonce;\n  size_t cnonce_sz;\n  uchar hashbuf [32];\n  uchar request_digest [65];\n  uchar ha1 [65];\n  char userh [65];\n  uchar ha2 [65];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  cnonce = (char *)0x0;\n  cnonce_sz = 0;\n  if (digest->nc == 0) {\n    digest->nc = 1;\n  }\n  if (digest->cnonce == (char *)0x0) {\n    CVar6 = Curl_rand_hex(data,ha2,0x21);\n    if (CVar6 != CURLE_OK) goto LAB_000716f5;\n    sVar8 = strlen((char *)ha2);\n    CVar6 = Curl_base64_encode(data,(char *)ha2,sVar8,&cnonce,&cnonce_sz);\n    if (CVar6 != CURLE_OK) goto LAB_000716f5;\n    digest->cnonce = cnonce;\n  }\n  pcVar10 = digest->realm;\n  puVar2 = (uchar *)userp;\n  if (digest->userhash == false) {\nLAB_0007147b:\n    puVar2 = (uchar *)curl_maprintf("%s:%s:%s",puVar2,pcVar10,passwdp);\n    if (puVar2 != (uchar *)0x0) {\n      (*hash)(hashbuf,puVar2);\n      (*Curl_cfree)(puVar2);\n      (*convert_to_ascii)(hashbuf,ha1);\n      if (((digest->algo & 0xfffffffdU) == 1) || (digest->algo == 5)) {\n        puVar2 = (uchar *)curl_maprintf("%s:%s:%s",ha1,digest->nonce,digest->cnonce);\n        if (puVar2 == (uchar *)0x0) goto LAB_000716f0;\n        (*hash)(hashbuf,puVar2);\n        (*Curl_cfree)(puVar2);\n        (*convert_to_ascii)(hashbuf,ha1);\n      }\n      puVar2 = (uchar *)curl_maprintf("%s:%s",request,uripath);\n      if (puVar2 != (uchar *)0x0) {\n        puVar9 = puVar2;\n        if ((digest->qop != (char *)0x0) &&\n           (iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0)) {\n          (*hash)(hashbuf,"");\n          (*convert_to_ascii)(hashbuf,ha2);\n          puVar9 = (uchar *)curl_maprintf("%s:%s",puVar2,ha2);\n          (*Curl_cfree)(puVar2);\n          if (puVar9 == (uchar *)0x0) goto LAB_000716f0;\n        }\n        puVar2 = ha2;\n        (*hash)(hashbuf,puVar9);\n        (*Curl_cfree)(puVar9);\n        (*convert_to_ascii)(hashbuf,puVar2);\n        if (digest->qop == (char *)0x0) {\n          puVar9 = (uchar *)digest->nonce;\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2);\n        }\n        else {\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2);\n          puVar9 = puVar2;\n        }\n        if (puVar4 != (uchar *)0x0) {\n          (*hash)(hashbuf,puVar4);\n          (*Curl_cfree)(puVar4);\n          (*convert_to_ascii)(hashbuf,request_digest);\n          if (digest->userhash != false) {\n            userp = userh;\n          }\n          cVar12 = *userp;\n          if (cVar12 == '\0') {\n            sVar5 = 1;\n          }\n          else {\n            sVar5 = 1;\n            pcVar10 = userp;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar10 = (char *)(*Curl_cmalloc)(sVar5);\n          if (pcVar10 != (char *)0x0) {\n            cVar12 = *userp;\n            pcVar7 = pcVar10;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }\n            *pcVar7 = '\0';\n            if (digest->qop == (char *)0x0) {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }\n            else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }\n            (*Curl_cfree)(pcVar10);\n            if (pcVar7 != (char *)0x0) {\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    puVar9 = (uchar *)curl_maprintf("%s:%s",userp,pcVar10);\n    if (puVar9 != (uchar *)0x0) {\n      (*hash)(hashbuf,puVar9);\n      (*Curl_cfree)(puVar9);\n      (*convert_to_ascii)(hashbuf,(uchar *)userh);\n      pcVar10 = digest->realm;\n      if (digest->userhash != false) {\n        puVar2 = (uchar *)userh;\n      }\n      goto LAB_0007147b;\n    }\n  }\nLAB_000716f0:\n  CVar6 = CURLE_OUT_OF_MEMORY;\nLAB_000716f5:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return CVar6;\n}\n\n" comment comment (function_definition "CURLcode __regparm3\n_Curl_auth_create_digest_http_message\n          (Curl_easy *data,char *userp,char *passwdp,uchar *request,uchar *uripath,\n          digestdata *digest,char **outptr,size_t *outlen,\n          _func_void_uchar_ptr_uchar_ptr *convert_to_ascii,_func_void_uchar_ptr_uchar_ptr *hash)\n\n{\n  int iVar1;\n  uchar *puVar2;\n  int iVar3;\n  uchar *puVar4;\n  size_t sVar5;\n  CURLcode CVar6;\n  char *pcVar7;\n  size_t sVar8;\n  uchar *puVar9;\n  char *pcVar10;\n  char *pcVar11;\n  char cVar12;\n  int in_GS_OFFSET;\n  char *cnonce;\n  size_t cnonce_sz;\n  uchar hashbuf [32];\n  uchar request_digest [65];\n  uchar ha1 [65];\n  char userh [65];\n  uchar ha2 [65];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  cnonce = (char *)0x0;\n  cnonce_sz = 0;\n  if (digest->nc == 0) {\n    digest->nc = 1;\n  }\n  if (digest->cnonce == (char *)0x0) {\n    CVar6 = Curl_rand_hex(data,ha2,0x21);\n    if (CVar6 != CURLE_OK) goto LAB_000716f5;\n    sVar8 = strlen((char *)ha2);\n    CVar6 = Curl_base64_encode(data,(char *)ha2,sVar8,&cnonce,&cnonce_sz);\n    if (CVar6 != CURLE_OK) goto LAB_000716f5;\n    digest->cnonce = cnonce;\n  }\n  pcVar10 = digest->realm;\n  puVar2 = (uchar *)userp;\n  if (digest->userhash == false) {\nLAB_0007147b:\n    puVar2 = (uchar *)curl_maprintf("%s:%s:%s",puVar2,pcVar10,passwdp);\n    if (puVar2 != (uchar *)0x0) {\n      (*hash)(hashbuf,puVar2);\n      (*Curl_cfree)(puVar2);\n      (*convert_to_ascii)(hashbuf,ha1);\n      if (((digest->algo & 0xfffffffdU) == 1) || (digest->algo == 5)) {\n        puVar2 = (uchar *)curl_maprintf("%s:%s:%s",ha1,digest->nonce,digest->cnonce);\n        if (puVar2 == (uchar *)0x0) goto LAB_000716f0;\n        (*hash)(hashbuf,puVar2);\n        (*Curl_cfree)(puVar2);\n        (*convert_to_ascii)(hashbuf,ha1);\n      }\n      puVar2 = (uchar *)curl_maprintf("%s:%s",request,uripath);\n      if (puVar2 != (uchar *)0x0) {\n        puVar9 = puVar2;\n        if ((digest->qop != (char *)0x0) &&\n           (iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0)) {\n          (*hash)(hashbuf,"");\n          (*convert_to_ascii)(hashbuf,ha2);\n          puVar9 = (uchar *)curl_maprintf("%s:%s",puVar2,ha2);\n          (*Curl_cfree)(puVar2);\n          if (puVar9 == (uchar *)0x0) goto LAB_000716f0;\n        }\n        puVar2 = ha2;\n        (*hash)(hashbuf,puVar9);\n        (*Curl_cfree)(puVar9);\n        (*convert_to_ascii)(hashbuf,puVar2);\n        if (digest->qop == (char *)0x0) {\n          puVar9 = (uchar *)digest->nonce;\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2);\n        }\n        else {\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2);\n          puVar9 = puVar2;\n        }\n        if (puVar4 != (uchar *)0x0) {\n          (*hash)(hashbuf,puVar4);\n          (*Curl_cfree)(puVar4);\n          (*convert_to_ascii)(hashbuf,request_digest);\n          if (digest->userhash != false) {\n            userp = userh;\n          }\n          cVar12 = *userp;\n          if (cVar12 == '\0') {\n            sVar5 = 1;\n          }\n          else {\n            sVar5 = 1;\n            pcVar10 = userp;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar10 = (char *)(*Curl_cmalloc)(sVar5);\n          if (pcVar10 != (char *)0x0) {\n            cVar12 = *userp;\n            pcVar7 = pcVar10;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }\n            *pcVar7 = '\0';\n            if (digest->qop == (char *)0x0) {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }\n            else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }\n            (*Curl_cfree)(pcVar10);\n            if (pcVar7 != (char *)0x0) {\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    puVar9 = (uchar *)curl_maprintf("%s:%s",userp,pcVar10);\n    if (puVar9 != (uchar *)0x0) {\n      (*hash)(hashbuf,puVar9);\n      (*Curl_cfree)(puVar9);\n      (*convert_to_ascii)(hashbuf,(uchar *)userh);\n      pcVar10 = digest->realm;\n      if (digest->userhash != false) {\n        puVar2 = (uchar *)userh;\n      }\n      goto LAB_0007147b;\n    }\n  }\nLAB_000716f0:\n  CVar6 = CURLE_OUT_OF_MEMORY;\nLAB_000716f5:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return CVar6;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "_Curl_auth_create_digest_http_message\n          (Curl_easy *data,char *userp,char *passwdp,uchar *request,uchar *uripath,\n          digestdata *digest,char **outptr,size_t *outlen,\n          _func_void_uchar_ptr_uchar_ptr *convert_to_ascii,_func_void_uchar_ptr_uchar_ptr *hash)" identifier (parameter_list "(Curl_easy *data,char *userp,char *passwdp,uchar *request,uchar *uripath,\n          digestdata *digest,char **outptr,size_t *outlen,\n          _func_void_uchar_ptr_uchar_ptr *convert_to_ascii,_func_void_uchar_ptr_uchar_ptr *hash)" ( (parameter_declaration "Curl_easy *data" type_identifier (pointer_declarator "*data" * identifier)) , (parameter_declaration "char *userp" primitive_type (pointer_declarator "*userp" * identifier)) , (parameter_declaration "char *passwdp" primitive_type (pointer_declarator "*passwdp" * identifier)) , (parameter_declaration "uchar *request" type_identifier (pointer_declarator "*request" * identifier)) , (parameter_declaration "uchar *uripath" type_identifier (pointer_declarator "*uripath" * identifier)) , (parameter_declaration "digestdata *digest" type_identifier (pointer_declarator "*digest" * identifier)) , (parameter_declaration "char **outptr" primitive_type (pointer_declarator "**outptr" * (pointer_declarator "*outptr" * identifier))) , (parameter_declaration "size_t *outlen" primitive_type (pointer_declarator "*outlen" * identifier)) , (parameter_declaration "_func_void_uchar_ptr_uchar_ptr *convert_to_ascii" type_identifier (pointer_declarator "*convert_to_ascii" * identifier)) , (parameter_declaration "_func_void_uchar_ptr_uchar_ptr *hash" type_identifier (pointer_declarator "*hash" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  uchar *puVar2;\n  int iVar3;\n  uchar *puVar4;\n  size_t sVar5;\n  CURLcode CVar6;\n  char *pcVar7;\n  size_t sVar8;\n  uchar *puVar9;\n  char *pcVar10;\n  char *pcVar11;\n  char cVar12;\n  int in_GS_OFFSET;\n  char *cnonce;\n  size_t cnonce_sz;\n  uchar hashbuf [32];\n  uchar request_digest [65];\n  uchar ha1 [65];\n  char userh [65];\n  uchar ha2 [65];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  cnonce = (char *)0x0;\n  cnonce_sz = 0;\n  if (digest->nc == 0) {\n    digest->nc = 1;\n  }\n  if (digest->cnonce == (char *)0x0) {\n    CVar6 = Curl_rand_hex(data,ha2,0x21);\n    if (CVar6 != CURLE_OK) goto LAB_000716f5;\n    sVar8 = strlen((char *)ha2);\n    CVar6 = Curl_base64_encode(data,(char *)ha2,sVar8,&cnonce,&cnonce_sz);\n    if (CVar6 != CURLE_OK) goto LAB_000716f5;\n    digest->cnonce = cnonce;\n  }\n  pcVar10 = digest->realm;\n  puVar2 = (uchar *)userp;\n  if (digest->userhash == false) {\nLAB_0007147b:\n    puVar2 = (uchar *)curl_maprintf("%s:%s:%s",puVar2,pcVar10,passwdp);\n    if (puVar2 != (uchar *)0x0) {\n      (*hash)(hashbuf,puVar2);\n      (*Curl_cfree)(puVar2);\n      (*convert_to_ascii)(hashbuf,ha1);\n      if (((digest->algo & 0xfffffffdU) == 1) || (digest->algo == 5)) {\n        puVar2 = (uchar *)curl_maprintf("%s:%s:%s",ha1,digest->nonce,digest->cnonce);\n        if (puVar2 == (uchar *)0x0) goto LAB_000716f0;\n        (*hash)(hashbuf,puVar2);\n        (*Curl_cfree)(puVar2);\n        (*convert_to_ascii)(hashbuf,ha1);\n      }\n      puVar2 = (uchar *)curl_maprintf("%s:%s",request,uripath);\n      if (puVar2 != (uchar *)0x0) {\n        puVar9 = puVar2;\n        if ((digest->qop != (char *)0x0) &&\n           (iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0)) {\n          (*hash)(hashbuf,"");\n          (*convert_to_ascii)(hashbuf,ha2);\n          puVar9 = (uchar *)curl_maprintf("%s:%s",puVar2,ha2);\n          (*Curl_cfree)(puVar2);\n          if (puVar9 == (uchar *)0x0) goto LAB_000716f0;\n        }\n        puVar2 = ha2;\n        (*hash)(hashbuf,puVar9);\n        (*Curl_cfree)(puVar9);\n        (*convert_to_ascii)(hashbuf,puVar2);\n        if (digest->qop == (char *)0x0) {\n          puVar9 = (uchar *)digest->nonce;\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2);\n        }\n        else {\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2);\n          puVar9 = puVar2;\n        }\n        if (puVar4 != (uchar *)0x0) {\n          (*hash)(hashbuf,puVar4);\n          (*Curl_cfree)(puVar4);\n          (*convert_to_ascii)(hashbuf,request_digest);\n          if (digest->userhash != false) {\n            userp = userh;\n          }\n          cVar12 = *userp;\n          if (cVar12 == '\0') {\n            sVar5 = 1;\n          }\n          else {\n            sVar5 = 1;\n            pcVar10 = userp;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar10 = (char *)(*Curl_cmalloc)(sVar5);\n          if (pcVar10 != (char *)0x0) {\n            cVar12 = *userp;\n            pcVar7 = pcVar10;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }\n            *pcVar7 = '\0';\n            if (digest->qop == (char *)0x0) {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }\n            else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }\n            (*Curl_cfree)(pcVar10);\n            if (pcVar7 != (char *)0x0) {\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    puVar9 = (uchar *)curl_maprintf("%s:%s",userp,pcVar10);\n    if (puVar9 != (uchar *)0x0) {\n      (*hash)(hashbuf,puVar9);\n      (*Curl_cfree)(puVar9);\n      (*convert_to_ascii)(hashbuf,(uchar *)userh);\n      pcVar10 = digest->realm;\n      if (digest->userhash != false) {\n        puVar2 = (uchar *)userh;\n      }\n      goto LAB_0007147b;\n    }\n  }\nLAB_000716f0:\n  CVar6 = CURLE_OUT_OF_MEMORY;\nLAB_000716f5:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return CVar6;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uchar *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uchar *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "CURLcode CVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "size_t sVar8;" primitive_type identifier ;) (declaration "uchar *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "char cVar12;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char *cnonce;" primitive_type (pointer_declarator "*cnonce" * identifier) ;) (declaration "size_t cnonce_sz;" primitive_type identifier ;) (declaration "uchar hashbuf [32];" type_identifier (array_declarator "hashbuf [32]" identifier [ number_literal ]) ;) (declaration "uchar request_digest [65];" type_identifier (array_declarator "request_digest [65]" identifier [ number_literal ]) ;) (declaration "uchar ha1 [65];" type_identifier (array_declarator "ha1 [65]" identifier [ number_literal ]) ;) (declaration "char userh [65];" primitive_type (array_declarator "userh [65]" identifier [ number_literal ]) ;) (declaration "uchar ha2 [65];" type_identifier (array_declarator "ha2 [65]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "cnonce = (char *)0x0;" (assignment_expression "cnonce = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "cnonce_sz = 0;" (assignment_expression "cnonce_sz = 0" identifier = number_literal) ;) (if_statement "if (digest->nc == 0) {\n    digest->nc = 1;\n  }" if (parenthesized_expression "(digest->nc == 0)" ( (binary_expression "digest->nc == 0" (field_expression "digest->nc" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    digest->nc = 1;\n  }" { (expression_statement "digest->nc = 1;" (assignment_expression "digest->nc = 1" (field_expression "digest->nc" identifier -> field_identifier) = number_literal) ;) })) (if_statement "if (digest->cnonce == (char *)0x0) {\n    CVar6 = Curl_rand_hex(data,ha2,0x21);\n    if (CVar6 != CURLE_OK) goto LAB_000716f5;\n    sVar8 = strlen((char *)ha2);\n    CVar6 = Curl_base64_encode(data,(char *)ha2,sVar8,&cnonce,&cnonce_sz);\n    if (CVar6 != CURLE_OK) goto LAB_000716f5;\n    digest->cnonce = cnonce;\n  }" if (parenthesized_expression "(digest->cnonce == (char *)0x0)" ( (binary_expression "digest->cnonce == (char *)0x0" (field_expression "digest->cnonce" identifier -> field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    CVar6 = Curl_rand_hex(data,ha2,0x21);\n    if (CVar6 != CURLE_OK) goto LAB_000716f5;\n    sVar8 = strlen((char *)ha2);\n    CVar6 = Curl_base64_encode(data,(char *)ha2,sVar8,&cnonce,&cnonce_sz);\n    if (CVar6 != CURLE_OK) goto LAB_000716f5;\n    digest->cnonce = cnonce;\n  }" { (expression_statement "CVar6 = Curl_rand_hex(data,ha2,0x21);" (assignment_expression "CVar6 = Curl_rand_hex(data,ha2,0x21)" identifier = (call_expression "Curl_rand_hex(data,ha2,0x21)" identifier (argument_list "(data,ha2,0x21)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (CVar6 != CURLE_OK) goto LAB_000716f5;" if (parenthesized_expression "(CVar6 != CURLE_OK)" ( (binary_expression "CVar6 != CURLE_OK" identifier != identifier) )) (goto_statement "goto LAB_000716f5;" goto statement_identifier ;)) (expression_statement "sVar8 = strlen((char *)ha2);" (assignment_expression "sVar8 = strlen((char *)ha2)" identifier = (call_expression "strlen((char *)ha2)" identifier (argument_list "((char *)ha2)" ( (cast_expression "(char *)ha2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "CVar6 = Curl_base64_encode(data,(char *)ha2,sVar8,&cnonce,&cnonce_sz);" (assignment_expression "CVar6 = Curl_base64_encode(data,(char *)ha2,sVar8,&cnonce,&cnonce_sz)" identifier = (call_expression "Curl_base64_encode(data,(char *)ha2,sVar8,&cnonce,&cnonce_sz)" identifier (argument_list "(data,(char *)ha2,sVar8,&cnonce,&cnonce_sz)" ( identifier , (cast_expression "(char *)ha2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier , (pointer_expression "&cnonce" & identifier) , (pointer_expression "&cnonce_sz" & identifier) )))) ;) (if_statement "if (CVar6 != CURLE_OK) goto LAB_000716f5;" if (parenthesized_expression "(CVar6 != CURLE_OK)" ( (binary_expression "CVar6 != CURLE_OK" identifier != identifier) )) (goto_statement "goto LAB_000716f5;" goto statement_identifier ;)) (expression_statement "digest->cnonce = cnonce;" (assignment_expression "digest->cnonce = cnonce" (field_expression "digest->cnonce" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar10 = digest->realm;" (assignment_expression "pcVar10 = digest->realm" identifier = (field_expression "digest->realm" identifier -> field_identifier)) ;) (expression_statement "puVar2 = (uchar *)userp;" (assignment_expression "puVar2 = (uchar *)userp" identifier = (cast_expression "(uchar *)userp" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (digest->userhash == false) {\nLAB_0007147b:\n    puVar2 = (uchar *)curl_maprintf("%s:%s:%s",puVar2,pcVar10,passwdp);\n    if (puVar2 != (uchar *)0x0) {\n      (*hash)(hashbuf,puVar2);\n      (*Curl_cfree)(puVar2);\n      (*convert_to_ascii)(hashbuf,ha1);\n      if (((digest->algo & 0xfffffffdU) == 1) || (digest->algo == 5)) {\n        puVar2 = (uchar *)curl_maprintf("%s:%s:%s",ha1,digest->nonce,digest->cnonce);\n        if (puVar2 == (uchar *)0x0) goto LAB_000716f0;\n        (*hash)(hashbuf,puVar2);\n        (*Curl_cfree)(puVar2);\n        (*convert_to_ascii)(hashbuf,ha1);\n      }\n      puVar2 = (uchar *)curl_maprintf("%s:%s",request,uripath);\n      if (puVar2 != (uchar *)0x0) {\n        puVar9 = puVar2;\n        if ((digest->qop != (char *)0x0) &&\n           (iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0)) {\n          (*hash)(hashbuf,"");\n          (*convert_to_ascii)(hashbuf,ha2);\n          puVar9 = (uchar *)curl_maprintf("%s:%s",puVar2,ha2);\n          (*Curl_cfree)(puVar2);\n          if (puVar9 == (uchar *)0x0) goto LAB_000716f0;\n        }\n        puVar2 = ha2;\n        (*hash)(hashbuf,puVar9);\n        (*Curl_cfree)(puVar9);\n        (*convert_to_ascii)(hashbuf,puVar2);\n        if (digest->qop == (char *)0x0) {\n          puVar9 = (uchar *)digest->nonce;\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2);\n        }\n        else {\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2);\n          puVar9 = puVar2;\n        }\n        if (puVar4 != (uchar *)0x0) {\n          (*hash)(hashbuf,puVar4);\n          (*Curl_cfree)(puVar4);\n          (*convert_to_ascii)(hashbuf,request_digest);\n          if (digest->userhash != false) {\n            userp = userh;\n          }\n          cVar12 = *userp;\n          if (cVar12 == '\0') {\n            sVar5 = 1;\n          }\n          else {\n            sVar5 = 1;\n            pcVar10 = userp;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar10 = (char *)(*Curl_cmalloc)(sVar5);\n          if (pcVar10 != (char *)0x0) {\n            cVar12 = *userp;\n            pcVar7 = pcVar10;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }\n            *pcVar7 = '\0';\n            if (digest->qop == (char *)0x0) {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }\n            else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }\n            (*Curl_cfree)(pcVar10);\n            if (pcVar7 != (char *)0x0) {\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    puVar9 = (uchar *)curl_maprintf("%s:%s",userp,pcVar10);\n    if (puVar9 != (uchar *)0x0) {\n      (*hash)(hashbuf,puVar9);\n      (*Curl_cfree)(puVar9);\n      (*convert_to_ascii)(hashbuf,(uchar *)userh);\n      pcVar10 = digest->realm;\n      if (digest->userhash != false) {\n        puVar2 = (uchar *)userh;\n      }\n      goto LAB_0007147b;\n    }\n  }" if (parenthesized_expression "(digest->userhash == false)" ( (binary_expression "digest->userhash == false" (field_expression "digest->userhash" identifier -> field_identifier) == false) )) (compound_statement "{\nLAB_0007147b:\n    puVar2 = (uchar *)curl_maprintf("%s:%s:%s",puVar2,pcVar10,passwdp);\n    if (puVar2 != (uchar *)0x0) {\n      (*hash)(hashbuf,puVar2);\n      (*Curl_cfree)(puVar2);\n      (*convert_to_ascii)(hashbuf,ha1);\n      if (((digest->algo & 0xfffffffdU) == 1) || (digest->algo == 5)) {\n        puVar2 = (uchar *)curl_maprintf("%s:%s:%s",ha1,digest->nonce,digest->cnonce);\n        if (puVar2 == (uchar *)0x0) goto LAB_000716f0;\n        (*hash)(hashbuf,puVar2);\n        (*Curl_cfree)(puVar2);\n        (*convert_to_ascii)(hashbuf,ha1);\n      }\n      puVar2 = (uchar *)curl_maprintf("%s:%s",request,uripath);\n      if (puVar2 != (uchar *)0x0) {\n        puVar9 = puVar2;\n        if ((digest->qop != (char *)0x0) &&\n           (iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0)) {\n          (*hash)(hashbuf,"");\n          (*convert_to_ascii)(hashbuf,ha2);\n          puVar9 = (uchar *)curl_maprintf("%s:%s",puVar2,ha2);\n          (*Curl_cfree)(puVar2);\n          if (puVar9 == (uchar *)0x0) goto LAB_000716f0;\n        }\n        puVar2 = ha2;\n        (*hash)(hashbuf,puVar9);\n        (*Curl_cfree)(puVar9);\n        (*convert_to_ascii)(hashbuf,puVar2);\n        if (digest->qop == (char *)0x0) {\n          puVar9 = (uchar *)digest->nonce;\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2);\n        }\n        else {\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2);\n          puVar9 = puVar2;\n        }\n        if (puVar4 != (uchar *)0x0) {\n          (*hash)(hashbuf,puVar4);\n          (*Curl_cfree)(puVar4);\n          (*convert_to_ascii)(hashbuf,request_digest);\n          if (digest->userhash != false) {\n            userp = userh;\n          }\n          cVar12 = *userp;\n          if (cVar12 == '\0') {\n            sVar5 = 1;\n          }\n          else {\n            sVar5 = 1;\n            pcVar10 = userp;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar10 = (char *)(*Curl_cmalloc)(sVar5);\n          if (pcVar10 != (char *)0x0) {\n            cVar12 = *userp;\n            pcVar7 = pcVar10;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }\n            *pcVar7 = '\0';\n            if (digest->qop == (char *)0x0) {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }\n            else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }\n            (*Curl_cfree)(pcVar10);\n            if (pcVar7 != (char *)0x0) {\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }" { (labeled_statement "LAB_0007147b:\n    puVar2 = (uchar *)curl_maprintf("%s:%s:%s",puVar2,pcVar10,passwdp);" statement_identifier : (expression_statement "puVar2 = (uchar *)curl_maprintf("%s:%s:%s",puVar2,pcVar10,passwdp);" (assignment_expression "puVar2 = (uchar *)curl_maprintf("%s:%s:%s",puVar2,pcVar10,passwdp)" identifier = (cast_expression "(uchar *)curl_maprintf("%s:%s:%s",puVar2,pcVar10,passwdp)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf("%s:%s:%s",puVar2,pcVar10,passwdp)" identifier (argument_list "("%s:%s:%s",puVar2,pcVar10,passwdp)" ( (string_literal ""%s:%s:%s"" " string_content ") , identifier , identifier , identifier ))))) ;)) (if_statement "if (puVar2 != (uchar *)0x0) {\n      (*hash)(hashbuf,puVar2);\n      (*Curl_cfree)(puVar2);\n      (*convert_to_ascii)(hashbuf,ha1);\n      if (((digest->algo & 0xfffffffdU) == 1) || (digest->algo == 5)) {\n        puVar2 = (uchar *)curl_maprintf("%s:%s:%s",ha1,digest->nonce,digest->cnonce);\n        if (puVar2 == (uchar *)0x0) goto LAB_000716f0;\n        (*hash)(hashbuf,puVar2);\n        (*Curl_cfree)(puVar2);\n        (*convert_to_ascii)(hashbuf,ha1);\n      }\n      puVar2 = (uchar *)curl_maprintf("%s:%s",request,uripath);\n      if (puVar2 != (uchar *)0x0) {\n        puVar9 = puVar2;\n        if ((digest->qop != (char *)0x0) &&\n           (iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0)) {\n          (*hash)(hashbuf,"");\n          (*convert_to_ascii)(hashbuf,ha2);\n          puVar9 = (uchar *)curl_maprintf("%s:%s",puVar2,ha2);\n          (*Curl_cfree)(puVar2);\n          if (puVar9 == (uchar *)0x0) goto LAB_000716f0;\n        }\n        puVar2 = ha2;\n        (*hash)(hashbuf,puVar9);\n        (*Curl_cfree)(puVar9);\n        (*convert_to_ascii)(hashbuf,puVar2);\n        if (digest->qop == (char *)0x0) {\n          puVar9 = (uchar *)digest->nonce;\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2);\n        }\n        else {\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2);\n          puVar9 = puVar2;\n        }\n        if (puVar4 != (uchar *)0x0) {\n          (*hash)(hashbuf,puVar4);\n          (*Curl_cfree)(puVar4);\n          (*convert_to_ascii)(hashbuf,request_digest);\n          if (digest->userhash != false) {\n            userp = userh;\n          }\n          cVar12 = *userp;\n          if (cVar12 == '\0') {\n            sVar5 = 1;\n          }\n          else {\n            sVar5 = 1;\n            pcVar10 = userp;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar10 = (char *)(*Curl_cmalloc)(sVar5);\n          if (pcVar10 != (char *)0x0) {\n            cVar12 = *userp;\n            pcVar7 = pcVar10;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }\n            *pcVar7 = '\0';\n            if (digest->qop == (char *)0x0) {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }\n            else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }\n            (*Curl_cfree)(pcVar10);\n            if (pcVar7 != (char *)0x0) {\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }" if (parenthesized_expression "(puVar2 != (uchar *)0x0)" ( (binary_expression "puVar2 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*hash)(hashbuf,puVar2);\n      (*Curl_cfree)(puVar2);\n      (*convert_to_ascii)(hashbuf,ha1);\n      if (((digest->algo & 0xfffffffdU) == 1) || (digest->algo == 5)) {\n        puVar2 = (uchar *)curl_maprintf("%s:%s:%s",ha1,digest->nonce,digest->cnonce);\n        if (puVar2 == (uchar *)0x0) goto LAB_000716f0;\n        (*hash)(hashbuf,puVar2);\n        (*Curl_cfree)(puVar2);\n        (*convert_to_ascii)(hashbuf,ha1);\n      }\n      puVar2 = (uchar *)curl_maprintf("%s:%s",request,uripath);\n      if (puVar2 != (uchar *)0x0) {\n        puVar9 = puVar2;\n        if ((digest->qop != (char *)0x0) &&\n           (iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0)) {\n          (*hash)(hashbuf,"");\n          (*convert_to_ascii)(hashbuf,ha2);\n          puVar9 = (uchar *)curl_maprintf("%s:%s",puVar2,ha2);\n          (*Curl_cfree)(puVar2);\n          if (puVar9 == (uchar *)0x0) goto LAB_000716f0;\n        }\n        puVar2 = ha2;\n        (*hash)(hashbuf,puVar9);\n        (*Curl_cfree)(puVar9);\n        (*convert_to_ascii)(hashbuf,puVar2);\n        if (digest->qop == (char *)0x0) {\n          puVar9 = (uchar *)digest->nonce;\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2);\n        }\n        else {\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2);\n          puVar9 = puVar2;\n        }\n        if (puVar4 != (uchar *)0x0) {\n          (*hash)(hashbuf,puVar4);\n          (*Curl_cfree)(puVar4);\n          (*convert_to_ascii)(hashbuf,request_digest);\n          if (digest->userhash != false) {\n            userp = userh;\n          }\n          cVar12 = *userp;\n          if (cVar12 == '\0') {\n            sVar5 = 1;\n          }\n          else {\n            sVar5 = 1;\n            pcVar10 = userp;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar10 = (char *)(*Curl_cmalloc)(sVar5);\n          if (pcVar10 != (char *)0x0) {\n            cVar12 = *userp;\n            pcVar7 = pcVar10;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }\n            *pcVar7 = '\0';\n            if (digest->qop == (char *)0x0) {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }\n            else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }\n            (*Curl_cfree)(pcVar10);\n            if (pcVar7 != (char *)0x0) {\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }" { (expression_statement "(*hash)(hashbuf,puVar2);" (call_expression "(*hash)(hashbuf,puVar2)" (parenthesized_expression "(*hash)" ( (pointer_expression "*hash" * identifier) )) (argument_list "(hashbuf,puVar2)" ( identifier , identifier ))) ;) (expression_statement "(*Curl_cfree)(puVar2);" (call_expression "(*Curl_cfree)(puVar2)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(puVar2)" ( identifier ))) ;) (expression_statement "(*convert_to_ascii)(hashbuf,ha1);" (call_expression "(*convert_to_ascii)(hashbuf,ha1)" (parenthesized_expression "(*convert_to_ascii)" ( (pointer_expression "*convert_to_ascii" * identifier) )) (argument_list "(hashbuf,ha1)" ( identifier , identifier ))) ;) (if_statement "if (((digest->algo & 0xfffffffdU) == 1) || (digest->algo == 5)) {\n        puVar2 = (uchar *)curl_maprintf("%s:%s:%s",ha1,digest->nonce,digest->cnonce);\n        if (puVar2 == (uchar *)0x0) goto LAB_000716f0;\n        (*hash)(hashbuf,puVar2);\n        (*Curl_cfree)(puVar2);\n        (*convert_to_ascii)(hashbuf,ha1);\n      }" if (parenthesized_expression "(((digest->algo & 0xfffffffdU) == 1) || (digest->algo == 5))" ( (binary_expression "((digest->algo & 0xfffffffdU) == 1) || (digest->algo == 5)" (parenthesized_expression "((digest->algo & 0xfffffffdU) == 1)" ( (binary_expression "(digest->algo & 0xfffffffdU) == 1" (parenthesized_expression "(digest->algo & 0xfffffffdU)" ( (binary_expression "digest->algo & 0xfffffffdU" (field_expression "digest->algo" identifier -> field_identifier) & number_literal) )) == number_literal) )) || (parenthesized_expression "(digest->algo == 5)" ( (binary_expression "digest->algo == 5" (field_expression "digest->algo" identifier -> field_identifier) == number_literal) ))) )) (compound_statement "{\n        puVar2 = (uchar *)curl_maprintf("%s:%s:%s",ha1,digest->nonce,digest->cnonce);\n        if (puVar2 == (uchar *)0x0) goto LAB_000716f0;\n        (*hash)(hashbuf,puVar2);\n        (*Curl_cfree)(puVar2);\n        (*convert_to_ascii)(hashbuf,ha1);\n      }" { (expression_statement "puVar2 = (uchar *)curl_maprintf("%s:%s:%s",ha1,digest->nonce,digest->cnonce);" (assignment_expression "puVar2 = (uchar *)curl_maprintf("%s:%s:%s",ha1,digest->nonce,digest->cnonce)" identifier = (cast_expression "(uchar *)curl_maprintf("%s:%s:%s",ha1,digest->nonce,digest->cnonce)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf("%s:%s:%s",ha1,digest->nonce,digest->cnonce)" identifier (argument_list "("%s:%s:%s",ha1,digest->nonce,digest->cnonce)" ( (string_literal ""%s:%s:%s"" " string_content ") , identifier , (field_expression "digest->nonce" identifier -> field_identifier) , (field_expression "digest->cnonce" identifier -> field_identifier) ))))) ;) (if_statement "if (puVar2 == (uchar *)0x0) goto LAB_000716f0;" if (parenthesized_expression "(puVar2 == (uchar *)0x0)" ( (binary_expression "puVar2 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) (expression_statement "(*hash)(hashbuf,puVar2);" (call_expression "(*hash)(hashbuf,puVar2)" (parenthesized_expression "(*hash)" ( (pointer_expression "*hash" * identifier) )) (argument_list "(hashbuf,puVar2)" ( identifier , identifier ))) ;) (expression_statement "(*Curl_cfree)(puVar2);" (call_expression "(*Curl_cfree)(puVar2)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(puVar2)" ( identifier ))) ;) (expression_statement "(*convert_to_ascii)(hashbuf,ha1);" (call_expression "(*convert_to_ascii)(hashbuf,ha1)" (parenthesized_expression "(*convert_to_ascii)" ( (pointer_expression "*convert_to_ascii" * identifier) )) (argument_list "(hashbuf,ha1)" ( identifier , identifier ))) ;) })) (expression_statement "puVar2 = (uchar *)curl_maprintf("%s:%s",request,uripath);" (assignment_expression "puVar2 = (uchar *)curl_maprintf("%s:%s",request,uripath)" identifier = (cast_expression "(uchar *)curl_maprintf("%s:%s",request,uripath)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf("%s:%s",request,uripath)" identifier (argument_list "("%s:%s",request,uripath)" ( (string_literal ""%s:%s"" " string_content ") , identifier , identifier ))))) ;) (if_statement "if (puVar2 != (uchar *)0x0) {\n        puVar9 = puVar2;\n        if ((digest->qop != (char *)0x0) &&\n           (iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0)) {\n          (*hash)(hashbuf,"");\n          (*convert_to_ascii)(hashbuf,ha2);\n          puVar9 = (uchar *)curl_maprintf("%s:%s",puVar2,ha2);\n          (*Curl_cfree)(puVar2);\n          if (puVar9 == (uchar *)0x0) goto LAB_000716f0;\n        }\n        puVar2 = ha2;\n        (*hash)(hashbuf,puVar9);\n        (*Curl_cfree)(puVar9);\n        (*convert_to_ascii)(hashbuf,puVar2);\n        if (digest->qop == (char *)0x0) {\n          puVar9 = (uchar *)digest->nonce;\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2);\n        }\n        else {\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2);\n          puVar9 = puVar2;\n        }\n        if (puVar4 != (uchar *)0x0) {\n          (*hash)(hashbuf,puVar4);\n          (*Curl_cfree)(puVar4);\n          (*convert_to_ascii)(hashbuf,request_digest);\n          if (digest->userhash != false) {\n            userp = userh;\n          }\n          cVar12 = *userp;\n          if (cVar12 == '\0') {\n            sVar5 = 1;\n          }\n          else {\n            sVar5 = 1;\n            pcVar10 = userp;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar10 = (char *)(*Curl_cmalloc)(sVar5);\n          if (pcVar10 != (char *)0x0) {\n            cVar12 = *userp;\n            pcVar7 = pcVar10;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }\n            *pcVar7 = '\0';\n            if (digest->qop == (char *)0x0) {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }\n            else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }\n            (*Curl_cfree)(pcVar10);\n            if (pcVar7 != (char *)0x0) {\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }" if (parenthesized_expression "(puVar2 != (uchar *)0x0)" ( (binary_expression "puVar2 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        puVar9 = puVar2;\n        if ((digest->qop != (char *)0x0) &&\n           (iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0)) {\n          (*hash)(hashbuf,"");\n          (*convert_to_ascii)(hashbuf,ha2);\n          puVar9 = (uchar *)curl_maprintf("%s:%s",puVar2,ha2);\n          (*Curl_cfree)(puVar2);\n          if (puVar9 == (uchar *)0x0) goto LAB_000716f0;\n        }\n        puVar2 = ha2;\n        (*hash)(hashbuf,puVar9);\n        (*Curl_cfree)(puVar9);\n        (*convert_to_ascii)(hashbuf,puVar2);\n        if (digest->qop == (char *)0x0) {\n          puVar9 = (uchar *)digest->nonce;\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2);\n        }\n        else {\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2);\n          puVar9 = puVar2;\n        }\n        if (puVar4 != (uchar *)0x0) {\n          (*hash)(hashbuf,puVar4);\n          (*Curl_cfree)(puVar4);\n          (*convert_to_ascii)(hashbuf,request_digest);\n          if (digest->userhash != false) {\n            userp = userh;\n          }\n          cVar12 = *userp;\n          if (cVar12 == '\0') {\n            sVar5 = 1;\n          }\n          else {\n            sVar5 = 1;\n            pcVar10 = userp;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar10 = (char *)(*Curl_cmalloc)(sVar5);\n          if (pcVar10 != (char *)0x0) {\n            cVar12 = *userp;\n            pcVar7 = pcVar10;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }\n            *pcVar7 = '\0';\n            if (digest->qop == (char *)0x0) {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }\n            else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }\n            (*Curl_cfree)(pcVar10);\n            if (pcVar7 != (char *)0x0) {\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }" { (expression_statement "puVar9 = puVar2;" (assignment_expression "puVar9 = puVar2" identifier = identifier) ;) (if_statement "if ((digest->qop != (char *)0x0) &&\n           (iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0)) {\n          (*hash)(hashbuf,"");\n          (*convert_to_ascii)(hashbuf,ha2);\n          puVar9 = (uchar *)curl_maprintf("%s:%s",puVar2,ha2);\n          (*Curl_cfree)(puVar2);\n          if (puVar9 == (uchar *)0x0) goto LAB_000716f0;\n        }" if (parenthesized_expression "((digest->qop != (char *)0x0) &&\n           (iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0))" ( (binary_expression "(digest->qop != (char *)0x0) &&\n           (iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0)" (parenthesized_expression "(digest->qop != (char *)0x0)" ( (binary_expression "digest->qop != (char *)0x0" (field_expression "digest->qop" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0)" ( (comma_expression "iVar3 = Curl_strcasecompare(digest->qop,"auth-int"), iVar3 != 0" (assignment_expression "iVar3 = Curl_strcasecompare(digest->qop,"auth-int")" identifier = (call_expression "Curl_strcasecompare(digest->qop,"auth-int")" identifier (argument_list "(digest->qop,"auth-int")" ( (field_expression "digest->qop" identifier -> field_identifier) , (string_literal ""auth-int"" " string_content ") )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n          (*hash)(hashbuf,"");\n          (*convert_to_ascii)(hashbuf,ha2);\n          puVar9 = (uchar *)curl_maprintf("%s:%s",puVar2,ha2);\n          (*Curl_cfree)(puVar2);\n          if (puVar9 == (uchar *)0x0) goto LAB_000716f0;\n        }" { (expression_statement "(*hash)(hashbuf,"");" (call_expression "(*hash)(hashbuf,"")" (parenthesized_expression "(*hash)" ( (pointer_expression "*hash" * identifier) )) (argument_list "(hashbuf,"")" ( identifier , (string_literal """" " ") ))) ;) (expression_statement "(*convert_to_ascii)(hashbuf,ha2);" (call_expression "(*convert_to_ascii)(hashbuf,ha2)" (parenthesized_expression "(*convert_to_ascii)" ( (pointer_expression "*convert_to_ascii" * identifier) )) (argument_list "(hashbuf,ha2)" ( identifier , identifier ))) ;) (expression_statement "puVar9 = (uchar *)curl_maprintf("%s:%s",puVar2,ha2);" (assignment_expression "puVar9 = (uchar *)curl_maprintf("%s:%s",puVar2,ha2)" identifier = (cast_expression "(uchar *)curl_maprintf("%s:%s",puVar2,ha2)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf("%s:%s",puVar2,ha2)" identifier (argument_list "("%s:%s",puVar2,ha2)" ( (string_literal ""%s:%s"" " string_content ") , identifier , identifier ))))) ;) (expression_statement "(*Curl_cfree)(puVar2);" (call_expression "(*Curl_cfree)(puVar2)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(puVar2)" ( identifier ))) ;) (if_statement "if (puVar9 == (uchar *)0x0) goto LAB_000716f0;" if (parenthesized_expression "(puVar9 == (uchar *)0x0)" ( (binary_expression "puVar9 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) })) (expression_statement "puVar2 = ha2;" (assignment_expression "puVar2 = ha2" identifier = identifier) ;) (expression_statement "(*hash)(hashbuf,puVar9);" (call_expression "(*hash)(hashbuf,puVar9)" (parenthesized_expression "(*hash)" ( (pointer_expression "*hash" * identifier) )) (argument_list "(hashbuf,puVar9)" ( identifier , identifier ))) ;) (expression_statement "(*Curl_cfree)(puVar9);" (call_expression "(*Curl_cfree)(puVar9)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(puVar9)" ( identifier ))) ;) (expression_statement "(*convert_to_ascii)(hashbuf,puVar2);" (call_expression "(*convert_to_ascii)(hashbuf,puVar2)" (parenthesized_expression "(*convert_to_ascii)" ( (pointer_expression "*convert_to_ascii" * identifier) )) (argument_list "(hashbuf,puVar2)" ( identifier , identifier ))) ;) (if_statement "if (digest->qop == (char *)0x0) {\n          puVar9 = (uchar *)digest->nonce;\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2);\n        }\n        else {\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2);\n          puVar9 = puVar2;\n        }" if (parenthesized_expression "(digest->qop == (char *)0x0)" ( (binary_expression "digest->qop == (char *)0x0" (field_expression "digest->qop" identifier -> field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          puVar9 = (uchar *)digest->nonce;\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2);\n        }" { (expression_statement "puVar9 = (uchar *)digest->nonce;" (assignment_expression "puVar9 = (uchar *)digest->nonce" identifier = (cast_expression "(uchar *)digest->nonce" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "digest->nonce" identifier -> field_identifier))) ;) (expression_statement "puVar4 = (uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2);" (assignment_expression "puVar4 = (uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2)" identifier = (cast_expression "(uchar *)curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf("%s:%s:%s",ha1,puVar9,puVar2)" identifier (argument_list "("%s:%s:%s",ha1,puVar9,puVar2)" ( (string_literal ""%s:%s:%s"" " string_content ") , identifier , identifier , identifier ))))) ;) }) (else_clause "else {\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2);\n          puVar9 = puVar2;\n        }" else (compound_statement "{\n          puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2);\n          puVar9 = puVar2;\n        }" { (expression_statement "puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2);" (assignment_expression "puVar4 = (uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2)" identifier = (cast_expression "(uchar *)curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2)" identifier (argument_list "("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,\n                                          digest->cnonce,digest->qop,puVar2)" ( (string_literal ""%s:%s:%08x:%s:%s:%s"" " string_content ") , identifier , (field_expression "digest->nonce" identifier -> field_identifier) , (field_expression "digest->nc" identifier -> field_identifier) , (field_expression "digest->cnonce" identifier -> field_identifier) , (field_expression "digest->qop" identifier -> field_identifier) , identifier ))))) ;) (expression_statement "puVar9 = puVar2;" (assignment_expression "puVar9 = puVar2" identifier = identifier) ;) }))) (if_statement "if (puVar4 != (uchar *)0x0) {\n          (*hash)(hashbuf,puVar4);\n          (*Curl_cfree)(puVar4);\n          (*convert_to_ascii)(hashbuf,request_digest);\n          if (digest->userhash != false) {\n            userp = userh;\n          }\n          cVar12 = *userp;\n          if (cVar12 == '\0') {\n            sVar5 = 1;\n          }\n          else {\n            sVar5 = 1;\n            pcVar10 = userp;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar10 = (char *)(*Curl_cmalloc)(sVar5);\n          if (pcVar10 != (char *)0x0) {\n            cVar12 = *userp;\n            pcVar7 = pcVar10;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }\n            *pcVar7 = '\0';\n            if (digest->qop == (char *)0x0) {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }\n            else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }\n            (*Curl_cfree)(pcVar10);\n            if (pcVar7 != (char *)0x0) {\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }\n          }\n        }" if (parenthesized_expression "(puVar4 != (uchar *)0x0)" ( (binary_expression "puVar4 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          (*hash)(hashbuf,puVar4);\n          (*Curl_cfree)(puVar4);\n          (*convert_to_ascii)(hashbuf,request_digest);\n          if (digest->userhash != false) {\n            userp = userh;\n          }\n          cVar12 = *userp;\n          if (cVar12 == '\0') {\n            sVar5 = 1;\n          }\n          else {\n            sVar5 = 1;\n            pcVar10 = userp;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar10 = (char *)(*Curl_cmalloc)(sVar5);\n          if (pcVar10 != (char *)0x0) {\n            cVar12 = *userp;\n            pcVar7 = pcVar10;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }\n            *pcVar7 = '\0';\n            if (digest->qop == (char *)0x0) {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }\n            else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }\n            (*Curl_cfree)(pcVar10);\n            if (pcVar7 != (char *)0x0) {\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }\n          }\n        }" { (expression_statement "(*hash)(hashbuf,puVar4);" (call_expression "(*hash)(hashbuf,puVar4)" (parenthesized_expression "(*hash)" ( (pointer_expression "*hash" * identifier) )) (argument_list "(hashbuf,puVar4)" ( identifier , identifier ))) ;) (expression_statement "(*Curl_cfree)(puVar4);" (call_expression "(*Curl_cfree)(puVar4)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(puVar4)" ( identifier ))) ;) (expression_statement "(*convert_to_ascii)(hashbuf,request_digest);" (call_expression "(*convert_to_ascii)(hashbuf,request_digest)" (parenthesized_expression "(*convert_to_ascii)" ( (pointer_expression "*convert_to_ascii" * identifier) )) (argument_list "(hashbuf,request_digest)" ( identifier , identifier ))) ;) (if_statement "if (digest->userhash != false) {\n            userp = userh;\n          }" if (parenthesized_expression "(digest->userhash != false)" ( (binary_expression "digest->userhash != false" (field_expression "digest->userhash" identifier -> field_identifier) != false) )) (compound_statement "{\n            userp = userh;\n          }" { (expression_statement "userp = userh;" (assignment_expression "userp = userh" identifier = identifier) ;) })) (expression_statement "cVar12 = *userp;" (assignment_expression "cVar12 = *userp" identifier = (pointer_expression "*userp" * identifier)) ;) (if_statement "if (cVar12 == '\0') {\n            sVar5 = 1;\n          }\n          else {\n            sVar5 = 1;\n            pcVar10 = userp;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');\n          }" if (parenthesized_expression "(cVar12 == '\0')" ( (binary_expression "cVar12 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            sVar5 = 1;\n          }" { (expression_statement "sVar5 = 1;" (assignment_expression "sVar5 = 1" identifier = number_literal) ;) }) (else_clause "else {\n            sVar5 = 1;\n            pcVar10 = userp;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');\n          }" else (compound_statement "{\n            sVar5 = 1;\n            pcVar10 = userp;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');\n          }" { (expression_statement "sVar5 = 1;" (assignment_expression "sVar5 = 1" identifier = number_literal) ;) (expression_statement "pcVar10 = userp;" (assignment_expression "pcVar10 = userp" identifier = identifier) ;) (do_statement "do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            } while (cVar12 != '\0');" do (compound_statement "{\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar10 = pcVar10 + 1;\n              cVar12 = *pcVar10;\n              sVar5 = sVar5 + 2;\n            }" { (while_statement "while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }" while (parenthesized_expression "((cVar12 != '\"' && (cVar12 != '\\')))" ( (parenthesized_expression "(cVar12 != '\"' && (cVar12 != '\\'))" ( (binary_expression "cVar12 != '\"' && (cVar12 != '\\')" (binary_expression "cVar12 != '\"'" identifier != (char_literal "'\"'" ' escape_sequence ')) && (parenthesized_expression "(cVar12 != '\\')" ( (binary_expression "cVar12 != '\\'" identifier != (char_literal "'\\'" ' escape_sequence ')) ))) )) )) (compound_statement "{\n                pcVar10 = pcVar10 + 1;\n                cVar12 = *pcVar10;\n                sVar5 = sVar5 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }" { (expression_statement "pcVar10 = pcVar10 + 1;" (assignment_expression "pcVar10 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "cVar12 = *pcVar10;" (assignment_expression "cVar12 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) (expression_statement "sVar5 = sVar5 + 1;" (assignment_expression "sVar5 = sVar5 + 1" identifier = (binary_expression "sVar5 + 1" identifier + number_literal)) ;) (if_statement "if (cVar12 == '\0') goto LAB_00071624;" if (parenthesized_expression "(cVar12 == '\0')" ( (binary_expression "cVar12 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00071624;" goto statement_identifier ;)) })) (expression_statement "pcVar10 = pcVar10 + 1;" (assignment_expression "pcVar10 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "cVar12 = *pcVar10;" (assignment_expression "cVar12 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) (expression_statement "sVar5 = sVar5 + 2;" (assignment_expression "sVar5 = sVar5 + 2" identifier = (binary_expression "sVar5 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar12 != '\0')" ( (binary_expression "cVar12 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) }))) (labeled_statement "LAB_00071624:\n          pcVar10 = (char *)(*Curl_cmalloc)(sVar5);" statement_identifier : (expression_statement "pcVar10 = (char *)(*Curl_cmalloc)(sVar5);" (assignment_expression "pcVar10 = (char *)(*Curl_cmalloc)(sVar5)" identifier = (cast_expression "(char *)(*Curl_cmalloc)(sVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*Curl_cmalloc)(sVar5)" (parenthesized_expression "(*Curl_cmalloc)" ( (pointer_expression "*Curl_cmalloc" * identifier) )) (argument_list "(sVar5)" ( identifier ))))) ;)) (if_statement "if (pcVar10 != (char *)0x0) {\n            cVar12 = *userp;\n            pcVar7 = pcVar10;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }\n            *pcVar7 = '\0';\n            if (digest->qop == (char *)0x0) {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }\n            else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }\n            (*Curl_cfree)(pcVar10);\n            if (pcVar7 != (char *)0x0) {\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }\n          }" if (parenthesized_expression "(pcVar10 != (char *)0x0)" ( (binary_expression "pcVar10 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            cVar12 = *userp;\n            pcVar7 = pcVar10;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }\n            *pcVar7 = '\0';\n            if (digest->qop == (char *)0x0) {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }\n            else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }\n            (*Curl_cfree)(pcVar10);\n            if (pcVar7 != (char *)0x0) {\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }\n          }" { (expression_statement "cVar12 = *userp;" (assignment_expression "cVar12 = *userp" identifier = (pointer_expression "*userp" * identifier)) ;) (expression_statement "pcVar7 = pcVar10;" (assignment_expression "pcVar7 = pcVar10" identifier = identifier) ;) (while_statement "while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }" while (parenthesized_expression "(cVar12 != '\0')" ( (binary_expression "cVar12 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *userp;\n              cVar12 = userp[1];\n              pcVar7 = pcVar11;\n              userp = userp + 1;\n            }" { (if_statement "if ((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }" if (parenthesized_expression "((cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\'))" ( (binary_expression "(cVar12 == '\"') || (pcVar11 = pcVar7 + 1, cVar12 == '\\')" (parenthesized_expression "(cVar12 == '\"')" ( (binary_expression "cVar12 == '\"'" identifier == (char_literal "'\"'" ' escape_sequence ')) )) || (parenthesized_expression "(pcVar11 = pcVar7 + 1, cVar12 == '\\')" ( (comma_expression "pcVar11 = pcVar7 + 1, cVar12 == '\\'" (assignment_expression "pcVar11 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) , (binary_expression "cVar12 == '\\'" identifier == (char_literal "'\\'" ' escape_sequence '))) ))) )) (compound_statement "{\n                pcVar11 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }" { (expression_statement "pcVar11 = pcVar7 + 2;" (assignment_expression "pcVar11 = pcVar7 + 2" identifier = (binary_expression "pcVar7 + 2" identifier + number_literal)) ;) (expression_statement "*pcVar7 = '\\';" (assignment_expression "*pcVar7 = '\\'" (pointer_expression "*pcVar7" * identifier) = (char_literal "'\\'" ' escape_sequence ')) ;) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "*pcVar7 = *userp;" (assignment_expression "*pcVar7 = *userp" (pointer_expression "*pcVar7" * identifier) = (pointer_expression "*userp" * identifier)) ;) (expression_statement "cVar12 = userp[1];" (assignment_expression "cVar12 = userp[1]" identifier = (subscript_expression "userp[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar7 = pcVar11;" (assignment_expression "pcVar7 = pcVar11" identifier = identifier) ;) (expression_statement "userp = userp + 1;" (assignment_expression "userp = userp + 1" identifier = (binary_expression "userp + 1" identifier + number_literal)) ;) })) (expression_statement "*pcVar7 = '\0';" (assignment_expression "*pcVar7 = '\0'" (pointer_expression "*pcVar7" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (digest->qop == (char *)0x0) {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }\n            else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }" if (parenthesized_expression "(digest->qop == (char *)0x0)" ( (binary_expression "digest->qop == (char *)0x0" (field_expression "digest->qop" identifier -> field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);\n            }" { (expression_statement "pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest);" (assignment_expression "pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest)" identifier = (call_expression "curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest)" identifier (argument_list "("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,request_digest)" ( (string_literal ""username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""" " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , (field_expression "digest->realm" identifier -> field_identifier) , (field_expression "digest->nonce" identifier -> field_identifier) , identifier , identifier )))) ;) }) (else_clause "else {\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }" else (compound_statement "{\n              pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);\n              iVar3 = Curl_strcasecompare(digest->qop,"auth");\n              if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }\n            }" { (expression_statement "pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest);" (assignment_expression "pcVar7 = curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest)" identifier = (call_expression "curl_maprintf("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest)" identifier (argument_list "("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""\n                                     ,pcVar10,digest->realm,digest->nonce,uripath,digest->cnonce,\n                                     digest->nc,digest->qop,request_digest)" ( (string_literal ""username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""" " string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence string_content escape_sequence ") , identifier , (field_expression "digest->realm" identifier -> field_identifier) , (field_expression "digest->nonce" identifier -> field_identifier) , identifier , (field_expression "digest->cnonce" identifier -> field_identifier) , (field_expression "digest->nc" identifier -> field_identifier) , (field_expression "digest->qop" identifier -> field_identifier) , identifier )))) ;) (expression_statement "iVar3 = Curl_strcasecompare(digest->qop,"auth");" (assignment_expression "iVar3 = Curl_strcasecompare(digest->qop,"auth")" identifier = (call_expression "Curl_strcasecompare(digest->qop,"auth")" identifier (argument_list "(digest->qop,"auth")" ( (field_expression "digest->qop" identifier -> field_identifier) , (string_literal ""auth"" " string_content ") )))) ;) (if_statement "if (iVar3 != 0) {\n                digest->nc = digest->nc + 1;\n              }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n                digest->nc = digest->nc + 1;\n              }" { (expression_statement "digest->nc = digest->nc + 1;" (assignment_expression "digest->nc = digest->nc + 1" (field_expression "digest->nc" identifier -> field_identifier) = (binary_expression "digest->nc + 1" (field_expression "digest->nc" identifier -> field_identifier) + number_literal)) ;) })) }))) (expression_statement "(*Curl_cfree)(pcVar10);" (call_expression "(*Curl_cfree)(pcVar10)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(pcVar10)" ( identifier ))) ;) (if_statement "if (pcVar7 != (char *)0x0) {\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }" if (parenthesized_expression "(pcVar7 != (char *)0x0)" ( (binary_expression "pcVar7 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              puVar2 = (uchar *)digest->opaque;\n              if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              puVar2 = (uchar *)digest->algorithm;\n              if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }\n              pcVar7 = pcVar10;\n              if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }\n              *outptr = pcVar7;\n              sVar8 = strlen(pcVar7);\n              *outlen = sVar8;\n              CVar6 = CURLE_OK;\n              goto LAB_000716f5;\n            }" { (expression_statement "puVar2 = (uchar *)digest->opaque;" (assignment_expression "puVar2 = (uchar *)digest->opaque" identifier = (cast_expression "(uchar *)digest->opaque" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "digest->opaque" identifier -> field_identifier))) ;) (if_statement "if (puVar2 != (uchar *)0x0) {\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }" if (parenthesized_expression "(puVar2 != (uchar *)0x0)" ( (binary_expression "puVar2 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                pcVar7 = pcVar10;\n                puVar9 = puVar2;\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }" { (expression_statement "pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2);" (assignment_expression "pcVar10 = curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2)" identifier = (call_expression "curl_maprintf("%s, opaque=\"%s\"",pcVar7,puVar2)" identifier (argument_list "("%s, opaque=\"%s\"",pcVar7,puVar2)" ( (string_literal ""%s, opaque=\"%s\""" " string_content escape_sequence string_content escape_sequence ") , identifier , identifier )))) ;) (expression_statement "(*Curl_cfree)(pcVar7);" (call_expression "(*Curl_cfree)(pcVar7)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(pcVar7)" ( identifier ))) ;) (expression_statement "pcVar7 = pcVar10;" (assignment_expression "pcVar7 = pcVar10" identifier = identifier) ;) (expression_statement "puVar9 = puVar2;" (assignment_expression "puVar9 = puVar2" identifier = identifier) ;) (if_statement "if (pcVar10 == (char *)0x0) goto LAB_000716f0;" if (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) })) (expression_statement "puVar2 = (uchar *)digest->algorithm;" (assignment_expression "puVar2 = (uchar *)digest->algorithm" identifier = (cast_expression "(uchar *)digest->algorithm" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "digest->algorithm" identifier -> field_identifier))) ;) (if_statement "if (puVar2 == (uchar *)0x0) {\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }\n              else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }" if (parenthesized_expression "(puVar2 == (uchar *)0x0)" ( (binary_expression "puVar2 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                cVar12 = digest->userhash;\n                pcVar10 = pcVar7;\n                puVar2 = puVar9;\n              }" { (expression_statement "cVar12 = digest->userhash;" (assignment_expression "cVar12 = digest->userhash" identifier = (field_expression "digest->userhash" identifier -> field_identifier)) ;) (expression_statement "pcVar10 = pcVar7;" (assignment_expression "pcVar10 = pcVar7" identifier = identifier) ;) (expression_statement "puVar2 = puVar9;" (assignment_expression "puVar2 = puVar9" identifier = identifier) ;) }) (else_clause "else {\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }" else (compound_statement "{\n                pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);\n                (*Curl_cfree)(pcVar7);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = digest->userhash;\n              }" { (expression_statement "pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2);" (assignment_expression "pcVar10 = curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2)" identifier = (call_expression "curl_maprintf("%s, algorithm=\"%s\"",pcVar7,puVar2)" identifier (argument_list "("%s, algorithm=\"%s\"",pcVar7,puVar2)" ( (string_literal ""%s, algorithm=\"%s\""" " string_content escape_sequence string_content escape_sequence ") , identifier , identifier )))) ;) (expression_statement "(*Curl_cfree)(pcVar7);" (call_expression "(*Curl_cfree)(pcVar7)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(pcVar7)" ( identifier ))) ;) (if_statement "if (pcVar10 == (char *)0x0) goto LAB_000716f0;" if (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) (expression_statement "cVar12 = digest->userhash;" (assignment_expression "cVar12 = digest->userhash" identifier = (field_expression "digest->userhash" identifier -> field_identifier)) ;) }))) (expression_statement "pcVar7 = pcVar10;" (assignment_expression "pcVar7 = pcVar10" identifier = identifier) ;) (if_statement "if (cVar12 != '\0') {\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }" if (parenthesized_expression "(cVar12 != '\0')" ( (binary_expression "cVar12 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);\n                (*Curl_cfree)(pcVar10);\n                if (pcVar7 == (char *)0x0) goto LAB_000716f0;\n              }" { (expression_statement "pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2);" (assignment_expression "pcVar7 = curl_maprintf("%s, userhash=true",pcVar10,puVar2)" identifier = (call_expression "curl_maprintf("%s, userhash=true",pcVar10,puVar2)" identifier (argument_list "("%s, userhash=true",pcVar10,puVar2)" ( (string_literal ""%s, userhash=true"" " string_content ") , identifier , identifier )))) ;) (expression_statement "(*Curl_cfree)(pcVar10);" (call_expression "(*Curl_cfree)(pcVar10)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(pcVar10)" ( identifier ))) ;) (if_statement "if (pcVar7 == (char *)0x0) goto LAB_000716f0;" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) })) (expression_statement "*outptr = pcVar7;" (assignment_expression "*outptr = pcVar7" (pointer_expression "*outptr" * identifier) = identifier) ;) (expression_statement "sVar8 = strlen(pcVar7);" (assignment_expression "sVar8 = strlen(pcVar7)" identifier = (call_expression "strlen(pcVar7)" identifier (argument_list "(pcVar7)" ( identifier )))) ;) (expression_statement "*outlen = sVar8;" (assignment_expression "*outlen = sVar8" (pointer_expression "*outlen" * identifier) = identifier) ;) (expression_statement "CVar6 = CURLE_OK;" (assignment_expression "CVar6 = CURLE_OK" identifier = identifier) ;) (goto_statement "goto LAB_000716f5;" goto statement_identifier ;) })) })) })) })) })) }) (else_clause "else {\n    puVar9 = (uchar *)curl_maprintf("%s:%s",userp,pcVar10);\n    if (puVar9 != (uchar *)0x0) {\n      (*hash)(hashbuf,puVar9);\n      (*Curl_cfree)(puVar9);\n      (*convert_to_ascii)(hashbuf,(uchar *)userh);\n      pcVar10 = digest->realm;\n      if (digest->userhash != false) {\n        puVar2 = (uchar *)userh;\n      }\n      goto LAB_0007147b;\n    }\n  }" else (compound_statement "{\n    puVar9 = (uchar *)curl_maprintf("%s:%s",userp,pcVar10);\n    if (puVar9 != (uchar *)0x0) {\n      (*hash)(hashbuf,puVar9);\n      (*Curl_cfree)(puVar9);\n      (*convert_to_ascii)(hashbuf,(uchar *)userh);\n      pcVar10 = digest->realm;\n      if (digest->userhash != false) {\n        puVar2 = (uchar *)userh;\n      }\n      goto LAB_0007147b;\n    }\n  }" { (expression_statement "puVar9 = (uchar *)curl_maprintf("%s:%s",userp,pcVar10);" (assignment_expression "puVar9 = (uchar *)curl_maprintf("%s:%s",userp,pcVar10)" identifier = (cast_expression "(uchar *)curl_maprintf("%s:%s",userp,pcVar10)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf("%s:%s",userp,pcVar10)" identifier (argument_list "("%s:%s",userp,pcVar10)" ( (string_literal ""%s:%s"" " string_content ") , identifier , identifier ))))) ;) (if_statement "if (puVar9 != (uchar *)0x0) {\n      (*hash)(hashbuf,puVar9);\n      (*Curl_cfree)(puVar9);\n      (*convert_to_ascii)(hashbuf,(uchar *)userh);\n      pcVar10 = digest->realm;\n      if (digest->userhash != false) {\n        puVar2 = (uchar *)userh;\n      }\n      goto LAB_0007147b;\n    }" if (parenthesized_expression "(puVar9 != (uchar *)0x0)" ( (binary_expression "puVar9 != (uchar *)0x0" identifier != (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*hash)(hashbuf,puVar9);\n      (*Curl_cfree)(puVar9);\n      (*convert_to_ascii)(hashbuf,(uchar *)userh);\n      pcVar10 = digest->realm;\n      if (digest->userhash != false) {\n        puVar2 = (uchar *)userh;\n      }\n      goto LAB_0007147b;\n    }" { (expression_statement "(*hash)(hashbuf,puVar9);" (call_expression "(*hash)(hashbuf,puVar9)" (parenthesized_expression "(*hash)" ( (pointer_expression "*hash" * identifier) )) (argument_list "(hashbuf,puVar9)" ( identifier , identifier ))) ;) (expression_statement "(*Curl_cfree)(puVar9);" (call_expression "(*Curl_cfree)(puVar9)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(puVar9)" ( identifier ))) ;) (expression_statement "(*convert_to_ascii)(hashbuf,(uchar *)userh);" (call_expression "(*convert_to_ascii)(hashbuf,(uchar *)userh)" (parenthesized_expression "(*convert_to_ascii)" ( (pointer_expression "*convert_to_ascii" * identifier) )) (argument_list "(hashbuf,(uchar *)userh)" ( identifier , (cast_expression "(uchar *)userh" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "pcVar10 = digest->realm;" (assignment_expression "pcVar10 = digest->realm" identifier = (field_expression "digest->realm" identifier -> field_identifier)) ;) (if_statement "if (digest->userhash != false) {\n        puVar2 = (uchar *)userh;\n      }" if (parenthesized_expression "(digest->userhash != false)" ( (binary_expression "digest->userhash != false" (field_expression "digest->userhash" identifier -> field_identifier) != false) )) (compound_statement "{\n        puVar2 = (uchar *)userh;\n      }" { (expression_statement "puVar2 = (uchar *)userh;" (assignment_expression "puVar2 = (uchar *)userh" identifier = (cast_expression "(uchar *)userh" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (goto_statement "goto LAB_0007147b;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_000716f0:\n  CVar6 = CURLE_OUT_OF_MEMORY;" statement_identifier : (expression_statement "CVar6 = CURLE_OUT_OF_MEMORY;" (assignment_expression "CVar6 = CURLE_OUT_OF_MEMORY" identifier = identifier) ;)) (labeled_statement "LAB_000716f5:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return CVar6;" return identifier ;) })))
(translation_unit "int __regparm3\nFUN_000713d0(undefined4 param_1,char *param_2,undefined4 param_3,undefined4 param_4,int *param_5,\n            undefined4 *param_6,size_t *param_7,code *param_8,code *param_9)\n\n{\n  int iVar1;\n  code *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  size_t sVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  char cVar12;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  int local_150;\n  undefined4 local_14c;\n  undefined1 local_148 [32];\n  undefined1 local_128 [65];\n  undefined1 local_e7 [65];\n  char local_a6 [65];\n  char local_65 [65];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x713db;\n  uVar3 = entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  local_150 = 0;\n  local_14c = 0;\n  if (param_5[8] == 0) {\n    param_5[8] = 1;\n  }\n  if (param_5[1] == 0) {\n    iVar4 = FUN_00060200(uVar3,local_65,0x21);\n    if (iVar4 != 0) goto LAB_000716f5;\n    sVar8 = strlen(local_65);\n    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);\n    if (iVar4 != 0) goto LAB_000716f5;\n    param_5[1] = local_150;\n  }\n  iVar4 = param_5[2];\n  pcVar11 = param_2;\n  if ((char)param_5[9] == '\0') {\nLAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;\n    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }\nLAB_000716f0:\n  iVar4 = 0x1b;\nLAB_000716f5:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0007c1a0();\n  }\n  return iVar4;\n}\n\n" (function_definition "int __regparm3\nFUN_000713d0(undefined4 param_1,char *param_2,undefined4 param_3,undefined4 param_4,int *param_5,\n            undefined4 *param_6,size_t *param_7,code *param_8,code *param_9)\n\n{\n  int iVar1;\n  code *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  size_t sVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  char cVar12;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  int local_150;\n  undefined4 local_14c;\n  undefined1 local_148 [32];\n  undefined1 local_128 [65];\n  undefined1 local_e7 [65];\n  char local_a6 [65];\n  char local_65 [65];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x713db;\n  uVar3 = entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  local_150 = 0;\n  local_14c = 0;\n  if (param_5[8] == 0) {\n    param_5[8] = 1;\n  }\n  if (param_5[1] == 0) {\n    iVar4 = FUN_00060200(uVar3,local_65,0x21);\n    if (iVar4 != 0) goto LAB_000716f5;\n    sVar8 = strlen(local_65);\n    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);\n    if (iVar4 != 0) goto LAB_000716f5;\n    param_5[1] = local_150;\n  }\n  iVar4 = param_5[2];\n  pcVar11 = param_2;\n  if ((char)param_5[9] == '\0') {\nLAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;\n    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }\nLAB_000716f0:\n  iVar4 = 0x1b;\nLAB_000716f5:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0007c1a0();\n  }\n  return iVar4;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000713d0(undefined4 param_1,char *param_2,undefined4 param_3,undefined4 param_4,int *param_5,\n            undefined4 *param_6,size_t *param_7,code *param_8,code *param_9)" identifier (parameter_list "(undefined4 param_1,char *param_2,undefined4 param_3,undefined4 param_4,int *param_5,\n            undefined4 *param_6,size_t *param_7,code *param_8,code *param_9)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "int *param_5" primitive_type (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "size_t *param_7" primitive_type (pointer_declarator "*param_7" * identifier)) , (parameter_declaration "code *param_8" type_identifier (pointer_declarator "*param_8" * identifier)) , (parameter_declaration "code *param_9" type_identifier (pointer_declarator "*param_9" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  size_t sVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  char cVar12;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  int local_150;\n  undefined4 local_14c;\n  undefined1 local_148 [32];\n  undefined1 local_128 [65];\n  undefined1 local_e7 [65];\n  char local_a6 [65];\n  char local_65 [65];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x713db;\n  uVar3 = entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  local_150 = 0;\n  local_14c = 0;\n  if (param_5[8] == 0) {\n    param_5[8] = 1;\n  }\n  if (param_5[1] == 0) {\n    iVar4 = FUN_00060200(uVar3,local_65,0x21);\n    if (iVar4 != 0) goto LAB_000716f5;\n    sVar8 = strlen(local_65);\n    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);\n    if (iVar4 != 0) goto LAB_000716f5;\n    param_5[1] = local_150;\n  }\n  iVar4 = param_5[2];\n  pcVar11 = param_2;\n  if ((char)param_5[9] == '\0') {\nLAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;\n    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }\nLAB_000716f0:\n  iVar4 = 0x1b;\nLAB_000716f5:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0007c1a0();\n  }\n  return iVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "size_t sVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "char *pcVar11;" primitive_type (pointer_declarator "*pcVar11" * identifier) ;) (declaration "char cVar12;" primitive_type identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (declaration "int local_150;" primitive_type identifier ;) (declaration "undefined4 local_14c;" type_identifier identifier ;) (declaration "undefined1 local_148 [32];" type_identifier (array_declarator "local_148 [32]" identifier [ number_literal ]) ;) (declaration "undefined1 local_128 [65];" type_identifier (array_declarator "local_128 [65]" identifier [ number_literal ]) ;) (declaration "undefined1 local_e7 [65];" type_identifier (array_declarator "local_e7 [65]" identifier [ number_literal ]) ;) (declaration "char local_a6 [65];" primitive_type (array_declarator "local_a6 [65]" identifier [ number_literal ]) ;) (declaration "char local_65 [65];" primitive_type (array_declarator "local_65 [65]" identifier [ number_literal ]) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x713db;" (assignment_expression "uStack_14 = 0x713db" identifier = number_literal) ;) (expression_statement "uVar3 = entry();" (assignment_expression "uVar3 = entry()" identifier = (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) ))))) ;) (expression_statement "local_150 = 0;" (assignment_expression "local_150 = 0" identifier = number_literal) ;) (expression_statement "local_14c = 0;" (assignment_expression "local_14c = 0" identifier = number_literal) ;) (if_statement "if (param_5[8] == 0) {\n    param_5[8] = 1;\n  }" if (parenthesized_expression "(param_5[8] == 0)" ( (binary_expression "param_5[8] == 0" (subscript_expression "param_5[8]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    param_5[8] = 1;\n  }" { (expression_statement "param_5[8] = 1;" (assignment_expression "param_5[8] = 1" (subscript_expression "param_5[8]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (param_5[1] == 0) {\n    iVar4 = FUN_00060200(uVar3,local_65,0x21);\n    if (iVar4 != 0) goto LAB_000716f5;\n    sVar8 = strlen(local_65);\n    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);\n    if (iVar4 != 0) goto LAB_000716f5;\n    param_5[1] = local_150;\n  }" if (parenthesized_expression "(param_5[1] == 0)" ( (binary_expression "param_5[1] == 0" (subscript_expression "param_5[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    iVar4 = FUN_00060200(uVar3,local_65,0x21);\n    if (iVar4 != 0) goto LAB_000716f5;\n    sVar8 = strlen(local_65);\n    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);\n    if (iVar4 != 0) goto LAB_000716f5;\n    param_5[1] = local_150;\n  }" { (expression_statement "iVar4 = FUN_00060200(uVar3,local_65,0x21);" (assignment_expression "iVar4 = FUN_00060200(uVar3,local_65,0x21)" identifier = (call_expression "FUN_00060200(uVar3,local_65,0x21)" identifier (argument_list "(uVar3,local_65,0x21)" ( identifier , identifier , number_literal )))) ;) (if_statement "if (iVar4 != 0) goto LAB_000716f5;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000716f5;" goto statement_identifier ;)) (expression_statement "sVar8 = strlen(local_65);" (assignment_expression "sVar8 = strlen(local_65)" identifier = (call_expression "strlen(local_65)" identifier (argument_list "(local_65)" ( identifier )))) ;) (expression_statement "iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);" (assignment_expression "iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c)" identifier = (call_expression "FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c)" identifier (argument_list "(uVar3,local_65,sVar8,&local_150,&local_14c)" ( identifier , identifier , identifier , (pointer_expression "&local_150" & identifier) , (pointer_expression "&local_14c" & identifier) )))) ;) (if_statement "if (iVar4 != 0) goto LAB_000716f5;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000716f5;" goto statement_identifier ;)) (expression_statement "param_5[1] = local_150;" (assignment_expression "param_5[1] = local_150" (subscript_expression "param_5[1]" identifier [ number_literal ]) = identifier) ;) })) (expression_statement "iVar4 = param_5[2];" (assignment_expression "iVar4 = param_5[2]" identifier = (subscript_expression "param_5[2]" identifier [ number_literal ])) ;) (expression_statement "pcVar11 = param_2;" (assignment_expression "pcVar11 = param_2" identifier = identifier) ;) (if_statement "if ((char)param_5[9] == '\0') {\nLAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;\n    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }" if (parenthesized_expression "((char)param_5[9] == '\0')" ( (binary_expression "(char)param_5[9] == '\0'" (cast_expression "(char)param_5[9]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_5[9]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;\n    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }" { (labeled_statement "LAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;" statement_identifier : (expression_statement "iVar1 = unaff_EBX + 0x16439;" (assignment_expression "iVar1 = unaff_EBX + 0x16439" identifier = (binary_expression "unaff_EBX + 0x16439" identifier + number_literal)) ;)) (expression_statement "iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);" (assignment_expression "iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3)" identifier = (call_expression "curl_maprintf(iVar1,pcVar11,iVar4,param_3)" identifier (argument_list "(iVar1,pcVar11,iVar4,param_3)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }" { (expression_statement "(*param_9)(local_148,iVar4);" (call_expression "(*param_9)(local_148,iVar4)" (parenthesized_expression "(*param_9)" ( (pointer_expression "*param_9" * identifier) )) (argument_list "(local_148,iVar4)" ( identifier , identifier ))) ;) (expression_statement "pcVar2 = FUN_0003fc90 + unaff_EBX + 1;" (assignment_expression "pcVar2 = FUN_0003fc90 + unaff_EBX + 1" identifier = (binary_expression "FUN_0003fc90 + unaff_EBX + 1" (binary_expression "FUN_0003fc90 + unaff_EBX" identifier + identifier) + number_literal)) ;) (expression_statement "(**(code **)pcVar2)(iVar4);" (call_expression "(**(code **)pcVar2)(iVar4)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "(*param_8)(local_148,local_e7);" (call_expression "(*param_8)(local_148,local_e7)" (parenthesized_expression "(*param_8)" ( (pointer_expression "*param_8" * identifier) )) (argument_list "(local_148,local_e7)" ( identifier , identifier ))) ;) (if_statement "if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }" if (parenthesized_expression "(((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5))" ( (binary_expression "((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)" (parenthesized_expression "((param_5[3] & 0xfffffffdU) == 1)" ( (binary_expression "(param_5[3] & 0xfffffffdU) == 1" (parenthesized_expression "(param_5[3] & 0xfffffffdU)" ( (binary_expression "param_5[3] & 0xfffffffdU" (subscript_expression "param_5[3]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) || (parenthesized_expression "(param_5[3] == 5)" ( (binary_expression "param_5[3] == 5" (subscript_expression "param_5[3]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }" { (expression_statement "iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);" (assignment_expression "iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1])" identifier = (call_expression "curl_maprintf(iVar1,local_e7,*param_5,param_5[1])" identifier (argument_list "(iVar1,local_e7,*param_5,param_5[1])" ( identifier , identifier , (pointer_expression "*param_5" * identifier) , (subscript_expression "param_5[1]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar4 == 0) goto LAB_000716f0;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) (expression_statement "(*param_9)(local_148,iVar4);" (call_expression "(*param_9)(local_148,iVar4)" (parenthesized_expression "(*param_9)" ( (pointer_expression "*param_9" * identifier) )) (argument_list "(local_148,iVar4)" ( identifier , identifier ))) ;) (expression_statement "(**(code **)pcVar2)(iVar4);" (call_expression "(**(code **)pcVar2)(iVar4)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "(*param_8)(local_148,local_e7);" (call_expression "(*param_8)(local_148,local_e7)" (parenthesized_expression "(*param_8)" ( (pointer_expression "*param_8" * identifier) )) (argument_list "(local_148,local_e7)" ( identifier , identifier ))) ;) })) (expression_statement "iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);" (assignment_expression "iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4)" identifier = (call_expression "curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4)" identifier (argument_list "(unaff_EBX + 0x1643c,unaff_retaddr,param_4)" ( (binary_expression "unaff_EBX + 0x1643c" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }" { (expression_statement "iVar9 = iVar4;" (assignment_expression "iVar9 = iVar4" identifier = identifier) ;) (if_statement "if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }" if (parenthesized_expression "((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))" ( (binary_expression "(param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0)" (parenthesized_expression "(param_5[6] != 0)" ( (binary_expression "param_5[6] != 0" (subscript_expression "param_5[6]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0)" ( (comma_expression "iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0" (assignment_expression "iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425)" identifier = (call_expression "FUN_0003b840(param_5[6],unaff_EBX + 0x16425)" identifier (argument_list "(param_5[6],unaff_EBX + 0x16425)" ( (subscript_expression "param_5[6]" identifier [ number_literal ]) , (binary_expression "unaff_EBX + 0x16425" identifier + number_literal) )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }" { (expression_statement "(*param_9)(local_148,unaff_EBX + 0x16995);" (call_expression "(*param_9)(local_148,unaff_EBX + 0x16995)" (parenthesized_expression "(*param_9)" ( (pointer_expression "*param_9" * identifier) )) (argument_list "(local_148,unaff_EBX + 0x16995)" ( identifier , (binary_expression "unaff_EBX + 0x16995" identifier + number_literal) ))) ;) (expression_statement "(*param_8)(local_148,local_65);" (call_expression "(*param_8)(local_148,local_65)" (parenthesized_expression "(*param_8)" ( (pointer_expression "*param_8" * identifier) )) (argument_list "(local_148,local_65)" ( identifier , identifier ))) ;) (expression_statement "iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);" (assignment_expression "iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65)" identifier = (call_expression "curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65)" identifier (argument_list "(unaff_EBX + 0x1643c,iVar4,local_65)" ( (binary_expression "unaff_EBX + 0x1643c" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "(**(code **)pcVar2)(iVar4);" (call_expression "(**(code **)pcVar2)(iVar4)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar4)" ( identifier ))) ;) (if_statement "if (iVar9 == 0) goto LAB_000716f0;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) })) (expression_statement "pcVar11 = local_65;" (assignment_expression "pcVar11 = local_65" identifier = identifier) ;) (expression_statement "(*param_9)(local_148,iVar9);" (call_expression "(*param_9)(local_148,iVar9)" (parenthesized_expression "(*param_9)" ( (pointer_expression "*param_9" * identifier) )) (argument_list "(local_148,iVar9)" ( identifier , identifier ))) ;) (expression_statement "(**(code **)pcVar2)(iVar9);" (call_expression "(**(code **)pcVar2)(iVar9)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar9)" ( identifier ))) ;) (expression_statement "(*param_8)(local_148,pcVar11);" (call_expression "(*param_8)(local_148,pcVar11)" (parenthesized_expression "(*param_8)" ( (pointer_expression "*param_8" * identifier) )) (argument_list "(local_148,pcVar11)" ( identifier , identifier ))) ;) (if_statement "if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }" if (parenthesized_expression "(param_5[6] == 0)" ( (binary_expression "param_5[6] == 0" (subscript_expression "param_5[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }" { (expression_statement "pcVar10 = (char *)*param_5;" (assignment_expression "pcVar10 = (char *)*param_5" identifier = (cast_expression "(char *)*param_5" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_5" * identifier))) ;) (expression_statement "iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);" (assignment_expression "iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11)" identifier = (call_expression "curl_maprintf(iVar1,local_e7,pcVar10,pcVar11)" identifier (argument_list "(iVar1,local_e7,pcVar10,pcVar11)" ( identifier , identifier , identifier , identifier )))) ;) }) (else_clause "else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }" else (compound_statement "{\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }" { (expression_statement "iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);" (assignment_expression "iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11)" identifier = (call_expression "curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11)" identifier (argument_list "(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11)" ( (binary_expression "unaff_EBX + 0x1642e" identifier + number_literal) , identifier , (pointer_expression "*param_5" * identifier) , (subscript_expression "param_5[8]" identifier [ number_literal ]) , (subscript_expression "param_5[1]" identifier [ number_literal ]) , (subscript_expression "param_5[6]" identifier [ number_literal ]) , identifier )))) ;) (expression_statement "pcVar10 = pcVar11;" (assignment_expression "pcVar10 = pcVar11" identifier = identifier) ;) }))) (if_statement "if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }" { (expression_statement "(*param_9)(local_148,iVar4);" (call_expression "(*param_9)(local_148,iVar4)" (parenthesized_expression "(*param_9)" ( (pointer_expression "*param_9" * identifier) )) (argument_list "(local_148,iVar4)" ( identifier , identifier ))) ;) (expression_statement "(**(code **)pcVar2)(iVar4);" (call_expression "(**(code **)pcVar2)(iVar4)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "(*param_8)(local_148,local_128);" (call_expression "(*param_8)(local_148,local_128)" (parenthesized_expression "(*param_8)" ( (pointer_expression "*param_8" * identifier) )) (argument_list "(local_148,local_128)" ( identifier , identifier ))) ;) (if_statement "if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }" if (parenthesized_expression "((char)param_5[9] != '\0')" ( (binary_expression "(char)param_5[9] != '\0'" (cast_expression "(char)param_5[9]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_5[9]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            param_2 = local_a6;\n          }" { (expression_statement "param_2 = local_a6;" (assignment_expression "param_2 = local_a6" identifier = identifier) ;) })) (expression_statement "cVar12 = *param_2;" (assignment_expression "cVar12 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }" if (parenthesized_expression "(cVar12 == '\0')" ( (binary_expression "cVar12 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar4 = 1;\n          }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }" else (compound_statement "{\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (expression_statement "pcVar11 = param_2;" (assignment_expression "pcVar11 = param_2" identifier = identifier) ;) (do_statement "do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');" do (compound_statement "{\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            }" { (while_statement "while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }" while (parenthesized_expression "((cVar12 != '\"' && (cVar12 != '\\')))" ( (parenthesized_expression "(cVar12 != '\"' && (cVar12 != '\\'))" ( (binary_expression "cVar12 != '\"' && (cVar12 != '\\')" (binary_expression "cVar12 != '\"'" identifier != (char_literal "'\"'" ' escape_sequence ')) && (parenthesized_expression "(cVar12 != '\\')" ( (binary_expression "cVar12 != '\\'" identifier != (char_literal "'\\'" ' escape_sequence ')) ))) )) )) (compound_statement "{\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }" { (expression_statement "pcVar11 = pcVar11 + 1;" (assignment_expression "pcVar11 = pcVar11 + 1" identifier = (binary_expression "pcVar11 + 1" identifier + number_literal)) ;) (expression_statement "cVar12 = *pcVar11;" (assignment_expression "cVar12 = *pcVar11" identifier = (pointer_expression "*pcVar11" * identifier)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (cVar12 == '\0') goto LAB_00071624;" if (parenthesized_expression "(cVar12 == '\0')" ( (binary_expression "cVar12 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00071624;" goto statement_identifier ;)) })) (expression_statement "pcVar11 = pcVar11 + 1;" (assignment_expression "pcVar11 = pcVar11 + 1" identifier = (binary_expression "pcVar11 + 1" identifier + number_literal)) ;) (expression_statement "cVar12 = *pcVar11;" (assignment_expression "cVar12 = *pcVar11" identifier = (pointer_expression "*pcVar11" * identifier)) ;) (expression_statement "iVar4 = iVar4 + 2;" (assignment_expression "iVar4 = iVar4 + 2" identifier = (binary_expression "iVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar12 != '\0')" ( (binary_expression "cVar12 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) }))) (labeled_statement "LAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);" statement_identifier : (expression_statement "pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);" (assignment_expression "pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4)" identifier = (cast_expression "(char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(unaff_EBX + 0x3fc95))(iVar4)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x3fc95))" ( (pointer_expression "**(code **)(unaff_EBX + 0x3fc95)" * (pointer_expression "*(code **)(unaff_EBX + 0x3fc95)" * (cast_expression "(code **)(unaff_EBX + 0x3fc95)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x3fc95)" ( (binary_expression "unaff_EBX + 0x3fc95" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier ))))) ;)) (if_statement "if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }" if (parenthesized_expression "(pcVar11 != (char *)0x0)" ( (binary_expression "pcVar11 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }" { (expression_statement "cVar12 = *param_2;" (assignment_expression "cVar12 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "pcVar7 = pcVar11;" (assignment_expression "pcVar7 = pcVar11" identifier = identifier) ;) (while_statement "while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }" while (parenthesized_expression "(cVar12 != '\0')" ( (binary_expression "cVar12 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }" { (if_statement "if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }" if (parenthesized_expression "((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\'))" ( (binary_expression "(cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')" (parenthesized_expression "(cVar12 == '\"')" ( (binary_expression "cVar12 == '\"'" identifier == (char_literal "'\"'" ' escape_sequence ')) )) || (parenthesized_expression "(pcVar6 = pcVar7 + 1, cVar12 == '\\')" ( (comma_expression "pcVar6 = pcVar7 + 1, cVar12 == '\\'" (assignment_expression "pcVar6 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) , (binary_expression "cVar12 == '\\'" identifier == (char_literal "'\\'" ' escape_sequence '))) ))) )) (compound_statement "{\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }" { (expression_statement "pcVar6 = pcVar7 + 2;" (assignment_expression "pcVar6 = pcVar7 + 2" identifier = (binary_expression "pcVar7 + 2" identifier + number_literal)) ;) (expression_statement "*pcVar7 = '\\';" (assignment_expression "*pcVar7 = '\\'" (pointer_expression "*pcVar7" * identifier) = (char_literal "'\\'" ' escape_sequence ')) ;) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "*pcVar7 = *param_2;" (assignment_expression "*pcVar7 = *param_2" (pointer_expression "*pcVar7" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "cVar12 = param_2[1];" (assignment_expression "cVar12 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar7 = pcVar6;" (assignment_expression "pcVar7 = pcVar6" identifier = identifier) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) })) (expression_statement "*pcVar7 = '\0';" (assignment_expression "*pcVar7 = '\0'" (pointer_expression "*pcVar7" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }" if (parenthesized_expression "(param_5[6] == 0)" ( (binary_expression "param_5[6] == 0" (subscript_expression "param_5[6]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }" { (expression_statement "pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);" (assignment_expression "pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128)" identifier = (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128)" identifier (argument_list "(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128)" ( (binary_expression "unaff_EBX + 0x16579" identifier + number_literal) , identifier , (subscript_expression "param_5[2]" identifier [ number_literal ]) , (pointer_expression "*param_5" * identifier) , identifier , identifier ))))) ;) }) (else_clause "else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }" else (compound_statement "{\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }" { (expression_statement "pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);" (assignment_expression "pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128)" identifier = (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128)" identifier (argument_list "(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128)" ( (binary_expression "unaff_EBX + 0x16519" identifier + number_literal) , identifier , (subscript_expression "param_5[2]" identifier [ number_literal ]) , (pointer_expression "*param_5" * identifier) , identifier , (subscript_expression "param_5[1]" identifier [ number_literal ]) , (subscript_expression "param_5[8]" identifier [ number_literal ]) , (subscript_expression "param_5[6]" identifier [ number_literal ]) , identifier ))))) ;) (expression_statement "iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);" (assignment_expression "iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX)" identifier = (call_expression "FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX)" identifier (argument_list "(param_5[6],&UNK_00015100 + unaff_EBX)" ( (subscript_expression "param_5[6]" identifier [ number_literal ]) , (binary_expression "&UNK_00015100 + unaff_EBX" (pointer_expression "&UNK_00015100" & identifier) + identifier) )))) ;) (if_statement "if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n                param_5[8] = param_5[8] + 1;\n              }" { (expression_statement "param_5[8] = param_5[8] + 1;" (assignment_expression "param_5[8] = param_5[8] + 1" (subscript_expression "param_5[8]" identifier [ number_literal ]) = (binary_expression "param_5[8] + 1" (subscript_expression "param_5[8]" identifier [ number_literal ]) + number_literal)) ;) })) }))) (expression_statement "(**(code **)pcVar2)(pcVar11);" (call_expression "(**(code **)pcVar2)(pcVar11)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(pcVar11)" ( identifier ))) ;) (if_statement "if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }" if (parenthesized_expression "(pcVar7 != (char *)0x0)" ( (binary_expression "pcVar7 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }" { (expression_statement "pcVar11 = (char *)param_5[5];" (assignment_expression "pcVar11 = (char *)param_5[5]" identifier = (cast_expression "(char *)param_5[5]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_5[5]" identifier [ number_literal ]))) ;) (if_statement "if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }" if (parenthesized_expression "(pcVar11 != (char *)0x0)" ( (binary_expression "pcVar11 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }" { (expression_statement "pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);" (assignment_expression "pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11)" identifier = (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11)" identifier (argument_list "(unaff_EBX + 0x16442,pcVar7,pcVar11)" ( (binary_expression "unaff_EBX + 0x16442" identifier + number_literal) , identifier , identifier ))))) ;) (expression_statement "(**(code **)pcVar2)(pcVar7);" (call_expression "(**(code **)pcVar2)(pcVar7)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(pcVar7)" ( identifier ))) ;) (expression_statement "pcVar7 = pcVar6;" (assignment_expression "pcVar7 = pcVar6" identifier = identifier) ;) (expression_statement "pcVar10 = pcVar11;" (assignment_expression "pcVar10 = pcVar11" identifier = identifier) ;) (if_statement "if (pcVar6 == (char *)0x0) goto LAB_000716f0;" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) })) (expression_statement "pcVar11 = (char *)param_5[7];" (assignment_expression "pcVar11 = (char *)param_5[7]" identifier = (cast_expression "(char *)param_5[7]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_5[7]" identifier [ number_literal ]))) ;) (if_statement "if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }" if (parenthesized_expression "(pcVar11 == (char *)0x0)" ( (binary_expression "pcVar11 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }" { (expression_statement "cVar12 = (char)param_5[9];" (assignment_expression "cVar12 = (char)param_5[9]" identifier = (cast_expression "(char)param_5[9]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_5[9]" identifier [ number_literal ]))) ;) (expression_statement "pcVar6 = pcVar7;" (assignment_expression "pcVar6 = pcVar7" identifier = identifier) ;) (expression_statement "pcVar11 = pcVar10;" (assignment_expression "pcVar11 = pcVar10" identifier = identifier) ;) }) (else_clause "else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }" else (compound_statement "{\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }" { (expression_statement "pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);" (assignment_expression "pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11)" identifier = (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11)" identifier (argument_list "(unaff_EBX + 0x16452,pcVar7,pcVar11)" ( (binary_expression "unaff_EBX + 0x16452" identifier + number_literal) , identifier , identifier ))))) ;) (expression_statement "(**(code **)pcVar2)(pcVar7);" (call_expression "(**(code **)pcVar2)(pcVar7)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(pcVar7)" ( identifier ))) ;) (if_statement "if (pcVar6 == (char *)0x0) goto LAB_000716f0;" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) (expression_statement "cVar12 = (char)param_5[9];" (assignment_expression "cVar12 = (char)param_5[9]" identifier = (cast_expression "(char)param_5[9]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_5[9]" identifier [ number_literal ]))) ;) }))) (expression_statement "pcVar10 = pcVar6;" (assignment_expression "pcVar10 = pcVar6" identifier = identifier) ;) (if_statement "if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }" if (parenthesized_expression "(cVar12 != '\0')" ( (binary_expression "cVar12 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }" { (expression_statement "pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);" (assignment_expression "pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11)" identifier = (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11)" identifier (argument_list "(unaff_EBX + 0x16465,pcVar6,pcVar11)" ( (binary_expression "unaff_EBX + 0x16465" identifier + number_literal) , identifier , identifier ))))) ;) (expression_statement "(**(code **)pcVar2)(pcVar6);" (call_expression "(**(code **)pcVar2)(pcVar6)" (parenthesized_expression "(**(code **)pcVar2)" ( (pointer_expression "**(code **)pcVar2" * (pointer_expression "*(code **)pcVar2" * (cast_expression "(code **)pcVar2" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(pcVar6)" ( identifier ))) ;) (if_statement "if (pcVar10 == (char *)0x0) goto LAB_000716f0;" if (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000716f0;" goto statement_identifier ;)) })) (expression_statement "*param_6 = pcVar10;" (assignment_expression "*param_6 = pcVar10" (pointer_expression "*param_6" * identifier) = identifier) ;) (expression_statement "sVar8 = strlen(pcVar10);" (assignment_expression "sVar8 = strlen(pcVar10)" identifier = (call_expression "strlen(pcVar10)" identifier (argument_list "(pcVar10)" ( identifier )))) ;) (expression_statement "*param_7 = sVar8;" (assignment_expression "*param_7 = sVar8" (pointer_expression "*param_7" * identifier) = identifier) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000716f5;" goto statement_identifier ;) })) })) })) })) })) }) (else_clause "else {\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }" else (compound_statement "{\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }" { (expression_statement "iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);" (assignment_expression "iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4)" identifier = (call_expression "curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4)" identifier (argument_list "(unaff_EBX + 0x1643c,param_2,iVar4)" ( (binary_expression "unaff_EBX + 0x1643c" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }" { (expression_statement "(*param_9)(local_148,iVar4);" (call_expression "(*param_9)(local_148,iVar4)" (parenthesized_expression "(*param_9)" ( (pointer_expression "*param_9" * identifier) )) (argument_list "(local_148,iVar4)" ( identifier , identifier ))) ;) (expression_statement "(**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);" (call_expression "(**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4)" (parenthesized_expression "(**(code **)(FUN_0003fc90 + unaff_EBX + 1))" ( (pointer_expression "**(code **)(FUN_0003fc90 + unaff_EBX + 1)" * (pointer_expression "*(code **)(FUN_0003fc90 + unaff_EBX + 1)" * (cast_expression "(code **)(FUN_0003fc90 + unaff_EBX + 1)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(FUN_0003fc90 + unaff_EBX + 1)" ( (binary_expression "FUN_0003fc90 + unaff_EBX + 1" (binary_expression "FUN_0003fc90 + unaff_EBX" identifier + identifier) + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "(*param_8)(local_148,local_a6);" (call_expression "(*param_8)(local_148,local_a6)" (parenthesized_expression "(*param_8)" ( (pointer_expression "*param_8" * identifier) )) (argument_list "(local_148,local_a6)" ( identifier , identifier ))) ;) (expression_statement "iVar4 = param_5[2];" (assignment_expression "iVar4 = param_5[2]" identifier = (subscript_expression "param_5[2]" identifier [ number_literal ])) ;) (if_statement "if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }" if (parenthesized_expression "((char)param_5[9] != '\0')" ( (binary_expression "(char)param_5[9] != '\0'" (cast_expression "(char)param_5[9]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_5[9]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        pcVar11 = local_a6;\n      }" { (expression_statement "pcVar11 = local_a6;" (assignment_expression "pcVar11 = local_a6" identifier = identifier) ;) })) (goto_statement "goto LAB_0007147b;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_000716f0:\n  iVar4 = 0x1b;" statement_identifier : (expression_statement "iVar4 = 0x1b;" (assignment_expression "iVar4 = 0x1b" identifier = number_literal) ;)) (labeled_statement "LAB_000716f5:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0007c1a0();\n  }" statement_identifier : (if_statement "if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0007c1a0();\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                    \n    FUN_0007c1a0();\n  }" { (expression_statement "FUN_0007c1a0();" (call_expression "FUN_0007c1a0()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE 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 IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (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) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == (char_literal ' escape_sequence ')) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression IDENT + LIT) )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == 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 , IDENT , IDENT , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != (char_literal ' escape_sequence ')) && (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) ))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT == (char_literal ' escape_sequence '))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (subscript_expression IDENT [ LIT ]) , (pointer_expression * IDENT) , IDENT , IDENT ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (subscript_expression IDENT [ LIT ]) , (pointer_expression * IDENT) , IDENT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression (pointer_expression & IDENT) + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) })) }))) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) 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 *)) ) (subscript_expression IDENT [ LIT ]))) ;) (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 *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (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) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) })) })) })) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( 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 (binary_expression IDENT + IDENT) + LIT) ))))) )) (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (goto_statement goto statement_identifier ;) })) }))) (labeled_statement 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 { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int __regparm3\nFUN_000713d0(undefined4 param_1,char *param_2,undefined4 param_3,undefined4 param_4,int *param_5,\n            undefined4 *param_6,size_t *param_7,code *param_8,code *param_9)\n\n{\n  int iVar1;\n  code *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  size_t sVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  char cVar12;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  int local_150;\n  undefined4 local_14c;\n  undefined1 local_148 [32];\n  undefined1 local_128 [65];\n  undefined1 local_e7 [65];\n  char local_a6 [65];\n  char local_65 [65];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x713db;\n  uVar3 = entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  local_150 = 0;\n  local_14c = 0;\n  if (param_5[8] == 0) {\n    param_5[8] = 1;\n  }\n  if (param_5[1] == 0) {\n    iVar4 = FUN_00060200(uVar3,local_65,0x21);\n    if (iVar4 != 0) goto LAB_000716f5;\n    sVar8 = strlen(local_65);\n    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);\n    if (iVar4 != 0) goto LAB_000716f5;\n    param_5[1] = local_150;\n  }\n  iVar4 = param_5[2];\n  pcVar11 = param_2;\n  if ((char)param_5[9] == '\0') {\nLAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;\n    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }\nLAB_000716f0:\n  iVar4 = 0x1b;\nLAB_000716f5:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0007c1a0();\n  }\n  return iVar4;\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000713d0(undefined4 param_1,char *param_2,undefined4 param_3,undefined4 param_4,int *param_5,\n            undefined4 *param_6,size_t *param_7,code *param_8,code *param_9)" (identifier "FUN_000713d0") (parameter_list "(undefined4 param_1,char *param_2,undefined4 param_3,undefined4 param_4,int *param_5,\n            undefined4 *param_6,size_t *param_7,code *param_8,code *param_9)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "int *param_5" (primitive_type "int") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "undefined4 *param_6" (type_identifier "undefined4") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) (, ",") (parameter_declaration "size_t *param_7" (primitive_type "size_t") (pointer_declarator "*param_7" (* "*") (identifier "param_7"))) (, ",") (parameter_declaration "code *param_8" (type_identifier "code") (pointer_declarator "*param_8" (* "*") (identifier "param_8"))) (, ",") (parameter_declaration "code *param_9" (type_identifier "code") (pointer_declarator "*param_9" (* "*") (identifier "param_9"))) () ")"))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  char *pcVar6;\n  char *pcVar7;\n  size_t sVar8;\n  int iVar9;\n  char *pcVar10;\n  char *pcVar11;\n  char cVar12;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  undefined4 unaff_retaddr;\n  int local_150;\n  undefined4 local_14c;\n  undefined1 local_148 [32];\n  undefined1 local_128 [65];\n  undefined1 local_e7 [65];\n  char local_a6 [65];\n  char local_65 [65];\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x713db;\n  uVar3 = entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  local_150 = 0;\n  local_14c = 0;\n  if (param_5[8] == 0) {\n    param_5[8] = 1;\n  }\n  if (param_5[1] == 0) {\n    iVar4 = FUN_00060200(uVar3,local_65,0x21);\n    if (iVar4 != 0) goto LAB_000716f5;\n    sVar8 = strlen(local_65);\n    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);\n    if (iVar4 != 0) goto LAB_000716f5;\n    param_5[1] = local_150;\n  }\n  iVar4 = param_5[2];\n  pcVar11 = param_2;\n  if ((char)param_5[9] == '\0') {\nLAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;\n    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }\nLAB_000716f0:\n  iVar4 = 0x1b;\nLAB_000716f5:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0007c1a0();\n  }\n  return iVar4;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "code *pcVar2;" (type_identifier "code") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "size_t sVar8;" (primitive_type "size_t") (identifier "sVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "char *pcVar10;" (primitive_type "char") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "char *pcVar11;" (primitive_type "char") (pointer_declarator "*pcVar11" (* "*") (identifier "pcVar11")) (; ";")) (declaration "char cVar12;" (primitive_type "char") (identifier "cVar12") (; ";")) (declaration "int unaff_EBX;" (primitive_type "int") (identifier "unaff_EBX") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 unaff_retaddr;" (type_identifier "undefined4") (identifier "unaff_retaddr") (; ";")) (declaration "int local_150;" (primitive_type "int") (identifier "local_150") (; ";")) (declaration "undefined4 local_14c;" (type_identifier "undefined4") (identifier "local_14c") (; ";")) (declaration "undefined1 local_148 [32];" (type_identifier "undefined1") (array_declarator "local_148 [32]" (identifier "local_148") ([ "[") (number_literal "32") (] "]")) (; ";")) (declaration "undefined1 local_128 [65];" (type_identifier "undefined1") (array_declarator "local_128 [65]" (identifier "local_128") ([ "[") (number_literal "65") (] "]")) (; ";")) (declaration "undefined1 local_e7 [65];" (type_identifier "undefined1") (array_declarator "local_e7 [65]" (identifier "local_e7") ([ "[") (number_literal "65") (] "]")) (; ";")) (declaration "char local_a6 [65];" (primitive_type "char") (array_declarator "local_a6 [65]" (identifier "local_a6") ([ "[") (number_literal "65") (] "]")) (; ";")) (declaration "char local_65 [65];" (primitive_type "char") (array_declarator "local_65 [65]" (identifier "local_65") ([ "[") (number_literal "65") (] "]")) (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x713db;" (assignment_expression "uStack_14 = 0x713db" (identifier "uStack_14") (= "=") (number_literal "0x713db")) (; ";")) (expression_statement "uVar3 = entry();" (assignment_expression "uVar3 = entry()" (identifier "uVar3") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "local_150 = 0;" (assignment_expression "local_150 = 0" (identifier "local_150") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_14c = 0;" (assignment_expression "local_14c = 0" (identifier "local_14c") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_5[8] == 0) {\n    param_5[8] = 1;\n  }" (if "if") (parenthesized_expression "(param_5[8] == 0)" (( "(") (binary_expression "param_5[8] == 0" (subscript_expression "param_5[8]" (identifier "param_5") ([ "[") (number_literal "8") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    param_5[8] = 1;\n  }" ({ "{") (expression_statement "param_5[8] = 1;" (assignment_expression "param_5[8] = 1" (subscript_expression "param_5[8]" (identifier "param_5") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}"))) (if_statement "if (param_5[1] == 0) {\n    iVar4 = FUN_00060200(uVar3,local_65,0x21);\n    if (iVar4 != 0) goto LAB_000716f5;\n    sVar8 = strlen(local_65);\n    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);\n    if (iVar4 != 0) goto LAB_000716f5;\n    param_5[1] = local_150;\n  }" (if "if") (parenthesized_expression "(param_5[1] == 0)" (( "(") (binary_expression "param_5[1] == 0" (subscript_expression "param_5[1]" (identifier "param_5") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = FUN_00060200(uVar3,local_65,0x21);\n    if (iVar4 != 0) goto LAB_000716f5;\n    sVar8 = strlen(local_65);\n    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);\n    if (iVar4 != 0) goto LAB_000716f5;\n    param_5[1] = local_150;\n  }" ({ "{") (expression_statement "iVar4 = FUN_00060200(uVar3,local_65,0x21);" (assignment_expression "iVar4 = FUN_00060200(uVar3,local_65,0x21)" (identifier "iVar4") (= "=") (call_expression "FUN_00060200(uVar3,local_65,0x21)" (identifier "FUN_00060200") (argument_list "(uVar3,local_65,0x21)" (( "(") (identifier "uVar3") (, ",") (identifier "local_65") (, ",") (number_literal "0x21") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) goto LAB_000716f5;" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000716f5;" (goto "goto") (statement_identifier "LAB_000716f5") (; ";"))) (expression_statement "sVar8 = strlen(local_65);" (assignment_expression "sVar8 = strlen(local_65)" (identifier "sVar8") (= "=") (call_expression "strlen(local_65)" (identifier "strlen") (argument_list "(local_65)" (( "(") (identifier "local_65") () ")")))) (; ";")) (expression_statement "iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);" (assignment_expression "iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c)" (identifier "iVar4") (= "=") (call_expression "FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c)" (identifier "FUN_0001b180") (argument_list "(uVar3,local_65,sVar8,&local_150,&local_14c)" (( "(") (identifier "uVar3") (, ",") (identifier "local_65") (, ",") (identifier "sVar8") (, ",") (pointer_expression "&local_150" (& "&") (identifier "local_150")) (, ",") (pointer_expression "&local_14c" (& "&") (identifier "local_14c")) () ")")))) (; ";")) (if_statement "if (iVar4 != 0) goto LAB_000716f5;" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000716f5;" (goto "goto") (statement_identifier "LAB_000716f5") (; ";"))) (expression_statement "param_5[1] = local_150;" (assignment_expression "param_5[1] = local_150" (subscript_expression "param_5[1]" (identifier "param_5") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_150")) (; ";")) (} "}"))) (expression_statement "iVar4 = param_5[2];" (assignment_expression "iVar4 = param_5[2]" (identifier "iVar4") (= "=") (subscript_expression "param_5[2]" (identifier "param_5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "pcVar11 = param_2;" (assignment_expression "pcVar11 = param_2" (identifier "pcVar11") (= "=") (identifier "param_2")) (; ";")) (if_statement "if ((char)param_5[9] == '\0') {\nLAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;\n    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }\n  else {\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }" (if "if") (parenthesized_expression "((char)param_5[9] == '\0')" (( "(") (binary_expression "(char)param_5[9] == '\0'" (cast_expression "(char)param_5[9]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_5[9]" (identifier "param_5") ([ "[") (number_literal "9") (] "]"))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\nLAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;\n    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }\n  }" ({ "{") (labeled_statement "LAB_0007147b:\n    iVar1 = unaff_EBX + 0x16439;" (statement_identifier "LAB_0007147b") (: ":") (expression_statement "iVar1 = unaff_EBX + 0x16439;" (assignment_expression "iVar1 = unaff_EBX + 0x16439" (identifier "iVar1") (= "=") (binary_expression "unaff_EBX + 0x16439" (identifier "unaff_EBX") (+ "+") (number_literal "0x16439"))) (; ";"))) (expression_statement "iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);" (assignment_expression "iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3)" (identifier "iVar4") (= "=") (call_expression "curl_maprintf(iVar1,pcVar11,iVar4,param_3)" (identifier "curl_maprintf") (argument_list "(iVar1,pcVar11,iVar4,param_3)" (( "(") (identifier "iVar1") (, ",") (identifier "pcVar11") (, ",") (identifier "iVar4") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*param_9)(local_148,iVar4);\n      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;\n      (**(code **)pcVar2)(iVar4);\n      (*param_8)(local_148,local_e7);\n      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }\n      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);\n      if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }\n    }" ({ "{") (expression_statement "(*param_9)(local_148,iVar4);" (call_expression "(*param_9)(local_148,iVar4)" (parenthesized_expression "(*param_9)" (( "(") (pointer_expression "*param_9" (* "*") (identifier "param_9")) () ")")) (argument_list "(local_148,iVar4)" (( "(") (identifier "local_148") (, ",") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "pcVar2 = FUN_0003fc90 + unaff_EBX + 1;" (assignment_expression "pcVar2 = FUN_0003fc90 + unaff_EBX + 1" (identifier "pcVar2") (= "=") (binary_expression "FUN_0003fc90 + unaff_EBX + 1" (binary_expression "FUN_0003fc90 + unaff_EBX" (identifier "FUN_0003fc90") (+ "+") (identifier "unaff_EBX")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(**(code **)pcVar2)(iVar4);" (call_expression "(**(code **)pcVar2)(iVar4)" (parenthesized_expression "(**(code **)pcVar2)" (( "(") (pointer_expression "**(code **)pcVar2" (* "*") (pointer_expression "*(code **)pcVar2" (* "*") (cast_expression "(code **)pcVar2" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "pcVar2")))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "(*param_8)(local_148,local_e7);" (call_expression "(*param_8)(local_148,local_e7)" (parenthesized_expression "(*param_8)" (( "(") (pointer_expression "*param_8" (* "*") (identifier "param_8")) () ")")) (argument_list "(local_148,local_e7)" (( "(") (identifier "local_148") (, ",") (identifier "local_e7") () ")"))) (; ";")) (if_statement "if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }" (if "if") (parenthesized_expression "(((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5))" (( "(") (binary_expression "((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)" (parenthesized_expression "((param_5[3] & 0xfffffffdU) == 1)" (( "(") (binary_expression "(param_5[3] & 0xfffffffdU) == 1" (parenthesized_expression "(param_5[3] & 0xfffffffdU)" (( "(") (binary_expression "param_5[3] & 0xfffffffdU" (subscript_expression "param_5[3]" (identifier "param_5") ([ "[") (number_literal "3") (] "]")) (& "&") (number_literal "0xfffffffdU")) () ")")) (== "==") (number_literal "1")) () ")")) (|| "||") (parenthesized_expression "(param_5[3] == 5)" (( "(") (binary_expression "param_5[3] == 5" (subscript_expression "param_5[3]" (identifier "param_5") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "5")) () ")"))) () ")")) (compound_statement "{\n        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);\n        if (iVar4 == 0) goto LAB_000716f0;\n        (*param_9)(local_148,iVar4);\n        (**(code **)pcVar2)(iVar4);\n        (*param_8)(local_148,local_e7);\n      }" ({ "{") (expression_statement "iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);" (assignment_expression "iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1])" (identifier "iVar4") (= "=") (call_expression "curl_maprintf(iVar1,local_e7,*param_5,param_5[1])" (identifier "curl_maprintf") (argument_list "(iVar1,local_e7,*param_5,param_5[1])" (( "(") (identifier "iVar1") (, ",") (identifier "local_e7") (, ",") (pointer_expression "*param_5" (* "*") (identifier "param_5")) (, ",") (subscript_expression "param_5[1]" (identifier "param_5") ([ "[") (number_literal "1") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) goto LAB_000716f0;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000716f0;" (goto "goto") (statement_identifier "LAB_000716f0") (; ";"))) (expression_statement "(*param_9)(local_148,iVar4);" (call_expression "(*param_9)(local_148,iVar4)" (parenthesized_expression "(*param_9)" (( "(") (pointer_expression "*param_9" (* "*") (identifier "param_9")) () ")")) (argument_list "(local_148,iVar4)" (( "(") (identifier "local_148") (, ",") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "(**(code **)pcVar2)(iVar4);" (call_expression "(**(code **)pcVar2)(iVar4)" (parenthesized_expression "(**(code **)pcVar2)" (( "(") (pointer_expression "**(code **)pcVar2" (* "*") (pointer_expression "*(code **)pcVar2" (* "*") (cast_expression "(code **)pcVar2" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "pcVar2")))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "(*param_8)(local_148,local_e7);" (call_expression "(*param_8)(local_148,local_e7)" (parenthesized_expression "(*param_8)" (( "(") (pointer_expression "*param_8" (* "*") (identifier "param_8")) () ")")) (argument_list "(local_148,local_e7)" (( "(") (identifier "local_148") (, ",") (identifier "local_e7") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);" (assignment_expression "iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4)" (identifier "iVar4") (= "=") (call_expression "curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4)" (identifier "curl_maprintf") (argument_list "(unaff_EBX + 0x1643c,unaff_retaddr,param_4)" (( "(") (binary_expression "unaff_EBX + 0x1643c" (identifier "unaff_EBX") (+ "+") (number_literal "0x1643c")) (, ",") (identifier "unaff_retaddr") (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar9 = iVar4;\n        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }\n        pcVar11 = local_65;\n        (*param_9)(local_148,iVar9);\n        (**(code **)pcVar2)(iVar9);\n        (*param_8)(local_148,pcVar11);\n        if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }\n        if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }\n      }" ({ "{") (expression_statement "iVar9 = iVar4;" (assignment_expression "iVar9 = iVar4" (identifier "iVar9") (= "=") (identifier "iVar4")) (; ";")) (if_statement "if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))\n        {\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }" (if "if") (parenthesized_expression "((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))" (( "(") (binary_expression "(param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0)" (parenthesized_expression "(param_5[6] != 0)" (( "(") (binary_expression "param_5[6] != 0" (subscript_expression "param_5[6]" (identifier "param_5") ([ "[") (number_literal "6") (] "]")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0)" (( "(") (comma_expression "iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0" (assignment_expression "iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425)" (identifier "iVar5") (= "=") (call_expression "FUN_0003b840(param_5[6],unaff_EBX + 0x16425)" (identifier "FUN_0003b840") (argument_list "(param_5[6],unaff_EBX + 0x16425)" (( "(") (subscript_expression "param_5[6]" (identifier "param_5") ([ "[") (number_literal "6") (] "]")) (, ",") (binary_expression "unaff_EBX + 0x16425" (identifier "unaff_EBX") (+ "+") (number_literal "0x16425")) () ")")))) (, ",") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n          (*param_9)(local_148,unaff_EBX + 0x16995);\n          (*param_8)(local_148,local_65);\n          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);\n          (**(code **)pcVar2)(iVar4);\n          if (iVar9 == 0) goto LAB_000716f0;\n        }" ({ "{") (expression_statement "(*param_9)(local_148,unaff_EBX + 0x16995);" (call_expression "(*param_9)(local_148,unaff_EBX + 0x16995)" (parenthesized_expression "(*param_9)" (( "(") (pointer_expression "*param_9" (* "*") (identifier "param_9")) () ")")) (argument_list "(local_148,unaff_EBX + 0x16995)" (( "(") (identifier "local_148") (, ",") (binary_expression "unaff_EBX + 0x16995" (identifier "unaff_EBX") (+ "+") (number_literal "0x16995")) () ")"))) (; ";")) (expression_statement "(*param_8)(local_148,local_65);" (call_expression "(*param_8)(local_148,local_65)" (parenthesized_expression "(*param_8)" (( "(") (pointer_expression "*param_8" (* "*") (identifier "param_8")) () ")")) (argument_list "(local_148,local_65)" (( "(") (identifier "local_148") (, ",") (identifier "local_65") () ")"))) (; ";")) (expression_statement "iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);" (assignment_expression "iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65)" (identifier "iVar9") (= "=") (call_expression "curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65)" (identifier "curl_maprintf") (argument_list "(unaff_EBX + 0x1643c,iVar4,local_65)" (( "(") (binary_expression "unaff_EBX + 0x1643c" (identifier "unaff_EBX") (+ "+") (number_literal "0x1643c")) (, ",") (identifier "iVar4") (, ",") (identifier "local_65") () ")")))) (; ";")) (expression_statement "(**(code **)pcVar2)(iVar4);" (call_expression "(**(code **)pcVar2)(iVar4)" (parenthesized_expression "(**(code **)pcVar2)" (( "(") (pointer_expression "**(code **)pcVar2" (* "*") (pointer_expression "*(code **)pcVar2" (* "*") (cast_expression "(code **)pcVar2" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "pcVar2")))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (if_statement "if (iVar9 == 0) goto LAB_000716f0;" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000716f0;" (goto "goto") (statement_identifier "LAB_000716f0") (; ";"))) (} "}"))) (expression_statement "pcVar11 = local_65;" (assignment_expression "pcVar11 = local_65" (identifier "pcVar11") (= "=") (identifier "local_65")) (; ";")) (expression_statement "(*param_9)(local_148,iVar9);" (call_expression "(*param_9)(local_148,iVar9)" (parenthesized_expression "(*param_9)" (( "(") (pointer_expression "*param_9" (* "*") (identifier "param_9")) () ")")) (argument_list "(local_148,iVar9)" (( "(") (identifier "local_148") (, ",") (identifier "iVar9") () ")"))) (; ";")) (expression_statement "(**(code **)pcVar2)(iVar9);" (call_expression "(**(code **)pcVar2)(iVar9)" (parenthesized_expression "(**(code **)pcVar2)" (( "(") (pointer_expression "**(code **)pcVar2" (* "*") (pointer_expression "*(code **)pcVar2" (* "*") (cast_expression "(code **)pcVar2" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "pcVar2")))) () ")")) (argument_list "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (expression_statement "(*param_8)(local_148,pcVar11);" (call_expression "(*param_8)(local_148,pcVar11)" (parenthesized_expression "(*param_8)" (( "(") (pointer_expression "*param_8" (* "*") (identifier "param_8")) () ")")) (argument_list "(local_148,pcVar11)" (( "(") (identifier "local_148") (, ",") (identifier "pcVar11") () ")"))) (; ";")) (if_statement "if (param_5[6] == 0) {\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }\n        else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }" (if "if") (parenthesized_expression "(param_5[6] == 0)" (( "(") (binary_expression "param_5[6] == 0" (subscript_expression "param_5[6]" (identifier "param_5") ([ "[") (number_literal "6") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          pcVar10 = (char *)*param_5;\n          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);\n        }" ({ "{") (expression_statement "pcVar10 = (char *)*param_5;" (assignment_expression "pcVar10 = (char *)*param_5" (identifier "pcVar10") (= "=") (cast_expression "(char *)*param_5" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_5" (* "*") (identifier "param_5")))) (; ";")) (expression_statement "iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);" (assignment_expression "iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11)" (identifier "iVar4") (= "=") (call_expression "curl_maprintf(iVar1,local_e7,pcVar10,pcVar11)" (identifier "curl_maprintf") (argument_list "(iVar1,local_e7,pcVar10,pcVar11)" (( "(") (identifier "iVar1") (, ",") (identifier "local_e7") (, ",") (identifier "pcVar10") (, ",") (identifier "pcVar11") () ")")))) (; ";")) (} "}")) (else_clause "else {\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }" (else "else") (compound_statement "{\n          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);\n          pcVar10 = pcVar11;\n        }" ({ "{") (expression_statement "iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11);" (assignment_expression "iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11)" (identifier "iVar4") (= "=") (call_expression "curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11)" (identifier "curl_maprintf") (argument_list "(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],\n                                param_5[6],pcVar11)" (( "(") (binary_expression "unaff_EBX + 0x1642e" (identifier "unaff_EBX") (+ "+") (number_literal "0x1642e")) (, ",") (identifier "local_e7") (, ",") (pointer_expression "*param_5" (* "*") (identifier "param_5")) (, ",") (subscript_expression "param_5[8]" (identifier "param_5") ([ "[") (number_literal "8") (] "]")) (, ",") (subscript_expression "param_5[1]" (identifier "param_5") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "param_5[6]" (identifier "param_5") ([ "[") (number_literal "6") (] "]")) (, ",") (identifier "pcVar11") () ")")))) (; ";")) (expression_statement "pcVar10 = pcVar11;" (assignment_expression "pcVar10 = pcVar11" (identifier "pcVar10") (= "=") (identifier "pcVar11")) (; ";")) (} "}")))) (if_statement "if (iVar4 != 0) {\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          (*param_9)(local_148,iVar4);\n          (**(code **)pcVar2)(iVar4);\n          (*param_8)(local_148,local_128);\n          if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }\n          cVar12 = *param_2;\n          if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }\nLAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);\n          if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }\n        }" ({ "{") (expression_statement "(*param_9)(local_148,iVar4);" (call_expression "(*param_9)(local_148,iVar4)" (parenthesized_expression "(*param_9)" (( "(") (pointer_expression "*param_9" (* "*") (identifier "param_9")) () ")")) (argument_list "(local_148,iVar4)" (( "(") (identifier "local_148") (, ",") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "(**(code **)pcVar2)(iVar4);" (call_expression "(**(code **)pcVar2)(iVar4)" (parenthesized_expression "(**(code **)pcVar2)" (( "(") (pointer_expression "**(code **)pcVar2" (* "*") (pointer_expression "*(code **)pcVar2" (* "*") (cast_expression "(code **)pcVar2" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "pcVar2")))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "(*param_8)(local_148,local_128);" (call_expression "(*param_8)(local_148,local_128)" (parenthesized_expression "(*param_8)" (( "(") (pointer_expression "*param_8" (* "*") (identifier "param_8")) () ")")) (argument_list "(local_148,local_128)" (( "(") (identifier "local_148") (, ",") (identifier "local_128") () ")"))) (; ";")) (if_statement "if ((char)param_5[9] != '\0') {\n            param_2 = local_a6;\n          }" (if "if") (parenthesized_expression "((char)param_5[9] != '\0')" (( "(") (binary_expression "(char)param_5[9] != '\0'" (cast_expression "(char)param_5[9]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_5[9]" (identifier "param_5") ([ "[") (number_literal "9") (] "]"))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            param_2 = local_a6;\n          }" ({ "{") (expression_statement "param_2 = local_a6;" (assignment_expression "param_2 = local_a6" (identifier "param_2") (= "=") (identifier "local_a6")) (; ";")) (} "}"))) (expression_statement "cVar12 = *param_2;" (assignment_expression "cVar12 = *param_2" (identifier "cVar12") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (cVar12 == '\0') {\n            iVar4 = 1;\n          }\n          else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }" (if "if") (parenthesized_expression "(cVar12 == '\0')" (( "(") (binary_expression "cVar12 == '\0'" (identifier "cVar12") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            iVar4 = 1;\n          }" ({ "{") (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }" (else "else") (compound_statement "{\n            iVar4 = 1;\n            pcVar11 = param_2;\n            do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');\n          }" ({ "{") (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";")) (expression_statement "pcVar11 = param_2;" (assignment_expression "pcVar11 = param_2" (identifier "pcVar11") (= "=") (identifier "param_2")) (; ";")) (do_statement "do {\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            } while (cVar12 != '\0');" (do "do") (compound_statement "{\n              while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }\n              pcVar11 = pcVar11 + 1;\n              cVar12 = *pcVar11;\n              iVar4 = iVar4 + 2;\n            }" ({ "{") (while_statement "while ((cVar12 != '\"' && (cVar12 != '\\'))) {\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }" (while "while") (parenthesized_expression "((cVar12 != '\"' && (cVar12 != '\\')))" (( "(") (parenthesized_expression "(cVar12 != '\"' && (cVar12 != '\\'))" (( "(") (binary_expression "cVar12 != '\"' && (cVar12 != '\\')" (binary_expression "cVar12 != '\"'" (identifier "cVar12") (!= "!=") (char_literal "'\"'" (' "'") (escape_sequence "\"") (' "'"))) (&& "&&") (parenthesized_expression "(cVar12 != '\\')" (( "(") (binary_expression "cVar12 != '\\'" (identifier "cVar12") (!= "!=") (char_literal "'\\'" (' "'") (escape_sequence "\\") (' "'"))) () ")"))) () ")")) () ")")) (compound_statement "{\n                pcVar11 = pcVar11 + 1;\n                cVar12 = *pcVar11;\n                iVar4 = iVar4 + 1;\n                if (cVar12 == '\0') goto LAB_00071624;\n              }" ({ "{") (expression_statement "pcVar11 = pcVar11 + 1;" (assignment_expression "pcVar11 = pcVar11 + 1" (identifier "pcVar11") (= "=") (binary_expression "pcVar11 + 1" (identifier "pcVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar12 = *pcVar11;" (assignment_expression "cVar12 = *pcVar11" (identifier "cVar12") (= "=") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11"))) (; ";")) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (cVar12 == '\0') goto LAB_00071624;" (if "if") (parenthesized_expression "(cVar12 == '\0')" (( "(") (binary_expression "cVar12 == '\0'" (identifier "cVar12") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00071624;" (goto "goto") (statement_identifier "LAB_00071624") (; ";"))) (} "}"))) (expression_statement "pcVar11 = pcVar11 + 1;" (assignment_expression "pcVar11 = pcVar11 + 1" (identifier "pcVar11") (= "=") (binary_expression "pcVar11 + 1" (identifier "pcVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar12 = *pcVar11;" (assignment_expression "cVar12 = *pcVar11" (identifier "cVar12") (= "=") (pointer_expression "*pcVar11" (* "*") (identifier "pcVar11"))) (; ";")) (expression_statement "iVar4 = iVar4 + 2;" (assignment_expression "iVar4 = iVar4 + 2" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 2" (identifier "iVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(cVar12 != '\0')" (( "(") (binary_expression "cVar12 != '\0'" (identifier "cVar12") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (} "}")))) (labeled_statement "LAB_00071624:\n          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);" (statement_identifier "LAB_00071624") (: ":") (expression_statement "pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);" (assignment_expression "pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4)" (identifier "pcVar11") (= "=") (cast_expression "(char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(unaff_EBX + 0x3fc95))(iVar4)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x3fc95))" (( "(") (pointer_expression "**(code **)(unaff_EBX + 0x3fc95)" (* "*") (pointer_expression "*(code **)(unaff_EBX + 0x3fc95)" (* "*") (cast_expression "(code **)(unaff_EBX + 0x3fc95)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EBX + 0x3fc95)" (( "(") (binary_expression "unaff_EBX + 0x3fc95" (identifier "unaff_EBX") (+ "+") (number_literal "0x3fc95")) () ")"))))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))))) (; ";"))) (if_statement "if (pcVar11 != (char *)0x0) {\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }" (if "if") (parenthesized_expression "(pcVar11 != (char *)0x0)" (( "(") (binary_expression "pcVar11 != (char *)0x0" (identifier "pcVar11") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            cVar12 = *param_2;\n            pcVar7 = pcVar11;\n            while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }\n            *pcVar7 = '\0';\n            if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }\n            (**(code **)pcVar2)(pcVar11);\n            if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }\n          }" ({ "{") (expression_statement "cVar12 = *param_2;" (assignment_expression "cVar12 = *param_2" (identifier "cVar12") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "pcVar7 = pcVar11;" (assignment_expression "pcVar7 = pcVar11" (identifier "pcVar7") (= "=") (identifier "pcVar11")) (; ";")) (while_statement "while (cVar12 != '\0') {\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }" (while "while") (parenthesized_expression "(cVar12 != '\0')" (( "(") (binary_expression "cVar12 != '\0'" (identifier "cVar12") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }\n              *pcVar7 = *param_2;\n              cVar12 = param_2[1];\n              pcVar7 = pcVar6;\n              param_2 = param_2 + 1;\n            }" ({ "{") (if_statement "if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }" (if "if") (parenthesized_expression "((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\'))" (( "(") (binary_expression "(cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')" (parenthesized_expression "(cVar12 == '\"')" (( "(") (binary_expression "cVar12 == '\"'" (identifier "cVar12") (== "==") (char_literal "'\"'" (' "'") (escape_sequence "\"") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(pcVar6 = pcVar7 + 1, cVar12 == '\\')" (( "(") (comma_expression "pcVar6 = pcVar7 + 1, cVar12 == '\\'" (assignment_expression "pcVar6 = pcVar7 + 1" (identifier "pcVar6") (= "=") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1"))) (, ",") (binary_expression "cVar12 == '\\'" (identifier "cVar12") (== "==") (char_literal "'\\'" (' "'") (escape_sequence "\\") (' "'")))) () ")"))) () ")")) (compound_statement "{\n                pcVar6 = pcVar7 + 2;\n                *pcVar7 = '\\';\n                pcVar7 = pcVar7 + 1;\n              }" ({ "{") (expression_statement "pcVar6 = pcVar7 + 2;" (assignment_expression "pcVar6 = pcVar7 + 2" (identifier "pcVar6") (= "=") (binary_expression "pcVar7 + 2" (identifier "pcVar7") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "*pcVar7 = '\\';" (assignment_expression "*pcVar7 = '\\'" (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) (= "=") (char_literal "'\\'" (' "'") (escape_sequence "\\") (' "'"))) (; ";")) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" (identifier "pcVar7") (= "=") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*pcVar7 = *param_2;" (assignment_expression "*pcVar7 = *param_2" (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "cVar12 = param_2[1];" (assignment_expression "cVar12 = param_2[1]" (identifier "cVar12") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "pcVar7 = pcVar6;" (assignment_expression "pcVar7 = pcVar6" (identifier "pcVar7") (= "=") (identifier "pcVar6")) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*pcVar7 = '\0';" (assignment_expression "*pcVar7 = '\0'" (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (if_statement "if (param_5[6] == 0) {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }\n            else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }" (if "if") (parenthesized_expression "(param_5[6] == 0)" (( "(") (binary_expression "param_5[6] == 0" (subscript_expression "param_5[6]" (identifier "param_5") ([ "[") (number_literal "6") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);\n            }" ({ "{") (expression_statement "pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128);" (assignment_expression "pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128)" (identifier "pcVar7") (= "=") (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128)" (identifier "curl_maprintf") (argument_list "(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4\n                                             ,local_128)" (( "(") (binary_expression "unaff_EBX + 0x16579" (identifier "unaff_EBX") (+ "+") (number_literal "0x16579")) (, ",") (identifier "pcVar11") (, ",") (subscript_expression "param_5[2]" (identifier "param_5") ([ "[") (number_literal "2") (] "]")) (, ",") (pointer_expression "*param_5" (* "*") (identifier "param_5")) (, ",") (identifier "param_4") (, ",") (identifier "local_128") () ")"))))) (; ";")) (} "}")) (else_clause "else {\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }" (else "else") (compound_statement "{\n              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);\n              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);\n              if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }\n            }" ({ "{") (expression_statement "pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128);" (assignment_expression "pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128)" (identifier "pcVar7") (= "=") (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128)" (identifier "curl_maprintf") (argument_list "(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4\n                                             ,param_5[1],param_5[8],param_5[6],local_128)" (( "(") (binary_expression "unaff_EBX + 0x16519" (identifier "unaff_EBX") (+ "+") (number_literal "0x16519")) (, ",") (identifier "pcVar11") (, ",") (subscript_expression "param_5[2]" (identifier "param_5") ([ "[") (number_literal "2") (] "]")) (, ",") (pointer_expression "*param_5" (* "*") (identifier "param_5")) (, ",") (identifier "param_4") (, ",") (subscript_expression "param_5[1]" (identifier "param_5") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "param_5[8]" (identifier "param_5") ([ "[") (number_literal "8") (] "]")) (, ",") (subscript_expression "param_5[6]" (identifier "param_5") ([ "[") (number_literal "6") (] "]")) (, ",") (identifier "local_128") () ")"))))) (; ";")) (expression_statement "iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);" (assignment_expression "iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX)" (identifier "iVar4") (= "=") (call_expression "FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX)" (identifier "FUN_0003b840") (argument_list "(param_5[6],&UNK_00015100 + unaff_EBX)" (( "(") (subscript_expression "param_5[6]" (identifier "param_5") ([ "[") (number_literal "6") (] "]")) (, ",") (binary_expression "&UNK_00015100 + unaff_EBX" (pointer_expression "&UNK_00015100" (& "&") (identifier "UNK_00015100")) (+ "+") (identifier "unaff_EBX")) () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n                param_5[8] = param_5[8] + 1;\n              }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                param_5[8] = param_5[8] + 1;\n              }" ({ "{") (expression_statement "param_5[8] = param_5[8] + 1;" (assignment_expression "param_5[8] = param_5[8] + 1" (subscript_expression "param_5[8]" (identifier "param_5") ([ "[") (number_literal "8") (] "]")) (= "=") (binary_expression "param_5[8] + 1" (subscript_expression "param_5[8]" (identifier "param_5") ([ "[") (number_literal "8") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "(**(code **)pcVar2)(pcVar11);" (call_expression "(**(code **)pcVar2)(pcVar11)" (parenthesized_expression "(**(code **)pcVar2)" (( "(") (pointer_expression "**(code **)pcVar2" (* "*") (pointer_expression "*(code **)pcVar2" (* "*") (cast_expression "(code **)pcVar2" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "pcVar2")))) () ")")) (argument_list "(pcVar11)" (( "(") (identifier "pcVar11") () ")"))) (; ";")) (if_statement "if (pcVar7 != (char *)0x0) {\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }" (if "if") (parenthesized_expression "(pcVar7 != (char *)0x0)" (( "(") (binary_expression "pcVar7 != (char *)0x0" (identifier "pcVar7") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              pcVar11 = (char *)param_5[5];\n              if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }\n              pcVar11 = (char *)param_5[7];\n              if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }\n              pcVar10 = pcVar6;\n              if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }\n              *param_6 = pcVar10;\n              sVar8 = strlen(pcVar10);\n              *param_7 = sVar8;\n              iVar4 = 0;\n              goto LAB_000716f5;\n            }" ({ "{") (expression_statement "pcVar11 = (char *)param_5[5];" (assignment_expression "pcVar11 = (char *)param_5[5]" (identifier "pcVar11") (= "=") (cast_expression "(char *)param_5[5]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_5[5]" (identifier "param_5") ([ "[") (number_literal "5") (] "]")))) (; ";")) (if_statement "if (pcVar11 != (char *)0x0) {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }" (if "if") (parenthesized_expression "(pcVar11 != (char *)0x0)" (( "(") (binary_expression "pcVar11 != (char *)0x0" (identifier "pcVar11") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                pcVar7 = pcVar6;\n                pcVar10 = pcVar11;\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n              }" ({ "{") (expression_statement "pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);" (assignment_expression "pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11)" (identifier "pcVar6") (= "=") (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11)" (identifier "curl_maprintf") (argument_list "(unaff_EBX + 0x16442,pcVar7,pcVar11)" (( "(") (binary_expression "unaff_EBX + 0x16442" (identifier "unaff_EBX") (+ "+") (number_literal "0x16442")) (, ",") (identifier "pcVar7") (, ",") (identifier "pcVar11") () ")"))))) (; ";")) (expression_statement "(**(code **)pcVar2)(pcVar7);" (call_expression "(**(code **)pcVar2)(pcVar7)" (parenthesized_expression "(**(code **)pcVar2)" (( "(") (pointer_expression "**(code **)pcVar2" (* "*") (pointer_expression "*(code **)pcVar2" (* "*") (cast_expression "(code **)pcVar2" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "pcVar2")))) () ")")) (argument_list "(pcVar7)" (( "(") (identifier "pcVar7") () ")"))) (; ";")) (expression_statement "pcVar7 = pcVar6;" (assignment_expression "pcVar7 = pcVar6" (identifier "pcVar7") (= "=") (identifier "pcVar6")) (; ";")) (expression_statement "pcVar10 = pcVar11;" (assignment_expression "pcVar10 = pcVar11" (identifier "pcVar10") (= "=") (identifier "pcVar11")) (; ";")) (if_statement "if (pcVar6 == (char *)0x0) goto LAB_000716f0;" (if "if") (parenthesized_expression "(pcVar6 == (char *)0x0)" (( "(") (binary_expression "pcVar6 == (char *)0x0" (identifier "pcVar6") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000716f0;" (goto "goto") (statement_identifier "LAB_000716f0") (; ";"))) (} "}"))) (expression_statement "pcVar11 = (char *)param_5[7];" (assignment_expression "pcVar11 = (char *)param_5[7]" (identifier "pcVar11") (= "=") (cast_expression "(char *)param_5[7]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_5[7]" (identifier "param_5") ([ "[") (number_literal "7") (] "]")))) (; ";")) (if_statement "if (pcVar11 == (char *)0x0) {\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }\n              else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }" (if "if") (parenthesized_expression "(pcVar11 == (char *)0x0)" (( "(") (binary_expression "pcVar11 == (char *)0x0" (identifier "pcVar11") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                cVar12 = (char)param_5[9];\n                pcVar6 = pcVar7;\n                pcVar11 = pcVar10;\n              }" ({ "{") (expression_statement "cVar12 = (char)param_5[9];" (assignment_expression "cVar12 = (char)param_5[9]" (identifier "cVar12") (= "=") (cast_expression "(char)param_5[9]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_5[9]" (identifier "param_5") ([ "[") (number_literal "9") (] "]")))) (; ";")) (expression_statement "pcVar6 = pcVar7;" (assignment_expression "pcVar6 = pcVar7" (identifier "pcVar6") (= "=") (identifier "pcVar7")) (; ";")) (expression_statement "pcVar11 = pcVar10;" (assignment_expression "pcVar11 = pcVar10" (identifier "pcVar11") (= "=") (identifier "pcVar10")) (; ";")) (} "}")) (else_clause "else {\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }" (else "else") (compound_statement "{\n                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);\n                (**(code **)pcVar2)(pcVar7);\n                if (pcVar6 == (char *)0x0) goto LAB_000716f0;\n                cVar12 = (char)param_5[9];\n              }" ({ "{") (expression_statement "pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);" (assignment_expression "pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11)" (identifier "pcVar6") (= "=") (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11)" (identifier "curl_maprintf") (argument_list "(unaff_EBX + 0x16452,pcVar7,pcVar11)" (( "(") (binary_expression "unaff_EBX + 0x16452" (identifier "unaff_EBX") (+ "+") (number_literal "0x16452")) (, ",") (identifier "pcVar7") (, ",") (identifier "pcVar11") () ")"))))) (; ";")) (expression_statement "(**(code **)pcVar2)(pcVar7);" (call_expression "(**(code **)pcVar2)(pcVar7)" (parenthesized_expression "(**(code **)pcVar2)" (( "(") (pointer_expression "**(code **)pcVar2" (* "*") (pointer_expression "*(code **)pcVar2" (* "*") (cast_expression "(code **)pcVar2" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "pcVar2")))) () ")")) (argument_list "(pcVar7)" (( "(") (identifier "pcVar7") () ")"))) (; ";")) (if_statement "if (pcVar6 == (char *)0x0) goto LAB_000716f0;" (if "if") (parenthesized_expression "(pcVar6 == (char *)0x0)" (( "(") (binary_expression "pcVar6 == (char *)0x0" (identifier "pcVar6") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000716f0;" (goto "goto") (statement_identifier "LAB_000716f0") (; ";"))) (expression_statement "cVar12 = (char)param_5[9];" (assignment_expression "cVar12 = (char)param_5[9]" (identifier "cVar12") (= "=") (cast_expression "(char)param_5[9]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_5[9]" (identifier "param_5") ([ "[") (number_literal "9") (] "]")))) (; ";")) (} "}")))) (expression_statement "pcVar10 = pcVar6;" (assignment_expression "pcVar10 = pcVar6" (identifier "pcVar10") (= "=") (identifier "pcVar6")) (; ";")) (if_statement "if (cVar12 != '\0') {\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }" (if "if") (parenthesized_expression "(cVar12 != '\0')" (( "(") (binary_expression "cVar12 != '\0'" (identifier "cVar12") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);\n                (**(code **)pcVar2)(pcVar6);\n                if (pcVar10 == (char *)0x0) goto LAB_000716f0;\n              }" ({ "{") (expression_statement "pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);" (assignment_expression "pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11)" (identifier "pcVar10") (= "=") (cast_expression "(char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11)" (identifier "curl_maprintf") (argument_list "(unaff_EBX + 0x16465,pcVar6,pcVar11)" (( "(") (binary_expression "unaff_EBX + 0x16465" (identifier "unaff_EBX") (+ "+") (number_literal "0x16465")) (, ",") (identifier "pcVar6") (, ",") (identifier "pcVar11") () ")"))))) (; ";")) (expression_statement "(**(code **)pcVar2)(pcVar6);" (call_expression "(**(code **)pcVar2)(pcVar6)" (parenthesized_expression "(**(code **)pcVar2)" (( "(") (pointer_expression "**(code **)pcVar2" (* "*") (pointer_expression "*(code **)pcVar2" (* "*") (cast_expression "(code **)pcVar2" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "pcVar2")))) () ")")) (argument_list "(pcVar6)" (( "(") (identifier "pcVar6") () ")"))) (; ";")) (if_statement "if (pcVar10 == (char *)0x0) goto LAB_000716f0;" (if "if") (parenthesized_expression "(pcVar10 == (char *)0x0)" (( "(") (binary_expression "pcVar10 == (char *)0x0" (identifier "pcVar10") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_000716f0;" (goto "goto") (statement_identifier "LAB_000716f0") (; ";"))) (} "}"))) (expression_statement "*param_6 = pcVar10;" (assignment_expression "*param_6 = pcVar10" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (= "=") (identifier "pcVar10")) (; ";")) (expression_statement "sVar8 = strlen(pcVar10);" (assignment_expression "sVar8 = strlen(pcVar10)" (identifier "sVar8") (= "=") (call_expression "strlen(pcVar10)" (identifier "strlen") (argument_list "(pcVar10)" (( "(") (identifier "pcVar10") () ")")))) (; ";")) (expression_statement "*param_7 = sVar8;" (assignment_expression "*param_7 = sVar8" (pointer_expression "*param_7" (* "*") (identifier "param_7")) (= "=") (identifier "sVar8")) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000716f5;" (goto "goto") (statement_identifier "LAB_000716f5") (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }" (else "else") (compound_statement "{\n    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);\n    if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }\n  }" ({ "{") (expression_statement "iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);" (assignment_expression "iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4)" (identifier "iVar4") (= "=") (call_expression "curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4)" (identifier "curl_maprintf") (argument_list "(unaff_EBX + 0x1643c,param_2,iVar4)" (( "(") (binary_expression "unaff_EBX + 0x1643c" (identifier "unaff_EBX") (+ "+") (number_literal "0x1643c")) (, ",") (identifier "param_2") (, ",") (identifier "iVar4") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*param_9)(local_148,iVar4);\n      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);\n      (*param_8)(local_148,local_a6);\n      iVar4 = param_5[2];\n      if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }\n      goto LAB_0007147b;\n    }" ({ "{") (expression_statement "(*param_9)(local_148,iVar4);" (call_expression "(*param_9)(local_148,iVar4)" (parenthesized_expression "(*param_9)" (( "(") (pointer_expression "*param_9" (* "*") (identifier "param_9")) () ")")) (argument_list "(local_148,iVar4)" (( "(") (identifier "local_148") (, ",") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "(**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);" (call_expression "(**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4)" (parenthesized_expression "(**(code **)(FUN_0003fc90 + unaff_EBX + 1))" (( "(") (pointer_expression "**(code **)(FUN_0003fc90 + unaff_EBX + 1)" (* "*") (pointer_expression "*(code **)(FUN_0003fc90 + unaff_EBX + 1)" (* "*") (cast_expression "(code **)(FUN_0003fc90 + unaff_EBX + 1)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(FUN_0003fc90 + unaff_EBX + 1)" (( "(") (binary_expression "FUN_0003fc90 + unaff_EBX + 1" (binary_expression "FUN_0003fc90 + unaff_EBX" (identifier "FUN_0003fc90") (+ "+") (identifier "unaff_EBX")) (+ "+") (number_literal "1")) () ")"))))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "(*param_8)(local_148,local_a6);" (call_expression "(*param_8)(local_148,local_a6)" (parenthesized_expression "(*param_8)" (( "(") (pointer_expression "*param_8" (* "*") (identifier "param_8")) () ")")) (argument_list "(local_148,local_a6)" (( "(") (identifier "local_148") (, ",") (identifier "local_a6") () ")"))) (; ";")) (expression_statement "iVar4 = param_5[2];" (assignment_expression "iVar4 = param_5[2]" (identifier "iVar4") (= "=") (subscript_expression "param_5[2]" (identifier "param_5") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if ((char)param_5[9] != '\0') {\n        pcVar11 = local_a6;\n      }" (if "if") (parenthesized_expression "((char)param_5[9] != '\0')" (( "(") (binary_expression "(char)param_5[9] != '\0'" (cast_expression "(char)param_5[9]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_5[9]" (identifier "param_5") ([ "[") (number_literal "9") (] "]"))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        pcVar11 = local_a6;\n      }" ({ "{") (expression_statement "pcVar11 = local_a6;" (assignment_expression "pcVar11 = local_a6" (identifier "pcVar11") (= "=") (identifier "local_a6")) (; ";")) (} "}"))) (goto_statement "goto LAB_0007147b;" (goto "goto") (statement_identifier "LAB_0007147b") (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_000716f0:\n  iVar4 = 0x1b;" (statement_identifier "LAB_000716f0") (: ":") (expression_statement "iVar4 = 0x1b;" (assignment_expression "iVar4 = 0x1b" (identifier "iVar4") (= "=") (number_literal "0x1b")) (; ";"))) (labeled_statement "LAB_000716f5:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0007c1a0();\n  }" (statement_identifier "LAB_000716f5") (: ":") (if_statement "if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0007c1a0();\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                    \n    FUN_0007c1a0();\n  }" ({ "{") (expression_statement "FUN_0007c1a0();" (call_expression "FUN_0007c1a0()" (identifier "FUN_0007c1a0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}")))

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

type_1 __regparm3
function_1
          (type_2 *data,char *var_17,char *passwdp,type_3 *request,type_3 *uripath,
          type_4 *digest,char **outptr,size_t *outlen,
          type_5 *convert_to_ascii,type_5 *hash)

{
  int var_18;
  type_3 *var_8;
  int var_10;
  type_3 *var_12;
  size_t var_15;
  type_1 var_3;
  char *var_16;
  size_t sVar8;
  type_3 *var_11;
  char *var_14;
  char *pcVar11;
  char var_13;
  int var_1;
  char *cnonce;
  size_t cnonce_sz;
  type_3 hashbuf [32];
  type_3 request_digest [65];
  type_3 ha1 [65];
  char userh [65];
  type_3 ha2 [65];
  
  var_18 = *(int *)(var_1 + 0x14);
  cnonce = (char *)0x0;
  cnonce_sz = 0;
  if (digest->nc == 0) {
    digest->nc = 1;
  }
  if (digest->cnonce == (char *)0x0) {
    var_3 = var_2(data,ha2,0x21);
    if (var_3 != var_4) goto LAB_000716f5;
    sVar8 = var_5((char *)ha2);
    var_3 = var_6(data,(char *)ha2,sVar8,&cnonce,&cnonce_sz);
    if (var_3 != var_4) goto LAB_000716f5;
    digest->cnonce = cnonce;
  }
  var_14 = digest->realm;
  var_8 = (type_3 *)var_17;
  if (digest->userhash == false) {
LAB_0007147b:
    var_8 = (type_3 *)var_7("%s:%s:%s",var_8,var_14,passwdp);
    if (var_8 != (type_3 *)0x0) {
      (*hash)(hashbuf,var_8);
      (*Curl_cfree)(var_8);
      (*convert_to_ascii)(hashbuf,ha1);
      if (((digest->algo & 0xfffffffdU) == 1) || (digest->algo == 5)) {
        var_8 = (type_3 *)var_7("%s:%s:%s",ha1,digest->nonce,digest->cnonce);
        if (var_8 == (type_3 *)0x0) goto LAB_000716f0;
        (*hash)(hashbuf,var_8);
        (*Curl_cfree)(var_8);
        (*convert_to_ascii)(hashbuf,ha1);
      }
      var_8 = (type_3 *)var_7("%s:%s",request,uripath);
      if (var_8 != (type_3 *)0x0) {
        var_11 = var_8;
        if ((digest->qop != (char *)0x0) &&
           (var_10 = var_9(digest->qop,"auth-int"), var_10 != 0)) {
          (*hash)(hashbuf,"");
          (*convert_to_ascii)(hashbuf,ha2);
          var_11 = (type_3 *)var_7("%s:%s",var_8,ha2);
          (*Curl_cfree)(var_8);
          if (var_11 == (type_3 *)0x0) goto LAB_000716f0;
        }
        var_8 = ha2;
        (*hash)(hashbuf,var_11);
        (*Curl_cfree)(var_11);
        (*convert_to_ascii)(hashbuf,var_8);
        if (digest->qop == (char *)0x0) {
          var_11 = (type_3 *)digest->nonce;
          var_12 = (type_3 *)var_7("%s:%s:%s",ha1,var_11,var_8);
        }
        else {
          var_12 = (type_3 *)var_7("%s:%s:%08x:%s:%s:%s",ha1,digest->nonce,digest->nc,
                                          digest->cnonce,digest->qop,var_8);
          var_11 = var_8;
        }
        if (var_12 != (type_3 *)0x0) {
          (*hash)(hashbuf,var_12);
          (*Curl_cfree)(var_12);
          (*convert_to_ascii)(hashbuf,request_digest);
          if (digest->userhash != false) {
            var_17 = userh;
          }
          var_13 = *var_17;
          if (var_13 == '\0') {
            var_15 = 1;
          }
          else {
            var_15 = 1;
            var_14 = var_17;
            do {
              while ((var_13 != '\"' && (var_13 != '\\'))) {
                var_14 = var_14 + 1;
                var_13 = *var_14;
                var_15 = var_15 + 1;
                if (var_13 == '\0') goto LAB_00071624;
              }
              var_14 = var_14 + 1;
              var_13 = *var_14;
              var_15 = var_15 + 2;
            } while (var_13 != '\0');
          }
LAB_00071624:
          var_14 = (char *)(*Curl_cmalloc)(var_15);
          if (var_14 != (char *)0x0) {
            var_13 = *var_17;
            var_16 = var_14;
            while (var_13 != '\0') {
              if ((var_13 == '\"') || (pcVar11 = var_16 + 1, var_13 == '\\')) {
                pcVar11 = var_16 + 2;
                *var_16 = '\\';
                var_16 = var_16 + 1;
              }
              *var_16 = *var_17;
              var_13 = var_17[1];
              var_16 = pcVar11;
              var_17 = var_17 + 1;
            }
            *var_16 = '\0';
            if (digest->qop == (char *)0x0) {
              var_16 = var_7("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", response=\"%s\""
                                     ,var_14,digest->realm,digest->nonce,uripath,request_digest);
            }
            else {
              var_16 = var_7("username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", cnonce=\"%s\", nc=%08x, qop=%s, response=\"%s\""
                                     ,var_14,digest->realm,digest->nonce,uripath,digest->cnonce,
                                     digest->nc,digest->qop,request_digest);
              var_10 = var_9(digest->qop,"auth");
              if (var_10 != 0) {
                digest->nc = digest->nc + 1;
              }
            }
            (*Curl_cfree)(var_14);
            if (var_16 != (char *)0x0) {
              var_8 = (type_3 *)digest->opaque;
              if (var_8 != (type_3 *)0x0) {
                var_14 = var_7("%s, opaque=\"%s\"",var_16,var_8);
                (*Curl_cfree)(var_16);
                var_16 = var_14;
                var_11 = var_8;
                if (var_14 == (char *)0x0) goto LAB_000716f0;
              }
              var_8 = (type_3 *)digest->algorithm;
              if (var_8 == (type_3 *)0x0) {
                var_13 = digest->userhash;
                var_14 = var_16;
                var_8 = var_11;
              }
              else {
                var_14 = var_7("%s, algorithm=\"%s\"",var_16,var_8);
                (*Curl_cfree)(var_16);
                if (var_14 == (char *)0x0) goto LAB_000716f0;
                var_13 = digest->userhash;
              }
              var_16 = var_14;
              if (var_13 != '\0') {
                var_16 = var_7("%s, userhash=true",var_14,var_8);
                (*Curl_cfree)(var_14);
                if (var_16 == (char *)0x0) goto LAB_000716f0;
              }
              *outptr = var_16;
              sVar8 = var_5(var_16);
              *outlen = sVar8;
              var_3 = var_4;
              goto LAB_000716f5;
            }
          }
        }
      }
    }
  }
  else {
    var_11 = (type_3 *)var_7("%s:%s",var_17,var_14);
    if (var_11 != (type_3 *)0x0) {
      (*hash)(hashbuf,var_11);
      (*Curl_cfree)(var_11);
      (*convert_to_ascii)(hashbuf,(type_3 *)userh);
      var_14 = digest->realm;
      if (digest->userhash != false) {
        var_8 = (type_3 *)userh;
      }
      goto LAB_0007147b;
    }
  }
LAB_000716f0:
  var_3 = CURLE_OUT_OF_MEMORY;
LAB_000716f5:
  if (var_18 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_19();
  }
  return var_3;
}


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

int __regparm3
MASKED(undefined4 param_1,char *param_2,undefined4 param_3,undefined4 param_4,int *param_5,
            undefined4 *param_6,size_t *param_7,code *param_8,code *param_9)

{
  int iVar1;
  code *pcVar2;
  undefined4 uVar3;
  int iVar4;
  int iVar5;
  char *pcVar6;
  char *pcVar7;
  size_t sVar8;
  int iVar9;
  char *pcVar10;
  char *pcVar11;
  char cVar12;
  int unaff_EBX;
  int in_GS_OFFSET;
  undefined4 unaff_retaddr;
  int local_150;
  undefined4 local_14c;
  undefined1 local_148 [32];
  undefined1 local_128 [65];
  undefined1 local_e7 [65];
  char local_a6 [65];
  char local_65 [65];
  int local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0x713db;
  uVar3 = entry();
  local_24 = *(int *)(in_GS_OFFSET + 0x14);
  local_150 = 0;
  local_14c = 0;
  if (param_5[8] == 0) {
    param_5[8] = 1;
  }
  if (param_5[1] == 0) {
    iVar4 = FUN_00060200(uVar3,local_65,0x21);
    if (iVar4 != 0) goto LAB_000716f5;
    sVar8 = strlen(local_65);
    iVar4 = FUN_0001b180(uVar3,local_65,sVar8,&local_150,&local_14c);
    if (iVar4 != 0) goto LAB_000716f5;
    param_5[1] = local_150;
  }
  iVar4 = param_5[2];
  pcVar11 = param_2;
  if ((char)param_5[9] == '\0') {
LAB_0007147b:
    iVar1 = unaff_EBX + 0x16439;
    iVar4 = curl_maprintf(iVar1,pcVar11,iVar4,param_3);
    if (iVar4 != 0) {
      (*param_9)(local_148,iVar4);
      pcVar2 = FUN_0003fc90 + unaff_EBX + 1;
      (**(code **)pcVar2)(iVar4);
      (*param_8)(local_148,local_e7);
      if (((param_5[3] & 0xfffffffdU) == 1) || (param_5[3] == 5)) {
        iVar4 = curl_maprintf(iVar1,local_e7,*param_5,param_5[1]);
        if (iVar4 == 0) goto LAB_000716f0;
        (*param_9)(local_148,iVar4);
        (**(code **)pcVar2)(iVar4);
        (*param_8)(local_148,local_e7);
      }
      iVar4 = curl_maprintf(unaff_EBX + 0x1643c,unaff_retaddr,param_4);
      if (iVar4 != 0) {
        iVar9 = iVar4;
        if ((param_5[6] != 0) && (iVar5 = FUN_0003b840(param_5[6],unaff_EBX + 0x16425), iVar5 != 0))
        {
          (*param_9)(local_148,unaff_EBX + 0x16995);
          (*param_8)(local_148,local_65);
          iVar9 = curl_maprintf(unaff_EBX + 0x1643c,iVar4,local_65);
          (**(code **)pcVar2)(iVar4);
          if (iVar9 == 0) goto LAB_000716f0;
        }
        pcVar11 = local_65;
        (*param_9)(local_148,iVar9);
        (**(code **)pcVar2)(iVar9);
        (*param_8)(local_148,pcVar11);
        if (param_5[6] == 0) {
          pcVar10 = (char *)*param_5;
          iVar4 = curl_maprintf(iVar1,local_e7,pcVar10,pcVar11);
        }
        else {
          iVar4 = curl_maprintf(unaff_EBX + 0x1642e,local_e7,*param_5,param_5[8],param_5[1],
                                param_5[6],pcVar11);
          pcVar10 = pcVar11;
        }
        if (iVar4 != 0) {
          (*param_9)(local_148,iVar4);
          (**(code **)pcVar2)(iVar4);
          (*param_8)(local_148,local_128);
          if ((char)param_5[9] != '\0') {
            param_2 = local_a6;
          }
          cVar12 = *param_2;
          if (cVar12 == '\0') {
            iVar4 = 1;
          }
          else {
            iVar4 = 1;
            pcVar11 = param_2;
            do {
              while ((cVar12 != '\"' && (cVar12 != '\\'))) {
                pcVar11 = pcVar11 + 1;
                cVar12 = *pcVar11;
                iVar4 = iVar4 + 1;
                if (cVar12 == '\0') goto LAB_00071624;
              }
              pcVar11 = pcVar11 + 1;
              cVar12 = *pcVar11;
              iVar4 = iVar4 + 2;
            } while (cVar12 != '\0');
          }
LAB_00071624:
          pcVar11 = (char *)(**(code **)(unaff_EBX + 0x3fc95))(iVar4);
          if (pcVar11 != (char *)0x0) {
            cVar12 = *param_2;
            pcVar7 = pcVar11;
            while (cVar12 != '\0') {
              if ((cVar12 == '\"') || (pcVar6 = pcVar7 + 1, cVar12 == '\\')) {
                pcVar6 = pcVar7 + 2;
                *pcVar7 = '\\';
                pcVar7 = pcVar7 + 1;
              }
              *pcVar7 = *param_2;
              cVar12 = param_2[1];
              pcVar7 = pcVar6;
              param_2 = param_2 + 1;
            }
            *pcVar7 = '\0';
            if (param_5[6] == 0) {
              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16579,pcVar11,param_5[2],*param_5,param_4
                                             ,local_128);
            }
            else {
              pcVar7 = (char *)curl_maprintf(unaff_EBX + 0x16519,pcVar11,param_5[2],*param_5,param_4
                                             ,param_5[1],param_5[8],param_5[6],local_128);
              iVar4 = FUN_0003b840(param_5[6],&UNK_00015100 + unaff_EBX);
              if (iVar4 != 0) {
                param_5[8] = param_5[8] + 1;
              }
            }
            (**(code **)pcVar2)(pcVar11);
            if (pcVar7 != (char *)0x0) {
              pcVar11 = (char *)param_5[5];
              if (pcVar11 != (char *)0x0) {
                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16442,pcVar7,pcVar11);
                (**(code **)pcVar2)(pcVar7);
                pcVar7 = pcVar6;
                pcVar10 = pcVar11;
                if (pcVar6 == (char *)0x0) goto LAB_000716f0;
              }
              pcVar11 = (char *)param_5[7];
              if (pcVar11 == (char *)0x0) {
                cVar12 = (char)param_5[9];
                pcVar6 = pcVar7;
                pcVar11 = pcVar10;
              }
              else {
                pcVar6 = (char *)curl_maprintf(unaff_EBX + 0x16452,pcVar7,pcVar11);
                (**(code **)pcVar2)(pcVar7);
                if (pcVar6 == (char *)0x0) goto LAB_000716f0;
                cVar12 = (char)param_5[9];
              }
              pcVar10 = pcVar6;
              if (cVar12 != '\0') {
                pcVar10 = (char *)curl_maprintf(unaff_EBX + 0x16465,pcVar6,pcVar11);
                (**(code **)pcVar2)(pcVar6);
                if (pcVar10 == (char *)0x0) goto LAB_000716f0;
              }
              *param_6 = pcVar10;
              sVar8 = strlen(pcVar10);
              *param_7 = sVar8;
              iVar4 = 0;
              goto LAB_000716f5;
            }
          }
        }
      }
    }
  }
  else {
    iVar4 = curl_maprintf(unaff_EBX + 0x1643c,param_2,iVar4);
    if (iVar4 != 0) {
      (*param_9)(local_148,iVar4);
      (**(code **)(FUN_0003fc90 + unaff_EBX + 1))(iVar4);
      (*param_8)(local_148,local_a6);
      iVar4 = param_5[2];
      if ((char)param_5[9] != '\0') {
        pcVar11 = local_a6;
      }
      goto LAB_0007147b;
    }
  }
LAB_000716f0:
  iVar4 = 0x1b;
LAB_000716f5:
  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0007c1a0();
  }
  return iVar4;
}

