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

int _init(EVP_PKEY_CTX *ctx)

{
  int iVar1;
  
  if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {
    (*(code *)PTR___gmon_start___001c1fcc)();
  }
  frame_dummy();
  iVar1 = __do_global_ctors_aux();
  return iVar1;
}



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

void _DT_INIT(void)

{
  if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {
    (*(code *)PTR___gmon_start___001c1fcc)();
  }
  thunk_FUN_00017ca0();
  FUN_0006f840();
  return;
}


PUSH EBX
SUB ESP,0x8
CALL 0x00017c50
ADD EBX,0x1abff7
MOV EAX,dword ptr [EBX + 0xffffffcc]
TEST EAX,EAX
JZ 0x0001601b
CALL EAX
CALL 0x00017d80
CALL 0x0006f840
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid _DT_INIT(void)\n\n{\n  if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }\n  thunk_FUN_00017ca0();\n  FUN_0006f840();\n  return;\n}\n\n" comment (function_definition "void _DT_INIT(void)\n\n{\n  if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }\n  thunk_FUN_00017ca0();\n  FUN_0006f840();\n  return;\n}" primitive_type (function_declarator "_DT_INIT(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }\n  thunk_FUN_00017ca0();\n  FUN_0006f840();\n  return;\n}" { (if_statement "if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }" if (parenthesized_expression "(PTR___gmon_start___001c1fcc != (undefined *)0x0)" ( (binary_expression "PTR___gmon_start___001c1fcc != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }" { (expression_statement "(*(code *)PTR___gmon_start___001c1fcc)();" (call_expression "(*(code *)PTR___gmon_start___001c1fcc)()" (parenthesized_expression "(*(code *)PTR___gmon_start___001c1fcc)" ( (pointer_expression "*(code *)PTR___gmon_start___001c1fcc" * (cast_expression "(code *)PTR___gmon_start___001c1fcc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "thunk_FUN_00017ca0();" (call_expression "thunk_FUN_00017ca0()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0006f840();" (call_expression "FUN_0006f840()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint _init(EVP_PKEY_CTX *ctx)\n\n{\n  int iVar1;\n  \n  if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }\n  frame_dummy();\n  iVar1 = __do_global_ctors_aux();\n  return iVar1;\n}\n\n" comment (function_definition "int _init(EVP_PKEY_CTX *ctx)\n\n{\n  int iVar1;\n  \n  if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }\n  frame_dummy();\n  iVar1 = __do_global_ctors_aux();\n  return iVar1;\n}" primitive_type (function_declarator "_init(EVP_PKEY_CTX *ctx)" identifier (parameter_list "(EVP_PKEY_CTX *ctx)" ( (parameter_declaration "EVP_PKEY_CTX *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }\n  frame_dummy();\n  iVar1 = __do_global_ctors_aux();\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }" if (parenthesized_expression "(PTR___gmon_start___001c1fcc != (undefined *)0x0)" ( (binary_expression "PTR___gmon_start___001c1fcc != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }" { (expression_statement "(*(code *)PTR___gmon_start___001c1fcc)();" (call_expression "(*(code *)PTR___gmon_start___001c1fcc)()" (parenthesized_expression "(*(code *)PTR___gmon_start___001c1fcc)" ( (pointer_expression "*(code *)PTR___gmon_start___001c1fcc" * (cast_expression "(code *)PTR___gmon_start___001c1fcc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "frame_dummy();" (call_expression "frame_dummy()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar1 = __do_global_ctors_aux();" (assignment_expression "iVar1 = __do_global_ctors_aux()" identifier = (call_expression "__do_global_ctors_aux()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void _DT_INIT(void)\n\n{\n  if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }\n  thunk_FUN_00017ca0();\n  FUN_0006f840();\n  return;\n}\n\n" (function_definition "void _DT_INIT(void)\n\n{\n  if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }\n  thunk_FUN_00017ca0();\n  FUN_0006f840();\n  return;\n}" primitive_type (function_declarator "_DT_INIT(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }\n  thunk_FUN_00017ca0();\n  FUN_0006f840();\n  return;\n}" { (if_statement "if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }" if (parenthesized_expression "(PTR___gmon_start___001c1fcc != (undefined *)0x0)" ( (binary_expression "PTR___gmon_start___001c1fcc != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }" { (expression_statement "(*(code *)PTR___gmon_start___001c1fcc)();" (call_expression "(*(code *)PTR___gmon_start___001c1fcc)()" (parenthesized_expression "(*(code *)PTR___gmon_start___001c1fcc)" ( (pointer_expression "*(code *)PTR___gmon_start___001c1fcc" * (cast_expression "(code *)PTR___gmon_start___001c1fcc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "thunk_FUN_00017ca0();" (call_expression "thunk_FUN_00017ca0()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0006f840();" (call_expression "FUN_0006f840()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void _DT_INIT(void)\n\n{\n  if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }\n  thunk_FUN_00017ca0();\n  FUN_0006f840();\n  return;\n}" (primitive_type "void") (function_declarator "_DT_INIT(void)" (identifier "_DT_INIT") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }\n  thunk_FUN_00017ca0();\n  FUN_0006f840();\n  return;\n}" ({ "{") (if_statement "if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }" (if "if") (parenthesized_expression "(PTR___gmon_start___001c1fcc != (undefined *)0x0)" (( "(") (binary_expression "PTR___gmon_start___001c1fcc != (undefined *)0x0" (identifier "PTR___gmon_start___001c1fcc") (!= "!=") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (*(code *)PTR___gmon_start___001c1fcc)();\n  }" ({ "{") (expression_statement "(*(code *)PTR___gmon_start___001c1fcc)();" (call_expression "(*(code *)PTR___gmon_start___001c1fcc)()" (parenthesized_expression "(*(code *)PTR___gmon_start___001c1fcc)" (( "(") (pointer_expression "*(code *)PTR___gmon_start___001c1fcc" (* "*") (cast_expression "(code *)PTR___gmon_start___001c1fcc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___gmon_start___001c1fcc"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "thunk_FUN_00017ca0();" (call_expression "thunk_FUN_00017ca0()" (identifier "thunk_FUN_00017ca0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0006f840();" (call_expression "FUN_0006f840()" (identifier "FUN_0006f840") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

int function_1(type_1 *ctx)

{
  int iVar1;
  
  if (var_1 != (type_2 *)0x0) {
    (*(type_3 *)var_1)();
  }
  var_2();
  iVar1 = var_3();
  return iVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (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))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

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

void MASKED(void)

{
  if (PTR___gmon_start___001c1fcc != (undefined *)0x0) {
    (*(code *)PTR___gmon_start___001c1fcc)();
  }
  thunk_FUN_00017ca0();
  FUN_0006f840();
  return;
}

