
int qset_acl(char *name,int desc,mode_t mode)

{
  char *pcVar1;
  int iVar2;
  char *pcVar3;
  byte *pbVar4;
  undefined *puVar5;
  code *pcVar6;
  permission_context ctx;
  
  puVar5 = PTR___stack_chk_guard_00044624;
  ctx.acl = (acl_t)0x0;
  ctx.default_acl = (acl_t)0x0;
  ctx.acls_not_supported = false;
  ctx._13_3_ = 0;
  pcVar1 = *(char **)PTR___stack_chk_guard_00044624;
  ctx.mode = mode;
  iVar2 = set_permissions(&ctx,name,desc);
  free_permission_context(&ctx);
  if (pcVar1 == *(char **)puVar5) {
    return iVar2;
  }
  puVar5 = PTR___stack_chk_fail_000445f4;
  (*(code *)PTR___stack_chk_fail_000445f4)();
  pcVar1[0] = '\0';
  pcVar1[1] = '\0';
  pcVar1[2] = '\0';
  pcVar1[3] = '\0';
  pcVar1[4] = '\0';
  pcVar1[5] = '\0';
  pcVar1[6] = '\0';
  pcVar1[7] = '\0';
  pcVar1[8] = '\0';
  pcVar1[9] = '\0';
  pcVar1[10] = '\0';
  pcVar1[0xb] = '\0';
  pcVar1[0xc] = '\0';
  pcVar1[0xd] = '\0';
  pcVar1[0xe] = '\0';
  pcVar1[0xf] = '\0';
  pcVar1[0x10] = '\0';
  pcVar1[0x11] = '\0';
  pcVar1[0x12] = '\0';
  pcVar1[0x13] = '\0';
  pcVar1[0x14] = '\0';
  pcVar1[0x15] = '\0';
  pcVar1[0x16] = '\0';
  pcVar1[0x17] = '\0';
  pcVar1[0x18] = '\0';
  pcVar1[0x19] = '\0';
  pcVar1[0x1a] = '\0';
  pcVar1[0x1b] = '\0';
  pcVar1[0x1c] = '\0';
  pcVar1[0x1d] = '\0';
  pcVar1[0x1e] = '\0';
  pcVar1[0x1f] = '\0';
  pcVar1[0x20] = '\0';
  pcVar1[0x21] = '\0';
  pcVar1[0x22] = '\0';
  pcVar1[0x23] = '\0';
  pcVar1[0x24] = '\0';
  pcVar1[0x25] = '\0';
  pcVar1[0x26] = '\0';
  pcVar1[0x27] = '\0';
  pcVar1[0x28] = '\0';
  pcVar1[0x29] = '\0';
  pcVar1[0x2a] = '\0';
  pcVar1[0x2b] = '\0';
  pcVar1[0x2c] = '\0';
  pcVar1[0x2d] = '\0';
  pcVar1[0x2e] = '\0';
  pcVar1[0x2f] = '\0';
  if (name == (char *)0xa) {
    pcVar6 = *(code **)(puVar5 + 0x22348);
    (*pcVar6)();
    pcVar3 = (char *)(**(code **)(pcVar6 + 0x22488))(0,pcVar1,5);
    if (pcVar1 == pcVar3) {
      pbVar4 = (byte *)locale_charset();
      if ((*pbVar4 & 0xdf) == 0x55) {
        if (((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))
           && ((pbVar4[4] == 0x38 && (pbVar4[5] == 0)))) {
          if (*pcVar3 != '`') {
            return *(int *)(pcVar6 + 0x21fb0) + 0x2598;
          }
          return *(int *)(pcVar6 + 0x21fb0) + 0x25a4;
        }
      }
      else if (((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))
              && (((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&
                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))))) {
        if (*pcVar3 != '`') {
          return *(int *)(pcVar6 + 0x21fb0) + 0x259c;
        }
        return *(int *)(pcVar6 + 0x21fb0) + 0x25a0;
      }
      if (name != (char *)0x9) {
        return *(int *)(pcVar6 + 0x21fb0) + 0x25a8;
      }
      pcVar3 = (char *)(*(int *)(pcVar6 + 0x21fb0) + 0x2594);
    }
    return (int)pcVar3;
  }
  *(char **)pcVar1 = name;
  return (int)pcVar1;
}



int * qset_acl(int param_1,undefined4 param_2,undefined4 param_3)

{
  int *piVar1;
  int *piVar2;
  byte *pbVar3;
  undefined *puVar4;
  code *pcVar5;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 local_1c;
  undefined4 local_18;
  int *local_14;
  
  puVar4 = PTR___stack_chk_guard_00044624;
  local_20 = 0;
  local_1c = 0;
  local_18 = 0;
  local_14 = *(int **)PTR___stack_chk_guard_00044624;
  local_24 = param_3;
  piVar1 = (int *)set_permissions(&local_24,param_1,param_2);
  free_permission_context(&local_24);
  if (local_14 == *(int **)puVar4) {
    return piVar1;
  }
  piVar1 = local_14;
  puVar4 = PTR___stack_chk_fail_000445f4;
  (*(code *)PTR___stack_chk_fail_000445f4)();
  *piVar1 = 0;
  piVar1[1] = 0;
  piVar1[2] = 0;
  piVar1[3] = 0;
  piVar1[4] = 0;
  piVar1[5] = 0;
  piVar1[6] = 0;
  piVar1[7] = 0;
  piVar1[8] = 0;
  piVar1[9] = 0;
  piVar1[10] = 0;
  piVar1[0xb] = 0;
  if (param_1 == 10) {
    pcVar5 = *(code **)(puVar4 + 0x22348);
    (*pcVar5)();
    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);
    if (piVar1 == piVar2) {
      pbVar3 = (byte *)locale_charset();
      if ((*pbVar3 & 0xdf) == 0x55) {
        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))
           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {
          if (*(char *)piVar2 != '`') {
            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);
          }
          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);
        }
      }
      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))
              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&
                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {
        if (*(char *)piVar2 != '`') {
          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);
        }
        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);
      }
      if (param_1 != 9) {
        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);
      }
      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);
    }
    return piVar2;
  }
  *piVar1 = param_1;
  return piVar1;
}


