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

char ** DestroyStringList(char **list)

{
  char *pcVar1;
  char **ppcVar2;
  
  if (list == (char **)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");
  }
  pcVar1 = *list;
  ppcVar2 = list;
  while (pcVar1 != (char *)0x0) {
    pcVar1 = DestroyString(pcVar1);
    *ppcVar2 = pcVar1;
    pcVar1 = ppcVar2[1];
    ppcVar2 = ppcVar2 + 1;
  }
  ppcVar2 = (char **)RelinquishMagickMemory(list);
  return ppcVar2;
}



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

void DestroyStringList(int *param_1)

{
  int *piVar1;
  int iVar2;
  
  if (param_1 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");
  }
  iVar2 = *param_1;
  piVar1 = param_1;
  while (iVar2 != 0) {
    iVar2 = DestroyString(iVar2);
    *piVar1 = iVar2;
    iVar2 = piVar1[1];
    piVar1 = piVar1 + 1;
  }
  RelinquishMagickMemory(param_1);
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x00038830
ADD EBX,0x23be44
TEST EDI,EDI
JZ 0x0019d1f8
MOV EAX,dword ptr [EDI]
MOV ESI,EDI
TEST EAX,EAX
JZ 0x0019d1e8
NOP
SUB ESP,0xc
ADD ESI,0x4
PUSH EAX
CALL 0x00032950
ADD ESP,0x10
MOV dword ptr [ESI + -0x4],EAX
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JNZ 0x0019d1d0
SUB ESP,0xc
PUSH EDI
CALL 0x00033ac8
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
LEA EAX,[EBX + 0xffef03c8]
PUSH EAX
LEA EAX,[EBX + 0xffeefe0e]
PUSH 0x34e
PUSH EAX
LEA EAX,[EBX + 0xffeefec5]
PUSH EAX
CALL 0x000313d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid DestroyStringList(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }\n  iVar2 = *param_1;\n  piVar1 = param_1;\n  while (iVar2 != 0) {\n    iVar2 = DestroyString(iVar2);\n    *piVar1 = iVar2;\n    iVar2 = piVar1[1];\n    piVar1 = piVar1 + 1;\n  }\n  RelinquishMagickMemory(param_1);\n  return;\n}\n\n" comment (function_definition "void DestroyStringList(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }\n  iVar2 = *param_1;\n  piVar1 = param_1;\n  while (iVar2 != 0) {\n    iVar2 = DestroyString(iVar2);\n    *piVar1 = iVar2;\n    iVar2 = piVar1[1];\n    piVar1 = piVar1 + 1;\n  }\n  RelinquishMagickMemory(param_1);\n  return;\n}" primitive_type (function_declarator "DestroyStringList(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }\n  iVar2 = *param_1;\n  piVar1 = param_1;\n  while (iVar2 != 0) {\n    iVar2 = DestroyString(iVar2);\n    *piVar1 = iVar2;\n    iVar2 = piVar1[1];\n    piVar1 = piVar1 + 1;\n  }\n  RelinquishMagickMemory(param_1);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }" { comment (expression_statement "__assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");" (call_expression "__assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList")" identifier (argument_list "("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList")" ( (string_literal ""list != (char **) NULL"" " string_content ") , (string_literal ""MagickCore/string.c"" " string_content ") , number_literal , (string_literal ""DestroyStringList"" " string_content ") ))) ;) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar1 = param_1;" (assignment_expression "piVar1 = param_1" identifier = identifier) ;) (while_statement "while (iVar2 != 0) {\n    iVar2 = DestroyString(iVar2);\n    *piVar1 = iVar2;\n    iVar2 = piVar1[1];\n    piVar1 = piVar1 + 1;\n  }" while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = DestroyString(iVar2);\n    *piVar1 = iVar2;\n    iVar2 = piVar1[1];\n    piVar1 = piVar1 + 1;\n  }" { (expression_statement "iVar2 = DestroyString(iVar2);" (assignment_expression "iVar2 = DestroyString(iVar2)" identifier = (call_expression "DestroyString(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "*piVar1 = iVar2;" (assignment_expression "*piVar1 = iVar2" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "iVar2 = piVar1[1];" (assignment_expression "iVar2 = piVar1[1]" identifier = (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) })) (expression_statement "RelinquishMagickMemory(param_1);" (call_expression "RelinquishMagickMemory(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar ** DestroyStringList(char **list)\n\n{\n  char *pcVar1;\n  char **ppcVar2;\n  \n  if (list == (char **)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }\n  pcVar1 = *list;\n  ppcVar2 = list;\n  while (pcVar1 != (char *)0x0) {\n    pcVar1 = DestroyString(pcVar1);\n    *ppcVar2 = pcVar1;\n    pcVar1 = ppcVar2[1];\n    ppcVar2 = ppcVar2 + 1;\n  }\n  ppcVar2 = (char **)RelinquishMagickMemory(list);\n  return ppcVar2;\n}\n\n" comment (function_definition "char ** DestroyStringList(char **list)\n\n{\n  char *pcVar1;\n  char **ppcVar2;\n  \n  if (list == (char **)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }\n  pcVar1 = *list;\n  ppcVar2 = list;\n  while (pcVar1 != (char *)0x0) {\n    pcVar1 = DestroyString(pcVar1);\n    *ppcVar2 = pcVar1;\n    pcVar1 = ppcVar2[1];\n    ppcVar2 = ppcVar2 + 1;\n  }\n  ppcVar2 = (char **)RelinquishMagickMemory(list);\n  return ppcVar2;\n}" primitive_type (pointer_declarator "** DestroyStringList(char **list)" * (pointer_declarator "* DestroyStringList(char **list)" * (function_declarator "DestroyStringList(char **list)" identifier (parameter_list "(char **list)" ( (parameter_declaration "char **list" primitive_type (pointer_declarator "**list" * (pointer_declarator "*list" * identifier))) ))))) (compound_statement "{\n  char *pcVar1;\n  char **ppcVar2;\n  \n  if (list == (char **)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }\n  pcVar1 = *list;\n  ppcVar2 = list;\n  while (pcVar1 != (char *)0x0) {\n    pcVar1 = DestroyString(pcVar1);\n    *ppcVar2 = pcVar1;\n    pcVar1 = ppcVar2[1];\n    ppcVar2 = ppcVar2 + 1;\n  }\n  ppcVar2 = (char **)RelinquishMagickMemory(list);\n  return ppcVar2;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "char **ppcVar2;" primitive_type (pointer_declarator "**ppcVar2" * (pointer_declarator "*ppcVar2" * identifier)) ;) (if_statement "if (list == (char **)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }" if (parenthesized_expression "(list == (char **)0x0)" ( (binary_expression "list == (char **)0x0" identifier == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }" { comment (expression_statement "__assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");" (call_expression "__assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList")" identifier (argument_list "("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList")" ( (string_literal ""list != (char **) NULL"" " string_content ") , (string_literal ""MagickCore/string.c"" " string_content ") , number_literal , (string_literal ""DestroyStringList"" " string_content ") ))) ;) })) (expression_statement "pcVar1 = *list;" (assignment_expression "pcVar1 = *list" identifier = (pointer_expression "*list" * identifier)) ;) (expression_statement "ppcVar2 = list;" (assignment_expression "ppcVar2 = list" identifier = identifier) ;) (while_statement "while (pcVar1 != (char *)0x0) {\n    pcVar1 = DestroyString(pcVar1);\n    *ppcVar2 = pcVar1;\n    pcVar1 = ppcVar2[1];\n    ppcVar2 = ppcVar2 + 1;\n  }" while (parenthesized_expression "(pcVar1 != (char *)0x0)" ( (binary_expression "pcVar1 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar1 = DestroyString(pcVar1);\n    *ppcVar2 = pcVar1;\n    pcVar1 = ppcVar2[1];\n    ppcVar2 = ppcVar2 + 1;\n  }" { (expression_statement "pcVar1 = DestroyString(pcVar1);" (assignment_expression "pcVar1 = DestroyString(pcVar1)" identifier = (call_expression "DestroyString(pcVar1)" identifier (argument_list "(pcVar1)" ( identifier )))) ;) (expression_statement "*ppcVar2 = pcVar1;" (assignment_expression "*ppcVar2 = pcVar1" (pointer_expression "*ppcVar2" * identifier) = identifier) ;) (expression_statement "pcVar1 = ppcVar2[1];" (assignment_expression "pcVar1 = ppcVar2[1]" identifier = (subscript_expression "ppcVar2[1]" identifier [ number_literal ])) ;) (expression_statement "ppcVar2 = ppcVar2 + 1;" (assignment_expression "ppcVar2 = ppcVar2 + 1" identifier = (binary_expression "ppcVar2 + 1" identifier + number_literal)) ;) })) (expression_statement "ppcVar2 = (char **)RelinquishMagickMemory(list);" (assignment_expression "ppcVar2 = (char **)RelinquishMagickMemory(list)" identifier = (cast_expression "(char **)RelinquishMagickMemory(list)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "RelinquishMagickMemory(list)" identifier (argument_list "(list)" ( identifier ))))) ;) (return_statement "return ppcVar2;" return identifier ;) })))
(translation_unit "void DestroyStringList(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    \n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }\n  iVar2 = *param_1;\n  piVar1 = param_1;\n  while (iVar2 != 0) {\n    iVar2 = DestroyString(iVar2);\n    *piVar1 = iVar2;\n    iVar2 = piVar1[1];\n    piVar1 = piVar1 + 1;\n  }\n  RelinquishMagickMemory(param_1);\n  return;\n}\n\n" (function_definition "void DestroyStringList(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    \n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }\n  iVar2 = *param_1;\n  piVar1 = param_1;\n  while (iVar2 != 0) {\n    iVar2 = DestroyString(iVar2);\n    *piVar1 = iVar2;\n    iVar2 = piVar1[1];\n    piVar1 = piVar1 + 1;\n  }\n  RelinquishMagickMemory(param_1);\n  return;\n}" primitive_type (function_declarator "DestroyStringList(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    \n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }\n  iVar2 = *param_1;\n  piVar1 = param_1;\n  while (iVar2 != 0) {\n    iVar2 = DestroyString(iVar2);\n    *piVar1 = iVar2;\n    iVar2 = piVar1[1];\n    piVar1 = piVar1 + 1;\n  }\n  RelinquishMagickMemory(param_1);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 == (int *)0x0) {\n                    \n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }" { (expression_statement "__assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");" (call_expression "__assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList")" identifier (argument_list "("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList")" ( (string_literal ""list != (char **) NULL"" " string_content ") , (string_literal ""MagickCore/string.c"" " string_content ") , number_literal , (string_literal ""DestroyStringList"" " string_content ") ))) ;) })) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "piVar1 = param_1;" (assignment_expression "piVar1 = param_1" identifier = identifier) ;) (while_statement "while (iVar2 != 0) {\n    iVar2 = DestroyString(iVar2);\n    *piVar1 = iVar2;\n    iVar2 = piVar1[1];\n    piVar1 = piVar1 + 1;\n  }" while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar2 = DestroyString(iVar2);\n    *piVar1 = iVar2;\n    iVar2 = piVar1[1];\n    piVar1 = piVar1 + 1;\n  }" { (expression_statement "iVar2 = DestroyString(iVar2);" (assignment_expression "iVar2 = DestroyString(iVar2)" identifier = (call_expression "DestroyString(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "*piVar1 = iVar2;" (assignment_expression "*piVar1 = iVar2" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "iVar2 = piVar1[1];" (assignment_expression "iVar2 = piVar1[1]" identifier = (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" identifier = (binary_expression "piVar1 + 1" identifier + number_literal)) ;) })) (expression_statement "RelinquishMagickMemory(param_1);" (call_expression "RelinquishMagickMemory(param_1)" identifier (argument_list "(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 ;) (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)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void DestroyStringList(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    \n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }\n  iVar2 = *param_1;\n  piVar1 = param_1;\n  while (iVar2 != 0) {\n    iVar2 = DestroyString(iVar2);\n    *piVar1 = iVar2;\n    iVar2 = piVar1[1];\n    piVar1 = piVar1 + 1;\n  }\n  RelinquishMagickMemory(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "DestroyStringList(int *param_1)" (identifier "DestroyStringList") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 == (int *)0x0) {\n                    \n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }\n  iVar2 = *param_1;\n  piVar1 = param_1;\n  while (iVar2 != 0) {\n    iVar2 = DestroyString(iVar2);\n    *piVar1 = iVar2;\n    iVar2 = piVar1[1];\n    piVar1 = piVar1 + 1;\n  }\n  RelinquishMagickMemory(param_1);\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n                    \n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }" (if "if") (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");\n  }" ({ "{") (expression_statement "__assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");" (call_expression "__assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList")" (identifier "__assert_fail") (argument_list "("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList")" (( "(") (string_literal ""list != (char **) NULL"" (" """) (string_content "list != (char **) NULL") (" """)) (, ",") (string_literal ""MagickCore/string.c"" (" """) (string_content "MagickCore/string.c") (" """)) (, ",") (number_literal "0x34e") (, ",") (string_literal ""DestroyStringList"" (" """) (string_content "DestroyStringList") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = *param_1;" (assignment_expression "iVar2 = *param_1" (identifier "iVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "piVar1 = param_1;" (assignment_expression "piVar1 = param_1" (identifier "piVar1") (= "=") (identifier "param_1")) (; ";")) (while_statement "while (iVar2 != 0) {\n    iVar2 = DestroyString(iVar2);\n    *piVar1 = iVar2;\n    iVar2 = piVar1[1];\n    piVar1 = piVar1 + 1;\n  }" (while "while") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar2 = DestroyString(iVar2);\n    *piVar1 = iVar2;\n    iVar2 = piVar1[1];\n    piVar1 = piVar1 + 1;\n  }" ({ "{") (expression_statement "iVar2 = DestroyString(iVar2);" (assignment_expression "iVar2 = DestroyString(iVar2)" (identifier "iVar2") (= "=") (call_expression "DestroyString(iVar2)" (identifier "DestroyString") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "*piVar1 = iVar2;" (assignment_expression "*piVar1 = iVar2" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "iVar2 = piVar1[1];" (assignment_expression "iVar2 = piVar1[1]" (identifier "iVar2") (= "=") (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar1 = piVar1 + 1;" (assignment_expression "piVar1 = piVar1 + 1" (identifier "piVar1") (= "=") (binary_expression "piVar1 + 1" (identifier "piVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "RelinquishMagickMemory(param_1);" (call_expression "RelinquishMagickMemory(param_1)" (identifier "RelinquishMagickMemory") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

char ** function_1(char **var_1)

{
  char *var_3;
  char **var_5;
  
  if (var_1 == (char **)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("list != (char **) NULL","MagickCore/string.c",0x34e,"DestroyStringList");
  }
  var_3 = *var_1;
  var_5 = var_1;
  while (var_3 != (char *)0x0) {
    var_3 = var_4(var_3);
    *var_5 = var_3;
    var_3 = var_5[1];
    var_5 = var_5 + 1;
  }
  var_5 = (char **)var_6(var_1);
  return var_5;
}


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

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

void MASKED(int *param_1)

{
  int *piVar1;
  int iVar2;
  
  if (param_1 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("list != (char **) NULL","MagickCore/string.c",0x34e,"MASKED");
  }
  iVar2 = *param_1;
  piVar1 = param_1;
  while (iVar2 != 0) {
    iVar2 = DestroyString(iVar2);
    *piVar1 = iVar2;
    iVar2 = piVar1[1];
    piVar1 = piVar1 + 1;
  }
  RelinquishMagickMemory(param_1);
  return;
}

