
void pop3_get_message(char *buffer,char **outptr)

{
  byte *pbVar1;
  uint uVar2;
  byte *pbVar3;
  char *pcVar4;
  
  uVar2 = (*(code *)PTR_strlen_000a6ea8)();
  pcVar4 = buffer + uVar2;
  if (2 < uVar2) {
    for (pcVar4 = buffer + 2; (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1) {
    }
    pbVar3 = (byte *)(buffer + uVar2);
    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {
      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))
         ) {
        *pbVar1 = 0;
        *outptr = pcVar4;
        return;
      }
    }
  }
  *outptr = pcVar4;
  return;
}



void FUN_000596dc(int param_1,undefined4 *param_2)

{
  byte *pbVar1;
  uint uVar2;
  byte *pbVar3;
  char *pcVar4;
  
  uVar2 = (*(code *)PTR_strlen_000a6ea8)();
  pcVar4 = (char *)(param_1 + uVar2);
  if (2 < uVar2) {
    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)
    {
    }
    pbVar3 = (byte *)(param_1 + uVar2);
    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {
      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))
         ) {
        *pbVar1 = 0;
        *param_2 = pcVar4;
        return;
      }
    }
  }
  *param_2 = pcVar4;
  return;
}


lui gp,0x5
addiu gp,gp,0x4a34
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7268(gp)
sw s1,0x20(sp)
or s1,a1,zero
sw s0,0x1c(sp)
sw gp,0x10(sp)
sw ra,0x24(sp)
jalr t9
_or s0,a0,zero
sltiu v1,v0,0x3
bne v1,zero,0x00059744
_addu a2,s0,v0
addiu a2,s0,0x2
addu v0,s0,v0
li a0,0x20
li a1,0x9
lb a3,0x0(a2)
beq a3,a0,0x0005973c
_subu v1,v0,a2
bne a3,a1,0x0005975c
_li a3,0x1
b 0x00059728
_addiu a2,a2,0x1
lw ra,0x24(sp)
lw s0,0x1c(sp)
sw a2,0x0(s1)
lw s1,0x20(sp)
jr ra
_addiu sp,sp,0x28
addiu v1,v1,-0x1
lui t0,0x80
addu v1,a2,v1
addiu t2,a2,-0x1
subu a3,a3,a2
addiu t0,t0,0x13
beq v1,t2,0x00059744
_addu t1,a3,v1
lbu v0,0x0(v1)
addiu v1,v1,-0x1
addiu v0,v0,-0x9
andi v0,v0,0xff
srlv a0,t0,v0
sltiu v0,v0,0x18
beq v0,zero,0x000597a4
_ext a0,a0,0x0,0x1
bne a0,zero,0x00059774
_nop
addu t1,a2,t1
sb zero,0x0(t1)
sw a2,0x0(s1)
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_000596dc(int param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  uint uVar2;\n  byte *pbVar3;\n  char *pcVar4;\n  \n  uVar2 = (*(code *)PTR_strlen_000a6ea8)();\n  pcVar4 = (char *)(param_1 + uVar2);\n  if (2 < uVar2) {\n    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }\n    pbVar3 = (byte *)(param_1 + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }\n  }\n  *param_2 = pcVar4;\n  return;\n}\n\n" (function_definition "void FUN_000596dc(int param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  uint uVar2;\n  byte *pbVar3;\n  char *pcVar4;\n  \n  uVar2 = (*(code *)PTR_strlen_000a6ea8)();\n  pcVar4 = (char *)(param_1 + uVar2);\n  if (2 < uVar2) {\n    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }\n    pbVar3 = (byte *)(param_1 + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }\n  }\n  *param_2 = pcVar4;\n  return;\n}" primitive_type (function_declarator "FUN_000596dc(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  uint uVar2;\n  byte *pbVar3;\n  char *pcVar4;\n  \n  uVar2 = (*(code *)PTR_strlen_000a6ea8)();\n  pcVar4 = (char *)(param_1 + uVar2);\n  if (2 < uVar2) {\n    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }\n    pbVar3 = (byte *)(param_1 + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }\n  }\n  *param_2 = pcVar4;\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "uVar2 = (*(code *)PTR_strlen_000a6ea8)();" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000a6ea8)()" identifier = (call_expression "(*(code *)PTR_strlen_000a6ea8)()" (parenthesized_expression "(*(code *)PTR_strlen_000a6ea8)" ( (pointer_expression "*(code *)PTR_strlen_000a6ea8" * (cast_expression "(code *)PTR_strlen_000a6ea8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "pcVar4 = (char *)(param_1 + uVar2);" (assignment_expression "pcVar4 = (char *)(param_1 + uVar2)" identifier = (cast_expression "(char *)(param_1 + uVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + uVar2)" ( (binary_expression "param_1 + uVar2" identifier + identifier) )))) ;) (if_statement "if (2 < uVar2) {\n    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }\n    pbVar3 = (byte *)(param_1 + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(2 < uVar2)" ( (binary_expression "2 < uVar2" number_literal < identifier) )) (compound_statement "{\n    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }\n    pbVar3 = (byte *)(param_1 + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }\n  }" { (for_statement "for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }" for ( (assignment_expression "pcVar4 = (char *)(param_1 + 2)" identifier = (cast_expression "(char *)(param_1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ; (parenthesized_expression "(*pcVar4 == ' ' || (*pcVar4 == '\t'))" ( (binary_expression "*pcVar4 == ' ' || (*pcVar4 == '\t')" (binary_expression "*pcVar4 == ' '" (pointer_expression "*pcVar4" * identifier) == (char_literal "' '" ' character ')) || (parenthesized_expression "(*pcVar4 == '\t')" ( (binary_expression "*pcVar4 == '\t'" (pointer_expression "*pcVar4" * identifier) == (char_literal "'\t'" ' escape_sequence ')) ))) )) ; (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ) (compound_statement "{\n    }" { })) (expression_statement "pbVar3 = (byte *)(param_1 + uVar2);" (assignment_expression "pbVar3 = (byte *)(param_1 + uVar2)" identifier = (cast_expression "(byte *)(param_1 + uVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + uVar2)" ( (binary_expression "param_1 + uVar2" identifier + identifier) )))) ;) (while_statement "while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }" while (parenthesized_expression "(pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1))" ( (comma_expression "pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)" (assignment_expression "pbVar1 = pbVar3" identifier = identifier) , (comma_expression "pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)" (assignment_expression "pbVar3 = pbVar1 + -1" identifier = (binary_expression "pbVar1 + -1" identifier + number_literal)) , (binary_expression "pbVar3 != (byte *)(pcVar4 + -1)" identifier != (cast_expression "(byte *)(pcVar4 + -1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + -1)" ( (binary_expression "pcVar4 + -1" identifier + number_literal) )))))) )) (compound_statement "{\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }" { (if_statement "if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }" if (parenthesized_expression "((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         )" ( (binary_expression "(0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))" (parenthesized_expression "(0x17 < (*pbVar3 - 9 & 0xff))" ( (binary_expression "0x17 < (*pbVar3 - 9 & 0xff)" number_literal < (parenthesized_expression "(*pbVar3 - 9 & 0xff)" ( (binary_expression "*pbVar3 - 9 & 0xff" (binary_expression "*pbVar3 - 9" (pointer_expression "*pbVar3" * identifier) - number_literal) & number_literal) ))) )) || (parenthesized_expression "(-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))" ( (binary_expression "-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f)" number_literal < (cast_expression "(int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f)" ( (binary_expression "(0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f" (parenthesized_expression "(0x800013U >> (*pbVar3 - 9 & 0x1f))" ( (binary_expression "0x800013U >> (*pbVar3 - 9 & 0x1f)" number_literal >> (parenthesized_expression "(*pbVar3 - 9 & 0x1f)" ( (binary_expression "*pbVar3 - 9 & 0x1f" (binary_expression "*pbVar3 - 9" (pointer_expression "*pbVar3" * identifier) - number_literal) & number_literal) ))) )) << number_literal) )))) ))) )) (compound_statement "{\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }" { (expression_statement "*pbVar1 = 0;" (assignment_expression "*pbVar1 = 0" (pointer_expression "*pbVar1" * identifier) = number_literal) ;) (expression_statement "*param_2 = pcVar4;" (assignment_expression "*param_2 = pcVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return;" return ;) })) })) })) (expression_statement "*param_2 = pcVar4;" (assignment_expression "*param_2 = pcVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void pop3_get_message(char *buffer,char **outptr)\n\n{\n  byte *pbVar1;\n  uint uVar2;\n  byte *pbVar3;\n  char *pcVar4;\n  \n  uVar2 = (*(code *)PTR_strlen_000a6ea8)();\n  pcVar4 = buffer + uVar2;\n  if (2 < uVar2) {\n    for (pcVar4 = buffer + 2; (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1) {\n    }\n    pbVar3 = (byte *)(buffer + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *outptr = pcVar4;\n        return;\n      }\n    }\n  }\n  *outptr = pcVar4;\n  return;\n}\n\n" (function_definition "void pop3_get_message(char *buffer,char **outptr)\n\n{\n  byte *pbVar1;\n  uint uVar2;\n  byte *pbVar3;\n  char *pcVar4;\n  \n  uVar2 = (*(code *)PTR_strlen_000a6ea8)();\n  pcVar4 = buffer + uVar2;\n  if (2 < uVar2) {\n    for (pcVar4 = buffer + 2; (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1) {\n    }\n    pbVar3 = (byte *)(buffer + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *outptr = pcVar4;\n        return;\n      }\n    }\n  }\n  *outptr = pcVar4;\n  return;\n}" primitive_type (function_declarator "pop3_get_message(char *buffer,char **outptr)" identifier (parameter_list "(char *buffer,char **outptr)" ( (parameter_declaration "char *buffer" primitive_type (pointer_declarator "*buffer" * identifier)) , (parameter_declaration "char **outptr" primitive_type (pointer_declarator "**outptr" * (pointer_declarator "*outptr" * identifier))) ))) (compound_statement "{\n  byte *pbVar1;\n  uint uVar2;\n  byte *pbVar3;\n  char *pcVar4;\n  \n  uVar2 = (*(code *)PTR_strlen_000a6ea8)();\n  pcVar4 = buffer + uVar2;\n  if (2 < uVar2) {\n    for (pcVar4 = buffer + 2; (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1) {\n    }\n    pbVar3 = (byte *)(buffer + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *outptr = pcVar4;\n        return;\n      }\n    }\n  }\n  *outptr = pcVar4;\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "uVar2 = (*(code *)PTR_strlen_000a6ea8)();" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000a6ea8)()" identifier = (call_expression "(*(code *)PTR_strlen_000a6ea8)()" (parenthesized_expression "(*(code *)PTR_strlen_000a6ea8)" ( (pointer_expression "*(code *)PTR_strlen_000a6ea8" * (cast_expression "(code *)PTR_strlen_000a6ea8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "pcVar4 = buffer + uVar2;" (assignment_expression "pcVar4 = buffer + uVar2" identifier = (binary_expression "buffer + uVar2" identifier + identifier)) ;) (if_statement "if (2 < uVar2) {\n    for (pcVar4 = buffer + 2; (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1) {\n    }\n    pbVar3 = (byte *)(buffer + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *outptr = pcVar4;\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(2 < uVar2)" ( (binary_expression "2 < uVar2" number_literal < identifier) )) (compound_statement "{\n    for (pcVar4 = buffer + 2; (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1) {\n    }\n    pbVar3 = (byte *)(buffer + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *outptr = pcVar4;\n        return;\n      }\n    }\n  }" { (for_statement "for (pcVar4 = buffer + 2; (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1) {\n    }" for ( (assignment_expression "pcVar4 = buffer + 2" identifier = (binary_expression "buffer + 2" identifier + number_literal)) ; (parenthesized_expression "(*pcVar4 == ' ' || (*pcVar4 == '\t'))" ( (binary_expression "*pcVar4 == ' ' || (*pcVar4 == '\t')" (binary_expression "*pcVar4 == ' '" (pointer_expression "*pcVar4" * identifier) == (char_literal "' '" ' character ')) || (parenthesized_expression "(*pcVar4 == '\t')" ( (binary_expression "*pcVar4 == '\t'" (pointer_expression "*pcVar4" * identifier) == (char_literal "'\t'" ' escape_sequence ')) ))) )) ; (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ) (compound_statement "{\n    }" { })) (expression_statement "pbVar3 = (byte *)(buffer + uVar2);" (assignment_expression "pbVar3 = (byte *)(buffer + uVar2)" identifier = (cast_expression "(byte *)(buffer + uVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(buffer + uVar2)" ( (binary_expression "buffer + uVar2" identifier + identifier) )))) ;) (while_statement "while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *outptr = pcVar4;\n        return;\n      }\n    }" while (parenthesized_expression "(pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1))" ( (comma_expression "pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)" (assignment_expression "pbVar1 = pbVar3" identifier = identifier) , (comma_expression "pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)" (assignment_expression "pbVar3 = pbVar1 + -1" identifier = (binary_expression "pbVar1 + -1" identifier + number_literal)) , (binary_expression "pbVar3 != (byte *)(pcVar4 + -1)" identifier != (cast_expression "(byte *)(pcVar4 + -1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + -1)" ( (binary_expression "pcVar4 + -1" identifier + number_literal) )))))) )) (compound_statement "{\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *outptr = pcVar4;\n        return;\n      }\n    }" { (if_statement "if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *outptr = pcVar4;\n        return;\n      }" if (parenthesized_expression "((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         )" ( (binary_expression "(0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))" (parenthesized_expression "(0x17 < (*pbVar3 - 9 & 0xff))" ( (binary_expression "0x17 < (*pbVar3 - 9 & 0xff)" number_literal < (parenthesized_expression "(*pbVar3 - 9 & 0xff)" ( (binary_expression "*pbVar3 - 9 & 0xff" (binary_expression "*pbVar3 - 9" (pointer_expression "*pbVar3" * identifier) - number_literal) & number_literal) ))) )) || (parenthesized_expression "(-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))" ( (binary_expression "-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f)" number_literal < (cast_expression "(int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f)" ( (binary_expression "(0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f" (parenthesized_expression "(0x800013U >> (*pbVar3 - 9 & 0x1f))" ( (binary_expression "0x800013U >> (*pbVar3 - 9 & 0x1f)" number_literal >> (parenthesized_expression "(*pbVar3 - 9 & 0x1f)" ( (binary_expression "*pbVar3 - 9 & 0x1f" (binary_expression "*pbVar3 - 9" (pointer_expression "*pbVar3" * identifier) - number_literal) & number_literal) ))) )) << number_literal) )))) ))) )) (compound_statement "{\n        *pbVar1 = 0;\n        *outptr = pcVar4;\n        return;\n      }" { (expression_statement "*pbVar1 = 0;" (assignment_expression "*pbVar1 = 0" (pointer_expression "*pbVar1" * identifier) = number_literal) ;) (expression_statement "*outptr = pcVar4;" (assignment_expression "*outptr = pcVar4" (pointer_expression "*outptr" * identifier) = identifier) ;) (return_statement "return;" return ;) })) })) })) (expression_statement "*outptr = pcVar4;" (assignment_expression "*outptr = pcVar4" (pointer_expression "*outptr" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000596dc(int param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  uint uVar2;\n  byte *pbVar3;\n  char *pcVar4;\n  \n  uVar2 = (*(code *)PTR_strlen_000a6ea8)();\n  pcVar4 = (char *)(param_1 + uVar2);\n  if (2 < uVar2) {\n    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }\n    pbVar3 = (byte *)(param_1 + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }\n  }\n  *param_2 = pcVar4;\n  return;\n}\n\n" (function_definition "void FUN_000596dc(int param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  uint uVar2;\n  byte *pbVar3;\n  char *pcVar4;\n  \n  uVar2 = (*(code *)PTR_strlen_000a6ea8)();\n  pcVar4 = (char *)(param_1 + uVar2);\n  if (2 < uVar2) {\n    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }\n    pbVar3 = (byte *)(param_1 + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }\n  }\n  *param_2 = pcVar4;\n  return;\n}" primitive_type (function_declarator "FUN_000596dc(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte *pbVar1;\n  uint uVar2;\n  byte *pbVar3;\n  char *pcVar4;\n  \n  uVar2 = (*(code *)PTR_strlen_000a6ea8)();\n  pcVar4 = (char *)(param_1 + uVar2);\n  if (2 < uVar2) {\n    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }\n    pbVar3 = (byte *)(param_1 + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }\n  }\n  *param_2 = pcVar4;\n  return;\n}" { (declaration "byte *pbVar1;" type_identifier (pointer_declarator "*pbVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "uVar2 = (*(code *)PTR_strlen_000a6ea8)();" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000a6ea8)()" identifier = (call_expression "(*(code *)PTR_strlen_000a6ea8)()" (parenthesized_expression "(*(code *)PTR_strlen_000a6ea8)" ( (pointer_expression "*(code *)PTR_strlen_000a6ea8" * (cast_expression "(code *)PTR_strlen_000a6ea8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "pcVar4 = (char *)(param_1 + uVar2);" (assignment_expression "pcVar4 = (char *)(param_1 + uVar2)" identifier = (cast_expression "(char *)(param_1 + uVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + uVar2)" ( (binary_expression "param_1 + uVar2" identifier + identifier) )))) ;) (if_statement "if (2 < uVar2) {\n    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }\n    pbVar3 = (byte *)(param_1 + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(2 < uVar2)" ( (binary_expression "2 < uVar2" number_literal < identifier) )) (compound_statement "{\n    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }\n    pbVar3 = (byte *)(param_1 + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }\n  }" { (for_statement "for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }" for ( (assignment_expression "pcVar4 = (char *)(param_1 + 2)" identifier = (cast_expression "(char *)(param_1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ; (parenthesized_expression "(*pcVar4 == ' ' || (*pcVar4 == '\t'))" ( (binary_expression "*pcVar4 == ' ' || (*pcVar4 == '\t')" (binary_expression "*pcVar4 == ' '" (pointer_expression "*pcVar4" * identifier) == (char_literal "' '" ' character ')) || (parenthesized_expression "(*pcVar4 == '\t')" ( (binary_expression "*pcVar4 == '\t'" (pointer_expression "*pcVar4" * identifier) == (char_literal "'\t'" ' escape_sequence ')) ))) )) ; (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ) (compound_statement "{\n    }" { })) (expression_statement "pbVar3 = (byte *)(param_1 + uVar2);" (assignment_expression "pbVar3 = (byte *)(param_1 + uVar2)" identifier = (cast_expression "(byte *)(param_1 + uVar2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + uVar2)" ( (binary_expression "param_1 + uVar2" identifier + identifier) )))) ;) (while_statement "while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }" while (parenthesized_expression "(pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1))" ( (comma_expression "pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)" (assignment_expression "pbVar1 = pbVar3" identifier = identifier) , (comma_expression "pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)" (assignment_expression "pbVar3 = pbVar1 + -1" identifier = (binary_expression "pbVar1 + -1" identifier + number_literal)) , (binary_expression "pbVar3 != (byte *)(pcVar4 + -1)" identifier != (cast_expression "(byte *)(pcVar4 + -1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + -1)" ( (binary_expression "pcVar4 + -1" identifier + number_literal) )))))) )) (compound_statement "{\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }" { (if_statement "if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }" if (parenthesized_expression "((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         )" ( (binary_expression "(0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))" (parenthesized_expression "(0x17 < (*pbVar3 - 9 & 0xff))" ( (binary_expression "0x17 < (*pbVar3 - 9 & 0xff)" number_literal < (parenthesized_expression "(*pbVar3 - 9 & 0xff)" ( (binary_expression "*pbVar3 - 9 & 0xff" (binary_expression "*pbVar3 - 9" (pointer_expression "*pbVar3" * identifier) - number_literal) & number_literal) ))) )) || (parenthesized_expression "(-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))" ( (binary_expression "-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f)" number_literal < (cast_expression "(int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f)" ( (binary_expression "(0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f" (parenthesized_expression "(0x800013U >> (*pbVar3 - 9 & 0x1f))" ( (binary_expression "0x800013U >> (*pbVar3 - 9 & 0x1f)" number_literal >> (parenthesized_expression "(*pbVar3 - 9 & 0x1f)" ( (binary_expression "*pbVar3 - 9 & 0x1f" (binary_expression "*pbVar3 - 9" (pointer_expression "*pbVar3" * identifier) - number_literal) & number_literal) ))) )) << number_literal) )))) ))) )) (compound_statement "{\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }" { (expression_statement "*pbVar1 = 0;" (assignment_expression "*pbVar1 = 0" (pointer_expression "*pbVar1" * identifier) = number_literal) ;) (expression_statement "*param_2 = pcVar4;" (assignment_expression "*param_2 = pcVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return;" return ;) })) })) })) (expression_statement "*param_2 = pcVar4;" (assignment_expression "*param_2 = pcVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (for_statement for ( (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ; (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) ))) )) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) - LIT) & LIT) ))) )) || (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT >> (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) - LIT) & LIT) ))) )) << LIT) )))) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })) })) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_000596dc(int param_1,undefined4 *param_2)\n\n{\n  byte *pbVar1;\n  uint uVar2;\n  byte *pbVar3;\n  char *pcVar4;\n  \n  uVar2 = (*(code *)PTR_strlen_000a6ea8)();\n  pcVar4 = (char *)(param_1 + uVar2);\n  if (2 < uVar2) {\n    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }\n    pbVar3 = (byte *)(param_1 + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }\n  }\n  *param_2 = pcVar4;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000596dc(int param_1,undefined4 *param_2)" (identifier "FUN_000596dc") (parameter_list "(int param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  byte *pbVar1;\n  uint uVar2;\n  byte *pbVar3;\n  char *pcVar4;\n  \n  uVar2 = (*(code *)PTR_strlen_000a6ea8)();\n  pcVar4 = (char *)(param_1 + uVar2);\n  if (2 < uVar2) {\n    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }\n    pbVar3 = (byte *)(param_1 + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }\n  }\n  *param_2 = pcVar4;\n  return;\n}" ({ "{") (declaration "byte *pbVar1;" (type_identifier "byte") (pointer_declarator "*pbVar1" (* "*") (identifier "pbVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_strlen_000a6ea8)();" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000a6ea8)()" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_strlen_000a6ea8)()" (parenthesized_expression "(*(code *)PTR_strlen_000a6ea8)" (( "(") (pointer_expression "*(code *)PTR_strlen_000a6ea8" (* "*") (cast_expression "(code *)PTR_strlen_000a6ea8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000a6ea8"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pcVar4 = (char *)(param_1 + uVar2);" (assignment_expression "pcVar4 = (char *)(param_1 + uVar2)" (identifier "pcVar4") (= "=") (cast_expression "(char *)(param_1 + uVar2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + uVar2)" (( "(") (binary_expression "param_1 + uVar2" (identifier "param_1") (+ "+") (identifier "uVar2")) () ")")))) (; ";")) (if_statement "if (2 < uVar2) {\n    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }\n    pbVar3 = (byte *)(param_1 + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(2 < uVar2)" (( "(") (binary_expression "2 < uVar2" (number_literal "2") (< "<") (identifier "uVar2")) () ")")) (compound_statement "{\n    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }\n    pbVar3 = (byte *)(param_1 + uVar2);\n    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }\n  }" ({ "{") (for_statement "for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)\n    {\n    }" (for "for") (( "(") (assignment_expression "pcVar4 = (char *)(param_1 + 2)" (identifier "pcVar4") (= "=") (cast_expression "(char *)(param_1 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";") (parenthesized_expression "(*pcVar4 == ' ' || (*pcVar4 == '\t'))" (( "(") (binary_expression "*pcVar4 == ' ' || (*pcVar4 == '\t')" (binary_expression "*pcVar4 == ' '" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (== "==") (char_literal "' '" (' "'") (character " ") (' "'"))) (|| "||") (parenthesized_expression "(*pcVar4 == '\t')" (( "(") (binary_expression "*pcVar4 == '\t'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (== "==") (char_literal "'\t'" (' "'") (escape_sequence "\t") (' "'"))) () ")"))) () ")")) (; ";") (assignment_expression "pcVar4 = pcVar4 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) () ")") (compound_statement "{\n    }" ({ "{") (} "}"))) (expression_statement "pbVar3 = (byte *)(param_1 + uVar2);" (assignment_expression "pbVar3 = (byte *)(param_1 + uVar2)" (identifier "pbVar3") (= "=") (cast_expression "(byte *)(param_1 + uVar2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + uVar2)" (( "(") (binary_expression "param_1 + uVar2" (identifier "param_1") (+ "+") (identifier "uVar2")) () ")")))) (; ";")) (while_statement "while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }" (while "while") (parenthesized_expression "(pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1))" (( "(") (comma_expression "pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)" (assignment_expression "pbVar1 = pbVar3" (identifier "pbVar1") (= "=") (identifier "pbVar3")) (, ",") (comma_expression "pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)" (assignment_expression "pbVar3 = pbVar1 + -1" (identifier "pbVar3") (= "=") (binary_expression "pbVar1 + -1" (identifier "pbVar1") (+ "+") (number_literal "-1"))) (, ",") (binary_expression "pbVar3 != (byte *)(pcVar4 + -1)" (identifier "pbVar3") (!= "!=") (cast_expression "(byte *)(pcVar4 + -1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar4 + -1)" (( "(") (binary_expression "pcVar4 + -1" (identifier "pcVar4") (+ "+") (number_literal "-1")) () ")")))))) () ")")) (compound_statement "{\n      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }\n    }" ({ "{") (if_statement "if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         ) {\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }" (if "if") (parenthesized_expression "((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))\n         )" (( "(") (binary_expression "(0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))" (parenthesized_expression "(0x17 < (*pbVar3 - 9 & 0xff))" (( "(") (binary_expression "0x17 < (*pbVar3 - 9 & 0xff)" (number_literal "0x17") (< "<") (parenthesized_expression "(*pbVar3 - 9 & 0xff)" (( "(") (binary_expression "*pbVar3 - 9 & 0xff" (binary_expression "*pbVar3 - 9" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (- "-") (number_literal "9")) (& "&") (number_literal "0xff")) () ")"))) () ")")) (|| "||") (parenthesized_expression "(-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))" (( "(") (binary_expression "-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f)" (number_literal "-1") (< "<") (cast_expression "(int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f)" (( "(") (binary_expression "(0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f" (parenthesized_expression "(0x800013U >> (*pbVar3 - 9 & 0x1f))" (( "(") (binary_expression "0x800013U >> (*pbVar3 - 9 & 0x1f)" (number_literal "0x800013U") (>> ">>") (parenthesized_expression "(*pbVar3 - 9 & 0x1f)" (( "(") (binary_expression "*pbVar3 - 9 & 0x1f" (binary_expression "*pbVar3 - 9" (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3")) (- "-") (number_literal "9")) (& "&") (number_literal "0x1f")) () ")"))) () ")")) (<< "<<") (number_literal "0x1f")) () ")")))) () ")"))) () ")")) (compound_statement "{\n        *pbVar1 = 0;\n        *param_2 = pcVar4;\n        return;\n      }" ({ "{") (expression_statement "*pbVar1 = 0;" (assignment_expression "*pbVar1 = 0" (pointer_expression "*pbVar1" (* "*") (identifier "pbVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_2 = pcVar4;" (assignment_expression "*param_2 = pcVar4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "pcVar4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "*param_2 = pcVar4;" (assignment_expression "*param_2 = pcVar4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "pcVar4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (for_statement initializer: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) right: (number_literal))))) right: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement))))

void MASKED(int param_1,undefined4 *param_2)

{
  byte *pbVar1;
  uint uVar2;
  byte *pbVar3;
  char *pcVar4;
  
  uVar2 = (*(code *)PTR_strlen_000a6ea8)();
  pcVar4 = (char *)(param_1 + uVar2);
  if (2 < uVar2) {
    for (pcVar4 = (char *)(param_1 + 2); (*pcVar4 == ' ' || (*pcVar4 == '\t')); pcVar4 = pcVar4 + 1)
    {
    }
    pbVar3 = (byte *)(param_1 + uVar2);
    while (pbVar1 = pbVar3, pbVar3 = pbVar1 + -1, pbVar3 != (byte *)(pcVar4 + -1)) {
      if ((0x17 < (*pbVar3 - 9 & 0xff)) || (-1 < (int)((0x800013U >> (*pbVar3 - 9 & 0x1f)) << 0x1f))
         ) {
        *pbVar1 = 0;
        *param_2 = pcVar4;
        return;
      }
    }
  }
  *param_2 = pcVar4;
  return;
}

