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

int _init(EVP_PKEY_CTX *ctx)

{
  undefined *puVar1;
  
  puVar1 = PTR___gmon_start___00027fe8;
  if (PTR___gmon_start___00027fe8 != (undefined *)0x0) {
    puVar1 = (undefined *)__gmon_start__();
  }
  return (int)puVar1;
}



void __regparm3 _DT_INIT(undefined4 param_1,undefined4 param_2)

{
  int unaff_EBX;
  
  entry(param_2,0x11795);
  if (*(int *)(unaff_EBX + 0x16853) != 0) {
    __gmon_start__();
  }
  return;
}


PUSH EBX
SUB ESP,0x8
CALL 0x00011aa0
ADD EBX,0x1686b
MOV EAX,dword ptr [EBX + 0xffffffe8]
TEST EAX,EAX
JZ 0x000117aa
CALL 0x00011a98
ADD ESP,0x8
POP EBX
RET
(translation_unit "void __regparm3 _DT_INIT(undefined4 param_1,undefined4 param_2)\n\n{\n  int unaff_EBX;\n  \n  entry(param_2,0x11795);\n  if (*(int *)(unaff_EBX + 0x16853) != 0) {\n    __gmon_start__();\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 _DT_INIT(undefined4 param_1,undefined4 param_2)\n\n{\n  int unaff_EBX;\n  \n  entry(param_2,0x11795);\n  if (*(int *)(unaff_EBX + 0x16853) != 0) {\n    __gmon_start__();\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "_DT_INIT(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int unaff_EBX;\n  \n  entry(param_2,0x11795);\n  if (*(int *)(unaff_EBX + 0x16853) != 0) {\n    __gmon_start__();\n  }\n  return;\n}" { (declaration "int unaff_EBX;" primitive_type identifier ;) (expression_statement "entry(param_2,0x11795);" (call_expression "entry(param_2,0x11795)" identifier (argument_list "(param_2,0x11795)" ( identifier , number_literal ))) ;) (if_statement "if (*(int *)(unaff_EBX + 0x16853) != 0) {\n    __gmon_start__();\n  }" if (parenthesized_expression "(*(int *)(unaff_EBX + 0x16853) != 0)" ( (binary_expression "*(int *)(unaff_EBX + 0x16853) != 0" (pointer_expression "*(int *)(unaff_EBX + 0x16853)" * (cast_expression "(int *)(unaff_EBX + 0x16853)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBX + 0x16853)" ( (binary_expression "unaff_EBX + 0x16853" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    __gmon_start__();\n  }" { (expression_statement "__gmon_start__();" (call_expression "__gmon_start__()" 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  undefined *puVar1;\n  \n  puVar1 = PTR___gmon_start___00027fe8;\n  if (PTR___gmon_start___00027fe8 != (undefined *)0x0) {\n    puVar1 = (undefined *)__gmon_start__();\n  }\n  return (int)puVar1;\n}\n\n" comment (function_definition "int _init(EVP_PKEY_CTX *ctx)\n\n{\n  undefined *puVar1;\n  \n  puVar1 = PTR___gmon_start___00027fe8;\n  if (PTR___gmon_start___00027fe8 != (undefined *)0x0) {\n    puVar1 = (undefined *)__gmon_start__();\n  }\n  return (int)puVar1;\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  undefined *puVar1;\n  \n  puVar1 = PTR___gmon_start___00027fe8;\n  if (PTR___gmon_start___00027fe8 != (undefined *)0x0) {\n    puVar1 = (undefined *)__gmon_start__();\n  }\n  return (int)puVar1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "puVar1 = PTR___gmon_start___00027fe8;" (assignment_expression "puVar1 = PTR___gmon_start___00027fe8" identifier = identifier) ;) (if_statement "if (PTR___gmon_start___00027fe8 != (undefined *)0x0) {\n    puVar1 = (undefined *)__gmon_start__();\n  }" if (parenthesized_expression "(PTR___gmon_start___00027fe8 != (undefined *)0x0)" ( (binary_expression "PTR___gmon_start___00027fe8 != (undefined *)0x0" identifier != (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar1 = (undefined *)__gmon_start__();\n  }" { (expression_statement "puVar1 = (undefined *)__gmon_start__();" (assignment_expression "puVar1 = (undefined *)__gmon_start__()" identifier = (cast_expression "(undefined *)__gmon_start__()" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__gmon_start__()" identifier (argument_list "()" ( ))))) ;) })) (return_statement "return (int)puVar1;" return (cast_expression "(int)puVar1" ( (type_descriptor "int" primitive_type) ) identifier) ;) })))
(translation_unit "void __regparm3 _DT_INIT(undefined4 param_1,undefined4 param_2)\n\n{\n  int unaff_EBX;\n  \n  entry(param_2,0x11795);\n  if (*(int *)(unaff_EBX + 0x16853) != 0) {\n    __gmon_start__();\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 _DT_INIT(undefined4 param_1,undefined4 param_2)\n\n{\n  int unaff_EBX;\n  \n  entry(param_2,0x11795);\n  if (*(int *)(unaff_EBX + 0x16853) != 0) {\n    __gmon_start__();\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "_DT_INIT(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int unaff_EBX;\n  \n  entry(param_2,0x11795);\n  if (*(int *)(unaff_EBX + 0x16853) != 0) {\n    __gmon_start__();\n  }\n  return;\n}" { (declaration "int unaff_EBX;" primitive_type identifier ;) (expression_statement "entry(param_2,0x11795);" (call_expression "entry(param_2,0x11795)" identifier (argument_list "(param_2,0x11795)" ( identifier , number_literal ))) ;) (if_statement "if (*(int *)(unaff_EBX + 0x16853) != 0) {\n    __gmon_start__();\n  }" if (parenthesized_expression "(*(int *)(unaff_EBX + 0x16853) != 0)" ( (binary_expression "*(int *)(unaff_EBX + 0x16853) != 0" (pointer_expression "*(int *)(unaff_EBX + 0x16853)" * (cast_expression "(int *)(unaff_EBX + 0x16853)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBX + 0x16853)" ( (binary_expression "unaff_EBX + 0x16853" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    __gmon_start__();\n  }" { (expression_statement "__gmon_start__();" (call_expression "__gmon_start__()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 _DT_INIT(undefined4 param_1,undefined4 param_2)\n\n{\n  int unaff_EBX;\n  \n  entry(param_2,0x11795);\n  if (*(int *)(unaff_EBX + 0x16853) != 0) {\n    __gmon_start__();\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "_DT_INIT(undefined4 param_1,undefined4 param_2)" (identifier "_DT_INIT") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int unaff_EBX;\n  \n  entry(param_2,0x11795);\n  if (*(int *)(unaff_EBX + 0x16853) != 0) {\n    __gmon_start__();\n  }\n  return;\n}" ({ "{") (declaration "int unaff_EBX;" (primitive_type "int") (identifier "unaff_EBX") (; ";")) (expression_statement "entry(param_2,0x11795);" (call_expression "entry(param_2,0x11795)" (identifier "entry") (argument_list "(param_2,0x11795)" (( "(") (identifier "param_2") (, ",") (number_literal "0x11795") () ")"))) (; ";")) (if_statement "if (*(int *)(unaff_EBX + 0x16853) != 0) {\n    __gmon_start__();\n  }" (if "if") (parenthesized_expression "(*(int *)(unaff_EBX + 0x16853) != 0)" (( "(") (binary_expression "*(int *)(unaff_EBX + 0x16853) != 0" (pointer_expression "*(int *)(unaff_EBX + 0x16853)" (* "*") (cast_expression "(int *)(unaff_EBX + 0x16853)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBX + 0x16853)" (( "(") (binary_expression "unaff_EBX + 0x16853" (identifier "unaff_EBX") (+ "+") (number_literal "0x16853")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    __gmon_start__();\n  }" ({ "{") (expression_statement "__gmon_start__();" (call_expression "__gmon_start__()" (identifier "__gmon_start__") (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)

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


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

void __regparm3 MASKED(undefined4 param_1,undefined4 param_2)

{
  int unaff_EBX;
  
  entry(param_2,0x11795);
  if (*(int *)(unaff_EBX + 0x16853) != 0) {
    __gmon_start__();
  }
  return;
}

