
/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */

void __regparm3 url_unescape_1(char *s,uchar mask)

{
  byte bVar1;
  char *t;
  char *pcVar2;
  char cVar3;
  byte bVar4;
  char cVar5;
  int iVar6;
  
  cVar3 = *s;
  pcVar2 = s;
  do {
    if (cVar3 == '\0') {
      *pcVar2 = '\0';
      return;
    }
    if ((cVar3 == '%') && (cVar5 = s[1], cVar5 != '\0')) {
      bVar1 = s[2];
      if (bVar1 != 0) {
        switch(cVar5) {
        case '0':
        case '1':
        case '2':
        case '3':
        case '4':
        case '5':
        case '6':
        case '7':
        case '8':
        case '9':
        case 'A':
        case 'B':
        case 'C':
        case 'D':
        case 'E':
        case 'F':
        case 'a':
        case 'b':
        case 'c':
        case 'd':
        case 'e':
        case 'f':
          switch(bVar1 - 0x30 & 0xff) {
          case 0:
          case 1:
          case 2:
          case 3:
          case 4:
          case 5:
          case 6:
          case 7:
          case 8:
          case 9:
          case 0x11:
          case 0x12:
          case 0x13:
          case 0x14:
          case 0x15:
          case 0x16:
          case 0x31:
          case 0x32:
          case 0x33:
          case 0x34:
          case 0x35:
          case 0x36:
            if (cVar5 < 'A') {
              bVar4 = cVar5 << 4;
              if ((char)bVar1 < 'A') goto LAB_00048940;
LAB_000488f6:
              iVar6 = (int)(char)bVar1;
              if (iVar6 - 0x61U < 0x1a) {
                iVar6 = iVar6 + -0x20;
              }
              iVar6 = iVar6 + -0x37;
            }
            else {
              if ((int)cVar5 - 0x61U < 0x1a) {
                cVar5 = cVar5 + -0x20;
              }
              bVar4 = (cVar5 + -0x37) * '\x10';
              if ('@' < (char)bVar1) goto LAB_000488f6;
LAB_00048940:
              iVar6 = bVar1 - 0x30;
            }
            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"
                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&
               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {
              s = s + 2;
              cVar3 = cVar5;
            }
          }
        }
      }
    }
    *pcVar2 = cVar3;
    cVar3 = s[1];
    s = s + 1;
    pcVar2 = pcVar2 + 1;
  } while( true );
}



void FUN_00048840(void)

