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

char * __regparm3 make_printable_str(char *s,size_t len)

{
  int iVar1;
  byte bVar2;
  size_t n;
  char *pcVar3;
  char *pcVar4;
  char *__dest;
  ushort **ppuVar5;
  byte *pbVar6;
  int in_GS_OFFSET;
  char buf [5];
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  n = (len + 1) * 4;
  if (((int)n < 0) || (len + 1 >> 0x1e != 0)) {
                    /* WARNING: Subroutine does not return */
    xalloc_die();
  }
  pcVar3 = (char *)xmalloc(n);
  if (len != 0) {
    pbVar6 = (byte *)(s + len);
    __dest = pcVar3;
    do {
      bVar2 = *s;
      if (bVar2 == 10) {
        pcVar4 = "\\n";
      }
      else if ((char)bVar2 < '\v') {
        pcVar4 = "\\b";
        if (((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7))
        {
LAB_000126a7:
          ppuVar5 = __ctype_b_loc();
          pcVar4 = buf;
          if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {
            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);
          }
          else {
            buf[1] = '\0';
            buf[0] = bVar2;
          }
        }
      }
      else {
        pcVar4 = "\\f";
        if ((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&
            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)) goto LAB_000126a7;
      }
      s = (char *)((byte *)s + 1);
      __dest = stpcpy(__dest,pcVar4);
    } while (pbVar6 != (byte *)s);
  }
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return pcVar3;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

char * __regparm3 FUN_000125d0(byte *param_1,int param_2)

{
  byte bVar1;
  int iVar2;
  char *pcVar3;
  byte *pbVar4;
  char *__dest;
  ushort **ppuVar5;
  byte *pbVar6;
  int in_GS_OFFSET;
  byte local_25 [5];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x125dd;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar2 = (param_2 + 1U) * 4;
  if ((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_00016960();
  }
  pcVar3 = (char *)FUN_00016660(iVar2);
  if (param_2 != 0) {
    pbVar6 = param_1 + param_2;
    __dest = pcVar3;
    do {
      bVar1 = *param_1;
      if (bVar1 == 10) {
        pbVar4 = &DAT_00019016;
      }
      else if ((char)bVar1 < '\v') {
        pbVar4 = &DAT_00019010;
        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&
           (pbVar4 = &DAT_00019022, bVar1 != 7)) {
LAB_000126a7:
          ppuVar5 = __ctype_b_loc();
          pbVar4 = local_25;
          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {
            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);
          }
          else {
            local_25[1] = 0;
            local_25[0] = bVar1;
          }
        }
      }
      else {
        pbVar4 = &DAT_00019013;
        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&
            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))
        goto LAB_000126a7;
      }
      param_1 = param_1 + 1;
      __dest = stpcpy(__dest,(char *)pbVar4);
    } while (pbVar6 != param_1);
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return pcVar3;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00018600();
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x000123b0
ADD EBX,0xca23
SUB ESP,0x2c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x1c],EAX
XOR EAX,EAX
LEA EAX,[EDX + 0x1]
MOV ECX,EAX
SHR ECX,0x1e
SETNZ DL
SHL EAX,0x2
JS 0x00012724
MOVZX EDX,DL
TEST EDX,EDX
JNZ 0x00012724
SUB ESP,0xc
PUSH EAX
CALL 0x00016660
MOV dword ptr [ESP + 0x18],EAX
ADD ESP,0x10
TEST ESI,ESI
JZ 0x000126d0
MOV EBP,EAX
LEA EAX,[ESP + 0x17]
ADD ESI,EDI
MOV dword ptr [ESP + 0x4],EAX
JMP 0x0001267f
LEA EAX,[EBX + 0xffffa013]
CMP DL,0xc
JZ 0x00012669
LEA EAX,[EBX + 0xffffa01f]
JL 0x00012669
LEA EAX,[EBX + 0xffffa019]
CMP DL,0xd
JZ 0x00012669
LEA EAX,[EBX + 0xffffa00e]
CMP DL,0x5c
JNZ 0x000126a7
SUB ESP,0x8
ADD EDI,0x1
PUSH EAX
PUSH EBP
CALL 0x00011100
ADD ESP,0x10
MOV EBP,EAX
CMP ESI,EDI
JZ 0x000126d0
MOVZX EDX,byte ptr [EDI]
CMP DL,0xa
JZ 0x000126f0
JG 0x00012640
LEA EAX,[EBX + 0xffffa010]
CMP DL,0x8
JZ 0x00012669
LEA EAX,[EBX + 0xffffa01c]
JG 0x00012669
LEA EAX,[EBX + 0xffffa022]
CMP DL,0x7
JZ 0x00012669
MOV byte ptr [ESP + 0xf],DL
CALL 0x00011370
MOVZX ECX,byte ptr [ESP + 0xf]
MOV EAX,dword ptr [EAX]
TEST byte ptr [EAX + ECX*0x2 + 0x1],0x40
JZ 0x00012700
MOV byte ptr [ESP + 0x17],CL
MOV EAX,dword ptr [ESP + 0x4]
MOV byte ptr [ESP + 0x18],0x0
JMP 0x00012669
MOV ECX,dword ptr [ESP + 0x1c]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,dword ptr [ESP + 0x8]
JNZ 0x00012729
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EBX + 0xffffa016]
JMP 0x00012669
SUB ESP,0xc
LEA EAX,[EBX + 0xffffa008]
PUSH ECX
PUSH EAX
PUSH 0x5
PUSH 0x1
PUSH dword ptr [ESP + 0x20]
CALL 0x00011390
ADD ESP,0x20
MOV EAX,dword ptr [ESP + 0x4]
JMP 0x00012669
CALL 0x00016960
CALL 0x00018600
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 FUN_000125d0(byte *param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  char *pcVar3;\n  byte *pbVar4;\n  char *__dest;\n  ushort **ppuVar5;\n  byte *pbVar6;\n  int in_GS_OFFSET;\n  byte local_25 [5];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x125dd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = (param_2 + 1U) * 4;\n  if ((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00016960();\n  }\n  pcVar3 = (char *)FUN_00016660(iVar2);\n  if (param_2 != 0) {\n    pbVar6 = param_1 + param_2;\n    __dest = pcVar3;\n    do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00018600();\n}\n\n" comment (function_definition "char * __regparm3 FUN_000125d0(byte *param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  char *pcVar3;\n  byte *pbVar4;\n  char *__dest;\n  ushort **ppuVar5;\n  byte *pbVar6;\n  int in_GS_OFFSET;\n  byte local_25 [5];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x125dd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = (param_2 + 1U) * 4;\n  if ((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00016960();\n  }\n  pcVar3 = (char *)FUN_00016660(iVar2);\n  if (param_2 != 0) {\n    pbVar6 = param_1 + param_2;\n    __dest = pcVar3;\n    do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00018600();\n}" primitive_type (pointer_declarator "* __regparm3 FUN_000125d0(byte *param_1,int param_2)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_000125d0(byte *param_1,int param_2)" identifier (parameter_list "(byte *param_1,int param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  char *pcVar3;\n  byte *pbVar4;\n  char *__dest;\n  ushort **ppuVar5;\n  byte *pbVar6;\n  int in_GS_OFFSET;\n  byte local_25 [5];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x125dd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = (param_2 + 1U) * 4;\n  if ((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00016960();\n  }\n  pcVar3 = (char *)FUN_00016660(iVar2);\n  if (param_2 != 0) {\n    pbVar6 = param_1 + param_2;\n    __dest = pcVar3;\n    do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00018600();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "char *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "ushort **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte local_25 [5];" type_identifier (array_declarator "local_25 [5]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x125dd;" (assignment_expression "uStack_14 = 0x125dd" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = (param_2 + 1U) * 4;" (assignment_expression "iVar2 = (param_2 + 1U) * 4" identifier = (binary_expression "(param_2 + 1U) * 4" (parenthesized_expression "(param_2 + 1U)" ( (binary_expression "param_2 + 1U" identifier + number_literal) )) * number_literal)) ;) (if_statement "if ((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00016960();\n  }" if (parenthesized_expression "((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0))" ( (binary_expression "(iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)" (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) || (parenthesized_expression "(param_2 + 1U >> 0x1e != 0)" ( (binary_expression "param_2 + 1U >> 0x1e != 0" (binary_expression "param_2 + 1U >> 0x1e" (binary_expression "param_2 + 1U" identifier + number_literal) >> number_literal) != number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00016960();\n  }" { comment (expression_statement "FUN_00016960();" (call_expression "FUN_00016960()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "pcVar3 = (char *)FUN_00016660(iVar2);" (assignment_expression "pcVar3 = (char *)FUN_00016660(iVar2)" identifier = (cast_expression "(char *)FUN_00016660(iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00016660(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))))) ;) (if_statement "if (param_2 != 0) {\n    pbVar6 = param_1 + param_2;\n    __dest = pcVar3;\n    do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    pbVar6 = param_1 + param_2;\n    __dest = pcVar3;\n    do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);\n  }" { (expression_statement "pbVar6 = param_1 + param_2;" (assignment_expression "pbVar6 = param_1 + param_2" identifier = (binary_expression "param_1 + param_2" identifier + identifier)) ;) (expression_statement "__dest = pcVar3;" (assignment_expression "__dest = pcVar3" identifier = identifier) ;) (do_statement "do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);" do (compound_statement "{\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    }" { (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" if (parenthesized_expression "(bVar1 == 10)" ( (binary_expression "bVar1 == 10" identifier == number_literal) )) (compound_statement "{\n        pbVar4 = &DAT_00019016;\n      }" { (expression_statement "pbVar4 = &DAT_00019016;" (assignment_expression "pbVar4 = &DAT_00019016" identifier = (pointer_expression "&DAT_00019016" & identifier)) ;) }) (else_clause "else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" else (if_statement "if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" if (parenthesized_expression "((char)bVar1 < '\v')" ( (binary_expression "(char)bVar1 < '\v'" (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\v'" ' escape_sequence ')) )) (compound_statement "{\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }" { (expression_statement "pbVar4 = &DAT_00019010;" (assignment_expression "pbVar4 = &DAT_00019010" identifier = (pointer_expression "&DAT_00019010" & identifier)) ;) (if_statement "if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }" if (parenthesized_expression "(((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7))" ( (binary_expression "((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)" (parenthesized_expression "((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t'))" ( (binary_expression "(bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')" (parenthesized_expression "(bVar1 != 8)" ( (binary_expression "bVar1 != 8" identifier != number_literal) )) && (parenthesized_expression "(pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')" ( (comma_expression "pbVar4 = &DAT_0001901c, (char)bVar1 < '\t'" (assignment_expression "pbVar4 = &DAT_0001901c" identifier = (pointer_expression "&DAT_0001901c" & identifier)) , (binary_expression "(char)bVar1 < '\t'" (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\t'" ' escape_sequence '))) ))) )) && (parenthesized_expression "(pbVar4 = &DAT_00019022, bVar1 != 7)" ( (comma_expression "pbVar4 = &DAT_00019022, bVar1 != 7" (assignment_expression "pbVar4 = &DAT_00019022" identifier = (pointer_expression "&DAT_00019022" & identifier)) , (binary_expression "bVar1 != 7" identifier != number_literal)) ))) )) (compound_statement "{\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }" { (labeled_statement "LAB_000126a7:\n          ppuVar5 = __ctype_b_loc();" statement_identifier : (expression_statement "ppuVar5 = __ctype_b_loc();" (assignment_expression "ppuVar5 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;)) (expression_statement "pbVar4 = local_25;" (assignment_expression "pbVar4 = local_25" identifier = identifier) ;) (if_statement "if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }" if (parenthesized_expression "((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40)" ( (binary_expression "*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40" (pointer_expression "*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar5 + (uint)bVar1 * 2 + 1)" ( (binary_expression "(int)*ppuVar5 + (uint)bVar1 * 2 + 1" (binary_expression "(int)*ppuVar5 + (uint)bVar1 * 2" (cast_expression "(int)*ppuVar5" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar5" * identifier)) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }" { (expression_statement "__sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);" (call_expression "__sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1)" identifier (argument_list "(local_25,1,5,"\\%03o",(uint)bVar1)" ( identifier , number_literal , number_literal , (string_literal ""\\%03o"" " escape_sequence string_content ") , (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) }) (else_clause "else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }" else (compound_statement "{\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }" { (expression_statement "local_25[1] = 0;" (assignment_expression "local_25[1] = 0" (subscript_expression "local_25[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_25[0] = bVar1;" (assignment_expression "local_25[0] = bVar1" (subscript_expression "local_25[0]" identifier [ number_literal ]) = identifier) ;) }))) })) }) (else_clause "else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" else (compound_statement "{\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" { (expression_statement "pbVar4 = &DAT_00019013;" (assignment_expression "pbVar4 = &DAT_00019013" identifier = (pointer_expression "&DAT_00019013" & identifier)) ;) (if_statement "if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;" if (parenthesized_expression "((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))" ( (binary_expression "(((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c)" (parenthesized_expression "(((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd))" ( (binary_expression "((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)" (parenthesized_expression "((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1))" ( (binary_expression "(bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)" (parenthesized_expression "(bVar1 != 0xc)" ( (binary_expression "bVar1 != 0xc" identifier != number_literal) )) && (parenthesized_expression "(pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)" ( (comma_expression "pbVar4 = &DAT_0001901f, '\v' < (char)bVar1" (assignment_expression "pbVar4 = &DAT_0001901f" identifier = (pointer_expression "&DAT_0001901f" & identifier)) , (binary_expression "'\v' < (char)bVar1" (char_literal "'\v'" ' escape_sequence ') < (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier))) ))) )) && (parenthesized_expression "(pbVar4 = &DAT_00019019, bVar1 != 0xd)" ( (comma_expression "pbVar4 = &DAT_00019019, bVar1 != 0xd" (assignment_expression "pbVar4 = &DAT_00019019" identifier = (pointer_expression "&DAT_00019019" & identifier)) , (binary_expression "bVar1 != 0xd" identifier != number_literal)) ))) )) && (parenthesized_expression "(pbVar4 = &DAT_0001900e, bVar1 != 0x5c)" ( (comma_expression "pbVar4 = &DAT_0001900e, bVar1 != 0x5c" (assignment_expression "pbVar4 = &DAT_0001900e" identifier = (pointer_expression "&DAT_0001900e" & identifier)) , (binary_expression "bVar1 != 0x5c" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000126a7;" goto statement_identifier ;)) }))))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "__dest = stpcpy(__dest,(char *)pbVar4);" (assignment_expression "__dest = stpcpy(__dest,(char *)pbVar4)" identifier = (call_expression "stpcpy(__dest,(char *)pbVar4)" identifier (argument_list "(__dest,(char *)pbVar4)" ( identifier , (cast_expression "(char *)pbVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) }) while (parenthesized_expression "(pbVar6 != param_1)" ( (binary_expression "pbVar6 != param_1" identifier != identifier) )) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return pcVar3;\n  }" { (return_statement "return pcVar3;" return identifier ;) })) comment (expression_statement "FUN_00018600();" (call_expression "FUN_00018600()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * __regparm3 make_printable_str(char *s,size_t len)\n\n{\n  int iVar1;\n  byte bVar2;\n  size_t n;\n  char *pcVar3;\n  char *pcVar4;\n  char *__dest;\n  ushort **ppuVar5;\n  byte *pbVar6;\n  int in_GS_OFFSET;\n  char buf [5];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  n = (len + 1) * 4;\n  if (((int)n < 0) || (len + 1 >> 0x1e != 0)) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  pcVar3 = (char *)xmalloc(n);\n  if (len != 0) {\n    pbVar6 = (byte *)(s + len);\n    __dest = pcVar3;\n    do {\n      bVar2 = *s;\n      if (bVar2 == 10) {\n        pcVar4 = "\\n";\n      }\n      else if ((char)bVar2 < '\v') {\n        pcVar4 = "\\b";\n        if (((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7))\n        {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pcVar4 = buf;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }\n          else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }\n        }\n      }\n      else {\n        pcVar4 = "\\f";\n        if ((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)) goto LAB_000126a7;\n      }\n      s = (char *)((byte *)s + 1);\n      __dest = stpcpy(__dest,pcVar4);\n    } while (pbVar6 != (byte *)s);\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "char * __regparm3 make_printable_str(char *s,size_t len)\n\n{\n  int iVar1;\n  byte bVar2;\n  size_t n;\n  char *pcVar3;\n  char *pcVar4;\n  char *__dest;\n  ushort **ppuVar5;\n  byte *pbVar6;\n  int in_GS_OFFSET;\n  char buf [5];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  n = (len + 1) * 4;\n  if (((int)n < 0) || (len + 1 >> 0x1e != 0)) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  pcVar3 = (char *)xmalloc(n);\n  if (len != 0) {\n    pbVar6 = (byte *)(s + len);\n    __dest = pcVar3;\n    do {\n      bVar2 = *s;\n      if (bVar2 == 10) {\n        pcVar4 = "\\n";\n      }\n      else if ((char)bVar2 < '\v') {\n        pcVar4 = "\\b";\n        if (((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7))\n        {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pcVar4 = buf;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }\n          else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }\n        }\n      }\n      else {\n        pcVar4 = "\\f";\n        if ((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)) goto LAB_000126a7;\n      }\n      s = (char *)((byte *)s + 1);\n      __dest = stpcpy(__dest,pcVar4);\n    } while (pbVar6 != (byte *)s);\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (pointer_declarator "* __regparm3 make_printable_str(char *s,size_t len)" * (ERROR "__regparm3" identifier) (function_declarator "make_printable_str(char *s,size_t len)" identifier (parameter_list "(char *s,size_t len)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) , (parameter_declaration "size_t len" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  byte bVar2;\n  size_t n;\n  char *pcVar3;\n  char *pcVar4;\n  char *__dest;\n  ushort **ppuVar5;\n  byte *pbVar6;\n  int in_GS_OFFSET;\n  char buf [5];\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  n = (len + 1) * 4;\n  if (((int)n < 0) || (len + 1 >> 0x1e != 0)) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }\n  pcVar3 = (char *)xmalloc(n);\n  if (len != 0) {\n    pbVar6 = (byte *)(s + len);\n    __dest = pcVar3;\n    do {\n      bVar2 = *s;\n      if (bVar2 == 10) {\n        pcVar4 = "\\n";\n      }\n      else if ((char)bVar2 < '\v') {\n        pcVar4 = "\\b";\n        if (((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7))\n        {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pcVar4 = buf;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }\n          else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }\n        }\n      }\n      else {\n        pcVar4 = "\\f";\n        if ((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)) goto LAB_000126a7;\n      }\n      s = (char *)((byte *)s + 1);\n      __dest = stpcpy(__dest,pcVar4);\n    } while (pbVar6 != (byte *)s);\n  }\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "size_t n;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "char *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "ushort **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "char buf [5];" primitive_type (array_declarator "buf [5]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "n = (len + 1) * 4;" (assignment_expression "n = (len + 1) * 4" identifier = (binary_expression "(len + 1) * 4" (parenthesized_expression "(len + 1)" ( (binary_expression "len + 1" identifier + number_literal) )) * number_literal)) ;) (if_statement "if (((int)n < 0) || (len + 1 >> 0x1e != 0)) {\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }" if (parenthesized_expression "(((int)n < 0) || (len + 1 >> 0x1e != 0))" ( (binary_expression "((int)n < 0) || (len + 1 >> 0x1e != 0)" (parenthesized_expression "((int)n < 0)" ( (binary_expression "(int)n < 0" (cast_expression "(int)n" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(len + 1 >> 0x1e != 0)" ( (binary_expression "len + 1 >> 0x1e != 0" (binary_expression "len + 1 >> 0x1e" (binary_expression "len + 1" identifier + number_literal) >> number_literal) != number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    xalloc_die();\n  }" { comment (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "pcVar3 = (char *)xmalloc(n);" (assignment_expression "pcVar3 = (char *)xmalloc(n)" identifier = (cast_expression "(char *)xmalloc(n)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(n)" identifier (argument_list "(n)" ( identifier ))))) ;) (if_statement "if (len != 0) {\n    pbVar6 = (byte *)(s + len);\n    __dest = pcVar3;\n    do {\n      bVar2 = *s;\n      if (bVar2 == 10) {\n        pcVar4 = "\\n";\n      }\n      else if ((char)bVar2 < '\v') {\n        pcVar4 = "\\b";\n        if (((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7))\n        {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pcVar4 = buf;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }\n          else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }\n        }\n      }\n      else {\n        pcVar4 = "\\f";\n        if ((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)) goto LAB_000126a7;\n      }\n      s = (char *)((byte *)s + 1);\n      __dest = stpcpy(__dest,pcVar4);\n    } while (pbVar6 != (byte *)s);\n  }" if (parenthesized_expression "(len != 0)" ( (binary_expression "len != 0" identifier != number_literal) )) (compound_statement "{\n    pbVar6 = (byte *)(s + len);\n    __dest = pcVar3;\n    do {\n      bVar2 = *s;\n      if (bVar2 == 10) {\n        pcVar4 = "\\n";\n      }\n      else if ((char)bVar2 < '\v') {\n        pcVar4 = "\\b";\n        if (((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7))\n        {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pcVar4 = buf;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }\n          else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }\n        }\n      }\n      else {\n        pcVar4 = "\\f";\n        if ((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)) goto LAB_000126a7;\n      }\n      s = (char *)((byte *)s + 1);\n      __dest = stpcpy(__dest,pcVar4);\n    } while (pbVar6 != (byte *)s);\n  }" { (expression_statement "pbVar6 = (byte *)(s + len);" (assignment_expression "pbVar6 = (byte *)(s + len)" identifier = (cast_expression "(byte *)(s + len)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(s + len)" ( (binary_expression "s + len" identifier + identifier) )))) ;) (expression_statement "__dest = pcVar3;" (assignment_expression "__dest = pcVar3" identifier = identifier) ;) (do_statement "do {\n      bVar2 = *s;\n      if (bVar2 == 10) {\n        pcVar4 = "\\n";\n      }\n      else if ((char)bVar2 < '\v') {\n        pcVar4 = "\\b";\n        if (((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7))\n        {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pcVar4 = buf;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }\n          else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }\n        }\n      }\n      else {\n        pcVar4 = "\\f";\n        if ((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)) goto LAB_000126a7;\n      }\n      s = (char *)((byte *)s + 1);\n      __dest = stpcpy(__dest,pcVar4);\n    } while (pbVar6 != (byte *)s);" do (compound_statement "{\n      bVar2 = *s;\n      if (bVar2 == 10) {\n        pcVar4 = "\\n";\n      }\n      else if ((char)bVar2 < '\v') {\n        pcVar4 = "\\b";\n        if (((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7))\n        {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pcVar4 = buf;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }\n          else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }\n        }\n      }\n      else {\n        pcVar4 = "\\f";\n        if ((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)) goto LAB_000126a7;\n      }\n      s = (char *)((byte *)s + 1);\n      __dest = stpcpy(__dest,pcVar4);\n    }" { (expression_statement "bVar2 = *s;" (assignment_expression "bVar2 = *s" identifier = (pointer_expression "*s" * identifier)) ;) (if_statement "if (bVar2 == 10) {\n        pcVar4 = "\\n";\n      }\n      else if ((char)bVar2 < '\v') {\n        pcVar4 = "\\b";\n        if (((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7))\n        {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pcVar4 = buf;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }\n          else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }\n        }\n      }\n      else {\n        pcVar4 = "\\f";\n        if ((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)) goto LAB_000126a7;\n      }" if (parenthesized_expression "(bVar2 == 10)" ( (binary_expression "bVar2 == 10" identifier == number_literal) )) (compound_statement "{\n        pcVar4 = "\\n";\n      }" { (expression_statement "pcVar4 = "\\n";" (assignment_expression "pcVar4 = "\\n"" identifier = (string_literal ""\\n"" " escape_sequence string_content ")) ;) }) (else_clause "else if ((char)bVar2 < '\v') {\n        pcVar4 = "\\b";\n        if (((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7))\n        {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pcVar4 = buf;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }\n          else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }\n        }\n      }\n      else {\n        pcVar4 = "\\f";\n        if ((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)) goto LAB_000126a7;\n      }" else (if_statement "if ((char)bVar2 < '\v') {\n        pcVar4 = "\\b";\n        if (((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7))\n        {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pcVar4 = buf;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }\n          else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }\n        }\n      }\n      else {\n        pcVar4 = "\\f";\n        if ((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)) goto LAB_000126a7;\n      }" if (parenthesized_expression "((char)bVar2 < '\v')" ( (binary_expression "(char)bVar2 < '\v'" (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\v'" ' escape_sequence ')) )) (compound_statement "{\n        pcVar4 = "\\b";\n        if (((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7))\n        {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pcVar4 = buf;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }\n          else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }\n        }\n      }" { (expression_statement "pcVar4 = "\\b";" (assignment_expression "pcVar4 = "\\b"" identifier = (string_literal ""\\b"" " escape_sequence string_content ")) ;) (if_statement "if (((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7))\n        {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pcVar4 = buf;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }\n          else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }\n        }" if (parenthesized_expression "(((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7))" ( (binary_expression "((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')) && (pcVar4 = "\\a", bVar2 != 7)" (parenthesized_expression "((bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t'))" ( (binary_expression "(bVar2 != 8) && (pcVar4 = "\\t", (char)bVar2 < '\t')" (parenthesized_expression "(bVar2 != 8)" ( (binary_expression "bVar2 != 8" identifier != number_literal) )) && (parenthesized_expression "(pcVar4 = "\\t", (char)bVar2 < '\t')" ( (comma_expression "pcVar4 = "\\t", (char)bVar2 < '\t'" (assignment_expression "pcVar4 = "\\t"" identifier = (string_literal ""\\t"" " escape_sequence string_content ")) , (binary_expression "(char)bVar2 < '\t'" (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\t'" ' escape_sequence '))) ))) )) && (parenthesized_expression "(pcVar4 = "\\a", bVar2 != 7)" ( (comma_expression "pcVar4 = "\\a", bVar2 != 7" (assignment_expression "pcVar4 = "\\a"" identifier = (string_literal ""\\a"" " escape_sequence string_content ")) , (binary_expression "bVar2 != 7" identifier != number_literal)) ))) )) (compound_statement "{\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pcVar4 = buf;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }\n          else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }\n        }" { (labeled_statement "LAB_000126a7:\n          ppuVar5 = __ctype_b_loc();" statement_identifier : (expression_statement "ppuVar5 = __ctype_b_loc();" (assignment_expression "ppuVar5 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;)) (expression_statement "pcVar4 = buf;" (assignment_expression "pcVar4 = buf" identifier = identifier) ;) (if_statement "if ((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }\n          else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }" if (parenthesized_expression "((*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40)" ( (binary_expression "*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1) & 0x40" (pointer_expression "*(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar5 + (uint)bVar2 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar5 + (uint)bVar2 * 2 + 1)" ( (binary_expression "(int)*ppuVar5 + (uint)bVar2 * 2 + 1" (binary_expression "(int)*ppuVar5 + (uint)bVar2 * 2" (cast_expression "(int)*ppuVar5" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar5" * identifier)) + (binary_expression "(uint)bVar2 * 2" (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n            __sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);\n          }" { (expression_statement "__sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2);" (call_expression "__sprintf_chk(buf,1,5,"\\%03o",(uint)bVar2)" identifier (argument_list "(buf,1,5,"\\%03o",(uint)bVar2)" ( identifier , number_literal , number_literal , (string_literal ""\\%03o"" " escape_sequence string_content ") , (cast_expression "(uint)bVar2" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) }) (else_clause "else {\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }" else (compound_statement "{\n            buf[1] = '\0';\n            buf[0] = bVar2;\n          }" { (expression_statement "buf[1] = '\0';" (assignment_expression "buf[1] = '\0'" (subscript_expression "buf[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "buf[0] = bVar2;" (assignment_expression "buf[0] = bVar2" (subscript_expression "buf[0]" identifier [ number_literal ]) = identifier) ;) }))) })) }) (else_clause "else {\n        pcVar4 = "\\f";\n        if ((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)) goto LAB_000126a7;\n      }" else (compound_statement "{\n        pcVar4 = "\\f";\n        if ((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)) goto LAB_000126a7;\n      }" { (expression_statement "pcVar4 = "\\f";" (assignment_expression "pcVar4 = "\\f"" identifier = (string_literal ""\\f"" " escape_sequence string_content ")) ;) (if_statement "if ((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)) goto LAB_000126a7;" if (parenthesized_expression "((((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c))" ( (binary_expression "(((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)) && (pcVar4 = "\\", bVar2 != 0x5c)" (parenthesized_expression "(((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd))" ( (binary_expression "((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)) &&\n            (pcVar4 = "\\r", bVar2 != 0xd)" (parenthesized_expression "((bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2))" ( (binary_expression "(bVar2 != 0xc) && (pcVar4 = "\\v", '\v' < (char)bVar2)" (parenthesized_expression "(bVar2 != 0xc)" ( (binary_expression "bVar2 != 0xc" identifier != number_literal) )) && (parenthesized_expression "(pcVar4 = "\\v", '\v' < (char)bVar2)" ( (comma_expression "pcVar4 = "\\v", '\v' < (char)bVar2" (assignment_expression "pcVar4 = "\\v"" identifier = (string_literal ""\\v"" " escape_sequence string_content ")) , (binary_expression "'\v' < (char)bVar2" (char_literal "'\v'" ' escape_sequence ') < (cast_expression "(char)bVar2" ( (type_descriptor "char" primitive_type) ) identifier))) ))) )) && (parenthesized_expression "(pcVar4 = "\\r", bVar2 != 0xd)" ( (comma_expression "pcVar4 = "\\r", bVar2 != 0xd" (assignment_expression "pcVar4 = "\\r"" identifier = (string_literal ""\\r"" " escape_sequence string_content ")) , (binary_expression "bVar2 != 0xd" identifier != number_literal)) ))) )) && (parenthesized_expression "(pcVar4 = "\\", bVar2 != 0x5c)" ( (comma_expression "pcVar4 = "\\", bVar2 != 0x5c" (assignment_expression "pcVar4 = "\\"" identifier = (string_literal ""\\"" " escape_sequence ")) , (binary_expression "bVar2 != 0x5c" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000126a7;" goto statement_identifier ;)) }))))) (expression_statement "s = (char *)((byte *)s + 1);" (assignment_expression "s = (char *)((byte *)s + 1)" identifier = (cast_expression "(char *)((byte *)s + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((byte *)s + 1)" ( (binary_expression "(byte *)s + 1" (cast_expression "(byte *)s" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) + number_literal) )))) ;) (expression_statement "__dest = stpcpy(__dest,pcVar4);" (assignment_expression "__dest = stpcpy(__dest,pcVar4)" identifier = (call_expression "stpcpy(__dest,pcVar4)" identifier (argument_list "(__dest,pcVar4)" ( identifier , identifier )))) ;) }) while (parenthesized_expression "(pbVar6 != (byte *)s)" ( (binary_expression "pbVar6 != (byte *)s" identifier != (cast_expression "(byte *)s" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) ;) })) (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return pcVar3;\n  }" { (return_statement "return pcVar3;" return identifier ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "char * __regparm3 FUN_000125d0(byte *param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  char *pcVar3;\n  byte *pbVar4;\n  char *__dest;\n  ushort **ppuVar5;\n  byte *pbVar6;\n  int in_GS_OFFSET;\n  byte local_25 [5];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x125dd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = (param_2 + 1U) * 4;\n  if ((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)) {\n                    \n    FUN_00016960();\n  }\n  pcVar3 = (char *)FUN_00016660(iVar2);\n  if (param_2 != 0) {\n    pbVar6 = param_1 + param_2;\n    __dest = pcVar3;\n    do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }\n                    \n  FUN_00018600();\n}\n\n" (function_definition "char * __regparm3 FUN_000125d0(byte *param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  char *pcVar3;\n  byte *pbVar4;\n  char *__dest;\n  ushort **ppuVar5;\n  byte *pbVar6;\n  int in_GS_OFFSET;\n  byte local_25 [5];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x125dd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = (param_2 + 1U) * 4;\n  if ((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)) {\n                    \n    FUN_00016960();\n  }\n  pcVar3 = (char *)FUN_00016660(iVar2);\n  if (param_2 != 0) {\n    pbVar6 = param_1 + param_2;\n    __dest = pcVar3;\n    do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }\n                    \n  FUN_00018600();\n}" primitive_type (pointer_declarator "* __regparm3 FUN_000125d0(byte *param_1,int param_2)" * (ERROR "__regparm3" identifier) (function_declarator "FUN_000125d0(byte *param_1,int param_2)" identifier (parameter_list "(byte *param_1,int param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) )))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  char *pcVar3;\n  byte *pbVar4;\n  char *__dest;\n  ushort **ppuVar5;\n  byte *pbVar6;\n  int in_GS_OFFSET;\n  byte local_25 [5];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x125dd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = (param_2 + 1U) * 4;\n  if ((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)) {\n                    \n    FUN_00016960();\n  }\n  pcVar3 = (char *)FUN_00016660(iVar2);\n  if (param_2 != 0) {\n    pbVar6 = param_1 + param_2;\n    __dest = pcVar3;\n    do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }\n                    \n  FUN_00018600();\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "char *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "ushort **ppuVar5;" type_identifier (pointer_declarator "**ppuVar5" * (pointer_declarator "*ppuVar5" * identifier)) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte local_25 [5];" type_identifier (array_declarator "local_25 [5]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x125dd;" (assignment_expression "uStack_14 = 0x125dd" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = (param_2 + 1U) * 4;" (assignment_expression "iVar2 = (param_2 + 1U) * 4" identifier = (binary_expression "(param_2 + 1U) * 4" (parenthesized_expression "(param_2 + 1U)" ( (binary_expression "param_2 + 1U" identifier + number_literal) )) * number_literal)) ;) (if_statement "if ((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)) {\n                    \n    FUN_00016960();\n  }" if (parenthesized_expression "((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0))" ( (binary_expression "(iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)" (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) || (parenthesized_expression "(param_2 + 1U >> 0x1e != 0)" ( (binary_expression "param_2 + 1U >> 0x1e != 0" (binary_expression "param_2 + 1U >> 0x1e" (binary_expression "param_2 + 1U" identifier + number_literal) >> number_literal) != number_literal) ))) )) (compound_statement "{\n                    \n    FUN_00016960();\n  }" { (expression_statement "FUN_00016960();" (call_expression "FUN_00016960()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "pcVar3 = (char *)FUN_00016660(iVar2);" (assignment_expression "pcVar3 = (char *)FUN_00016660(iVar2)" identifier = (cast_expression "(char *)FUN_00016660(iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00016660(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))))) ;) (if_statement "if (param_2 != 0) {\n    pbVar6 = param_1 + param_2;\n    __dest = pcVar3;\n    do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    pbVar6 = param_1 + param_2;\n    __dest = pcVar3;\n    do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);\n  }" { (expression_statement "pbVar6 = param_1 + param_2;" (assignment_expression "pbVar6 = param_1 + param_2" identifier = (binary_expression "param_1 + param_2" identifier + identifier)) ;) (expression_statement "__dest = pcVar3;" (assignment_expression "__dest = pcVar3" identifier = identifier) ;) (do_statement "do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);" do (compound_statement "{\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    }" { (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" if (parenthesized_expression "(bVar1 == 10)" ( (binary_expression "bVar1 == 10" identifier == number_literal) )) (compound_statement "{\n        pbVar4 = &DAT_00019016;\n      }" { (expression_statement "pbVar4 = &DAT_00019016;" (assignment_expression "pbVar4 = &DAT_00019016" identifier = (pointer_expression "&DAT_00019016" & identifier)) ;) }) (else_clause "else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" else (if_statement "if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" if (parenthesized_expression "((char)bVar1 < '\v')" ( (binary_expression "(char)bVar1 < '\v'" (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\v'" ' escape_sequence ')) )) (compound_statement "{\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }" { (expression_statement "pbVar4 = &DAT_00019010;" (assignment_expression "pbVar4 = &DAT_00019010" identifier = (pointer_expression "&DAT_00019010" & identifier)) ;) (if_statement "if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }" if (parenthesized_expression "(((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7))" ( (binary_expression "((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)" (parenthesized_expression "((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t'))" ( (binary_expression "(bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')" (parenthesized_expression "(bVar1 != 8)" ( (binary_expression "bVar1 != 8" identifier != number_literal) )) && (parenthesized_expression "(pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')" ( (comma_expression "pbVar4 = &DAT_0001901c, (char)bVar1 < '\t'" (assignment_expression "pbVar4 = &DAT_0001901c" identifier = (pointer_expression "&DAT_0001901c" & identifier)) , (binary_expression "(char)bVar1 < '\t'" (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\t'" ' escape_sequence '))) ))) )) && (parenthesized_expression "(pbVar4 = &DAT_00019022, bVar1 != 7)" ( (comma_expression "pbVar4 = &DAT_00019022, bVar1 != 7" (assignment_expression "pbVar4 = &DAT_00019022" identifier = (pointer_expression "&DAT_00019022" & identifier)) , (binary_expression "bVar1 != 7" identifier != number_literal)) ))) )) (compound_statement "{\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }" { (labeled_statement "LAB_000126a7:\n          ppuVar5 = __ctype_b_loc();" statement_identifier : (expression_statement "ppuVar5 = __ctype_b_loc();" (assignment_expression "ppuVar5 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;)) (expression_statement "pbVar4 = local_25;" (assignment_expression "pbVar4 = local_25" identifier = identifier) ;) (if_statement "if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }" if (parenthesized_expression "((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0)" ( (binary_expression "(*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40)" ( (binary_expression "*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40" (pointer_expression "*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar5 + (uint)bVar1 * 2 + 1)" ( (binary_expression "(int)*ppuVar5 + (uint)bVar1 * 2 + 1" (binary_expression "(int)*ppuVar5 + (uint)bVar1 * 2" (cast_expression "(int)*ppuVar5" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar5" * identifier)) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }" { (expression_statement "__sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);" (call_expression "__sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1)" identifier (argument_list "(local_25,1,5,"\\%03o",(uint)bVar1)" ( identifier , number_literal , number_literal , (string_literal ""\\%03o"" " escape_sequence string_content ") , (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) ))) ;) }) (else_clause "else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }" else (compound_statement "{\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }" { (expression_statement "local_25[1] = 0;" (assignment_expression "local_25[1] = 0" (subscript_expression "local_25[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "local_25[0] = bVar1;" (assignment_expression "local_25[0] = bVar1" (subscript_expression "local_25[0]" identifier [ number_literal ]) = identifier) ;) }))) })) }) (else_clause "else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" else (compound_statement "{\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" { (expression_statement "pbVar4 = &DAT_00019013;" (assignment_expression "pbVar4 = &DAT_00019013" identifier = (pointer_expression "&DAT_00019013" & identifier)) ;) (if_statement "if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;" if (parenthesized_expression "((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))" ( (binary_expression "(((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c)" (parenthesized_expression "(((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd))" ( (binary_expression "((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)" (parenthesized_expression "((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1))" ( (binary_expression "(bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)" (parenthesized_expression "(bVar1 != 0xc)" ( (binary_expression "bVar1 != 0xc" identifier != number_literal) )) && (parenthesized_expression "(pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)" ( (comma_expression "pbVar4 = &DAT_0001901f, '\v' < (char)bVar1" (assignment_expression "pbVar4 = &DAT_0001901f" identifier = (pointer_expression "&DAT_0001901f" & identifier)) , (binary_expression "'\v' < (char)bVar1" (char_literal "'\v'" ' escape_sequence ') < (cast_expression "(char)bVar1" ( (type_descriptor "char" primitive_type) ) identifier))) ))) )) && (parenthesized_expression "(pbVar4 = &DAT_00019019, bVar1 != 0xd)" ( (comma_expression "pbVar4 = &DAT_00019019, bVar1 != 0xd" (assignment_expression "pbVar4 = &DAT_00019019" identifier = (pointer_expression "&DAT_00019019" & identifier)) , (binary_expression "bVar1 != 0xd" identifier != number_literal)) ))) )) && (parenthesized_expression "(pbVar4 = &DAT_0001900e, bVar1 != 0x5c)" ( (comma_expression "pbVar4 = &DAT_0001900e, bVar1 != 0x5c" (assignment_expression "pbVar4 = &DAT_0001900e" identifier = (pointer_expression "&DAT_0001900e" & identifier)) , (binary_expression "bVar1 != 0x5c" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000126a7;" goto statement_identifier ;)) }))))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "__dest = stpcpy(__dest,(char *)pbVar4);" (assignment_expression "__dest = stpcpy(__dest,(char *)pbVar4)" identifier = (call_expression "stpcpy(__dest,(char *)pbVar4)" identifier (argument_list "(__dest,(char *)pbVar4)" ( identifier , (cast_expression "(char *)pbVar4" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) }) while (parenthesized_expression "(pbVar6 != param_1)" ( (binary_expression "pbVar6 != param_1" identifier != identifier) )) ;) })) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return pcVar3;\n  }" { (return_statement "return pcVar3;" return identifier ;) })) (expression_statement "FUN_00018600();" (call_expression "FUN_00018600()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (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 (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + LIT) >> LIT) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression & IDENT)) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence '))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression & IDENT)) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , (string_literal " escape_sequence string_content ") , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression & IDENT)) , (binary_expression (char_literal ' escape_sequence ') < (cast_expression ( (type_descriptor TYPE) ) IDENT))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression & IDENT)) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression & IDENT)) , (binary_expression IDENT != LIT)) ))) )) (goto_statement goto statement_identifier ;)) }))))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "char * __regparm3 FUN_000125d0(byte *param_1,int param_2)\n\n{\n  byte bVar1;\n  int iVar2;\n  char *pcVar3;\n  byte *pbVar4;\n  char *__dest;\n  ushort **ppuVar5;\n  byte *pbVar6;\n  int in_GS_OFFSET;\n  byte local_25 [5];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x125dd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = (param_2 + 1U) * 4;\n  if ((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)) {\n                    \n    FUN_00016960();\n  }\n  pcVar3 = (char *)FUN_00016660(iVar2);\n  if (param_2 != 0) {\n    pbVar6 = param_1 + param_2;\n    __dest = pcVar3;\n    do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }\n                    \n  FUN_00018600();\n}" (primitive_type "char") (pointer_declarator "* __regparm3 FUN_000125d0(byte *param_1,int param_2)" (* "*") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000125d0(byte *param_1,int param_2)" (identifier "FUN_000125d0") (parameter_list "(byte *param_1,int param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")")))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  char *pcVar3;\n  byte *pbVar4;\n  char *__dest;\n  ushort **ppuVar5;\n  byte *pbVar6;\n  int in_GS_OFFSET;\n  byte local_25 [5];\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x125dd;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = (param_2 + 1U) * 4;\n  if ((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)) {\n                    \n    FUN_00016960();\n  }\n  pcVar3 = (char *)FUN_00016660(iVar2);\n  if (param_2 != 0) {\n    pbVar6 = param_1 + param_2;\n    __dest = pcVar3;\n    do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);\n  }\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }\n                    \n  FUN_00018600();\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "char *__dest;" (primitive_type "char") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "ushort **ppuVar5;" (type_identifier "ushort") (pointer_declarator "**ppuVar5" (* "*") (pointer_declarator "*ppuVar5" (* "*") (identifier "ppuVar5"))) (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "byte local_25 [5];" (type_identifier "byte") (array_declarator "local_25 [5]" (identifier "local_25") ([ "[") (number_literal "5") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x125dd;" (assignment_expression "uStack_14 = 0x125dd" (identifier "uStack_14") (= "=") (number_literal "0x125dd")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar2 = (param_2 + 1U) * 4;" (assignment_expression "iVar2 = (param_2 + 1U) * 4" (identifier "iVar2") (= "=") (binary_expression "(param_2 + 1U) * 4" (parenthesized_expression "(param_2 + 1U)" (( "(") (binary_expression "param_2 + 1U" (identifier "param_2") (+ "+") (number_literal "1U")) () ")")) (* "*") (number_literal "4"))) (; ";")) (if_statement "if ((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)) {\n                    \n    FUN_00016960();\n  }" (if "if") (parenthesized_expression "((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0))" (( "(") (binary_expression "(iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)" (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(param_2 + 1U >> 0x1e != 0)" (( "(") (binary_expression "param_2 + 1U >> 0x1e != 0" (binary_expression "param_2 + 1U >> 0x1e" (binary_expression "param_2 + 1U" (identifier "param_2") (+ "+") (number_literal "1U")) (>> ">>") (number_literal "0x1e")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                    \n    FUN_00016960();\n  }" ({ "{") (expression_statement "FUN_00016960();" (call_expression "FUN_00016960()" (identifier "FUN_00016960") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar3 = (char *)FUN_00016660(iVar2);" (assignment_expression "pcVar3 = (char *)FUN_00016660(iVar2)" (identifier "pcVar3") (= "=") (cast_expression "(char *)FUN_00016660(iVar2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00016660(iVar2)" (identifier "FUN_00016660") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))))) (; ";")) (if_statement "if (param_2 != 0) {\n    pbVar6 = param_1 + param_2;\n    __dest = pcVar3;\n    do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    pbVar6 = param_1 + param_2;\n    __dest = pcVar3;\n    do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);\n  }" ({ "{") (expression_statement "pbVar6 = param_1 + param_2;" (assignment_expression "pbVar6 = param_1 + param_2" (identifier "pbVar6") (= "=") (binary_expression "param_1 + param_2" (identifier "param_1") (+ "+") (identifier "param_2"))) (; ";")) (expression_statement "__dest = pcVar3;" (assignment_expression "__dest = pcVar3" (identifier "__dest") (= "=") (identifier "pcVar3")) (; ";")) (do_statement "do {\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    } while (pbVar6 != param_1);" (do "do") (compound_statement "{\n      bVar1 = *param_1;\n      if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }\n      param_1 = param_1 + 1;\n      __dest = stpcpy(__dest,(char *)pbVar4);\n    }" ({ "{") (expression_statement "bVar1 = *param_1;" (assignment_expression "bVar1 = *param_1" (identifier "bVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (bVar1 == 10) {\n        pbVar4 = &DAT_00019016;\n      }\n      else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" (if "if") (parenthesized_expression "(bVar1 == 10)" (( "(") (binary_expression "bVar1 == 10" (identifier "bVar1") (== "==") (number_literal "10")) () ")")) (compound_statement "{\n        pbVar4 = &DAT_00019016;\n      }" ({ "{") (expression_statement "pbVar4 = &DAT_00019016;" (assignment_expression "pbVar4 = &DAT_00019016" (identifier "pbVar4") (= "=") (pointer_expression "&DAT_00019016" (& "&") (identifier "DAT_00019016"))) (; ";")) (} "}")) (else_clause "else if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" (else "else") (if_statement "if ((char)bVar1 < '\v') {\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }\n      else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" (if "if") (parenthesized_expression "((char)bVar1 < '\v')" (( "(") (binary_expression "(char)bVar1 < '\v'" (cast_expression "(char)bVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar1")) (< "<") (char_literal "'\v'" (' "'") (escape_sequence "\v") (' "'"))) () ")")) (compound_statement "{\n        pbVar4 = &DAT_00019010;\n        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }\n      }" ({ "{") (expression_statement "pbVar4 = &DAT_00019010;" (assignment_expression "pbVar4 = &DAT_00019010" (identifier "pbVar4") (= "=") (pointer_expression "&DAT_00019010" (& "&") (identifier "DAT_00019010"))) (; ";")) (if_statement "if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)) {\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }" (if "if") (parenthesized_expression "(((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7))" (( "(") (binary_expression "((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&\n           (pbVar4 = &DAT_00019022, bVar1 != 7)" (parenthesized_expression "((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t'))" (( "(") (binary_expression "(bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')" (parenthesized_expression "(bVar1 != 8)" (( "(") (binary_expression "bVar1 != 8" (identifier "bVar1") (!= "!=") (number_literal "8")) () ")")) (&& "&&") (parenthesized_expression "(pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')" (( "(") (comma_expression "pbVar4 = &DAT_0001901c, (char)bVar1 < '\t'" (assignment_expression "pbVar4 = &DAT_0001901c" (identifier "pbVar4") (= "=") (pointer_expression "&DAT_0001901c" (& "&") (identifier "DAT_0001901c"))) (, ",") (binary_expression "(char)bVar1 < '\t'" (cast_expression "(char)bVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar1")) (< "<") (char_literal "'\t'" (' "'") (escape_sequence "\t") (' "'")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pbVar4 = &DAT_00019022, bVar1 != 7)" (( "(") (comma_expression "pbVar4 = &DAT_00019022, bVar1 != 7" (assignment_expression "pbVar4 = &DAT_00019022" (identifier "pbVar4") (= "=") (pointer_expression "&DAT_00019022" (& "&") (identifier "DAT_00019022"))) (, ",") (binary_expression "bVar1 != 7" (identifier "bVar1") (!= "!=") (number_literal "7"))) () ")"))) () ")")) (compound_statement "{\nLAB_000126a7:\n          ppuVar5 = __ctype_b_loc();\n          pbVar4 = local_25;\n          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }\n        }" ({ "{") (labeled_statement "LAB_000126a7:\n          ppuVar5 = __ctype_b_loc();" (statement_identifier "LAB_000126a7") (: ":") (expression_statement "ppuVar5 = __ctype_b_loc();" (assignment_expression "ppuVar5 = __ctype_b_loc()" (identifier "ppuVar5") (= "=") (call_expression "__ctype_b_loc()" (identifier "__ctype_b_loc") (argument_list "()" (( "(") () ")")))) (; ";"))) (expression_statement "pbVar4 = local_25;" (assignment_expression "pbVar4 = local_25" (identifier "pbVar4") (= "=") (identifier "local_25")) (; ";")) (if_statement "if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }\n          else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }" (if "if") (parenthesized_expression "((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0)" (( "(") (binary_expression "(*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0" (parenthesized_expression "(*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40)" (( "(") (binary_expression "*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40" (pointer_expression "*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)*ppuVar5 + (uint)bVar1 * 2 + 1)" (( "(") (binary_expression "(int)*ppuVar5 + (uint)bVar1 * 2 + 1" (binary_expression "(int)*ppuVar5 + (uint)bVar1 * 2" (cast_expression "(int)*ppuVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*ppuVar5" (* "*") (identifier "ppuVar5"))) (+ "+") (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);\n          }" ({ "{") (expression_statement "__sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);" (call_expression "__sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1)" (identifier "__sprintf_chk") (argument_list "(local_25,1,5,"\\%03o",(uint)bVar1)" (( "(") (identifier "local_25") (, ",") (number_literal "1") (, ",") (number_literal "5") (, ",") (string_literal ""\\%03o"" (" """) (escape_sequence "\\") (string_content "%03o") (" """)) (, ",") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }" (else "else") (compound_statement "{\n            local_25[1] = 0;\n            local_25[0] = bVar1;\n          }" ({ "{") (expression_statement "local_25[1] = 0;" (assignment_expression "local_25[1] = 0" (subscript_expression "local_25[1]" (identifier "local_25") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_25[0] = bVar1;" (assignment_expression "local_25[0] = bVar1" (subscript_expression "local_25[0]" (identifier "local_25") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "bVar1")) (; ";")) (} "}")))) (} "}"))) (} "}")) (else_clause "else {\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" (else "else") (compound_statement "{\n        pbVar4 = &DAT_00019013;\n        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;\n      }" ({ "{") (expression_statement "pbVar4 = &DAT_00019013;" (assignment_expression "pbVar4 = &DAT_00019013" (identifier "pbVar4") (= "=") (pointer_expression "&DAT_00019013" (& "&") (identifier "DAT_00019013"))) (; ";")) (if_statement "if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))\n        goto LAB_000126a7;" (if "if") (parenthesized_expression "((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))" (( "(") (binary_expression "(((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c)" (parenthesized_expression "(((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd))" (( "(") (binary_expression "((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&\n            (pbVar4 = &DAT_00019019, bVar1 != 0xd)" (parenthesized_expression "((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1))" (( "(") (binary_expression "(bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)" (parenthesized_expression "(bVar1 != 0xc)" (( "(") (binary_expression "bVar1 != 0xc" (identifier "bVar1") (!= "!=") (number_literal "0xc")) () ")")) (&& "&&") (parenthesized_expression "(pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)" (( "(") (comma_expression "pbVar4 = &DAT_0001901f, '\v' < (char)bVar1" (assignment_expression "pbVar4 = &DAT_0001901f" (identifier "pbVar4") (= "=") (pointer_expression "&DAT_0001901f" (& "&") (identifier "DAT_0001901f"))) (, ",") (binary_expression "'\v' < (char)bVar1" (char_literal "'\v'" (' "'") (escape_sequence "\v") (' "'")) (< "<") (cast_expression "(char)bVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar1")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pbVar4 = &DAT_00019019, bVar1 != 0xd)" (( "(") (comma_expression "pbVar4 = &DAT_00019019, bVar1 != 0xd" (assignment_expression "pbVar4 = &DAT_00019019" (identifier "pbVar4") (= "=") (pointer_expression "&DAT_00019019" (& "&") (identifier "DAT_00019019"))) (, ",") (binary_expression "bVar1 != 0xd" (identifier "bVar1") (!= "!=") (number_literal "0xd"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pbVar4 = &DAT_0001900e, bVar1 != 0x5c)" (( "(") (comma_expression "pbVar4 = &DAT_0001900e, bVar1 != 0x5c" (assignment_expression "pbVar4 = &DAT_0001900e" (identifier "pbVar4") (= "=") (pointer_expression "&DAT_0001900e" (& "&") (identifier "DAT_0001900e"))) (, ",") (binary_expression "bVar1 != 0x5c" (identifier "bVar1") (!= "!=") (number_literal "0x5c"))) () ")"))) () ")")) (goto_statement "goto LAB_000126a7;" (goto "goto") (statement_identifier "LAB_000126a7") (; ";"))) (} "}")))))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "__dest = stpcpy(__dest,(char *)pbVar4);" (assignment_expression "__dest = stpcpy(__dest,(char *)pbVar4)" (identifier "__dest") (= "=") (call_expression "stpcpy(__dest,(char *)pbVar4)" (identifier "stpcpy") (argument_list "(__dest,(char *)pbVar4)" (( "(") (identifier "__dest") (, ",") (cast_expression "(char *)pbVar4" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "pbVar4")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar6 != param_1)" (( "(") (binary_expression "pbVar6 != param_1" (identifier "pbVar6") (!= "!=") (identifier "param_1")) () ")")) (; ";")) (} "}"))) (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return pcVar3;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return pcVar3;\n  }" ({ "{") (return_statement "return pcVar3;" (return "return") (identifier "pcVar3") (; ";")) (} "}"))) (expression_statement "FUN_00018600();" (call_expression "FUN_00018600()" (identifier "FUN_00018600") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

char * __regparm3 function_1(char *var_5,size_t var_2)

{
  int var_11;
  type_1 var_6;
  size_t n;
  char *pcVar3;
  char *pcVar4;
  char *__dest;
  type_2 **ppuVar5;
  type_1 *var_10;
  int var_1;
  char buf [5];
  
  var_11 = *(int *)(var_1 + 0x14);
  n = (var_2 + 1) * 4;
  if (((int)n < 0) || (var_2 + 1 >> 0x1e != 0)) {
                    /* WARNING: Subroutine does not return */
    var_3();
  }
  pcVar3 = (char *)var_4(n);
  if (var_2 != 0) {
    var_10 = (type_1 *)(var_5 + var_2);
    __dest = pcVar3;
    do {
      var_6 = *var_5;
      if (var_6 == 10) {
        pcVar4 = "\\n";
      }
      else if ((char)var_6 < '\v') {
        pcVar4 = "\\b";
        if (((var_6 != 8) && (pcVar4 = "\\t", (char)var_6 < '\t')) && (pcVar4 = "\\a", var_6 != 7))
        {
LAB_000126a7:
          ppuVar5 = var_7();
          pcVar4 = buf;
          if ((*(type_1 *)((int)*ppuVar5 + (type_3)var_6 * 2 + 1) & 0x40) == 0) {
            var_8(buf,1,5,"\\%03o",(type_3)var_6);
          }
          else {
            buf[1] = '\0';
            buf[0] = var_6;
          }
        }
      }
      else {
        pcVar4 = "\\f";
        if ((((var_6 != 0xc) && (pcVar4 = "\\v", '\v' < (char)var_6)) &&
            (pcVar4 = "\\r", var_6 != 0xd)) && (pcVar4 = "\\", var_6 != 0x5c)) goto LAB_000126a7;
      }
      var_5 = (char *)((type_1 *)var_5 + 1);
      __dest = var_9(__dest,pcVar4);
    } while (var_10 != (type_1 *)var_5);
  }
  if (var_11 == *(int *)(var_1 + 0x14)) {
    return pcVar3;
  }
                    /* WARNING: Subroutine does not return */
  var_12();
}


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

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

char * __regparm3 MASKED(byte *param_1,int param_2)

{
  byte bVar1;
  int iVar2;
  char *pcVar3;
  byte *pbVar4;
  char *__dest;
  ushort **ppuVar5;
  byte *pbVar6;
  int in_GS_OFFSET;
  byte local_25 [5];
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x125dd;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar2 = (param_2 + 1U) * 4;
  if ((iVar2 < 0) || (param_2 + 1U >> 0x1e != 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_00016960();
  }
  pcVar3 = (char *)FUN_00016660(iVar2);
  if (param_2 != 0) {
    pbVar6 = param_1 + param_2;
    __dest = pcVar3;
    do {
      bVar1 = *param_1;
      if (bVar1 == 10) {
        pbVar4 = &DAT_00019016;
      }
      else if ((char)bVar1 < '\v') {
        pbVar4 = &DAT_00019010;
        if (((bVar1 != 8) && (pbVar4 = &DAT_0001901c, (char)bVar1 < '\t')) &&
           (pbVar4 = &DAT_00019022, bVar1 != 7)) {
LAB_000126a7:
          ppuVar5 = __ctype_b_loc();
          pbVar4 = local_25;
          if ((*(byte *)((int)*ppuVar5 + (uint)bVar1 * 2 + 1) & 0x40) == 0) {
            __sprintf_chk(local_25,1,5,"\\%03o",(uint)bVar1);
          }
          else {
            local_25[1] = 0;
            local_25[0] = bVar1;
          }
        }
      }
      else {
        pbVar4 = &DAT_00019013;
        if ((((bVar1 != 0xc) && (pbVar4 = &DAT_0001901f, '\v' < (char)bVar1)) &&
            (pbVar4 = &DAT_00019019, bVar1 != 0xd)) && (pbVar4 = &DAT_0001900e, bVar1 != 0x5c))
        goto LAB_000126a7;
      }
      param_1 = param_1 + 1;
      __dest = stpcpy(__dest,(char *)pbVar4);
    } while (pbVar6 != param_1);
  }
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return pcVar3;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00018600();
}

