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

void release_archive(archive_info *arch)

{
  if (arch->file_name != (char *)0x0) {
    free(arch->file_name);
  }
  if (arch->index_array != (elf_vma *)0x0) {
    free(arch->index_array);
  }
  if (arch->sym_table != (char *)0x0) {
    free(arch->sym_table);
  }
  if (arch->longnames != (char *)0x0) {
    free(arch->longnames);
  }
  return;
}



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

void FUN_000675d0(undefined4 *param_1)

{
  if ((void *)*param_1 != (void *)0x0) {
    free((void *)*param_1);
  }
  if ((void *)param_1[4] != (void *)0x0) {
    free((void *)param_1[4]);
  }
  if ((void *)param_1[5] != (void *)0x0) {
    free((void *)param_1[5]);
  }
  if ((void *)param_1[7] != (void *)0x0) {
    free((void *)param_1[7]);
  }
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00013f70
ADD EBX,0x4ca29
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x000675f6
SUB ESP,0xc
PUSH EAX
CALL 0x000130a0
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0x10]
TEST EAX,EAX
JZ 0x00067609
SUB ESP,0xc
PUSH EAX
CALL 0x000130a0
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0x14]
TEST EAX,EAX
JZ 0x0006761c
SUB ESP,0xc
PUSH EAX
CALL 0x000130a0
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0x1c]
TEST EAX,EAX
JZ 0x0006762f
SUB ESP,0xc
PUSH EAX
CALL 0x000130a0
ADD ESP,0x10
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000675d0(undefined4 *param_1)\n\n{\n  if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }\n  if ((void *)param_1[4] != (void *)0x0) {\n    free((void *)param_1[4]);\n  }\n  if ((void *)param_1[5] != (void *)0x0) {\n    free((void *)param_1[5]);\n  }\n  if ((void *)param_1[7] != (void *)0x0) {\n    free((void *)param_1[7]);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000675d0(undefined4 *param_1)\n\n{\n  if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }\n  if ((void *)param_1[4] != (void *)0x0) {\n    free((void *)param_1[4]);\n  }\n  if ((void *)param_1[5] != (void *)0x0) {\n    free((void *)param_1[5]);\n  }\n  if ((void *)param_1[7] != (void *)0x0) {\n    free((void *)param_1[7]);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000675d0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }\n  if ((void *)param_1[4] != (void *)0x0) {\n    free((void *)param_1[4]);\n  }\n  if ((void *)param_1[5] != (void *)0x0) {\n    free((void *)param_1[5]);\n  }\n  if ((void *)param_1[7] != (void *)0x0) {\n    free((void *)param_1[7]);\n  }\n  return;\n}" { (if_statement "if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }" if (parenthesized_expression "((void *)*param_1 != (void *)0x0)" ( (binary_expression "(void *)*param_1 != (void *)0x0" (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free((void *)*param_1);\n  }" { (expression_statement "free((void *)*param_1);" (call_expression "free((void *)*param_1)" identifier (argument_list "((void *)*param_1)" ( (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) })) (if_statement "if ((void *)param_1[4] != (void *)0x0) {\n    free((void *)param_1[4]);\n  }" if (parenthesized_expression "((void *)param_1[4] != (void *)0x0)" ( (binary_expression "(void *)param_1[4] != (void *)0x0" (cast_expression "(void *)param_1[4]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ])) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free((void *)param_1[4]);\n  }" { (expression_statement "free((void *)param_1[4]);" (call_expression "free((void *)param_1[4])" identifier (argument_list "((void *)param_1[4])" ( (cast_expression "(void *)param_1[4]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ])) ))) ;) })) (if_statement "if ((void *)param_1[5] != (void *)0x0) {\n    free((void *)param_1[5]);\n  }" if (parenthesized_expression "((void *)param_1[5] != (void *)0x0)" ( (binary_expression "(void *)param_1[5] != (void *)0x0" (cast_expression "(void *)param_1[5]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ])) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free((void *)param_1[5]);\n  }" { (expression_statement "free((void *)param_1[5]);" (call_expression "free((void *)param_1[5])" identifier (argument_list "((void *)param_1[5])" ( (cast_expression "(void *)param_1[5]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ])) ))) ;) })) (if_statement "if ((void *)param_1[7] != (void *)0x0) {\n    free((void *)param_1[7]);\n  }" if (parenthesized_expression "((void *)param_1[7] != (void *)0x0)" ( (binary_expression "(void *)param_1[7] != (void *)0x0" (cast_expression "(void *)param_1[7]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free((void *)param_1[7]);\n  }" { (expression_statement "free((void *)param_1[7]);" (call_expression "free((void *)param_1[7])" identifier (argument_list "((void *)param_1[7])" ( (cast_expression "(void *)param_1[7]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) ))) ;) })) (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 release_archive(archive_info *arch)\n\n{\n  if (arch->file_name != (char *)0x0) {\n    free(arch->file_name);\n  }\n  if (arch->index_array != (elf_vma *)0x0) {\n    free(arch->index_array);\n  }\n  if (arch->sym_table != (char *)0x0) {\n    free(arch->sym_table);\n  }\n  if (arch->longnames != (char *)0x0) {\n    free(arch->longnames);\n  }\n  return;\n}\n\n" comment comment (function_definition "void release_archive(archive_info *arch)\n\n{\n  if (arch->file_name != (char *)0x0) {\n    free(arch->file_name);\n  }\n  if (arch->index_array != (elf_vma *)0x0) {\n    free(arch->index_array);\n  }\n  if (arch->sym_table != (char *)0x0) {\n    free(arch->sym_table);\n  }\n  if (arch->longnames != (char *)0x0) {\n    free(arch->longnames);\n  }\n  return;\n}" primitive_type (function_declarator "release_archive(archive_info *arch)" identifier (parameter_list "(archive_info *arch)" ( (parameter_declaration "archive_info *arch" type_identifier (pointer_declarator "*arch" * identifier)) ))) (compound_statement "{\n  if (arch->file_name != (char *)0x0) {\n    free(arch->file_name);\n  }\n  if (arch->index_array != (elf_vma *)0x0) {\n    free(arch->index_array);\n  }\n  if (arch->sym_table != (char *)0x0) {\n    free(arch->sym_table);\n  }\n  if (arch->longnames != (char *)0x0) {\n    free(arch->longnames);\n  }\n  return;\n}" { (if_statement "if (arch->file_name != (char *)0x0) {\n    free(arch->file_name);\n  }" if (parenthesized_expression "(arch->file_name != (char *)0x0)" ( (binary_expression "arch->file_name != (char *)0x0" (field_expression "arch->file_name" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free(arch->file_name);\n  }" { (expression_statement "free(arch->file_name);" (call_expression "free(arch->file_name)" identifier (argument_list "(arch->file_name)" ( (field_expression "arch->file_name" identifier -> field_identifier) ))) ;) })) (if_statement "if (arch->index_array != (elf_vma *)0x0) {\n    free(arch->index_array);\n  }" if (parenthesized_expression "(arch->index_array != (elf_vma *)0x0)" ( (binary_expression "arch->index_array != (elf_vma *)0x0" (field_expression "arch->index_array" identifier -> field_identifier) != (cast_expression "(elf_vma *)0x0" ( (type_descriptor "elf_vma *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free(arch->index_array);\n  }" { (expression_statement "free(arch->index_array);" (call_expression "free(arch->index_array)" identifier (argument_list "(arch->index_array)" ( (field_expression "arch->index_array" identifier -> field_identifier) ))) ;) })) (if_statement "if (arch->sym_table != (char *)0x0) {\n    free(arch->sym_table);\n  }" if (parenthesized_expression "(arch->sym_table != (char *)0x0)" ( (binary_expression "arch->sym_table != (char *)0x0" (field_expression "arch->sym_table" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free(arch->sym_table);\n  }" { (expression_statement "free(arch->sym_table);" (call_expression "free(arch->sym_table)" identifier (argument_list "(arch->sym_table)" ( (field_expression "arch->sym_table" identifier -> field_identifier) ))) ;) })) (if_statement "if (arch->longnames != (char *)0x0) {\n    free(arch->longnames);\n  }" if (parenthesized_expression "(arch->longnames != (char *)0x0)" ( (binary_expression "arch->longnames != (char *)0x0" (field_expression "arch->longnames" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free(arch->longnames);\n  }" { (expression_statement "free(arch->longnames);" (call_expression "free(arch->longnames)" identifier (argument_list "(arch->longnames)" ( (field_expression "arch->longnames" identifier -> field_identifier) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000675d0(undefined4 *param_1)\n\n{\n  if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }\n  if ((void *)param_1[4] != (void *)0x0) {\n    free((void *)param_1[4]);\n  }\n  if ((void *)param_1[5] != (void *)0x0) {\n    free((void *)param_1[5]);\n  }\n  if ((void *)param_1[7] != (void *)0x0) {\n    free((void *)param_1[7]);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000675d0(undefined4 *param_1)\n\n{\n  if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }\n  if ((void *)param_1[4] != (void *)0x0) {\n    free((void *)param_1[4]);\n  }\n  if ((void *)param_1[5] != (void *)0x0) {\n    free((void *)param_1[5]);\n  }\n  if ((void *)param_1[7] != (void *)0x0) {\n    free((void *)param_1[7]);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000675d0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }\n  if ((void *)param_1[4] != (void *)0x0) {\n    free((void *)param_1[4]);\n  }\n  if ((void *)param_1[5] != (void *)0x0) {\n    free((void *)param_1[5]);\n  }\n  if ((void *)param_1[7] != (void *)0x0) {\n    free((void *)param_1[7]);\n  }\n  return;\n}" { (if_statement "if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }" if (parenthesized_expression "((void *)*param_1 != (void *)0x0)" ( (binary_expression "(void *)*param_1 != (void *)0x0" (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free((void *)*param_1);\n  }" { (expression_statement "free((void *)*param_1);" (call_expression "free((void *)*param_1)" identifier (argument_list "((void *)*param_1)" ( (cast_expression "(void *)*param_1" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier)) ))) ;) })) (if_statement "if ((void *)param_1[4] != (void *)0x0) {\n    free((void *)param_1[4]);\n  }" if (parenthesized_expression "((void *)param_1[4] != (void *)0x0)" ( (binary_expression "(void *)param_1[4] != (void *)0x0" (cast_expression "(void *)param_1[4]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ])) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free((void *)param_1[4]);\n  }" { (expression_statement "free((void *)param_1[4]);" (call_expression "free((void *)param_1[4])" identifier (argument_list "((void *)param_1[4])" ( (cast_expression "(void *)param_1[4]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ])) ))) ;) })) (if_statement "if ((void *)param_1[5] != (void *)0x0) {\n    free((void *)param_1[5]);\n  }" if (parenthesized_expression "((void *)param_1[5] != (void *)0x0)" ( (binary_expression "(void *)param_1[5] != (void *)0x0" (cast_expression "(void *)param_1[5]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ])) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free((void *)param_1[5]);\n  }" { (expression_statement "free((void *)param_1[5]);" (call_expression "free((void *)param_1[5])" identifier (argument_list "((void *)param_1[5])" ( (cast_expression "(void *)param_1[5]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ])) ))) ;) })) (if_statement "if ((void *)param_1[7] != (void *)0x0) {\n    free((void *)param_1[7]);\n  }" if (parenthesized_expression "((void *)param_1[7] != (void *)0x0)" ( (binary_expression "(void *)param_1[7] != (void *)0x0" (cast_expression "(void *)param_1[7]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free((void *)param_1[7]);\n  }" { (expression_statement "free((void *)param_1[7]);" (call_expression "free((void *)param_1[7])" identifier (argument_list "((void *)param_1[7])" ( (cast_expression "(void *)param_1[7]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000675d0(undefined4 *param_1)\n\n{\n  if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }\n  if ((void *)param_1[4] != (void *)0x0) {\n    free((void *)param_1[4]);\n  }\n  if ((void *)param_1[5] != (void *)0x0) {\n    free((void *)param_1[5]);\n  }\n  if ((void *)param_1[7] != (void *)0x0) {\n    free((void *)param_1[7]);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000675d0(undefined4 *param_1)" (identifier "FUN_000675d0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }\n  if ((void *)param_1[4] != (void *)0x0) {\n    free((void *)param_1[4]);\n  }\n  if ((void *)param_1[5] != (void *)0x0) {\n    free((void *)param_1[5]);\n  }\n  if ((void *)param_1[7] != (void *)0x0) {\n    free((void *)param_1[7]);\n  }\n  return;\n}" ({ "{") (if_statement "if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }" (if "if") (parenthesized_expression "((void *)*param_1 != (void *)0x0)" (( "(") (binary_expression "(void *)*param_1 != (void *)0x0" (cast_expression "(void *)*param_1" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    free((void *)*param_1);\n  }" ({ "{") (expression_statement "free((void *)*param_1);" (call_expression "free((void *)*param_1)" (identifier "free") (argument_list "((void *)*param_1)" (( "(") (cast_expression "(void *)*param_1" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) (; ";")) (} "}"))) (if_statement "if ((void *)param_1[4] != (void *)0x0) {\n    free((void *)param_1[4]);\n  }" (if "if") (parenthesized_expression "((void *)param_1[4] != (void *)0x0)" (( "(") (binary_expression "(void *)param_1[4] != (void *)0x0" (cast_expression "(void *)param_1[4]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    free((void *)param_1[4]);\n  }" ({ "{") (expression_statement "free((void *)param_1[4]);" (call_expression "free((void *)param_1[4])" (identifier "free") (argument_list "((void *)param_1[4])" (( "(") (cast_expression "(void *)param_1[4]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) () ")"))) (; ";")) (} "}"))) (if_statement "if ((void *)param_1[5] != (void *)0x0) {\n    free((void *)param_1[5]);\n  }" (if "if") (parenthesized_expression "((void *)param_1[5] != (void *)0x0)" (( "(") (binary_expression "(void *)param_1[5] != (void *)0x0" (cast_expression "(void *)param_1[5]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    free((void *)param_1[5]);\n  }" ({ "{") (expression_statement "free((void *)param_1[5]);" (call_expression "free((void *)param_1[5])" (identifier "free") (argument_list "((void *)param_1[5])" (( "(") (cast_expression "(void *)param_1[5]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) () ")"))) (; ";")) (} "}"))) (if_statement "if ((void *)param_1[7] != (void *)0x0) {\n    free((void *)param_1[7]);\n  }" (if "if") (parenthesized_expression "((void *)param_1[7] != (void *)0x0)" (( "(") (binary_expression "(void *)param_1[7] != (void *)0x0" (cast_expression "(void *)param_1[7]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    free((void *)param_1[7]);\n  }" ({ "{") (expression_statement "free((void *)param_1[7]);" (call_expression "free((void *)param_1[7])" (identifier "free") (argument_list "((void *)param_1[7])" (( "(") (cast_expression "(void *)param_1[7]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) () ")"))) (; ";")) (} "}"))) (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(type_1 *arch)

{
  if (arch->file_name != (char *)0x0) {
    var_1(arch->file_name);
  }
  if (arch->index_array != (type_2 *)0x0) {
    var_1(arch->index_array);
  }
  if (arch->sym_table != (char *)0x0) {
    var_1(arch->sym_table);
  }
  if (arch->longnames != (char *)0x0) {
    var_1(arch->longnames);
  }
  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 (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (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 (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) 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 (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) 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 (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) 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 (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) (return_statement))))

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

void MASKED(undefined4 *param_1)

{
  if ((void *)*param_1 != (void *)0x0) {
    free((void *)*param_1);
  }
  if ((void *)param_1[4] != (void *)0x0) {
    free((void *)param_1[4]);
  }
  if ((void *)param_1[5] != (void *)0x0) {
    free((void *)param_1[5]);
  }
  if ((void *)param_1[7] != (void *)0x0) {
    free((void *)param_1[7]);
  }
  return;
}