lui gp,0x3
addiu gp,gp,-0x5f80
addu gp,gp,t9
addiu sp,sp,-0x48
lw t9,-0x7de8(gp)
sw s1,0x40(sp)
lw s1,-0x7acc(gp)
sw s0,0x3c(sp)
addiu s0,sp,0x24
sw gp,0x10(sp)
sw ra,0x44(sp)
sw a2,0x24(sp)
or a2,a1,zero
sw zero,0x28(sp)
or a1,a0,zero
sw zero,0x2c(sp)
or a0,s0,zero
sw zero,0x30(sp)
lw v0,0x0(s1)
sw v0,0x34(sp)
bal 0x0002cc6c
_nop
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7de4(gp)
bal 0x0002c918
_sw v0,0x1c(sp)
lw a0,0x34(sp)
lw v1,0x0(s1)
lw gp,0x10(sp)
bne a0,v1,0x00022104
_lw v0,0x1c(sp)
lw ra,0x44(sp)
lw s1,0x40(sp)
lw s0,0x3c(sp)
jr ra
_addiu sp,sp,0x48
lw t9,-0x7afc(gp)
jalr t9
_nop
(translation_unit "int * qset_acl(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  byte *pbVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_00044624;\n  local_20 = 0;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = *(int **)PTR___stack_chk_guard_00044624;\n  local_24 = param_3;\n  piVar1 = (int *)set_permissions(&local_24,param_1,param_2);\n  free_permission_context(&local_24);\n  if (local_14 == *(int **)puVar4) {\n    return piVar1;\n  }\n  piVar1 = local_14;\n  puVar4 = PTR___stack_chk_fail_000445f4;\n  (*(code *)PTR___stack_chk_fail_000445f4)();\n  *piVar1 = 0;\n  piVar1[1] = 0;\n  piVar1[2] = 0;\n  piVar1[3] = 0;\n  piVar1[4] = 0;\n  piVar1[5] = 0;\n  piVar1[6] = 0;\n  piVar1[7] = 0;\n  piVar1[8] = 0;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  piVar1[0xb] = 0;\n  if (param_1 == 10) {\n    pcVar5 = *(code **)(puVar4 + 0x22348);\n    (*pcVar5)();\n    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);\n    if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }\n    return piVar2;\n  }\n  *piVar1 = param_1;\n  return piVar1;\n}\n\n" (function_definition "int * qset_acl(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  byte *pbVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_00044624;\n  local_20 = 0;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = *(int **)PTR___stack_chk_guard_00044624;\n  local_24 = param_3;\n  piVar1 = (int *)set_permissions(&local_24,param_1,param_2);\n  free_permission_context(&local_24);\n  if (local_14 == *(int **)puVar4) {\n    return piVar1;\n  }\n  piVar1 = local_14;\n  puVar4 = PTR___stack_chk_fail_000445f4;\n  (*(code *)PTR___stack_chk_fail_000445f4)();\n  *piVar1 = 0;\n  piVar1[1] = 0;\n  piVar1[2] = 0;\n  piVar1[3] = 0;\n  piVar1[4] = 0;\n  piVar1[5] = 0;\n  piVar1[6] = 0;\n  piVar1[7] = 0;\n  piVar1[8] = 0;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  piVar1[0xb] = 0;\n  if (param_1 == 10) {\n    pcVar5 = *(code **)(puVar4 + 0x22348);\n    (*pcVar5)();\n    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);\n    if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }\n    return piVar2;\n  }\n  *piVar1 = param_1;\n  return piVar1;\n}" primitive_type (pointer_declarator "* qset_acl(int param_1,undefined4 param_2,undefined4 param_3)" * (function_declarator "qset_acl(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  byte *pbVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_00044624;\n  local_20 = 0;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = *(int **)PTR___stack_chk_guard_00044624;\n  local_24 = param_3;\n  piVar1 = (int *)set_permissions(&local_24,param_1,param_2);\n  free_permission_context(&local_24);\n  if (local_14 == *(int **)puVar4) {\n    return piVar1;\n  }\n  piVar1 = local_14;\n  puVar4 = PTR___stack_chk_fail_000445f4;\n  (*(code *)PTR___stack_chk_fail_000445f4)();\n  *piVar1 = 0;\n  piVar1[1] = 0;\n  piVar1[2] = 0;\n  piVar1[3] = 0;\n  piVar1[4] = 0;\n  piVar1[5] = 0;\n  piVar1[6] = 0;\n  piVar1[7] = 0;\n  piVar1[8] = 0;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  piVar1[0xb] = 0;\n  if (param_1 == 10) {\n    pcVar5 = *(code **)(puVar4 + 0x22348);\n    (*pcVar5)();\n    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);\n    if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }\n    return piVar2;\n  }\n  *piVar1 = param_1;\n  return piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "int *local_14;" primitive_type (pointer_declarator "*local_14" * identifier) ;) (expression_statement "puVar4 = PTR___stack_chk_guard_00044624;" (assignment_expression "puVar4 = PTR___stack_chk_guard_00044624" identifier = identifier) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "local_14 = *(int **)PTR___stack_chk_guard_00044624;" (assignment_expression "local_14 = *(int **)PTR___stack_chk_guard_00044624" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_00044624" * (cast_expression "(int **)PTR___stack_chk_guard_00044624" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "local_24 = param_3;" (assignment_expression "local_24 = param_3" identifier = identifier) ;) (expression_statement "piVar1 = (int *)set_permissions(&local_24,param_1,param_2);" (assignment_expression "piVar1 = (int *)set_permissions(&local_24,param_1,param_2)" identifier = (cast_expression "(int *)set_permissions(&local_24,param_1,param_2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "set_permissions(&local_24,param_1,param_2)" identifier (argument_list "(&local_24,param_1,param_2)" ( (pointer_expression "&local_24" & identifier) , identifier , identifier ))))) ;) (expression_statement "free_permission_context(&local_24);" (call_expression "free_permission_context(&local_24)" identifier (argument_list "(&local_24)" ( (pointer_expression "&local_24" & identifier) ))) ;) (if_statement "if (local_14 == *(int **)puVar4) {\n    return piVar1;\n  }" if (parenthesized_expression "(local_14 == *(int **)puVar4)" ( (binary_expression "local_14 == *(int **)puVar4" identifier == (pointer_expression "*(int **)puVar4" * (cast_expression "(int **)puVar4" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return piVar1;\n  }" { (return_statement "return piVar1;" return identifier ;) })) (expression_statement "piVar1 = local_14;" (assignment_expression "piVar1 = local_14" identifier = identifier) ;) (expression_statement "puVar4 = PTR___stack_chk_fail_000445f4;" (assignment_expression "puVar4 = PTR___stack_chk_fail_000445f4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000445f4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000445f4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000445f4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000445f4" * (cast_expression "(code *)PTR___stack_chk_fail_000445f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[2] = 0;" (assignment_expression "piVar1[2] = 0" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[3] = 0;" (assignment_expression "piVar1[3] = 0" (subscript_expression "piVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[4] = 0;" (assignment_expression "piVar1[4] = 0" (subscript_expression "piVar1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[5] = 0;" (assignment_expression "piVar1[5] = 0" (subscript_expression "piVar1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[6] = 0;" (assignment_expression "piVar1[6] = 0" (subscript_expression "piVar1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[7] = 0;" (assignment_expression "piVar1[7] = 0" (subscript_expression "piVar1[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[8] = 0;" (assignment_expression "piVar1[8] = 0" (subscript_expression "piVar1[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[9] = 0;" (assignment_expression "piVar1[9] = 0" (subscript_expression "piVar1[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[10] = 0;" (assignment_expression "piVar1[10] = 0" (subscript_expression "piVar1[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[0xb] = 0;" (assignment_expression "piVar1[0xb] = 0" (subscript_expression "piVar1[0xb]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (param_1 == 10) {\n    pcVar5 = *(code **)(puVar4 + 0x22348);\n    (*pcVar5)();\n    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);\n    if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }\n    return piVar2;\n  }" if (parenthesized_expression "(param_1 == 10)" ( (binary_expression "param_1 == 10" identifier == number_literal) )) (compound_statement "{\n    pcVar5 = *(code **)(puVar4 + 0x22348);\n    (*pcVar5)();\n    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);\n    if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }\n    return piVar2;\n  }" { (expression_statement "pcVar5 = *(code **)(puVar4 + 0x22348);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x22348)" identifier = (pointer_expression "*(code **)(puVar4 + 0x22348)" * (cast_expression "(code **)(puVar4 + 0x22348)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x22348)" ( (binary_expression "puVar4 + 0x22348" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar5)();" (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);" (assignment_expression "piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5)" identifier = (cast_expression "(int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar5 + 0x22488))(0,piVar1,5)" (parenthesized_expression "(**(code **)(pcVar5 + 0x22488))" ( (pointer_expression "**(code **)(pcVar5 + 0x22488)" * (pointer_expression "*(code **)(pcVar5 + 0x22488)" * (cast_expression "(code **)(pcVar5 + 0x22488)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x22488)" ( (binary_expression "pcVar5 + 0x22488" identifier + number_literal) ))))) )) (argument_list "(0,piVar1,5)" ( number_literal , identifier , number_literal ))))) ;) (if_statement "if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }" if (parenthesized_expression "(piVar1 == piVar2)" ( (binary_expression "piVar1 == piVar2" identifier == identifier) )) (compound_statement "{\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }" { (expression_statement "pbVar3 = (byte *)locale_charset();" (assignment_expression "pbVar3 = (byte *)locale_charset()" identifier = (cast_expression "(byte *)locale_charset()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "locale_charset()" identifier (argument_list "()" ( ))))) ;) (if_statement "if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }" if (parenthesized_expression "((*pbVar3 & 0xdf) == 0x55)" ( (binary_expression "(*pbVar3 & 0xdf) == 0x55" (parenthesized_expression "(*pbVar3 & 0xdf)" ( (binary_expression "*pbVar3 & 0xdf" (pointer_expression "*pbVar3" * identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }" { (if_statement "if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }" if (parenthesized_expression "(((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0))))" ( (binary_expression "((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))" (parenthesized_expression "((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))" ( (binary_expression "(((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d)" (parenthesized_expression "(((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46))" ( (binary_expression "((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)" (parenthesized_expression "((pbVar3[1] & 0xdf) == 0x54)" ( (binary_expression "(pbVar3[1] & 0xdf) == 0x54" (parenthesized_expression "(pbVar3[1] & 0xdf)" ( (binary_expression "pbVar3[1] & 0xdf" (subscript_expression "pbVar3[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) && (parenthesized_expression "((pbVar3[2] & 0xdf) == 0x46)" ( (binary_expression "(pbVar3[2] & 0xdf) == 0x46" (parenthesized_expression "(pbVar3[2] & 0xdf)" ( (binary_expression "pbVar3[2] & 0xdf" (subscript_expression "pbVar3[2]" identifier [ number_literal ]) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(pbVar3[3] == 0x2d)" ( (binary_expression "pbVar3[3] == 0x2d" (subscript_expression "pbVar3[3]" identifier [ number_literal ]) == number_literal) ))) )) && (parenthesized_expression "((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))" ( (parenthesized_expression "(pbVar3[4] == 0x38 && (pbVar3[5] == 0))" ( (binary_expression "pbVar3[4] == 0x38 && (pbVar3[5] == 0)" (binary_expression "pbVar3[4] == 0x38" (subscript_expression "pbVar3[4]" identifier [ number_literal ]) == number_literal) && (parenthesized_expression "(pbVar3[5] == 0)" ( (binary_expression "pbVar3[5] == 0" (subscript_expression "pbVar3[5]" identifier [ number_literal ]) == number_literal) ))) )) ))) )) (compound_statement "{\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }" { (if_statement "if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }" if (parenthesized_expression "(*(char *)piVar2 != '`')" ( (binary_expression "*(char *)piVar2 != '`'" (pointer_expression "*(char *)piVar2" * (cast_expression "(char *)piVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != (char_literal "'`'" ' character ')) )) (compound_statement "{\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }" { (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);" return (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x2598)" ( (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x2598" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" * (cast_expression "(int *)(pcVar5 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x21fb0)" ( (binary_expression "pcVar5 + 0x21fb0" identifier + number_literal) )))) + number_literal) ))) ;) })) (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);" return (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x25a4)" ( (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x25a4" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" * (cast_expression "(int *)(pcVar5 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x21fb0)" ( (binary_expression "pcVar5 + 0x21fb0" identifier + number_literal) )))) + number_literal) ))) ;) })) }) (else_clause "else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }" else (if_statement "if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }" if (parenthesized_expression "(((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0))))))))" ( (binary_expression "((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))" (parenthesized_expression "((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))" ( (binary_expression "(((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31)" (parenthesized_expression "(((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42))" ( (binary_expression "((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)" (parenthesized_expression "((*pbVar3 & 0xdf) == 0x47)" ( (binary_expression "(*pbVar3 & 0xdf) == 0x47" (parenthesized_expression "(*pbVar3 & 0xdf)" ( (binary_expression "*pbVar3 & 0xdf" (pointer_expression "*pbVar3" * identifier) & number_literal) )) == number_literal) )) && (parenthesized_expression "((pbVar3[1] & 0xdf) == 0x42)" ( (binary_expression "(pbVar3[1] & 0xdf) == 0x42" (parenthesized_expression "(pbVar3[1] & 0xdf)" ( (binary_expression "pbVar3[1] & 0xdf" (subscript_expression "pbVar3[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(pbVar3[2] == 0x31)" ( (binary_expression "pbVar3[2] == 0x31" (subscript_expression "pbVar3[2]" identifier [ number_literal ]) == number_literal) ))) )) && (parenthesized_expression "(((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))" ( (parenthesized_expression "((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0))))))" ( (binary_expression "(pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))" (parenthesized_expression "(pbVar3[3] == 0x38 && (pbVar3[4] == 0x30))" ( (binary_expression "pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)" (binary_expression "pbVar3[3] == 0x38" (subscript_expression "pbVar3[3]" identifier [ number_literal ]) == number_literal) && (parenthesized_expression "(pbVar3[4] == 0x30)" ( (binary_expression "pbVar3[4] == 0x30" (subscript_expression "pbVar3[4]" identifier [ number_literal ]) == number_literal) ))) )) && (parenthesized_expression "((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))" ( (parenthesized_expression "(pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0))))" ( (binary_expression "pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))" (binary_expression "pbVar3[5] == 0x33" (subscript_expression "pbVar3[5]" identifier [ number_literal ]) == number_literal) && (parenthesized_expression "((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))" ( (parenthesized_expression "(pbVar3[6] == 0x30 && (pbVar3[7] == 0))" ( (binary_expression "pbVar3[6] == 0x30 && (pbVar3[7] == 0)" (binary_expression "pbVar3[6] == 0x30" (subscript_expression "pbVar3[6]" identifier [ number_literal ]) == number_literal) && (parenthesized_expression "(pbVar3[7] == 0)" ( (binary_expression "pbVar3[7] == 0" (subscript_expression "pbVar3[7]" identifier [ number_literal ]) == number_literal) ))) )) ))) )) ))) )) ))) )) (compound_statement "{\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }" { (if_statement "if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }" if (parenthesized_expression "(*(char *)piVar2 != '`')" ( (binary_expression "*(char *)piVar2 != '`'" (pointer_expression "*(char *)piVar2" * (cast_expression "(char *)piVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != (char_literal "'`'" ' character ')) )) (compound_statement "{\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }" { (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);" return (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x259c)" ( (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x259c" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" * (cast_expression "(int *)(pcVar5 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x21fb0)" ( (binary_expression "pcVar5 + 0x21fb0" identifier + number_literal) )))) + number_literal) ))) ;) })) (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);" return (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x25a0)" ( (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x25a0" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" * (cast_expression "(int *)(pcVar5 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x21fb0)" ( (binary_expression "pcVar5 + 0x21fb0" identifier + number_literal) )))) + number_literal) ))) ;) })))) (if_statement "if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }" if (parenthesized_expression "(param_1 != 9)" ( (binary_expression "param_1 != 9" identifier != number_literal) )) (compound_statement "{\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }" { (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);" return (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x25a8)" ( (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x25a8" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" * (cast_expression "(int *)(pcVar5 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x21fb0)" ( (binary_expression "pcVar5 + 0x21fb0" identifier + number_literal) )))) + number_literal) ))) ;) })) (expression_statement "piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);" (assignment_expression "piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594)" identifier = (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x2594)" ( (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x2594" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" * (cast_expression "(int *)(pcVar5 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x21fb0)" ( (binary_expression "pcVar5 + 0x21fb0" identifier + number_literal) )))) + number_literal) )))) ;) })) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "*piVar1 = param_1;" (assignment_expression "*piVar1 = param_1" (pointer_expression "*piVar1" * identifier) = identifier) ;) (return_statement "return piVar1;" return identifier ;) })))
(translation_unit "int qset_acl(char *name,int desc,mode_t mode)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  byte *pbVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  permission_context ctx;\n  \n  puVar5 = PTR___stack_chk_guard_00044624;\n  ctx.acl = (acl_t)0x0;\n  ctx.default_acl = (acl_t)0x0;\n  ctx.acls_not_supported = false;\n  ctx._13_3_ = 0;\n  pcVar1 = *(char **)PTR___stack_chk_guard_00044624;\n  ctx.mode = mode;\n  iVar2 = set_permissions(&ctx,name,desc);\n  free_permission_context(&ctx);\n  if (pcVar1 == *(char **)puVar5) {\n    return iVar2;\n  }\n  puVar5 = PTR___stack_chk_fail_000445f4;\n  (*(code *)PTR___stack_chk_fail_000445f4)();\n  pcVar1[0] = '\0';\n  pcVar1[1] = '\0';\n  pcVar1[2] = '\0';\n  pcVar1[3] = '\0';\n  pcVar1[4] = '\0';\n  pcVar1[5] = '\0';\n  pcVar1[6] = '\0';\n  pcVar1[7] = '\0';\n  pcVar1[8] = '\0';\n  pcVar1[9] = '\0';\n  pcVar1[10] = '\0';\n  pcVar1[0xb] = '\0';\n  pcVar1[0xc] = '\0';\n  pcVar1[0xd] = '\0';\n  pcVar1[0xe] = '\0';\n  pcVar1[0xf] = '\0';\n  pcVar1[0x10] = '\0';\n  pcVar1[0x11] = '\0';\n  pcVar1[0x12] = '\0';\n  pcVar1[0x13] = '\0';\n  pcVar1[0x14] = '\0';\n  pcVar1[0x15] = '\0';\n  pcVar1[0x16] = '\0';\n  pcVar1[0x17] = '\0';\n  pcVar1[0x18] = '\0';\n  pcVar1[0x19] = '\0';\n  pcVar1[0x1a] = '\0';\n  pcVar1[0x1b] = '\0';\n  pcVar1[0x1c] = '\0';\n  pcVar1[0x1d] = '\0';\n  pcVar1[0x1e] = '\0';\n  pcVar1[0x1f] = '\0';\n  pcVar1[0x20] = '\0';\n  pcVar1[0x21] = '\0';\n  pcVar1[0x22] = '\0';\n  pcVar1[0x23] = '\0';\n  pcVar1[0x24] = '\0';\n  pcVar1[0x25] = '\0';\n  pcVar1[0x26] = '\0';\n  pcVar1[0x27] = '\0';\n  pcVar1[0x28] = '\0';\n  pcVar1[0x29] = '\0';\n  pcVar1[0x2a] = '\0';\n  pcVar1[0x2b] = '\0';\n  pcVar1[0x2c] = '\0';\n  pcVar1[0x2d] = '\0';\n  pcVar1[0x2e] = '\0';\n  pcVar1[0x2f] = '\0';\n  if (name == (char *)0xa) {\n    pcVar6 = *(code **)(puVar5 + 0x22348);\n    (*pcVar6)();\n    pcVar3 = (char *)(**(code **)(pcVar6 + 0x22488))(0,pcVar1,5);\n    if (pcVar1 == pcVar3) {\n      pbVar4 = (byte *)locale_charset();\n      if ((*pbVar4 & 0xdf) == 0x55) {\n        if (((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))\n           && ((pbVar4[4] == 0x38 && (pbVar4[5] == 0)))) {\n          if (*pcVar3 != '`') {\n            return *(int *)(pcVar6 + 0x21fb0) + 0x2598;\n          }\n          return *(int *)(pcVar6 + 0x21fb0) + 0x25a4;\n        }\n      }\n      else if (((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))\n              && (((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))))) {\n        if (*pcVar3 != '`') {\n          return *(int *)(pcVar6 + 0x21fb0) + 0x259c;\n        }\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a0;\n      }\n      if (name != (char *)0x9) {\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a8;\n      }\n      pcVar3 = (char *)(*(int *)(pcVar6 + 0x21fb0) + 0x2594);\n    }\n    return (int)pcVar3;\n  }\n  *(char **)pcVar1 = name;\n  return (int)pcVar1;\n}\n\n" (function_definition "int qset_acl(char *name,int desc,mode_t mode)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  byte *pbVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  permission_context ctx;\n  \n  puVar5 = PTR___stack_chk_guard_00044624;\n  ctx.acl = (acl_t)0x0;\n  ctx.default_acl = (acl_t)0x0;\n  ctx.acls_not_supported = false;\n  ctx._13_3_ = 0;\n  pcVar1 = *(char **)PTR___stack_chk_guard_00044624;\n  ctx.mode = mode;\n  iVar2 = set_permissions(&ctx,name,desc);\n  free_permission_context(&ctx);\n  if (pcVar1 == *(char **)puVar5) {\n    return iVar2;\n  }\n  puVar5 = PTR___stack_chk_fail_000445f4;\n  (*(code *)PTR___stack_chk_fail_000445f4)();\n  pcVar1[0] = '\0';\n  pcVar1[1] = '\0';\n  pcVar1[2] = '\0';\n  pcVar1[3] = '\0';\n  pcVar1[4] = '\0';\n  pcVar1[5] = '\0';\n  pcVar1[6] = '\0';\n  pcVar1[7] = '\0';\n  pcVar1[8] = '\0';\n  pcVar1[9] = '\0';\n  pcVar1[10] = '\0';\n  pcVar1[0xb] = '\0';\n  pcVar1[0xc] = '\0';\n  pcVar1[0xd] = '\0';\n  pcVar1[0xe] = '\0';\n  pcVar1[0xf] = '\0';\n  pcVar1[0x10] = '\0';\n  pcVar1[0x11] = '\0';\n  pcVar1[0x12] = '\0';\n  pcVar1[0x13] = '\0';\n  pcVar1[0x14] = '\0';\n  pcVar1[0x15] = '\0';\n  pcVar1[0x16] = '\0';\n  pcVar1[0x17] = '\0';\n  pcVar1[0x18] = '\0';\n  pcVar1[0x19] = '\0';\n  pcVar1[0x1a] = '\0';\n  pcVar1[0x1b] = '\0';\n  pcVar1[0x1c] = '\0';\n  pcVar1[0x1d] = '\0';\n  pcVar1[0x1e] = '\0';\n  pcVar1[0x1f] = '\0';\n  pcVar1[0x20] = '\0';\n  pcVar1[0x21] = '\0';\n  pcVar1[0x22] = '\0';\n  pcVar1[0x23] = '\0';\n  pcVar1[0x24] = '\0';\n  pcVar1[0x25] = '\0';\n  pcVar1[0x26] = '\0';\n  pcVar1[0x27] = '\0';\n  pcVar1[0x28] = '\0';\n  pcVar1[0x29] = '\0';\n  pcVar1[0x2a] = '\0';\n  pcVar1[0x2b] = '\0';\n  pcVar1[0x2c] = '\0';\n  pcVar1[0x2d] = '\0';\n  pcVar1[0x2e] = '\0';\n  pcVar1[0x2f] = '\0';\n  if (name == (char *)0xa) {\n    pcVar6 = *(code **)(puVar5 + 0x22348);\n    (*pcVar6)();\n    pcVar3 = (char *)(**(code **)(pcVar6 + 0x22488))(0,pcVar1,5);\n    if (pcVar1 == pcVar3) {\n      pbVar4 = (byte *)locale_charset();\n      if ((*pbVar4 & 0xdf) == 0x55) {\n        if (((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))\n           && ((pbVar4[4] == 0x38 && (pbVar4[5] == 0)))) {\n          if (*pcVar3 != '`') {\n            return *(int *)(pcVar6 + 0x21fb0) + 0x2598;\n          }\n          return *(int *)(pcVar6 + 0x21fb0) + 0x25a4;\n        }\n      }\n      else if (((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))\n              && (((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))))) {\n        if (*pcVar3 != '`') {\n          return *(int *)(pcVar6 + 0x21fb0) + 0x259c;\n        }\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a0;\n      }\n      if (name != (char *)0x9) {\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a8;\n      }\n      pcVar3 = (char *)(*(int *)(pcVar6 + 0x21fb0) + 0x2594);\n    }\n    return (int)pcVar3;\n  }\n  *(char **)pcVar1 = name;\n  return (int)pcVar1;\n}" primitive_type (function_declarator "qset_acl(char *name,int desc,mode_t mode)" identifier (parameter_list "(char *name,int desc,mode_t mode)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "int desc" primitive_type identifier) , (parameter_declaration "mode_t mode" type_identifier identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char *pcVar3;\n  byte *pbVar4;\n  undefined *puVar5;\n  code *pcVar6;\n  permission_context ctx;\n  \n  puVar5 = PTR___stack_chk_guard_00044624;\n  ctx.acl = (acl_t)0x0;\n  ctx.default_acl = (acl_t)0x0;\n  ctx.acls_not_supported = false;\n  ctx._13_3_ = 0;\n  pcVar1 = *(char **)PTR___stack_chk_guard_00044624;\n  ctx.mode = mode;\n  iVar2 = set_permissions(&ctx,name,desc);\n  free_permission_context(&ctx);\n  if (pcVar1 == *(char **)puVar5) {\n    return iVar2;\n  }\n  puVar5 = PTR___stack_chk_fail_000445f4;\n  (*(code *)PTR___stack_chk_fail_000445f4)();\n  pcVar1[0] = '\0';\n  pcVar1[1] = '\0';\n  pcVar1[2] = '\0';\n  pcVar1[3] = '\0';\n  pcVar1[4] = '\0';\n  pcVar1[5] = '\0';\n  pcVar1[6] = '\0';\n  pcVar1[7] = '\0';\n  pcVar1[8] = '\0';\n  pcVar1[9] = '\0';\n  pcVar1[10] = '\0';\n  pcVar1[0xb] = '\0';\n  pcVar1[0xc] = '\0';\n  pcVar1[0xd] = '\0';\n  pcVar1[0xe] = '\0';\n  pcVar1[0xf] = '\0';\n  pcVar1[0x10] = '\0';\n  pcVar1[0x11] = '\0';\n  pcVar1[0x12] = '\0';\n  pcVar1[0x13] = '\0';\n  pcVar1[0x14] = '\0';\n  pcVar1[0x15] = '\0';\n  pcVar1[0x16] = '\0';\n  pcVar1[0x17] = '\0';\n  pcVar1[0x18] = '\0';\n  pcVar1[0x19] = '\0';\n  pcVar1[0x1a] = '\0';\n  pcVar1[0x1b] = '\0';\n  pcVar1[0x1c] = '\0';\n  pcVar1[0x1d] = '\0';\n  pcVar1[0x1e] = '\0';\n  pcVar1[0x1f] = '\0';\n  pcVar1[0x20] = '\0';\n  pcVar1[0x21] = '\0';\n  pcVar1[0x22] = '\0';\n  pcVar1[0x23] = '\0';\n  pcVar1[0x24] = '\0';\n  pcVar1[0x25] = '\0';\n  pcVar1[0x26] = '\0';\n  pcVar1[0x27] = '\0';\n  pcVar1[0x28] = '\0';\n  pcVar1[0x29] = '\0';\n  pcVar1[0x2a] = '\0';\n  pcVar1[0x2b] = '\0';\n  pcVar1[0x2c] = '\0';\n  pcVar1[0x2d] = '\0';\n  pcVar1[0x2e] = '\0';\n  pcVar1[0x2f] = '\0';\n  if (name == (char *)0xa) {\n    pcVar6 = *(code **)(puVar5 + 0x22348);\n    (*pcVar6)();\n    pcVar3 = (char *)(**(code **)(pcVar6 + 0x22488))(0,pcVar1,5);\n    if (pcVar1 == pcVar3) {\n      pbVar4 = (byte *)locale_charset();\n      if ((*pbVar4 & 0xdf) == 0x55) {\n        if (((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))\n           && ((pbVar4[4] == 0x38 && (pbVar4[5] == 0)))) {\n          if (*pcVar3 != '`') {\n            return *(int *)(pcVar6 + 0x21fb0) + 0x2598;\n          }\n          return *(int *)(pcVar6 + 0x21fb0) + 0x25a4;\n        }\n      }\n      else if (((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))\n              && (((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))))) {\n        if (*pcVar3 != '`') {\n          return *(int *)(pcVar6 + 0x21fb0) + 0x259c;\n        }\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a0;\n      }\n      if (name != (char *)0x9) {\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a8;\n      }\n      pcVar3 = (char *)(*(int *)(pcVar6 + 0x21fb0) + 0x2594);\n    }\n    return (int)pcVar3;\n  }\n  *(char **)pcVar1 = name;\n  return (int)pcVar1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "permission_context ctx;" type_identifier identifier ;) (expression_statement "puVar5 = PTR___stack_chk_guard_00044624;" (assignment_expression "puVar5 = PTR___stack_chk_guard_00044624" identifier = identifier) ;) (expression_statement "ctx.acl = (acl_t)0x0;" (assignment_expression "ctx.acl = (acl_t)0x0" (field_expression "ctx.acl" identifier . field_identifier) = (cast_expression "(acl_t)0x0" ( (type_descriptor "acl_t" type_identifier) ) number_literal)) ;) (expression_statement "ctx.default_acl = (acl_t)0x0;" (assignment_expression "ctx.default_acl = (acl_t)0x0" (field_expression "ctx.default_acl" identifier . field_identifier) = (cast_expression "(acl_t)0x0" ( (type_descriptor "acl_t" type_identifier) ) number_literal)) ;) (expression_statement "ctx.acls_not_supported = false;" (assignment_expression "ctx.acls_not_supported = false" (field_expression "ctx.acls_not_supported" identifier . field_identifier) = false) ;) (expression_statement "ctx._13_3_ = 0;" (assignment_expression "ctx._13_3_ = 0" (field_expression "ctx._13_3_" identifier . field_identifier) = number_literal) ;) (expression_statement "pcVar1 = *(char **)PTR___stack_chk_guard_00044624;" (assignment_expression "pcVar1 = *(char **)PTR___stack_chk_guard_00044624" identifier = (pointer_expression "*(char **)PTR___stack_chk_guard_00044624" * (cast_expression "(char **)PTR___stack_chk_guard_00044624" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "ctx.mode = mode;" (assignment_expression "ctx.mode = mode" (field_expression "ctx.mode" identifier . field_identifier) = identifier) ;) (expression_statement "iVar2 = set_permissions(&ctx,name,desc);" (assignment_expression "iVar2 = set_permissions(&ctx,name,desc)" identifier = (call_expression "set_permissions(&ctx,name,desc)" identifier (argument_list "(&ctx,name,desc)" ( (pointer_expression "&ctx" & identifier) , identifier , identifier )))) ;) (expression_statement "free_permission_context(&ctx);" (call_expression "free_permission_context(&ctx)" identifier (argument_list "(&ctx)" ( (pointer_expression "&ctx" & identifier) ))) ;) (if_statement "if (pcVar1 == *(char **)puVar5) {\n    return iVar2;\n  }" if (parenthesized_expression "(pcVar1 == *(char **)puVar5)" ( (binary_expression "pcVar1 == *(char **)puVar5" identifier == (pointer_expression "*(char **)puVar5" * (cast_expression "(char **)puVar5" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar2;\n  }" { (return_statement "return iVar2;" return identifier ;) })) (expression_statement "puVar5 = PTR___stack_chk_fail_000445f4;" (assignment_expression "puVar5 = PTR___stack_chk_fail_000445f4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000445f4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000445f4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000445f4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000445f4" * (cast_expression "(code *)PTR___stack_chk_fail_000445f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar1[0] = '\0';" (assignment_expression "pcVar1[0] = '\0'" (subscript_expression "pcVar1[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[1] = '\0';" (assignment_expression "pcVar1[1] = '\0'" (subscript_expression "pcVar1[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[2] = '\0';" (assignment_expression "pcVar1[2] = '\0'" (subscript_expression "pcVar1[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[3] = '\0';" (assignment_expression "pcVar1[3] = '\0'" (subscript_expression "pcVar1[3]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[4] = '\0';" (assignment_expression "pcVar1[4] = '\0'" (subscript_expression "pcVar1[4]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[5] = '\0';" (assignment_expression "pcVar1[5] = '\0'" (subscript_expression "pcVar1[5]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[6] = '\0';" (assignment_expression "pcVar1[6] = '\0'" (subscript_expression "pcVar1[6]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[7] = '\0';" (assignment_expression "pcVar1[7] = '\0'" (subscript_expression "pcVar1[7]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[8] = '\0';" (assignment_expression "pcVar1[8] = '\0'" (subscript_expression "pcVar1[8]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[9] = '\0';" (assignment_expression "pcVar1[9] = '\0'" (subscript_expression "pcVar1[9]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[10] = '\0';" (assignment_expression "pcVar1[10] = '\0'" (subscript_expression "pcVar1[10]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0xb] = '\0';" (assignment_expression "pcVar1[0xb] = '\0'" (subscript_expression "pcVar1[0xb]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0xc] = '\0';" (assignment_expression "pcVar1[0xc] = '\0'" (subscript_expression "pcVar1[0xc]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0xd] = '\0';" (assignment_expression "pcVar1[0xd] = '\0'" (subscript_expression "pcVar1[0xd]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0xe] = '\0';" (assignment_expression "pcVar1[0xe] = '\0'" (subscript_expression "pcVar1[0xe]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0xf] = '\0';" (assignment_expression "pcVar1[0xf] = '\0'" (subscript_expression "pcVar1[0xf]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x10] = '\0';" (assignment_expression "pcVar1[0x10] = '\0'" (subscript_expression "pcVar1[0x10]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x11] = '\0';" (assignment_expression "pcVar1[0x11] = '\0'" (subscript_expression "pcVar1[0x11]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x12] = '\0';" (assignment_expression "pcVar1[0x12] = '\0'" (subscript_expression "pcVar1[0x12]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x13] = '\0';" (assignment_expression "pcVar1[0x13] = '\0'" (subscript_expression "pcVar1[0x13]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x14] = '\0';" (assignment_expression "pcVar1[0x14] = '\0'" (subscript_expression "pcVar1[0x14]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x15] = '\0';" (assignment_expression "pcVar1[0x15] = '\0'" (subscript_expression "pcVar1[0x15]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x16] = '\0';" (assignment_expression "pcVar1[0x16] = '\0'" (subscript_expression "pcVar1[0x16]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x17] = '\0';" (assignment_expression "pcVar1[0x17] = '\0'" (subscript_expression "pcVar1[0x17]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x18] = '\0';" (assignment_expression "pcVar1[0x18] = '\0'" (subscript_expression "pcVar1[0x18]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x19] = '\0';" (assignment_expression "pcVar1[0x19] = '\0'" (subscript_expression "pcVar1[0x19]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x1a] = '\0';" (assignment_expression "pcVar1[0x1a] = '\0'" (subscript_expression "pcVar1[0x1a]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x1b] = '\0';" (assignment_expression "pcVar1[0x1b] = '\0'" (subscript_expression "pcVar1[0x1b]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x1c] = '\0';" (assignment_expression "pcVar1[0x1c] = '\0'" (subscript_expression "pcVar1[0x1c]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x1d] = '\0';" (assignment_expression "pcVar1[0x1d] = '\0'" (subscript_expression "pcVar1[0x1d]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x1e] = '\0';" (assignment_expression "pcVar1[0x1e] = '\0'" (subscript_expression "pcVar1[0x1e]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x1f] = '\0';" (assignment_expression "pcVar1[0x1f] = '\0'" (subscript_expression "pcVar1[0x1f]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x20] = '\0';" (assignment_expression "pcVar1[0x20] = '\0'" (subscript_expression "pcVar1[0x20]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x21] = '\0';" (assignment_expression "pcVar1[0x21] = '\0'" (subscript_expression "pcVar1[0x21]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x22] = '\0';" (assignment_expression "pcVar1[0x22] = '\0'" (subscript_expression "pcVar1[0x22]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x23] = '\0';" (assignment_expression "pcVar1[0x23] = '\0'" (subscript_expression "pcVar1[0x23]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x24] = '\0';" (assignment_expression "pcVar1[0x24] = '\0'" (subscript_expression "pcVar1[0x24]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x25] = '\0';" (assignment_expression "pcVar1[0x25] = '\0'" (subscript_expression "pcVar1[0x25]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x26] = '\0';" (assignment_expression "pcVar1[0x26] = '\0'" (subscript_expression "pcVar1[0x26]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x27] = '\0';" (assignment_expression "pcVar1[0x27] = '\0'" (subscript_expression "pcVar1[0x27]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x28] = '\0';" (assignment_expression "pcVar1[0x28] = '\0'" (subscript_expression "pcVar1[0x28]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x29] = '\0';" (assignment_expression "pcVar1[0x29] = '\0'" (subscript_expression "pcVar1[0x29]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x2a] = '\0';" (assignment_expression "pcVar1[0x2a] = '\0'" (subscript_expression "pcVar1[0x2a]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x2b] = '\0';" (assignment_expression "pcVar1[0x2b] = '\0'" (subscript_expression "pcVar1[0x2b]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x2c] = '\0';" (assignment_expression "pcVar1[0x2c] = '\0'" (subscript_expression "pcVar1[0x2c]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x2d] = '\0';" (assignment_expression "pcVar1[0x2d] = '\0'" (subscript_expression "pcVar1[0x2d]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x2e] = '\0';" (assignment_expression "pcVar1[0x2e] = '\0'" (subscript_expression "pcVar1[0x2e]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar1[0x2f] = '\0';" (assignment_expression "pcVar1[0x2f] = '\0'" (subscript_expression "pcVar1[0x2f]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (name == (char *)0xa) {\n    pcVar6 = *(code **)(puVar5 + 0x22348);\n    (*pcVar6)();\n    pcVar3 = (char *)(**(code **)(pcVar6 + 0x22488))(0,pcVar1,5);\n    if (pcVar1 == pcVar3) {\n      pbVar4 = (byte *)locale_charset();\n      if ((*pbVar4 & 0xdf) == 0x55) {\n        if (((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))\n           && ((pbVar4[4] == 0x38 && (pbVar4[5] == 0)))) {\n          if (*pcVar3 != '`') {\n            return *(int *)(pcVar6 + 0x21fb0) + 0x2598;\n          }\n          return *(int *)(pcVar6 + 0x21fb0) + 0x25a4;\n        }\n      }\n      else if (((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))\n              && (((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))))) {\n        if (*pcVar3 != '`') {\n          return *(int *)(pcVar6 + 0x21fb0) + 0x259c;\n        }\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a0;\n      }\n      if (name != (char *)0x9) {\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a8;\n      }\n      pcVar3 = (char *)(*(int *)(pcVar6 + 0x21fb0) + 0x2594);\n    }\n    return (int)pcVar3;\n  }" if (parenthesized_expression "(name == (char *)0xa)" ( (binary_expression "name == (char *)0xa" identifier == (cast_expression "(char *)0xa" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar6 = *(code **)(puVar5 + 0x22348);\n    (*pcVar6)();\n    pcVar3 = (char *)(**(code **)(pcVar6 + 0x22488))(0,pcVar1,5);\n    if (pcVar1 == pcVar3) {\n      pbVar4 = (byte *)locale_charset();\n      if ((*pbVar4 & 0xdf) == 0x55) {\n        if (((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))\n           && ((pbVar4[4] == 0x38 && (pbVar4[5] == 0)))) {\n          if (*pcVar3 != '`') {\n            return *(int *)(pcVar6 + 0x21fb0) + 0x2598;\n          }\n          return *(int *)(pcVar6 + 0x21fb0) + 0x25a4;\n        }\n      }\n      else if (((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))\n              && (((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))))) {\n        if (*pcVar3 != '`') {\n          return *(int *)(pcVar6 + 0x21fb0) + 0x259c;\n        }\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a0;\n      }\n      if (name != (char *)0x9) {\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a8;\n      }\n      pcVar3 = (char *)(*(int *)(pcVar6 + 0x21fb0) + 0x2594);\n    }\n    return (int)pcVar3;\n  }" { (expression_statement "pcVar6 = *(code **)(puVar5 + 0x22348);" (assignment_expression "pcVar6 = *(code **)(puVar5 + 0x22348)" identifier = (pointer_expression "*(code **)(puVar5 + 0x22348)" * (cast_expression "(code **)(puVar5 + 0x22348)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar5 + 0x22348)" ( (binary_expression "puVar5 + 0x22348" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar6)();" (call_expression "(*pcVar6)()" (parenthesized_expression "(*pcVar6)" ( (pointer_expression "*pcVar6" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "pcVar3 = (char *)(**(code **)(pcVar6 + 0x22488))(0,pcVar1,5);" (assignment_expression "pcVar3 = (char *)(**(code **)(pcVar6 + 0x22488))(0,pcVar1,5)" identifier = (cast_expression "(char *)(**(code **)(pcVar6 + 0x22488))(0,pcVar1,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar6 + 0x22488))(0,pcVar1,5)" (parenthesized_expression "(**(code **)(pcVar6 + 0x22488))" ( (pointer_expression "**(code **)(pcVar6 + 0x22488)" * (pointer_expression "*(code **)(pcVar6 + 0x22488)" * (cast_expression "(code **)(pcVar6 + 0x22488)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar6 + 0x22488)" ( (binary_expression "pcVar6 + 0x22488" identifier + number_literal) ))))) )) (argument_list "(0,pcVar1,5)" ( number_literal , identifier , number_literal ))))) ;) (if_statement "if (pcVar1 == pcVar3) {\n      pbVar4 = (byte *)locale_charset();\n      if ((*pbVar4 & 0xdf) == 0x55) {\n        if (((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))\n           && ((pbVar4[4] == 0x38 && (pbVar4[5] == 0)))) {\n          if (*pcVar3 != '`') {\n            return *(int *)(pcVar6 + 0x21fb0) + 0x2598;\n          }\n          return *(int *)(pcVar6 + 0x21fb0) + 0x25a4;\n        }\n      }\n      else if (((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))\n              && (((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))))) {\n        if (*pcVar3 != '`') {\n          return *(int *)(pcVar6 + 0x21fb0) + 0x259c;\n        }\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a0;\n      }\n      if (name != (char *)0x9) {\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a8;\n      }\n      pcVar3 = (char *)(*(int *)(pcVar6 + 0x21fb0) + 0x2594);\n    }" if (parenthesized_expression "(pcVar1 == pcVar3)" ( (binary_expression "pcVar1 == pcVar3" identifier == identifier) )) (compound_statement "{\n      pbVar4 = (byte *)locale_charset();\n      if ((*pbVar4 & 0xdf) == 0x55) {\n        if (((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))\n           && ((pbVar4[4] == 0x38 && (pbVar4[5] == 0)))) {\n          if (*pcVar3 != '`') {\n            return *(int *)(pcVar6 + 0x21fb0) + 0x2598;\n          }\n          return *(int *)(pcVar6 + 0x21fb0) + 0x25a4;\n        }\n      }\n      else if (((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))\n              && (((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))))) {\n        if (*pcVar3 != '`') {\n          return *(int *)(pcVar6 + 0x21fb0) + 0x259c;\n        }\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a0;\n      }\n      if (name != (char *)0x9) {\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a8;\n      }\n      pcVar3 = (char *)(*(int *)(pcVar6 + 0x21fb0) + 0x2594);\n    }" { (expression_statement "pbVar4 = (byte *)locale_charset();" (assignment_expression "pbVar4 = (byte *)locale_charset()" identifier = (cast_expression "(byte *)locale_charset()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "locale_charset()" identifier (argument_list "()" ( ))))) ;) (if_statement "if ((*pbVar4 & 0xdf) == 0x55) {\n        if (((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))\n           && ((pbVar4[4] == 0x38 && (pbVar4[5] == 0)))) {\n          if (*pcVar3 != '`') {\n            return *(int *)(pcVar6 + 0x21fb0) + 0x2598;\n          }\n          return *(int *)(pcVar6 + 0x21fb0) + 0x25a4;\n        }\n      }\n      else if (((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))\n              && (((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))))) {\n        if (*pcVar3 != '`') {\n          return *(int *)(pcVar6 + 0x21fb0) + 0x259c;\n        }\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a0;\n      }" if (parenthesized_expression "((*pbVar4 & 0xdf) == 0x55)" ( (binary_expression "(*pbVar4 & 0xdf) == 0x55" (parenthesized_expression "(*pbVar4 & 0xdf)" ( (binary_expression "*pbVar4 & 0xdf" (pointer_expression "*pbVar4" * identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        if (((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))\n           && ((pbVar4[4] == 0x38 && (pbVar4[5] == 0)))) {\n          if (*pcVar3 != '`') {\n            return *(int *)(pcVar6 + 0x21fb0) + 0x2598;\n          }\n          return *(int *)(pcVar6 + 0x21fb0) + 0x25a4;\n        }\n      }" { (if_statement "if (((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))\n           && ((pbVar4[4] == 0x38 && (pbVar4[5] == 0)))) {\n          if (*pcVar3 != '`') {\n            return *(int *)(pcVar6 + 0x21fb0) + 0x2598;\n          }\n          return *(int *)(pcVar6 + 0x21fb0) + 0x25a4;\n        }" if (parenthesized_expression "(((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))\n           && ((pbVar4[4] == 0x38 && (pbVar4[5] == 0))))" ( (binary_expression "((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))\n           && ((pbVar4[4] == 0x38 && (pbVar4[5] == 0)))" (parenthesized_expression "((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))" ( (binary_expression "(((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d)" (parenthesized_expression "(((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46))" ( (binary_expression "((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)" (parenthesized_expression "((pbVar4[1] & 0xdf) == 0x54)" ( (binary_expression "(pbVar4[1] & 0xdf) == 0x54" (parenthesized_expression "(pbVar4[1] & 0xdf)" ( (binary_expression "pbVar4[1] & 0xdf" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) && (parenthesized_expression "((pbVar4[2] & 0xdf) == 0x46)" ( (binary_expression "(pbVar4[2] & 0xdf) == 0x46" (parenthesized_expression "(pbVar4[2] & 0xdf)" ( (binary_expression "pbVar4[2] & 0xdf" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(pbVar4[3] == 0x2d)" ( (binary_expression "pbVar4[3] == 0x2d" (subscript_expression "pbVar4[3]" identifier [ number_literal ]) == number_literal) ))) )) && (parenthesized_expression "((pbVar4[4] == 0x38 && (pbVar4[5] == 0)))" ( (parenthesized_expression "(pbVar4[4] == 0x38 && (pbVar4[5] == 0))" ( (binary_expression "pbVar4[4] == 0x38 && (pbVar4[5] == 0)" (binary_expression "pbVar4[4] == 0x38" (subscript_expression "pbVar4[4]" identifier [ number_literal ]) == number_literal) && (parenthesized_expression "(pbVar4[5] == 0)" ( (binary_expression "pbVar4[5] == 0" (subscript_expression "pbVar4[5]" identifier [ number_literal ]) == number_literal) ))) )) ))) )) (compound_statement "{\n          if (*pcVar3 != '`') {\n            return *(int *)(pcVar6 + 0x21fb0) + 0x2598;\n          }\n          return *(int *)(pcVar6 + 0x21fb0) + 0x25a4;\n        }" { (if_statement "if (*pcVar3 != '`') {\n            return *(int *)(pcVar6 + 0x21fb0) + 0x2598;\n          }" if (parenthesized_expression "(*pcVar3 != '`')" ( (binary_expression "*pcVar3 != '`'" (pointer_expression "*pcVar3" * identifier) != (char_literal "'`'" ' character ')) )) (compound_statement "{\n            return *(int *)(pcVar6 + 0x21fb0) + 0x2598;\n          }" { (return_statement "return *(int *)(pcVar6 + 0x21fb0) + 0x2598;" return (binary_expression "*(int *)(pcVar6 + 0x21fb0) + 0x2598" (pointer_expression "*(int *)(pcVar6 + 0x21fb0)" * (cast_expression "(int *)(pcVar6 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x21fb0)" ( (binary_expression "pcVar6 + 0x21fb0" identifier + number_literal) )))) + number_literal) ;) })) (return_statement "return *(int *)(pcVar6 + 0x21fb0) + 0x25a4;" return (binary_expression "*(int *)(pcVar6 + 0x21fb0) + 0x25a4" (pointer_expression "*(int *)(pcVar6 + 0x21fb0)" * (cast_expression "(int *)(pcVar6 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x21fb0)" ( (binary_expression "pcVar6 + 0x21fb0" identifier + number_literal) )))) + number_literal) ;) })) }) (else_clause "else if (((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))\n              && (((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))))) {\n        if (*pcVar3 != '`') {\n          return *(int *)(pcVar6 + 0x21fb0) + 0x259c;\n        }\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a0;\n      }" else (if_statement "if (((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))\n              && (((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))))) {\n        if (*pcVar3 != '`') {\n          return *(int *)(pcVar6 + 0x21fb0) + 0x259c;\n        }\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a0;\n      }" if (parenthesized_expression "(((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))\n              && (((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0))))))))" ( (binary_expression "((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))\n              && (((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))))" (parenthesized_expression "((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))" ( (binary_expression "(((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31)" (parenthesized_expression "(((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42))" ( (binary_expression "((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)" (parenthesized_expression "((*pbVar4 & 0xdf) == 0x47)" ( (binary_expression "(*pbVar4 & 0xdf) == 0x47" (parenthesized_expression "(*pbVar4 & 0xdf)" ( (binary_expression "*pbVar4 & 0xdf" (pointer_expression "*pbVar4" * identifier) & number_literal) )) == number_literal) )) && (parenthesized_expression "((pbVar4[1] & 0xdf) == 0x42)" ( (binary_expression "(pbVar4[1] & 0xdf) == 0x42" (parenthesized_expression "(pbVar4[1] & 0xdf)" ( (binary_expression "pbVar4[1] & 0xdf" (subscript_expression "pbVar4[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(pbVar4[2] == 0x31)" ( (binary_expression "pbVar4[2] == 0x31" (subscript_expression "pbVar4[2]" identifier [ number_literal ]) == number_literal) ))) )) && (parenthesized_expression "(((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))))" ( (parenthesized_expression "((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0))))))" ( (binary_expression "(pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&\n                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))" (parenthesized_expression "(pbVar4[3] == 0x38 && (pbVar4[4] == 0x30))" ( (binary_expression "pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)" (binary_expression "pbVar4[3] == 0x38" (subscript_expression "pbVar4[3]" identifier [ number_literal ]) == number_literal) && (parenthesized_expression "(pbVar4[4] == 0x30)" ( (binary_expression "pbVar4[4] == 0x30" (subscript_expression "pbVar4[4]" identifier [ number_literal ]) == number_literal) ))) )) && (parenthesized_expression "((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))" ( (parenthesized_expression "(pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0))))" ( (binary_expression "pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))" (binary_expression "pbVar4[5] == 0x33" (subscript_expression "pbVar4[5]" identifier [ number_literal ]) == number_literal) && (parenthesized_expression "((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))" ( (parenthesized_expression "(pbVar4[6] == 0x30 && (pbVar4[7] == 0))" ( (binary_expression "pbVar4[6] == 0x30 && (pbVar4[7] == 0)" (binary_expression "pbVar4[6] == 0x30" (subscript_expression "pbVar4[6]" identifier [ number_literal ]) == number_literal) && (parenthesized_expression "(pbVar4[7] == 0)" ( (binary_expression "pbVar4[7] == 0" (subscript_expression "pbVar4[7]" identifier [ number_literal ]) == number_literal) ))) )) ))) )) ))) )) ))) )) (compound_statement "{\n        if (*pcVar3 != '`') {\n          return *(int *)(pcVar6 + 0x21fb0) + 0x259c;\n        }\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a0;\n      }" { (if_statement "if (*pcVar3 != '`') {\n          return *(int *)(pcVar6 + 0x21fb0) + 0x259c;\n        }" if (parenthesized_expression "(*pcVar3 != '`')" ( (binary_expression "*pcVar3 != '`'" (pointer_expression "*pcVar3" * identifier) != (char_literal "'`'" ' character ')) )) (compound_statement "{\n          return *(int *)(pcVar6 + 0x21fb0) + 0x259c;\n        }" { (return_statement "return *(int *)(pcVar6 + 0x21fb0) + 0x259c;" return (binary_expression "*(int *)(pcVar6 + 0x21fb0) + 0x259c" (pointer_expression "*(int *)(pcVar6 + 0x21fb0)" * (cast_expression "(int *)(pcVar6 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x21fb0)" ( (binary_expression "pcVar6 + 0x21fb0" identifier + number_literal) )))) + number_literal) ;) })) (return_statement "return *(int *)(pcVar6 + 0x21fb0) + 0x25a0;" return (binary_expression "*(int *)(pcVar6 + 0x21fb0) + 0x25a0" (pointer_expression "*(int *)(pcVar6 + 0x21fb0)" * (cast_expression "(int *)(pcVar6 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x21fb0)" ( (binary_expression "pcVar6 + 0x21fb0" identifier + number_literal) )))) + number_literal) ;) })))) (if_statement "if (name != (char *)0x9) {\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a8;\n      }" if (parenthesized_expression "(name != (char *)0x9)" ( (binary_expression "name != (char *)0x9" identifier != (cast_expression "(char *)0x9" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        return *(int *)(pcVar6 + 0x21fb0) + 0x25a8;\n      }" { (return_statement "return *(int *)(pcVar6 + 0x21fb0) + 0x25a8;" return (binary_expression "*(int *)(pcVar6 + 0x21fb0) + 0x25a8" (pointer_expression "*(int *)(pcVar6 + 0x21fb0)" * (cast_expression "(int *)(pcVar6 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x21fb0)" ( (binary_expression "pcVar6 + 0x21fb0" identifier + number_literal) )))) + number_literal) ;) })) (expression_statement "pcVar3 = (char *)(*(int *)(pcVar6 + 0x21fb0) + 0x2594);" (assignment_expression "pcVar3 = (char *)(*(int *)(pcVar6 + 0x21fb0) + 0x2594)" identifier = (cast_expression "(char *)(*(int *)(pcVar6 + 0x21fb0) + 0x2594)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar6 + 0x21fb0) + 0x2594)" ( (binary_expression "*(int *)(pcVar6 + 0x21fb0) + 0x2594" (pointer_expression "*(int *)(pcVar6 + 0x21fb0)" * (cast_expression "(int *)(pcVar6 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x21fb0)" ( (binary_expression "pcVar6 + 0x21fb0" identifier + number_literal) )))) + number_literal) )))) ;) })) (return_statement "return (int)pcVar3;" return (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier) ;) })) (expression_statement "*(char **)pcVar1 = name;" (assignment_expression "*(char **)pcVar1 = name" (pointer_expression "*(char **)pcVar1" * (cast_expression "(char **)pcVar1" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = identifier) ;) (return_statement "return (int)pcVar1;" return (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier) ;) })))
(translation_unit "int * qset_acl(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  byte *pbVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_00044624;\n  local_20 = 0;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = *(int **)PTR___stack_chk_guard_00044624;\n  local_24 = param_3;\n  piVar1 = (int *)set_permissions(&local_24,param_1,param_2);\n  free_permission_context(&local_24);\n  if (local_14 == *(int **)puVar4) {\n    return piVar1;\n  }\n  piVar1 = local_14;\n  puVar4 = PTR___stack_chk_fail_000445f4;\n  (*(code *)PTR___stack_chk_fail_000445f4)();\n  *piVar1 = 0;\n  piVar1[1] = 0;\n  piVar1[2] = 0;\n  piVar1[3] = 0;\n  piVar1[4] = 0;\n  piVar1[5] = 0;\n  piVar1[6] = 0;\n  piVar1[7] = 0;\n  piVar1[8] = 0;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  piVar1[0xb] = 0;\n  if (param_1 == 10) {\n    pcVar5 = *(code **)(puVar4 + 0x22348);\n    (*pcVar5)();\n    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);\n    if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }\n    return piVar2;\n  }\n  *piVar1 = param_1;\n  return piVar1;\n}\n\n" (function_definition "int * qset_acl(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  byte *pbVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_00044624;\n  local_20 = 0;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = *(int **)PTR___stack_chk_guard_00044624;\n  local_24 = param_3;\n  piVar1 = (int *)set_permissions(&local_24,param_1,param_2);\n  free_permission_context(&local_24);\n  if (local_14 == *(int **)puVar4) {\n    return piVar1;\n  }\n  piVar1 = local_14;\n  puVar4 = PTR___stack_chk_fail_000445f4;\n  (*(code *)PTR___stack_chk_fail_000445f4)();\n  *piVar1 = 0;\n  piVar1[1] = 0;\n  piVar1[2] = 0;\n  piVar1[3] = 0;\n  piVar1[4] = 0;\n  piVar1[5] = 0;\n  piVar1[6] = 0;\n  piVar1[7] = 0;\n  piVar1[8] = 0;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  piVar1[0xb] = 0;\n  if (param_1 == 10) {\n    pcVar5 = *(code **)(puVar4 + 0x22348);\n    (*pcVar5)();\n    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);\n    if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }\n    return piVar2;\n  }\n  *piVar1 = param_1;\n  return piVar1;\n}" primitive_type (pointer_declarator "* qset_acl(int param_1,undefined4 param_2,undefined4 param_3)" * (function_declarator "qset_acl(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) )))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  byte *pbVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_00044624;\n  local_20 = 0;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = *(int **)PTR___stack_chk_guard_00044624;\n  local_24 = param_3;\n  piVar1 = (int *)set_permissions(&local_24,param_1,param_2);\n  free_permission_context(&local_24);\n  if (local_14 == *(int **)puVar4) {\n    return piVar1;\n  }\n  piVar1 = local_14;\n  puVar4 = PTR___stack_chk_fail_000445f4;\n  (*(code *)PTR___stack_chk_fail_000445f4)();\n  *piVar1 = 0;\n  piVar1[1] = 0;\n  piVar1[2] = 0;\n  piVar1[3] = 0;\n  piVar1[4] = 0;\n  piVar1[5] = 0;\n  piVar1[6] = 0;\n  piVar1[7] = 0;\n  piVar1[8] = 0;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  piVar1[0xb] = 0;\n  if (param_1 == 10) {\n    pcVar5 = *(code **)(puVar4 + 0x22348);\n    (*pcVar5)();\n    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);\n    if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }\n    return piVar2;\n  }\n  *piVar1 = param_1;\n  return piVar1;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (declaration "undefined4 local_1c;" type_identifier identifier ;) (declaration "undefined4 local_18;" type_identifier identifier ;) (declaration "int *local_14;" primitive_type (pointer_declarator "*local_14" * identifier) ;) (expression_statement "puVar4 = PTR___stack_chk_guard_00044624;" (assignment_expression "puVar4 = PTR___stack_chk_guard_00044624" identifier = identifier) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" identifier = number_literal) ;) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" identifier = number_literal) ;) (expression_statement "local_14 = *(int **)PTR___stack_chk_guard_00044624;" (assignment_expression "local_14 = *(int **)PTR___stack_chk_guard_00044624" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_00044624" * (cast_expression "(int **)PTR___stack_chk_guard_00044624" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "local_24 = param_3;" (assignment_expression "local_24 = param_3" identifier = identifier) ;) (expression_statement "piVar1 = (int *)set_permissions(&local_24,param_1,param_2);" (assignment_expression "piVar1 = (int *)set_permissions(&local_24,param_1,param_2)" identifier = (cast_expression "(int *)set_permissions(&local_24,param_1,param_2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "set_permissions(&local_24,param_1,param_2)" identifier (argument_list "(&local_24,param_1,param_2)" ( (pointer_expression "&local_24" & identifier) , identifier , identifier ))))) ;) (expression_statement "free_permission_context(&local_24);" (call_expression "free_permission_context(&local_24)" identifier (argument_list "(&local_24)" ( (pointer_expression "&local_24" & identifier) ))) ;) (if_statement "if (local_14 == *(int **)puVar4) {\n    return piVar1;\n  }" if (parenthesized_expression "(local_14 == *(int **)puVar4)" ( (binary_expression "local_14 == *(int **)puVar4" identifier == (pointer_expression "*(int **)puVar4" * (cast_expression "(int **)puVar4" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return piVar1;\n  }" { (return_statement "return piVar1;" return identifier ;) })) (expression_statement "piVar1 = local_14;" (assignment_expression "piVar1 = local_14" identifier = identifier) ;) (expression_statement "puVar4 = PTR___stack_chk_fail_000445f4;" (assignment_expression "puVar4 = PTR___stack_chk_fail_000445f4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000445f4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000445f4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000445f4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000445f4" * (cast_expression "(code *)PTR___stack_chk_fail_000445f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" * identifier) = number_literal) ;) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[2] = 0;" (assignment_expression "piVar1[2] = 0" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[3] = 0;" (assignment_expression "piVar1[3] = 0" (subscript_expression "piVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[4] = 0;" (assignment_expression "piVar1[4] = 0" (subscript_expression "piVar1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[5] = 0;" (assignment_expression "piVar1[5] = 0" (subscript_expression "piVar1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[6] = 0;" (assignment_expression "piVar1[6] = 0" (subscript_expression "piVar1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[7] = 0;" (assignment_expression "piVar1[7] = 0" (subscript_expression "piVar1[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[8] = 0;" (assignment_expression "piVar1[8] = 0" (subscript_expression "piVar1[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[9] = 0;" (assignment_expression "piVar1[9] = 0" (subscript_expression "piVar1[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[10] = 0;" (assignment_expression "piVar1[10] = 0" (subscript_expression "piVar1[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar1[0xb] = 0;" (assignment_expression "piVar1[0xb] = 0" (subscript_expression "piVar1[0xb]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (param_1 == 10) {\n    pcVar5 = *(code **)(puVar4 + 0x22348);\n    (*pcVar5)();\n    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);\n    if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }\n    return piVar2;\n  }" if (parenthesized_expression "(param_1 == 10)" ( (binary_expression "param_1 == 10" identifier == number_literal) )) (compound_statement "{\n    pcVar5 = *(code **)(puVar4 + 0x22348);\n    (*pcVar5)();\n    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);\n    if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }\n    return piVar2;\n  }" { (expression_statement "pcVar5 = *(code **)(puVar4 + 0x22348);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x22348)" identifier = (pointer_expression "*(code **)(puVar4 + 0x22348)" * (cast_expression "(code **)(puVar4 + 0x22348)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar4 + 0x22348)" ( (binary_expression "puVar4 + 0x22348" identifier + number_literal) ))))) ;) (expression_statement "(*pcVar5)();" (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);" (assignment_expression "piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5)" identifier = (cast_expression "(int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(pcVar5 + 0x22488))(0,piVar1,5)" (parenthesized_expression "(**(code **)(pcVar5 + 0x22488))" ( (pointer_expression "**(code **)(pcVar5 + 0x22488)" * (pointer_expression "*(code **)(pcVar5 + 0x22488)" * (cast_expression "(code **)(pcVar5 + 0x22488)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x22488)" ( (binary_expression "pcVar5 + 0x22488" identifier + number_literal) ))))) )) (argument_list "(0,piVar1,5)" ( number_literal , identifier , number_literal ))))) ;) (if_statement "if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }" if (parenthesized_expression "(piVar1 == piVar2)" ( (binary_expression "piVar1 == piVar2" identifier == identifier) )) (compound_statement "{\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }" { (expression_statement "pbVar3 = (byte *)locale_charset();" (assignment_expression "pbVar3 = (byte *)locale_charset()" identifier = (cast_expression "(byte *)locale_charset()" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "locale_charset()" identifier (argument_list "()" ( ))))) ;) (if_statement "if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }" if (parenthesized_expression "((*pbVar3 & 0xdf) == 0x55)" ( (binary_expression "(*pbVar3 & 0xdf) == 0x55" (parenthesized_expression "(*pbVar3 & 0xdf)" ( (binary_expression "*pbVar3 & 0xdf" (pointer_expression "*pbVar3" * identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }" { (if_statement "if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }" if (parenthesized_expression "(((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0))))" ( (binary_expression "((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))" (parenthesized_expression "((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))" ( (binary_expression "(((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d)" (parenthesized_expression "(((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46))" ( (binary_expression "((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)" (parenthesized_expression "((pbVar3[1] & 0xdf) == 0x54)" ( (binary_expression "(pbVar3[1] & 0xdf) == 0x54" (parenthesized_expression "(pbVar3[1] & 0xdf)" ( (binary_expression "pbVar3[1] & 0xdf" (subscript_expression "pbVar3[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) && (parenthesized_expression "((pbVar3[2] & 0xdf) == 0x46)" ( (binary_expression "(pbVar3[2] & 0xdf) == 0x46" (parenthesized_expression "(pbVar3[2] & 0xdf)" ( (binary_expression "pbVar3[2] & 0xdf" (subscript_expression "pbVar3[2]" identifier [ number_literal ]) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(pbVar3[3] == 0x2d)" ( (binary_expression "pbVar3[3] == 0x2d" (subscript_expression "pbVar3[3]" identifier [ number_literal ]) == number_literal) ))) )) && (parenthesized_expression "((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))" ( (parenthesized_expression "(pbVar3[4] == 0x38 && (pbVar3[5] == 0))" ( (binary_expression "pbVar3[4] == 0x38 && (pbVar3[5] == 0)" (binary_expression "pbVar3[4] == 0x38" (subscript_expression "pbVar3[4]" identifier [ number_literal ]) == number_literal) && (parenthesized_expression "(pbVar3[5] == 0)" ( (binary_expression "pbVar3[5] == 0" (subscript_expression "pbVar3[5]" identifier [ number_literal ]) == number_literal) ))) )) ))) )) (compound_statement "{\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }" { (if_statement "if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }" if (parenthesized_expression "(*(char *)piVar2 != '`')" ( (binary_expression "*(char *)piVar2 != '`'" (pointer_expression "*(char *)piVar2" * (cast_expression "(char *)piVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != (char_literal "'`'" ' character ')) )) (compound_statement "{\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }" { (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);" return (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x2598)" ( (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x2598" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" * (cast_expression "(int *)(pcVar5 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x21fb0)" ( (binary_expression "pcVar5 + 0x21fb0" identifier + number_literal) )))) + number_literal) ))) ;) })) (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);" return (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x25a4)" ( (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x25a4" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" * (cast_expression "(int *)(pcVar5 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x21fb0)" ( (binary_expression "pcVar5 + 0x21fb0" identifier + number_literal) )))) + number_literal) ))) ;) })) }) (else_clause "else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }" else (if_statement "if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }" if (parenthesized_expression "(((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0))))))))" ( (binary_expression "((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))" (parenthesized_expression "((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))" ( (binary_expression "(((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31)" (parenthesized_expression "(((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42))" ( (binary_expression "((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)" (parenthesized_expression "((*pbVar3 & 0xdf) == 0x47)" ( (binary_expression "(*pbVar3 & 0xdf) == 0x47" (parenthesized_expression "(*pbVar3 & 0xdf)" ( (binary_expression "*pbVar3 & 0xdf" (pointer_expression "*pbVar3" * identifier) & number_literal) )) == number_literal) )) && (parenthesized_expression "((pbVar3[1] & 0xdf) == 0x42)" ( (binary_expression "(pbVar3[1] & 0xdf) == 0x42" (parenthesized_expression "(pbVar3[1] & 0xdf)" ( (binary_expression "pbVar3[1] & 0xdf" (subscript_expression "pbVar3[1]" identifier [ number_literal ]) & number_literal) )) == number_literal) ))) )) && (parenthesized_expression "(pbVar3[2] == 0x31)" ( (binary_expression "pbVar3[2] == 0x31" (subscript_expression "pbVar3[2]" identifier [ number_literal ]) == number_literal) ))) )) && (parenthesized_expression "(((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))" ( (parenthesized_expression "((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0))))))" ( (binary_expression "(pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))" (parenthesized_expression "(pbVar3[3] == 0x38 && (pbVar3[4] == 0x30))" ( (binary_expression "pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)" (binary_expression "pbVar3[3] == 0x38" (subscript_expression "pbVar3[3]" identifier [ number_literal ]) == number_literal) && (parenthesized_expression "(pbVar3[4] == 0x30)" ( (binary_expression "pbVar3[4] == 0x30" (subscript_expression "pbVar3[4]" identifier [ number_literal ]) == number_literal) ))) )) && (parenthesized_expression "((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))" ( (parenthesized_expression "(pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0))))" ( (binary_expression "pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))" (binary_expression "pbVar3[5] == 0x33" (subscript_expression "pbVar3[5]" identifier [ number_literal ]) == number_literal) && (parenthesized_expression "((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))" ( (parenthesized_expression "(pbVar3[6] == 0x30 && (pbVar3[7] == 0))" ( (binary_expression "pbVar3[6] == 0x30 && (pbVar3[7] == 0)" (binary_expression "pbVar3[6] == 0x30" (subscript_expression "pbVar3[6]" identifier [ number_literal ]) == number_literal) && (parenthesized_expression "(pbVar3[7] == 0)" ( (binary_expression "pbVar3[7] == 0" (subscript_expression "pbVar3[7]" identifier [ number_literal ]) == number_literal) ))) )) ))) )) ))) )) ))) )) (compound_statement "{\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }" { (if_statement "if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }" if (parenthesized_expression "(*(char *)piVar2 != '`')" ( (binary_expression "*(char *)piVar2 != '`'" (pointer_expression "*(char *)piVar2" * (cast_expression "(char *)piVar2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != (char_literal "'`'" ' character ')) )) (compound_statement "{\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }" { (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);" return (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x259c)" ( (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x259c" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" * (cast_expression "(int *)(pcVar5 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x21fb0)" ( (binary_expression "pcVar5 + 0x21fb0" identifier + number_literal) )))) + number_literal) ))) ;) })) (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);" return (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x25a0)" ( (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x25a0" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" * (cast_expression "(int *)(pcVar5 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x21fb0)" ( (binary_expression "pcVar5 + 0x21fb0" identifier + number_literal) )))) + number_literal) ))) ;) })))) (if_statement "if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }" if (parenthesized_expression "(param_1 != 9)" ( (binary_expression "param_1 != 9" identifier != number_literal) )) (compound_statement "{\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }" { (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);" return (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x25a8)" ( (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x25a8" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" * (cast_expression "(int *)(pcVar5 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x21fb0)" ( (binary_expression "pcVar5 + 0x21fb0" identifier + number_literal) )))) + number_literal) ))) ;) })) (expression_statement "piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);" (assignment_expression "piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594)" identifier = (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x2594)" ( (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x2594" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" * (cast_expression "(int *)(pcVar5 + 0x21fb0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar5 + 0x21fb0)" ( (binary_expression "pcVar5 + 0x21fb0" identifier + number_literal) )))) + number_literal) )))) ;) })) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "*piVar1 = param_1;" (assignment_expression "*piVar1 = param_1" (pointer_expression "*piVar1" * identifier) = identifier) ;) (return_statement "return piVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) ))) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != (char_literal ' character ')) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) ))) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) ))) )) ))) )) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != (char_literal ' character ')) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) })))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) })) (return_statement return IDENT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "int * qset_acl(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  int *piVar2;\n  byte *pbVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_00044624;\n  local_20 = 0;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = *(int **)PTR___stack_chk_guard_00044624;\n  local_24 = param_3;\n  piVar1 = (int *)set_permissions(&local_24,param_1,param_2);\n  free_permission_context(&local_24);\n  if (local_14 == *(int **)puVar4) {\n    return piVar1;\n  }\n  piVar1 = local_14;\n  puVar4 = PTR___stack_chk_fail_000445f4;\n  (*(code *)PTR___stack_chk_fail_000445f4)();\n  *piVar1 = 0;\n  piVar1[1] = 0;\n  piVar1[2] = 0;\n  piVar1[3] = 0;\n  piVar1[4] = 0;\n  piVar1[5] = 0;\n  piVar1[6] = 0;\n  piVar1[7] = 0;\n  piVar1[8] = 0;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  piVar1[0xb] = 0;\n  if (param_1 == 10) {\n    pcVar5 = *(code **)(puVar4 + 0x22348);\n    (*pcVar5)();\n    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);\n    if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }\n    return piVar2;\n  }\n  *piVar1 = param_1;\n  return piVar1;\n}" (primitive_type "int") (pointer_declarator "* qset_acl(int param_1,undefined4 param_2,undefined4 param_3)" (* "*") (function_declarator "qset_acl(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "qset_acl") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")")))) (compound_statement "{\n  int *piVar1;\n  int *piVar2;\n  byte *pbVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined4 local_24;\n  undefined4 local_20;\n  undefined4 local_1c;\n  undefined4 local_18;\n  int *local_14;\n  \n  puVar4 = PTR___stack_chk_guard_00044624;\n  local_20 = 0;\n  local_1c = 0;\n  local_18 = 0;\n  local_14 = *(int **)PTR___stack_chk_guard_00044624;\n  local_24 = param_3;\n  piVar1 = (int *)set_permissions(&local_24,param_1,param_2);\n  free_permission_context(&local_24);\n  if (local_14 == *(int **)puVar4) {\n    return piVar1;\n  }\n  piVar1 = local_14;\n  puVar4 = PTR___stack_chk_fail_000445f4;\n  (*(code *)PTR___stack_chk_fail_000445f4)();\n  *piVar1 = 0;\n  piVar1[1] = 0;\n  piVar1[2] = 0;\n  piVar1[3] = 0;\n  piVar1[4] = 0;\n  piVar1[5] = 0;\n  piVar1[6] = 0;\n  piVar1[7] = 0;\n  piVar1[8] = 0;\n  piVar1[9] = 0;\n  piVar1[10] = 0;\n  piVar1[0xb] = 0;\n  if (param_1 == 10) {\n    pcVar5 = *(code **)(puVar4 + 0x22348);\n    (*pcVar5)();\n    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);\n    if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }\n    return piVar2;\n  }\n  *piVar1 = param_1;\n  return piVar1;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "code *pcVar5;" (type_identifier "code") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (declaration "undefined4 local_1c;" (type_identifier "undefined4") (identifier "local_1c") (; ";")) (declaration "undefined4 local_18;" (type_identifier "undefined4") (identifier "local_18") (; ";")) (declaration "int *local_14;" (primitive_type "int") (pointer_declarator "*local_14" (* "*") (identifier "local_14")) (; ";")) (expression_statement "puVar4 = PTR___stack_chk_guard_00044624;" (assignment_expression "puVar4 = PTR___stack_chk_guard_00044624" (identifier "puVar4") (= "=") (identifier "PTR___stack_chk_guard_00044624")) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_1c = 0;" (assignment_expression "local_1c = 0" (identifier "local_1c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_18 = 0;" (assignment_expression "local_18 = 0" (identifier "local_18") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_14 = *(int **)PTR___stack_chk_guard_00044624;" (assignment_expression "local_14 = *(int **)PTR___stack_chk_guard_00044624" (identifier "local_14") (= "=") (pointer_expression "*(int **)PTR___stack_chk_guard_00044624" (* "*") (cast_expression "(int **)PTR___stack_chk_guard_00044624" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_00044624")))) (; ";")) (expression_statement "local_24 = param_3;" (assignment_expression "local_24 = param_3" (identifier "local_24") (= "=") (identifier "param_3")) (; ";")) (expression_statement "piVar1 = (int *)set_permissions(&local_24,param_1,param_2);" (assignment_expression "piVar1 = (int *)set_permissions(&local_24,param_1,param_2)" (identifier "piVar1") (= "=") (cast_expression "(int *)set_permissions(&local_24,param_1,param_2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "set_permissions(&local_24,param_1,param_2)" (identifier "set_permissions") (argument_list "(&local_24,param_1,param_2)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") () ")"))))) (; ";")) (expression_statement "free_permission_context(&local_24);" (call_expression "free_permission_context(&local_24)" (identifier "free_permission_context") (argument_list "(&local_24)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")"))) (; ";")) (if_statement "if (local_14 == *(int **)puVar4) {\n    return piVar1;\n  }" (if "if") (parenthesized_expression "(local_14 == *(int **)puVar4)" (( "(") (binary_expression "local_14 == *(int **)puVar4" (identifier "local_14") (== "==") (pointer_expression "*(int **)puVar4" (* "*") (cast_expression "(int **)puVar4" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar4")))) () ")")) (compound_statement "{\n    return piVar1;\n  }" ({ "{") (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}"))) (expression_statement "piVar1 = local_14;" (assignment_expression "piVar1 = local_14" (identifier "piVar1") (= "=") (identifier "local_14")) (; ";")) (expression_statement "puVar4 = PTR___stack_chk_fail_000445f4;" (assignment_expression "puVar4 = PTR___stack_chk_fail_000445f4" (identifier "puVar4") (= "=") (identifier "PTR___stack_chk_fail_000445f4")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000445f4)();" (call_expression "(*(code *)PTR___stack_chk_fail_000445f4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000445f4)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000445f4" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000445f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000445f4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*piVar1 = 0;" (assignment_expression "*piVar1 = 0" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[1] = 0;" (assignment_expression "piVar1[1] = 0" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[2] = 0;" (assignment_expression "piVar1[2] = 0" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[3] = 0;" (assignment_expression "piVar1[3] = 0" (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[4] = 0;" (assignment_expression "piVar1[4] = 0" (subscript_expression "piVar1[4]" (identifier "piVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[5] = 0;" (assignment_expression "piVar1[5] = 0" (subscript_expression "piVar1[5]" (identifier "piVar1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[6] = 0;" (assignment_expression "piVar1[6] = 0" (subscript_expression "piVar1[6]" (identifier "piVar1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[7] = 0;" (assignment_expression "piVar1[7] = 0" (subscript_expression "piVar1[7]" (identifier "piVar1") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[8] = 0;" (assignment_expression "piVar1[8] = 0" (subscript_expression "piVar1[8]" (identifier "piVar1") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[9] = 0;" (assignment_expression "piVar1[9] = 0" (subscript_expression "piVar1[9]" (identifier "piVar1") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[10] = 0;" (assignment_expression "piVar1[10] = 0" (subscript_expression "piVar1[10]" (identifier "piVar1") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1[0xb] = 0;" (assignment_expression "piVar1[0xb] = 0" (subscript_expression "piVar1[0xb]" (identifier "piVar1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1 == 10) {\n    pcVar5 = *(code **)(puVar4 + 0x22348);\n    (*pcVar5)();\n    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);\n    if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }\n    return piVar2;\n  }" (if "if") (parenthesized_expression "(param_1 == 10)" (( "(") (binary_expression "param_1 == 10" (identifier "param_1") (== "==") (number_literal "10")) () ")")) (compound_statement "{\n    pcVar5 = *(code **)(puVar4 + 0x22348);\n    (*pcVar5)();\n    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);\n    if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }\n    return piVar2;\n  }" ({ "{") (expression_statement "pcVar5 = *(code **)(puVar4 + 0x22348);" (assignment_expression "pcVar5 = *(code **)(puVar4 + 0x22348)" (identifier "pcVar5") (= "=") (pointer_expression "*(code **)(puVar4 + 0x22348)" (* "*") (cast_expression "(code **)(puVar4 + 0x22348)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar4 + 0x22348)" (( "(") (binary_expression "puVar4 + 0x22348" (identifier "puVar4") (+ "+") (number_literal "0x22348")) () ")"))))) (; ";")) (expression_statement "(*pcVar5)();" (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);" (assignment_expression "piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5)" (identifier "piVar2") (= "=") (cast_expression "(int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(pcVar5 + 0x22488))(0,piVar1,5)" (parenthesized_expression "(**(code **)(pcVar5 + 0x22488))" (( "(") (pointer_expression "**(code **)(pcVar5 + 0x22488)" (* "*") (pointer_expression "*(code **)(pcVar5 + 0x22488)" (* "*") (cast_expression "(code **)(pcVar5 + 0x22488)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar5 + 0x22488)" (( "(") (binary_expression "pcVar5 + 0x22488" (identifier "pcVar5") (+ "+") (number_literal "0x22488")) () ")"))))) () ")")) (argument_list "(0,piVar1,5)" (( "(") (number_literal "0") (, ",") (identifier "piVar1") (, ",") (number_literal "5") () ")"))))) (; ";")) (if_statement "if (piVar1 == piVar2) {\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }" (if "if") (parenthesized_expression "(piVar1 == piVar2)" (( "(") (binary_expression "piVar1 == piVar2" (identifier "piVar1") (== "==") (identifier "piVar2")) () ")")) (compound_statement "{\n      pbVar3 = (byte *)locale_charset();\n      if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }\n      if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }\n      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);\n    }" ({ "{") (expression_statement "pbVar3 = (byte *)locale_charset();" (assignment_expression "pbVar3 = (byte *)locale_charset()" (identifier "pbVar3") (= "=") (cast_expression "(byte *)locale_charset()" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "locale_charset()" (identifier "locale_charset") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if ((*pbVar3 & 0xdf) == 0x55) {\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }\n      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }" (if "if") (parenthesized_expression "((*pbVar3 & 0xdf) == 0x55)" (( "(") (binary_expression "(*pbVar3 & 0xdf) == 0x55" (parenthesized_expression "(*pbVar3 & 0xdf)" (( "(") (binary_expression "*pbVar3 & 0xdf" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (& "&") (number_literal "0xdf")) () ")")) (== "==") (number_literal "0x55")) () ")")) (compound_statement "{\n        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }\n      }" ({ "{") (if_statement "if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }" (if "if") (parenthesized_expression "(((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0))))" (( "(") (binary_expression "((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))\n           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))" (parenthesized_expression "((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))" (( "(") (binary_expression "(((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d)" (parenthesized_expression "(((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46))" (( "(") (binary_expression "((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)" (parenthesized_expression "((pbVar3[1] & 0xdf) == 0x54)" (( "(") (binary_expression "(pbVar3[1] & 0xdf) == 0x54" (parenthesized_expression "(pbVar3[1] & 0xdf)" (( "(") (binary_expression "pbVar3[1] & 0xdf" (subscript_expression "pbVar3[1]" (identifier "pbVar3") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0xdf")) () ")")) (== "==") (number_literal "0x54")) () ")")) (&& "&&") (parenthesized_expression "((pbVar3[2] & 0xdf) == 0x46)" (( "(") (binary_expression "(pbVar3[2] & 0xdf) == 0x46" (parenthesized_expression "(pbVar3[2] & 0xdf)" (( "(") (binary_expression "pbVar3[2] & 0xdf" (subscript_expression "pbVar3[2]" (identifier "pbVar3") ([ "[") (number_literal "2") (] "]")) (& "&") (number_literal "0xdf")) () ")")) (== "==") (number_literal "0x46")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pbVar3[3] == 0x2d)" (( "(") (binary_expression "pbVar3[3] == 0x2d" (subscript_expression "pbVar3[3]" (identifier "pbVar3") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0x2d")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))" (( "(") (parenthesized_expression "(pbVar3[4] == 0x38 && (pbVar3[5] == 0))" (( "(") (binary_expression "pbVar3[4] == 0x38 && (pbVar3[5] == 0)" (binary_expression "pbVar3[4] == 0x38" (subscript_expression "pbVar3[4]" (identifier "pbVar3") ([ "[") (number_literal "4") (] "]")) (== "==") (number_literal "0x38")) (&& "&&") (parenthesized_expression "(pbVar3[5] == 0)" (( "(") (binary_expression "pbVar3[5] == 0" (subscript_expression "pbVar3[5]" (identifier "pbVar3") ([ "[") (number_literal "5") (] "]")) (== "==") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n          if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);\n        }" ({ "{") (if_statement "if (*(char *)piVar2 != '`') {\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }" (if "if") (parenthesized_expression "(*(char *)piVar2 != '`')" (( "(") (binary_expression "*(char *)piVar2 != '`'" (pointer_expression "*(char *)piVar2" (* "*") (cast_expression "(char *)piVar2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "piVar2"))) (!= "!=") (char_literal "'`'" (' "'") (character "`") (' "'"))) () ")")) (compound_statement "{\n            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);\n          }" ({ "{") (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);" (return "return") (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x2598)" (( "(") (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x2598" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" (* "*") (cast_expression "(int *)(pcVar5 + 0x21fb0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x21fb0)" (( "(") (binary_expression "pcVar5 + 0x21fb0" (identifier "pcVar5") (+ "+") (number_literal "0x21fb0")) () ")")))) (+ "+") (number_literal "0x2598")) () ")"))) (; ";")) (} "}"))) (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);" (return "return") (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x25a4)" (( "(") (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x25a4" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" (* "*") (cast_expression "(int *)(pcVar5 + 0x21fb0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x21fb0)" (( "(") (binary_expression "pcVar5 + 0x21fb0" (identifier "pcVar5") (+ "+") (number_literal "0x21fb0")) () ")")))) (+ "+") (number_literal "0x25a4")) () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }" (else "else") (if_statement "if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }" (if "if") (parenthesized_expression "(((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0))))))))" (( "(") (binary_expression "((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))\n              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))" (parenthesized_expression "((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))" (( "(") (binary_expression "(((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31)" (parenthesized_expression "(((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42))" (( "(") (binary_expression "((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)" (parenthesized_expression "((*pbVar3 & 0xdf) == 0x47)" (( "(") (binary_expression "(*pbVar3 & 0xdf) == 0x47" (parenthesized_expression "(*pbVar3 & 0xdf)" (( "(") (binary_expression "*pbVar3 & 0xdf" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (& "&") (number_literal "0xdf")) () ")")) (== "==") (number_literal "0x47")) () ")")) (&& "&&") (parenthesized_expression "((pbVar3[1] & 0xdf) == 0x42)" (( "(") (binary_expression "(pbVar3[1] & 0xdf) == 0x42" (parenthesized_expression "(pbVar3[1] & 0xdf)" (( "(") (binary_expression "pbVar3[1] & 0xdf" (subscript_expression "pbVar3[1]" (identifier "pbVar3") ([ "[") (number_literal "1") (] "]")) (& "&") (number_literal "0xdf")) () ")")) (== "==") (number_literal "0x42")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pbVar3[2] == 0x31)" (( "(") (binary_expression "pbVar3[2] == 0x31" (subscript_expression "pbVar3[2]" (identifier "pbVar3") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "0x31")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))" (( "(") (parenthesized_expression "((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0))))))" (( "(") (binary_expression "(pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&\n                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))" (parenthesized_expression "(pbVar3[3] == 0x38 && (pbVar3[4] == 0x30))" (( "(") (binary_expression "pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)" (binary_expression "pbVar3[3] == 0x38" (subscript_expression "pbVar3[3]" (identifier "pbVar3") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0x38")) (&& "&&") (parenthesized_expression "(pbVar3[4] == 0x30)" (( "(") (binary_expression "pbVar3[4] == 0x30" (subscript_expression "pbVar3[4]" (identifier "pbVar3") ([ "[") (number_literal "4") (] "]")) (== "==") (number_literal "0x30")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))" (( "(") (parenthesized_expression "(pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0))))" (( "(") (binary_expression "pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))" (binary_expression "pbVar3[5] == 0x33" (subscript_expression "pbVar3[5]" (identifier "pbVar3") ([ "[") (number_literal "5") (] "]")) (== "==") (number_literal "0x33")) (&& "&&") (parenthesized_expression "((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))" (( "(") (parenthesized_expression "(pbVar3[6] == 0x30 && (pbVar3[7] == 0))" (( "(") (binary_expression "pbVar3[6] == 0x30 && (pbVar3[7] == 0)" (binary_expression "pbVar3[6] == 0x30" (subscript_expression "pbVar3[6]" (identifier "pbVar3") ([ "[") (number_literal "6") (] "]")) (== "==") (number_literal "0x30")) (&& "&&") (parenthesized_expression "(pbVar3[7] == 0)" (( "(") (binary_expression "pbVar3[7] == 0" (subscript_expression "pbVar3[7]" (identifier "pbVar3") ([ "[") (number_literal "7") (] "]")) (== "==") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);\n      }" ({ "{") (if_statement "if (*(char *)piVar2 != '`') {\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }" (if "if") (parenthesized_expression "(*(char *)piVar2 != '`')" (( "(") (binary_expression "*(char *)piVar2 != '`'" (pointer_expression "*(char *)piVar2" (* "*") (cast_expression "(char *)piVar2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "piVar2"))) (!= "!=") (char_literal "'`'" (' "'") (character "`") (' "'"))) () ")")) (compound_statement "{\n          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);\n        }" ({ "{") (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);" (return "return") (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x259c)" (( "(") (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x259c" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" (* "*") (cast_expression "(int *)(pcVar5 + 0x21fb0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x21fb0)" (( "(") (binary_expression "pcVar5 + 0x21fb0" (identifier "pcVar5") (+ "+") (number_literal "0x21fb0")) () ")")))) (+ "+") (number_literal "0x259c")) () ")"))) (; ";")) (} "}"))) (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);" (return "return") (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x25a0)" (( "(") (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x25a0" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" (* "*") (cast_expression "(int *)(pcVar5 + 0x21fb0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x21fb0)" (( "(") (binary_expression "pcVar5 + 0x21fb0" (identifier "pcVar5") (+ "+") (number_literal "0x21fb0")) () ")")))) (+ "+") (number_literal "0x25a0")) () ")"))) (; ";")) (} "}"))))) (if_statement "if (param_1 != 9) {\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }" (if "if") (parenthesized_expression "(param_1 != 9)" (( "(") (binary_expression "param_1 != 9" (identifier "param_1") (!= "!=") (number_literal "9")) () ")")) (compound_statement "{\n        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);\n      }" ({ "{") (return_statement "return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);" (return "return") (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x25a8)" (( "(") (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x25a8" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" (* "*") (cast_expression "(int *)(pcVar5 + 0x21fb0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x21fb0)" (( "(") (binary_expression "pcVar5 + 0x21fb0" (identifier "pcVar5") (+ "+") (number_literal "0x21fb0")) () ")")))) (+ "+") (number_literal "0x25a8")) () ")"))) (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);" (assignment_expression "piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594)" (identifier "piVar2") (= "=") (cast_expression "(int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar5 + 0x21fb0) + 0x2594)" (( "(") (binary_expression "*(int *)(pcVar5 + 0x21fb0) + 0x2594" (pointer_expression "*(int *)(pcVar5 + 0x21fb0)" (* "*") (cast_expression "(int *)(pcVar5 + 0x21fb0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar5 + 0x21fb0)" (( "(") (binary_expression "pcVar5 + 0x21fb0" (identifier "pcVar5") (+ "+") (number_literal "0x21fb0")) () ")")))) (+ "+") (number_literal "0x2594")) () ")")))) (; ";")) (} "}"))) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}"))) (expression_statement "*piVar1 = param_1;" (assignment_expression "*piVar1 = param_1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (identifier "param_1")) (; ";")) (return_statement "return piVar1;" (return "return") (identifier "piVar1") (; ";")) (} "}")))

int function_1(char *var_4,int desc,type_1 mode)

{
  char *var_3;
  int iVar2;
  char *var_7;
  type_2 *pbVar4;
  type_3 *var_5;
  type_4 *var_6;
  type_5 ctx;
  
  var_5 = PTR___stack_chk_guard_00044624;
  ctx.acl = (type_6)0x0;
  ctx.default_acl = (type_6)0x0;
  ctx.acls_not_supported = false;
  ctx._13_3_ = 0;
  var_3 = *(char **)PTR___stack_chk_guard_00044624;
  ctx.mode = mode;
  iVar2 = var_1(&ctx,var_4,desc);
  var_2(&ctx);
  if (var_3 == *(char **)var_5) {
    return iVar2;
  }
  var_5 = PTR___stack_chk_fail_000445f4;
  (*(type_4 *)PTR___stack_chk_fail_000445f4)();
  var_3[0] = '\0';
  var_3[1] = '\0';
  var_3[2] = '\0';
  var_3[3] = '\0';
  var_3[4] = '\0';
  var_3[5] = '\0';
  var_3[6] = '\0';
  var_3[7] = '\0';
  var_3[8] = '\0';
  var_3[9] = '\0';
  var_3[10] = '\0';
  var_3[0xb] = '\0';
  var_3[0xc] = '\0';
  var_3[0xd] = '\0';
  var_3[0xe] = '\0';
  var_3[0xf] = '\0';
  var_3[0x10] = '\0';
  var_3[0x11] = '\0';
  var_3[0x12] = '\0';
  var_3[0x13] = '\0';
  var_3[0x14] = '\0';
  var_3[0x15] = '\0';
  var_3[0x16] = '\0';
  var_3[0x17] = '\0';
  var_3[0x18] = '\0';
  var_3[0x19] = '\0';
  var_3[0x1a] = '\0';
  var_3[0x1b] = '\0';
  var_3[0x1c] = '\0';
  var_3[0x1d] = '\0';
  var_3[0x1e] = '\0';
  var_3[0x1f] = '\0';
  var_3[0x20] = '\0';
  var_3[0x21] = '\0';
  var_3[0x22] = '\0';
  var_3[0x23] = '\0';
  var_3[0x24] = '\0';
  var_3[0x25] = '\0';
  var_3[0x26] = '\0';
  var_3[0x27] = '\0';
  var_3[0x28] = '\0';
  var_3[0x29] = '\0';
  var_3[0x2a] = '\0';
  var_3[0x2b] = '\0';
  var_3[0x2c] = '\0';
  var_3[0x2d] = '\0';
  var_3[0x2e] = '\0';
  var_3[0x2f] = '\0';
  if (var_4 == (char *)0xa) {
    var_6 = *(type_4 **)(var_5 + 0x22348);
    (*var_6)();
    var_7 = (char *)(**(type_4 **)(var_6 + 0x22488))(0,var_3,5);
    if (var_3 == var_7) {
      pbVar4 = (type_2 *)var_8();
      if ((*pbVar4 & 0xdf) == 0x55) {
        if (((((pbVar4[1] & 0xdf) == 0x54) && ((pbVar4[2] & 0xdf) == 0x46)) && (pbVar4[3] == 0x2d))
           && ((pbVar4[4] == 0x38 && (pbVar4[5] == 0)))) {
          if (*var_7 != '`') {
            return *(int *)(var_6 + 0x21fb0) + 0x2598;
          }
          return *(int *)(var_6 + 0x21fb0) + 0x25a4;
        }
      }
      else if (((((*pbVar4 & 0xdf) == 0x47) && ((pbVar4[1] & 0xdf) == 0x42)) && (pbVar4[2] == 0x31))
              && (((pbVar4[3] == 0x38 && (pbVar4[4] == 0x30)) &&
                  ((pbVar4[5] == 0x33 && ((pbVar4[6] == 0x30 && (pbVar4[7] == 0)))))))) {
        if (*var_7 != '`') {
          return *(int *)(var_6 + 0x21fb0) + 0x259c;
        }
        return *(int *)(var_6 + 0x21fb0) + 0x25a0;
      }
      if (var_4 != (char *)0x9) {
        return *(int *)(var_6 + 0x21fb0) + 0x25a8;
      }
      var_7 = (char *)(*(int *)(var_6 + 0x21fb0) + 0x2594);
    }
    return (int)var_7;
  }
  *(char **)var_3 = var_4;
  return (int)var_3;
}


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

int * MASKED(int param_1,undefined4 param_2,undefined4 param_3)

{
  int *piVar1;
  int *piVar2;
  byte *pbVar3;
  undefined *puVar4;
  code *pcVar5;
  undefined4 local_24;
  undefined4 local_20;
  undefined4 local_1c;
  undefined4 local_18;
  int *local_14;
  
  puVar4 = PTR___stack_chk_guard_00044624;
  local_20 = 0;
  local_1c = 0;
  local_18 = 0;
  local_14 = *(int **)PTR___stack_chk_guard_00044624;
  local_24 = param_3;
  piVar1 = (int *)set_permissions(&local_24,param_1,param_2);
  free_permission_context(&local_24);
  if (local_14 == *(int **)puVar4) {
    return piVar1;
  }
  piVar1 = local_14;
  puVar4 = PTR___stack_chk_fail_000445f4;
  (*(code *)PTR___stack_chk_fail_000445f4)();
  *piVar1 = 0;
  piVar1[1] = 0;
  piVar1[2] = 0;
  piVar1[3] = 0;
  piVar1[4] = 0;
  piVar1[5] = 0;
  piVar1[6] = 0;
  piVar1[7] = 0;
  piVar1[8] = 0;
  piVar1[9] = 0;
  piVar1[10] = 0;
  piVar1[0xb] = 0;
  if (param_1 == 10) {
    pcVar5 = *(code **)(puVar4 + 0x22348);
    (*pcVar5)();
    piVar2 = (int *)(**(code **)(pcVar5 + 0x22488))(0,piVar1,5);
    if (piVar1 == piVar2) {
      pbVar3 = (byte *)locale_charset();
      if ((*pbVar3 & 0xdf) == 0x55) {
        if (((((pbVar3[1] & 0xdf) == 0x54) && ((pbVar3[2] & 0xdf) == 0x46)) && (pbVar3[3] == 0x2d))
           && ((pbVar3[4] == 0x38 && (pbVar3[5] == 0)))) {
          if (*(char *)piVar2 != '`') {
            return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2598);
          }
          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a4);
        }
      }
      else if (((((*pbVar3 & 0xdf) == 0x47) && ((pbVar3[1] & 0xdf) == 0x42)) && (pbVar3[2] == 0x31))
              && (((pbVar3[3] == 0x38 && (pbVar3[4] == 0x30)) &&
                  ((pbVar3[5] == 0x33 && ((pbVar3[6] == 0x30 && (pbVar3[7] == 0)))))))) {
        if (*(char *)piVar2 != '`') {
          return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x259c);
        }
        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a0);
      }
      if (param_1 != 9) {
        return (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x25a8);
      }
      piVar2 = (int *)(*(int *)(pcVar5 + 0x21fb0) + 0x2594);
    }
    return piVar2;
  }
  *piVar1 = param_1;
  return piVar1;
}

