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

void __regparm3 request_set_user_header(request *req,char *header)

{
  int iVar1;
  int iVar2;
  request *req_00;
  char *pcVar3;
  byte bVar4;
  char *pcVar5;
  undefined1 *puVar6;
  int in_GS_OFFSET;
  size_t sStackY_50;
  undefined1 auStack_3c [8];
  char *local_34;
  request *local_30 [4];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x335db;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  sStackY_50 = 0x335fd;
  local_34 = header;
  local_30[0] = req;
  pcVar3 = strchr(header,0x3a);
  pcVar5 = local_34;
  puVar6 = auStack_3c;
  if (pcVar3 != (char *)0x0) {
    local_34 = (char *)((int)pcVar3 - (int)local_34);
    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);
    iVar1 = (int)local_30 + iVar2;
    *(char **)(&stack0xffffffbc + iVar2) = local_34;
    *(char **)((int)local_30 + iVar2 + -0x18) = pcVar5;
    *(int *)((int)local_30 + iVar2 + -0x1c) = iVar1;
    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;
    memcpy(*(void **)((int)local_30 + iVar2 + -0x1c),*(void **)((int)local_30 + iVar2 + -0x18),
           *(size_t *)(&stack0xffffffbc + iVar2));
    pcVar5 = pcVar3 + 1;
    *(undefined1 *)(iVar1 + (int)local_34) = 0;
    if ((int)pcVar3[1] - 9U < 0x18) {
      bVar4 = (byte)((int)pcVar3[1] - 9U);
      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {
        pcVar5 = pcVar5 + 1;
        if (0x17 < (int)*pcVar5 - 9U) break;
        bVar4 = (byte)((int)*pcVar5 - 9U);
      }
    }
    local_34 = pcVar5;
    *(int *)((int)local_30 + iVar2 + -0x1c) = iVar1;
    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;
    pcVar3 = xstrdup(*(char **)((int)local_30 + iVar2 + -0x1c));
    pcVar5 = local_34;
    *(undefined4 *)((int)local_30 + iVar2 + -0x1c) = 1;
    req_00 = local_30[0];
    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;
    request_set_header(req_00,pcVar3,pcVar5,*(rp *)((int)local_30 + iVar2 + -0x1c));
    puVar6 = auStack_3c + iVar2;
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(undefined **)(puVar6 + -4) = &UNK_000336b6;
  __stack_chk_fail_local();
}



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

void __regparm3 FUN_000335d0(undefined4 param_1,char *param_2)

