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

void __regparm3 free_ent(fileinfo *f)

{
  free(f->name);
  free(f->linkname);
  free(f->absolute_name);
  if (f->scontext != UNKNOWN_SECURITY_CONTEXT) {
    freecon(f->scontext);
  }
  return;
}



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

void __regparm3 FUN_00014af0(undefined4 *param_1)

{
  free((void *)*param_1);
  free((void *)param_1[1]);
  free((void *)param_1[2]);
  if ((undefined *)param_1[0x1d] != &DAT_0003b1fa) {
    freecon((undefined *)param_1[0x1d]);
  }
  return;
}


PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00014250
ADD EBX,0x26507
SUB ESP,0x10
PUSH dword ptr [EAX]
CALL 0x00012790
POP EAX
PUSH dword ptr [ESI + 0x4]
CALL 0x00012790
POP EDX
PUSH dword ptr [ESI + 0x8]
CALL 0x00012790
MOV EAX,dword ptr [ESI + 0x74]
LEA EDX,[EBX + 0x1fa]
ADD ESP,0x10
CMP EAX,EDX
JZ 0x00014b37
SUB ESP,0xc
PUSH EAX
CALL 0x00012620
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 __regparm3 FUN_00014af0(undefined4 *param_1)\n\n{\n  free((void *)*param_1);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  if ((undefined *)param_1[0x1d] != &DAT_0003b1fa) {\n    freecon((undefined *)param_1[0x1d]);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00014af0(undefined4 *param_1)\n\n{\n  free((void *)*param_1);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  if ((undefined *)param_1[0x1d] != &DAT_0003b1fa) {\n    freecon((undefined *)param_1[0x1d]);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00014af0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  free((void *)*param_1);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  if ((undefined *)param_1[0x1d] != &DAT_0003b1fa) {\n    freecon((undefined *)param_1[0x1d]);\n  }\n  return;\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)) ))) ;) (expression_statement "free((void *)param_1[1]);" (call_expression "free((void *)param_1[1])" identifier (argument_list "((void *)param_1[1])" ( (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)param_1[2]);" (call_expression "free((void *)param_1[2])" identifier (argument_list "((void *)param_1[2])" ( (cast_expression "(void *)param_1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) ))) ;) (if_statement "if ((undefined *)param_1[0x1d] != &DAT_0003b1fa) {\n    freecon((undefined *)param_1[0x1d]);\n  }" if (parenthesized_expression "((undefined *)param_1[0x1d] != &DAT_0003b1fa)" ( (binary_expression "(undefined *)param_1[0x1d] != &DAT_0003b1fa" (cast_expression "(undefined *)param_1[0x1d]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1d]" identifier [ number_literal ])) != (pointer_expression "&DAT_0003b1fa" & identifier)) )) (compound_statement "{\n    freecon((undefined *)param_1[0x1d]);\n  }" { (expression_statement "freecon((undefined *)param_1[0x1d]);" (call_expression "freecon((undefined *)param_1[0x1d])" identifier (argument_list "((undefined *)param_1[0x1d])" ( (cast_expression "(undefined *)param_1[0x1d]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1d]" identifier [ number_literal ])) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 free_ent(fileinfo *f)\n\n{\n  free(f->name);\n  free(f->linkname);\n  free(f->absolute_name);\n  if (f->scontext != UNKNOWN_SECURITY_CONTEXT) {\n    freecon(f->scontext);\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 free_ent(fileinfo *f)\n\n{\n  free(f->name);\n  free(f->linkname);\n  free(f->absolute_name);\n  if (f->scontext != UNKNOWN_SECURITY_CONTEXT) {\n    freecon(f->scontext);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "free_ent(fileinfo *f)" identifier (parameter_list "(fileinfo *f)" ( (parameter_declaration "fileinfo *f" type_identifier (pointer_declarator "*f" * identifier)) ))) (compound_statement "{\n  free(f->name);\n  free(f->linkname);\n  free(f->absolute_name);\n  if (f->scontext != UNKNOWN_SECURITY_CONTEXT) {\n    freecon(f->scontext);\n  }\n  return;\n}" { (expression_statement "free(f->name);" (call_expression "free(f->name)" identifier (argument_list "(f->name)" ( (field_expression "f->name" identifier -> field_identifier) ))) ;) (expression_statement "free(f->linkname);" (call_expression "free(f->linkname)" identifier (argument_list "(f->linkname)" ( (field_expression "f->linkname" identifier -> field_identifier) ))) ;) (expression_statement "free(f->absolute_name);" (call_expression "free(f->absolute_name)" identifier (argument_list "(f->absolute_name)" ( (field_expression "f->absolute_name" identifier -> field_identifier) ))) ;) (if_statement "if (f->scontext != UNKNOWN_SECURITY_CONTEXT) {\n    freecon(f->scontext);\n  }" if (parenthesized_expression "(f->scontext != UNKNOWN_SECURITY_CONTEXT)" ( (binary_expression "f->scontext != UNKNOWN_SECURITY_CONTEXT" (field_expression "f->scontext" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    freecon(f->scontext);\n  }" { (expression_statement "freecon(f->scontext);" (call_expression "freecon(f->scontext)" identifier (argument_list "(f->scontext)" ( (field_expression "f->scontext" identifier -> field_identifier) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00014af0(undefined4 *param_1)\n\n{\n  free((void *)*param_1);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  if ((undefined *)param_1[0x1d] != &DAT_0003b1fa) {\n    freecon((undefined *)param_1[0x1d]);\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00014af0(undefined4 *param_1)\n\n{\n  free((void *)*param_1);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  if ((undefined *)param_1[0x1d] != &DAT_0003b1fa) {\n    freecon((undefined *)param_1[0x1d]);\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00014af0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  free((void *)*param_1);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  if ((undefined *)param_1[0x1d] != &DAT_0003b1fa) {\n    freecon((undefined *)param_1[0x1d]);\n  }\n  return;\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)) ))) ;) (expression_statement "free((void *)param_1[1]);" (call_expression "free((void *)param_1[1])" identifier (argument_list "((void *)param_1[1])" ( (cast_expression "(void *)param_1[1]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) ))) ;) (expression_statement "free((void *)param_1[2]);" (call_expression "free((void *)param_1[2])" identifier (argument_list "((void *)param_1[2])" ( (cast_expression "(void *)param_1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ])) ))) ;) (if_statement "if ((undefined *)param_1[0x1d] != &DAT_0003b1fa) {\n    freecon((undefined *)param_1[0x1d]);\n  }" if (parenthesized_expression "((undefined *)param_1[0x1d] != &DAT_0003b1fa)" ( (binary_expression "(undefined *)param_1[0x1d] != &DAT_0003b1fa" (cast_expression "(undefined *)param_1[0x1d]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1d]" identifier [ number_literal ])) != (pointer_expression "&DAT_0003b1fa" & identifier)) )) (compound_statement "{\n    freecon((undefined *)param_1[0x1d]);\n  }" { (expression_statement "freecon((undefined *)param_1[0x1d]);" (call_expression "freecon((undefined *)param_1[0x1d])" identifier (argument_list "((undefined *)param_1[0x1d])" ( (cast_expression "(undefined *)param_1[0x1d]" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1d]" identifier [ number_literal ])) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (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 ])) != (pointer_expression & IDENT)) )) (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 __regparm3 FUN_00014af0(undefined4 *param_1)\n\n{\n  free((void *)*param_1);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  if ((undefined *)param_1[0x1d] != &DAT_0003b1fa) {\n    freecon((undefined *)param_1[0x1d]);\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00014af0(undefined4 *param_1)" (identifier "FUN_00014af0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  free((void *)*param_1);\n  free((void *)param_1[1]);\n  free((void *)param_1[2]);\n  if ((undefined *)param_1[0x1d] != &DAT_0003b1fa) {\n    freecon((undefined *)param_1[0x1d]);\n  }\n  return;\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"))) () ")"))) (; ";")) (expression_statement "free((void *)param_1[1]);" (call_expression "free((void *)param_1[1])" (identifier "free") (argument_list "((void *)param_1[1])" (( "(") (cast_expression "(void *)param_1[1]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) () ")"))) (; ";")) (expression_statement "free((void *)param_1[2]);" (call_expression "free((void *)param_1[2])" (identifier "free") (argument_list "((void *)param_1[2])" (( "(") (cast_expression "(void *)param_1[2]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) () ")"))) (; ";")) (if_statement "if ((undefined *)param_1[0x1d] != &DAT_0003b1fa) {\n    freecon((undefined *)param_1[0x1d]);\n  }" (if "if") (parenthesized_expression "((undefined *)param_1[0x1d] != &DAT_0003b1fa)" (( "(") (binary_expression "(undefined *)param_1[0x1d] != &DAT_0003b1fa" (cast_expression "(undefined *)param_1[0x1d]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1d]" (identifier "param_1") ([ "[") (number_literal "0x1d") (] "]"))) (!= "!=") (pointer_expression "&DAT_0003b1fa" (& "&") (identifier "DAT_0003b1fa"))) () ")")) (compound_statement "{\n    freecon((undefined *)param_1[0x1d]);\n  }" ({ "{") (expression_statement "freecon((undefined *)param_1[0x1d]);" (call_expression "freecon((undefined *)param_1[0x1d])" (identifier "freecon") (argument_list "((undefined *)param_1[0x1d])" (( "(") (cast_expression "(undefined *)param_1[0x1d]" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1d]" (identifier "param_1") ([ "[") (number_literal "0x1d") (] "]"))) () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *f)

{
  var_1(f->name);
  var_1(f->linkname);
  var_1(f->absolute_name);
  if (f->scontext != var_2) {
    var_3(f->scontext);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (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)))))) (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)))))) (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) 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 __regparm3 MASKED(undefined4 *param_1)

{
  free((void *)*param_1);
  free((void *)param_1[1]);
  free((void *)param_1[2]);
  if ((undefined *)param_1[0x1d] != &DAT_0003b1fa) {
    freecon((undefined *)param_1[0x1d]);
  }
  return;
}

