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

char * __regparm3 c_escape(char *str,size_t len)

{
  byte *pbVar1;
  ushort **ppuVar2;
  byte bVar3;
  byte *pbVar4;
  byte *pbVar5;
  
  if (len == 0xffffffff) {
    len = strlen(str);
  }
  if ((0x3fffffff < len) || (pbVar1 = (byte *)malloc(len * 4 + 1), pbVar1 == (byte *)0x0)) {
    return (char *)0x0;
  }
  bVar3 = *str;
  pbVar5 = pbVar1;
  while (pbVar4 = pbVar5, bVar3 != 0) {
    while (bVar3 != 10) {
      if (bVar3 == 0xd) {
        pbVar4[2] = 0;
        pbVar5 = pbVar4 + 2;
        pbVar4[0] = 0x5c;
        pbVar4[1] = 0x72;
      }
      else if (bVar3 == 9) {
        pbVar4[2] = 0;
        pbVar5 = pbVar4 + 2;
        pbVar4[0] = 0x5c;
        pbVar4[1] = 0x74;
      }
      else if (bVar3 == 0x5c) {
        pbVar4[2] = 0;
        pbVar5 = pbVar4 + 2;
        pbVar4[0] = 0x5c;
        pbVar4[1] = 0x5c;
      }
      else if (bVar3 == 0x22) {
        pbVar4[2] = 0;
        pbVar5 = pbVar4 + 2;
        pbVar4[0] = 0x5c;
        pbVar4[1] = 0x22;
      }
      else {
        ppuVar2 = __ctype_b_loc();
        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {
          pbVar5 = pbVar4 + 4;
          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);
        }
        else {
          *pbVar4 = bVar3;
          pbVar5 = pbVar4 + 1;
        }
      }
      str = (char *)((byte *)str + 1);
      bVar3 = *str;
      pbVar4 = pbVar5;
      if (bVar3 == 0) goto LAB_000250d2;
    }
    str = (char *)((byte *)str + 1);
    bVar3 = *str;
    pbVar4[2] = 0;
    pbVar4[0] = 0x5c;
    pbVar4[1] = 0x6e;
    pbVar5 = pbVar4 + 2;
  }
LAB_000250d2:
  *pbVar5 = 0;
  return (char *)pbVar1;
}



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

byte * __regparm3 FUN_00025000(byte *param_1,size_t param_2)

{
  byte *pbVar1;
  ushort **ppuVar2;
  byte bVar3;
  byte *pbVar4;
  byte *pbVar5;
  
  if (param_2 == 0xffffffff) {
    param_2 = strlen((char *)param_1);
  }
  if ((0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)) {
    return (byte *)0x0;
  }
  bVar3 = *param_1;
  pbVar5 = pbVar1;
  while (pbVar4 = pbVar5, bVar3 != 0) {
    while (bVar3 != 10) {
      if (bVar3 == 0xd) {
        pbVar4[2] = 0;
        pbVar5 = pbVar4 + 2;
        pbVar4[0] = 0x5c;
        pbVar4[1] = 0x72;
      }
      else if (bVar3 == 9) {
        pbVar4[2] = 0;
        pbVar5 = pbVar4 + 2;
        pbVar4[0] = 0x5c;
        pbVar4[1] = 0x74;
      }
      else if (bVar3 == 0x5c) {
        pbVar4[2] = 0;
        pbVar5 = pbVar4 + 2;
        pbVar4[0] = 0x5c;
        pbVar4[1] = 0x5c;
      }
      else if (bVar3 == 0x22) {
        pbVar4[2] = 0;
        pbVar5 = pbVar4 + 2;
        pbVar4[0] = 0x5c;
        pbVar4[1] = 0x22;
      }
      else {
        ppuVar2 = __ctype_b_loc();
        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {
          pbVar5 = pbVar4 + 4;
          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);
        }
        else {
          *pbVar4 = bVar3;
          pbVar5 = pbVar4 + 1;
        }
      }
      param_1 = param_1 + 1;
      bVar3 = *param_1;
      pbVar4 = pbVar5;
      if (bVar3 == 0) goto LAB_000250d2;
    }
    param_1 = param_1 + 1;
    bVar3 = *param_1;
    pbVar4[2] = 0;
    pbVar4[0] = 0x5c;
    pbVar4[1] = 0x6e;
    pbVar5 = pbVar4 + 2;
  }
LAB_000250d2:
  *pbVar5 = 0;
  return pbVar1;
}