{
  byte bVar1;
  char cVar2;
  char *pcVar3;
  char *extraout_ECX;
  char *pcVar4;
  int unaff_EBP;
  
  pcVar3 = (char *)FUN_0003a0a2();
  cVar2 = *pcVar3;
  pcVar4 = extraout_ECX;
  while( true ) {
    if (cVar2 == '\0') {
      *pcVar4 = '\0';
      return;
    }
    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&
       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;
    *pcVar4 = cVar2;
    cVar2 = pcVar3[1];
    pcVar3 = pcVar3 + 1;
    pcVar4 = pcVar4 + 1;
  }
                    /* WARNING: Could not recover jumptable at 0x000488ae. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))();
  return;
}


PUSH EBP
MOV ECX,EAX
CALL 0x0003a0a2
ADD EBP,0x66388
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x8
MOV byte ptr [ESP + 0x7],DL
MOVZX EDX,byte ptr [EAX]
TEST DL,DL
JNZ 0x0004887a
JMP 0x000488d0
MOV byte ptr [ECX],DL
MOVZX EDX,byte ptr [EAX + 0x1]
LEA EBX,[EAX + 0x1]
ADD ECX,0x1
TEST DL,DL
JZ 0x000488d0
MOV EAX,EBX
CMP DL,0x25
JNZ 0x00048868
MOVZX EBX,byte ptr [EAX + 0x1]
MOV byte ptr [ESP],BL
TEST BL,BL
JZ 0x00048868
MOVZX ESI,byte ptr [EAX + 0x2]
MOV EBX,ESI
TEST BL,BL
JZ 0x00048868
MOVZX EBX,byte ptr [ESP]
LEA EDI,[EBX + -0x30]
MOV EBX,EDI
CMP BL,0x36
JA 0x00048868
MOVZX EDI,BL
MOV EBX,dword ptr [EBP + EDI*0x4 + 0xfffdf850]
ADD EBX,EBP
JMP EBX
MOV byte ptr [ECX],0x0
ADD ESP,0x8
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_00048840(void)\n\n{\n  byte bVar1;\n  char cVar2;\n  char *pcVar3;\n  char *extraout_ECX;\n  char *pcVar4;\n  int unaff_EBP;\n  \n  pcVar3 = (char *)FUN_0003a0a2();\n  cVar2 = *pcVar3;\n  pcVar4 = extraout_ECX;\n  while( true ) {\n    if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }\n    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;\n    *pcVar4 = cVar2;\n    cVar2 = pcVar3[1];\n    pcVar3 = pcVar3 + 1;\n    pcVar4 = pcVar4 + 1;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000488ae. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))();\n  return;\n}\n\n" (function_definition "void FUN_00048840(void)\n\n{\n  byte bVar1;\n  char cVar2;\n  char *pcVar3;\n  char *extraout_ECX;\n  char *pcVar4;\n  int unaff_EBP;\n  \n  pcVar3 = (char *)FUN_0003a0a2();\n  cVar2 = *pcVar3;\n  pcVar4 = extraout_ECX;\n  while( true ) {\n    if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }\n    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;\n    *pcVar4 = cVar2;\n    cVar2 = pcVar3[1];\n    pcVar3 = pcVar3 + 1;\n    pcVar4 = pcVar4 + 1;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000488ae. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))();\n  return;\n}" primitive_type (function_declarator "FUN_00048840(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  char *pcVar3;\n  char *extraout_ECX;\n  char *pcVar4;\n  int unaff_EBP;\n  \n  pcVar3 = (char *)FUN_0003a0a2();\n  cVar2 = *pcVar3;\n  pcVar4 = extraout_ECX;\n  while( true ) {\n    if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }\n    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;\n    *pcVar4 = cVar2;\n    cVar2 = pcVar3[1];\n    pcVar3 = pcVar3 + 1;\n    pcVar4 = pcVar4 + 1;\n  }\n                    /* WARNING: Could not recover jumptable at 0x000488ae. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))();\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *extraout_ECX;" primitive_type (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (expression_statement "pcVar3 = (char *)FUN_0003a0a2();" (assignment_expression "pcVar3 = (char *)FUN_0003a0a2()" identifier = (cast_expression "(char *)FUN_0003a0a2()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0003a0a2()" identifier (argument_list "()" ( ))))) ;) (expression_statement "cVar2 = *pcVar3;" (assignment_expression "cVar2 = *pcVar3" identifier = (pointer_expression "*pcVar3" * identifier)) ;) (expression_statement "pcVar4 = extraout_ECX;" (assignment_expression "pcVar4 = extraout_ECX" identifier = identifier) ;) (while_statement "while( true ) {\n    if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }\n    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;\n    *pcVar4 = cVar2;\n    cVar2 = pcVar3[1];\n    pcVar3 = pcVar3 + 1;\n    pcVar4 = pcVar4 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }\n    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;\n    *pcVar4 = cVar2;\n    cVar2 = pcVar3[1];\n    pcVar3 = pcVar3 + 1;\n    pcVar4 = pcVar4 + 1;\n  }" { (if_statement "if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *pcVar4 = '\0';\n      return;\n    }" { (expression_statement "*pcVar4 = '\0';" (assignment_expression "*pcVar4 = '\0'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })) (if_statement "if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;" if (parenthesized_expression "((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37))" ( (binary_expression "(((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)" (parenthesized_expression "(((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0'))" ( (binary_expression "((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')" (parenthesized_expression "((cVar2 == '%') && (pcVar3[1] != '\0'))" ( (binary_expression "(cVar2 == '%') && (pcVar3[1] != '\0')" (parenthesized_expression "(cVar2 == '%')" ( (binary_expression "cVar2 == '%'" identifier == (char_literal "'%'" ' character ')) )) && (parenthesized_expression "(pcVar3[1] != '\0')" ( (binary_expression "pcVar3[1] != '\0'" (subscript_expression "pcVar3[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(pcVar3[2] != '\0')" ( (binary_expression "pcVar3[2] != '\0'" (subscript_expression "pcVar3[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)" ( (comma_expression "bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37" (assignment_expression "bVar1 = pcVar3[1] - 0x30" identifier = (binary_expression "pcVar3[1] - 0x30" (subscript_expression "pcVar3[1]" identifier [ number_literal ]) - number_literal)) , (binary_expression "bVar1 < 0x37" identifier < number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "*pcVar4 = cVar2;" (assignment_expression "*pcVar4 = cVar2" (pointer_expression "*pcVar4" * identifier) = identifier) ;) (expression_statement "cVar2 = pcVar3[1];" (assignment_expression "cVar2 = pcVar3[1]" identifier = (subscript_expression "pcVar3[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) })) comment comment (expression_statement "(*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))();" (call_expression "(*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))()" (parenthesized_expression "(*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))" ( (pointer_expression "*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388)" * (cast_expression "(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388)" ( (binary_expression "*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388" (binary_expression "*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP" (pointer_expression "*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4)" * (cast_expression "(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4)" ( (binary_expression "unaff_EBP + 0x45bd8 + (uint)bVar1 * 4" (binary_expression "unaff_EBP + 0x45bd8" identifier + number_literal) + (binary_expression "(uint)bVar1 * 4" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) )))) + identifier) + number_literal) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */\n\nvoid __regparm3 url_unescape_1(char *s,uchar mask)\n\n{\n  byte bVar1;\n  char *t;\n  char *pcVar2;\n  char cVar3;\n  byte bVar4;\n  char cVar5;\n  int iVar6;\n  \n  cVar3 = *s;\n  pcVar2 = s;\n  do {\n    if (cVar3 == '\0') {\n      *pcVar2 = '\0';\n      return;\n    }\n    if ((cVar3 == '%') && (cVar5 = s[1], cVar5 != '\0')) {\n      bVar1 = s[2];\n      if (bVar1 != 0) {\n        switch(cVar5) {\n        case '0':\n        case '1':\n        case '2':\n        case '3':\n        case '4':\n        case '5':\n        case '6':\n        case '7':\n        case '8':\n        case '9':\n        case 'A':\n        case 'B':\n        case 'C':\n        case 'D':\n        case 'E':\n        case 'F':\n        case 'a':\n        case 'b':\n        case 'c':\n        case 'd':\n        case 'e':\n        case 'f':\n          switch(bVar1 - 0x30 & 0xff) {\n          case 0:\n          case 1:\n          case 2:\n          case 3:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 0x11:\n          case 0x12:\n          case 0x13:\n          case 0x14:\n          case 0x15:\n          case 0x16:\n          case 0x31:\n          case 0x32:\n          case 0x33:\n          case 0x34:\n          case 0x35:\n          case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }\n          }\n        }\n      }\n    }\n    *pcVar2 = cVar3;\n    cVar3 = s[1];\n    s = s + 1;\n    pcVar2 = pcVar2 + 1;\n  } while( true );\n}\n\n" comment (function_definition "void __regparm3 url_unescape_1(char *s,uchar mask)\n\n{\n  byte bVar1;\n  char *t;\n  char *pcVar2;\n  char cVar3;\n  byte bVar4;\n  char cVar5;\n  int iVar6;\n  \n  cVar3 = *s;\n  pcVar2 = s;\n  do {\n    if (cVar3 == '\0') {\n      *pcVar2 = '\0';\n      return;\n    }\n    if ((cVar3 == '%') && (cVar5 = s[1], cVar5 != '\0')) {\n      bVar1 = s[2];\n      if (bVar1 != 0) {\n        switch(cVar5) {\n        case '0':\n        case '1':\n        case '2':\n        case '3':\n        case '4':\n        case '5':\n        case '6':\n        case '7':\n        case '8':\n        case '9':\n        case 'A':\n        case 'B':\n        case 'C':\n        case 'D':\n        case 'E':\n        case 'F':\n        case 'a':\n        case 'b':\n        case 'c':\n        case 'd':\n        case 'e':\n        case 'f':\n          switch(bVar1 - 0x30 & 0xff) {\n          case 0:\n          case 1:\n          case 2:\n          case 3:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 0x11:\n          case 0x12:\n          case 0x13:\n          case 0x14:\n          case 0x15:\n          case 0x16:\n          case 0x31:\n          case 0x32:\n          case 0x33:\n          case 0x34:\n          case 0x35:\n          case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }\n          }\n        }\n      }\n    }\n    *pcVar2 = cVar3;\n    cVar3 = s[1];\n    s = s + 1;\n    pcVar2 = pcVar2 + 1;\n  } while( true );\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "url_unescape_1(char *s,uchar mask)" identifier (parameter_list "(char *s,uchar mask)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) , (parameter_declaration "uchar mask" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  char *t;\n  char *pcVar2;\n  char cVar3;\n  byte bVar4;\n  char cVar5;\n  int iVar6;\n  \n  cVar3 = *s;\n  pcVar2 = s;\n  do {\n    if (cVar3 == '\0') {\n      *pcVar2 = '\0';\n      return;\n    }\n    if ((cVar3 == '%') && (cVar5 = s[1], cVar5 != '\0')) {\n      bVar1 = s[2];\n      if (bVar1 != 0) {\n        switch(cVar5) {\n        case '0':\n        case '1':\n        case '2':\n        case '3':\n        case '4':\n        case '5':\n        case '6':\n        case '7':\n        case '8':\n        case '9':\n        case 'A':\n        case 'B':\n        case 'C':\n        case 'D':\n        case 'E':\n        case 'F':\n        case 'a':\n        case 'b':\n        case 'c':\n        case 'd':\n        case 'e':\n        case 'f':\n          switch(bVar1 - 0x30 & 0xff) {\n          case 0:\n          case 1:\n          case 2:\n          case 3:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 0x11:\n          case 0x12:\n          case 0x13:\n          case 0x14:\n          case 0x15:\n          case 0x16:\n          case 0x31:\n          case 0x32:\n          case 0x33:\n          case 0x34:\n          case 0x35:\n          case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }\n          }\n        }\n      }\n    }\n    *pcVar2 = cVar3;\n    cVar3 = s[1];\n    s = s + 1;\n    pcVar2 = pcVar2 + 1;\n  } while( true );\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char *t;" primitive_type (pointer_declarator "*t" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (expression_statement "cVar3 = *s;" (assignment_expression "cVar3 = *s" identifier = (pointer_expression "*s" * identifier)) ;) (expression_statement "pcVar2 = s;" (assignment_expression "pcVar2 = s" identifier = identifier) ;) (do_statement "do {\n    if (cVar3 == '\0') {\n      *pcVar2 = '\0';\n      return;\n    }\n    if ((cVar3 == '%') && (cVar5 = s[1], cVar5 != '\0')) {\n      bVar1 = s[2];\n      if (bVar1 != 0) {\n        switch(cVar5) {\n        case '0':\n        case '1':\n        case '2':\n        case '3':\n        case '4':\n        case '5':\n        case '6':\n        case '7':\n        case '8':\n        case '9':\n        case 'A':\n        case 'B':\n        case 'C':\n        case 'D':\n        case 'E':\n        case 'F':\n        case 'a':\n        case 'b':\n        case 'c':\n        case 'd':\n        case 'e':\n        case 'f':\n          switch(bVar1 - 0x30 & 0xff) {\n          case 0:\n          case 1:\n          case 2:\n          case 3:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 0x11:\n          case 0x12:\n          case 0x13:\n          case 0x14:\n          case 0x15:\n          case 0x16:\n          case 0x31:\n          case 0x32:\n          case 0x33:\n          case 0x34:\n          case 0x35:\n          case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }\n          }\n        }\n      }\n    }\n    *pcVar2 = cVar3;\n    cVar3 = s[1];\n    s = s + 1;\n    pcVar2 = pcVar2 + 1;\n  } while( true );" do (compound_statement "{\n    if (cVar3 == '\0') {\n      *pcVar2 = '\0';\n      return;\n    }\n    if ((cVar3 == '%') && (cVar5 = s[1], cVar5 != '\0')) {\n      bVar1 = s[2];\n      if (bVar1 != 0) {\n        switch(cVar5) {\n        case '0':\n        case '1':\n        case '2':\n        case '3':\n        case '4':\n        case '5':\n        case '6':\n        case '7':\n        case '8':\n        case '9':\n        case 'A':\n        case 'B':\n        case 'C':\n        case 'D':\n        case 'E':\n        case 'F':\n        case 'a':\n        case 'b':\n        case 'c':\n        case 'd':\n        case 'e':\n        case 'f':\n          switch(bVar1 - 0x30 & 0xff) {\n          case 0:\n          case 1:\n          case 2:\n          case 3:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 0x11:\n          case 0x12:\n          case 0x13:\n          case 0x14:\n          case 0x15:\n          case 0x16:\n          case 0x31:\n          case 0x32:\n          case 0x33:\n          case 0x34:\n          case 0x35:\n          case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }\n          }\n        }\n      }\n    }\n    *pcVar2 = cVar3;\n    cVar3 = s[1];\n    s = s + 1;\n    pcVar2 = pcVar2 + 1;\n  }" { (if_statement "if (cVar3 == '\0') {\n      *pcVar2 = '\0';\n      return;\n    }" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *pcVar2 = '\0';\n      return;\n    }" { (expression_statement "*pcVar2 = '\0';" (assignment_expression "*pcVar2 = '\0'" (pointer_expression "*pcVar2" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })) (if_statement "if ((cVar3 == '%') && (cVar5 = s[1], cVar5 != '\0')) {\n      bVar1 = s[2];\n      if (bVar1 != 0) {\n        switch(cVar5) {\n        case '0':\n        case '1':\n        case '2':\n        case '3':\n        case '4':\n        case '5':\n        case '6':\n        case '7':\n        case '8':\n        case '9':\n        case 'A':\n        case 'B':\n        case 'C':\n        case 'D':\n        case 'E':\n        case 'F':\n        case 'a':\n        case 'b':\n        case 'c':\n        case 'd':\n        case 'e':\n        case 'f':\n          switch(bVar1 - 0x30 & 0xff) {\n          case 0:\n          case 1:\n          case 2:\n          case 3:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 0x11:\n          case 0x12:\n          case 0x13:\n          case 0x14:\n          case 0x15:\n          case 0x16:\n          case 0x31:\n          case 0x32:\n          case 0x33:\n          case 0x34:\n          case 0x35:\n          case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }\n          }\n        }\n      }\n    }" if (parenthesized_expression "((cVar3 == '%') && (cVar5 = s[1], cVar5 != '\0'))" ( (binary_expression "(cVar3 == '%') && (cVar5 = s[1], cVar5 != '\0')" (parenthesized_expression "(cVar3 == '%')" ( (binary_expression "cVar3 == '%'" identifier == (char_literal "'%'" ' character ')) )) && (parenthesized_expression "(cVar5 = s[1], cVar5 != '\0')" ( (comma_expression "cVar5 = s[1], cVar5 != '\0'" (assignment_expression "cVar5 = s[1]" identifier = (subscript_expression "s[1]" identifier [ number_literal ])) , (binary_expression "cVar5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n      bVar1 = s[2];\n      if (bVar1 != 0) {\n        switch(cVar5) {\n        case '0':\n        case '1':\n        case '2':\n        case '3':\n        case '4':\n        case '5':\n        case '6':\n        case '7':\n        case '8':\n        case '9':\n        case 'A':\n        case 'B':\n        case 'C':\n        case 'D':\n        case 'E':\n        case 'F':\n        case 'a':\n        case 'b':\n        case 'c':\n        case 'd':\n        case 'e':\n        case 'f':\n          switch(bVar1 - 0x30 & 0xff) {\n          case 0:\n          case 1:\n          case 2:\n          case 3:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 0x11:\n          case 0x12:\n          case 0x13:\n          case 0x14:\n          case 0x15:\n          case 0x16:\n          case 0x31:\n          case 0x32:\n          case 0x33:\n          case 0x34:\n          case 0x35:\n          case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }\n          }\n        }\n      }\n    }" { (expression_statement "bVar1 = s[2];" (assignment_expression "bVar1 = s[2]" identifier = (subscript_expression "s[2]" identifier [ number_literal ])) ;) (if_statement "if (bVar1 != 0) {\n        switch(cVar5) {\n        case '0':\n        case '1':\n        case '2':\n        case '3':\n        case '4':\n        case '5':\n        case '6':\n        case '7':\n        case '8':\n        case '9':\n        case 'A':\n        case 'B':\n        case 'C':\n        case 'D':\n        case 'E':\n        case 'F':\n        case 'a':\n        case 'b':\n        case 'c':\n        case 'd':\n        case 'e':\n        case 'f':\n          switch(bVar1 - 0x30 & 0xff) {\n          case 0:\n          case 1:\n          case 2:\n          case 3:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 0x11:\n          case 0x12:\n          case 0x13:\n          case 0x14:\n          case 0x15:\n          case 0x16:\n          case 0x31:\n          case 0x32:\n          case 0x33:\n          case 0x34:\n          case 0x35:\n          case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }\n          }\n        }\n      }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        switch(cVar5) {\n        case '0':\n        case '1':\n        case '2':\n        case '3':\n        case '4':\n        case '5':\n        case '6':\n        case '7':\n        case '8':\n        case '9':\n        case 'A':\n        case 'B':\n        case 'C':\n        case 'D':\n        case 'E':\n        case 'F':\n        case 'a':\n        case 'b':\n        case 'c':\n        case 'd':\n        case 'e':\n        case 'f':\n          switch(bVar1 - 0x30 & 0xff) {\n          case 0:\n          case 1:\n          case 2:\n          case 3:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 0x11:\n          case 0x12:\n          case 0x13:\n          case 0x14:\n          case 0x15:\n          case 0x16:\n          case 0x31:\n          case 0x32:\n          case 0x33:\n          case 0x34:\n          case 0x35:\n          case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }\n          }\n        }\n      }" { (switch_statement "switch(cVar5) {\n        case '0':\n        case '1':\n        case '2':\n        case '3':\n        case '4':\n        case '5':\n        case '6':\n        case '7':\n        case '8':\n        case '9':\n        case 'A':\n        case 'B':\n        case 'C':\n        case 'D':\n        case 'E':\n        case 'F':\n        case 'a':\n        case 'b':\n        case 'c':\n        case 'd':\n        case 'e':\n        case 'f':\n          switch(bVar1 - 0x30 & 0xff) {\n          case 0:\n          case 1:\n          case 2:\n          case 3:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 0x11:\n          case 0x12:\n          case 0x13:\n          case 0x14:\n          case 0x15:\n          case 0x16:\n          case 0x31:\n          case 0x32:\n          case 0x33:\n          case 0x34:\n          case 0x35:\n          case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }\n          }\n        }" switch (parenthesized_expression "(cVar5)" ( identifier )) (compound_statement "{\n        case '0':\n        case '1':\n        case '2':\n        case '3':\n        case '4':\n        case '5':\n        case '6':\n        case '7':\n        case '8':\n        case '9':\n        case 'A':\n        case 'B':\n        case 'C':\n        case 'D':\n        case 'E':\n        case 'F':\n        case 'a':\n        case 'b':\n        case 'c':\n        case 'd':\n        case 'e':\n        case 'f':\n          switch(bVar1 - 0x30 & 0xff) {\n          case 0:\n          case 1:\n          case 2:\n          case 3:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 0x11:\n          case 0x12:\n          case 0x13:\n          case 0x14:\n          case 0x15:\n          case 0x16:\n          case 0x31:\n          case 0x32:\n          case 0x33:\n          case 0x34:\n          case 0x35:\n          case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }\n          }\n        }" { (case_statement "case '0':" case (char_literal "'0'" ' character ') :) (case_statement "case '1':" case (char_literal "'1'" ' character ') :) (case_statement "case '2':" case (char_literal "'2'" ' character ') :) (case_statement "case '3':" case (char_literal "'3'" ' character ') :) (case_statement "case '4':" case (char_literal "'4'" ' character ') :) (case_statement "case '5':" case (char_literal "'5'" ' character ') :) (case_statement "case '6':" case (char_literal "'6'" ' character ') :) (case_statement "case '7':" case (char_literal "'7'" ' character ') :) (case_statement "case '8':" case (char_literal "'8'" ' character ') :) (case_statement "case '9':" case (char_literal "'9'" ' character ') :) (case_statement "case 'A':" case (char_literal "'A'" ' character ') :) (case_statement "case 'B':" case (char_literal "'B'" ' character ') :) (case_statement "case 'C':" case (char_literal "'C'" ' character ') :) (case_statement "case 'D':" case (char_literal "'D'" ' character ') :) (case_statement "case 'E':" case (char_literal "'E'" ' character ') :) (case_statement "case 'F':" case (char_literal "'F'" ' character ') :) (case_statement "case 'a':" case (char_literal "'a'" ' character ') :) (case_statement "case 'b':" case (char_literal "'b'" ' character ') :) (case_statement "case 'c':" case (char_literal "'c'" ' character ') :) (case_statement "case 'd':" case (char_literal "'d'" ' character ') :) (case_statement "case 'e':" case (char_literal "'e'" ' character ') :) (case_statement "case 'f':\n          switch(bVar1 - 0x30 & 0xff) {\n          case 0:\n          case 1:\n          case 2:\n          case 3:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 0x11:\n          case 0x12:\n          case 0x13:\n          case 0x14:\n          case 0x15:\n          case 0x16:\n          case 0x31:\n          case 0x32:\n          case 0x33:\n          case 0x34:\n          case 0x35:\n          case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }\n          }" case (char_literal "'f'" ' character ') : (switch_statement "switch(bVar1 - 0x30 & 0xff) {\n          case 0:\n          case 1:\n          case 2:\n          case 3:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 0x11:\n          case 0x12:\n          case 0x13:\n          case 0x14:\n          case 0x15:\n          case 0x16:\n          case 0x31:\n          case 0x32:\n          case 0x33:\n          case 0x34:\n          case 0x35:\n          case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }\n          }" switch (parenthesized_expression "(bVar1 - 0x30 & 0xff)" ( (binary_expression "bVar1 - 0x30 & 0xff" (binary_expression "bVar1 - 0x30" identifier - number_literal) & number_literal) )) (compound_statement "{\n          case 0:\n          case 1:\n          case 2:\n          case 3:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 0x11:\n          case 0x12:\n          case 0x13:\n          case 0x14:\n          case 0x15:\n          case 0x16:\n          case 0x31:\n          case 0x32:\n          case 0x33:\n          case 0x34:\n          case 0x35:\n          case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }\n          }" { (case_statement "case 0:" case number_literal :) (case_statement "case 1:" case number_literal :) (case_statement "case 2:" case number_literal :) (case_statement "case 3:" case number_literal :) (case_statement "case 4:" case number_literal :) (case_statement "case 5:" case number_literal :) (case_statement "case 6:" case number_literal :) (case_statement "case 7:" case number_literal :) (case_statement "case 8:" case number_literal :) (case_statement "case 9:" case number_literal :) (case_statement "case 0x11:" case number_literal :) (case_statement "case 0x12:" case number_literal :) (case_statement "case 0x13:" case number_literal :) (case_statement "case 0x14:" case number_literal :) (case_statement "case 0x15:" case number_literal :) (case_statement "case 0x16:" case number_literal :) (case_statement "case 0x31:" case number_literal :) (case_statement "case 0x32:" case number_literal :) (case_statement "case 0x33:" case number_literal :) (case_statement "case 0x34:" case number_literal :) (case_statement "case 0x35:" case number_literal :) (case_statement "case 0x36:\n            if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }\n            if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }" case number_literal : (if_statement "if (cVar5 < 'A') {\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }\n            else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }" if (parenthesized_expression "(cVar5 < 'A')" ( (binary_expression "cVar5 < 'A'" identifier < (char_literal "'A'" ' character ')) )) (compound_statement "{\n              bVar4 = cVar5 << 4;\n              if ((char)bVar1 < 'A') goto LAB_00048940;\nLAB_000488f6:\n              iVar6 = (int)(char)bVar1;\n              if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }\n              iVar6 = iVar6 + -0x37;\n            }" { (expression_statement "bVar4 = cVar5 << 4;" (assignment_expression "bVar4 = cVar5 << 4" identifier = (binary_expression "cVar5 << 4" identifier << number_literal)) ;) (if_statement "if ((char)bVar1 < 'A') goto LAB_00048940;" if (parenthesized_expression "((char)bVar1 < 'A')" ( (binary_expression "(char)bVar1 < 'A'" (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'A'" ' character ')) )) (goto_statement "goto LAB_00048940;" goto statement_identifier ;)) (labeled_statement "LAB_000488f6:\n              iVar6 = (int)(char)bVar1;" statement_identifier : (expression_statement "iVar6 = (int)(char)bVar1;" (assignment_expression "iVar6 = (int)(char)bVar1" identifier = (cast_expression "(int)(char)bVar1" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier))) ;)) (if_statement "if (iVar6 - 0x61U < 0x1a) {\n                iVar6 = iVar6 + -0x20;\n              }" if (parenthesized_expression "(iVar6 - 0x61U < 0x1a)" ( (binary_expression "iVar6 - 0x61U < 0x1a" (binary_expression "iVar6 - 0x61U" identifier - number_literal) < number_literal) )) (compound_statement "{\n                iVar6 = iVar6 + -0x20;\n              }" { (expression_statement "iVar6 = iVar6 + -0x20;" (assignment_expression "iVar6 = iVar6 + -0x20" identifier = (binary_expression "iVar6 + -0x20" identifier + number_literal)) ;) })) (expression_statement "iVar6 = iVar6 + -0x37;" (assignment_expression "iVar6 = iVar6 + -0x37" identifier = (binary_expression "iVar6 + -0x37" identifier + number_literal)) ;) }) (else_clause "else {\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }" else (compound_statement "{\n              if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }\n              bVar4 = (cVar5 + -0x37) * '\x10';\n              if ('@' < (char)bVar1) goto LAB_000488f6;\nLAB_00048940:\n              iVar6 = bVar1 - 0x30;\n            }" { (if_statement "if ((int)cVar5 - 0x61U < 0x1a) {\n                cVar5 = cVar5 + -0x20;\n              }" if (parenthesized_expression "((int)cVar5 - 0x61U < 0x1a)" ( (binary_expression "(int)cVar5 - 0x61U < 0x1a" (binary_expression "(int)cVar5 - 0x61U" (cast_expression "(int)cVar5" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal) < number_literal) )) (compound_statement "{\n                cVar5 = cVar5 + -0x20;\n              }" { (expression_statement "cVar5 = cVar5 + -0x20;" (assignment_expression "cVar5 = cVar5 + -0x20" identifier = (binary_expression "cVar5 + -0x20" identifier + number_literal)) ;) })) (expression_statement "bVar4 = (cVar5 + -0x37) * '\x10';" (assignment_expression "bVar4 = (cVar5 + -0x37) * '\x10'" identifier = (binary_expression "(cVar5 + -0x37) * '\x10'" (parenthesized_expression "(cVar5 + -0x37)" ( (binary_expression "cVar5 + -0x37" identifier + number_literal) )) * (char_literal "'\x10'" ' escape_sequence '))) ;) (if_statement "if ('@' < (char)bVar1) goto LAB_000488f6;" if (parenthesized_expression "('@' < (char)bVar1)" ( (binary_expression "'@' < (char)bVar1" (char_literal "'@'" ' character ') < (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier)) )) (goto_statement "goto LAB_000488f6;" goto statement_identifier ;)) (labeled_statement "LAB_00048940:\n              iVar6 = bVar1 - 0x30;" statement_identifier : (expression_statement "iVar6 = bVar1 - 0x30;" (assignment_expression "iVar6 = bVar1 - 0x30" identifier = (binary_expression "bVar1 - 0x30" identifier - number_literal)) ;)) }))) (if_statement "if (((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')) {\n              s = s + 2;\n              cVar3 = cVar5;\n            }" if (parenthesized_expression "(((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0'))" ( (binary_expression "((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0) &&\n               (cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')" (parenthesized_expression "((mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0)" ( (binary_expression "(mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1) == 0" (parenthesized_expression "(mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1)" ( (binary_expression "mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff] & 1" (binary_expression "mask & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff]" identifier & (subscript_expression ""\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"\n                         [(uint)bVar4 + iVar6 & 0xff]" (string_literal ""\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"" " escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence escape_sequence ") [ (binary_expression "(uint)bVar4 + iVar6 & 0xff" (binary_expression "(uint)bVar4 + iVar6" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) + identifier) & number_literal) ])) & number_literal) )) == number_literal) )) && (parenthesized_expression "(cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0')" ( (comma_expression "cVar5 = (char)((uint)bVar4 + iVar6), cVar5 != '\0'" (assignment_expression "cVar5 = (char)((uint)bVar4 + iVar6)" identifier = (cast_expression "(char)((uint)bVar4 + iVar6)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)bVar4 + iVar6)" ( (binary_expression "(uint)bVar4 + iVar6" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) + identifier) )))) , (binary_expression "cVar5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n              s = s + 2;\n              cVar3 = cVar5;\n            }" { (expression_statement "s = s + 2;" (assignment_expression "s = s + 2" identifier = (binary_expression "s + 2" identifier + number_literal)) ;) (expression_statement "cVar3 = cVar5;" (assignment_expression "cVar3 = cVar5" identifier = identifier) ;) }))) }))) })) })) })) (expression_statement "*pcVar2 = cVar3;" (assignment_expression "*pcVar2 = cVar3" (pointer_expression "*pcVar2" * identifier) = identifier) ;) (expression_statement "cVar3 = s[1];" (assignment_expression "cVar3 = s[1]" identifier = (subscript_expression "s[1]" identifier [ number_literal ])) ;) (expression_statement "s = s + 1;" (assignment_expression "s = s + 1" identifier = (binary_expression "s + 1" identifier + number_literal)) ;) (expression_statement "pcVar2 = pcVar2 + 1;" (assignment_expression "pcVar2 = pcVar2 + 1" identifier = (binary_expression "pcVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_00048840(void)\n\n{\n  byte bVar1;\n  char cVar2;\n  char *pcVar3;\n  char *extraout_ECX;\n  char *pcVar4;\n  int unaff_EBP;\n  \n  pcVar3 = (char *)FUN_0003a0a2();\n  cVar2 = *pcVar3;\n  pcVar4 = extraout_ECX;\n  while( true ) {\n    if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }\n    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;\n    *pcVar4 = cVar2;\n    cVar2 = pcVar3[1];\n    pcVar3 = pcVar3 + 1;\n    pcVar4 = pcVar4 + 1;\n  }\n                    \n                    \n  (*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))();\n  return;\n}\n\n" (function_definition "void FUN_00048840(void)\n\n{\n  byte bVar1;\n  char cVar2;\n  char *pcVar3;\n  char *extraout_ECX;\n  char *pcVar4;\n  int unaff_EBP;\n  \n  pcVar3 = (char *)FUN_0003a0a2();\n  cVar2 = *pcVar3;\n  pcVar4 = extraout_ECX;\n  while( true ) {\n    if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }\n    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;\n    *pcVar4 = cVar2;\n    cVar2 = pcVar3[1];\n    pcVar3 = pcVar3 + 1;\n    pcVar4 = pcVar4 + 1;\n  }\n                    \n                    \n  (*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))();\n  return;\n}" primitive_type (function_declarator "FUN_00048840(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  char *pcVar3;\n  char *extraout_ECX;\n  char *pcVar4;\n  int unaff_EBP;\n  \n  pcVar3 = (char *)FUN_0003a0a2();\n  cVar2 = *pcVar3;\n  pcVar4 = extraout_ECX;\n  while( true ) {\n    if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }\n    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;\n    *pcVar4 = cVar2;\n    cVar2 = pcVar3[1];\n    pcVar3 = pcVar3 + 1;\n    pcVar4 = pcVar4 + 1;\n  }\n                    \n                    \n  (*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))();\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *extraout_ECX;" primitive_type (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (expression_statement "pcVar3 = (char *)FUN_0003a0a2();" (assignment_expression "pcVar3 = (char *)FUN_0003a0a2()" identifier = (cast_expression "(char *)FUN_0003a0a2()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0003a0a2()" identifier (argument_list "()" ( ))))) ;) (expression_statement "cVar2 = *pcVar3;" (assignment_expression "cVar2 = *pcVar3" identifier = (pointer_expression "*pcVar3" * identifier)) ;) (expression_statement "pcVar4 = extraout_ECX;" (assignment_expression "pcVar4 = extraout_ECX" identifier = identifier) ;) (while_statement "while( true ) {\n    if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }\n    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;\n    *pcVar4 = cVar2;\n    cVar2 = pcVar3[1];\n    pcVar3 = pcVar3 + 1;\n    pcVar4 = pcVar4 + 1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }\n    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;\n    *pcVar4 = cVar2;\n    cVar2 = pcVar3[1];\n    pcVar3 = pcVar3 + 1;\n    pcVar4 = pcVar4 + 1;\n  }" { (if_statement "if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *pcVar4 = '\0';\n      return;\n    }" { (expression_statement "*pcVar4 = '\0';" (assignment_expression "*pcVar4 = '\0'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })) (if_statement "if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;" if (parenthesized_expression "((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37))" ( (binary_expression "(((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)" (parenthesized_expression "(((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0'))" ( (binary_expression "((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')" (parenthesized_expression "((cVar2 == '%') && (pcVar3[1] != '\0'))" ( (binary_expression "(cVar2 == '%') && (pcVar3[1] != '\0')" (parenthesized_expression "(cVar2 == '%')" ( (binary_expression "cVar2 == '%'" identifier == (char_literal "'%'" ' character ')) )) && (parenthesized_expression "(pcVar3[1] != '\0')" ( (binary_expression "pcVar3[1] != '\0'" (subscript_expression "pcVar3[1]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(pcVar3[2] != '\0')" ( (binary_expression "pcVar3[2] != '\0'" (subscript_expression "pcVar3[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)" ( (comma_expression "bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37" (assignment_expression "bVar1 = pcVar3[1] - 0x30" identifier = (binary_expression "pcVar3[1] - 0x30" (subscript_expression "pcVar3[1]" identifier [ number_literal ]) - number_literal)) , (binary_expression "bVar1 < 0x37" identifier < number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "*pcVar4 = cVar2;" (assignment_expression "*pcVar4 = cVar2" (pointer_expression "*pcVar4" * identifier) = identifier) ;) (expression_statement "cVar2 = pcVar3[1];" (assignment_expression "cVar2 = pcVar3[1]" identifier = (subscript_expression "pcVar3[1]" identifier [ number_literal ])) ;) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "(*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))();" (call_expression "(*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))()" (parenthesized_expression "(*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))" ( (pointer_expression "*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388)" * (cast_expression "(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388)" ( (binary_expression "*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388" (binary_expression "*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP" (pointer_expression "*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4)" * (cast_expression "(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4)" ( (binary_expression "unaff_EBP + 0x45bd8 + (uint)bVar1 * 4" (binary_expression "unaff_EBP + 0x45bd8" identifier + number_literal) + (binary_expression "(uint)bVar1 * 4" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) )))) + identifier) + number_literal) )))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) - LIT)) , (binary_expression IDENT < LIT)) ))) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) )))) + IDENT) + LIT) )))) )) (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00048840(void)\n\n{\n  byte bVar1;\n  char cVar2;\n  char *pcVar3;\n  char *extraout_ECX;\n  char *pcVar4;\n  int unaff_EBP;\n  \n  pcVar3 = (char *)FUN_0003a0a2();\n  cVar2 = *pcVar3;\n  pcVar4 = extraout_ECX;\n  while( true ) {\n    if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }\n    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;\n    *pcVar4 = cVar2;\n    cVar2 = pcVar3[1];\n    pcVar3 = pcVar3 + 1;\n    pcVar4 = pcVar4 + 1;\n  }\n                    \n                    \n  (*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00048840(void)" (identifier "FUN_00048840") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  char *pcVar3;\n  char *extraout_ECX;\n  char *pcVar4;\n  int unaff_EBP;\n  \n  pcVar3 = (char *)FUN_0003a0a2();\n  cVar2 = *pcVar3;\n  pcVar4 = extraout_ECX;\n  while( true ) {\n    if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }\n    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;\n    *pcVar4 = cVar2;\n    cVar2 = pcVar3[1];\n    pcVar3 = pcVar3 + 1;\n    pcVar4 = pcVar4 + 1;\n  }\n                    \n                    \n  (*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))();\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "char *extraout_ECX;" (primitive_type "char") (pointer_declarator "*extraout_ECX" (* "*") (identifier "extraout_ECX")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "int unaff_EBP;" (primitive_type "int") (identifier "unaff_EBP") (; ";")) (expression_statement "pcVar3 = (char *)FUN_0003a0a2();" (assignment_expression "pcVar3 = (char *)FUN_0003a0a2()" (identifier "pcVar3") (= "=") (cast_expression "(char *)FUN_0003a0a2()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0003a0a2()" (identifier "FUN_0003a0a2") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "cVar2 = *pcVar3;" (assignment_expression "cVar2 = *pcVar3" (identifier "cVar2") (= "=") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3"))) (; ";")) (expression_statement "pcVar4 = extraout_ECX;" (assignment_expression "pcVar4 = extraout_ECX" (identifier "pcVar4") (= "=") (identifier "extraout_ECX")) (; ";")) (while_statement "while( true ) {\n    if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }\n    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;\n    *pcVar4 = cVar2;\n    cVar2 = pcVar3[1];\n    pcVar3 = pcVar3 + 1;\n    pcVar4 = pcVar4 + 1;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }\n    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;\n    *pcVar4 = cVar2;\n    cVar2 = pcVar3[1];\n    pcVar3 = pcVar3 + 1;\n    pcVar4 = pcVar4 + 1;\n  }" ({ "{") (if_statement "if (cVar2 == '\0') {\n      *pcVar4 = '\0';\n      return;\n    }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      *pcVar4 = '\0';\n      return;\n    }" ({ "{") (expression_statement "*pcVar4 = '\0';" (assignment_expression "*pcVar4 = '\0'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;" (if "if") (parenthesized_expression "((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37))" (( "(") (binary_expression "(((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&\n       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)" (parenthesized_expression "(((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0'))" (( "(") (binary_expression "((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')" (parenthesized_expression "((cVar2 == '%') && (pcVar3[1] != '\0'))" (( "(") (binary_expression "(cVar2 == '%') && (pcVar3[1] != '\0')" (parenthesized_expression "(cVar2 == '%')" (( "(") (binary_expression "cVar2 == '%'" (identifier "cVar2") (== "==") (char_literal "'%'" (' "'") (character "%") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar3[1] != '\0')" (( "(") (binary_expression "pcVar3[1] != '\0'" (subscript_expression "pcVar3[1]" (identifier "pcVar3") ([ "[") (number_literal "1") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar3[2] != '\0')" (( "(") (binary_expression "pcVar3[2] != '\0'" (subscript_expression "pcVar3[2]" (identifier "pcVar3") ([ "[") (number_literal "2") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)" (( "(") (comma_expression "bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37" (assignment_expression "bVar1 = pcVar3[1] - 0x30" (identifier "bVar1") (= "=") (binary_expression "pcVar3[1] - 0x30" (subscript_expression "pcVar3[1]" (identifier "pcVar3") ([ "[") (number_literal "1") (] "]")) (- "-") (number_literal "0x30"))) (, ",") (binary_expression "bVar1 < 0x37" (identifier "bVar1") (< "<") (number_literal "0x37"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*pcVar4 = cVar2;" (assignment_expression "*pcVar4 = cVar2" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (identifier "cVar2")) (; ";")) (expression_statement "cVar2 = pcVar3[1];" (assignment_expression "cVar2 = pcVar3[1]" (identifier "cVar2") (= "=") (subscript_expression "pcVar3[1]" (identifier "pcVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" (identifier "pcVar3") (= "=") (binary_expression "pcVar3 + 1" (identifier "pcVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "(*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))();" (call_expression "(*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))()" (parenthesized_expression "(*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))" (( "(") (pointer_expression "*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388)" (* "*") (cast_expression "(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388)" (( "(") (binary_expression "*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388" (binary_expression "*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP" (pointer_expression "*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4)" (* "*") (cast_expression "(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4)" (( "(") (binary_expression "unaff_EBP + 0x45bd8 + (uint)bVar1 * 4" (binary_expression "unaff_EBP + 0x45bd8" (identifier "unaff_EBP") (+ "+") (number_literal "0x45bd8")) (+ "+") (binary_expression "(uint)bVar1 * 4" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "4"))) () ")")))) (+ "+") (identifier "unaff_EBP")) (+ "+") (number_literal "0x66388")) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */

void __regparm3 function_1(char *var_6,type_1 var_5)

{
  type_2 var_3;
  char *t;
  char *var_7;
  char var_1;
  type_2 bVar4;
  char var_2;
  int var_4;
  
  var_1 = *var_6;
  var_7 = var_6;
  do {
    if (var_1 == '\0') {
      *var_7 = '\0';
      return;
    }
    if ((var_1 == '%') && (var_2 = var_6[1], var_2 != '\0')) {
      var_3 = var_6[2];
      if (var_3 != 0) {
        switch(var_2) {
        case '0':
        case '1':
        case '2':
        case '3':
        case '4':
        case '5':
        case '6':
        case '7':
        case '8':
        case '9':
        case 'A':
        case 'B':
        case 'C':
        case 'D':
        case 'E':
        case 'F':
        case 'a':
        case 'b':
        case 'c':
        case 'd':
        case 'e':
        case 'f':
          switch(var_3 - 0x30 & 0xff) {
          case 0:
          case 1:
          case 2:
          case 3:
          case 4:
          case 5:
          case 6:
          case 7:
          case 8:
          case 9:
          case 0x11:
          case 0x12:
          case 0x13:
          case 0x14:
          case 0x15:
          case 0x16:
          case 0x31:
          case 0x32:
          case 0x33:
          case 0x34:
          case 0x35:
          case 0x36:
            if (var_2 < 'A') {
              bVar4 = var_2 << 4;
              if ((char)var_3 < 'A') goto LAB_00048940;
LAB_000488f6:
              var_4 = (int)(char)var_3;
              if (var_4 - 0x61U < 0x1a) {
                var_4 = var_4 + -0x20;
              }
              var_4 = var_4 + -0x37;
            }
            else {
              if ((int)var_2 - 0x61U < 0x1a) {
                var_2 = var_2 + -0x20;
              }
              bVar4 = (var_2 + -0x37) * '\x10';
              if ('@' < (char)var_3) goto LAB_000488f6;
LAB_00048940:
              var_4 = var_3 - 0x30;
            }
            if (((var_5 & "\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"
                         [(type_3)bVar4 + var_4 & 0xff] & 1) == 0) &&
               (var_2 = (char)((type_3)bVar4 + var_4), var_2 != '\0')) {
              var_6 = var_6 + 2;
              var_1 = var_2;
            }
          }
        }
      }
    }
    *var_7 = var_1;
    var_1 = var_6[1];
    var_6 = var_6 + 1;
    var_7 = var_7 + 1;
  } while( true );
}


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

void MASKED(void)

{
  byte bVar1;
  char cVar2;
  char *pcVar3;
  char *extraout_ECX;
  char *pcVar4;
  int unaff_EBP;
  
  pcVar3 = (char *)FUN_0003a0a2();
  cVar2 = *pcVar3;
  pcVar4 = extraout_ECX;
  while( true ) {
    if (cVar2 == '\0') {
      *pcVar4 = '\0';
      return;
    }
    if ((((cVar2 == '%') && (pcVar3[1] != '\0')) && (pcVar3[2] != '\0')) &&
       (bVar1 = pcVar3[1] - 0x30, bVar1 < 0x37)) break;
    *pcVar4 = cVar2;
    cVar2 = pcVar3[1];
    pcVar3 = pcVar3 + 1;
    pcVar4 = pcVar4 + 1;
  }
                    /* WARNING: Could not recover jumptable at 0x000488ae. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)(*(int *)(unaff_EBP + 0x45bd8 + (uint)bVar1 * 4) + unaff_EBP + 0x66388))();
  return;
}

