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

void StripString(char *message)

{
  char cVar1;
  ushort *puVar2;
  size_t sVar3;
  ushort **ppuVar4;
  byte *pbVar5;
  byte bVar6;
  byte *__src;
  
  if (message == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");
  }
  bVar6 = *message;
  if (bVar6 != 0) {
    sVar3 = strlen(message);
    ppuVar4 = __ctype_b_loc();
    puVar2 = *ppuVar4;
    __src = (byte *)message;
    while ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) != 0) {
      __src = __src + 1;
      bVar6 = *__src;
    }
    if ((bVar6 == 0x27) || (bVar6 == 0x22)) {
      __src = __src + 1;
    }
    pbVar5 = (byte *)(message + (sVar3 - 1));
    bVar6 = *pbVar5;
    if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) {
LAB_0019f043:
      if ((__src < pbVar5) && ((bVar6 == 0x27 || (bVar6 == 0x22)))) {
        pbVar5 = pbVar5 + -1;
      }
    }
    else if (__src < pbVar5) {
      do {
        pbVar5 = pbVar5 + -1;
        bVar6 = *pbVar5;
        if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;
      } while (__src != pbVar5);
    }
    memmove(message,__src,(size_t)(pbVar5 + (1 - (int)__src)));
    message[(int)(pbVar5 + (1 - (int)__src))] = '\0';
    cVar1 = *message;
    while (cVar1 != '\0') {
      if (cVar1 == '\n') {
        *message = ' ';
      }
      message = message + 1;
      cVar1 = *message;
    }
  }
  return;
}



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

void StripString(byte *param_1)

