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

void dispose_var_context(VAR_CONTEXT *vc)

{
  if (vc->name != (char *)0x0) {
    free(vc->name);
  }
  if (vc->table != (HASH_TABLE *)0x0) {
    hash_flush(vc->table,free_variable_hash_data);
    hash_dispose(vc->table);
  }
  free(vc);
  return;
}



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

void dispose_var_context(undefined4 *param_1)

{
  if ((void *)*param_1 != (void *)0x0) {
    free((void *)*param_1);
  }
  if (param_1[5] != 0) {
    hash_flush(param_1[5],dispose_variable);
    hash_dispose(param_1[5]);
  }
  free(param_1);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00031ed0
ADD EBX,0xf3c99
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x00056386
SUB ESP,0xc
PUSH EAX
CALL 0x0002f200
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0x14]
TEST EAX,EAX
JZ 0x000563a9
SUB ESP,0x8
LEA EDX,[EBX + 0xfff09840]
PUSH EDX
PUSH EAX
CALL 0x00079e90
POP EAX
PUSH dword ptr [ESI + 0x14]
CALL 0x00079f80
ADD ESP,0x10
SUB ESP,0xc
PUSH ESI
CALL 0x0002f200
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid dispose_var_context(undefined4 *param_1)\n\n{\n  if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }\n  if (param_1[5] != 0) {\n    hash_flush(param_1[5],dispose_variable);\n    hash_dispose(param_1[5]);\n  }\n  free(param_1);\n  return;\n}\n\n" comment (function_definition "void dispose_var_context(undefined4 *param_1)\n\n{\n  if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }\n  if (param_1[5] != 0) {\n    hash_flush(param_1[5],dispose_variable);\n    hash_dispose(param_1[5]);\n  }\n  free(param_1);\n  return;\n}" primitive_type (function_declarator "dispose_var_context(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 (param_1[5] != 0) {\n    hash_flush(param_1[5],dispose_variable);\n    hash_dispose(param_1[5]);\n  }\n  free(param_1);\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 (param_1[5] != 0) {\n    hash_flush(param_1[5],dispose_variable);\n    hash_dispose(param_1[5]);\n  }" if (parenthesized_expression "(param_1[5] != 0)" ( (binary_expression "param_1[5] != 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    hash_flush(param_1[5],dispose_variable);\n    hash_dispose(param_1[5]);\n  }" { (expression_statement "hash_flush(param_1[5],dispose_variable);" (call_expression "hash_flush(param_1[5],dispose_variable)" identifier (argument_list "(param_1[5],dispose_variable)" ( (subscript_expression "param_1[5]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "hash_dispose(param_1[5]);" (call_expression "hash_dispose(param_1[5])" identifier (argument_list "(param_1[5])" ( (subscript_expression "param_1[5]" identifier [ number_literal ]) ))) ;) })) (expression_statement "free(param_1);" (call_expression "free(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/* WARNING: Unknown calling convention */\n\nvoid dispose_var_context(VAR_CONTEXT *vc)\n\n{\n  if (vc->name != (char *)0x0) {\n    free(vc->name);\n  }\n  if (vc->table != (HASH_TABLE *)0x0) {\n    hash_flush(vc->table,free_variable_hash_data);\n    hash_dispose(vc->table);\n  }\n  free(vc);\n  return;\n}\n\n" comment comment (function_definition "void dispose_var_context(VAR_CONTEXT *vc)\n\n{\n  if (vc->name != (char *)0x0) {\n    free(vc->name);\n  }\n  if (vc->table != (HASH_TABLE *)0x0) {\n    hash_flush(vc->table,free_variable_hash_data);\n    hash_dispose(vc->table);\n  }\n  free(vc);\n  return;\n}" primitive_type (function_declarator "dispose_var_context(VAR_CONTEXT *vc)" identifier (parameter_list "(VAR_CONTEXT *vc)" ( (parameter_declaration "VAR_CONTEXT *vc" type_identifier (pointer_declarator "*vc" * identifier)) ))) (compound_statement "{\n  if (vc->name != (char *)0x0) {\n    free(vc->name);\n  }\n  if (vc->table != (HASH_TABLE *)0x0) {\n    hash_flush(vc->table,free_variable_hash_data);\n    hash_dispose(vc->table);\n  }\n  free(vc);\n  return;\n}" { (if_statement "if (vc->name != (char *)0x0) {\n    free(vc->name);\n  }" if (parenthesized_expression "(vc->name != (char *)0x0)" ( (binary_expression "vc->name != (char *)0x0" (field_expression "vc->name" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    free(vc->name);\n  }" { (expression_statement "free(vc->name);" (call_expression "free(vc->name)" identifier (argument_list "(vc->name)" ( (field_expression "vc->name" identifier -> field_identifier) ))) ;) })) (if_statement "if (vc->table != (HASH_TABLE *)0x0) {\n    hash_flush(vc->table,free_variable_hash_data);\n    hash_dispose(vc->table);\n  }" if (parenthesized_expression "(vc->table != (HASH_TABLE *)0x0)" ( (binary_expression "vc->table != (HASH_TABLE *)0x0" (field_expression "vc->table" identifier -> field_identifier) != (cast_expression "(HASH_TABLE *)0x0" ( (type_descriptor "HASH_TABLE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    hash_flush(vc->table,free_variable_hash_data);\n    hash_dispose(vc->table);\n  }" { (expression_statement "hash_flush(vc->table,free_variable_hash_data);" (call_expression "hash_flush(vc->table,free_variable_hash_data)" identifier (argument_list "(vc->table,free_variable_hash_data)" ( (field_expression "vc->table" identifier -> field_identifier) , identifier ))) ;) (expression_statement "hash_dispose(vc->table);" (call_expression "hash_dispose(vc->table)" identifier (argument_list "(vc->table)" ( (field_expression "vc->table" identifier -> field_identifier) ))) ;) })) (expression_statement "free(vc);" (call_expression "free(vc)" identifier (argument_list "(vc)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void dispose_var_context(undefined4 *param_1)\n\n{\n  if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }\n  if (param_1[5] != 0) {\n    hash_flush(param_1[5],dispose_variable);\n    hash_dispose(param_1[5]);\n  }\n  free(param_1);\n  return;\n}\n\n" (function_definition "void dispose_var_context(undefined4 *param_1)\n\n{\n  if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }\n  if (param_1[5] != 0) {\n    hash_flush(param_1[5],dispose_variable);\n    hash_dispose(param_1[5]);\n  }\n  free(param_1);\n  return;\n}" primitive_type (function_declarator "dispose_var_context(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 (param_1[5] != 0) {\n    hash_flush(param_1[5],dispose_variable);\n    hash_dispose(param_1[5]);\n  }\n  free(param_1);\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 (param_1[5] != 0) {\n    hash_flush(param_1[5],dispose_variable);\n    hash_dispose(param_1[5]);\n  }" if (parenthesized_expression "(param_1[5] != 0)" ( (binary_expression "param_1[5] != 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    hash_flush(param_1[5],dispose_variable);\n    hash_dispose(param_1[5]);\n  }" { (expression_statement "hash_flush(param_1[5],dispose_variable);" (call_expression "hash_flush(param_1[5],dispose_variable)" identifier (argument_list "(param_1[5],dispose_variable)" ( (subscript_expression "param_1[5]" identifier [ number_literal ]) , identifier ))) ;) (expression_statement "hash_dispose(param_1[5]);" (call_expression "hash_dispose(param_1[5])" identifier (argument_list "(param_1[5])" ( (subscript_expression "param_1[5]" identifier [ number_literal ]) ))) ;) })) (expression_statement "free(param_1);" (call_expression "free(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 { (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 (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void dispose_var_context(undefined4 *param_1)\n\n{\n  if ((void *)*param_1 != (void *)0x0) {\n    free((void *)*param_1);\n  }\n  if (param_1[5] != 0) {\n    hash_flush(param_1[5],dispose_variable);\n    hash_dispose(param_1[5]);\n  }\n  free(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "dispose_var_context(undefined4 *param_1)" (identifier "dispose_var_context") (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 (param_1[5] != 0) {\n    hash_flush(param_1[5],dispose_variable);\n    hash_dispose(param_1[5]);\n  }\n  free(param_1);\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 (param_1[5] != 0) {\n    hash_flush(param_1[5],dispose_variable);\n    hash_dispose(param_1[5]);\n  }" (if "if") (parenthesized_expression "(param_1[5] != 0)" (( "(") (binary_expression "param_1[5] != 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    hash_flush(param_1[5],dispose_variable);\n    hash_dispose(param_1[5]);\n  }" ({ "{") (expression_statement "hash_flush(param_1[5],dispose_variable);" (call_expression "hash_flush(param_1[5],dispose_variable)" (identifier "hash_flush") (argument_list "(param_1[5],dispose_variable)" (( "(") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (, ",") (identifier "dispose_variable") () ")"))) (; ";")) (expression_statement "hash_dispose(param_1[5]);" (call_expression "hash_dispose(param_1[5])" (identifier "hash_dispose") (argument_list "(param_1[5])" (( "(") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "free(param_1);" (call_expression "free(param_1)" (identifier "free") (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 */
/* WARNING: Unknown calling convention */

void function_1(type_1 *vc)

{
  if (vc->name != (char *)0x0) {
    var_1(vc->name);
  }
  if (vc->table != (type_2 *)0x0) {
    var_2(vc->table,free_variable_hash_data);
    var_3(vc->table);
  }
  var_1(vc);
  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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (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(undefined4 *param_1)

{
  if ((void *)*param_1 != (void *)0x0) {
    free((void *)*param_1);
  }
  if (param_1[5] != 0) {
    hash_flush(param_1[5],dispose_variable);
    hash_dispose(param_1[5]);
  }
  free(param_1);
  return;
}

