
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

int chopup_args(ARGS *arg,char *buf)

{
  ushort **ppuVar1;
  uint uVar2;
  byte *pbVar3;
  byte bVar4;
  int iVar5;
  int iVar6;
  char **local_2c;
  
  arg->argc = 0;
  if (arg->size == 0) {
    arg->size = 0x14;
    local_2c = (char **)app_malloc(0x50,"argv space");
    iVar5 = arg->argc;
    arg->argv = local_2c;
  }
  else {
    local_2c = arg->argv;
    iVar5 = 0;
  }
  bVar4 = *buf;
  while (bVar4 != 0) {
    ppuVar1 = __ctype_b_loc();
    if ((*(byte *)((int)*ppuVar1 + (uint)bVar4 * 2 + 1) & 0x20) == 0) {
      iVar6 = iVar5;
      if (arg->size <= iVar5) {
        iVar5 = arg->size + 0x14;
        arg->size = iVar5;
        local_2c = (char **)CRYPTO_realloc(local_2c,iVar5 * 4,"../apps/apps.c",0x60);
        if (local_2c == (char **)0x0) {
          return 0;
        }
        iVar6 = arg->argc;
        arg->argv = local_2c;
        bVar4 = *buf;
      }
      iVar5 = iVar6 + 1;
      if ((bVar4 == 0x27) || (bVar4 == 0x22)) {
        pbVar3 = (byte *)buf + 1;
        arg->argc = iVar5;
        local_2c[iVar6] = (char *)pbVar3;
        if ((((byte *)buf)[1] != 0) && (((byte *)buf)[1] != bVar4)) {
          do {
            pbVar3 = pbVar3 + 1;
            if (*pbVar3 == bVar4) break;
          } while (*pbVar3 != 0);
        }
        *pbVar3 = 0;
        local_2c = arg->argv;
        buf = (char *)(pbVar3 + 1);
        bVar4 = pbVar3[1];
        iVar5 = arg->argc;
      }
      else {
        arg->argc = iVar5;
        local_2c[iVar6] = buf;
        bVar4 = *buf;
        if (bVar4 == 0) break;
        pbVar3 = (byte *)buf;
        while( true ) {
          uVar2 = (uint)bVar4;
          buf = (char *)(pbVar3 + 1);
          bVar4 = pbVar3[1];
          if ((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0) break;
          pbVar3 = (byte *)buf;
          if (bVar4 == 0) goto LAB_00073532;
        }
        *pbVar3 = 0;
        local_2c = arg->argv;
        iVar5 = arg->argc;
      }
    }
    else {
      bVar4 = ((byte *)buf)[1];
      buf = (char *)((byte *)buf + 1);
    }
  }
LAB_00073532:
  local_2c[iVar5] = (char *)0x0;
  return 1;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 FUN_000734b0(int *param_1,byte *param_2)

{
  undefined4 *puVar1;
  ushort **ppuVar2;
  uint uVar3;
  byte *pbVar4;
  byte bVar5;
  int iVar6;
  int iVar7;
  void *local_2c;
  
  param_1[1] = 0;
  if (*param_1 == 0) {
    *param_1 = 0x14;
    local_2c = (void *)FUN_00073440(0x50,"argv space");
    iVar6 = param_1[1];
    param_1[2] = (int)local_2c;
  }
  else {
    local_2c = (void *)param_1[2];
    iVar6 = 0;
  }
  bVar5 = *param_2;
  while (bVar5 != 0) {
    ppuVar2 = __ctype_b_loc();
    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {
      iVar7 = iVar6;
      if (*param_1 <= iVar6) {
        iVar6 = *param_1 + 0x14;
        *param_1 = iVar6;
        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);
        if (local_2c == (void *)0x0) {
          return 0;
        }
        iVar7 = param_1[1];
        param_1[2] = (int)local_2c;
        bVar5 = *param_2;
      }
      iVar6 = iVar7 + 1;
      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);
      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {
        pbVar4 = param_2 + 1;
        param_1[1] = iVar6;
        *puVar1 = pbVar4;
        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {
          do {
            pbVar4 = pbVar4 + 1;
            if (*pbVar4 == bVar5) break;
          } while (*pbVar4 != 0);
        }
        *pbVar4 = 0;
        local_2c = (void *)param_1[2];
        param_2 = pbVar4 + 1;
        bVar5 = pbVar4[1];
        iVar6 = param_1[1];
      }
      else {
        param_1[1] = iVar6;
        *puVar1 = param_2;
        bVar5 = *param_2;
        if (bVar5 == 0) break;
        pbVar4 = param_2;
        while( true ) {
          uVar3 = (uint)bVar5;
          param_2 = pbVar4 + 1;
          bVar5 = pbVar4[1];
          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;
          pbVar4 = param_2;
          if (bVar5 == 0) goto LAB_00073532;
        }
        *pbVar4 = 0;
        local_2c = (void *)param_1[2];
        iVar6 = param_1[1];
      }
    }
    else {
      bVar5 = param_2[1];
      param_2 = param_2 + 1;
    }
  }
LAB_00073532:
  *(undefined4 *)((int)local_2c + iVar6 * 4) = 0;
  return 1;
}


