
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void __regparm3 freedirs(ftp_conn *ftpc)

{
  char **ppcVar1;
  int iVar2;
  
  ppcVar1 = ftpc->dirs;
  if (ppcVar1 != (char **)0x0) {
    if (0 < ftpc->dirdepth) {
      iVar2 = 0;
      do {
        (*Curl_cfree)(ppcVar1[iVar2]);
        ppcVar1 = ftpc->dirs;
        ppcVar1[iVar2] = (char *)0x0;
        iVar2 = iVar2 + 1;
      } while (iVar2 < ftpc->dirdepth);
    }
    (*Curl_cfree)(ppcVar1);
    ftpc->dirs = (char **)0x0;
    ftpc->dirdepth = 0;
  }
  (*Curl_cfree)(ftpc->file);
  ftpc->file = (char *)0x0;
  (*Curl_cfree)(ftpc->newhost);
  ftpc->newhost = (char *)0x0;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void __regparm3 FUN_000285d0(int param_1)

{
  int iVar1;
  int iVar2;
  
  iVar1 = *(int *)(param_1 + 0x3c);
  if (iVar1 != 0) {
    if (0 < *(int *)(param_1 + 0x40)) {
      iVar2 = 0;
      do {
        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));
        iVar1 = *(int *)(param_1 + 0x3c);
        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;
        iVar2 = iVar2 + 1;
      } while (iVar2 < *(int *)(param_1 + 0x40));
    }
    (*(code *)PTR_free_000b706c)(iVar1);
    *(undefined4 *)(param_1 + 0x3c) = 0;
    *(undefined4 *)(param_1 + 0x40) = 0;
  }
  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48));
  *(undefined4 *)(param_1 + 0x48) = 0;
  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c));
  *(undefined4 *)(param_1 + 0x8c) = 0;
  return;
}