PUSH EBP
MOV EBP,EAX
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014a30
ADD EBX,0x24dad
SUB ESP,0x1c
CMP EDX,-0x1
JNZ 0x00025027
SUB ESP,0xc
PUSH EAX
CALL 0x00014200
ADD ESP,0x10
MOV EDX,EAX
CMP EDX,0x3fffffff
JA 0x00025158
SUB ESP,0xc
LEA EAX,[EDX*0x4 + 0x1]
PUSH EAX
CALL 0x000141e0
ADD ESP,0x10
MOV EDI,EAX
TEST EAX,EAX
JZ 0x00025158
MOVZX EDX,byte ptr [EBP]
MOV ESI,EAX
TEST DL,DL
JZ 0x000250d2
LEA EAX,[EBX + 0xffff4d04]
MOV dword ptr [ESP + 0xc],EAX
JMP 0x000250b3
CMP DL,0xd
JZ 0x000250e0
CMP DL,0x9
JZ 0x000250f8
CMP DL,0x5c
JZ 0x00025128
CMP DL,0x22
JZ 0x00025140
MOV byte ptr [ESP + 0xb],DL
CALL 0x00014410
MOVZX ECX,byte ptr [ESP + 0xb]
MOV EAX,dword ptr [EAX]
TEST byte ptr [EAX + ECX*0x2 + 0x1],0x40
JZ 0x00025110
MOV byte ptr [ESI],CL
ADD ESI,0x1
ADD EBP,0x1
MOVZX EDX,byte ptr [EBP]
TEST DL,DL
JZ 0x000250d2
CMP DL,0xa
JNZ 0x00025070
ADD EBP,0x1
MOVZX EDX,byte ptr [EBP]
MOV EAX,0x6e5c
MOV byte ptr [ESI + 0x2],0x0
MOV word ptr [ESI],AX
ADD ESI,0x2
TEST DL,DL
JNZ 0x000250b3
MOV byte ptr [ESI],0x0
ADD ESP,0x1c
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,0x725c
MOV byte ptr [ESI + 0x2],0x0
ADD ESI,0x2
MOV word ptr [ESI + -0x2],AX
JMP 0x000250a8
MOV ECX,0x745c
MOV byte ptr [ESI + 0x2],0x0
ADD ESI,0x2
MOV word ptr [ESI + -0x2],CX
JMP 0x000250a8
PUSH ECX
PUSH dword ptr [ESP + 0x10]
PUSH 0x5
PUSH ESI
ADD ESI,0x4
CALL 0x000143f0
ADD ESP,0x10
JMP 0x000250a8
MOV EDX,0x5c5c
MOV byte ptr [ESI + 0x2],0x0
ADD ESI,0x2
MOV word ptr [ESI + -0x2],DX
JMP 0x000250a8
MOV EAX,0x225c
MOV byte ptr [ESI + 0x2],0x0
ADD ESI,0x2
MOV word ptr [ESI + -0x2],AX
JMP 0x000250a8
ADD ESP,0x1c
XOR EDI,EDI
POP EBX
MOV EAX,EDI
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbyte * __regparm3 FUN_00025000(byte *param_1,size_t param_2)\n\n{\n  byte *pbVar1;\n  ushort **ppuVar2;\n  byte bVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  \n  if (param_2 == 0xffffffff) {\n    param_2 = strlen((char *)param_1);\n  }\n  if ((0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)) {\n    return (byte *)0x0;\n  }\n  bVar3 = *param_1;\n  pbVar5 = pbVar1;\n  while (pbVar4 = pbVar5, bVar3 != 0) {\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    param_1 = param_1 + 1;\n    bVar3 = *param_1;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }\nLAB_000250d2:\n  *pbVar5 = 0;\n  return pbVar1;\n}\n\n" comment (ERROR "byte * __regparm3 FUN_00025000(byte *param_1,size_t param_2)" (binary_expression "byte * __regparm3 FUN_00025000(byte *param_1,size_t param_2)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_00025000(byte *param_1,size_t param_2)" identifier (argument_list "(byte *param_1,size_t param_2)" ( (binary_expression "byte *param_1" identifier * identifier) , (ERROR "size_t" identifier) identifier ))))) (compound_statement "{\n  byte *pbVar1;\n  ushort **ppuVar2;\n  byte bVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  \n  if (param_2 == 0xffffffff) {\n    param_2 = strlen((char *)param_1);\n  }\n  if ((0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)) {\n    return (byte *)0x0;\n  }\n  bVar3 = *param_1;\n  pbVar5 = pbVar1;\n  while (pbVar4 = pbVar5, bVar3 != 0) {\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    param_1 = param_1 + 1;\n    bVar3 = *param_1;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }\nLAB_000250d2:\n  *pbVar5 = 0;\n  return pbVar1;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "ushort **ppuVar2;" type_identifier (pointer_declarator "**ppuVar2" * (pointer_declarator "*ppuVar2" * identifier)) ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (if_statement "if (param_2 == 0xffffffff) {\n    param_2 = strlen((char *)param_1);\n  }" if (parenthesized_expression "(param_2 == 0xffffffff)" ( (binary_expression "param_2 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n    param_2 = strlen((char *)param_1);\n  }" { (expression_statement "param_2 = strlen((char *)param_1);" (assignment_expression "param_2 = strlen((char *)param_1)" identifier = (call_expression "strlen((char *)param_1)" identifier (argument_list "((char *)param_1)" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) })) (if_statement "if ((0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)) {\n    return (byte *)0x0;\n  }" if (parenthesized_expression "((0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0))" ( (binary_expression "(0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)" (parenthesized_expression "(0x3fffffff < param_2)" ( (binary_expression "0x3fffffff < param_2" number_literal < identifier) )) || (parenthesized_expression "(pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)" ( (comma_expression "pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0" (assignment_expression "pbVar1 = (byte *)malloc(param_2 * 4 + 1)" identifier = (cast_expression "(byte *)malloc(param_2 * 4 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(param_2 * 4 + 1)" identifier (argument_list "(param_2 * 4 + 1)" ( (binary_expression "param_2 * 4 + 1" (binary_expression "param_2 * 4" identifier * number_literal) + number_literal) ))))) , (binary_expression "pbVar1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    return (byte *)0x0;\n  }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "bVar3 = *param_1;" (assignment_expression "bVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pbVar5 = pbVar1;" (assignment_expression "pbVar5 = pbVar1" identifier = identifier) ;) (while_statement "while (pbVar4 = pbVar5, bVar3 != 0) {\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    param_1 = param_1 + 1;\n    bVar3 = *param_1;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }" while (parenthesized_expression "(pbVar4 = pbVar5, bVar3 != 0)" ( (comma_expression "pbVar4 = pbVar5, bVar3 != 0" (assignment_expression "pbVar4 = pbVar5" identifier = identifier) , (binary_expression "bVar3 != 0" identifier != number_literal)) )) (compound_statement "{\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    param_1 = param_1 + 1;\n    bVar3 = *param_1;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }" { (while_statement "while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }" while (parenthesized_expression "(bVar3 != 10)" ( (binary_expression "bVar3 != 10" identifier != number_literal) )) (compound_statement "{\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }" { (if_statement "if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" if (parenthesized_expression "(bVar3 == 0xd)" ( (binary_expression "bVar3 == 0xd" identifier == number_literal) )) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }" { (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x72;" (assignment_expression "pbVar4[1] = 0x72" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" else (if_statement "if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" if (parenthesized_expression "(bVar3 == 9)" ( (binary_expression "bVar3 == 9" identifier == number_literal) )) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }" { (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x74;" (assignment_expression "pbVar4[1] = 0x74" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" else (if_statement "if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" if (parenthesized_expression "(bVar3 == 0x5c)" ( (binary_expression "bVar3 == 0x5c" identifier == number_literal) )) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }" { (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x5c;" (assignment_expression "pbVar4[1] = 0x5c" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" else (if_statement "if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" if (parenthesized_expression "(bVar3 == 0x22)" ( (binary_expression "bVar3 == 0x22" identifier == number_literal) )) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }" { (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x22;" (assignment_expression "pbVar4[1] = 0x22" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" else (compound_statement "{\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" { (expression_statement "ppuVar2 = __ctype_b_loc();" (assignment_expression "ppuVar2 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }" if (parenthesized_expression "((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40)" ( (binary_expression "*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40" (pointer_expression "*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar2 + (uint)bVar3 * 2 + 1)" ( (binary_expression "(int)*ppuVar2 + (uint)bVar3 * 2 + 1" (binary_expression "(int)*ppuVar2 + (uint)bVar3 * 2" (cast_expression "(int)*ppuVar2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar2" * identifier)) + (binary_expression "(uint)bVar3 * 2" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }" { (expression_statement "pbVar5 = pbVar4 + 4;" (assignment_expression "pbVar5 = pbVar4 + 4" identifier = (binary_expression "pbVar4 + 4" identifier + number_literal)) ;) (expression_statement "curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);" (call_expression "curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3)" identifier (argument_list "(pbVar4,5,"\\%03o",(uint)bVar3)" ( identifier , number_literal , (string_literal ""\\%03o"" " escape_sequence string_content ") , (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) }) (else_clause "else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }" else (compound_statement "{\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }" { (expression_statement "*pbVar4 = bVar3;" (assignment_expression "*pbVar4 = bVar3" (pointer_expression "*pbVar4" * identifier) = identifier) ;) (expression_statement "pbVar5 = pbVar4 + 1;" (assignment_expression "pbVar5 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }))) }))))))))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "bVar3 = *param_1;" (assignment_expression "bVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pbVar4 = pbVar5;" (assignment_expression "pbVar4 = pbVar5" identifier = identifier) ;) (if_statement "if (bVar3 == 0) goto LAB_000250d2;" if (parenthesized_expression "(bVar3 == 0)" ( (binary_expression "bVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000250d2;" goto statement_identifier ;)) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "bVar3 = *param_1;" (assignment_expression "bVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x6e;" (assignment_expression "pbVar4[1] = 0x6e" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) })) (labeled_statement "LAB_000250d2:\n  *pbVar5 = 0;" statement_identifier : (expression_statement "*pbVar5 = 0;" (assignment_expression "*pbVar5 = 0" (pointer_expression "*pbVar5" * identifier) = number_literal) ;)) (return_statement "return pbVar1;" return identifier ;) }))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 c_escape(char *str,size_t len)\n\n{\n  byte *pbVar1;\n  ushort **ppuVar2;\n  byte bVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  \n  if (len == 0xffffffff) {\n    len = strlen(str);\n  }\n  if ((0x3fffffff < len) || (pbVar1 = (byte *)malloc(len * 4 + 1), pbVar1 == (byte *)0x0)) {\n    return (char *)0x0;\n  }\n  bVar3 = *str;\n  pbVar5 = pbVar1;\n  while (pbVar4 = pbVar5, bVar3 != 0) {\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      str = (char *)((byte *)str + 1);\n      bVar3 = *str;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    str = (char *)((byte *)str + 1);\n    bVar3 = *str;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }\nLAB_000250d2:\n  *pbVar5 = 0;\n  return (char *)pbVar1;\n}\n\n" comment (function_definition "char * __regparm3 c_escape(char *str,size_t len)\n\n{\n  byte *pbVar1;\n  ushort **ppuVar2;\n  byte bVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  \n  if (len == 0xffffffff) {\n    len = strlen(str);\n  }\n  if ((0x3fffffff < len) || (pbVar1 = (byte *)malloc(len * 4 + 1), pbVar1 == (byte *)0x0)) {\n    return (char *)0x0;\n  }\n  bVar3 = *str;\n  pbVar5 = pbVar1;\n  while (pbVar4 = pbVar5, bVar3 != 0) {\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      str = (char *)((byte *)str + 1);\n      bVar3 = *str;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    str = (char *)((byte *)str + 1);\n    bVar3 = *str;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }\nLAB_000250d2:\n  *pbVar5 = 0;\n  return (char *)pbVar1;\n}" primitive_type (pointer_declarator "* __regparm3 c_escape(char *str,size_t len)" * (ERROR "__regparm3" identifier) (function_declarator "c_escape(char *str,size_t len)" identifier (parameter_list "(char *str,size_t len)" ( (parameter_declaration "char *str" primitive_type (pointer_declarator "*str" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) )))) (compound_statement "{\n  byte *pbVar1;\n  ushort **ppuVar2;\n  byte bVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  \n  if (len == 0xffffffff) {\n    len = strlen(str);\n  }\n  if ((0x3fffffff < len) || (pbVar1 = (byte *)malloc(len * 4 + 1), pbVar1 == (byte *)0x0)) {\n    return (char *)0x0;\n  }\n  bVar3 = *str;\n  pbVar5 = pbVar1;\n  while (pbVar4 = pbVar5, bVar3 != 0) {\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      str = (char *)((byte *)str + 1);\n      bVar3 = *str;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    str = (char *)((byte *)str + 1);\n    bVar3 = *str;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }\nLAB_000250d2:\n  *pbVar5 = 0;\n  return (char *)pbVar1;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "ushort **ppuVar2;" type_identifier (pointer_declarator "**ppuVar2" * (pointer_declarator "*ppuVar2" * identifier)) ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (if_statement "if (len == 0xffffffff) {\n    len = strlen(str);\n  }" if (parenthesized_expression "(len == 0xffffffff)" ( (binary_expression "len == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n    len = strlen(str);\n  }" { (expression_statement "len = strlen(str);" (assignment_expression "len = strlen(str)" identifier = (call_expression "strlen(str)" identifier (argument_list "(str)" ( identifier )))) ;) })) (if_statement "if ((0x3fffffff < len) || (pbVar1 = (byte *)malloc(len * 4 + 1), pbVar1 == (byte *)0x0)) {\n    return (char *)0x0;\n  }" if (parenthesized_expression "((0x3fffffff < len) || (pbVar1 = (byte *)malloc(len * 4 + 1), pbVar1 == (byte *)0x0))" ( (binary_expression "(0x3fffffff < len) || (pbVar1 = (byte *)malloc(len * 4 + 1), pbVar1 == (byte *)0x0)" (parenthesized_expression "(0x3fffffff < len)" ( (binary_expression "0x3fffffff < len" number_literal < identifier) )) || (parenthesized_expression "(pbVar1 = (byte *)malloc(len * 4 + 1), pbVar1 == (byte *)0x0)" ( (comma_expression "pbVar1 = (byte *)malloc(len * 4 + 1), pbVar1 == (byte *)0x0" (assignment_expression "pbVar1 = (byte *)malloc(len * 4 + 1)" identifier = (cast_expression "(byte *)malloc(len * 4 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(len * 4 + 1)" identifier (argument_list "(len * 4 + 1)" ( (binary_expression "len * 4 + 1" (binary_expression "len * 4" identifier * number_literal) + number_literal) ))))) , (binary_expression "pbVar1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    return (char *)0x0;\n  }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "bVar3 = *str;" (assignment_expression "bVar3 = *str" identifier = (pointer_expression "*str" * identifier)) ;) (expression_statement "pbVar5 = pbVar1;" (assignment_expression "pbVar5 = pbVar1" identifier = identifier) ;) (while_statement "while (pbVar4 = pbVar5, bVar3 != 0) {\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      str = (char *)((byte *)str + 1);\n      bVar3 = *str;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    str = (char *)((byte *)str + 1);\n    bVar3 = *str;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }" while (parenthesized_expression "(pbVar4 = pbVar5, bVar3 != 0)" ( (comma_expression "pbVar4 = pbVar5, bVar3 != 0" (assignment_expression "pbVar4 = pbVar5" identifier = identifier) , (binary_expression "bVar3 != 0" identifier != number_literal)) )) (compound_statement "{\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      str = (char *)((byte *)str + 1);\n      bVar3 = *str;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    str = (char *)((byte *)str + 1);\n    bVar3 = *str;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }" { (while_statement "while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      str = (char *)((byte *)str + 1);\n      bVar3 = *str;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }" while (parenthesized_expression "(bVar3 != 10)" ( (binary_expression "bVar3 != 10" identifier != number_literal) )) (compound_statement "{\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      str = (char *)((byte *)str + 1);\n      bVar3 = *str;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }" { (if_statement "if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" if (parenthesized_expression "(bVar3 == 0xd)" ( (binary_expression "bVar3 == 0xd" identifier == number_literal) )) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }" { (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x72;" (assignment_expression "pbVar4[1] = 0x72" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" else (if_statement "if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" if (parenthesized_expression "(bVar3 == 9)" ( (binary_expression "bVar3 == 9" identifier == number_literal) )) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }" { (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x74;" (assignment_expression "pbVar4[1] = 0x74" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" else (if_statement "if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" if (parenthesized_expression "(bVar3 == 0x5c)" ( (binary_expression "bVar3 == 0x5c" identifier == number_literal) )) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }" { (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x5c;" (assignment_expression "pbVar4[1] = 0x5c" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" else (if_statement "if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" if (parenthesized_expression "(bVar3 == 0x22)" ( (binary_expression "bVar3 == 0x22" identifier == number_literal) )) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }" { (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x22;" (assignment_expression "pbVar4[1] = 0x22" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" else (compound_statement "{\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" { (expression_statement "ppuVar2 = __ctype_b_loc();" (assignment_expression "ppuVar2 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }" if (parenthesized_expression "((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40)" ( (binary_expression "*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40" (pointer_expression "*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar2 + (uint)bVar3 * 2 + 1)" ( (binary_expression "(int)*ppuVar2 + (uint)bVar3 * 2 + 1" (binary_expression "(int)*ppuVar2 + (uint)bVar3 * 2" (cast_expression "(int)*ppuVar2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar2" * identifier)) + (binary_expression "(uint)bVar3 * 2" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }" { (expression_statement "pbVar5 = pbVar4 + 4;" (assignment_expression "pbVar5 = pbVar4 + 4" identifier = (binary_expression "pbVar4 + 4" identifier + number_literal)) ;) (expression_statement "curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);" (call_expression "curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3)" identifier (argument_list "(pbVar4,5,"\\%03o",(uint)bVar3)" ( identifier , number_literal , (string_literal ""\\%03o"" " escape_sequence string_content ") , (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) }) (else_clause "else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }" else (compound_statement "{\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }" { (expression_statement "*pbVar4 = bVar3;" (assignment_expression "*pbVar4 = bVar3" (pointer_expression "*pbVar4" * identifier) = identifier) ;) (expression_statement "pbVar5 = pbVar4 + 1;" (assignment_expression "pbVar5 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }))) }))))))))) (expression_statement "str = (char *)((byte *)str + 1);" (assignment_expression "str = (char *)((byte *)str + 1)" identifier = (cast_expression "(char *)((byte *)str + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte *)str + 1)" ( (binary_expression "(byte *)str + 1" (cast_expression "(byte *)str" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) )))) ;) (expression_statement "bVar3 = *str;" (assignment_expression "bVar3 = *str" identifier = (pointer_expression "*str" * identifier)) ;) (expression_statement "pbVar4 = pbVar5;" (assignment_expression "pbVar4 = pbVar5" identifier = identifier) ;) (if_statement "if (bVar3 == 0) goto LAB_000250d2;" if (parenthesized_expression "(bVar3 == 0)" ( (binary_expression "bVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000250d2;" goto statement_identifier ;)) })) (expression_statement "str = (char *)((byte *)str + 1);" (assignment_expression "str = (char *)((byte *)str + 1)" identifier = (cast_expression "(char *)((byte *)str + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte *)str + 1)" ( (binary_expression "(byte *)str + 1" (cast_expression "(byte *)str" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) )))) ;) (expression_statement "bVar3 = *str;" (assignment_expression "bVar3 = *str" identifier = (pointer_expression "*str" * identifier)) ;) (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x6e;" (assignment_expression "pbVar4[1] = 0x6e" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) })) (labeled_statement "LAB_000250d2:\n  *pbVar5 = 0;" statement_identifier : (expression_statement "*pbVar5 = 0;" (assignment_expression "*pbVar5 = 0" (pointer_expression "*pbVar5" * identifier) = number_literal) ;)) (return_statement "return (char *)pbVar1;" return (cast_expression "(char *)pbVar1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ;) })))
(translation_unit "byte * __regparm3 FUN_00025000(byte *param_1,size_t param_2)\n\n{\n  byte *pbVar1;\n  ushort **ppuVar2;\n  byte bVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  \n  if (param_2 == 0xffffffff) {\n    param_2 = strlen((char *)param_1);\n  }\n  if ((0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)) {\n    return (byte *)0x0;\n  }\n  bVar3 = *param_1;\n  pbVar5 = pbVar1;\n  while (pbVar4 = pbVar5, bVar3 != 0) {\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    param_1 = param_1 + 1;\n    bVar3 = *param_1;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }\nLAB_000250d2:\n  *pbVar5 = 0;\n  return pbVar1;\n}\n\n" (ERROR "byte * __regparm3 FUN_00025000(byte *param_1,size_t param_2)" (binary_expression "byte * __regparm3 FUN_00025000(byte *param_1,size_t param_2)" identifier * (ERROR "__regparm3" identifier) (call_expression "FUN_00025000(byte *param_1,size_t param_2)" identifier (argument_list "(byte *param_1,size_t param_2)" ( (binary_expression "byte *param_1" identifier * identifier) , (ERROR "size_t" identifier) identifier ))))) (compound_statement "{\n  byte *pbVar1;\n  ushort **ppuVar2;\n  byte bVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  \n  if (param_2 == 0xffffffff) {\n    param_2 = strlen((char *)param_1);\n  }\n  if ((0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)) {\n    return (byte *)0x0;\n  }\n  bVar3 = *param_1;\n  pbVar5 = pbVar1;\n  while (pbVar4 = pbVar5, bVar3 != 0) {\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    param_1 = param_1 + 1;\n    bVar3 = *param_1;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }\nLAB_000250d2:\n  *pbVar5 = 0;\n  return pbVar1;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "ushort **ppuVar2;" type_identifier (pointer_declarator "**ppuVar2" * (pointer_declarator "*ppuVar2" * identifier)) ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (if_statement "if (param_2 == 0xffffffff) {\n    param_2 = strlen((char *)param_1);\n  }" if (parenthesized_expression "(param_2 == 0xffffffff)" ( (binary_expression "param_2 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n    param_2 = strlen((char *)param_1);\n  }" { (expression_statement "param_2 = strlen((char *)param_1);" (assignment_expression "param_2 = strlen((char *)param_1)" identifier = (call_expression "strlen((char *)param_1)" identifier (argument_list "((char *)param_1)" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) })) (if_statement "if ((0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)) {\n    return (byte *)0x0;\n  }" if (parenthesized_expression "((0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0))" ( (binary_expression "(0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)" (parenthesized_expression "(0x3fffffff < param_2)" ( (binary_expression "0x3fffffff < param_2" number_literal < identifier) )) || (parenthesized_expression "(pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)" ( (comma_expression "pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0" (assignment_expression "pbVar1 = (byte *)malloc(param_2 * 4 + 1)" identifier = (cast_expression "(byte *)malloc(param_2 * 4 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "malloc(param_2 * 4 + 1)" identifier (argument_list "(param_2 * 4 + 1)" ( (binary_expression "param_2 * 4 + 1" (binary_expression "param_2 * 4" identifier * number_literal) + number_literal) ))))) , (binary_expression "pbVar1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    return (byte *)0x0;\n  }" { (return_statement "return (byte *)0x0;" return (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "bVar3 = *param_1;" (assignment_expression "bVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pbVar5 = pbVar1;" (assignment_expression "pbVar5 = pbVar1" identifier = identifier) ;) (while_statement "while (pbVar4 = pbVar5, bVar3 != 0) {\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    param_1 = param_1 + 1;\n    bVar3 = *param_1;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }" while (parenthesized_expression "(pbVar4 = pbVar5, bVar3 != 0)" ( (comma_expression "pbVar4 = pbVar5, bVar3 != 0" (assignment_expression "pbVar4 = pbVar5" identifier = identifier) , (binary_expression "bVar3 != 0" identifier != number_literal)) )) (compound_statement "{\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    param_1 = param_1 + 1;\n    bVar3 = *param_1;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }" { (while_statement "while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }" while (parenthesized_expression "(bVar3 != 10)" ( (binary_expression "bVar3 != 10" identifier != number_literal) )) (compound_statement "{\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }" { (if_statement "if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" if (parenthesized_expression "(bVar3 == 0xd)" ( (binary_expression "bVar3 == 0xd" identifier == number_literal) )) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }" { (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x72;" (assignment_expression "pbVar4[1] = 0x72" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" else (if_statement "if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" if (parenthesized_expression "(bVar3 == 9)" ( (binary_expression "bVar3 == 9" identifier == number_literal) )) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }" { (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x74;" (assignment_expression "pbVar4[1] = 0x74" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" else (if_statement "if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" if (parenthesized_expression "(bVar3 == 0x5c)" ( (binary_expression "bVar3 == 0x5c" identifier == number_literal) )) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }" { (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x5c;" (assignment_expression "pbVar4[1] = 0x5c" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" else (if_statement "if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" if (parenthesized_expression "(bVar3 == 0x22)" ( (binary_expression "bVar3 == 0x22" identifier == number_literal) )) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }" { (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x22;" (assignment_expression "pbVar4[1] = 0x22" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" else (compound_statement "{\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" { (expression_statement "ppuVar2 = __ctype_b_loc();" (assignment_expression "ppuVar2 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }" if (parenthesized_expression "((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40)" ( (binary_expression "*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40" (pointer_expression "*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar2 + (uint)bVar3 * 2 + 1)" ( (binary_expression "(int)*ppuVar2 + (uint)bVar3 * 2 + 1" (binary_expression "(int)*ppuVar2 + (uint)bVar3 * 2" (cast_expression "(int)*ppuVar2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar2" * identifier)) + (binary_expression "(uint)bVar3 * 2" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }" { (expression_statement "pbVar5 = pbVar4 + 4;" (assignment_expression "pbVar5 = pbVar4 + 4" identifier = (binary_expression "pbVar4 + 4" identifier + number_literal)) ;) (expression_statement "curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);" (call_expression "curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3)" identifier (argument_list "(pbVar4,5,"\\%03o",(uint)bVar3)" ( identifier , number_literal , (string_literal ""\\%03o"" " escape_sequence string_content ") , (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) }) (else_clause "else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }" else (compound_statement "{\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }" { (expression_statement "*pbVar4 = bVar3;" (assignment_expression "*pbVar4 = bVar3" (pointer_expression "*pbVar4" * identifier) = identifier) ;) (expression_statement "pbVar5 = pbVar4 + 1;" (assignment_expression "pbVar5 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) }))) }))))))))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "bVar3 = *param_1;" (assignment_expression "bVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pbVar4 = pbVar5;" (assignment_expression "pbVar4 = pbVar5" identifier = identifier) ;) (if_statement "if (bVar3 == 0) goto LAB_000250d2;" if (parenthesized_expression "(bVar3 == 0)" ( (binary_expression "bVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000250d2;" goto statement_identifier ;)) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "bVar3 = *param_1;" (assignment_expression "bVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar4[1] = 0x6e;" (assignment_expression "pbVar4[1] = 0x6e" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" identifier = (binary_expression "pbVar4 + 2" identifier + number_literal)) ;) })) (labeled_statement "LAB_000250d2:\n  *pbVar5 = 0;" statement_identifier : (expression_statement "*pbVar5 = 0;" (assignment_expression "*pbVar5 = 0" (pointer_expression "*pbVar5" * identifier) = number_literal) ;)) (return_statement "return pbVar1;" return identifier ;) }))
(translation_unit (ERROR (binary_expression IDENT * (ERROR IDENT) (call_expression IDENT (argument_list ( (binary_expression IDENT * IDENT) , (ERROR IDENT) IDENT ))))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression (binary_expression IDENT * LIT) + LIT) ))))) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) )) (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (string_literal " escape_sequence string_content ") , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) }))))))))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (return_statement return IDENT ;) }))
(ERROR "byte * __regparm3 FUN_00025000(byte *param_1,size_t param_2)" (binary_expression "byte * __regparm3 FUN_00025000(byte *param_1,size_t param_2)" (identifier "byte") (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (call_expression "FUN_00025000(byte *param_1,size_t param_2)" (identifier "FUN_00025000") (argument_list "(byte *param_1,size_t param_2)" (( "(") (binary_expression "byte *param_1" (identifier "byte") (* "*") (identifier "param_1")) (, ",") (ERROR "size_t" (identifier "size_t")) (identifier "param_2") () ")"))))) (compound_statement "{\n  byte *pbVar1;\n  ushort **ppuVar2;\n  byte bVar3;\n  byte *pbVar4;\n  byte *pbVar5;\n  \n  if (param_2 == 0xffffffff) {\n    param_2 = strlen((char *)param_1);\n  }\n  if ((0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)) {\n    return (byte *)0x0;\n  }\n  bVar3 = *param_1;\n  pbVar5 = pbVar1;\n  while (pbVar4 = pbVar5, bVar3 != 0) {\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    param_1 = param_1 + 1;\n    bVar3 = *param_1;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }\nLAB_000250d2:\n  *pbVar5 = 0;\n  return pbVar1;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "ushort **ppuVar2;" (type_identifier "ushort") (pointer_declarator "**ppuVar2" (* "*") (pointer_declarator "*ppuVar2" (* "*") (identifier "ppuVar2"))) (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (if_statement "if (param_2 == 0xffffffff) {\n    param_2 = strlen((char *)param_1);\n  }" (if "if") (parenthesized_expression "(param_2 == 0xffffffff)" (( "(") (binary_expression "param_2 == 0xffffffff" (identifier "param_2") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n    param_2 = strlen((char *)param_1);\n  }" ({ "{") (expression_statement "param_2 = strlen((char *)param_1);" (assignment_expression "param_2 = strlen((char *)param_1)" (identifier "param_2") (= "=") (call_expression "strlen((char *)param_1)" (identifier "strlen") (argument_list "((char *)param_1)" (( "(") (cast_expression "(char *)param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")) () ")")))) (; ";")) (} "}"))) (if_statement "if ((0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)) {\n    return (byte *)0x0;\n  }" (if "if") (parenthesized_expression "((0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0))" (( "(") (binary_expression "(0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)" (parenthesized_expression "(0x3fffffff < param_2)" (( "(") (binary_expression "0x3fffffff < param_2" (number_literal "0x3fffffff") (< "<") (identifier "param_2")) () ")")) (|| "||") (parenthesized_expression "(pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)" (( "(") (comma_expression "pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0" (assignment_expression "pbVar1 = (byte *)malloc(param_2 * 4 + 1)" (identifier "pbVar1") (= "=") (cast_expression "(byte *)malloc(param_2 * 4 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "malloc(param_2 * 4 + 1)" (identifier "malloc") (argument_list "(param_2 * 4 + 1)" (( "(") (binary_expression "param_2 * 4 + 1" (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4")) (+ "+") (number_literal "1")) () ")"))))) (, ",") (binary_expression "pbVar1 == (byte *)0x0" (identifier "pbVar1") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")"))) () ")")) (compound_statement "{\n    return (byte *)0x0;\n  }" ({ "{") (return_statement "return (byte *)0x0;" (return "return") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (expression_statement "bVar3 = *param_1;" (assignment_expression "bVar3 = *param_1" (identifier "bVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "pbVar5 = pbVar1;" (assignment_expression "pbVar5 = pbVar1" (identifier "pbVar5") (= "=") (identifier "pbVar1")) (; ";")) (while_statement "while (pbVar4 = pbVar5, bVar3 != 0) {\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    param_1 = param_1 + 1;\n    bVar3 = *param_1;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }" (while "while") (parenthesized_expression "(pbVar4 = pbVar5, bVar3 != 0)" (( "(") (comma_expression "pbVar4 = pbVar5, bVar3 != 0" (assignment_expression "pbVar4 = pbVar5" (identifier "pbVar4") (= "=") (identifier "pbVar5")) (, ",") (binary_expression "bVar3 != 0" (identifier "bVar3") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n    while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }\n    param_1 = param_1 + 1;\n    bVar3 = *param_1;\n    pbVar4[2] = 0;\n    pbVar4[0] = 0x5c;\n    pbVar4[1] = 0x6e;\n    pbVar5 = pbVar4 + 2;\n  }" ({ "{") (while_statement "while (bVar3 != 10) {\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }" (while "while") (parenthesized_expression "(bVar3 != 10)" (( "(") (binary_expression "bVar3 != 10" (identifier "bVar3") (!= "!=") (number_literal "10")) () ")")) (compound_statement "{\n      if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }\n      param_1 = param_1 + 1;\n      bVar3 = *param_1;\n      pbVar4 = pbVar5;\n      if (bVar3 == 0) goto LAB_000250d2;\n    }" ({ "{") (if_statement "if (bVar3 == 0xd) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }\n      else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" (if "if") (parenthesized_expression "(bVar3 == 0xd)" (( "(") (binary_expression "bVar3 == 0xd" (identifier "bVar3") (== "==") (number_literal "0xd")) () ")")) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x72;\n      }" ({ "{") (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" (identifier "pbVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" (identifier "pbVar5") (= "=") (binary_expression "pbVar4 + 2" (identifier "pbVar4") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" (identifier "pbVar4") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0x5c")) (; ";")) (expression_statement "pbVar4[1] = 0x72;" (assignment_expression "pbVar4[1] = 0x72" (subscript_expression "pbVar4[1]" (identifier "pbVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0x72")) (; ";")) (} "}")) (else_clause "else if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" (else "else") (if_statement "if (bVar3 == 9) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }\n      else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" (if "if") (parenthesized_expression "(bVar3 == 9)" (( "(") (binary_expression "bVar3 == 9" (identifier "bVar3") (== "==") (number_literal "9")) () ")")) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x74;\n      }" ({ "{") (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" (identifier "pbVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" (identifier "pbVar5") (= "=") (binary_expression "pbVar4 + 2" (identifier "pbVar4") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" (identifier "pbVar4") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0x5c")) (; ";")) (expression_statement "pbVar4[1] = 0x74;" (assignment_expression "pbVar4[1] = 0x74" (subscript_expression "pbVar4[1]" (identifier "pbVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0x74")) (; ";")) (} "}")) (else_clause "else if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" (else "else") (if_statement "if (bVar3 == 0x5c) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }\n      else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" (if "if") (parenthesized_expression "(bVar3 == 0x5c)" (( "(") (binary_expression "bVar3 == 0x5c" (identifier "bVar3") (== "==") (number_literal "0x5c")) () ")")) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x5c;\n      }" ({ "{") (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" (identifier "pbVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" (identifier "pbVar5") (= "=") (binary_expression "pbVar4 + 2" (identifier "pbVar4") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" (identifier "pbVar4") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0x5c")) (; ";")) (expression_statement "pbVar4[1] = 0x5c;" (assignment_expression "pbVar4[1] = 0x5c" (subscript_expression "pbVar4[1]" (identifier "pbVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0x5c")) (; ";")) (} "}")) (else_clause "else if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" (else "else") (if_statement "if (bVar3 == 0x22) {\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }\n      else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" (if "if") (parenthesized_expression "(bVar3 == 0x22)" (( "(") (binary_expression "bVar3 == 0x22" (identifier "bVar3") (== "==") (number_literal "0x22")) () ")")) (compound_statement "{\n        pbVar4[2] = 0;\n        pbVar5 = pbVar4 + 2;\n        pbVar4[0] = 0x5c;\n        pbVar4[1] = 0x22;\n      }" ({ "{") (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" (identifier "pbVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" (identifier "pbVar5") (= "=") (binary_expression "pbVar4 + 2" (identifier "pbVar4") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" (identifier "pbVar4") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0x5c")) (; ";")) (expression_statement "pbVar4[1] = 0x22;" (assignment_expression "pbVar4[1] = 0x22" (subscript_expression "pbVar4[1]" (identifier "pbVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0x22")) (; ";")) (} "}")) (else_clause "else {\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" (else "else") (compound_statement "{\n        ppuVar2 = __ctype_b_loc();\n        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }\n      }" ({ "{") (expression_statement "ppuVar2 = __ctype_b_loc();" (assignment_expression "ppuVar2 = __ctype_b_loc()" (identifier "ppuVar2") (= "=") (call_expression "__ctype_b_loc()" (identifier "__ctype_b_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }\n        else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }" (if "if") (parenthesized_expression "((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0)" (( "(") (binary_expression "(*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40)" (( "(") (binary_expression "*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40" (pointer_expression "*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)*ppuVar2 + (uint)bVar3 * 2 + 1)" (( "(") (binary_expression "(int)*ppuVar2 + (uint)bVar3 * 2 + 1" (binary_expression "(int)*ppuVar2 + (uint)bVar3 * 2" (cast_expression "(int)*ppuVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*ppuVar2" (* "*") (identifier "ppuVar2"))) (+ "+") (binary_expression "(uint)bVar3 * 2" (cast_expression "(uint)bVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar3")) (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          pbVar5 = pbVar4 + 4;\n          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);\n        }" ({ "{") (expression_statement "pbVar5 = pbVar4 + 4;" (assignment_expression "pbVar5 = pbVar4 + 4" (identifier "pbVar5") (= "=") (binary_expression "pbVar4 + 4" (identifier "pbVar4") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);" (call_expression "curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3)" (identifier "curl_msnprintf") (argument_list "(pbVar4,5,"\\%03o",(uint)bVar3)" (( "(") (identifier "pbVar4") (, ",") (number_literal "5") (, ",") (string_literal ""\\%03o"" (" """) (escape_sequence "\\") (string_content "%03o") (" """)) (, ",") (cast_expression "(uint)bVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar3")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }" (else "else") (compound_statement "{\n          *pbVar4 = bVar3;\n          pbVar5 = pbVar4 + 1;\n        }" ({ "{") (expression_statement "*pbVar4 = bVar3;" (assignment_expression "*pbVar4 = bVar3" (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")) (= "=") (identifier "bVar3")) (; ";")) (expression_statement "pbVar5 = pbVar4 + 1;" (assignment_expression "pbVar5 = pbVar4 + 1" (identifier "pbVar5") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}")))))))))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar3 = *param_1;" (assignment_expression "bVar3 = *param_1" (identifier "bVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "pbVar4 = pbVar5;" (assignment_expression "pbVar4 = pbVar5" (identifier "pbVar4") (= "=") (identifier "pbVar5")) (; ";")) (if_statement "if (bVar3 == 0) goto LAB_000250d2;" (if "if") (parenthesized_expression "(bVar3 == 0)" (( "(") (binary_expression "bVar3 == 0" (identifier "bVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000250d2;" (goto "goto") (statement_identifier "LAB_000250d2") (; ";"))) (} "}"))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar3 = *param_1;" (assignment_expression "bVar3 = *param_1" (identifier "bVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "pbVar4[2] = 0;" (assignment_expression "pbVar4[2] = 0" (subscript_expression "pbVar4[2]" (identifier "pbVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar4[0] = 0x5c;" (assignment_expression "pbVar4[0] = 0x5c" (subscript_expression "pbVar4[0]" (identifier "pbVar4") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0x5c")) (; ";")) (expression_statement "pbVar4[1] = 0x6e;" (assignment_expression "pbVar4[1] = 0x6e" (subscript_expression "pbVar4[1]" (identifier "pbVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0x6e")) (; ";")) (expression_statement "pbVar5 = pbVar4 + 2;" (assignment_expression "pbVar5 = pbVar4 + 2" (identifier "pbVar5") (= "=") (binary_expression "pbVar4 + 2" (identifier "pbVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (labeled_statement "LAB_000250d2:\n  *pbVar5 = 0;" (statement_identifier "LAB_000250d2") (: ":") (expression_statement "*pbVar5 = 0;" (assignment_expression "*pbVar5 = 0" (pointer_expression "*pbVar5" (* "*") (identifier "pbVar5")) (= "=") (number_literal "0")) (; ";"))) (return_statement "return pbVar1;" (return "return") (identifier "pbVar1") (; ";")) (} "}"))

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

char * __regparm3 function_1(char *str,size_t var_1)

{
  type_1 *var_4;
  type_2 **ppuVar2;
  type_1 var_5;
  type_1 *var_6;
  type_1 *pbVar5;
  
  if (var_1 == 0xffffffff) {
    var_1 = var_2(str);
  }
  if ((0x3fffffff < var_1) || (var_4 = (type_1 *)var_3(var_1 * 4 + 1), var_4 == (type_1 *)0x0)) {
    return (char *)0x0;
  }
  var_5 = *str;
  pbVar5 = var_4;
  while (var_6 = pbVar5, var_5 != 0) {
    while (var_5 != 10) {
      if (var_5 == 0xd) {
        var_6[2] = 0;
        pbVar5 = var_6 + 2;
        var_6[0] = 0x5c;
        var_6[1] = 0x72;
      }
      else if (var_5 == 9) {
        var_6[2] = 0;
        pbVar5 = var_6 + 2;
        var_6[0] = 0x5c;
        var_6[1] = 0x74;
      }
      else if (var_5 == 0x5c) {
        var_6[2] = 0;
        pbVar5 = var_6 + 2;
        var_6[0] = 0x5c;
        var_6[1] = 0x5c;
      }
      else if (var_5 == 0x22) {
        var_6[2] = 0;
        pbVar5 = var_6 + 2;
        var_6[0] = 0x5c;
        var_6[1] = 0x22;
      }
      else {
        ppuVar2 = var_7();
        if ((*(type_1 *)((int)*ppuVar2 + (type_3)var_5 * 2 + 1) & 0x40) == 0) {
          pbVar5 = var_6 + 4;
          var_8(var_6,5,"\\%03o",(type_3)var_5);
        }
        else {
          *var_6 = var_5;
          pbVar5 = var_6 + 1;
        }
      }
      str = (char *)((type_1 *)str + 1);
      var_5 = *str;
      var_6 = pbVar5;
      if (var_5 == 0) goto LAB_000250d2;
    }
    str = (char *)((type_1 *)str + 1);
    var_5 = *str;
    var_6[2] = 0;
    var_6[0] = 0x5c;
    var_6[1] = 0x6e;
    pbVar5 = var_6 + 2;
  }
LAB_000250d2:
  *pbVar5 = 0;
  return (char *)var_4;
}


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

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

byte * __regparm3 MASKED(byte *param_1,size_t param_2)

{
  byte *pbVar1;
  ushort **ppuVar2;
  byte bVar3;
  byte *pbVar4;
  byte *pbVar5;
  
  if (param_2 == 0xffffffff) {
    param_2 = strlen((char *)param_1);
  }
  if ((0x3fffffff < param_2) || (pbVar1 = (byte *)malloc(param_2 * 4 + 1), pbVar1 == (byte *)0x0)) {
    return (byte *)0x0;
  }
  bVar3 = *param_1;
  pbVar5 = pbVar1;
  while (pbVar4 = pbVar5, bVar3 != 0) {
    while (bVar3 != 10) {
      if (bVar3 == 0xd) {
        pbVar4[2] = 0;
        pbVar5 = pbVar4 + 2;
        pbVar4[0] = 0x5c;
        pbVar4[1] = 0x72;
      }
      else if (bVar3 == 9) {
        pbVar4[2] = 0;
        pbVar5 = pbVar4 + 2;
        pbVar4[0] = 0x5c;
        pbVar4[1] = 0x74;
      }
      else if (bVar3 == 0x5c) {
        pbVar4[2] = 0;
        pbVar5 = pbVar4 + 2;
        pbVar4[0] = 0x5c;
        pbVar4[1] = 0x5c;
      }
      else if (bVar3 == 0x22) {
        pbVar4[2] = 0;
        pbVar5 = pbVar4 + 2;
        pbVar4[0] = 0x5c;
        pbVar4[1] = 0x22;
      }
      else {
        ppuVar2 = __ctype_b_loc();
        if ((*(byte *)((int)*ppuVar2 + (uint)bVar3 * 2 + 1) & 0x40) == 0) {
          pbVar5 = pbVar4 + 4;
          curl_msnprintf(pbVar4,5,"\\%03o",(uint)bVar3);
        }
        else {
          *pbVar4 = bVar3;
          pbVar5 = pbVar4 + 1;
        }
      }
      param_1 = param_1 + 1;
      bVar3 = *param_1;
      pbVar4 = pbVar5;
      if (bVar3 == 0) goto LAB_000250d2;
    }
    param_1 = param_1 + 1;
    bVar3 = *param_1;
    pbVar4[2] = 0;
    pbVar4[0] = 0x5c;
    pbVar4[1] = 0x6e;
    pbVar5 = pbVar4 + 2;
  }
LAB_000250d2:
  *pbVar5 = 0;
  return pbVar1;
}