{
  ushort *puVar1;
  size_t sVar2;
  ushort **ppuVar3;
  byte *pbVar4;
  byte bVar5;
  byte *__src;
  
  if (param_1 == (byte *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");
  }
  bVar5 = *param_1;
  if (bVar5 != 0) {
    sVar2 = strlen((char *)param_1);
    ppuVar3 = __ctype_b_loc();
    puVar1 = *ppuVar3;
    __src = param_1;
    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {
      __src = __src + 1;
      bVar5 = *__src;
    }
    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {
      __src = __src + 1;
    }
    pbVar4 = param_1 + (sVar2 - 1);
    bVar5 = *pbVar4;
    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {
LAB_0019f043:
      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {
        pbVar4 = pbVar4 + -1;
      }
    }
    else if (__src < pbVar4) {
      do {
        pbVar4 = pbVar4 + -1;
        bVar5 = *pbVar4;
        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;
      } while (__src != pbVar4);
    }
    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));
    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;
    bVar5 = *param_1;
    while (bVar5 != 0) {
      if (bVar5 == 10) {
        *param_1 = 0x20;
      }
      param_1 = param_1 + 1;
      bVar5 = *param_1;
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00038830
ADD EBX,0x23a057
SUB ESP,0x1c
MOV EDI,dword ptr [ESP + 0x30]
TEST EDI,EDI
JZ 0x0019f0a5
MOVZX ECX,byte ptr [EDI]
TEST CL,CL
MOV byte ptr [ESP + 0xf],CL
JZ 0x0019f089
SUB ESP,0xc
PUSH EDI
CALL 0x00031eb0
ADD ESP,0x10
MOV ESI,EAX
CALL 0x00031ac0
MOV EDX,EDI
MOVZX ECX,byte ptr [ESP + 0xf]
MOV EBP,dword ptr [EAX]
JMP 0x0019eff6
ADD EDX,0x1
MOVZX ECX,byte ptr [EDX]
MOVZX EAX,CL
TEST byte ptr [EBP + EAX*0x2 + 0x1],0x20
JNZ 0x0019eff0
CMP CL,0x27
JZ 0x0019f098
CMP CL,0x22
JZ 0x0019f098
LEA EAX,[EDI + ESI*0x1 + -0x1]
MOVZX ESI,byte ptr [EAX]
MOV ECX,ESI
TEST byte ptr [EBP + ESI*0x2 + 0x1],0x20
JZ 0x0019f043
CMP EDX,EAX
JC 0x0019f034
JMP 0x0019f051
CMP EDX,EAX
JZ 0x0019f051
SUB EAX,0x1
MOVZX ESI,byte ptr [EAX]
MOV ECX,ESI
TEST byte ptr [EBP + ESI*0x2 + 0x1],0x20
JNZ 0x0019f030
CMP EDX,EAX
JNC 0x0019f051
CMP CL,0x27
JZ 0x0019f0a0
CMP CL,0x22
JZ 0x0019f0a0
SUB EAX,EDX
SUB ESP,0x4
MOV ESI,EAX
LEA EAX,[EAX + 0x1]
PUSH EAX
PUSH EDX
PUSH EDI
CALL 0x00032dc0
MOV byte ptr [EDI + ESI*0x1 + 0x1],0x0
MOVZX EAX,byte ptr [EDI]
ADD ESP,0x10
TEST AL,AL
JZ 0x0019f089
LEA ESI,[ESI]
CMP AL,0xa
JNZ 0x0019f07f
MOV byte ptr [EDI],0x20
ADD EDI,0x1
MOVZX EAX,byte ptr [EDI]
TEST AL,AL
JNZ 0x0019f078
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD EDX,0x1
JMP 0x0019f012
SUB EAX,0x1
JMP 0x0019f051
LEA EAX,[EBX + 0xffef01e4]
PUSH EAX
LEA EAX,[EBX + 0xffeefe0e]
PUSH 0x9ab
PUSH EAX
LEA EAX,[EBX + 0xffeeff59]
PUSH EAX
CALL 0x000313d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid StripString(byte *param_1)\n\n{\n  ushort *puVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  byte *pbVar4;\n  byte bVar5;\n  byte *__src;\n  \n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }\n  bVar5 = *param_1;\n  if (bVar5 != 0) {\n    sVar2 = strlen((char *)param_1);\n    ppuVar3 = __ctype_b_loc();\n    puVar1 = *ppuVar3;\n    __src = param_1;\n    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }\n    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar4 = param_1 + (sVar2 - 1);\n    bVar5 = *pbVar4;\n    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }\n    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));\n    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;\n    bVar5 = *param_1;\n    while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void StripString(byte *param_1)\n\n{\n  ushort *puVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  byte *pbVar4;\n  byte bVar5;\n  byte *__src;\n  \n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }\n  bVar5 = *param_1;\n  if (bVar5 != 0) {\n    sVar2 = strlen((char *)param_1);\n    ppuVar3 = __ctype_b_loc();\n    puVar1 = *ppuVar3;\n    __src = param_1;\n    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }\n    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar4 = param_1 + (sVar2 - 1);\n    bVar5 = *pbVar4;\n    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }\n    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));\n    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;\n    bVar5 = *param_1;\n    while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "StripString(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ushort *puVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  byte *pbVar4;\n  byte bVar5;\n  byte *__src;\n  \n  if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }\n  bVar5 = *param_1;\n  if (bVar5 != 0) {\n    sVar2 = strlen((char *)param_1);\n    ppuVar3 = __ctype_b_loc();\n    puVar1 = *ppuVar3;\n    __src = param_1;\n    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }\n    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar4 = param_1 + (sVar2 - 1);\n    bVar5 = *pbVar4;\n    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }\n    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));\n    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;\n    bVar5 = *param_1;\n    while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }\n  }\n  return;\n}" { (declaration "ushort *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "ushort **ppuVar3;" type_identifier (pointer_declarator "**ppuVar3" * (pointer_declarator "*ppuVar3" * identifier)) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "byte *__src;" type_identifier (pointer_declarator "*__src" * identifier) ;) (if_statement "if (param_1 == (byte *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }" if (parenthesized_expression "(param_1 == (byte *)0x0)" ( (binary_expression "param_1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }" { comment (expression_statement "__assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");" (call_expression "__assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString")" identifier (argument_list "("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString")" ( (string_literal ""message != (char *) NULL"" " string_content ") , (string_literal ""MagickCore/string.c"" " string_content ") , number_literal , (string_literal ""StripString"" " string_content ") ))) ;) })) (expression_statement "bVar5 = *param_1;" (assignment_expression "bVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (bVar5 != 0) {\n    sVar2 = strlen((char *)param_1);\n    ppuVar3 = __ctype_b_loc();\n    puVar1 = *ppuVar3;\n    __src = param_1;\n    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }\n    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar4 = param_1 + (sVar2 - 1);\n    bVar5 = *pbVar4;\n    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }\n    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));\n    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;\n    bVar5 = *param_1;\n    while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }\n  }" if (parenthesized_expression "(bVar5 != 0)" ( (binary_expression "bVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    sVar2 = strlen((char *)param_1);\n    ppuVar3 = __ctype_b_loc();\n    puVar1 = *ppuVar3;\n    __src = param_1;\n    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }\n    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar4 = param_1 + (sVar2 - 1);\n    bVar5 = *pbVar4;\n    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }\n    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));\n    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;\n    bVar5 = *param_1;\n    while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }\n  }" { (expression_statement "sVar2 = strlen((char *)param_1);" (assignment_expression "sVar2 = strlen((char *)param_1)" identifier = (call_expression "strlen((char *)param_1)" identifier (argument_list "((char *)param_1)" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1 = *ppuVar3;" (assignment_expression "puVar1 = *ppuVar3" identifier = (pointer_expression "*ppuVar3" * identifier)) ;) (expression_statement "__src = param_1;" (assignment_expression "__src = param_1" identifier = identifier) ;) (while_statement "while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }" while (parenthesized_expression "((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0)" ( (binary_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0" (parenthesized_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" * (cast_expression "(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + (uint)bVar5 * 2 + 1)" ( (binary_expression "(int)puVar1 + (uint)bVar5 * 2 + 1" (binary_expression "(int)puVar1 + (uint)bVar5 * 2" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      __src = __src + 1;\n      bVar5 = *__src;\n    }" { (expression_statement "__src = __src + 1;" (assignment_expression "__src = __src + 1" identifier = (binary_expression "__src + 1" identifier + number_literal)) ;) (expression_statement "bVar5 = *__src;" (assignment_expression "bVar5 = *__src" identifier = (pointer_expression "*__src" * identifier)) ;) })) (if_statement "if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }" if (parenthesized_expression "((bVar5 == 0x27) || (bVar5 == 0x22))" ( (binary_expression "(bVar5 == 0x27) || (bVar5 == 0x22)" (parenthesized_expression "(bVar5 == 0x27)" ( (binary_expression "bVar5 == 0x27" identifier == number_literal) )) || (parenthesized_expression "(bVar5 == 0x22)" ( (binary_expression "bVar5 == 0x22" identifier == number_literal) ))) )) (compound_statement "{\n      __src = __src + 1;\n    }" { (expression_statement "__src = __src + 1;" (assignment_expression "__src = __src + 1" identifier = (binary_expression "__src + 1" identifier + number_literal)) ;) })) (expression_statement "pbVar4 = param_1 + (sVar2 - 1);" (assignment_expression "pbVar4 = param_1 + (sVar2 - 1)" identifier = (binary_expression "param_1 + (sVar2 - 1)" identifier + (parenthesized_expression "(sVar2 - 1)" ( (binary_expression "sVar2 - 1" identifier - number_literal) )))) ;) (expression_statement "bVar5 = *pbVar4;" (assignment_expression "bVar5 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (if_statement "if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }" if (parenthesized_expression "((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0)" ( (binary_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" * (cast_expression "(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + (uint)bVar5 * 2 + 1)" ( (binary_expression "(int)puVar1 + (uint)bVar5 * 2 + 1" (binary_expression "(int)puVar1 + (uint)bVar5 * 2" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }" { (labeled_statement "LAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }" statement_identifier : (if_statement "if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }" if (parenthesized_expression "((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22))))" ( (binary_expression "(__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))" (parenthesized_expression "(__src < pbVar4)" ( (binary_expression "__src < pbVar4" identifier < identifier) )) && (parenthesized_expression "((bVar5 == 0x27 || (bVar5 == 0x22)))" ( (parenthesized_expression "(bVar5 == 0x27 || (bVar5 == 0x22))" ( (binary_expression "bVar5 == 0x27 || (bVar5 == 0x22)" (binary_expression "bVar5 == 0x27" identifier == number_literal) || (parenthesized_expression "(bVar5 == 0x22)" ( (binary_expression "bVar5 == 0x22" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n        pbVar4 = pbVar4 + -1;\n      }" { (expression_statement "pbVar4 = pbVar4 + -1;" (assignment_expression "pbVar4 = pbVar4 + -1" identifier = (binary_expression "pbVar4 + -1" identifier + number_literal)) ;) }))) }) (else_clause "else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }" else (if_statement "if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }" if (parenthesized_expression "(__src < pbVar4)" ( (binary_expression "__src < pbVar4" identifier < identifier) )) (compound_statement "{\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }" { (do_statement "do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);" do (compound_statement "{\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      }" { (expression_statement "pbVar4 = pbVar4 + -1;" (assignment_expression "pbVar4 = pbVar4 + -1" identifier = (binary_expression "pbVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pbVar4;" (assignment_expression "bVar5 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (if_statement "if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;" if (parenthesized_expression "((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0)" ( (binary_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" * (cast_expression "(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + (uint)bVar5 * 2 + 1)" ( (binary_expression "(int)puVar1 + (uint)bVar5 * 2 + 1" (binary_expression "(int)puVar1 + (uint)bVar5 * 2" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0019f043;" goto statement_identifier ;)) }) while (parenthesized_expression "(__src != pbVar4)" ( (binary_expression "__src != pbVar4" identifier != identifier) )) ;) })))) (expression_statement "memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));" (call_expression "memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)))" identifier (argument_list "(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)))" ( identifier , identifier , (cast_expression "(size_t)(pbVar4 + (1 - (int)__src))" ( (type_descriptor "size_t" primitive_type) ) (parenthesized_expression "(pbVar4 + (1 - (int)__src))" ( (binary_expression "pbVar4 + (1 - (int)__src)" identifier + (parenthesized_expression "(1 - (int)__src)" ( (binary_expression "1 - (int)__src" number_literal - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) ))) ;) (expression_statement "param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;" (assignment_expression "param_1[(int)(pbVar4 + (1 - (int)__src))] = 0" (subscript_expression "param_1[(int)(pbVar4 + (1 - (int)__src))]" identifier [ (cast_expression "(int)(pbVar4 + (1 - (int)__src))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar4 + (1 - (int)__src))" ( (binary_expression "pbVar4 + (1 - (int)__src)" identifier + (parenthesized_expression "(1 - (int)__src)" ( (binary_expression "1 - (int)__src" number_literal - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) ]) = number_literal) ;) (expression_statement "bVar5 = *param_1;" (assignment_expression "bVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (while_statement "while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }" while (parenthesized_expression "(bVar5 != 0)" ( (binary_expression "bVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }" { (if_statement "if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }" if (parenthesized_expression "(bVar5 == 10)" ( (binary_expression "bVar5 == 10" identifier == number_literal) )) (compound_statement "{\n        *param_1 = 0x20;\n      }" { (expression_statement "*param_1 = 0x20;" (assignment_expression "*param_1 = 0x20" (pointer_expression "*param_1" * identifier) = number_literal) ;) })) (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 "bVar5 = *param_1;" (assignment_expression "bVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid StripString(char *message)\n\n{\n  char cVar1;\n  ushort *puVar2;\n  size_t sVar3;\n  ushort **ppuVar4;\n  byte *pbVar5;\n  byte bVar6;\n  byte *__src;\n  \n  if (message == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }\n  bVar6 = *message;\n  if (bVar6 != 0) {\n    sVar3 = strlen(message);\n    ppuVar4 = __ctype_b_loc();\n    puVar2 = *ppuVar4;\n    __src = (byte *)message;\n    while ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar6 = *__src;\n    }\n    if ((bVar6 == 0x27) || (bVar6 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar5 = (byte *)(message + (sVar3 - 1));\n    bVar6 = *pbVar5;\n    if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar5) && ((bVar6 == 0x27 || (bVar6 == 0x22)))) {\n        pbVar5 = pbVar5 + -1;\n      }\n    }\n    else if (__src < pbVar5) {\n      do {\n        pbVar5 = pbVar5 + -1;\n        bVar6 = *pbVar5;\n        if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar5);\n    }\n    memmove(message,__src,(size_t)(pbVar5 + (1 - (int)__src)));\n    message[(int)(pbVar5 + (1 - (int)__src))] = '\0';\n    cVar1 = *message;\n    while (cVar1 != '\0') {\n      if (cVar1 == '\n') {\n        *message = ' ';\n      }\n      message = message + 1;\n      cVar1 = *message;\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void StripString(char *message)\n\n{\n  char cVar1;\n  ushort *puVar2;\n  size_t sVar3;\n  ushort **ppuVar4;\n  byte *pbVar5;\n  byte bVar6;\n  byte *__src;\n  \n  if (message == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }\n  bVar6 = *message;\n  if (bVar6 != 0) {\n    sVar3 = strlen(message);\n    ppuVar4 = __ctype_b_loc();\n    puVar2 = *ppuVar4;\n    __src = (byte *)message;\n    while ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar6 = *__src;\n    }\n    if ((bVar6 == 0x27) || (bVar6 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar5 = (byte *)(message + (sVar3 - 1));\n    bVar6 = *pbVar5;\n    if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar5) && ((bVar6 == 0x27 || (bVar6 == 0x22)))) {\n        pbVar5 = pbVar5 + -1;\n      }\n    }\n    else if (__src < pbVar5) {\n      do {\n        pbVar5 = pbVar5 + -1;\n        bVar6 = *pbVar5;\n        if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar5);\n    }\n    memmove(message,__src,(size_t)(pbVar5 + (1 - (int)__src)));\n    message[(int)(pbVar5 + (1 - (int)__src))] = '\0';\n    cVar1 = *message;\n    while (cVar1 != '\0') {\n      if (cVar1 == '\n') {\n        *message = ' ';\n      }\n      message = message + 1;\n      cVar1 = *message;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "StripString(char *message)" identifier (parameter_list "(char *message)" ( (parameter_declaration "char *message" primitive_type (pointer_declarator "*message" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  ushort *puVar2;\n  size_t sVar3;\n  ushort **ppuVar4;\n  byte *pbVar5;\n  byte bVar6;\n  byte *__src;\n  \n  if (message == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }\n  bVar6 = *message;\n  if (bVar6 != 0) {\n    sVar3 = strlen(message);\n    ppuVar4 = __ctype_b_loc();\n    puVar2 = *ppuVar4;\n    __src = (byte *)message;\n    while ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar6 = *__src;\n    }\n    if ((bVar6 == 0x27) || (bVar6 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar5 = (byte *)(message + (sVar3 - 1));\n    bVar6 = *pbVar5;\n    if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar5) && ((bVar6 == 0x27 || (bVar6 == 0x22)))) {\n        pbVar5 = pbVar5 + -1;\n      }\n    }\n    else if (__src < pbVar5) {\n      do {\n        pbVar5 = pbVar5 + -1;\n        bVar6 = *pbVar5;\n        if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar5);\n    }\n    memmove(message,__src,(size_t)(pbVar5 + (1 - (int)__src)));\n    message[(int)(pbVar5 + (1 - (int)__src))] = '\0';\n    cVar1 = *message;\n    while (cVar1 != '\0') {\n      if (cVar1 == '\n') {\n        *message = ' ';\n      }\n      message = message + 1;\n      cVar1 = *message;\n    }\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "ushort *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "ushort **ppuVar4;" type_identifier (pointer_declarator "**ppuVar4" * (pointer_declarator "*ppuVar4" * identifier)) ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte bVar6;" type_identifier identifier ;) (declaration "byte *__src;" type_identifier (pointer_declarator "*__src" * identifier) ;) (if_statement "if (message == (char *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }" if (parenthesized_expression "(message == (char *)0x0)" ( (binary_expression "message == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }" { comment (expression_statement "__assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");" (call_expression "__assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString")" identifier (argument_list "("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString")" ( (string_literal ""message != (char *) NULL"" " string_content ") , (string_literal ""MagickCore/string.c"" " string_content ") , number_literal , (string_literal ""StripString"" " string_content ") ))) ;) })) (expression_statement "bVar6 = *message;" (assignment_expression "bVar6 = *message" identifier = (pointer_expression "*message" * identifier)) ;) (if_statement "if (bVar6 != 0) {\n    sVar3 = strlen(message);\n    ppuVar4 = __ctype_b_loc();\n    puVar2 = *ppuVar4;\n    __src = (byte *)message;\n    while ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar6 = *__src;\n    }\n    if ((bVar6 == 0x27) || (bVar6 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar5 = (byte *)(message + (sVar3 - 1));\n    bVar6 = *pbVar5;\n    if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar5) && ((bVar6 == 0x27 || (bVar6 == 0x22)))) {\n        pbVar5 = pbVar5 + -1;\n      }\n    }\n    else if (__src < pbVar5) {\n      do {\n        pbVar5 = pbVar5 + -1;\n        bVar6 = *pbVar5;\n        if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar5);\n    }\n    memmove(message,__src,(size_t)(pbVar5 + (1 - (int)__src)));\n    message[(int)(pbVar5 + (1 - (int)__src))] = '\0';\n    cVar1 = *message;\n    while (cVar1 != '\0') {\n      if (cVar1 == '\n') {\n        *message = ' ';\n      }\n      message = message + 1;\n      cVar1 = *message;\n    }\n  }" if (parenthesized_expression "(bVar6 != 0)" ( (binary_expression "bVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    sVar3 = strlen(message);\n    ppuVar4 = __ctype_b_loc();\n    puVar2 = *ppuVar4;\n    __src = (byte *)message;\n    while ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar6 = *__src;\n    }\n    if ((bVar6 == 0x27) || (bVar6 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar5 = (byte *)(message + (sVar3 - 1));\n    bVar6 = *pbVar5;\n    if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar5) && ((bVar6 == 0x27 || (bVar6 == 0x22)))) {\n        pbVar5 = pbVar5 + -1;\n      }\n    }\n    else if (__src < pbVar5) {\n      do {\n        pbVar5 = pbVar5 + -1;\n        bVar6 = *pbVar5;\n        if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar5);\n    }\n    memmove(message,__src,(size_t)(pbVar5 + (1 - (int)__src)));\n    message[(int)(pbVar5 + (1 - (int)__src))] = '\0';\n    cVar1 = *message;\n    while (cVar1 != '\0') {\n      if (cVar1 == '\n') {\n        *message = ' ';\n      }\n      message = message + 1;\n      cVar1 = *message;\n    }\n  }" { (expression_statement "sVar3 = strlen(message);" (assignment_expression "sVar3 = strlen(message)" identifier = (call_expression "strlen(message)" identifier (argument_list "(message)" ( identifier )))) ;) (expression_statement "ppuVar4 = __ctype_b_loc();" (assignment_expression "ppuVar4 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar2 = *ppuVar4;" (assignment_expression "puVar2 = *ppuVar4" identifier = (pointer_expression "*ppuVar4" * identifier)) ;) (expression_statement "__src = (byte *)message;" (assignment_expression "__src = (byte *)message" identifier = (cast_expression "(byte *)message" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (while_statement "while ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar6 = *__src;\n    }" while (parenthesized_expression "((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) != 0)" ( (binary_expression "(*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) != 0" (parenthesized_expression "(*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1)" * (cast_expression "(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + (uint)bVar6 * 2 + 1)" ( (binary_expression "(int)puVar2 + (uint)bVar6 * 2 + 1" (binary_expression "(int)puVar2 + (uint)bVar6 * 2" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar6 * 2" (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      __src = __src + 1;\n      bVar6 = *__src;\n    }" { (expression_statement "__src = __src + 1;" (assignment_expression "__src = __src + 1" identifier = (binary_expression "__src + 1" identifier + number_literal)) ;) (expression_statement "bVar6 = *__src;" (assignment_expression "bVar6 = *__src" identifier = (pointer_expression "*__src" * identifier)) ;) })) (if_statement "if ((bVar6 == 0x27) || (bVar6 == 0x22)) {\n      __src = __src + 1;\n    }" if (parenthesized_expression "((bVar6 == 0x27) || (bVar6 == 0x22))" ( (binary_expression "(bVar6 == 0x27) || (bVar6 == 0x22)" (parenthesized_expression "(bVar6 == 0x27)" ( (binary_expression "bVar6 == 0x27" identifier == number_literal) )) || (parenthesized_expression "(bVar6 == 0x22)" ( (binary_expression "bVar6 == 0x22" identifier == number_literal) ))) )) (compound_statement "{\n      __src = __src + 1;\n    }" { (expression_statement "__src = __src + 1;" (assignment_expression "__src = __src + 1" identifier = (binary_expression "__src + 1" identifier + number_literal)) ;) })) (expression_statement "pbVar5 = (byte *)(message + (sVar3 - 1));" (assignment_expression "pbVar5 = (byte *)(message + (sVar3 - 1))" identifier = (cast_expression "(byte *)(message + (sVar3 - 1))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(message + (sVar3 - 1))" ( (binary_expression "message + (sVar3 - 1)" identifier + (parenthesized_expression "(sVar3 - 1)" ( (binary_expression "sVar3 - 1" identifier - number_literal) ))) )))) ;) (expression_statement "bVar6 = *pbVar5;" (assignment_expression "bVar6 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (if_statement "if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar5) && ((bVar6 == 0x27 || (bVar6 == 0x22)))) {\n        pbVar5 = pbVar5 + -1;\n      }\n    }\n    else if (__src < pbVar5) {\n      do {\n        pbVar5 = pbVar5 + -1;\n        bVar6 = *pbVar5;\n        if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar5);\n    }" if (parenthesized_expression "((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0)" ( (binary_expression "(*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1)" * (cast_expression "(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + (uint)bVar6 * 2 + 1)" ( (binary_expression "(int)puVar2 + (uint)bVar6 * 2 + 1" (binary_expression "(int)puVar2 + (uint)bVar6 * 2" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar6 * 2" (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_0019f043:\n      if ((__src < pbVar5) && ((bVar6 == 0x27 || (bVar6 == 0x22)))) {\n        pbVar5 = pbVar5 + -1;\n      }\n    }" { (labeled_statement "LAB_0019f043:\n      if ((__src < pbVar5) && ((bVar6 == 0x27 || (bVar6 == 0x22)))) {\n        pbVar5 = pbVar5 + -1;\n      }" statement_identifier : (if_statement "if ((__src < pbVar5) && ((bVar6 == 0x27 || (bVar6 == 0x22)))) {\n        pbVar5 = pbVar5 + -1;\n      }" if (parenthesized_expression "((__src < pbVar5) && ((bVar6 == 0x27 || (bVar6 == 0x22))))" ( (binary_expression "(__src < pbVar5) && ((bVar6 == 0x27 || (bVar6 == 0x22)))" (parenthesized_expression "(__src < pbVar5)" ( (binary_expression "__src < pbVar5" identifier < identifier) )) && (parenthesized_expression "((bVar6 == 0x27 || (bVar6 == 0x22)))" ( (parenthesized_expression "(bVar6 == 0x27 || (bVar6 == 0x22))" ( (binary_expression "bVar6 == 0x27 || (bVar6 == 0x22)" (binary_expression "bVar6 == 0x27" identifier == number_literal) || (parenthesized_expression "(bVar6 == 0x22)" ( (binary_expression "bVar6 == 0x22" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n        pbVar5 = pbVar5 + -1;\n      }" { (expression_statement "pbVar5 = pbVar5 + -1;" (assignment_expression "pbVar5 = pbVar5 + -1" identifier = (binary_expression "pbVar5 + -1" identifier + number_literal)) ;) }))) }) (else_clause "else if (__src < pbVar5) {\n      do {\n        pbVar5 = pbVar5 + -1;\n        bVar6 = *pbVar5;\n        if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar5);\n    }" else (if_statement "if (__src < pbVar5) {\n      do {\n        pbVar5 = pbVar5 + -1;\n        bVar6 = *pbVar5;\n        if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar5);\n    }" if (parenthesized_expression "(__src < pbVar5)" ( (binary_expression "__src < pbVar5" identifier < identifier) )) (compound_statement "{\n      do {\n        pbVar5 = pbVar5 + -1;\n        bVar6 = *pbVar5;\n        if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar5);\n    }" { (do_statement "do {\n        pbVar5 = pbVar5 + -1;\n        bVar6 = *pbVar5;\n        if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar5);" do (compound_statement "{\n        pbVar5 = pbVar5 + -1;\n        bVar6 = *pbVar5;\n        if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      }" { (expression_statement "pbVar5 = pbVar5 + -1;" (assignment_expression "pbVar5 = pbVar5 + -1" identifier = (binary_expression "pbVar5 + -1" identifier + number_literal)) ;) (expression_statement "bVar6 = *pbVar5;" (assignment_expression "bVar6 = *pbVar5" identifier = (pointer_expression "*pbVar5" * identifier)) ;) (if_statement "if ((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;" if (parenthesized_expression "((*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0)" ( (binary_expression "(*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1)" * (cast_expression "(byte *)((int)puVar2 + (uint)bVar6 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar2 + (uint)bVar6 * 2 + 1)" ( (binary_expression "(int)puVar2 + (uint)bVar6 * 2 + 1" (binary_expression "(int)puVar2 + (uint)bVar6 * 2" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar6 * 2" (cast_expression "(uint)bVar6" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0019f043;" goto statement_identifier ;)) }) while (parenthesized_expression "(__src != pbVar5)" ( (binary_expression "__src != pbVar5" identifier != identifier) )) ;) })))) (expression_statement "memmove(message,__src,(size_t)(pbVar5 + (1 - (int)__src)));" (call_expression "memmove(message,__src,(size_t)(pbVar5 + (1 - (int)__src)))" identifier (argument_list "(message,__src,(size_t)(pbVar5 + (1 - (int)__src)))" ( identifier , identifier , (cast_expression "(size_t)(pbVar5 + (1 - (int)__src))" ( (type_descriptor "size_t" primitive_type) ) (parenthesized_expression "(pbVar5 + (1 - (int)__src))" ( (binary_expression "pbVar5 + (1 - (int)__src)" identifier + (parenthesized_expression "(1 - (int)__src)" ( (binary_expression "1 - (int)__src" number_literal - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) ))) ;) (expression_statement "message[(int)(pbVar5 + (1 - (int)__src))] = '\0';" (assignment_expression "message[(int)(pbVar5 + (1 - (int)__src))] = '\0'" (subscript_expression "message[(int)(pbVar5 + (1 - (int)__src))]" identifier [ (cast_expression "(int)(pbVar5 + (1 - (int)__src))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar5 + (1 - (int)__src))" ( (binary_expression "pbVar5 + (1 - (int)__src)" identifier + (parenthesized_expression "(1 - (int)__src)" ( (binary_expression "1 - (int)__src" number_literal - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "cVar1 = *message;" (assignment_expression "cVar1 = *message" identifier = (pointer_expression "*message" * identifier)) ;) (while_statement "while (cVar1 != '\0') {\n      if (cVar1 == '\n') {\n        *message = ' ';\n      }\n      message = message + 1;\n      cVar1 = *message;\n    }" while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (cVar1 == '\n') {\n        *message = ' ';\n      }\n      message = message + 1;\n      cVar1 = *message;\n    }" { (if_statement "if (cVar1 == '\n') {\n        *message = ' ';\n      }" if (parenthesized_expression "(cVar1 == '\n')" ( (binary_expression "cVar1 == '\n'" identifier == (char_literal "'\n'" ' escape_sequence ')) )) (compound_statement "{\n        *message = ' ';\n      }" { (expression_statement "*message = ' ';" (assignment_expression "*message = ' '" (pointer_expression "*message" * identifier) = (char_literal "' '" ' character ')) ;) })) (expression_statement "message = message + 1;" (assignment_expression "message = message + 1" identifier = (binary_expression "message + 1" identifier + number_literal)) ;) (expression_statement "cVar1 = *message;" (assignment_expression "cVar1 = *message" identifier = (pointer_expression "*message" * identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void StripString(byte *param_1)\n\n{\n  ushort *puVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  byte *pbVar4;\n  byte bVar5;\n  byte *__src;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }\n  bVar5 = *param_1;\n  if (bVar5 != 0) {\n    sVar2 = strlen((char *)param_1);\n    ppuVar3 = __ctype_b_loc();\n    puVar1 = *ppuVar3;\n    __src = param_1;\n    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }\n    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar4 = param_1 + (sVar2 - 1);\n    bVar5 = *pbVar4;\n    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }\n    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));\n    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;\n    bVar5 = *param_1;\n    while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }\n  }\n  return;\n}\n\n" (function_definition "void StripString(byte *param_1)\n\n{\n  ushort *puVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  byte *pbVar4;\n  byte bVar5;\n  byte *__src;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }\n  bVar5 = *param_1;\n  if (bVar5 != 0) {\n    sVar2 = strlen((char *)param_1);\n    ppuVar3 = __ctype_b_loc();\n    puVar1 = *ppuVar3;\n    __src = param_1;\n    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }\n    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar4 = param_1 + (sVar2 - 1);\n    bVar5 = *pbVar4;\n    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }\n    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));\n    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;\n    bVar5 = *param_1;\n    while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "StripString(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ushort *puVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  byte *pbVar4;\n  byte bVar5;\n  byte *__src;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }\n  bVar5 = *param_1;\n  if (bVar5 != 0) {\n    sVar2 = strlen((char *)param_1);\n    ppuVar3 = __ctype_b_loc();\n    puVar1 = *ppuVar3;\n    __src = param_1;\n    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }\n    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar4 = param_1 + (sVar2 - 1);\n    bVar5 = *pbVar4;\n    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }\n    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));\n    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;\n    bVar5 = *param_1;\n    while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }\n  }\n  return;\n}" { (declaration "ushort *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "ushort **ppuVar3;" type_identifier (pointer_declarator "**ppuVar3" * (pointer_declarator "*ppuVar3" * identifier)) ;) (declaration "byte *pbVar4;" type_identifier (pointer_declarator "*pbVar4" * identifier) ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "byte *__src;" type_identifier (pointer_declarator "*__src" * identifier) ;) (if_statement "if (param_1 == (byte *)0x0) {\n                    \n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }" if (parenthesized_expression "(param_1 == (byte *)0x0)" ( (binary_expression "param_1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }" { (expression_statement "__assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");" (call_expression "__assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString")" identifier (argument_list "("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString")" ( (string_literal ""message != (char *) NULL"" " string_content ") , (string_literal ""MagickCore/string.c"" " string_content ") , number_literal , (string_literal ""StripString"" " string_content ") ))) ;) })) (expression_statement "bVar5 = *param_1;" (assignment_expression "bVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (bVar5 != 0) {\n    sVar2 = strlen((char *)param_1);\n    ppuVar3 = __ctype_b_loc();\n    puVar1 = *ppuVar3;\n    __src = param_1;\n    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }\n    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar4 = param_1 + (sVar2 - 1);\n    bVar5 = *pbVar4;\n    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }\n    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));\n    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;\n    bVar5 = *param_1;\n    while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }\n  }" if (parenthesized_expression "(bVar5 != 0)" ( (binary_expression "bVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    sVar2 = strlen((char *)param_1);\n    ppuVar3 = __ctype_b_loc();\n    puVar1 = *ppuVar3;\n    __src = param_1;\n    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }\n    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar4 = param_1 + (sVar2 - 1);\n    bVar5 = *pbVar4;\n    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }\n    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));\n    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;\n    bVar5 = *param_1;\n    while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }\n  }" { (expression_statement "sVar2 = strlen((char *)param_1);" (assignment_expression "sVar2 = strlen((char *)param_1)" identifier = (call_expression "strlen((char *)param_1)" identifier (argument_list "((char *)param_1)" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar1 = *ppuVar3;" (assignment_expression "puVar1 = *ppuVar3" identifier = (pointer_expression "*ppuVar3" * identifier)) ;) (expression_statement "__src = param_1;" (assignment_expression "__src = param_1" identifier = identifier) ;) (while_statement "while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }" while (parenthesized_expression "((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0)" ( (binary_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0" (parenthesized_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" * (cast_expression "(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + (uint)bVar5 * 2 + 1)" ( (binary_expression "(int)puVar1 + (uint)bVar5 * 2 + 1" (binary_expression "(int)puVar1 + (uint)bVar5 * 2" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      __src = __src + 1;\n      bVar5 = *__src;\n    }" { (expression_statement "__src = __src + 1;" (assignment_expression "__src = __src + 1" identifier = (binary_expression "__src + 1" identifier + number_literal)) ;) (expression_statement "bVar5 = *__src;" (assignment_expression "bVar5 = *__src" identifier = (pointer_expression "*__src" * identifier)) ;) })) (if_statement "if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }" if (parenthesized_expression "((bVar5 == 0x27) || (bVar5 == 0x22))" ( (binary_expression "(bVar5 == 0x27) || (bVar5 == 0x22)" (parenthesized_expression "(bVar5 == 0x27)" ( (binary_expression "bVar5 == 0x27" identifier == number_literal) )) || (parenthesized_expression "(bVar5 == 0x22)" ( (binary_expression "bVar5 == 0x22" identifier == number_literal) ))) )) (compound_statement "{\n      __src = __src + 1;\n    }" { (expression_statement "__src = __src + 1;" (assignment_expression "__src = __src + 1" identifier = (binary_expression "__src + 1" identifier + number_literal)) ;) })) (expression_statement "pbVar4 = param_1 + (sVar2 - 1);" (assignment_expression "pbVar4 = param_1 + (sVar2 - 1)" identifier = (binary_expression "param_1 + (sVar2 - 1)" identifier + (parenthesized_expression "(sVar2 - 1)" ( (binary_expression "sVar2 - 1" identifier - number_literal) )))) ;) (expression_statement "bVar5 = *pbVar4;" (assignment_expression "bVar5 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (if_statement "if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }" if (parenthesized_expression "((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0)" ( (binary_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" * (cast_expression "(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + (uint)bVar5 * 2 + 1)" ( (binary_expression "(int)puVar1 + (uint)bVar5 * 2 + 1" (binary_expression "(int)puVar1 + (uint)bVar5 * 2" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }" { (labeled_statement "LAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }" statement_identifier : (if_statement "if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }" if (parenthesized_expression "((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22))))" ( (binary_expression "(__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))" (parenthesized_expression "(__src < pbVar4)" ( (binary_expression "__src < pbVar4" identifier < identifier) )) && (parenthesized_expression "((bVar5 == 0x27 || (bVar5 == 0x22)))" ( (parenthesized_expression "(bVar5 == 0x27 || (bVar5 == 0x22))" ( (binary_expression "bVar5 == 0x27 || (bVar5 == 0x22)" (binary_expression "bVar5 == 0x27" identifier == number_literal) || (parenthesized_expression "(bVar5 == 0x22)" ( (binary_expression "bVar5 == 0x22" identifier == number_literal) ))) )) ))) )) (compound_statement "{\n        pbVar4 = pbVar4 + -1;\n      }" { (expression_statement "pbVar4 = pbVar4 + -1;" (assignment_expression "pbVar4 = pbVar4 + -1" identifier = (binary_expression "pbVar4 + -1" identifier + number_literal)) ;) }))) }) (else_clause "else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }" else (if_statement "if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }" if (parenthesized_expression "(__src < pbVar4)" ( (binary_expression "__src < pbVar4" identifier < identifier) )) (compound_statement "{\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }" { (do_statement "do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);" do (compound_statement "{\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      }" { (expression_statement "pbVar4 = pbVar4 + -1;" (assignment_expression "pbVar4 = pbVar4 + -1" identifier = (binary_expression "pbVar4 + -1" identifier + number_literal)) ;) (expression_statement "bVar5 = *pbVar4;" (assignment_expression "bVar5 = *pbVar4" identifier = (pointer_expression "*pbVar4" * identifier)) ;) (if_statement "if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;" if (parenthesized_expression "((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0)" ( (binary_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20)" ( (binary_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" * (cast_expression "(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar1 + (uint)bVar5 * 2 + 1)" ( (binary_expression "(int)puVar1 + (uint)bVar5 * 2 + 1" (binary_expression "(int)puVar1 + (uint)bVar5 * 2" (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0019f043;" goto statement_identifier ;)) }) while (parenthesized_expression "(__src != pbVar4)" ( (binary_expression "__src != pbVar4" identifier != identifier) )) ;) })))) (expression_statement "memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));" (call_expression "memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)))" identifier (argument_list "(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)))" ( identifier , identifier , (cast_expression "(size_t)(pbVar4 + (1 - (int)__src))" ( (type_descriptor "size_t" primitive_type) ) (parenthesized_expression "(pbVar4 + (1 - (int)__src))" ( (binary_expression "pbVar4 + (1 - (int)__src)" identifier + (parenthesized_expression "(1 - (int)__src)" ( (binary_expression "1 - (int)__src" number_literal - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) ))) ;) (expression_statement "param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;" (assignment_expression "param_1[(int)(pbVar4 + (1 - (int)__src))] = 0" (subscript_expression "param_1[(int)(pbVar4 + (1 - (int)__src))]" identifier [ (cast_expression "(int)(pbVar4 + (1 - (int)__src))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar4 + (1 - (int)__src))" ( (binary_expression "pbVar4 + (1 - (int)__src)" identifier + (parenthesized_expression "(1 - (int)__src)" ( (binary_expression "1 - (int)__src" number_literal - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) ]) = number_literal) ;) (expression_statement "bVar5 = *param_1;" (assignment_expression "bVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (while_statement "while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }" while (parenthesized_expression "(bVar5 != 0)" ( (binary_expression "bVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }" { (if_statement "if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }" if (parenthesized_expression "(bVar5 == 10)" ( (binary_expression "bVar5 == 10" identifier == number_literal) )) (compound_statement "{\n        *param_1 = 0x20;\n      }" { (expression_statement "*param_1 = 0x20;" (assignment_expression "*param_1 = 0x20" (pointer_expression "*param_1" * identifier) = number_literal) ;) })) (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 "bVar5 = *param_1;" (assignment_expression "bVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (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) ) IDENT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * 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) ) IDENT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * 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) ) IDENT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) )))) & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })))) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ))) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ))) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) })) (return_statement return ;) })))
(function_definition "void StripString(byte *param_1)\n\n{\n  ushort *puVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  byte *pbVar4;\n  byte bVar5;\n  byte *__src;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }\n  bVar5 = *param_1;\n  if (bVar5 != 0) {\n    sVar2 = strlen((char *)param_1);\n    ppuVar3 = __ctype_b_loc();\n    puVar1 = *ppuVar3;\n    __src = param_1;\n    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }\n    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar4 = param_1 + (sVar2 - 1);\n    bVar5 = *pbVar4;\n    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }\n    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));\n    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;\n    bVar5 = *param_1;\n    while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "StripString(byte *param_1)" (identifier "StripString") (parameter_list "(byte *param_1)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  ushort *puVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  byte *pbVar4;\n  byte bVar5;\n  byte *__src;\n  \n  if (param_1 == (byte *)0x0) {\n                    \n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }\n  bVar5 = *param_1;\n  if (bVar5 != 0) {\n    sVar2 = strlen((char *)param_1);\n    ppuVar3 = __ctype_b_loc();\n    puVar1 = *ppuVar3;\n    __src = param_1;\n    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }\n    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar4 = param_1 + (sVar2 - 1);\n    bVar5 = *pbVar4;\n    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }\n    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));\n    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;\n    bVar5 = *param_1;\n    while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }\n  }\n  return;\n}" ({ "{") (declaration "ushort *puVar1;" (type_identifier "ushort") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "ushort **ppuVar3;" (type_identifier "ushort") (pointer_declarator "**ppuVar3" (* "*") (pointer_declarator "*ppuVar3" (* "*") (identifier "ppuVar3"))) (; ";")) (declaration "byte *pbVar4;" (type_identifier "byte") (pointer_declarator "*pbVar4" (* "*") (identifier "pbVar4")) (; ";")) (declaration "byte bVar5;" (type_identifier "byte") (identifier "bVar5") (; ";")) (declaration "byte *__src;" (type_identifier "byte") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (if_statement "if (param_1 == (byte *)0x0) {\n                    \n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }" (if "if") (parenthesized_expression "(param_1 == (byte *)0x0)" (( "(") (binary_expression "param_1 == (byte *)0x0" (identifier "param_1") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");\n  }" ({ "{") (expression_statement "__assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");" (call_expression "__assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString")" (identifier "__assert_fail") (argument_list "("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString")" (( "(") (string_literal ""message != (char *) NULL"" (" """) (string_content "message != (char *) NULL") (" """)) (, ",") (string_literal ""MagickCore/string.c"" (" """) (string_content "MagickCore/string.c") (" """)) (, ",") (number_literal "0x9ab") (, ",") (string_literal ""StripString"" (" """) (string_content "StripString") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "bVar5 = *param_1;" (assignment_expression "bVar5 = *param_1" (identifier "bVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (bVar5 != 0) {\n    sVar2 = strlen((char *)param_1);\n    ppuVar3 = __ctype_b_loc();\n    puVar1 = *ppuVar3;\n    __src = param_1;\n    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }\n    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar4 = param_1 + (sVar2 - 1);\n    bVar5 = *pbVar4;\n    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }\n    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));\n    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;\n    bVar5 = *param_1;\n    while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }\n  }" (if "if") (parenthesized_expression "(bVar5 != 0)" (( "(") (binary_expression "bVar5 != 0" (identifier "bVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    sVar2 = strlen((char *)param_1);\n    ppuVar3 = __ctype_b_loc();\n    puVar1 = *ppuVar3;\n    __src = param_1;\n    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }\n    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }\n    pbVar4 = param_1 + (sVar2 - 1);\n    bVar5 = *pbVar4;\n    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }\n    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));\n    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;\n    bVar5 = *param_1;\n    while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }\n  }" ({ "{") (expression_statement "sVar2 = strlen((char *)param_1);" (assignment_expression "sVar2 = strlen((char *)param_1)" (identifier "sVar2") (= "=") (call_expression "strlen((char *)param_1)" (identifier "strlen") (argument_list "((char *)param_1)" (( "(") (cast_expression "(char *)param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" (identifier "ppuVar3") (= "=") (call_expression "__ctype_b_loc()" (identifier "__ctype_b_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar1 = *ppuVar3;" (assignment_expression "puVar1 = *ppuVar3" (identifier "puVar1") (= "=") (pointer_expression "*ppuVar3" (* "*") (identifier "ppuVar3"))) (; ";")) (expression_statement "__src = param_1;" (assignment_expression "__src = param_1" (identifier "__src") (= "=") (identifier "param_1")) (; ";")) (while_statement "while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {\n      __src = __src + 1;\n      bVar5 = *__src;\n    }" (while "while") (parenthesized_expression "((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0)" (( "(") (binary_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0" (parenthesized_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20)" (( "(") (binary_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + (uint)bVar5 * 2 + 1)" (( "(") (binary_expression "(int)puVar1 + (uint)bVar5 * 2 + 1" (binary_expression "(int)puVar1 + (uint)bVar5 * 2" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar5")) (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      __src = __src + 1;\n      bVar5 = *__src;\n    }" ({ "{") (expression_statement "__src = __src + 1;" (assignment_expression "__src = __src + 1" (identifier "__src") (= "=") (binary_expression "__src + 1" (identifier "__src") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar5 = *__src;" (assignment_expression "bVar5 = *__src" (identifier "bVar5") (= "=") (pointer_expression "*__src" (* "*") (identifier "__src"))) (; ";")) (} "}"))) (if_statement "if ((bVar5 == 0x27) || (bVar5 == 0x22)) {\n      __src = __src + 1;\n    }" (if "if") (parenthesized_expression "((bVar5 == 0x27) || (bVar5 == 0x22))" (( "(") (binary_expression "(bVar5 == 0x27) || (bVar5 == 0x22)" (parenthesized_expression "(bVar5 == 0x27)" (( "(") (binary_expression "bVar5 == 0x27" (identifier "bVar5") (== "==") (number_literal "0x27")) () ")")) (|| "||") (parenthesized_expression "(bVar5 == 0x22)" (( "(") (binary_expression "bVar5 == 0x22" (identifier "bVar5") (== "==") (number_literal "0x22")) () ")"))) () ")")) (compound_statement "{\n      __src = __src + 1;\n    }" ({ "{") (expression_statement "__src = __src + 1;" (assignment_expression "__src = __src + 1" (identifier "__src") (= "=") (binary_expression "__src + 1" (identifier "__src") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "pbVar4 = param_1 + (sVar2 - 1);" (assignment_expression "pbVar4 = param_1 + (sVar2 - 1)" (identifier "pbVar4") (= "=") (binary_expression "param_1 + (sVar2 - 1)" (identifier "param_1") (+ "+") (parenthesized_expression "(sVar2 - 1)" (( "(") (binary_expression "sVar2 - 1" (identifier "sVar2") (- "-") (number_literal "1")) () ")")))) (; ";")) (expression_statement "bVar5 = *pbVar4;" (assignment_expression "bVar5 = *pbVar4" (identifier "bVar5") (= "=") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4"))) (; ";")) (if_statement "if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }\n    else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }" (if "if") (parenthesized_expression "((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20)" (( "(") (binary_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + (uint)bVar5 * 2 + 1)" (( "(") (binary_expression "(int)puVar1 + (uint)bVar5 * 2 + 1" (binary_expression "(int)puVar1 + (uint)bVar5 * 2" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar5")) (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }\n    }" ({ "{") (labeled_statement "LAB_0019f043:\n      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }" (statement_identifier "LAB_0019f043") (: ":") (if_statement "if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {\n        pbVar4 = pbVar4 + -1;\n      }" (if "if") (parenthesized_expression "((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22))))" (( "(") (binary_expression "(__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))" (parenthesized_expression "(__src < pbVar4)" (( "(") (binary_expression "__src < pbVar4" (identifier "__src") (< "<") (identifier "pbVar4")) () ")")) (&& "&&") (parenthesized_expression "((bVar5 == 0x27 || (bVar5 == 0x22)))" (( "(") (parenthesized_expression "(bVar5 == 0x27 || (bVar5 == 0x22))" (( "(") (binary_expression "bVar5 == 0x27 || (bVar5 == 0x22)" (binary_expression "bVar5 == 0x27" (identifier "bVar5") (== "==") (number_literal "0x27")) (|| "||") (parenthesized_expression "(bVar5 == 0x22)" (( "(") (binary_expression "bVar5 == 0x22" (identifier "bVar5") (== "==") (number_literal "0x22")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        pbVar4 = pbVar4 + -1;\n      }" ({ "{") (expression_statement "pbVar4 = pbVar4 + -1;" (assignment_expression "pbVar4 = pbVar4 + -1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + -1" (identifier "pbVar4") (+ "+") (number_literal "-1"))) (; ";")) (} "}")))) (} "}")) (else_clause "else if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }" (else "else") (if_statement "if (__src < pbVar4) {\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }" (if "if") (parenthesized_expression "(__src < pbVar4)" (( "(") (binary_expression "__src < pbVar4" (identifier "__src") (< "<") (identifier "pbVar4")) () ")")) (compound_statement "{\n      do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);\n    }" ({ "{") (do_statement "do {\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      } while (__src != pbVar4);" (do "do") (compound_statement "{\n        pbVar4 = pbVar4 + -1;\n        bVar5 = *pbVar4;\n        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;\n      }" ({ "{") (expression_statement "pbVar4 = pbVar4 + -1;" (assignment_expression "pbVar4 = pbVar4 + -1" (identifier "pbVar4") (= "=") (binary_expression "pbVar4 + -1" (identifier "pbVar4") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar5 = *pbVar4;" (assignment_expression "bVar5 = *pbVar4" (identifier "bVar5") (= "=") (pointer_expression "*pbVar4" (* "*") (identifier "pbVar4"))) (; ";")) (if_statement "if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;" (if "if") (parenthesized_expression "((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0" (parenthesized_expression "(*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20)" (( "(") (binary_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20" (pointer_expression "*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" (* "*") (cast_expression "(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar1 + (uint)bVar5 * 2 + 1)" (( "(") (binary_expression "(int)puVar1 + (uint)bVar5 * 2 + 1" (binary_expression "(int)puVar1 + (uint)bVar5 * 2" (cast_expression "(int)puVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar1")) (+ "+") (binary_expression "(uint)bVar5 * 2" (cast_expression "(uint)bVar5" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar5")) (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0019f043;" (goto "goto") (statement_identifier "LAB_0019f043") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(__src != pbVar4)" (( "(") (binary_expression "__src != pbVar4" (identifier "__src") (!= "!=") (identifier "pbVar4")) () ")")) (; ";")) (} "}"))))) (expression_statement "memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));" (call_expression "memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)))" (identifier "memmove") (argument_list "(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)))" (( "(") (identifier "param_1") (, ",") (identifier "__src") (, ",") (cast_expression "(size_t)(pbVar4 + (1 - (int)__src))" (( "(") (type_descriptor "size_t" (primitive_type "size_t")) () ")") (parenthesized_expression "(pbVar4 + (1 - (int)__src))" (( "(") (binary_expression "pbVar4 + (1 - (int)__src)" (identifier "pbVar4") (+ "+") (parenthesized_expression "(1 - (int)__src)" (( "(") (binary_expression "1 - (int)__src" (number_literal "1") (- "-") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src"))) () ")"))) () ")"))) () ")"))) (; ";")) (expression_statement "param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;" (assignment_expression "param_1[(int)(pbVar4 + (1 - (int)__src))] = 0" (subscript_expression "param_1[(int)(pbVar4 + (1 - (int)__src))]" (identifier "param_1") ([ "[") (cast_expression "(int)(pbVar4 + (1 - (int)__src))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pbVar4 + (1 - (int)__src))" (( "(") (binary_expression "pbVar4 + (1 - (int)__src)" (identifier "pbVar4") (+ "+") (parenthesized_expression "(1 - (int)__src)" (( "(") (binary_expression "1 - (int)__src" (number_literal "1") (- "-") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src"))) () ")"))) () ")"))) (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar5 = *param_1;" (assignment_expression "bVar5 = *param_1" (identifier "bVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (while_statement "while (bVar5 != 0) {\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }" (while "while") (parenthesized_expression "(bVar5 != 0)" (( "(") (binary_expression "bVar5 != 0" (identifier "bVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }\n      param_1 = param_1 + 1;\n      bVar5 = *param_1;\n    }" ({ "{") (if_statement "if (bVar5 == 10) {\n        *param_1 = 0x20;\n      }" (if "if") (parenthesized_expression "(bVar5 == 10)" (( "(") (binary_expression "bVar5 == 10" (identifier "bVar5") (== "==") (number_literal "10")) () ")")) (compound_statement "{\n        *param_1 = 0x20;\n      }" ({ "{") (expression_statement "*param_1 = 0x20;" (assignment_expression "*param_1 = 0x20" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x20")) (; ";")) (} "}"))) (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 "bVar5 = *param_1;" (assignment_expression "bVar5 = *param_1" (identifier "bVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(char *var_1)

{
  char var_10;
  type_1 *puVar2;
  size_t var_7;
  type_1 **ppuVar4;
  type_2 *var_8;
  type_2 var_3;
  type_2 *var_6;
  
  if (var_1 == (char *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("message != (char *) NULL","MagickCore/string.c",0x9ab,"StripString");
  }
  var_3 = *var_1;
  if (var_3 != 0) {
    var_7 = var_4(var_1);
    ppuVar4 = var_5();
    puVar2 = *ppuVar4;
    var_6 = (type_2 *)var_1;
    while ((*(type_2 *)((int)puVar2 + (type_3)var_3 * 2 + 1) & 0x20) != 0) {
      var_6 = var_6 + 1;
      var_3 = *var_6;
    }
    if ((var_3 == 0x27) || (var_3 == 0x22)) {
      var_6 = var_6 + 1;
    }
    var_8 = (type_2 *)(var_1 + (var_7 - 1));
    var_3 = *var_8;
    if ((*(type_2 *)((int)puVar2 + (type_3)var_3 * 2 + 1) & 0x20) == 0) {
LAB_0019f043:
      if ((var_6 < var_8) && ((var_3 == 0x27 || (var_3 == 0x22)))) {
        var_8 = var_8 + -1;
      }
    }
    else if (var_6 < var_8) {
      do {
        var_8 = var_8 + -1;
        var_3 = *var_8;
        if ((*(type_2 *)((int)puVar2 + (type_3)var_3 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;
      } while (var_6 != var_8);
    }
    var_9(var_1,var_6,(size_t)(var_8 + (1 - (int)var_6)));
    var_1[(int)(var_8 + (1 - (int)var_6))] = '\0';
    var_10 = *var_1;
    while (var_10 != '\0') {
      if (var_10 == '\n') {
        *var_1 = ' ';
      }
      var_1 = var_1 + 1;
      var_10 = *var_1;
    }
  }
  return;
}


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

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

void MASKED(byte *param_1)

{
  ushort *puVar1;
  size_t sVar2;
  ushort **ppuVar3;
  byte *pbVar4;
  byte bVar5;
  byte *__src;
  
  if (param_1 == (byte *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("message != (char *) NULL","MagickCore/string.c",0x9ab,"MASKED");
  }
  bVar5 = *param_1;
  if (bVar5 != 0) {
    sVar2 = strlen((char *)param_1);
    ppuVar3 = __ctype_b_loc();
    puVar1 = *ppuVar3;
    __src = param_1;
    while ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) != 0) {
      __src = __src + 1;
      bVar5 = *__src;
    }
    if ((bVar5 == 0x27) || (bVar5 == 0x22)) {
      __src = __src + 1;
    }
    pbVar4 = param_1 + (sVar2 - 1);
    bVar5 = *pbVar4;
    if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) {
LAB_0019f043:
      if ((__src < pbVar4) && ((bVar5 == 0x27 || (bVar5 == 0x22)))) {
        pbVar4 = pbVar4 + -1;
      }
    }
    else if (__src < pbVar4) {
      do {
        pbVar4 = pbVar4 + -1;
        bVar5 = *pbVar4;
        if ((*(byte *)((int)puVar1 + (uint)bVar5 * 2 + 1) & 0x20) == 0) goto LAB_0019f043;
      } while (__src != pbVar4);
    }
    memmove(param_1,__src,(size_t)(pbVar4 + (1 - (int)__src)));
    param_1[(int)(pbVar4 + (1 - (int)__src))] = 0;
    bVar5 = *param_1;
    while (bVar5 != 0) {
      if (bVar5 == 10) {
        *param_1 = 0x20;
      }
      param_1 = param_1 + 1;
      bVar5 = *param_1;
    }
  }
  return;
}