CALL 0x0001d803
ADD ECX,0x8e20b
PUSH EDI
PUSH ESI
MOV ESI,EAX
PUSH EBX
MOV EDX,dword ptr [EAX + 0x3c]
TEST EDX,EDX
JZ 0x00028660
MOV EBX,dword ptr [EAX + 0x40]
TEST EBX,EBX
JLE 0x00028670
LEA EDI,[ECX + 0x88c]
XOR EBX,EBX
LEA ESI,[ESI]
SUB ESP,0xc
PUSH dword ptr [EDX + EBX*0x4]
CALL dword ptr [EDI]
MOV EDX,dword ptr [ESI + 0x3c]
ADD ESP,0x10
MOV dword ptr [EDX + EBX*0x4],0x0
ADD EBX,0x1
CMP dword ptr [ESI + 0x40],EBX
JG 0x00028600
SUB ESP,0xc
PUSH EDX
CALL dword ptr [EDI]
MOV dword ptr [ESI + 0x3c],0x0
MOV dword ptr [ESI + 0x40],0x0
ADD ESP,0x10
SUB ESP,0xc
PUSH dword ptr [ESI + 0x48]
CALL dword ptr [EDI]
POP EAX
PUSH dword ptr [ESI + 0x8c]
MOV dword ptr [ESI + 0x48],0x0
CALL dword ptr [EDI]
MOV dword ptr [ESI + 0x8c],0x0
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
LEA EDI,[ECX + 0x88c]
JMP 0x00028634
LEA EDI,[ECX + 0x88c]
JMP 0x0002861d
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nvoid __regparm3 FUN_000285d0(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }\n    (*(code *)PTR_free_000b706c)(iVar1);\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48));\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c));\n  *(undefined4 *)(param_1 + 0x8c) = 0;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000285d0(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }\n    (*(code *)PTR_free_000b706c)(iVar1);\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48));\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c));\n  *(undefined4 *)(param_1 + 0x8c) = 0;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000285d0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }\n    (*(code *)PTR_free_000b706c)(iVar1);\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48));\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c));\n  *(undefined4 *)(param_1 + 0x8c) = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }\n    (*(code *)PTR_free_000b706c)(iVar1);\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }\n    (*(code *)PTR_free_000b706c)(iVar1);\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }" { (if_statement "if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x40))" ( (binary_expression "0 < *(int *)(param_1 + 0x40)" number_literal < (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) )) (compound_statement "{\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));" do (compound_statement "{\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "(*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));" (call_expression "(*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4))" (parenthesized_expression "(*(code *)PTR_free_000b706c)" ( (pointer_expression "*(code *)PTR_free_000b706c" * (cast_expression "(code *)PTR_free_000b706c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar1 + iVar2 * 4))" ( (pointer_expression "*(undefined4 *)(iVar1 + iVar2 * 4)" * (cast_expression "(undefined4 *)(iVar1 + iVar2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar2 * 4)" ( (binary_expression "iVar1 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + iVar2 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + iVar2 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar1 + iVar2 * 4)" * (cast_expression "(undefined4 *)(iVar1 + iVar2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar2 * 4)" ( (binary_expression "iVar1 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 < *(int *)(param_1 + 0x40))" ( (binary_expression "iVar2 < *(int *)(param_1 + 0x40)" identifier < (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) )) ;) })) (expression_statement "(*(code *)PTR_free_000b706c)(iVar1);" (call_expression "(*(code *)PTR_free_000b706c)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_000b706c)" ( (pointer_expression "*(code *)PTR_free_000b706c" * (cast_expression "(code *)PTR_free_000b706c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x40) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x40) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x40)" * (cast_expression "(undefined4 *)(param_1 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "(*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48));" (call_expression "(*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48))" (parenthesized_expression "(*(code *)PTR_free_000b706c)" ( (pointer_expression "*(code *)PTR_free_000b706c" * (cast_expression "(code *)PTR_free_000b706c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x48))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x48)" * (cast_expression "(undefined4 *)(param_1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x48) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x48) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x48)" * (cast_expression "(undefined4 *)(param_1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c));" (call_expression "(*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c))" (parenthesized_expression "(*(code *)PTR_free_000b706c)" ( (pointer_expression "*(code *)PTR_free_000b706c" * (cast_expression "(code *)PTR_free_000b706c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x8c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x8c)" * (cast_expression "(undefined4 *)(param_1 + 0x8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8c)" ( (binary_expression "param_1 + 0x8c" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x8c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x8c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x8c)" * (cast_expression "(undefined4 *)(param_1 + 0x8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8c)" ( (binary_expression "param_1 + 0x8c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid __regparm3 freedirs(ftp_conn *ftpc)\n\n{\n  char **ppcVar1;\n  int iVar2;\n  \n  ppcVar1 = ftpc->dirs;\n  if (ppcVar1 != (char **)0x0) {\n    if (0 < ftpc->dirdepth) {\n      iVar2 = 0;\n      do {\n        (*Curl_cfree)(ppcVar1[iVar2]);\n        ppcVar1 = ftpc->dirs;\n        ppcVar1[iVar2] = (char *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < ftpc->dirdepth);\n    }\n    (*Curl_cfree)(ppcVar1);\n    ftpc->dirs = (char **)0x0;\n    ftpc->dirdepth = 0;\n  }\n  (*Curl_cfree)(ftpc->file);\n  ftpc->file = (char *)0x0;\n  (*Curl_cfree)(ftpc->newhost);\n  ftpc->newhost = (char *)0x0;\n  return;\n}\n\n" comment comment (function_definition "void __regparm3 freedirs(ftp_conn *ftpc)\n\n{\n  char **ppcVar1;\n  int iVar2;\n  \n  ppcVar1 = ftpc->dirs;\n  if (ppcVar1 != (char **)0x0) {\n    if (0 < ftpc->dirdepth) {\n      iVar2 = 0;\n      do {\n        (*Curl_cfree)(ppcVar1[iVar2]);\n        ppcVar1 = ftpc->dirs;\n        ppcVar1[iVar2] = (char *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < ftpc->dirdepth);\n    }\n    (*Curl_cfree)(ppcVar1);\n    ftpc->dirs = (char **)0x0;\n    ftpc->dirdepth = 0;\n  }\n  (*Curl_cfree)(ftpc->file);\n  ftpc->file = (char *)0x0;\n  (*Curl_cfree)(ftpc->newhost);\n  ftpc->newhost = (char *)0x0;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "freedirs(ftp_conn *ftpc)" identifier (parameter_list "(ftp_conn *ftpc)" ( (parameter_declaration "ftp_conn *ftpc" type_identifier (pointer_declarator "*ftpc" * identifier)) ))) (compound_statement "{\n  char **ppcVar1;\n  int iVar2;\n  \n  ppcVar1 = ftpc->dirs;\n  if (ppcVar1 != (char **)0x0) {\n    if (0 < ftpc->dirdepth) {\n      iVar2 = 0;\n      do {\n        (*Curl_cfree)(ppcVar1[iVar2]);\n        ppcVar1 = ftpc->dirs;\n        ppcVar1[iVar2] = (char *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < ftpc->dirdepth);\n    }\n    (*Curl_cfree)(ppcVar1);\n    ftpc->dirs = (char **)0x0;\n    ftpc->dirdepth = 0;\n  }\n  (*Curl_cfree)(ftpc->file);\n  ftpc->file = (char *)0x0;\n  (*Curl_cfree)(ftpc->newhost);\n  ftpc->newhost = (char *)0x0;\n  return;\n}" { (declaration "char **ppcVar1;" primitive_type (pointer_declarator "**ppcVar1" * (pointer_declarator "*ppcVar1" * identifier)) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "ppcVar1 = ftpc->dirs;" (assignment_expression "ppcVar1 = ftpc->dirs" identifier = (field_expression "ftpc->dirs" identifier -> field_identifier)) ;) (if_statement "if (ppcVar1 != (char **)0x0) {\n    if (0 < ftpc->dirdepth) {\n      iVar2 = 0;\n      do {\n        (*Curl_cfree)(ppcVar1[iVar2]);\n        ppcVar1 = ftpc->dirs;\n        ppcVar1[iVar2] = (char *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < ftpc->dirdepth);\n    }\n    (*Curl_cfree)(ppcVar1);\n    ftpc->dirs = (char **)0x0;\n    ftpc->dirdepth = 0;\n  }" if (parenthesized_expression "(ppcVar1 != (char **)0x0)" ( (binary_expression "ppcVar1 != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    if (0 < ftpc->dirdepth) {\n      iVar2 = 0;\n      do {\n        (*Curl_cfree)(ppcVar1[iVar2]);\n        ppcVar1 = ftpc->dirs;\n        ppcVar1[iVar2] = (char *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < ftpc->dirdepth);\n    }\n    (*Curl_cfree)(ppcVar1);\n    ftpc->dirs = (char **)0x0;\n    ftpc->dirdepth = 0;\n  }" { (if_statement "if (0 < ftpc->dirdepth) {\n      iVar2 = 0;\n      do {\n        (*Curl_cfree)(ppcVar1[iVar2]);\n        ppcVar1 = ftpc->dirs;\n        ppcVar1[iVar2] = (char *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < ftpc->dirdepth);\n    }" if (parenthesized_expression "(0 < ftpc->dirdepth)" ( (binary_expression "0 < ftpc->dirdepth" number_literal < (field_expression "ftpc->dirdepth" identifier -> field_identifier)) )) (compound_statement "{\n      iVar2 = 0;\n      do {\n        (*Curl_cfree)(ppcVar1[iVar2]);\n        ppcVar1 = ftpc->dirs;\n        ppcVar1[iVar2] = (char *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < ftpc->dirdepth);\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        (*Curl_cfree)(ppcVar1[iVar2]);\n        ppcVar1 = ftpc->dirs;\n        ppcVar1[iVar2] = (char *)0x0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < ftpc->dirdepth);" do (compound_statement "{\n        (*Curl_cfree)(ppcVar1[iVar2]);\n        ppcVar1 = ftpc->dirs;\n        ppcVar1[iVar2] = (char *)0x0;\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "(*Curl_cfree)(ppcVar1[iVar2]);" (call_expression "(*Curl_cfree)(ppcVar1[iVar2])" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(ppcVar1[iVar2])" ( (subscript_expression "ppcVar1[iVar2]" identifier [ identifier ]) ))) ;) (expression_statement "ppcVar1 = ftpc->dirs;" (assignment_expression "ppcVar1 = ftpc->dirs" identifier = (field_expression "ftpc->dirs" identifier -> field_identifier)) ;) (expression_statement "ppcVar1[iVar2] = (char *)0x0;" (assignment_expression "ppcVar1[iVar2] = (char *)0x0" (subscript_expression "ppcVar1[iVar2]" identifier [ identifier ]) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 < ftpc->dirdepth)" ( (binary_expression "iVar2 < ftpc->dirdepth" identifier < (field_expression "ftpc->dirdepth" identifier -> field_identifier)) )) ;) })) (expression_statement "(*Curl_cfree)(ppcVar1);" (call_expression "(*Curl_cfree)(ppcVar1)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(ppcVar1)" ( identifier ))) ;) (expression_statement "ftpc->dirs = (char **)0x0;" (assignment_expression "ftpc->dirs = (char **)0x0" (field_expression "ftpc->dirs" identifier -> field_identifier) = (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "ftpc->dirdepth = 0;" (assignment_expression "ftpc->dirdepth = 0" (field_expression "ftpc->dirdepth" identifier -> field_identifier) = number_literal) ;) })) (expression_statement "(*Curl_cfree)(ftpc->file);" (call_expression "(*Curl_cfree)(ftpc->file)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(ftpc->file)" ( (field_expression "ftpc->file" identifier -> field_identifier) ))) ;) (expression_statement "ftpc->file = (char *)0x0;" (assignment_expression "ftpc->file = (char *)0x0" (field_expression "ftpc->file" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*Curl_cfree)(ftpc->newhost);" (call_expression "(*Curl_cfree)(ftpc->newhost)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(ftpc->newhost)" ( (field_expression "ftpc->newhost" identifier -> field_identifier) ))) ;) (expression_statement "ftpc->newhost = (char *)0x0;" (assignment_expression "ftpc->newhost = (char *)0x0" (field_expression "ftpc->newhost" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000285d0(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }\n    (*(code *)PTR_free_000b706c)(iVar1);\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48));\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c));\n  *(undefined4 *)(param_1 + 0x8c) = 0;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000285d0(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }\n    (*(code *)PTR_free_000b706c)(iVar1);\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48));\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c));\n  *(undefined4 *)(param_1 + 0x8c) = 0;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000285d0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }\n    (*(code *)PTR_free_000b706c)(iVar1);\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48));\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c));\n  *(undefined4 *)(param_1 + 0x8c) = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }\n    (*(code *)PTR_free_000b706c)(iVar1);\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }\n    (*(code *)PTR_free_000b706c)(iVar1);\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }" { (if_statement "if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }" if (parenthesized_expression "(0 < *(int *)(param_1 + 0x40))" ( (binary_expression "0 < *(int *)(param_1 + 0x40)" number_literal < (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) )) (compound_statement "{\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));" do (compound_statement "{\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      }" { (expression_statement "(*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));" (call_expression "(*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4))" (parenthesized_expression "(*(code *)PTR_free_000b706c)" ( (pointer_expression "*(code *)PTR_free_000b706c" * (cast_expression "(code *)PTR_free_000b706c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar1 + iVar2 * 4))" ( (pointer_expression "*(undefined4 *)(iVar1 + iVar2 * 4)" * (cast_expression "(undefined4 *)(iVar1 + iVar2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar2 * 4)" ( (binary_expression "iVar1 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) ))) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar1 + iVar2 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + iVar2 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar1 + iVar2 * 4)" * (cast_expression "(undefined4 *)(iVar1 + iVar2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + iVar2 * 4)" ( (binary_expression "iVar1 + iVar2 * 4" identifier + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 < *(int *)(param_1 + 0x40))" ( (binary_expression "iVar2 < *(int *)(param_1 + 0x40)" identifier < (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) )) ;) })) (expression_statement "(*(code *)PTR_free_000b706c)(iVar1);" (call_expression "(*(code *)PTR_free_000b706c)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_000b706c)" ( (pointer_expression "*(code *)PTR_free_000b706c" * (cast_expression "(code *)PTR_free_000b706c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x40) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x40) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x40)" * (cast_expression "(undefined4 *)(param_1 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "(*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48));" (call_expression "(*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48))" (parenthesized_expression "(*(code *)PTR_free_000b706c)" ( (pointer_expression "*(code *)PTR_free_000b706c" * (cast_expression "(code *)PTR_free_000b706c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x48))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x48)" * (cast_expression "(undefined4 *)(param_1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x48) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x48) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x48)" * (cast_expression "(undefined4 *)(param_1 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c));" (call_expression "(*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c))" (parenthesized_expression "(*(code *)PTR_free_000b706c)" ( (pointer_expression "*(code *)PTR_free_000b706c" * (cast_expression "(code *)PTR_free_000b706c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x8c))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x8c)" * (cast_expression "(undefined4 *)(param_1 + 0x8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8c)" ( (binary_expression "param_1 + 0x8c" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x8c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x8c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x8c)" * (cast_expression "(undefined4 *)(param_1 + 0x8c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x8c)" ( (binary_expression "param_1 + 0x8c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000285d0(int param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }\n    (*(code *)PTR_free_000b706c)(iVar1);\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48));\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c));\n  *(undefined4 *)(param_1 + 0x8c) = 0;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000285d0(int param_1)" (identifier "FUN_000285d0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  iVar1 = *(int *)(param_1 + 0x3c);\n  if (iVar1 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }\n    (*(code *)PTR_free_000b706c)(iVar1);\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48));\n  *(undefined4 *)(param_1 + 0x48) = 0;\n  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c));\n  *(undefined4 *)(param_1 + 0x8c) = 0;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (if_statement "if (iVar1 != 0) {\n    if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }\n    (*(code *)PTR_free_000b706c)(iVar1);\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }\n    (*(code *)PTR_free_000b706c)(iVar1);\n    *(undefined4 *)(param_1 + 0x3c) = 0;\n    *(undefined4 *)(param_1 + 0x40) = 0;\n  }" ({ "{") (if_statement "if (0 < *(int *)(param_1 + 0x40)) {\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }" (if "if") (parenthesized_expression "(0 < *(int *)(param_1 + 0x40))" (( "(") (binary_expression "0 < *(int *)(param_1 + 0x40)" (number_literal "0") (< "<") (pointer_expression "*(int *)(param_1 + 0x40)" (* "*") (cast_expression "(int *)(param_1 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) () ")")) (compound_statement "{\n      iVar2 = 0;\n      do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));\n    }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      } while (iVar2 < *(int *)(param_1 + 0x40));" (do "do") (compound_statement "{\n        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));\n        iVar1 = *(int *)(param_1 + 0x3c);\n        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;\n        iVar2 = iVar2 + 1;\n      }" ({ "{") (expression_statement "(*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));" (call_expression "(*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4))" (parenthesized_expression "(*(code *)PTR_free_000b706c)" (( "(") (pointer_expression "*(code *)PTR_free_000b706c" (* "*") (cast_expression "(code *)PTR_free_000b706c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000b706c"))) () ")")) (argument_list "(*(undefined4 *)(iVar1 + iVar2 * 4))" (( "(") (pointer_expression "*(undefined4 *)(iVar1 + iVar2 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + iVar2 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + iVar2 * 4)" (( "(") (binary_expression "iVar1 + iVar2 * 4" (identifier "iVar1") (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")")))) () ")"))) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x3c)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + iVar2 * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + iVar2 * 4) = 0" (pointer_expression "*(undefined4 *)(iVar1 + iVar2 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar1 + iVar2 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + iVar2 * 4)" (( "(") (binary_expression "iVar1 + iVar2 * 4" (identifier "iVar1") (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 < *(int *)(param_1 + 0x40))" (( "(") (binary_expression "iVar2 < *(int *)(param_1 + 0x40)" (identifier "iVar2") (< "<") (pointer_expression "*(int *)(param_1 + 0x40)" (* "*") (cast_expression "(int *)(param_1 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_000b706c)(iVar1);" (call_expression "(*(code *)PTR_free_000b706c)(iVar1)" (parenthesized_expression "(*(code *)PTR_free_000b706c)" (( "(") (pointer_expression "*(code *)PTR_free_000b706c" (* "*") (cast_expression "(code *)PTR_free_000b706c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000b706c"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x40) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x40) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x40)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48));" (call_expression "(*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48))" (parenthesized_expression "(*(code *)PTR_free_000b706c)" (( "(") (pointer_expression "*(code *)PTR_free_000b706c" (* "*") (cast_expression "(code *)PTR_free_000b706c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000b706c"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x48))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x48)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x48) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x48) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x48)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c));" (call_expression "(*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c))" (parenthesized_expression "(*(code *)PTR_free_000b706c)" (( "(") (pointer_expression "*(code *)PTR_free_000b706c" (* "*") (cast_expression "(code *)PTR_free_000b706c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_000b706c"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x8c))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x8c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x8c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x8c)" (( "(") (binary_expression "param_1 + 0x8c" (identifier "param_1") (+ "+") (number_literal "0x8c")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x8c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x8c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x8c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x8c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x8c)" (( "(") (binary_expression "param_1 + 0x8c" (identifier "param_1") (+ "+") (number_literal "0x8c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void __regparm3 function_1(type_1 *ftpc)

{
  char **var_1;
  int var_2;
  
  var_1 = ftpc->dirs;
  if (var_1 != (char **)0x0) {
    if (0 < ftpc->dirdepth) {
      var_2 = 0;
      do {
        (*Curl_cfree)(var_1[var_2]);
        var_1 = ftpc->dirs;
        var_1[var_2] = (char *)0x0;
        var_2 = var_2 + 1;
      } while (var_2 < ftpc->dirdepth);
    }
    (*Curl_cfree)(var_1);
    ftpc->dirs = (char **)0x0;
    ftpc->dirdepth = 0;
  }
  (*Curl_cfree)(ftpc->file);
  ftpc->file = (char *)0x0;
  (*Curl_cfree)(ftpc->newhost);
  ftpc->newhost = (char *)0x0;
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

void __regparm3 MASKED(int param_1)

{
  int iVar1;
  int iVar2;
  
  iVar1 = *(int *)(param_1 + 0x3c);
  if (iVar1 != 0) {
    if (0 < *(int *)(param_1 + 0x40)) {
      iVar2 = 0;
      do {
        (*(code *)PTR_free_000b706c)(*(undefined4 *)(iVar1 + iVar2 * 4));
        iVar1 = *(int *)(param_1 + 0x3c);
        *(undefined4 *)(iVar1 + iVar2 * 4) = 0;
        iVar2 = iVar2 + 1;
      } while (iVar2 < *(int *)(param_1 + 0x40));
    }
    (*(code *)PTR_free_000b706c)(iVar1);
    *(undefined4 *)(param_1 + 0x3c) = 0;
    *(undefined4 *)(param_1 + 0x40) = 0;
  }
  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x48));
  *(undefined4 *)(param_1 + 0x48) = 0;
  (*(code *)PTR_free_000b706c)(*(undefined4 *)(param_1 + 0x8c));
  *(undefined4 *)(param_1 + 0x8c) = 0;
  return;
}