CALL 0x00033998
ADD EAX,0x495c3
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EDI,dword ptr [ESP + 0x30]
MOV ESI,dword ptr [ESP + 0x34]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [EDI]
MOV dword ptr [EDI + 0x4],0x0
TEST EAX,EAX
JZ 0x00073657
MOV EAX,dword ptr [EDI + 0x8]
XOR EBP,EBP
MOV dword ptr [ESP],EAX
MOV EAX,dword ptr [ESP + 0x8]
MOVZX EDX,byte ptr [ESI]
LEA EAX,[EAX + 0xfffd4f2e]
MOV dword ptr [ESP + 0xc],EAX
LEA ESI,[ESI]
NOP
TEST DL,DL
MOV byte ptr [ESP + 0x4],DL
JZ 0x00073532
MOV EBX,dword ptr [ESP + 0x8]
CALL 0x00029080
MOV ECX,EAX
MOVZX EAX,byte ptr [ESP + 0x4]
MOV EBX,dword ptr [ECX]
MOV EDX,EAX
TEST byte ptr [EBX + EAX*0x2 + 0x1],0x20
JZ 0x00073550
MOVZX EDX,byte ptr [ESI + 0x1]
ADD ESI,0x1
TEST DL,DL
MOV byte ptr [ESP + 0x4],DL
JNZ 0x00073508
MOV EAX,dword ptr [ESP]
MOV dword ptr [EAX + EBP*0x4],0x0
ADD ESP,0x1c
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EDI]
CMP EAX,EBP
JLE 0x00073610
MOV EAX,dword ptr [ESP]
LEA EBX,[EBP + 0x1]
LEA EAX,[EAX + EBP*0x4]
CMP DL,0x27
JZ 0x000735c0
CMP DL,0x22
JZ 0x000735c0
MOV dword ptr [EDI + 0x4],EBX
MOV dword ptr [EAX],ESI
MOVZX EDX,byte ptr [ESI]
TEST DL,DL
JZ 0x00073650
MOV EBP,dword ptr [ECX]
JMP 0x00073592
MOV ESI,EAX
TEST DL,DL
JZ 0x00073650
MOVZX ECX,DL
LEA EAX,[ESI + 0x1]
MOVZX EDX,byte ptr [ESI + 0x1]
TEST byte ptr [EBP + ECX*0x2 + 0x1],0x20
JZ 0x00073588
MOV byte ptr [ESI],0x0
MOV EBX,dword ptr [EDI + 0x8]
MOV ESI,EAX
MOV EBP,dword ptr [EDI + 0x4]
MOV dword ptr [ESP],EBX
JMP 0x00073500
LEA ECX,[ESI + 0x1]
MOV dword ptr [EDI + 0x4],EBX
MOV dword ptr [EAX],ECX
MOVZX EAX,byte ptr [ESI + 0x1]
TEST AL,AL
JZ 0x000735ee
CMP AL,DL
JNZ 0x000735e4
JMP 0x000735ee
TEST AL,AL
JZ 0x000735ee
ADD ECX,0x1
MOVZX EAX,byte ptr [ECX]
CMP AL,DL
JNZ 0x000735e0
MOV byte ptr [ECX],0x0
MOV EAX,dword ptr [EDI + 0x8]
LEA ESI,[ECX + 0x1]
MOVZX EDX,byte ptr [ECX + 0x1]
MOV EBP,dword ptr [EDI + 0x4]
MOV dword ptr [ESP],EAX
JMP 0x00073500
ADD EAX,0x14
MOV dword ptr [ESP + 0x4],ECX
MOV dword ptr [EDI],EAX
SHL EAX,0x2
PUSH 0x60
PUSH dword ptr [ESP + 0x10]
PUSH EAX
PUSH dword ptr [ESP + 0xc]
MOV EBX,dword ptr [ESP + 0x18]
CALL 0x00029e20
MOV dword ptr [ESP + 0x10],EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00073684
MOV EBP,dword ptr [EDI + 0x4]
MOV ECX,dword ptr [ESP + 0x4]
MOV dword ptr [EDI + 0x8],EAX
MOVZX EDX,byte ptr [ESI]
JMP 0x0007355a
MOV EBP,EBX
JMP 0x00073532
SUB ESP,0x8
MOV dword ptr [EDI],0x14
MOV EBX,dword ptr [ESP + 0x10]
LEA EAX,[EBX + 0xfffd4fa9]
PUSH EAX
PUSH 0x50
CALL 0x00073440
MOV EBP,dword ptr [EDI + 0x4]
MOV dword ptr [ESP + 0x10],EAX
ADD ESP,0x10
MOV dword ptr [EDI + 0x8],EAX
JMP 0x000734e6
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined4 FUN_000734b0(int *param_1,byte *param_2)\n\n{\n  undefined4 *puVar1;\n  ushort **ppuVar2;\n  uint uVar3;\n  byte *pbVar4;\n  byte bVar5;\n  int iVar6;\n  int iVar7;\n  void *local_2c;\n  \n  param_1[1] = 0;\n  if (*param_1 == 0) {\n    *param_1 = 0x14;\n    local_2c = (void *)FUN_00073440(0x50,"argv space");\n    iVar6 = param_1[1];\n    param_1[2] = (int)local_2c;\n  }\n  else {\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }\n  bVar5 = *param_2;\n  while (bVar5 != 0) {\n    ppuVar2 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }\n  }\nLAB_00073532:\n  *(undefined4 *)((int)local_2c + iVar6 * 4) = 0;\n  return 1;\n}\n\n" comment (function_definition "undefined4 FUN_000734b0(int *param_1,byte *param_2)\n\n{\n  undefined4 *puVar1;\n  ushort **ppuVar2;\n  uint uVar3;\n  byte *pbVar4;\n  byte bVar5;\n  int iVar6;\n  int iVar7;\n  void *local_2c;\n  \n  param_1[1] = 0;\n  if (*param_1 == 0) {\n    *param_1 = 0x14;\n    local_2c = (void *)FUN_00073440(0x50,"argv space");\n    iVar6 = param_1[1];\n    param_1[2] = (int)local_2c;\n  }\n  else {\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }\n  bVar5 = *param_2;\n  while (bVar5 != 0) {\n    ppuVar2 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }\n  }\nLAB_00073532:\n  *(undefined4 *)((int)local_2c + iVar6 * 4) = 0;\n  return 1;\n}" type_identifier (function_declarator "FUN_000734b0(int *param_1,byte *param_2)" identifier (parameter_list "(int *param_1,byte *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  ushort **ppuVar2;\n  uint uVar3;\n  byte *pbVar4;\n  byte bVar5;\n  int iVar6;\n  int iVar7;\n  void *local_2c;\n  \n  param_1[1] = 0;\n  if (*param_1 == 0) {\n    *param_1 = 0x14;\n    local_2c = (void *)FUN_00073440(0x50,"argv space");\n    iVar6 = param_1[1];\n    param_1[2] = (int)local_2c;\n  }\n  else {\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }\n  bVar5 = *param_2;\n  while (bVar5 != 0) {\n    ppuVar2 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }\n  }\nLAB_00073532:\n  *(undefined4 *)((int)local_2c + iVar6 * 4) = 0;\n  return 1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "ushort **ppuVar2;" type_identifier (pointer_declarator "**ppuVar2" * (pointer_declarator "*ppuVar2" * identifier)) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "void *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (*param_1 == 0) {\n    *param_1 = 0x14;\n    local_2c = (void *)FUN_00073440(0x50,"argv space");\n    iVar6 = param_1[1];\n    param_1[2] = (int)local_2c;\n  }\n  else {\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    *param_1 = 0x14;\n    local_2c = (void *)FUN_00073440(0x50,"argv space");\n    iVar6 = param_1[1];\n    param_1[2] = (int)local_2c;\n  }" { (expression_statement "*param_1 = 0x14;" (assignment_expression "*param_1 = 0x14" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "local_2c = (void *)FUN_00073440(0x50,"argv space");" (assignment_expression "local_2c = (void *)FUN_00073440(0x50,"argv space")" identifier = (cast_expression "(void *)FUN_00073440(0x50,"argv space")" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00073440(0x50,"argv space")" identifier (argument_list "(0x50,"argv space")" ( number_literal , (string_literal ""argv space"" " string_content ") ))))) ;) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = (int)local_2c;" (assignment_expression "param_1[2] = (int)local_2c" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }" else (compound_statement "{\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }" { (expression_statement "local_2c = (void *)param_1[2];" (assignment_expression "local_2c = (void *)param_1[2]" identifier = (cast_expression "(void *)param_1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) (expression_statement "bVar5 = *param_2;" (assignment_expression "bVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (while_statement "while (bVar5 != 0) {\n    ppuVar2 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }\n  }" while (parenthesized_expression "(bVar5 != 0)" ( (binary_expression "bVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    ppuVar2 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }\n  }" { (expression_statement "ppuVar2 = __ctype_b_loc();" (assignment_expression "ppuVar2 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }" if (parenthesized_expression "((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar2 + (uint)bVar5 * 2 + 1)" ( (binary_expression "(int)*ppuVar2 + (uint)bVar5 * 2 + 1" (binary_expression "(int)*ppuVar2 + (uint)bVar5 * 2" (cast_expression "(int)*ppuVar2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar2" * identifier)) + (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }" { (expression_statement "iVar7 = iVar6;" (assignment_expression "iVar7 = iVar6" identifier = identifier) ;) (if_statement "if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }" if (parenthesized_expression "(*param_1 <= iVar6)" ( (binary_expression "*param_1 <= iVar6" (pointer_expression "*param_1" * identifier) <= identifier) )) (compound_statement "{\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }" { (expression_statement "iVar6 = *param_1 + 0x14;" (assignment_expression "iVar6 = *param_1 + 0x14" identifier = (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (expression_statement "*param_1 = iVar6;" (assignment_expression "*param_1 = iVar6" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);" (assignment_expression "local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60)" identifier = (call_expression "CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60)" identifier (argument_list "(local_2c,iVar6 * 4,"../apps/apps.c",0x60)" ( identifier , (binary_expression "iVar6 * 4" identifier * number_literal) , (string_literal ""../apps/apps.c"" " string_content ") , number_literal )))) ;) (if_statement "if (local_2c == (void *)0x0) {\n          return 0;\n        }" if (parenthesized_expression "(local_2c == (void *)0x0)" ( (binary_expression "local_2c == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar7 = param_1[1];" (assignment_expression "iVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = (int)local_2c;" (assignment_expression "param_1[2] = (int)local_2c" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "bVar5 = *param_2;" (assignment_expression "bVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) })) (expression_statement "iVar6 = iVar7 + 1;" (assignment_expression "iVar6 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);" (assignment_expression "puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4)" identifier = (cast_expression "(undefined4 *)((int)local_2c + iVar7 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_2c + iVar7 * 4)" ( (binary_expression "(int)local_2c + iVar7 * 4" (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) ;) (if_statement "if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }" if (parenthesized_expression "((bVar5 == 0x27) || (bVar5 == 0x22))" ( (binary_expression "(bVar5 == 0x27) || (bVar5 == 0x22)" (parenthesized_expression "(bVar5 == 0x27)" ( (binary_expression "bVar5 == 0x27" identifier == number_literal) )) || (parenthesized_expression "(bVar5 == 0x22)" ( (binary_expression "bVar5 == 0x22" identifier == number_literal) ))) )) (compound_statement "{\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }" { (expression_statement "pbVar4 = param_2 + 1;" (assignment_expression "pbVar4 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = pbVar4;" (assignment_expression "*puVar1 = pbVar4" (pointer_expression "*puVar1" * identifier) = identifier) ;) (if_statement "if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }" if (parenthesized_expression "((param_2[1] != 0) && (param_2[1] != bVar5))" ( (binary_expression "(param_2[1] != 0) && (param_2[1] != bVar5)" (parenthesized_expression "(param_2[1] != 0)" ( (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(param_2[1] != bVar5)" ( (binary_expression "param_2[1] != bVar5" (subscript_expression "param_2[1]" identifier [ number_literal ]) != identifier) ))) )) (compound_statement "{\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }" { (do_statement "do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);" do (compound_statement "{\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          }" { (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (if_statement "if (*pbVar4 == bVar5) break;" if (parenthesized_expression "(*pbVar4 == bVar5)" ( (binary_expression "*pbVar4 == bVar5" (pointer_expression "*pbVar4" * identifier) == identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(*pbVar4 != 0)" ( (binary_expression "*pbVar4 != 0" (pointer_expression "*pbVar4" * identifier) != number_literal) )) ;) })) (expression_statement "*pbVar4 = 0;" (assignment_expression "*pbVar4 = 0" (pointer_expression "*pbVar4" * identifier) = number_literal) ;) (expression_statement "local_2c = (void *)param_1[2];" (assignment_expression "local_2c = (void *)param_1[2]" identifier = (cast_expression "(void *)param_1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "param_2 = pbVar4 + 1;" (assignment_expression "param_2 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "bVar5 = pbVar4[1];" (assignment_expression "bVar5 = pbVar4[1]" identifier = (subscript_expression "pbVar4[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }" else (compound_statement "{\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }" { (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = param_2;" (assignment_expression "*puVar1 = param_2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "bVar5 = *param_2;" (assignment_expression "bVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (bVar5 == 0) break;" if (parenthesized_expression "(bVar5 == 0)" ( (binary_expression "bVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar4 = param_2;" (assignment_expression "pbVar4 = param_2" identifier = identifier) ;) (while_statement "while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }" { (expression_statement "uVar3 = (uint)bVar5;" (assignment_expression "uVar3 = (uint)bVar5" identifier = (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "param_2 = pbVar4 + 1;" (assignment_expression "param_2 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "bVar5 = pbVar4[1];" (assignment_expression "bVar5 = pbVar4[1]" identifier = (subscript_expression "pbVar4[1]" identifier [ number_literal ])) ;) (if_statement "if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;" if (parenthesized_expression "((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0)" ( (binary_expression "(*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0" (parenthesized_expression "(*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar2 + uVar3 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar2 + uVar3 * 2 + 1)" ( (binary_expression "(int)*ppuVar2 + uVar3 * 2 + 1" (binary_expression "(int)*ppuVar2 + uVar3 * 2" (cast_expression "(int)*ppuVar2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar2" * identifier)) + (binary_expression "uVar3 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar4 = param_2;" (assignment_expression "pbVar4 = param_2" identifier = identifier) ;) (if_statement "if (bVar5 == 0) goto LAB_00073532;" if (parenthesized_expression "(bVar5 == 0)" ( (binary_expression "bVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00073532;" goto statement_identifier ;)) })) (expression_statement "*pbVar4 = 0;" (assignment_expression "*pbVar4 = 0" (pointer_expression "*pbVar4" * identifier) = number_literal) ;) (expression_statement "local_2c = (void *)param_1[2];" (assignment_expression "local_2c = (void *)param_1[2]" identifier = (cast_expression "(void *)param_1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) }))) }) (else_clause "else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }" else (compound_statement "{\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }" { (expression_statement "bVar5 = param_2[1];" (assignment_expression "bVar5 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) }))) })) (labeled_statement "LAB_00073532:\n  *(undefined4 *)((int)local_2c + iVar6 * 4) = 0;" statement_identifier : (expression_statement "*(undefined4 *)((int)local_2c + iVar6 * 4) = 0;" (assignment_expression "*(undefined4 *)((int)local_2c + iVar6 * 4) = 0" (pointer_expression "*(undefined4 *)((int)local_2c + iVar6 * 4)" * (cast_expression "(undefined4 *)((int)local_2c + iVar6 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_2c + iVar6 * 4)" ( (binary_expression "(int)local_2c + iVar6 * 4" (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar6 * 4" identifier * number_literal)) )))) = number_literal) ;)) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n\nint chopup_args(ARGS *arg,char *buf)\n\n{\n  ushort **ppuVar1;\n  uint uVar2;\n  byte *pbVar3;\n  byte bVar4;\n  int iVar5;\n  int iVar6;\n  char **local_2c;\n  \n  arg->argc = 0;\n  if (arg->size == 0) {\n    arg->size = 0x14;\n    local_2c = (char **)app_malloc(0x50,"argv space");\n    iVar5 = arg->argc;\n    arg->argv = local_2c;\n  }\n  else {\n    local_2c = arg->argv;\n    iVar5 = 0;\n  }\n  bVar4 = *buf;\n  while (bVar4 != 0) {\n    ppuVar1 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar1 + (uint)bVar4 * 2 + 1) & 0x20) == 0) {\n      iVar6 = iVar5;\n      if (arg->size <= iVar5) {\n        iVar5 = arg->size + 0x14;\n        arg->size = iVar5;\n        local_2c = (char **)CRYPTO_realloc(local_2c,iVar5 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (char **)0x0) {\n          return 0;\n        }\n        iVar6 = arg->argc;\n        arg->argv = local_2c;\n        bVar4 = *buf;\n      }\n      iVar5 = iVar6 + 1;\n      if ((bVar4 == 0x27) || (bVar4 == 0x22)) {\n        pbVar3 = (byte *)buf + 1;\n        arg->argc = iVar5;\n        local_2c[iVar6] = (char *)pbVar3;\n        if ((((byte *)buf)[1] != 0) && (((byte *)buf)[1] != bVar4)) {\n          do {\n            pbVar3 = pbVar3 + 1;\n            if (*pbVar3 == bVar4) break;\n          } while (*pbVar3 != 0);\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        buf = (char *)(pbVar3 + 1);\n        bVar4 = pbVar3[1];\n        iVar5 = arg->argc;\n      }\n      else {\n        arg->argc = iVar5;\n        local_2c[iVar6] = buf;\n        bVar4 = *buf;\n        if (bVar4 == 0) break;\n        pbVar3 = (byte *)buf;\n        while( true ) {\n          uVar2 = (uint)bVar4;\n          buf = (char *)(pbVar3 + 1);\n          bVar4 = pbVar3[1];\n          if ((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0) break;\n          pbVar3 = (byte *)buf;\n          if (bVar4 == 0) goto LAB_00073532;\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        iVar5 = arg->argc;\n      }\n    }\n    else {\n      bVar4 = ((byte *)buf)[1];\n      buf = (char *)((byte *)buf + 1);\n    }\n  }\nLAB_00073532:\n  local_2c[iVar5] = (char *)0x0;\n  return 1;\n}\n\n" comment comment (function_definition "int chopup_args(ARGS *arg,char *buf)\n\n{\n  ushort **ppuVar1;\n  uint uVar2;\n  byte *pbVar3;\n  byte bVar4;\n  int iVar5;\n  int iVar6;\n  char **local_2c;\n  \n  arg->argc = 0;\n  if (arg->size == 0) {\n    arg->size = 0x14;\n    local_2c = (char **)app_malloc(0x50,"argv space");\n    iVar5 = arg->argc;\n    arg->argv = local_2c;\n  }\n  else {\n    local_2c = arg->argv;\n    iVar5 = 0;\n  }\n  bVar4 = *buf;\n  while (bVar4 != 0) {\n    ppuVar1 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar1 + (uint)bVar4 * 2 + 1) & 0x20) == 0) {\n      iVar6 = iVar5;\n      if (arg->size <= iVar5) {\n        iVar5 = arg->size + 0x14;\n        arg->size = iVar5;\n        local_2c = (char **)CRYPTO_realloc(local_2c,iVar5 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (char **)0x0) {\n          return 0;\n        }\n        iVar6 = arg->argc;\n        arg->argv = local_2c;\n        bVar4 = *buf;\n      }\n      iVar5 = iVar6 + 1;\n      if ((bVar4 == 0x27) || (bVar4 == 0x22)) {\n        pbVar3 = (byte *)buf + 1;\n        arg->argc = iVar5;\n        local_2c[iVar6] = (char *)pbVar3;\n        if ((((byte *)buf)[1] != 0) && (((byte *)buf)[1] != bVar4)) {\n          do {\n            pbVar3 = pbVar3 + 1;\n            if (*pbVar3 == bVar4) break;\n          } while (*pbVar3 != 0);\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        buf = (char *)(pbVar3 + 1);\n        bVar4 = pbVar3[1];\n        iVar5 = arg->argc;\n      }\n      else {\n        arg->argc = iVar5;\n        local_2c[iVar6] = buf;\n        bVar4 = *buf;\n        if (bVar4 == 0) break;\n        pbVar3 = (byte *)buf;\n        while( true ) {\n          uVar2 = (uint)bVar4;\n          buf = (char *)(pbVar3 + 1);\n          bVar4 = pbVar3[1];\n          if ((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0) break;\n          pbVar3 = (byte *)buf;\n          if (bVar4 == 0) goto LAB_00073532;\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        iVar5 = arg->argc;\n      }\n    }\n    else {\n      bVar4 = ((byte *)buf)[1];\n      buf = (char *)((byte *)buf + 1);\n    }\n  }\nLAB_00073532:\n  local_2c[iVar5] = (char *)0x0;\n  return 1;\n}" primitive_type (function_declarator "chopup_args(ARGS *arg,char *buf)" identifier (parameter_list "(ARGS *arg,char *buf)" ( (parameter_declaration "ARGS *arg" type_identifier (pointer_declarator "*arg" * identifier)) , (parameter_declaration "char *buf" primitive_type (pointer_declarator "*buf" * identifier)) ))) (compound_statement "{\n  ushort **ppuVar1;\n  uint uVar2;\n  byte *pbVar3;\n  byte bVar4;\n  int iVar5;\n  int iVar6;\n  char **local_2c;\n  \n  arg->argc = 0;\n  if (arg->size == 0) {\n    arg->size = 0x14;\n    local_2c = (char **)app_malloc(0x50,"argv space");\n    iVar5 = arg->argc;\n    arg->argv = local_2c;\n  }\n  else {\n    local_2c = arg->argv;\n    iVar5 = 0;\n  }\n  bVar4 = *buf;\n  while (bVar4 != 0) {\n    ppuVar1 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar1 + (uint)bVar4 * 2 + 1) & 0x20) == 0) {\n      iVar6 = iVar5;\n      if (arg->size <= iVar5) {\n        iVar5 = arg->size + 0x14;\n        arg->size = iVar5;\n        local_2c = (char **)CRYPTO_realloc(local_2c,iVar5 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (char **)0x0) {\n          return 0;\n        }\n        iVar6 = arg->argc;\n        arg->argv = local_2c;\n        bVar4 = *buf;\n      }\n      iVar5 = iVar6 + 1;\n      if ((bVar4 == 0x27) || (bVar4 == 0x22)) {\n        pbVar3 = (byte *)buf + 1;\n        arg->argc = iVar5;\n        local_2c[iVar6] = (char *)pbVar3;\n        if ((((byte *)buf)[1] != 0) && (((byte *)buf)[1] != bVar4)) {\n          do {\n            pbVar3 = pbVar3 + 1;\n            if (*pbVar3 == bVar4) break;\n          } while (*pbVar3 != 0);\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        buf = (char *)(pbVar3 + 1);\n        bVar4 = pbVar3[1];\n        iVar5 = arg->argc;\n      }\n      else {\n        arg->argc = iVar5;\n        local_2c[iVar6] = buf;\n        bVar4 = *buf;\n        if (bVar4 == 0) break;\n        pbVar3 = (byte *)buf;\n        while( true ) {\n          uVar2 = (uint)bVar4;\n          buf = (char *)(pbVar3 + 1);\n          bVar4 = pbVar3[1];\n          if ((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0) break;\n          pbVar3 = (byte *)buf;\n          if (bVar4 == 0) goto LAB_00073532;\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        iVar5 = arg->argc;\n      }\n    }\n    else {\n      bVar4 = ((byte *)buf)[1];\n      buf = (char *)((byte *)buf + 1);\n    }\n  }\nLAB_00073532:\n  local_2c[iVar5] = (char *)0x0;\n  return 1;\n}" { (declaration "ushort **ppuVar1;" type_identifier (pointer_declarator "**ppuVar1" * (pointer_declarator "*ppuVar1" * identifier)) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char **local_2c;" primitive_type (pointer_declarator "**local_2c" * (pointer_declarator "*local_2c" * identifier)) ;) (expression_statement "arg->argc = 0;" (assignment_expression "arg->argc = 0" (field_expression "arg->argc" identifier -> field_identifier) = number_literal) ;) (if_statement "if (arg->size == 0) {\n    arg->size = 0x14;\n    local_2c = (char **)app_malloc(0x50,"argv space");\n    iVar5 = arg->argc;\n    arg->argv = local_2c;\n  }\n  else {\n    local_2c = arg->argv;\n    iVar5 = 0;\n  }" if (parenthesized_expression "(arg->size == 0)" ( (binary_expression "arg->size == 0" (field_expression "arg->size" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    arg->size = 0x14;\n    local_2c = (char **)app_malloc(0x50,"argv space");\n    iVar5 = arg->argc;\n    arg->argv = local_2c;\n  }" { (expression_statement "arg->size = 0x14;" (assignment_expression "arg->size = 0x14" (field_expression "arg->size" identifier -> field_identifier) = number_literal) ;) (expression_statement "local_2c = (char **)app_malloc(0x50,"argv space");" (assignment_expression "local_2c = (char **)app_malloc(0x50,"argv space")" identifier = (cast_expression "(char **)app_malloc(0x50,"argv space")" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "app_malloc(0x50,"argv space")" identifier (argument_list "(0x50,"argv space")" ( number_literal , (string_literal ""argv space"" " string_content ") ))))) ;) (expression_statement "iVar5 = arg->argc;" (assignment_expression "iVar5 = arg->argc" identifier = (field_expression "arg->argc" identifier -> field_identifier)) ;) (expression_statement "arg->argv = local_2c;" (assignment_expression "arg->argv = local_2c" (field_expression "arg->argv" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n    local_2c = arg->argv;\n    iVar5 = 0;\n  }" else (compound_statement "{\n    local_2c = arg->argv;\n    iVar5 = 0;\n  }" { (expression_statement "local_2c = arg->argv;" (assignment_expression "local_2c = arg->argv" identifier = (field_expression "arg->argv" identifier -> field_identifier)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) }))) (expression_statement "bVar4 = *buf;" (assignment_expression "bVar4 = *buf" identifier = (pointer_expression "*buf" * identifier)) ;) (while_statement "while (bVar4 != 0) {\n    ppuVar1 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar1 + (uint)bVar4 * 2 + 1) & 0x20) == 0) {\n      iVar6 = iVar5;\n      if (arg->size <= iVar5) {\n        iVar5 = arg->size + 0x14;\n        arg->size = iVar5;\n        local_2c = (char **)CRYPTO_realloc(local_2c,iVar5 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (char **)0x0) {\n          return 0;\n        }\n        iVar6 = arg->argc;\n        arg->argv = local_2c;\n        bVar4 = *buf;\n      }\n      iVar5 = iVar6 + 1;\n      if ((bVar4 == 0x27) || (bVar4 == 0x22)) {\n        pbVar3 = (byte *)buf + 1;\n        arg->argc = iVar5;\n        local_2c[iVar6] = (char *)pbVar3;\n        if ((((byte *)buf)[1] != 0) && (((byte *)buf)[1] != bVar4)) {\n          do {\n            pbVar3 = pbVar3 + 1;\n            if (*pbVar3 == bVar4) break;\n          } while (*pbVar3 != 0);\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        buf = (char *)(pbVar3 + 1);\n        bVar4 = pbVar3[1];\n        iVar5 = arg->argc;\n      }\n      else {\n        arg->argc = iVar5;\n        local_2c[iVar6] = buf;\n        bVar4 = *buf;\n        if (bVar4 == 0) break;\n        pbVar3 = (byte *)buf;\n        while( true ) {\n          uVar2 = (uint)bVar4;\n          buf = (char *)(pbVar3 + 1);\n          bVar4 = pbVar3[1];\n          if ((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0) break;\n          pbVar3 = (byte *)buf;\n          if (bVar4 == 0) goto LAB_00073532;\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        iVar5 = arg->argc;\n      }\n    }\n    else {\n      bVar4 = ((byte *)buf)[1];\n      buf = (char *)((byte *)buf + 1);\n    }\n  }" while (parenthesized_expression "(bVar4 != 0)" ( (binary_expression "bVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    ppuVar1 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar1 + (uint)bVar4 * 2 + 1) & 0x20) == 0) {\n      iVar6 = iVar5;\n      if (arg->size <= iVar5) {\n        iVar5 = arg->size + 0x14;\n        arg->size = iVar5;\n        local_2c = (char **)CRYPTO_realloc(local_2c,iVar5 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (char **)0x0) {\n          return 0;\n        }\n        iVar6 = arg->argc;\n        arg->argv = local_2c;\n        bVar4 = *buf;\n      }\n      iVar5 = iVar6 + 1;\n      if ((bVar4 == 0x27) || (bVar4 == 0x22)) {\n        pbVar3 = (byte *)buf + 1;\n        arg->argc = iVar5;\n        local_2c[iVar6] = (char *)pbVar3;\n        if ((((byte *)buf)[1] != 0) && (((byte *)buf)[1] != bVar4)) {\n          do {\n            pbVar3 = pbVar3 + 1;\n            if (*pbVar3 == bVar4) break;\n          } while (*pbVar3 != 0);\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        buf = (char *)(pbVar3 + 1);\n        bVar4 = pbVar3[1];\n        iVar5 = arg->argc;\n      }\n      else {\n        arg->argc = iVar5;\n        local_2c[iVar6] = buf;\n        bVar4 = *buf;\n        if (bVar4 == 0) break;\n        pbVar3 = (byte *)buf;\n        while( true ) {\n          uVar2 = (uint)bVar4;\n          buf = (char *)(pbVar3 + 1);\n          bVar4 = pbVar3[1];\n          if ((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0) break;\n          pbVar3 = (byte *)buf;\n          if (bVar4 == 0) goto LAB_00073532;\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        iVar5 = arg->argc;\n      }\n    }\n    else {\n      bVar4 = ((byte *)buf)[1];\n      buf = (char *)((byte *)buf + 1);\n    }\n  }" { (expression_statement "ppuVar1 = __ctype_b_loc();" (assignment_expression "ppuVar1 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((*(byte *)((int)*ppuVar1 + (uint)bVar4 * 2 + 1) & 0x20) == 0) {\n      iVar6 = iVar5;\n      if (arg->size <= iVar5) {\n        iVar5 = arg->size + 0x14;\n        arg->size = iVar5;\n        local_2c = (char **)CRYPTO_realloc(local_2c,iVar5 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (char **)0x0) {\n          return 0;\n        }\n        iVar6 = arg->argc;\n        arg->argv = local_2c;\n        bVar4 = *buf;\n      }\n      iVar5 = iVar6 + 1;\n      if ((bVar4 == 0x27) || (bVar4 == 0x22)) {\n        pbVar3 = (byte *)buf + 1;\n        arg->argc = iVar5;\n        local_2c[iVar6] = (char *)pbVar3;\n        if ((((byte *)buf)[1] != 0) && (((byte *)buf)[1] != bVar4)) {\n          do {\n            pbVar3 = pbVar3 + 1;\n            if (*pbVar3 == bVar4) break;\n          } while (*pbVar3 != 0);\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        buf = (char *)(pbVar3 + 1);\n        bVar4 = pbVar3[1];\n        iVar5 = arg->argc;\n      }\n      else {\n        arg->argc = iVar5;\n        local_2c[iVar6] = buf;\n        bVar4 = *buf;\n        if (bVar4 == 0) break;\n        pbVar3 = (byte *)buf;\n        while( true ) {\n          uVar2 = (uint)bVar4;\n          buf = (char *)(pbVar3 + 1);\n          bVar4 = pbVar3[1];\n          if ((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0) break;\n          pbVar3 = (byte *)buf;\n          if (bVar4 == 0) goto LAB_00073532;\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        iVar5 = arg->argc;\n      }\n    }\n    else {\n      bVar4 = ((byte *)buf)[1];\n      buf = (char *)((byte *)buf + 1);\n    }" if (parenthesized_expression "((*(byte *)((int)*ppuVar1 + (uint)bVar4 * 2 + 1) & 0x20) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar1 + (uint)bVar4 * 2 + 1) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar1 + (uint)bVar4 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)*ppuVar1 + (uint)bVar4 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)*ppuVar1 + (uint)bVar4 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar1 + (uint)bVar4 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar1 + (uint)bVar4 * 2 + 1)" ( (binary_expression "(int)*ppuVar1 + (uint)bVar4 * 2 + 1" (binary_expression "(int)*ppuVar1 + (uint)bVar4 * 2" (cast_expression "(int)*ppuVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar1" * identifier)) + (binary_expression "(uint)bVar4 * 2" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      iVar6 = iVar5;\n      if (arg->size <= iVar5) {\n        iVar5 = arg->size + 0x14;\n        arg->size = iVar5;\n        local_2c = (char **)CRYPTO_realloc(local_2c,iVar5 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (char **)0x0) {\n          return 0;\n        }\n        iVar6 = arg->argc;\n        arg->argv = local_2c;\n        bVar4 = *buf;\n      }\n      iVar5 = iVar6 + 1;\n      if ((bVar4 == 0x27) || (bVar4 == 0x22)) {\n        pbVar3 = (byte *)buf + 1;\n        arg->argc = iVar5;\n        local_2c[iVar6] = (char *)pbVar3;\n        if ((((byte *)buf)[1] != 0) && (((byte *)buf)[1] != bVar4)) {\n          do {\n            pbVar3 = pbVar3 + 1;\n            if (*pbVar3 == bVar4) break;\n          } while (*pbVar3 != 0);\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        buf = (char *)(pbVar3 + 1);\n        bVar4 = pbVar3[1];\n        iVar5 = arg->argc;\n      }\n      else {\n        arg->argc = iVar5;\n        local_2c[iVar6] = buf;\n        bVar4 = *buf;\n        if (bVar4 == 0) break;\n        pbVar3 = (byte *)buf;\n        while( true ) {\n          uVar2 = (uint)bVar4;\n          buf = (char *)(pbVar3 + 1);\n          bVar4 = pbVar3[1];\n          if ((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0) break;\n          pbVar3 = (byte *)buf;\n          if (bVar4 == 0) goto LAB_00073532;\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        iVar5 = arg->argc;\n      }\n    }" { (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" identifier = identifier) ;) (if_statement "if (arg->size <= iVar5) {\n        iVar5 = arg->size + 0x14;\n        arg->size = iVar5;\n        local_2c = (char **)CRYPTO_realloc(local_2c,iVar5 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (char **)0x0) {\n          return 0;\n        }\n        iVar6 = arg->argc;\n        arg->argv = local_2c;\n        bVar4 = *buf;\n      }" if (parenthesized_expression "(arg->size <= iVar5)" ( (binary_expression "arg->size <= iVar5" (field_expression "arg->size" identifier -> field_identifier) <= identifier) )) (compound_statement "{\n        iVar5 = arg->size + 0x14;\n        arg->size = iVar5;\n        local_2c = (char **)CRYPTO_realloc(local_2c,iVar5 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (char **)0x0) {\n          return 0;\n        }\n        iVar6 = arg->argc;\n        arg->argv = local_2c;\n        bVar4 = *buf;\n      }" { (expression_statement "iVar5 = arg->size + 0x14;" (assignment_expression "iVar5 = arg->size + 0x14" identifier = (binary_expression "arg->size + 0x14" (field_expression "arg->size" identifier -> field_identifier) + number_literal)) ;) (expression_statement "arg->size = iVar5;" (assignment_expression "arg->size = iVar5" (field_expression "arg->size" identifier -> field_identifier) = identifier) ;) (expression_statement "local_2c = (char **)CRYPTO_realloc(local_2c,iVar5 * 4,"../apps/apps.c",0x60);" (assignment_expression "local_2c = (char **)CRYPTO_realloc(local_2c,iVar5 * 4,"../apps/apps.c",0x60)" identifier = (cast_expression "(char **)CRYPTO_realloc(local_2c,iVar5 * 4,"../apps/apps.c",0x60)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "CRYPTO_realloc(local_2c,iVar5 * 4,"../apps/apps.c",0x60)" identifier (argument_list "(local_2c,iVar5 * 4,"../apps/apps.c",0x60)" ( identifier , (binary_expression "iVar5 * 4" identifier * number_literal) , (string_literal ""../apps/apps.c"" " string_content ") , number_literal ))))) ;) (if_statement "if (local_2c == (char **)0x0) {\n          return 0;\n        }" if (parenthesized_expression "(local_2c == (char **)0x0)" ( (binary_expression "local_2c == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar6 = arg->argc;" (assignment_expression "iVar6 = arg->argc" identifier = (field_expression "arg->argc" identifier -> field_identifier)) ;) (expression_statement "arg->argv = local_2c;" (assignment_expression "arg->argv = local_2c" (field_expression "arg->argv" identifier -> field_identifier) = identifier) ;) (expression_statement "bVar4 = *buf;" (assignment_expression "bVar4 = *buf" identifier = (pointer_expression "*buf" * identifier)) ;) })) (expression_statement "iVar5 = iVar6 + 1;" (assignment_expression "iVar5 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if ((bVar4 == 0x27) || (bVar4 == 0x22)) {\n        pbVar3 = (byte *)buf + 1;\n        arg->argc = iVar5;\n        local_2c[iVar6] = (char *)pbVar3;\n        if ((((byte *)buf)[1] != 0) && (((byte *)buf)[1] != bVar4)) {\n          do {\n            pbVar3 = pbVar3 + 1;\n            if (*pbVar3 == bVar4) break;\n          } while (*pbVar3 != 0);\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        buf = (char *)(pbVar3 + 1);\n        bVar4 = pbVar3[1];\n        iVar5 = arg->argc;\n      }\n      else {\n        arg->argc = iVar5;\n        local_2c[iVar6] = buf;\n        bVar4 = *buf;\n        if (bVar4 == 0) break;\n        pbVar3 = (byte *)buf;\n        while( true ) {\n          uVar2 = (uint)bVar4;\n          buf = (char *)(pbVar3 + 1);\n          bVar4 = pbVar3[1];\n          if ((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0) break;\n          pbVar3 = (byte *)buf;\n          if (bVar4 == 0) goto LAB_00073532;\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        iVar5 = arg->argc;\n      }" if (parenthesized_expression "((bVar4 == 0x27) || (bVar4 == 0x22))" ( (binary_expression "(bVar4 == 0x27) || (bVar4 == 0x22)" (parenthesized_expression "(bVar4 == 0x27)" ( (binary_expression "bVar4 == 0x27" identifier == number_literal) )) || (parenthesized_expression "(bVar4 == 0x22)" ( (binary_expression "bVar4 == 0x22" identifier == number_literal) ))) )) (compound_statement "{\n        pbVar3 = (byte *)buf + 1;\n        arg->argc = iVar5;\n        local_2c[iVar6] = (char *)pbVar3;\n        if ((((byte *)buf)[1] != 0) && (((byte *)buf)[1] != bVar4)) {\n          do {\n            pbVar3 = pbVar3 + 1;\n            if (*pbVar3 == bVar4) break;\n          } while (*pbVar3 != 0);\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        buf = (char *)(pbVar3 + 1);\n        bVar4 = pbVar3[1];\n        iVar5 = arg->argc;\n      }" { (expression_statement "pbVar3 = (byte *)buf + 1;" (assignment_expression "pbVar3 = (byte *)buf + 1" identifier = (binary_expression "(byte *)buf + 1" (cast_expression "(byte *)buf" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal)) ;) (expression_statement "arg->argc = iVar5;" (assignment_expression "arg->argc = iVar5" (field_expression "arg->argc" identifier -> field_identifier) = identifier) ;) (expression_statement "local_2c[iVar6] = (char *)pbVar3;" (assignment_expression "local_2c[iVar6] = (char *)pbVar3" (subscript_expression "local_2c[iVar6]" identifier [ identifier ]) = (cast_expression "(char *)pbVar3" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if ((((byte *)buf)[1] != 0) && (((byte *)buf)[1] != bVar4)) {\n          do {\n            pbVar3 = pbVar3 + 1;\n            if (*pbVar3 == bVar4) break;\n          } while (*pbVar3 != 0);\n        }" if (parenthesized_expression "((((byte *)buf)[1] != 0) && (((byte *)buf)[1] != bVar4))" ( (binary_expression "(((byte *)buf)[1] != 0) && (((byte *)buf)[1] != bVar4)" (parenthesized_expression "(((byte *)buf)[1] != 0)" ( (binary_expression "((byte *)buf)[1] != 0" (subscript_expression "((byte *)buf)[1]" (parenthesized_expression "((byte *)buf)" ( (cast_expression "(byte *)buf" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) [ number_literal ]) != number_literal) )) && (parenthesized_expression "(((byte *)buf)[1] != bVar4)" ( (binary_expression "((byte *)buf)[1] != bVar4" (subscript_expression "((byte *)buf)[1]" (parenthesized_expression "((byte *)buf)" ( (cast_expression "(byte *)buf" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) [ number_literal ]) != identifier) ))) )) (compound_statement "{\n          do {\n            pbVar3 = pbVar3 + 1;\n            if (*pbVar3 == bVar4) break;\n          } while (*pbVar3 != 0);\n        }" { (do_statement "do {\n            pbVar3 = pbVar3 + 1;\n            if (*pbVar3 == bVar4) break;\n          } while (*pbVar3 != 0);" do (compound_statement "{\n            pbVar3 = pbVar3 + 1;\n            if (*pbVar3 == bVar4) break;\n          }" { (expression_statement "pbVar3 = pbVar3 + 1;" (assignment_expression "pbVar3 = pbVar3 + 1" identifier = (binary_expression "pbVar3 + 1" identifier + number_literal)) ;) (if_statement "if (*pbVar3 == bVar4) break;" if (parenthesized_expression "(*pbVar3 == bVar4)" ( (binary_expression "*pbVar3 == bVar4" (pointer_expression "*pbVar3" * identifier) == identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(*pbVar3 != 0)" ( (binary_expression "*pbVar3 != 0" (pointer_expression "*pbVar3" * identifier) != number_literal) )) ;) })) (expression_statement "*pbVar3 = 0;" (assignment_expression "*pbVar3 = 0" (pointer_expression "*pbVar3" * identifier) = number_literal) ;) (expression_statement "local_2c = arg->argv;" (assignment_expression "local_2c = arg->argv" identifier = (field_expression "arg->argv" identifier -> field_identifier)) ;) (expression_statement "buf = (char *)(pbVar3 + 1);" (assignment_expression "buf = (char *)(pbVar3 + 1)" identifier = (cast_expression "(char *)(pbVar3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar3 + 1)" ( (binary_expression "pbVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "bVar4 = pbVar3[1];" (assignment_expression "bVar4 = pbVar3[1]" identifier = (subscript_expression "pbVar3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = arg->argc;" (assignment_expression "iVar5 = arg->argc" identifier = (field_expression "arg->argc" identifier -> field_identifier)) ;) }) (else_clause "else {\n        arg->argc = iVar5;\n        local_2c[iVar6] = buf;\n        bVar4 = *buf;\n        if (bVar4 == 0) break;\n        pbVar3 = (byte *)buf;\n        while( true ) {\n          uVar2 = (uint)bVar4;\n          buf = (char *)(pbVar3 + 1);\n          bVar4 = pbVar3[1];\n          if ((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0) break;\n          pbVar3 = (byte *)buf;\n          if (bVar4 == 0) goto LAB_00073532;\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        iVar5 = arg->argc;\n      }" else (compound_statement "{\n        arg->argc = iVar5;\n        local_2c[iVar6] = buf;\n        bVar4 = *buf;\n        if (bVar4 == 0) break;\n        pbVar3 = (byte *)buf;\n        while( true ) {\n          uVar2 = (uint)bVar4;\n          buf = (char *)(pbVar3 + 1);\n          bVar4 = pbVar3[1];\n          if ((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0) break;\n          pbVar3 = (byte *)buf;\n          if (bVar4 == 0) goto LAB_00073532;\n        }\n        *pbVar3 = 0;\n        local_2c = arg->argv;\n        iVar5 = arg->argc;\n      }" { (expression_statement "arg->argc = iVar5;" (assignment_expression "arg->argc = iVar5" (field_expression "arg->argc" identifier -> field_identifier) = identifier) ;) (expression_statement "local_2c[iVar6] = buf;" (assignment_expression "local_2c[iVar6] = buf" (subscript_expression "local_2c[iVar6]" identifier [ identifier ]) = identifier) ;) (expression_statement "bVar4 = *buf;" (assignment_expression "bVar4 = *buf" identifier = (pointer_expression "*buf" * identifier)) ;) (if_statement "if (bVar4 == 0) break;" if (parenthesized_expression "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar3 = (byte *)buf;" (assignment_expression "pbVar3 = (byte *)buf" identifier = (cast_expression "(byte *)buf" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while( true ) {\n          uVar2 = (uint)bVar4;\n          buf = (char *)(pbVar3 + 1);\n          bVar4 = pbVar3[1];\n          if ((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0) break;\n          pbVar3 = (byte *)buf;\n          if (bVar4 == 0) goto LAB_00073532;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          uVar2 = (uint)bVar4;\n          buf = (char *)(pbVar3 + 1);\n          bVar4 = pbVar3[1];\n          if ((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0) break;\n          pbVar3 = (byte *)buf;\n          if (bVar4 == 0) goto LAB_00073532;\n        }" { (expression_statement "uVar2 = (uint)bVar4;" (assignment_expression "uVar2 = (uint)bVar4" identifier = (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "buf = (char *)(pbVar3 + 1);" (assignment_expression "buf = (char *)(pbVar3 + 1)" identifier = (cast_expression "(char *)(pbVar3 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar3 + 1)" ( (binary_expression "pbVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "bVar4 = pbVar3[1];" (assignment_expression "bVar4 = pbVar3[1]" identifier = (subscript_expression "pbVar3[1]" identifier [ number_literal ])) ;) (if_statement "if ((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0) break;" if (parenthesized_expression "((*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0)" ( (binary_expression "(*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20) != 0" (parenthesized_expression "(*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)*ppuVar1 + uVar2 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar1 + uVar2 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar1 + uVar2 * 2 + 1)" ( (binary_expression "(int)*ppuVar1 + uVar2 * 2 + 1" (binary_expression "(int)*ppuVar1 + uVar2 * 2" (cast_expression "(int)*ppuVar1" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar1" * identifier)) + (binary_expression "uVar2 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar3 = (byte *)buf;" (assignment_expression "pbVar3 = (byte *)buf" identifier = (cast_expression "(byte *)buf" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (bVar4 == 0) goto LAB_00073532;" if (parenthesized_expression "(bVar4 == 0)" ( (binary_expression "bVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00073532;" goto statement_identifier ;)) })) (expression_statement "*pbVar3 = 0;" (assignment_expression "*pbVar3 = 0" (pointer_expression "*pbVar3" * identifier) = number_literal) ;) (expression_statement "local_2c = arg->argv;" (assignment_expression "local_2c = arg->argv" identifier = (field_expression "arg->argv" identifier -> field_identifier)) ;) (expression_statement "iVar5 = arg->argc;" (assignment_expression "iVar5 = arg->argc" identifier = (field_expression "arg->argc" identifier -> field_identifier)) ;) }))) }) (else_clause "else {\n      bVar4 = ((byte *)buf)[1];\n      buf = (char *)((byte *)buf + 1);\n    }" else (compound_statement "{\n      bVar4 = ((byte *)buf)[1];\n      buf = (char *)((byte *)buf + 1);\n    }" { (expression_statement "bVar4 = ((byte *)buf)[1];" (assignment_expression "bVar4 = ((byte *)buf)[1]" identifier = (subscript_expression "((byte *)buf)[1]" (parenthesized_expression "((byte *)buf)" ( (cast_expression "(byte *)buf" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) [ number_literal ])) ;) (expression_statement "buf = (char *)((byte *)buf + 1);" (assignment_expression "buf = (char *)((byte *)buf + 1)" identifier = (cast_expression "(char *)((byte *)buf + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte *)buf + 1)" ( (binary_expression "(byte *)buf + 1" (cast_expression "(byte *)buf" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) )))) ;) }))) })) (labeled_statement "LAB_00073532:\n  local_2c[iVar5] = (char *)0x0;" statement_identifier : (expression_statement "local_2c[iVar5] = (char *)0x0;" (assignment_expression "local_2c[iVar5] = (char *)0x0" (subscript_expression "local_2c[iVar5]" identifier [ identifier ]) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 FUN_000734b0(int *param_1,byte *param_2)\n\n{\n  undefined4 *puVar1;\n  ushort **ppuVar2;\n  uint uVar3;\n  byte *pbVar4;\n  byte bVar5;\n  int iVar6;\n  int iVar7;\n  void *local_2c;\n  \n  param_1[1] = 0;\n  if (*param_1 == 0) {\n    *param_1 = 0x14;\n    local_2c = (void *)FUN_00073440(0x50,"argv space");\n    iVar6 = param_1[1];\n    param_1[2] = (int)local_2c;\n  }\n  else {\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }\n  bVar5 = *param_2;\n  while (bVar5 != 0) {\n    ppuVar2 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }\n  }\nLAB_00073532:\n  *(undefined4 *)((int)local_2c + iVar6 * 4) = 0;\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_000734b0(int *param_1,byte *param_2)\n\n{\n  undefined4 *puVar1;\n  ushort **ppuVar2;\n  uint uVar3;\n  byte *pbVar4;\n  byte bVar5;\n  int iVar6;\n  int iVar7;\n  void *local_2c;\n  \n  param_1[1] = 0;\n  if (*param_1 == 0) {\n    *param_1 = 0x14;\n    local_2c = (void *)FUN_00073440(0x50,"argv space");\n    iVar6 = param_1[1];\n    param_1[2] = (int)local_2c;\n  }\n  else {\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }\n  bVar5 = *param_2;\n  while (bVar5 != 0) {\n    ppuVar2 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }\n  }\nLAB_00073532:\n  *(undefined4 *)((int)local_2c + iVar6 * 4) = 0;\n  return 1;\n}" type_identifier (function_declarator "FUN_000734b0(int *param_1,byte *param_2)" identifier (parameter_list "(int *param_1,byte *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  ushort **ppuVar2;\n  uint uVar3;\n  byte *pbVar4;\n  byte bVar5;\n  int iVar6;\n  int iVar7;\n  void *local_2c;\n  \n  param_1[1] = 0;\n  if (*param_1 == 0) {\n    *param_1 = 0x14;\n    local_2c = (void *)FUN_00073440(0x50,"argv space");\n    iVar6 = param_1[1];\n    param_1[2] = (int)local_2c;\n  }\n  else {\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }\n  bVar5 = *param_2;\n  while (bVar5 != 0) {\n    ppuVar2 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }\n  }\nLAB_00073532:\n  *(undefined4 *)((int)local_2c + iVar6 * 4) = 0;\n  return 1;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "ushort **ppuVar2;" type_identifier (pointer_declarator "**ppuVar2" * (pointer_declarator "*ppuVar2" * identifier)) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "void *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (*param_1 == 0) {\n    *param_1 = 0x14;\n    local_2c = (void *)FUN_00073440(0x50,"argv space");\n    iVar6 = param_1[1];\n    param_1[2] = (int)local_2c;\n  }\n  else {\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    *param_1 = 0x14;\n    local_2c = (void *)FUN_00073440(0x50,"argv space");\n    iVar6 = param_1[1];\n    param_1[2] = (int)local_2c;\n  }" { (expression_statement "*param_1 = 0x14;" (assignment_expression "*param_1 = 0x14" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "local_2c = (void *)FUN_00073440(0x50,"argv space");" (assignment_expression "local_2c = (void *)FUN_00073440(0x50,"argv space")" identifier = (cast_expression "(void *)FUN_00073440(0x50,"argv space")" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00073440(0x50,"argv space")" identifier (argument_list "(0x50,"argv space")" ( number_literal , (string_literal ""argv space"" " string_content ") ))))) ;) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = (int)local_2c;" (assignment_expression "param_1[2] = (int)local_2c" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }" else (compound_statement "{\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }" { (expression_statement "local_2c = (void *)param_1[2];" (assignment_expression "local_2c = (void *)param_1[2]" identifier = (cast_expression "(void *)param_1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) }))) (expression_statement "bVar5 = *param_2;" (assignment_expression "bVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (while_statement "while (bVar5 != 0) {\n    ppuVar2 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }\n  }" while (parenthesized_expression "(bVar5 != 0)" ( (binary_expression "bVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    ppuVar2 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }\n  }" { (expression_statement "ppuVar2 = __ctype_b_loc();" (assignment_expression "ppuVar2 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }" if (parenthesized_expression "((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar2 + (uint)bVar5 * 2 + 1)" ( (binary_expression "(int)*ppuVar2 + (uint)bVar5 * 2 + 1" (binary_expression "(int)*ppuVar2 + (uint)bVar5 * 2" (cast_expression "(int)*ppuVar2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar2" * identifier)) + (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }" { (expression_statement "iVar7 = iVar6;" (assignment_expression "iVar7 = iVar6" identifier = identifier) ;) (if_statement "if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }" if (parenthesized_expression "(*param_1 <= iVar6)" ( (binary_expression "*param_1 <= iVar6" (pointer_expression "*param_1" * identifier) <= identifier) )) (compound_statement "{\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }" { (expression_statement "iVar6 = *param_1 + 0x14;" (assignment_expression "iVar6 = *param_1 + 0x14" identifier = (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" * identifier) + number_literal)) ;) (expression_statement "*param_1 = iVar6;" (assignment_expression "*param_1 = iVar6" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);" (assignment_expression "local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60)" identifier = (call_expression "CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60)" identifier (argument_list "(local_2c,iVar6 * 4,"../apps/apps.c",0x60)" ( identifier , (binary_expression "iVar6 * 4" identifier * number_literal) , (string_literal ""../apps/apps.c"" " string_content ") , number_literal )))) ;) (if_statement "if (local_2c == (void *)0x0) {\n          return 0;\n        }" if (parenthesized_expression "(local_2c == (void *)0x0)" ( (binary_expression "local_2c == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return 0;\n        }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar7 = param_1[1];" (assignment_expression "iVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = (int)local_2c;" (assignment_expression "param_1[2] = (int)local_2c" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "bVar5 = *param_2;" (assignment_expression "bVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) })) (expression_statement "iVar6 = iVar7 + 1;" (assignment_expression "iVar6 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);" (assignment_expression "puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4)" identifier = (cast_expression "(undefined4 *)((int)local_2c + iVar7 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_2c + iVar7 * 4)" ( (binary_expression "(int)local_2c + iVar7 * 4" (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) ;) (if_statement "if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }" if (parenthesized_expression "((bVar5 == 0x27) || (bVar5 == 0x22))" ( (binary_expression "(bVar5 == 0x27) || (bVar5 == 0x22)" (parenthesized_expression "(bVar5 == 0x27)" ( (binary_expression "bVar5 == 0x27" identifier == number_literal) )) || (parenthesized_expression "(bVar5 == 0x22)" ( (binary_expression "bVar5 == 0x22" identifier == number_literal) ))) )) (compound_statement "{\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }" { (expression_statement "pbVar4 = param_2 + 1;" (assignment_expression "pbVar4 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = pbVar4;" (assignment_expression "*puVar1 = pbVar4" (pointer_expression "*puVar1" * identifier) = identifier) ;) (if_statement "if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }" if (parenthesized_expression "((param_2[1] != 0) && (param_2[1] != bVar5))" ( (binary_expression "(param_2[1] != 0) && (param_2[1] != bVar5)" (parenthesized_expression "(param_2[1] != 0)" ( (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(param_2[1] != bVar5)" ( (binary_expression "param_2[1] != bVar5" (subscript_expression "param_2[1]" identifier [ number_literal ]) != identifier) ))) )) (compound_statement "{\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }" { (do_statement "do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);" do (compound_statement "{\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          }" { (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (if_statement "if (*pbVar4 == bVar5) break;" if (parenthesized_expression "(*pbVar4 == bVar5)" ( (binary_expression "*pbVar4 == bVar5" (pointer_expression "*pbVar4" * identifier) == identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(*pbVar4 != 0)" ( (binary_expression "*pbVar4 != 0" (pointer_expression "*pbVar4" * identifier) != number_literal) )) ;) })) (expression_statement "*pbVar4 = 0;" (assignment_expression "*pbVar4 = 0" (pointer_expression "*pbVar4" * identifier) = number_literal) ;) (expression_statement "local_2c = (void *)param_1[2];" (assignment_expression "local_2c = (void *)param_1[2]" identifier = (cast_expression "(void *)param_1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "param_2 = pbVar4 + 1;" (assignment_expression "param_2 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "bVar5 = pbVar4[1];" (assignment_expression "bVar5 = pbVar4[1]" identifier = (subscript_expression "pbVar4[1]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }" else (compound_statement "{\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }" { (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar1 = param_2;" (assignment_expression "*puVar1 = param_2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "bVar5 = *param_2;" (assignment_expression "bVar5 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (bVar5 == 0) break;" if (parenthesized_expression "(bVar5 == 0)" ( (binary_expression "bVar5 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar4 = param_2;" (assignment_expression "pbVar4 = param_2" identifier = identifier) ;) (while_statement "while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }" { (expression_statement "uVar3 = (uint)bVar5;" (assignment_expression "uVar3 = (uint)bVar5" identifier = (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "param_2 = pbVar4 + 1;" (assignment_expression "param_2 = pbVar4 + 1" identifier = (binary_expression "pbVar4 + 1" identifier + number_literal)) ;) (expression_statement "bVar5 = pbVar4[1];" (assignment_expression "bVar5 = pbVar4[1]" identifier = (subscript_expression "pbVar4[1]" identifier [ number_literal ])) ;) (if_statement "if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;" if (parenthesized_expression "((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0)" ( (binary_expression "(*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0" (parenthesized_expression "(*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar2 + uVar3 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar2 + uVar3 * 2 + 1)" ( (binary_expression "(int)*ppuVar2 + uVar3 * 2 + 1" (binary_expression "(int)*ppuVar2 + uVar3 * 2" (cast_expression "(int)*ppuVar2" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar2" * identifier)) + (binary_expression "uVar3 * 2" identifier * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar4 = param_2;" (assignment_expression "pbVar4 = param_2" identifier = identifier) ;) (if_statement "if (bVar5 == 0) goto LAB_00073532;" if (parenthesized_expression "(bVar5 == 0)" ( (binary_expression "bVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00073532;" goto statement_identifier ;)) })) (expression_statement "*pbVar4 = 0;" (assignment_expression "*pbVar4 = 0" (pointer_expression "*pbVar4" * identifier) = number_literal) ;) (expression_statement "local_2c = (void *)param_1[2];" (assignment_expression "local_2c = (void *)param_1[2]" identifier = (cast_expression "(void *)param_1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) }))) }) (else_clause "else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }" else (compound_statement "{\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }" { (expression_statement "bVar5 = param_2[1];" (assignment_expression "bVar5 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) }))) })) (labeled_statement "LAB_00073532:\n  *(undefined4 *)((int)local_2c + iVar6 * 4) = 0;" statement_identifier : (expression_statement "*(undefined4 *)((int)local_2c + iVar6 * 4) = 0;" (assignment_expression "*(undefined4 *)((int)local_2c + iVar6 * 4) = 0" (pointer_expression "*(undefined4 *)((int)local_2c + iVar6 * 4)" * (cast_expression "(undefined4 *)((int)local_2c + iVar6 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_2c + iVar6 * 4)" ( (binary_expression "(int)local_2c + iVar6 * 4" (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar6 * 4" identifier * number_literal)) )))) = number_literal) ;)) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT * LIT) , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == IDENT) )) (break_statement break ;)) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + (binary_expression IDENT * LIT)) + LIT) )))) & LIT) )) != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) )))) = LIT) ;)) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000734b0(int *param_1,byte *param_2)\n\n{\n  undefined4 *puVar1;\n  ushort **ppuVar2;\n  uint uVar3;\n  byte *pbVar4;\n  byte bVar5;\n  int iVar6;\n  int iVar7;\n  void *local_2c;\n  \n  param_1[1] = 0;\n  if (*param_1 == 0) {\n    *param_1 = 0x14;\n    local_2c = (void *)FUN_00073440(0x50,"argv space");\n    iVar6 = param_1[1];\n    param_1[2] = (int)local_2c;\n  }\n  else {\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }\n  bVar5 = *param_2;\n  while (bVar5 != 0) {\n    ppuVar2 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }\n  }\nLAB_00073532:\n  *(undefined4 *)((int)local_2c + iVar6 * 4) = 0;\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_000734b0(int *param_1,byte *param_2)" (identifier "FUN_000734b0") (parameter_list "(int *param_1,byte *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  ushort **ppuVar2;\n  uint uVar3;\n  byte *pbVar4;\n  byte bVar5;\n  int iVar6;\n  int iVar7;\n  void *local_2c;\n  \n  param_1[1] = 0;\n  if (*param_1 == 0) {\n    *param_1 = 0x14;\n    local_2c = (void *)FUN_00073440(0x50,"argv space");\n    iVar6 = param_1[1];\n    param_1[2] = (int)local_2c;\n  }\n  else {\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }\n  bVar5 = *param_2;\n  while (bVar5 != 0) {\n    ppuVar2 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }\n  }\nLAB_00073532:\n  *(undefined4 *)((int)local_2c + iVar6 * 4) = 0;\n  return 1;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "ushort **ppuVar2;" (type_identifier "ushort") (pointer_declarator "**ppuVar2" (* "*") (pointer_declarator "*ppuVar2" (* "*") (identifier "ppuVar2"))) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "byte bVar5;" (type_identifier "byte") (identifier "bVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "void *local_2c;" (primitive_type "void") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (*param_1 == 0) {\n    *param_1 = 0x14;\n    local_2c = (void *)FUN_00073440(0x50,"argv space");\n    iVar6 = param_1[1];\n    param_1[2] = (int)local_2c;\n  }\n  else {\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }" (if "if") (parenthesized_expression "(*param_1 == 0)" (( "(") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *param_1 = 0x14;\n    local_2c = (void *)FUN_00073440(0x50,"argv space");\n    iVar6 = param_1[1];\n    param_1[2] = (int)local_2c;\n  }" ({ "{") (expression_statement "*param_1 = 0x14;" (assignment_expression "*param_1 = 0x14" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x14")) (; ";")) (expression_statement "local_2c = (void *)FUN_00073440(0x50,"argv space");" (assignment_expression "local_2c = (void *)FUN_00073440(0x50,"argv space")" (identifier "local_2c") (= "=") (cast_expression "(void *)FUN_00073440(0x50,"argv space")" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00073440(0x50,"argv space")" (identifier "FUN_00073440") (argument_list "(0x50,"argv space")" (( "(") (number_literal "0x50") (, ",") (string_literal ""argv space"" (" """) (string_content "argv space") (" """)) () ")"))))) (; ";")) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" (identifier "iVar6") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[2] = (int)local_2c;" (assignment_expression "param_1[2] = (int)local_2c" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c"))) (; ";")) (} "}")) (else_clause "else {\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }" (else "else") (compound_statement "{\n    local_2c = (void *)param_1[2];\n    iVar6 = 0;\n  }" ({ "{") (expression_statement "local_2c = (void *)param_1[2];" (assignment_expression "local_2c = (void *)param_1[2]" (identifier "local_2c") (= "=") (cast_expression "(void *)param_1[2]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "bVar5 = *param_2;" (assignment_expression "bVar5 = *param_2" (identifier "bVar5") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (while_statement "while (bVar5 != 0) {\n    ppuVar2 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }\n  }" (while "while") (parenthesized_expression "(bVar5 != 0)" (( "(") (binary_expression "bVar5 != 0" (identifier "bVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    ppuVar2 = __ctype_b_loc();\n    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }\n  }" ({ "{") (expression_statement "ppuVar2 = __ctype_b_loc();" (assignment_expression "ppuVar2 = __ctype_b_loc()" (identifier "ppuVar2") (= "=") (call_expression "__ctype_b_loc()" (identifier "__ctype_b_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }\n    else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }" (if "if") (parenthesized_expression "((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20)" (( "(") (binary_expression "*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)*ppuVar2 + (uint)bVar5 * 2 + 1)" (( "(") (binary_expression "(int)*ppuVar2 + (uint)bVar5 * 2 + 1" (binary_expression "(int)*ppuVar2 + (uint)bVar5 * 2" (cast_expression "(int)*ppuVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*ppuVar2" (* "*") (identifier "ppuVar2"))) (+ "+") (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar5")) (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar7 = iVar6;\n      if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }\n      iVar6 = iVar7 + 1;\n      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);\n      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }\n    }" ({ "{") (expression_statement "iVar7 = iVar6;" (assignment_expression "iVar7 = iVar6" (identifier "iVar7") (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (*param_1 <= iVar6) {\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }" (if "if") (parenthesized_expression "(*param_1 <= iVar6)" (( "(") (binary_expression "*param_1 <= iVar6" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (<= "<=") (identifier "iVar6")) () ")")) (compound_statement "{\n        iVar6 = *param_1 + 0x14;\n        *param_1 = iVar6;\n        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);\n        if (local_2c == (void *)0x0) {\n          return 0;\n        }\n        iVar7 = param_1[1];\n        param_1[2] = (int)local_2c;\n        bVar5 = *param_2;\n      }" ({ "{") (expression_statement "iVar6 = *param_1 + 0x14;" (assignment_expression "iVar6 = *param_1 + 0x14" (identifier "iVar6") (= "=") (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x14"))) (; ";")) (expression_statement "*param_1 = iVar6;" (assignment_expression "*param_1 = iVar6" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);" (assignment_expression "local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60)" (identifier "local_2c") (= "=") (call_expression "CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60)" (identifier "CRYPTO_realloc") (argument_list "(local_2c,iVar6 * 4,"../apps/apps.c",0x60)" (( "(") (identifier "local_2c") (, ",") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4")) (, ",") (string_literal ""../apps/apps.c"" (" """) (string_content "../apps/apps.c") (" """)) (, ",") (number_literal "0x60") () ")")))) (; ";")) (if_statement "if (local_2c == (void *)0x0) {\n          return 0;\n        }" (if "if") (parenthesized_expression "(local_2c == (void *)0x0)" (( "(") (binary_expression "local_2c == (void *)0x0" (identifier "local_2c") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          return 0;\n        }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar7 = param_1[1];" (assignment_expression "iVar7 = param_1[1]" (identifier "iVar7") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[2] = (int)local_2c;" (assignment_expression "param_1[2] = (int)local_2c" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c"))) (; ";")) (expression_statement "bVar5 = *param_2;" (assignment_expression "bVar5 = *param_2" (identifier "bVar5") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (} "}"))) (expression_statement "iVar6 = iVar7 + 1;" (assignment_expression "iVar6 = iVar7 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);" (assignment_expression "puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)((int)local_2c + iVar7 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_2c + iVar7 * 4)" (( "(") (binary_expression "(int)local_2c + iVar7 * 4" (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c")) (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }\n      else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }" (if "if") (parenthesized_expression "((bVar5 == 0x27) || (bVar5 == 0x22))" (( "(") (binary_expression "(bVar5 == 0x27) || (bVar5 == 0x22)" (parenthesized_expression "(bVar5 == 0x27)" (( "(") (binary_expression "bVar5 == 0x27" (identifier "bVar5") (== "==") (number_literal "0x27")) () ")")) (|| "||") (parenthesized_expression "(bVar5 == 0x22)" (( "(") (binary_expression "bVar5 == 0x22" (identifier "bVar5") (== "==") (number_literal "0x22")) () ")"))) () ")")) (compound_statement "{\n        pbVar4 = param_2 + 1;\n        param_1[1] = iVar6;\n        *puVar1 = pbVar4;\n        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        param_2 = pbVar4 + 1;\n        bVar5 = pbVar4[1];\n        iVar6 = param_1[1];\n      }" ({ "{") (expression_statement "pbVar4 = param_2 + 1;" (assignment_expression "pbVar4 = param_2 + 1" (identifier "pbVar4") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*puVar1 = pbVar4;" (assignment_expression "*puVar1 = pbVar4" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "pbVar4")) (; ";")) (if_statement "if ((param_2[1] != 0) && (param_2[1] != bVar5)) {\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }" (if "if") (parenthesized_expression "((param_2[1] != 0) && (param_2[1] != bVar5))" (( "(") (binary_expression "(param_2[1] != 0) && (param_2[1] != bVar5)" (parenthesized_expression "(param_2[1] != 0)" (( "(") (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_2[1] != bVar5)" (( "(") (binary_expression "param_2[1] != bVar5" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (identifier "bVar5")) () ")"))) () ")")) (compound_statement "{\n          do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);\n        }" ({ "{") (do_statement "do {\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          } while (*pbVar4 != 0);" (do "do") (compound_statement "{\n            pbVar4 = pbVar4 + 1;\n            if (*pbVar4 == bVar5) break;\n          }" ({ "{") (expression_statement "pbVar4 = pbVar4 + 1;" (assignment_expression "pbVar4 = pbVar4 + 1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*pbVar4 == bVar5) break;" (if "if") (parenthesized_expression "(*pbVar4 == bVar5)" (( "(") (binary_expression "*pbVar4 == bVar5" (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")) (== "==") (identifier "bVar5")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(*pbVar4 != 0)" (( "(") (binary_expression "*pbVar4 != 0" (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "*pbVar4 = 0;" (assignment_expression "*pbVar4 = 0" (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = (void *)param_1[2];" (assignment_expression "local_2c = (void *)param_1[2]" (identifier "local_2c") (= "=") (cast_expression "(void *)param_1[2]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "param_2 = pbVar4 + 1;" (assignment_expression "param_2 = pbVar4 + 1" (identifier "param_2") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar5 = pbVar4[1];" (assignment_expression "bVar5 = pbVar4[1]" (identifier "bVar5") (= "=") (subscript_expression "pbVar4[1]" (identifier "pbVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" (identifier "iVar6") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }" (else "else") (compound_statement "{\n        param_1[1] = iVar6;\n        *puVar1 = param_2;\n        bVar5 = *param_2;\n        if (bVar5 == 0) break;\n        pbVar4 = param_2;\n        while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }\n        *pbVar4 = 0;\n        local_2c = (void *)param_1[2];\n        iVar6 = param_1[1];\n      }" ({ "{") (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*puVar1 = param_2;" (assignment_expression "*puVar1 = param_2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "bVar5 = *param_2;" (assignment_expression "bVar5 = *param_2" (identifier "bVar5") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (bVar5 == 0) break;" (if "if") (parenthesized_expression "(bVar5 == 0)" (( "(") (binary_expression "bVar5 == 0" (identifier "bVar5") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pbVar4 = param_2;" (assignment_expression "pbVar4 = param_2" (identifier "pbVar4") (= "=") (identifier "param_2")) (; ";")) (while_statement "while( true ) {\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          uVar3 = (uint)bVar5;\n          param_2 = pbVar4 + 1;\n          bVar5 = pbVar4[1];\n          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;\n          pbVar4 = param_2;\n          if (bVar5 == 0) goto LAB_00073532;\n        }" ({ "{") (expression_statement "uVar3 = (uint)bVar5;" (assignment_expression "uVar3 = (uint)bVar5" (identifier "uVar3") (= "=") (cast_expression "(uint)bVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar5"))) (; ";")) (expression_statement "param_2 = pbVar4 + 1;" (assignment_expression "param_2 = pbVar4 + 1" (identifier "param_2") (= "=") (binary_expression "pbVar4 + 1" (identifier "pbVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar5 = pbVar4[1];" (assignment_expression "bVar5 = pbVar4[1]" (identifier "bVar5") (= "=") (subscript_expression "pbVar4[1]" (identifier "pbVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;" (if "if") (parenthesized_expression "((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0)" (( "(") (binary_expression "(*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0" (parenthesized_expression "(*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20)" (( "(") (binary_expression "*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)*ppuVar2 + uVar3 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)*ppuVar2 + uVar3 * 2 + 1)" (( "(") (binary_expression "(int)*ppuVar2 + uVar3 * 2 + 1" (binary_expression "(int)*ppuVar2 + uVar3 * 2" (cast_expression "(int)*ppuVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*ppuVar2" (* "*") (identifier "ppuVar2"))) (+ "+") (binary_expression "uVar3 * 2" (identifier "uVar3") (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pbVar4 = param_2;" (assignment_expression "pbVar4 = param_2" (identifier "pbVar4") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (bVar5 == 0) goto LAB_00073532;" (if "if") (parenthesized_expression "(bVar5 == 0)" (( "(") (binary_expression "bVar5 == 0" (identifier "bVar5") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00073532;" (goto "goto") (statement_identifier "LAB_00073532") (; ";"))) (} "}"))) (expression_statement "*pbVar4 = 0;" (assignment_expression "*pbVar4 = 0" (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = (void *)param_1[2];" (assignment_expression "local_2c = (void *)param_1[2]" (identifier "local_2c") (= "=") (cast_expression "(void *)param_1[2]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" (identifier "iVar6") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }" (else "else") (compound_statement "{\n      bVar5 = param_2[1];\n      param_2 = param_2 + 1;\n    }" ({ "{") (expression_statement "bVar5 = param_2[1];" (assignment_expression "bVar5 = param_2[1]" (identifier "bVar5") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}"))) (labeled_statement "LAB_00073532:\n  *(undefined4 *)((int)local_2c + iVar6 * 4) = 0;" (statement_identifier "LAB_00073532") (: ":") (expression_statement "*(undefined4 *)((int)local_2c + iVar6 * 4) = 0;" (assignment_expression "*(undefined4 *)((int)local_2c + iVar6 * 4) = 0" (pointer_expression "*(undefined4 *)((int)local_2c + iVar6 * 4)" (* "*") (cast_expression "(undefined4 *)((int)local_2c + iVar6 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_2c + iVar6 * 4)" (( "(") (binary_expression "(int)local_2c + iVar6 * 4" (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c")) (+ "+") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

int function_1(type_1 *arg,char *buf)

{
  type_2 **ppuVar1;
  type_3 var_9;
  type_4 *var_8;
  type_4 var_2;
  int var_4;
  int var_7;
  char **var_6;
  
  arg->argc = 0;
  if (arg->size == 0) {
    arg->size = 0x14;
    var_6 = (char **)var_1(0x50,"argv space");
    var_4 = arg->argc;
    arg->argv = var_6;
  }
  else {
    var_6 = arg->argv;
    var_4 = 0;
  }
  var_2 = *buf;
  while (var_2 != 0) {
    ppuVar1 = var_3();
    if ((*(type_4 *)((int)*ppuVar1 + (type_3)var_2 * 2 + 1) & 0x20) == 0) {
      var_7 = var_4;
      if (arg->size <= var_4) {
        var_4 = arg->size + 0x14;
        arg->size = var_4;
        var_6 = (char **)var_5(var_6,var_4 * 4,"../apps/apps.c",0x60);
        if (var_6 == (char **)0x0) {
          return 0;
        }
        var_7 = arg->argc;
        arg->argv = var_6;
        var_2 = *buf;
      }
      var_4 = var_7 + 1;
      if ((var_2 == 0x27) || (var_2 == 0x22)) {
        var_8 = (type_4 *)buf + 1;
        arg->argc = var_4;
        var_6[var_7] = (char *)var_8;
        if ((((type_4 *)buf)[1] != 0) && (((type_4 *)buf)[1] != var_2)) {
          do {
            var_8 = var_8 + 1;
            if (*var_8 == var_2) break;
          } while (*var_8 != 0);
        }
        *var_8 = 0;
        var_6 = arg->argv;
        buf = (char *)(var_8 + 1);
        var_2 = var_8[1];
        var_4 = arg->argc;
      }
      else {
        arg->argc = var_4;
        var_6[var_7] = buf;
        var_2 = *buf;
        if (var_2 == 0) break;
        var_8 = (type_4 *)buf;
        while( true ) {
          var_9 = (type_3)var_2;
          buf = (char *)(var_8 + 1);
          var_2 = var_8[1];
          if ((*(type_4 *)((int)*ppuVar1 + var_9 * 2 + 1) & 0x20) != 0) break;
          var_8 = (type_4 *)buf;
          if (var_2 == 0) goto LAB_00073532;
        }
        *var_8 = 0;
        var_6 = arg->argv;
        var_4 = arg->argc;
      }
    }
    else {
      var_2 = ((type_4 *)buf)[1];
      buf = (char *)((type_4 *)buf + 1);
    }
  }
LAB_00073532:
  var_6[var_4] = (char *)0x0;
  return 1;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 MASKED(int *param_1,byte *param_2)

{
  undefined4 *puVar1;
  ushort **ppuVar2;
  uint uVar3;
  byte *pbVar4;
  byte bVar5;
  int iVar6;
  int iVar7;
  void *local_2c;
  
  param_1[1] = 0;
  if (*param_1 == 0) {
    *param_1 = 0x14;
    local_2c = (void *)FUN_00073440(0x50,"argv space");
    iVar6 = param_1[1];
    param_1[2] = (int)local_2c;
  }
  else {
    local_2c = (void *)param_1[2];
    iVar6 = 0;
  }
  bVar5 = *param_2;
  while (bVar5 != 0) {
    ppuVar2 = __ctype_b_loc();
    if ((*(byte *)((int)*ppuVar2 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {
      iVar7 = iVar6;
      if (*param_1 <= iVar6) {
        iVar6 = *param_1 + 0x14;
        *param_1 = iVar6;
        local_2c = CRYPTO_realloc(local_2c,iVar6 * 4,"../apps/apps.c",0x60);
        if (local_2c == (void *)0x0) {
          return 0;
        }
        iVar7 = param_1[1];
        param_1[2] = (int)local_2c;
        bVar5 = *param_2;
      }
      iVar6 = iVar7 + 1;
      puVar1 = (undefined4 *)((int)local_2c + iVar7 * 4);
      if ((bVar5 == 0x27) || (bVar5 == 0x22)) {
        pbVar4 = param_2 + 1;
        param_1[1] = iVar6;
        *puVar1 = pbVar4;
        if ((param_2[1] != 0) && (param_2[1] != bVar5)) {
          do {
            pbVar4 = pbVar4 + 1;
            if (*pbVar4 == bVar5) break;
          } while (*pbVar4 != 0);
        }
        *pbVar4 = 0;
        local_2c = (void *)param_1[2];
        param_2 = pbVar4 + 1;
        bVar5 = pbVar4[1];
        iVar6 = param_1[1];
      }
      else {
        param_1[1] = iVar6;
        *puVar1 = param_2;
        bVar5 = *param_2;
        if (bVar5 == 0) break;
        pbVar4 = param_2;
        while( true ) {
          uVar3 = (uint)bVar5;
          param_2 = pbVar4 + 1;
          bVar5 = pbVar4[1];
          if ((*(byte *)((int)*ppuVar2 + uVar3 * 2 + 1) & 0x20) != 0) break;
          pbVar4 = param_2;
          if (bVar5 == 0) goto LAB_00073532;
        }
        *pbVar4 = 0;
        local_2c = (void *)param_1[2];
        iVar6 = param_1[1];
      }
    }
    else {
      bVar5 = param_2[1];
      param_2 = param_2 + 1;
    }
  }
LAB_00073532:
  *(undefined4 *)((int)local_2c + iVar6 * 4) = 0;
  return 1;
}