{
  undefined1 *puVar1;
  int iVar2;
  char *pcVar3;
  byte bVar4;
  char *pcVar5;
  undefined1 *puVar6;
  int in_GS_OFFSET;
  size_t sStackY_50;
  undefined1 auStack_3c [8];
  char *local_34;
  undefined1 local_30 [16];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x335db;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  sStackY_50 = 0x335fd;
  local_34 = param_2;
  pcVar3 = strchr(param_2,0x3a);
  pcVar5 = local_34;
  puVar6 = auStack_3c;
  if (pcVar3 != (char *)0x0) {
    local_34 = (char *)((int)pcVar3 - (int)local_34);
    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);
    puVar1 = local_30 + iVar2;
    *(char **)(&stack0xffffffbc + iVar2) = local_34;
    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;
    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;
    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;
    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),
           *(size_t *)(&stack0xffffffbc + iVar2));
    pcVar5 = pcVar3 + 1;
    puVar1[(int)local_34] = 0;
    if ((int)pcVar3[1] - 9U < 0x18) {
      bVar4 = (byte)((int)pcVar3[1] - 9U);
      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {
        pcVar5 = pcVar5 + 1;
        if (0x17 < (int)*pcVar5 - 9U) break;
        bVar4 = (byte)((int)*pcVar5 - 9U);
      }
    }
    local_34 = pcVar5;
    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;
    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;
    FUN_00063020();
    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;
    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;
    FUN_00032b00();
    puVar6 = auStack_3c + iVar2;
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(undefined **)(puVar6 + -4) = &UNK_000336b6;
  FUN_0007ad20();
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000190b0
ADD EBX,0x7b5f5
SUB ESP,0x34
MOV dword ptr [EBP + -0x2c],EAX
MOV EAX,GS:[0x14]
MOV dword ptr [EBP + -0x1c],EAX
XOR EAX,EAX
PUSH 0x3a
PUSH EDX
MOV dword ptr [EBP + -0x30],EDX
CALL 0x00016370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00033668
MOV EDX,dword ptr [EBP + -0x30]
MOV ECX,EAX
MOV EDI,EAX
SUB ECX,EDX
LEA EAX,[ECX + 0x1c]
MOV dword ptr [EBP + -0x30],ECX
AND EAX,0xfffffff0
SUB ESP,EAX
LEA ESI,[ESP + 0xf]
SUB ESP,0x4
AND ESI,0xfffffff0
PUSH ECX
PUSH EDX
PUSH ESI
CALL 0x000168a0
MOV ECX,dword ptr [EBP + -0x30]
LEA EDX,[EDI + 0x1]
ADD ESP,0x10
MOV byte ptr [ESI + ECX*0x1],0x0
MOVSX ECX,byte ptr [EDI + 0x1]
SUB ECX,0x9
CMP ECX,0x17
JBE 0x00033680
SUB ESP,0xc
MOV dword ptr [EBP + -0x30],EDX
PUSH ESI
CALL 0x00063020
MOV EDX,dword ptr [EBP + -0x30]
MOV dword ptr [ESP],0x1
MOV ECX,EDX
MOV EDX,EAX
MOV EAX,dword ptr [EBP + -0x2c]
CALL 0x00032b00
ADD ESP,0x10
MOV EAX,dword ptr [EBP + -0x1c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x000336b1
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,0x1
SHL EAX,CL
TEST EAX,0x80001f
JZ 0x00033643
MOV EAX,0x1
ADD EDX,0x1
MOVSX ECX,byte ptr [EDX]
SUB ECX,0x9
CMP ECX,0x17
JA 0x00033643
MOV EDI,EAX
SHL EDI,CL
MOV ECX,EDI
AND ECX,0x80001f
JZ 0x00033643
JMP 0x00033693
CALL 0x0007ad20
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000335d0(undefined4 param_1,char *param_2)\n\n{\n  undefined1 *puVar1;\n  int iVar2;\n  char *pcVar3;\n  byte bVar4;\n  char *pcVar5;\n  undefined1 *puVar6;\n  int in_GS_OFFSET;\n  size_t sStackY_50;\n  undefined1 auStack_3c [8];\n  char *local_34;\n  undefined1 local_30 [16];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x335db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  sStackY_50 = 0x335fd;\n  local_34 = param_2;\n  pcVar3 = strchr(param_2,0x3a);\n  pcVar5 = local_34;\n  puVar6 = auStack_3c;\n  if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    puVar1 = local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    puVar1[(int)local_34] = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    FUN_00063020();\n    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    FUN_00032b00();\n    puVar6 = auStack_3c + iVar2;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar6 + -4) = &UNK_000336b6;\n  FUN_0007ad20();\n}\n\n" comment (function_definition "void __regparm3 FUN_000335d0(undefined4 param_1,char *param_2)\n\n{\n  undefined1 *puVar1;\n  int iVar2;\n  char *pcVar3;\n  byte bVar4;\n  char *pcVar5;\n  undefined1 *puVar6;\n  int in_GS_OFFSET;\n  size_t sStackY_50;\n  undefined1 auStack_3c [8];\n  char *local_34;\n  undefined1 local_30 [16];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x335db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  sStackY_50 = 0x335fd;\n  local_34 = param_2;\n  pcVar3 = strchr(param_2,0x3a);\n  pcVar5 = local_34;\n  puVar6 = auStack_3c;\n  if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    puVar1 = local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    puVar1[(int)local_34] = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    FUN_00063020();\n    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    FUN_00032b00();\n    puVar6 = auStack_3c + iVar2;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar6 + -4) = &UNK_000336b6;\n  FUN_0007ad20();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000335d0(undefined4 param_1,char *param_2)" identifier (parameter_list "(undefined4 param_1,char *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined1 *puVar1;\n  int iVar2;\n  char *pcVar3;\n  byte bVar4;\n  char *pcVar5;\n  undefined1 *puVar6;\n  int in_GS_OFFSET;\n  size_t sStackY_50;\n  undefined1 auStack_3c [8];\n  char *local_34;\n  undefined1 local_30 [16];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x335db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  sStackY_50 = 0x335fd;\n  local_34 = param_2;\n  pcVar3 = strchr(param_2,0x3a);\n  pcVar5 = local_34;\n  puVar6 = auStack_3c;\n  if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    puVar1 = local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    puVar1[(int)local_34] = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    FUN_00063020();\n    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    FUN_00032b00();\n    puVar6 = auStack_3c + iVar2;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar6 + -4) = &UNK_000336b6;\n  FUN_0007ad20();\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "size_t sStackY_50;" primitive_type identifier ;) (declaration "undefined1 auStack_3c [8];" type_identifier (array_declarator "auStack_3c [8]" identifier [ number_literal ]) ;) (declaration "char *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "undefined1 local_30 [16];" type_identifier (array_declarator "local_30 [16]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x335db;" (assignment_expression "uStack_14 = 0x335db" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "sStackY_50 = 0x335fd;" (assignment_expression "sStackY_50 = 0x335fd" identifier = number_literal) ;) (expression_statement "local_34 = param_2;" (assignment_expression "local_34 = param_2" identifier = identifier) ;) (expression_statement "pcVar3 = strchr(param_2,0x3a);" (assignment_expression "pcVar3 = strchr(param_2,0x3a)" identifier = (call_expression "strchr(param_2,0x3a)" identifier (argument_list "(param_2,0x3a)" ( identifier , number_literal )))) ;) (expression_statement "pcVar5 = local_34;" (assignment_expression "pcVar5 = local_34" identifier = identifier) ;) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" identifier = identifier) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    puVar1 = local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    puVar1[(int)local_34] = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    FUN_00063020();\n    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    FUN_00032b00();\n    puVar6 = auStack_3c + iVar2;\n  }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    puVar1 = local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    puVar1[(int)local_34] = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    FUN_00063020();\n    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    FUN_00032b00();\n    puVar6 = auStack_3c + iVar2;\n  }" { (expression_statement "local_34 = (char *)((int)pcVar3 - (int)local_34);" (assignment_expression "local_34 = (char *)((int)pcVar3 - (int)local_34)" identifier = (cast_expression "(char *)((int)pcVar3 - (int)local_34)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar3 - (int)local_34)" ( (binary_expression "(int)pcVar3 - (int)local_34" (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);" (assignment_expression "iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0)" identifier = (unary_expression "-((int)local_34 + 0x1cU & 0xfffffff0)" - (parenthesized_expression "((int)local_34 + 0x1cU & 0xfffffff0)" ( (binary_expression "(int)local_34 + 0x1cU & 0xfffffff0" (binary_expression "(int)local_34 + 0x1cU" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) & number_literal) )))) ;) (expression_statement "puVar1 = local_30 + iVar2;" (assignment_expression "puVar1 = local_30 + iVar2" identifier = (binary_expression "local_30 + iVar2" identifier + identifier)) ;) (expression_statement "*(char **)(&stack0xffffffbc + iVar2) = local_34;" (assignment_expression "*(char **)(&stack0xffffffbc + iVar2) = local_34" (pointer_expression "*(char **)(&stack0xffffffbc + iVar2)" * (cast_expression "(char **)(&stack0xffffffbc + iVar2)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&stack0xffffffbc + iVar2)" ( (binary_expression "&stack0xffffffbc + iVar2" (pointer_expression "&stack0xffffffbc" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(char **)(local_30 + iVar2 + -0x18) = pcVar5;" (assignment_expression "*(char **)(local_30 + iVar2 + -0x18) = pcVar5" (pointer_expression "*(char **)(local_30 + iVar2 + -0x18)" * (cast_expression "(char **)(local_30 + iVar2 + -0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_30 + iVar2 + -0x18)" ( (binary_expression "local_30 + iVar2 + -0x18" (binary_expression "local_30 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;" (assignment_expression "*(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1" (pointer_expression "*(undefined1 **)(local_30 + iVar2 + -0x1c)" * (cast_expression "(undefined1 **)(local_30 + iVar2 + -0x1c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_30 + iVar2 + -0x1c)" ( (binary_expression "local_30 + iVar2 + -0x1c" (binary_expression "local_30 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;" (assignment_expression "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a" (pointer_expression "*(undefined4 *)((int)&sStackY_50 + iVar2)" * (cast_expression "(undefined4 *)((int)&sStackY_50 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sStackY_50 + iVar2)" ( (binary_expression "(int)&sStackY_50 + iVar2" (cast_expression "(int)&sStackY_50" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sStackY_50" & identifier)) + identifier) )))) = number_literal) ;) (expression_statement "memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));" (call_expression "memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2))" identifier (argument_list "(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2))" ( (pointer_expression "*(void **)(local_30 + iVar2 + -0x1c)" * (cast_expression "(void **)(local_30 + iVar2 + -0x1c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_30 + iVar2 + -0x1c)" ( (binary_expression "local_30 + iVar2 + -0x1c" (binary_expression "local_30 + iVar2" identifier + identifier) + number_literal) )))) , (pointer_expression "*(void **)(local_30 + iVar2 + -0x18)" * (cast_expression "(void **)(local_30 + iVar2 + -0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_30 + iVar2 + -0x18)" ( (binary_expression "local_30 + iVar2 + -0x18" (binary_expression "local_30 + iVar2" identifier + identifier) + number_literal) )))) , (pointer_expression "*(size_t *)(&stack0xffffffbc + iVar2)" * (cast_expression "(size_t *)(&stack0xffffffbc + iVar2)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&stack0xffffffbc + iVar2)" ( (binary_expression "&stack0xffffffbc + iVar2" (pointer_expression "&stack0xffffffbc" & identifier) + identifier) )))) ))) ;) (expression_statement "pcVar5 = pcVar3 + 1;" (assignment_expression "pcVar5 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "puVar1[(int)local_34] = 0;" (assignment_expression "puVar1[(int)local_34] = 0" (subscript_expression "puVar1[(int)local_34]" identifier [ (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) ]) = number_literal) ;) (if_statement "if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }" if (parenthesized_expression "((int)pcVar3[1] - 9U < 0x18)" ( (binary_expression "(int)pcVar3[1] - 9U < 0x18" (binary_expression "(int)pcVar3[1] - 9U" (cast_expression "(int)pcVar3[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar3[1]" identifier [ number_literal ])) - number_literal) < number_literal) )) (compound_statement "{\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }" { (expression_statement "bVar4 = (byte)((int)pcVar3[1] - 9U);" (assignment_expression "bVar4 = (byte)((int)pcVar3[1] - 9U)" identifier = (call_expression "(byte)((int)pcVar3[1] - 9U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((int)pcVar3[1] - 9U)" ( (binary_expression "(int)pcVar3[1] - 9U" (cast_expression "(int)pcVar3[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar3[1]" identifier [ number_literal ])) - number_literal) )))) ;) (while_statement "while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }" while (parenthesized_expression "((1 << (bVar4 & 0x1f) & 0x80001fU) != 0)" ( (binary_expression "(1 << (bVar4 & 0x1f) & 0x80001fU) != 0" (parenthesized_expression "(1 << (bVar4 & 0x1f) & 0x80001fU)" ( (binary_expression "1 << (bVar4 & 0x1f) & 0x80001fU" (binary_expression "1 << (bVar4 & 0x1f)" number_literal << (parenthesized_expression "(bVar4 & 0x1f)" ( (binary_expression "bVar4 & 0x1f" identifier & number_literal) ))) & number_literal) )) != number_literal) )) (compound_statement "{\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }" { (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (if_statement "if (0x17 < (int)*pcVar5 - 9U) break;" if (parenthesized_expression "(0x17 < (int)*pcVar5 - 9U)" ( (binary_expression "0x17 < (int)*pcVar5 - 9U" number_literal < (binary_expression "(int)*pcVar5 - 9U" (cast_expression "(int)*pcVar5" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar5" * identifier)) - number_literal)) )) (break_statement "break;" break ;)) (expression_statement "bVar4 = (byte)((int)*pcVar5 - 9U);" (assignment_expression "bVar4 = (byte)((int)*pcVar5 - 9U)" identifier = (call_expression "(byte)((int)*pcVar5 - 9U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((int)*pcVar5 - 9U)" ( (binary_expression "(int)*pcVar5 - 9U" (cast_expression "(int)*pcVar5" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar5" * identifier)) - number_literal) )))) ;) })) })) (expression_statement "local_34 = pcVar5;" (assignment_expression "local_34 = pcVar5" identifier = identifier) ;) (expression_statement "*(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;" (assignment_expression "*(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1" (pointer_expression "*(undefined1 **)(local_30 + iVar2 + -0x1c)" * (cast_expression "(undefined1 **)(local_30 + iVar2 + -0x1c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_30 + iVar2 + -0x1c)" ( (binary_expression "local_30 + iVar2 + -0x1c" (binary_expression "local_30 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;" (assignment_expression "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f" (pointer_expression "*(undefined4 *)((int)&sStackY_50 + iVar2)" * (cast_expression "(undefined4 *)((int)&sStackY_50 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sStackY_50 + iVar2)" ( (binary_expression "(int)&sStackY_50 + iVar2" (cast_expression "(int)&sStackY_50" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sStackY_50" & identifier)) + identifier) )))) = number_literal) ;) (expression_statement "FUN_00063020();" (call_expression "FUN_00063020()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;" (assignment_expression "*(undefined4 *)(local_30 + iVar2 + -0x1c) = 1" (pointer_expression "*(undefined4 *)(local_30 + iVar2 + -0x1c)" * (cast_expression "(undefined4 *)(local_30 + iVar2 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30 + iVar2 + -0x1c)" ( (binary_expression "local_30 + iVar2 + -0x1c" (binary_expression "local_30 + iVar2" identifier + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;" (assignment_expression "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665" (pointer_expression "*(undefined4 *)((int)&sStackY_50 + iVar2)" * (cast_expression "(undefined4 *)((int)&sStackY_50 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sStackY_50 + iVar2)" ( (binary_expression "(int)&sStackY_50 + iVar2" (cast_expression "(int)&sStackY_50" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sStackY_50" & identifier)) + identifier) )))) = number_literal) ;) (expression_statement "FUN_00032b00();" (call_expression "FUN_00032b00()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar6 = auStack_3c + iVar2;" (assignment_expression "puVar6 = auStack_3c + iVar2" identifier = (binary_expression "auStack_3c + iVar2" identifier + identifier)) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "*(undefined **)(puVar6 + -4) = &UNK_000336b6;" (assignment_expression "*(undefined **)(puVar6 + -4) = &UNK_000336b6" (pointer_expression "*(undefined **)(puVar6 + -4)" * (cast_expression "(undefined **)(puVar6 + -4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + -4)" ( (binary_expression "puVar6 + -4" identifier + number_literal) )))) = (pointer_expression "&UNK_000336b6" & identifier)) ;) (expression_statement "FUN_0007ad20();" (call_expression "FUN_0007ad20()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 request_set_user_header(request *req,char *header)\n\n{\n  int iVar1;\n  int iVar2;\n  request *req_00;\n  char *pcVar3;\n  byte bVar4;\n  char *pcVar5;\n  undefined1 *puVar6;\n  int in_GS_OFFSET;\n  size_t sStackY_50;\n  undefined1 auStack_3c [8];\n  char *local_34;\n  request *local_30 [4];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x335db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  sStackY_50 = 0x335fd;\n  local_34 = header;\n  local_30[0] = req;\n  pcVar3 = strchr(header,0x3a);\n  pcVar5 = local_34;\n  puVar6 = auStack_3c;\n  if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    iVar1 = (int)local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)((int)local_30 + iVar2 + -0x18) = pcVar5;\n    *(int *)((int)local_30 + iVar2 + -0x1c) = iVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)((int)local_30 + iVar2 + -0x1c),*(void **)((int)local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    *(undefined1 *)(iVar1 + (int)local_34) = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(int *)((int)local_30 + iVar2 + -0x1c) = iVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    pcVar3 = xstrdup(*(char **)((int)local_30 + iVar2 + -0x1c));\n    pcVar5 = local_34;\n    *(undefined4 *)((int)local_30 + iVar2 + -0x1c) = 1;\n    req_00 = local_30[0];\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    request_set_header(req_00,pcVar3,pcVar5,*(rp *)((int)local_30 + iVar2 + -0x1c));\n    puVar6 = auStack_3c + iVar2;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar6 + -4) = &UNK_000336b6;\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "void __regparm3 request_set_user_header(request *req,char *header)\n\n{\n  int iVar1;\n  int iVar2;\n  request *req_00;\n  char *pcVar3;\n  byte bVar4;\n  char *pcVar5;\n  undefined1 *puVar6;\n  int in_GS_OFFSET;\n  size_t sStackY_50;\n  undefined1 auStack_3c [8];\n  char *local_34;\n  request *local_30 [4];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x335db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  sStackY_50 = 0x335fd;\n  local_34 = header;\n  local_30[0] = req;\n  pcVar3 = strchr(header,0x3a);\n  pcVar5 = local_34;\n  puVar6 = auStack_3c;\n  if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    iVar1 = (int)local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)((int)local_30 + iVar2 + -0x18) = pcVar5;\n    *(int *)((int)local_30 + iVar2 + -0x1c) = iVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)((int)local_30 + iVar2 + -0x1c),*(void **)((int)local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    *(undefined1 *)(iVar1 + (int)local_34) = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(int *)((int)local_30 + iVar2 + -0x1c) = iVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    pcVar3 = xstrdup(*(char **)((int)local_30 + iVar2 + -0x1c));\n    pcVar5 = local_34;\n    *(undefined4 *)((int)local_30 + iVar2 + -0x1c) = 1;\n    req_00 = local_30[0];\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    request_set_header(req_00,pcVar3,pcVar5,*(rp *)((int)local_30 + iVar2 + -0x1c));\n    puVar6 = auStack_3c + iVar2;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar6 + -4) = &UNK_000336b6;\n  __stack_chk_fail_local();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "request_set_user_header(request *req,char *header)" identifier (parameter_list "(request *req,char *header)" ( (parameter_declaration "request *req" type_identifier (pointer_declarator "*req" * identifier)) , (parameter_declaration "char *header" primitive_type (pointer_declarator "*header" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  request *req_00;\n  char *pcVar3;\n  byte bVar4;\n  char *pcVar5;\n  undefined1 *puVar6;\n  int in_GS_OFFSET;\n  size_t sStackY_50;\n  undefined1 auStack_3c [8];\n  char *local_34;\n  request *local_30 [4];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x335db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  sStackY_50 = 0x335fd;\n  local_34 = header;\n  local_30[0] = req;\n  pcVar3 = strchr(header,0x3a);\n  pcVar5 = local_34;\n  puVar6 = auStack_3c;\n  if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    iVar1 = (int)local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)((int)local_30 + iVar2 + -0x18) = pcVar5;\n    *(int *)((int)local_30 + iVar2 + -0x1c) = iVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)((int)local_30 + iVar2 + -0x1c),*(void **)((int)local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    *(undefined1 *)(iVar1 + (int)local_34) = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(int *)((int)local_30 + iVar2 + -0x1c) = iVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    pcVar3 = xstrdup(*(char **)((int)local_30 + iVar2 + -0x1c));\n    pcVar5 = local_34;\n    *(undefined4 *)((int)local_30 + iVar2 + -0x1c) = 1;\n    req_00 = local_30[0];\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    request_set_header(req_00,pcVar3,pcVar5,*(rp *)((int)local_30 + iVar2 + -0x1c));\n    puVar6 = auStack_3c + iVar2;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  *(undefined **)(puVar6 + -4) = &UNK_000336b6;\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "request *req_00;" type_identifier (pointer_declarator "*req_00" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "size_t sStackY_50;" primitive_type identifier ;) (declaration "undefined1 auStack_3c [8];" type_identifier (array_declarator "auStack_3c [8]" identifier [ number_literal ]) ;) (declaration "char *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "request *local_30 [4];" type_identifier (pointer_declarator "*local_30 [4]" * (array_declarator "local_30 [4]" identifier [ number_literal ])) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x335db;" (assignment_expression "uStack_14 = 0x335db" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "sStackY_50 = 0x335fd;" (assignment_expression "sStackY_50 = 0x335fd" identifier = number_literal) ;) (expression_statement "local_34 = header;" (assignment_expression "local_34 = header" identifier = identifier) ;) (expression_statement "local_30[0] = req;" (assignment_expression "local_30[0] = req" (subscript_expression "local_30[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar3 = strchr(header,0x3a);" (assignment_expression "pcVar3 = strchr(header,0x3a)" identifier = (call_expression "strchr(header,0x3a)" identifier (argument_list "(header,0x3a)" ( identifier , number_literal )))) ;) (expression_statement "pcVar5 = local_34;" (assignment_expression "pcVar5 = local_34" identifier = identifier) ;) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" identifier = identifier) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    iVar1 = (int)local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)((int)local_30 + iVar2 + -0x18) = pcVar5;\n    *(int *)((int)local_30 + iVar2 + -0x1c) = iVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)((int)local_30 + iVar2 + -0x1c),*(void **)((int)local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    *(undefined1 *)(iVar1 + (int)local_34) = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(int *)((int)local_30 + iVar2 + -0x1c) = iVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    pcVar3 = xstrdup(*(char **)((int)local_30 + iVar2 + -0x1c));\n    pcVar5 = local_34;\n    *(undefined4 *)((int)local_30 + iVar2 + -0x1c) = 1;\n    req_00 = local_30[0];\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    request_set_header(req_00,pcVar3,pcVar5,*(rp *)((int)local_30 + iVar2 + -0x1c));\n    puVar6 = auStack_3c + iVar2;\n  }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    iVar1 = (int)local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)((int)local_30 + iVar2 + -0x18) = pcVar5;\n    *(int *)((int)local_30 + iVar2 + -0x1c) = iVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)((int)local_30 + iVar2 + -0x1c),*(void **)((int)local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    *(undefined1 *)(iVar1 + (int)local_34) = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(int *)((int)local_30 + iVar2 + -0x1c) = iVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    pcVar3 = xstrdup(*(char **)((int)local_30 + iVar2 + -0x1c));\n    pcVar5 = local_34;\n    *(undefined4 *)((int)local_30 + iVar2 + -0x1c) = 1;\n    req_00 = local_30[0];\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    request_set_header(req_00,pcVar3,pcVar5,*(rp *)((int)local_30 + iVar2 + -0x1c));\n    puVar6 = auStack_3c + iVar2;\n  }" { (expression_statement "local_34 = (char *)((int)pcVar3 - (int)local_34);" (assignment_expression "local_34 = (char *)((int)pcVar3 - (int)local_34)" identifier = (cast_expression "(char *)((int)pcVar3 - (int)local_34)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar3 - (int)local_34)" ( (binary_expression "(int)pcVar3 - (int)local_34" (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);" (assignment_expression "iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0)" identifier = (unary_expression "-((int)local_34 + 0x1cU & 0xfffffff0)" - (parenthesized_expression "((int)local_34 + 0x1cU & 0xfffffff0)" ( (binary_expression "(int)local_34 + 0x1cU & 0xfffffff0" (binary_expression "(int)local_34 + 0x1cU" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) & number_literal) )))) ;) (expression_statement "iVar1 = (int)local_30 + iVar2;" (assignment_expression "iVar1 = (int)local_30 + iVar2" identifier = (binary_expression "(int)local_30 + iVar2" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier)) ;) (expression_statement "*(char **)(&stack0xffffffbc + iVar2) = local_34;" (assignment_expression "*(char **)(&stack0xffffffbc + iVar2) = local_34" (pointer_expression "*(char **)(&stack0xffffffbc + iVar2)" * (cast_expression "(char **)(&stack0xffffffbc + iVar2)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&stack0xffffffbc + iVar2)" ( (binary_expression "&stack0xffffffbc + iVar2" (pointer_expression "&stack0xffffffbc" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(char **)((int)local_30 + iVar2 + -0x18) = pcVar5;" (assignment_expression "*(char **)((int)local_30 + iVar2 + -0x18) = pcVar5" (pointer_expression "*(char **)((int)local_30 + iVar2 + -0x18)" * (cast_expression "(char **)((int)local_30 + iVar2 + -0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)local_30 + iVar2 + -0x18)" ( (binary_expression "(int)local_30 + iVar2 + -0x18" (binary_expression "(int)local_30 + iVar2" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)((int)local_30 + iVar2 + -0x1c) = iVar1;" (assignment_expression "*(int *)((int)local_30 + iVar2 + -0x1c) = iVar1" (pointer_expression "*(int *)((int)local_30 + iVar2 + -0x1c)" * (cast_expression "(int *)((int)local_30 + iVar2 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + iVar2 + -0x1c)" ( (binary_expression "(int)local_30 + iVar2 + -0x1c" (binary_expression "(int)local_30 + iVar2" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;" (assignment_expression "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a" (pointer_expression "*(undefined4 *)((int)&sStackY_50 + iVar2)" * (cast_expression "(undefined4 *)((int)&sStackY_50 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sStackY_50 + iVar2)" ( (binary_expression "(int)&sStackY_50 + iVar2" (cast_expression "(int)&sStackY_50" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sStackY_50" & identifier)) + identifier) )))) = number_literal) ;) (expression_statement "memcpy(*(void **)((int)local_30 + iVar2 + -0x1c),*(void **)((int)local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));" (call_expression "memcpy(*(void **)((int)local_30 + iVar2 + -0x1c),*(void **)((int)local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2))" identifier (argument_list "(*(void **)((int)local_30 + iVar2 + -0x1c),*(void **)((int)local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2))" ( (pointer_expression "*(void **)((int)local_30 + iVar2 + -0x1c)" * (cast_expression "(void **)((int)local_30 + iVar2 + -0x1c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)local_30 + iVar2 + -0x1c)" ( (binary_expression "(int)local_30 + iVar2 + -0x1c" (binary_expression "(int)local_30 + iVar2" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) , (pointer_expression "*(void **)((int)local_30 + iVar2 + -0x18)" * (cast_expression "(void **)((int)local_30 + iVar2 + -0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)local_30 + iVar2 + -0x18)" ( (binary_expression "(int)local_30 + iVar2 + -0x18" (binary_expression "(int)local_30 + iVar2" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) , (pointer_expression "*(size_t *)(&stack0xffffffbc + iVar2)" * (cast_expression "(size_t *)(&stack0xffffffbc + iVar2)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&stack0xffffffbc + iVar2)" ( (binary_expression "&stack0xffffffbc + iVar2" (pointer_expression "&stack0xffffffbc" & identifier) + identifier) )))) ))) ;) (expression_statement "pcVar5 = pcVar3 + 1;" (assignment_expression "pcVar5 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined1 *)(iVar1 + (int)local_34) = 0;" (assignment_expression "*(undefined1 *)(iVar1 + (int)local_34) = 0" (pointer_expression "*(undefined1 *)(iVar1 + (int)local_34)" * (cast_expression "(undefined1 *)(iVar1 + (int)local_34)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + (int)local_34)" ( (binary_expression "iVar1 + (int)local_34" identifier + (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier)) )))) = number_literal) ;) (if_statement "if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }" if (parenthesized_expression "((int)pcVar3[1] - 9U < 0x18)" ( (binary_expression "(int)pcVar3[1] - 9U < 0x18" (binary_expression "(int)pcVar3[1] - 9U" (cast_expression "(int)pcVar3[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar3[1]" identifier [ number_literal ])) - number_literal) < number_literal) )) (compound_statement "{\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }" { (expression_statement "bVar4 = (byte)((int)pcVar3[1] - 9U);" (assignment_expression "bVar4 = (byte)((int)pcVar3[1] - 9U)" identifier = (call_expression "(byte)((int)pcVar3[1] - 9U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((int)pcVar3[1] - 9U)" ( (binary_expression "(int)pcVar3[1] - 9U" (cast_expression "(int)pcVar3[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar3[1]" identifier [ number_literal ])) - number_literal) )))) ;) (while_statement "while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }" while (parenthesized_expression "((1 << (bVar4 & 0x1f) & 0x80001fU) != 0)" ( (binary_expression "(1 << (bVar4 & 0x1f) & 0x80001fU) != 0" (parenthesized_expression "(1 << (bVar4 & 0x1f) & 0x80001fU)" ( (binary_expression "1 << (bVar4 & 0x1f) & 0x80001fU" (binary_expression "1 << (bVar4 & 0x1f)" number_literal << (parenthesized_expression "(bVar4 & 0x1f)" ( (binary_expression "bVar4 & 0x1f" identifier & number_literal) ))) & number_literal) )) != number_literal) )) (compound_statement "{\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }" { (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (if_statement "if (0x17 < (int)*pcVar5 - 9U) break;" if (parenthesized_expression "(0x17 < (int)*pcVar5 - 9U)" ( (binary_expression "0x17 < (int)*pcVar5 - 9U" number_literal < (binary_expression "(int)*pcVar5 - 9U" (cast_expression "(int)*pcVar5" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar5" * identifier)) - number_literal)) )) (break_statement "break;" break ;)) (expression_statement "bVar4 = (byte)((int)*pcVar5 - 9U);" (assignment_expression "bVar4 = (byte)((int)*pcVar5 - 9U)" identifier = (call_expression "(byte)((int)*pcVar5 - 9U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((int)*pcVar5 - 9U)" ( (binary_expression "(int)*pcVar5 - 9U" (cast_expression "(int)*pcVar5" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar5" * identifier)) - number_literal) )))) ;) })) })) (expression_statement "local_34 = pcVar5;" (assignment_expression "local_34 = pcVar5" identifier = identifier) ;) (expression_statement "*(int *)((int)local_30 + iVar2 + -0x1c) = iVar1;" (assignment_expression "*(int *)((int)local_30 + iVar2 + -0x1c) = iVar1" (pointer_expression "*(int *)((int)local_30 + iVar2 + -0x1c)" * (cast_expression "(int *)((int)local_30 + iVar2 + -0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + iVar2 + -0x1c)" ( (binary_expression "(int)local_30 + iVar2 + -0x1c" (binary_expression "(int)local_30 + iVar2" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;" (assignment_expression "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f" (pointer_expression "*(undefined4 *)((int)&sStackY_50 + iVar2)" * (cast_expression "(undefined4 *)((int)&sStackY_50 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sStackY_50 + iVar2)" ( (binary_expression "(int)&sStackY_50 + iVar2" (cast_expression "(int)&sStackY_50" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sStackY_50" & identifier)) + identifier) )))) = number_literal) ;) (expression_statement "pcVar3 = xstrdup(*(char **)((int)local_30 + iVar2 + -0x1c));" (assignment_expression "pcVar3 = xstrdup(*(char **)((int)local_30 + iVar2 + -0x1c))" identifier = (call_expression "xstrdup(*(char **)((int)local_30 + iVar2 + -0x1c))" identifier (argument_list "(*(char **)((int)local_30 + iVar2 + -0x1c))" ( (pointer_expression "*(char **)((int)local_30 + iVar2 + -0x1c)" * (cast_expression "(char **)((int)local_30 + iVar2 + -0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)local_30 + iVar2 + -0x1c)" ( (binary_expression "(int)local_30 + iVar2 + -0x1c" (binary_expression "(int)local_30 + iVar2" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) )))) ;) (expression_statement "pcVar5 = local_34;" (assignment_expression "pcVar5 = local_34" identifier = identifier) ;) (expression_statement "*(undefined4 *)((int)local_30 + iVar2 + -0x1c) = 1;" (assignment_expression "*(undefined4 *)((int)local_30 + iVar2 + -0x1c) = 1" (pointer_expression "*(undefined4 *)((int)local_30 + iVar2 + -0x1c)" * (cast_expression "(undefined4 *)((int)local_30 + iVar2 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + iVar2 + -0x1c)" ( (binary_expression "(int)local_30 + iVar2 + -0x1c" (binary_expression "(int)local_30 + iVar2" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "req_00 = local_30[0];" (assignment_expression "req_00 = local_30[0]" identifier = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;" (assignment_expression "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665" (pointer_expression "*(undefined4 *)((int)&sStackY_50 + iVar2)" * (cast_expression "(undefined4 *)((int)&sStackY_50 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sStackY_50 + iVar2)" ( (binary_expression "(int)&sStackY_50 + iVar2" (cast_expression "(int)&sStackY_50" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sStackY_50" & identifier)) + identifier) )))) = number_literal) ;) (expression_statement "request_set_header(req_00,pcVar3,pcVar5,*(rp *)((int)local_30 + iVar2 + -0x1c));" (call_expression "request_set_header(req_00,pcVar3,pcVar5,*(rp *)((int)local_30 + iVar2 + -0x1c))" identifier (argument_list "(req_00,pcVar3,pcVar5,*(rp *)((int)local_30 + iVar2 + -0x1c))" ( identifier , identifier , identifier , (pointer_expression "*(rp *)((int)local_30 + iVar2 + -0x1c)" * (cast_expression "(rp *)((int)local_30 + iVar2 + -0x1c)" ( (type_descriptor "rp *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_30 + iVar2 + -0x1c)" ( (binary_expression "(int)local_30 + iVar2 + -0x1c" (binary_expression "(int)local_30 + iVar2" (cast_expression "(int)local_30" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) ))) ;) (expression_statement "puVar6 = auStack_3c + iVar2;" (assignment_expression "puVar6 = auStack_3c + iVar2" identifier = (binary_expression "auStack_3c + iVar2" identifier + identifier)) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "*(undefined **)(puVar6 + -4) = &UNK_000336b6;" (assignment_expression "*(undefined **)(puVar6 + -4) = &UNK_000336b6" (pointer_expression "*(undefined **)(puVar6 + -4)" * (cast_expression "(undefined **)(puVar6 + -4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + -4)" ( (binary_expression "puVar6 + -4" identifier + number_literal) )))) = (pointer_expression "&UNK_000336b6" & identifier)) ;) (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void __regparm3 FUN_000335d0(undefined4 param_1,char *param_2)\n\n{\n  undefined1 *puVar1;\n  int iVar2;\n  char *pcVar3;\n  byte bVar4;\n  char *pcVar5;\n  undefined1 *puVar6;\n  int in_GS_OFFSET;\n  size_t sStackY_50;\n  undefined1 auStack_3c [8];\n  char *local_34;\n  undefined1 local_30 [16];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x335db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  sStackY_50 = 0x335fd;\n  local_34 = param_2;\n  pcVar3 = strchr(param_2,0x3a);\n  pcVar5 = local_34;\n  puVar6 = auStack_3c;\n  if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    puVar1 = local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    puVar1[(int)local_34] = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    FUN_00063020();\n    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    FUN_00032b00();\n    puVar6 = auStack_3c + iVar2;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar6 + -4) = &UNK_000336b6;\n  FUN_0007ad20();\n}\n\n" (function_definition "void __regparm3 FUN_000335d0(undefined4 param_1,char *param_2)\n\n{\n  undefined1 *puVar1;\n  int iVar2;\n  char *pcVar3;\n  byte bVar4;\n  char *pcVar5;\n  undefined1 *puVar6;\n  int in_GS_OFFSET;\n  size_t sStackY_50;\n  undefined1 auStack_3c [8];\n  char *local_34;\n  undefined1 local_30 [16];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x335db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  sStackY_50 = 0x335fd;\n  local_34 = param_2;\n  pcVar3 = strchr(param_2,0x3a);\n  pcVar5 = local_34;\n  puVar6 = auStack_3c;\n  if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    puVar1 = local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    puVar1[(int)local_34] = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    FUN_00063020();\n    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    FUN_00032b00();\n    puVar6 = auStack_3c + iVar2;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar6 + -4) = &UNK_000336b6;\n  FUN_0007ad20();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000335d0(undefined4 param_1,char *param_2)" identifier (parameter_list "(undefined4 param_1,char *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined1 *puVar1;\n  int iVar2;\n  char *pcVar3;\n  byte bVar4;\n  char *pcVar5;\n  undefined1 *puVar6;\n  int in_GS_OFFSET;\n  size_t sStackY_50;\n  undefined1 auStack_3c [8];\n  char *local_34;\n  undefined1 local_30 [16];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x335db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  sStackY_50 = 0x335fd;\n  local_34 = param_2;\n  pcVar3 = strchr(param_2,0x3a);\n  pcVar5 = local_34;\n  puVar6 = auStack_3c;\n  if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    puVar1 = local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    puVar1[(int)local_34] = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    FUN_00063020();\n    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    FUN_00032b00();\n    puVar6 = auStack_3c + iVar2;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar6 + -4) = &UNK_000336b6;\n  FUN_0007ad20();\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined1 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "size_t sStackY_50;" primitive_type identifier ;) (declaration "undefined1 auStack_3c [8];" type_identifier (array_declarator "auStack_3c [8]" identifier [ number_literal ]) ;) (declaration "char *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "undefined1 local_30 [16];" type_identifier (array_declarator "local_30 [16]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x335db;" (assignment_expression "uStack_14 = 0x335db" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "sStackY_50 = 0x335fd;" (assignment_expression "sStackY_50 = 0x335fd" identifier = number_literal) ;) (expression_statement "local_34 = param_2;" (assignment_expression "local_34 = param_2" identifier = identifier) ;) (expression_statement "pcVar3 = strchr(param_2,0x3a);" (assignment_expression "pcVar3 = strchr(param_2,0x3a)" identifier = (call_expression "strchr(param_2,0x3a)" identifier (argument_list "(param_2,0x3a)" ( identifier , number_literal )))) ;) (expression_statement "pcVar5 = local_34;" (assignment_expression "pcVar5 = local_34" identifier = identifier) ;) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" identifier = identifier) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    puVar1 = local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    puVar1[(int)local_34] = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    FUN_00063020();\n    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    FUN_00032b00();\n    puVar6 = auStack_3c + iVar2;\n  }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    puVar1 = local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    puVar1[(int)local_34] = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    FUN_00063020();\n    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    FUN_00032b00();\n    puVar6 = auStack_3c + iVar2;\n  }" { (expression_statement "local_34 = (char *)((int)pcVar3 - (int)local_34);" (assignment_expression "local_34 = (char *)((int)pcVar3 - (int)local_34)" identifier = (cast_expression "(char *)((int)pcVar3 - (int)local_34)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pcVar3 - (int)local_34)" ( (binary_expression "(int)pcVar3 - (int)local_34" (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);" (assignment_expression "iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0)" identifier = (unary_expression "-((int)local_34 + 0x1cU & 0xfffffff0)" - (parenthesized_expression "((int)local_34 + 0x1cU & 0xfffffff0)" ( (binary_expression "(int)local_34 + 0x1cU & 0xfffffff0" (binary_expression "(int)local_34 + 0x1cU" (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) & number_literal) )))) ;) (expression_statement "puVar1 = local_30 + iVar2;" (assignment_expression "puVar1 = local_30 + iVar2" identifier = (binary_expression "local_30 + iVar2" identifier + identifier)) ;) (expression_statement "*(char **)(&stack0xffffffbc + iVar2) = local_34;" (assignment_expression "*(char **)(&stack0xffffffbc + iVar2) = local_34" (pointer_expression "*(char **)(&stack0xffffffbc + iVar2)" * (cast_expression "(char **)(&stack0xffffffbc + iVar2)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(&stack0xffffffbc + iVar2)" ( (binary_expression "&stack0xffffffbc + iVar2" (pointer_expression "&stack0xffffffbc" & identifier) + identifier) )))) = identifier) ;) (expression_statement "*(char **)(local_30 + iVar2 + -0x18) = pcVar5;" (assignment_expression "*(char **)(local_30 + iVar2 + -0x18) = pcVar5" (pointer_expression "*(char **)(local_30 + iVar2 + -0x18)" * (cast_expression "(char **)(local_30 + iVar2 + -0x18)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_30 + iVar2 + -0x18)" ( (binary_expression "local_30 + iVar2 + -0x18" (binary_expression "local_30 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;" (assignment_expression "*(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1" (pointer_expression "*(undefined1 **)(local_30 + iVar2 + -0x1c)" * (cast_expression "(undefined1 **)(local_30 + iVar2 + -0x1c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_30 + iVar2 + -0x1c)" ( (binary_expression "local_30 + iVar2 + -0x1c" (binary_expression "local_30 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;" (assignment_expression "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a" (pointer_expression "*(undefined4 *)((int)&sStackY_50 + iVar2)" * (cast_expression "(undefined4 *)((int)&sStackY_50 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sStackY_50 + iVar2)" ( (binary_expression "(int)&sStackY_50 + iVar2" (cast_expression "(int)&sStackY_50" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sStackY_50" & identifier)) + identifier) )))) = number_literal) ;) (expression_statement "memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));" (call_expression "memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2))" identifier (argument_list "(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2))" ( (pointer_expression "*(void **)(local_30 + iVar2 + -0x1c)" * (cast_expression "(void **)(local_30 + iVar2 + -0x1c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_30 + iVar2 + -0x1c)" ( (binary_expression "local_30 + iVar2 + -0x1c" (binary_expression "local_30 + iVar2" identifier + identifier) + number_literal) )))) , (pointer_expression "*(void **)(local_30 + iVar2 + -0x18)" * (cast_expression "(void **)(local_30 + iVar2 + -0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_30 + iVar2 + -0x18)" ( (binary_expression "local_30 + iVar2 + -0x18" (binary_expression "local_30 + iVar2" identifier + identifier) + number_literal) )))) , (pointer_expression "*(size_t *)(&stack0xffffffbc + iVar2)" * (cast_expression "(size_t *)(&stack0xffffffbc + iVar2)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&stack0xffffffbc + iVar2)" ( (binary_expression "&stack0xffffffbc + iVar2" (pointer_expression "&stack0xffffffbc" & identifier) + identifier) )))) ))) ;) (expression_statement "pcVar5 = pcVar3 + 1;" (assignment_expression "pcVar5 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "puVar1[(int)local_34] = 0;" (assignment_expression "puVar1[(int)local_34] = 0" (subscript_expression "puVar1[(int)local_34]" identifier [ (cast_expression "(int)local_34" ( (type_descriptor "int" primitive_type) ) identifier) ]) = number_literal) ;) (if_statement "if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }" if (parenthesized_expression "((int)pcVar3[1] - 9U < 0x18)" ( (binary_expression "(int)pcVar3[1] - 9U < 0x18" (binary_expression "(int)pcVar3[1] - 9U" (cast_expression "(int)pcVar3[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar3[1]" identifier [ number_literal ])) - number_literal) < number_literal) )) (compound_statement "{\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }" { (expression_statement "bVar4 = (byte)((int)pcVar3[1] - 9U);" (assignment_expression "bVar4 = (byte)((int)pcVar3[1] - 9U)" identifier = (call_expression "(byte)((int)pcVar3[1] - 9U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((int)pcVar3[1] - 9U)" ( (binary_expression "(int)pcVar3[1] - 9U" (cast_expression "(int)pcVar3[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar3[1]" identifier [ number_literal ])) - number_literal) )))) ;) (while_statement "while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }" while (parenthesized_expression "((1 << (bVar4 & 0x1f) & 0x80001fU) != 0)" ( (binary_expression "(1 << (bVar4 & 0x1f) & 0x80001fU) != 0" (parenthesized_expression "(1 << (bVar4 & 0x1f) & 0x80001fU)" ( (binary_expression "1 << (bVar4 & 0x1f) & 0x80001fU" (binary_expression "1 << (bVar4 & 0x1f)" number_literal << (parenthesized_expression "(bVar4 & 0x1f)" ( (binary_expression "bVar4 & 0x1f" identifier & number_literal) ))) & number_literal) )) != number_literal) )) (compound_statement "{\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }" { (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" identifier = (binary_expression "pcVar5 + 1" identifier + number_literal)) ;) (if_statement "if (0x17 < (int)*pcVar5 - 9U) break;" if (parenthesized_expression "(0x17 < (int)*pcVar5 - 9U)" ( (binary_expression "0x17 < (int)*pcVar5 - 9U" number_literal < (binary_expression "(int)*pcVar5 - 9U" (cast_expression "(int)*pcVar5" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar5" * identifier)) - number_literal)) )) (break_statement "break;" break ;)) (expression_statement "bVar4 = (byte)((int)*pcVar5 - 9U);" (assignment_expression "bVar4 = (byte)((int)*pcVar5 - 9U)" identifier = (call_expression "(byte)((int)*pcVar5 - 9U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "((int)*pcVar5 - 9U)" ( (binary_expression "(int)*pcVar5 - 9U" (cast_expression "(int)*pcVar5" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar5" * identifier)) - number_literal) )))) ;) })) })) (expression_statement "local_34 = pcVar5;" (assignment_expression "local_34 = pcVar5" identifier = identifier) ;) (expression_statement "*(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;" (assignment_expression "*(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1" (pointer_expression "*(undefined1 **)(local_30 + iVar2 + -0x1c)" * (cast_expression "(undefined1 **)(local_30 + iVar2 + -0x1c)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_30 + iVar2 + -0x1c)" ( (binary_expression "local_30 + iVar2 + -0x1c" (binary_expression "local_30 + iVar2" identifier + identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;" (assignment_expression "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f" (pointer_expression "*(undefined4 *)((int)&sStackY_50 + iVar2)" * (cast_expression "(undefined4 *)((int)&sStackY_50 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sStackY_50 + iVar2)" ( (binary_expression "(int)&sStackY_50 + iVar2" (cast_expression "(int)&sStackY_50" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sStackY_50" & identifier)) + identifier) )))) = number_literal) ;) (expression_statement "FUN_00063020();" (call_expression "FUN_00063020()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;" (assignment_expression "*(undefined4 *)(local_30 + iVar2 + -0x1c) = 1" (pointer_expression "*(undefined4 *)(local_30 + iVar2 + -0x1c)" * (cast_expression "(undefined4 *)(local_30 + iVar2 + -0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30 + iVar2 + -0x1c)" ( (binary_expression "local_30 + iVar2 + -0x1c" (binary_expression "local_30 + iVar2" identifier + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;" (assignment_expression "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665" (pointer_expression "*(undefined4 *)((int)&sStackY_50 + iVar2)" * (cast_expression "(undefined4 *)((int)&sStackY_50 + iVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sStackY_50 + iVar2)" ( (binary_expression "(int)&sStackY_50 + iVar2" (cast_expression "(int)&sStackY_50" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sStackY_50" & identifier)) + identifier) )))) = number_literal) ;) (expression_statement "FUN_00032b00();" (call_expression "FUN_00032b00()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar6 = auStack_3c + iVar2;" (assignment_expression "puVar6 = auStack_3c + iVar2" identifier = (binary_expression "auStack_3c + iVar2" identifier + identifier)) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "*(undefined **)(puVar6 + -4) = &UNK_000336b6;" (assignment_expression "*(undefined **)(puVar6 + -4) = &UNK_000336b6" (pointer_expression "*(undefined **)(puVar6 + -4)" * (cast_expression "(undefined **)(puVar6 + -4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar6 + -4)" ( (binary_expression "puVar6 + -4" identifier + number_literal) )))) = (pointer_expression "&UNK_000336b6" & identifier)) ;) (expression_statement "FUN_0007ad20();" (call_expression "FUN_0007ad20()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (unary_expression - (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (cast_expression ( (type_descriptor TYPE) ) IDENT) ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) - LIT) )))) ;) (while_statement while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) - LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) - LIT) )))) ;) })) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT)) + IDENT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void __regparm3 FUN_000335d0(undefined4 param_1,char *param_2)\n\n{\n  undefined1 *puVar1;\n  int iVar2;\n  char *pcVar3;\n  byte bVar4;\n  char *pcVar5;\n  undefined1 *puVar6;\n  int in_GS_OFFSET;\n  size_t sStackY_50;\n  undefined1 auStack_3c [8];\n  char *local_34;\n  undefined1 local_30 [16];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x335db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  sStackY_50 = 0x335fd;\n  local_34 = param_2;\n  pcVar3 = strchr(param_2,0x3a);\n  pcVar5 = local_34;\n  puVar6 = auStack_3c;\n  if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    puVar1 = local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    puVar1[(int)local_34] = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    FUN_00063020();\n    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    FUN_00032b00();\n    puVar6 = auStack_3c + iVar2;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar6 + -4) = &UNK_000336b6;\n  FUN_0007ad20();\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000335d0(undefined4 param_1,char *param_2)" (identifier "FUN_000335d0") (parameter_list "(undefined4 param_1,char *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined1 *puVar1;\n  int iVar2;\n  char *pcVar3;\n  byte bVar4;\n  char *pcVar5;\n  undefined1 *puVar6;\n  int in_GS_OFFSET;\n  size_t sStackY_50;\n  undefined1 auStack_3c [8];\n  char *local_34;\n  undefined1 local_30 [16];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x335db;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  sStackY_50 = 0x335fd;\n  local_34 = param_2;\n  pcVar3 = strchr(param_2,0x3a);\n  pcVar5 = local_34;\n  puVar6 = auStack_3c;\n  if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    puVar1 = local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    puVar1[(int)local_34] = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    FUN_00063020();\n    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    FUN_00032b00();\n    puVar6 = auStack_3c + iVar2;\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  *(undefined **)(puVar6 + -4) = &UNK_000336b6;\n  FUN_0007ad20();\n}" ({ "{") (declaration "undefined1 *puVar1;" (type_identifier "undefined1") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "undefined1 *puVar6;" (type_identifier "undefined1") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "size_t sStackY_50;" (primitive_type "size_t") (identifier "sStackY_50") (; ";")) (declaration "undefined1 auStack_3c [8];" (type_identifier "undefined1") (array_declarator "auStack_3c [8]" (identifier "auStack_3c") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "char *local_34;" (primitive_type "char") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "undefined1 local_30 [16];" (type_identifier "undefined1") (array_declarator "local_30 [16]" (identifier "local_30") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x335db;" (assignment_expression "uStack_14 = 0x335db" (identifier "uStack_14") (= "=") (number_literal "0x335db")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "sStackY_50 = 0x335fd;" (assignment_expression "sStackY_50 = 0x335fd" (identifier "sStackY_50") (= "=") (number_literal "0x335fd")) (; ";")) (expression_statement "local_34 = param_2;" (assignment_expression "local_34 = param_2" (identifier "local_34") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pcVar3 = strchr(param_2,0x3a);" (assignment_expression "pcVar3 = strchr(param_2,0x3a)" (identifier "pcVar3") (= "=") (call_expression "strchr(param_2,0x3a)" (identifier "strchr") (argument_list "(param_2,0x3a)" (( "(") (identifier "param_2") (, ",") (number_literal "0x3a") () ")")))) (; ";")) (expression_statement "pcVar5 = local_34;" (assignment_expression "pcVar5 = local_34" (identifier "pcVar5") (= "=") (identifier "local_34")) (; ";")) (expression_statement "puVar6 = auStack_3c;" (assignment_expression "puVar6 = auStack_3c" (identifier "puVar6") (= "=") (identifier "auStack_3c")) (; ";")) (if_statement "if (pcVar3 != (char *)0x0) {\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    puVar1 = local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    puVar1[(int)local_34] = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    FUN_00063020();\n    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    FUN_00032b00();\n    puVar6 = auStack_3c + iVar2;\n  }" (if "if") (parenthesized_expression "(pcVar3 != (char *)0x0)" (( "(") (binary_expression "pcVar3 != (char *)0x0" (identifier "pcVar3") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    local_34 = (char *)((int)pcVar3 - (int)local_34);\n    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);\n    puVar1 = local_30 + iVar2;\n    *(char **)(&stack0xffffffbc + iVar2) = local_34;\n    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;\n    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));\n    pcVar5 = pcVar3 + 1;\n    puVar1[(int)local_34] = 0;\n    if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }\n    local_34 = pcVar5;\n    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;\n    FUN_00063020();\n    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;\n    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;\n    FUN_00032b00();\n    puVar6 = auStack_3c + iVar2;\n  }" ({ "{") (expression_statement "local_34 = (char *)((int)pcVar3 - (int)local_34);" (assignment_expression "local_34 = (char *)((int)pcVar3 - (int)local_34)" (identifier "local_34") (= "=") (cast_expression "(char *)((int)pcVar3 - (int)local_34)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pcVar3 - (int)local_34)" (( "(") (binary_expression "(int)pcVar3 - (int)local_34" (cast_expression "(int)pcVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar3")) (- "-") (cast_expression "(int)local_34" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_34"))) () ")")))) (; ";")) (expression_statement "iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);" (assignment_expression "iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0)" (identifier "iVar2") (= "=") (unary_expression "-((int)local_34 + 0x1cU & 0xfffffff0)" (- "-") (parenthesized_expression "((int)local_34 + 0x1cU & 0xfffffff0)" (( "(") (binary_expression "(int)local_34 + 0x1cU & 0xfffffff0" (binary_expression "(int)local_34 + 0x1cU" (cast_expression "(int)local_34" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_34")) (+ "+") (number_literal "0x1cU")) (& "&") (number_literal "0xfffffff0")) () ")")))) (; ";")) (expression_statement "puVar1 = local_30 + iVar2;" (assignment_expression "puVar1 = local_30 + iVar2" (identifier "puVar1") (= "=") (binary_expression "local_30 + iVar2" (identifier "local_30") (+ "+") (identifier "iVar2"))) (; ";")) (expression_statement "*(char **)(&stack0xffffffbc + iVar2) = local_34;" (assignment_expression "*(char **)(&stack0xffffffbc + iVar2) = local_34" (pointer_expression "*(char **)(&stack0xffffffbc + iVar2)" (* "*") (cast_expression "(char **)(&stack0xffffffbc + iVar2)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(&stack0xffffffbc + iVar2)" (( "(") (binary_expression "&stack0xffffffbc + iVar2" (pointer_expression "&stack0xffffffbc" (& "&") (identifier "stack0xffffffbc")) (+ "+") (identifier "iVar2")) () ")")))) (= "=") (identifier "local_34")) (; ";")) (expression_statement "*(char **)(local_30 + iVar2 + -0x18) = pcVar5;" (assignment_expression "*(char **)(local_30 + iVar2 + -0x18) = pcVar5" (pointer_expression "*(char **)(local_30 + iVar2 + -0x18)" (* "*") (cast_expression "(char **)(local_30 + iVar2 + -0x18)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_30 + iVar2 + -0x18)" (( "(") (binary_expression "local_30 + iVar2 + -0x18" (binary_expression "local_30 + iVar2" (identifier "local_30") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-0x18")) () ")")))) (= "=") (identifier "pcVar5")) (; ";")) (expression_statement "*(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;" (assignment_expression "*(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1" (pointer_expression "*(undefined1 **)(local_30 + iVar2 + -0x1c)" (* "*") (cast_expression "(undefined1 **)(local_30 + iVar2 + -0x1c)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_30 + iVar2 + -0x1c)" (( "(") (binary_expression "local_30 + iVar2 + -0x1c" (binary_expression "local_30 + iVar2" (identifier "local_30") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;" (assignment_expression "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a" (pointer_expression "*(undefined4 *)((int)&sStackY_50 + iVar2)" (* "*") (cast_expression "(undefined4 *)((int)&sStackY_50 + iVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&sStackY_50 + iVar2)" (( "(") (binary_expression "(int)&sStackY_50 + iVar2" (cast_expression "(int)&sStackY_50" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&sStackY_50" (& "&") (identifier "sStackY_50"))) (+ "+") (identifier "iVar2")) () ")")))) (= "=") (number_literal "0x3362a")) (; ";")) (expression_statement "memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2));" (call_expression "memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2))" (identifier "memcpy") (argument_list "(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),\n           *(size_t *)(&stack0xffffffbc + iVar2))" (( "(") (pointer_expression "*(void **)(local_30 + iVar2 + -0x1c)" (* "*") (cast_expression "(void **)(local_30 + iVar2 + -0x1c)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_30 + iVar2 + -0x1c)" (( "(") (binary_expression "local_30 + iVar2 + -0x1c" (binary_expression "local_30 + iVar2" (identifier "local_30") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-0x1c")) () ")")))) (, ",") (pointer_expression "*(void **)(local_30 + iVar2 + -0x18)" (* "*") (cast_expression "(void **)(local_30 + iVar2 + -0x18)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_30 + iVar2 + -0x18)" (( "(") (binary_expression "local_30 + iVar2 + -0x18" (binary_expression "local_30 + iVar2" (identifier "local_30") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-0x18")) () ")")))) (, ",") (pointer_expression "*(size_t *)(&stack0xffffffbc + iVar2)" (* "*") (cast_expression "(size_t *)(&stack0xffffffbc + iVar2)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&stack0xffffffbc + iVar2)" (( "(") (binary_expression "&stack0xffffffbc + iVar2" (pointer_expression "&stack0xffffffbc" (& "&") (identifier "stack0xffffffbc")) (+ "+") (identifier "iVar2")) () ")")))) () ")"))) (; ";")) (expression_statement "pcVar5 = pcVar3 + 1;" (assignment_expression "pcVar5 = pcVar3 + 1" (identifier "pcVar5") (= "=") (binary_expression "pcVar3 + 1" (identifier "pcVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar1[(int)local_34] = 0;" (assignment_expression "puVar1[(int)local_34] = 0" (subscript_expression "puVar1[(int)local_34]" (identifier "puVar1") ([ "[") (cast_expression "(int)local_34" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_34")) (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((int)pcVar3[1] - 9U < 0x18) {\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }" (if "if") (parenthesized_expression "((int)pcVar3[1] - 9U < 0x18)" (( "(") (binary_expression "(int)pcVar3[1] - 9U < 0x18" (binary_expression "(int)pcVar3[1] - 9U" (cast_expression "(int)pcVar3[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "pcVar3[1]" (identifier "pcVar3") ([ "[") (number_literal "1") (] "]"))) (- "-") (number_literal "9U")) (< "<") (number_literal "0x18")) () ")")) (compound_statement "{\n      bVar4 = (byte)((int)pcVar3[1] - 9U);\n      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }\n    }" ({ "{") (expression_statement "bVar4 = (byte)((int)pcVar3[1] - 9U);" (assignment_expression "bVar4 = (byte)((int)pcVar3[1] - 9U)" (identifier "bVar4") (= "=") (call_expression "(byte)((int)pcVar3[1] - 9U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((int)pcVar3[1] - 9U)" (( "(") (binary_expression "(int)pcVar3[1] - 9U" (cast_expression "(int)pcVar3[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "pcVar3[1]" (identifier "pcVar3") ([ "[") (number_literal "1") (] "]"))) (- "-") (number_literal "9U")) () ")")))) (; ";")) (while_statement "while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }" (while "while") (parenthesized_expression "((1 << (bVar4 & 0x1f) & 0x80001fU) != 0)" (( "(") (binary_expression "(1 << (bVar4 & 0x1f) & 0x80001fU) != 0" (parenthesized_expression "(1 << (bVar4 & 0x1f) & 0x80001fU)" (( "(") (binary_expression "1 << (bVar4 & 0x1f) & 0x80001fU" (binary_expression "1 << (bVar4 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(bVar4 & 0x1f)" (( "(") (binary_expression "bVar4 & 0x1f" (identifier "bVar4") (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "0x80001fU")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        pcVar5 = pcVar5 + 1;\n        if (0x17 < (int)*pcVar5 - 9U) break;\n        bVar4 = (byte)((int)*pcVar5 - 9U);\n      }" ({ "{") (expression_statement "pcVar5 = pcVar5 + 1;" (assignment_expression "pcVar5 = pcVar5 + 1" (identifier "pcVar5") (= "=") (binary_expression "pcVar5 + 1" (identifier "pcVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (0x17 < (int)*pcVar5 - 9U) break;" (if "if") (parenthesized_expression "(0x17 < (int)*pcVar5 - 9U)" (( "(") (binary_expression "0x17 < (int)*pcVar5 - 9U" (number_literal "0x17") (< "<") (binary_expression "(int)*pcVar5 - 9U" (cast_expression "(int)*pcVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5"))) (- "-") (number_literal "9U"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "bVar4 = (byte)((int)*pcVar5 - 9U);" (assignment_expression "bVar4 = (byte)((int)*pcVar5 - 9U)" (identifier "bVar4") (= "=") (call_expression "(byte)((int)*pcVar5 - 9U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "((int)*pcVar5 - 9U)" (( "(") (binary_expression "(int)*pcVar5 - 9U" (cast_expression "(int)*pcVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5"))) (- "-") (number_literal "9U")) () ")")))) (; ";")) (} "}"))) (} "}"))) (expression_statement "local_34 = pcVar5;" (assignment_expression "local_34 = pcVar5" (identifier "local_34") (= "=") (identifier "pcVar5")) (; ";")) (expression_statement "*(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;" (assignment_expression "*(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1" (pointer_expression "*(undefined1 **)(local_30 + iVar2 + -0x1c)" (* "*") (cast_expression "(undefined1 **)(local_30 + iVar2 + -0x1c)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_30 + iVar2 + -0x1c)" (( "(") (binary_expression "local_30 + iVar2 + -0x1c" (binary_expression "local_30 + iVar2" (identifier "local_30") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;" (assignment_expression "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f" (pointer_expression "*(undefined4 *)((int)&sStackY_50 + iVar2)" (* "*") (cast_expression "(undefined4 *)((int)&sStackY_50 + iVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&sStackY_50 + iVar2)" (( "(") (binary_expression "(int)&sStackY_50 + iVar2" (cast_expression "(int)&sStackY_50" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&sStackY_50" (& "&") (identifier "sStackY_50"))) (+ "+") (identifier "iVar2")) () ")")))) (= "=") (number_literal "0x3364f")) (; ";")) (expression_statement "FUN_00063020();" (call_expression "FUN_00063020()" (identifier "FUN_00063020") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;" (assignment_expression "*(undefined4 *)(local_30 + iVar2 + -0x1c) = 1" (pointer_expression "*(undefined4 *)(local_30 + iVar2 + -0x1c)" (* "*") (cast_expression "(undefined4 *)(local_30 + iVar2 + -0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_30 + iVar2 + -0x1c)" (( "(") (binary_expression "local_30 + iVar2 + -0x1c" (binary_expression "local_30 + iVar2" (identifier "local_30") (+ "+") (identifier "iVar2")) (+ "+") (number_literal "-0x1c")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;" (assignment_expression "*(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665" (pointer_expression "*(undefined4 *)((int)&sStackY_50 + iVar2)" (* "*") (cast_expression "(undefined4 *)((int)&sStackY_50 + iVar2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)&sStackY_50 + iVar2)" (( "(") (binary_expression "(int)&sStackY_50 + iVar2" (cast_expression "(int)&sStackY_50" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&sStackY_50" (& "&") (identifier "sStackY_50"))) (+ "+") (identifier "iVar2")) () ")")))) (= "=") (number_literal "0x33665")) (; ";")) (expression_statement "FUN_00032b00();" (call_expression "FUN_00032b00()" (identifier "FUN_00032b00") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar6 = auStack_3c + iVar2;" (assignment_expression "puVar6 = auStack_3c + iVar2" (identifier "puVar6") (= "=") (binary_expression "auStack_3c + iVar2" (identifier "auStack_3c") (+ "+") (identifier "iVar2"))) (; ";")) (} "}"))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(undefined **)(puVar6 + -4) = &UNK_000336b6;" (assignment_expression "*(undefined **)(puVar6 + -4) = &UNK_000336b6" (pointer_expression "*(undefined **)(puVar6 + -4)" (* "*") (cast_expression "(undefined **)(puVar6 + -4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar6 + -4)" (( "(") (binary_expression "puVar6 + -4" (identifier "puVar6") (+ "+") (number_literal "-4")) () ")")))) (= "=") (pointer_expression "&UNK_000336b6" (& "&") (identifier "UNK_000336b6"))) (; ";")) (expression_statement "FUN_0007ad20();" (call_expression "FUN_0007ad20()" (identifier "FUN_0007ad20") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *req,char *header)

{
  int var_6;
  int var_4;
  type_1 *req_00;
  char *var_3;
  type_2 var_7;
  char *var_8;
  type_3 *var_13;
  int var_1;
  size_t sStackY_50;
  type_3 var_11 [8];
  char *local_34;
  type_1 *local_30 [4];
  int var_12;
  type_4 uStack_14;
  
  uStack_14 = 0x335db;
  var_12 = *(int *)(var_1 + 0x14);
  sStackY_50 = 0x335fd;
  local_34 = header;
  local_30[0] = req;
  var_3 = var_2(header,0x3a);
  var_8 = local_34;
  var_13 = var_11;
  if (var_3 != (char *)0x0) {
    local_34 = (char *)((int)var_3 - (int)local_34);
    var_4 = -((int)local_34 + 0x1cU & 0xfffffff0);
    var_6 = (int)local_30 + var_4;
    *(char **)(&stack0xffffffbc + var_4) = local_34;
    *(char **)((int)local_30 + var_4 + -0x18) = var_8;
    *(int *)((int)local_30 + var_4 + -0x1c) = var_6;
    *(type_4 *)((int)&sStackY_50 + var_4) = 0x3362a;
    var_5(*(void **)((int)local_30 + var_4 + -0x1c),*(void **)((int)local_30 + var_4 + -0x18),
           *(size_t *)(&stack0xffffffbc + var_4));
    var_8 = var_3 + 1;
    *(type_3 *)(var_6 + (int)local_34) = 0;
    if ((int)var_3[1] - 9U < 0x18) {
      var_7 = (type_2)((int)var_3[1] - 9U);
      while ((1 << (var_7 & 0x1f) & 0x80001fU) != 0) {
        var_8 = var_8 + 1;
        if (0x17 < (int)*var_8 - 9U) break;
        var_7 = (type_2)((int)*var_8 - 9U);
      }
    }
    local_34 = var_8;
    *(int *)((int)local_30 + var_4 + -0x1c) = var_6;
    *(type_4 *)((int)&sStackY_50 + var_4) = 0x3364f;
    var_3 = var_9(*(char **)((int)local_30 + var_4 + -0x1c));
    var_8 = local_34;
    *(type_4 *)((int)local_30 + var_4 + -0x1c) = 1;
    req_00 = local_30[0];
    *(type_4 *)((int)&sStackY_50 + var_4) = 0x33665;
    var_10(req_00,var_3,var_8,*(type_5 *)((int)local_30 + var_4 + -0x1c));
    var_13 = var_11 + var_4;
  }
  if (var_12 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(type_6 **)(var_13 + -4) = &UNK_000336b6;
  var_14();
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (unary_expression argument: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (identifier))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_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: (subscript_expression argument: (identifier) index: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)))))) (while_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (number_literal)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (identifier))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (identifier))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

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

void __regparm3 MASKED(undefined4 param_1,char *param_2)

{
  undefined1 *puVar1;
  int iVar2;
  char *pcVar3;
  byte bVar4;
  char *pcVar5;
  undefined1 *puVar6;
  int in_GS_OFFSET;
  size_t sStackY_50;
  undefined1 auStack_3c [8];
  char *local_34;
  undefined1 local_30 [16];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x335db;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  sStackY_50 = 0x335fd;
  local_34 = param_2;
  pcVar3 = strchr(param_2,0x3a);
  pcVar5 = local_34;
  puVar6 = auStack_3c;
  if (pcVar3 != (char *)0x0) {
    local_34 = (char *)((int)pcVar3 - (int)local_34);
    iVar2 = -((int)local_34 + 0x1cU & 0xfffffff0);
    puVar1 = local_30 + iVar2;
    *(char **)(&stack0xffffffbc + iVar2) = local_34;
    *(char **)(local_30 + iVar2 + -0x18) = pcVar5;
    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;
    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3362a;
    memcpy(*(void **)(local_30 + iVar2 + -0x1c),*(void **)(local_30 + iVar2 + -0x18),
           *(size_t *)(&stack0xffffffbc + iVar2));
    pcVar5 = pcVar3 + 1;
    puVar1[(int)local_34] = 0;
    if ((int)pcVar3[1] - 9U < 0x18) {
      bVar4 = (byte)((int)pcVar3[1] - 9U);
      while ((1 << (bVar4 & 0x1f) & 0x80001fU) != 0) {
        pcVar5 = pcVar5 + 1;
        if (0x17 < (int)*pcVar5 - 9U) break;
        bVar4 = (byte)((int)*pcVar5 - 9U);
      }
    }
    local_34 = pcVar5;
    *(undefined1 **)(local_30 + iVar2 + -0x1c) = puVar1;
    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x3364f;
    FUN_00063020();
    *(undefined4 *)(local_30 + iVar2 + -0x1c) = 1;
    *(undefined4 *)((int)&sStackY_50 + iVar2) = 0x33665;
    FUN_00032b00();
    puVar6 = auStack_3c + iVar2;
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  *(undefined **)(puVar6 + -4) = &UNK_000336b6;
  FUN_0007ad20();
}

