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

void policies_print(X509_STORE_CTX *ctx)

{
  X509_POLICY_TREE *tree;
  int iVar1;
  stack_st_X509_POLICY_NODE *psVar2;
  char *pcVar3;
  
  tree = X509_STORE_CTX_get0_policy_tree((X509_STORE_CTX *)ctx);
  iVar1 = X509_STORE_CTX_get_explicit_policy((X509_STORE_CTX *)ctx);
  pcVar3 = "True";
  if (iVar1 == 0) {
    pcVar3 = "False";
  }
  BIO_printf((BIO *)bio_err,"Require explicit Policy: %s\n",pcVar3);
  psVar2 = (stack_st_X509_POLICY_NODE *)X509_policy_tree_get0_policies(tree);
  nodes_print("Authority",psVar2);
  psVar2 = (stack_st_X509_POLICY_NODE *)X509_policy_tree_get0_user_policies(tree);
  nodes_print("User",psVar2);
  return;
}



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

void FUN_00075380(X509_STORE_CTX *param_1)

{
  X509_POLICY_TREE *tree;
  int iVar1;
  char *pcVar2;
  
  tree = X509_STORE_CTX_get0_policy_tree(param_1);
  iVar1 = X509_STORE_CTX_get_explicit_policy(param_1);
  pcVar2 = "True";
  if (iVar1 == 0) {
    pcVar2 = "False";
  }
  BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2);
  X509_policy_tree_get0_policies(tree);
  FUN_00072de0();
  X509_policy_tree_get0_user_policies(tree);
  FUN_00072de0();
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x0002c7d0
ADD EBX,0x476ec
SUB ESP,0xc
PUSH EDI
CALL 0x0002c1b0
MOV dword ptr [ESP],EDI
MOV ESI,EAX
CALL 0x0002bc40
ADD ESP,0xc
LEA ECX,[EBX + 0xfffd5152]
LEA EDX,[EBX + 0xfffd514d]
TEST EAX,EAX
LEA EAX,[EBX + 0xfffd5158]
CMOVZ EDX,ECX
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0x7b14]
PUSH dword ptr [EAX]
CALL 0x00027240
MOV dword ptr [ESP],ESI
CALL 0x00029d80
MOV EDX,EAX
LEA EAX,[EBX + 0xfffd5175]
CALL 0x00072de0
MOV dword ptr [ESP],ESI
CALL 0x000297f0
ADD ESP,0x10
MOV EDX,EAX
LEA EAX,[EBX + 0xfffd517f]
POP EBX
POP ESI
POP EDI
JMP 0x00072de0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00075380(X509_STORE_CTX *param_1)\n\n{\n  X509_POLICY_TREE *tree;\n  int iVar1;\n  char *pcVar2;\n  \n  tree = X509_STORE_CTX_get0_policy_tree(param_1);\n  iVar1 = X509_STORE_CTX_get_explicit_policy(param_1);\n  pcVar2 = "True";\n  if (iVar1 == 0) {\n    pcVar2 = "False";\n  }\n  BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2);\n  X509_policy_tree_get0_policies(tree);\n  FUN_00072de0();\n  X509_policy_tree_get0_user_policies(tree);\n  FUN_00072de0();\n  return;\n}\n\n" comment (function_definition "void FUN_00075380(X509_STORE_CTX *param_1)\n\n{\n  X509_POLICY_TREE *tree;\n  int iVar1;\n  char *pcVar2;\n  \n  tree = X509_STORE_CTX_get0_policy_tree(param_1);\n  iVar1 = X509_STORE_CTX_get_explicit_policy(param_1);\n  pcVar2 = "True";\n  if (iVar1 == 0) {\n    pcVar2 = "False";\n  }\n  BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2);\n  X509_policy_tree_get0_policies(tree);\n  FUN_00072de0();\n  X509_policy_tree_get0_user_policies(tree);\n  FUN_00072de0();\n  return;\n}" primitive_type (function_declarator "FUN_00075380(X509_STORE_CTX *param_1)" identifier (parameter_list "(X509_STORE_CTX *param_1)" ( (parameter_declaration "X509_STORE_CTX *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  X509_POLICY_TREE *tree;\n  int iVar1;\n  char *pcVar2;\n  \n  tree = X509_STORE_CTX_get0_policy_tree(param_1);\n  iVar1 = X509_STORE_CTX_get_explicit_policy(param_1);\n  pcVar2 = "True";\n  if (iVar1 == 0) {\n    pcVar2 = "False";\n  }\n  BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2);\n  X509_policy_tree_get0_policies(tree);\n  FUN_00072de0();\n  X509_policy_tree_get0_user_policies(tree);\n  FUN_00072de0();\n  return;\n}" { (declaration "X509_POLICY_TREE *tree;" type_identifier (pointer_declarator "*tree" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "tree = X509_STORE_CTX_get0_policy_tree(param_1);" (assignment_expression "tree = X509_STORE_CTX_get0_policy_tree(param_1)" identifier = (call_expression "X509_STORE_CTX_get0_policy_tree(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "iVar1 = X509_STORE_CTX_get_explicit_policy(param_1);" (assignment_expression "iVar1 = X509_STORE_CTX_get_explicit_policy(param_1)" identifier = (call_expression "X509_STORE_CTX_get_explicit_policy(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "pcVar2 = "True";" (assignment_expression "pcVar2 = "True"" identifier = (string_literal ""True"" " string_content ")) ;) (if_statement "if (iVar1 == 0) {\n    pcVar2 = "False";\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar2 = "False";\n  }" { (expression_statement "pcVar2 = "False";" (assignment_expression "pcVar2 = "False"" identifier = (string_literal ""False"" " string_content ")) ;) })) (expression_statement "BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2);" (call_expression "BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2)" identifier (argument_list "(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2)" ( identifier , (string_literal ""Require explicit Policy: %s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "X509_policy_tree_get0_policies(tree);" (call_expression "X509_policy_tree_get0_policies(tree)" identifier (argument_list "(tree)" ( identifier ))) ;) (expression_statement "FUN_00072de0();" (call_expression "FUN_00072de0()" identifier (argument_list "()" ( ))) ;) (expression_statement "X509_policy_tree_get0_user_policies(tree);" (call_expression "X509_policy_tree_get0_user_policies(tree)" identifier (argument_list "(tree)" ( identifier ))) ;) (expression_statement "FUN_00072de0();" (call_expression "FUN_00072de0()" identifier (argument_list "()" ( ))) ;) (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 policies_print(X509_STORE_CTX *ctx)\n\n{\n  X509_POLICY_TREE *tree;\n  int iVar1;\n  stack_st_X509_POLICY_NODE *psVar2;\n  char *pcVar3;\n  \n  tree = X509_STORE_CTX_get0_policy_tree((X509_STORE_CTX *)ctx);\n  iVar1 = X509_STORE_CTX_get_explicit_policy((X509_STORE_CTX *)ctx);\n  pcVar3 = "True";\n  if (iVar1 == 0) {\n    pcVar3 = "False";\n  }\n  BIO_printf((BIO *)bio_err,"Require explicit Policy: %s\n",pcVar3);\n  psVar2 = (stack_st_X509_POLICY_NODE *)X509_policy_tree_get0_policies(tree);\n  nodes_print("Authority",psVar2);\n  psVar2 = (stack_st_X509_POLICY_NODE *)X509_policy_tree_get0_user_policies(tree);\n  nodes_print("User",psVar2);\n  return;\n}\n\n" comment comment (function_definition "void policies_print(X509_STORE_CTX *ctx)\n\n{\n  X509_POLICY_TREE *tree;\n  int iVar1;\n  stack_st_X509_POLICY_NODE *psVar2;\n  char *pcVar3;\n  \n  tree = X509_STORE_CTX_get0_policy_tree((X509_STORE_CTX *)ctx);\n  iVar1 = X509_STORE_CTX_get_explicit_policy((X509_STORE_CTX *)ctx);\n  pcVar3 = "True";\n  if (iVar1 == 0) {\n    pcVar3 = "False";\n  }\n  BIO_printf((BIO *)bio_err,"Require explicit Policy: %s\n",pcVar3);\n  psVar2 = (stack_st_X509_POLICY_NODE *)X509_policy_tree_get0_policies(tree);\n  nodes_print("Authority",psVar2);\n  psVar2 = (stack_st_X509_POLICY_NODE *)X509_policy_tree_get0_user_policies(tree);\n  nodes_print("User",psVar2);\n  return;\n}" primitive_type (function_declarator "policies_print(X509_STORE_CTX *ctx)" identifier (parameter_list "(X509_STORE_CTX *ctx)" ( (parameter_declaration "X509_STORE_CTX *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) ))) (compound_statement "{\n  X509_POLICY_TREE *tree;\n  int iVar1;\n  stack_st_X509_POLICY_NODE *psVar2;\n  char *pcVar3;\n  \n  tree = X509_STORE_CTX_get0_policy_tree((X509_STORE_CTX *)ctx);\n  iVar1 = X509_STORE_CTX_get_explicit_policy((X509_STORE_CTX *)ctx);\n  pcVar3 = "True";\n  if (iVar1 == 0) {\n    pcVar3 = "False";\n  }\n  BIO_printf((BIO *)bio_err,"Require explicit Policy: %s\n",pcVar3);\n  psVar2 = (stack_st_X509_POLICY_NODE *)X509_policy_tree_get0_policies(tree);\n  nodes_print("Authority",psVar2);\n  psVar2 = (stack_st_X509_POLICY_NODE *)X509_policy_tree_get0_user_policies(tree);\n  nodes_print("User",psVar2);\n  return;\n}" { (declaration "X509_POLICY_TREE *tree;" type_identifier (pointer_declarator "*tree" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "stack_st_X509_POLICY_NODE *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (expression_statement "tree = X509_STORE_CTX_get0_policy_tree((X509_STORE_CTX *)ctx);" (assignment_expression "tree = X509_STORE_CTX_get0_policy_tree((X509_STORE_CTX *)ctx)" identifier = (call_expression "X509_STORE_CTX_get0_policy_tree((X509_STORE_CTX *)ctx)" identifier (argument_list "((X509_STORE_CTX *)ctx)" ( (cast_expression "(X509_STORE_CTX *)ctx" ( (type_descriptor "X509_STORE_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "iVar1 = X509_STORE_CTX_get_explicit_policy((X509_STORE_CTX *)ctx);" (assignment_expression "iVar1 = X509_STORE_CTX_get_explicit_policy((X509_STORE_CTX *)ctx)" identifier = (call_expression "X509_STORE_CTX_get_explicit_policy((X509_STORE_CTX *)ctx)" identifier (argument_list "((X509_STORE_CTX *)ctx)" ( (cast_expression "(X509_STORE_CTX *)ctx" ( (type_descriptor "X509_STORE_CTX *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "pcVar3 = "True";" (assignment_expression "pcVar3 = "True"" identifier = (string_literal ""True"" " string_content ")) ;) (if_statement "if (iVar1 == 0) {\n    pcVar3 = "False";\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar3 = "False";\n  }" { (expression_statement "pcVar3 = "False";" (assignment_expression "pcVar3 = "False"" identifier = (string_literal ""False"" " string_content ")) ;) })) (expression_statement "BIO_printf((BIO *)bio_err,"Require explicit Policy: %s\n",pcVar3);" (call_expression "BIO_printf((BIO *)bio_err,"Require explicit Policy: %s\n",pcVar3)" identifier (argument_list "((BIO *)bio_err,"Require explicit Policy: %s\n",pcVar3)" ( (cast_expression "(BIO *)bio_err" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""Require explicit Policy: %s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "psVar2 = (stack_st_X509_POLICY_NODE *)X509_policy_tree_get0_policies(tree);" (assignment_expression "psVar2 = (stack_st_X509_POLICY_NODE *)X509_policy_tree_get0_policies(tree)" identifier = (cast_expression "(stack_st_X509_POLICY_NODE *)X509_policy_tree_get0_policies(tree)" ( (type_descriptor "stack_st_X509_POLICY_NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "X509_policy_tree_get0_policies(tree)" identifier (argument_list "(tree)" ( identifier ))))) ;) (expression_statement "nodes_print("Authority",psVar2);" (call_expression "nodes_print("Authority",psVar2)" identifier (argument_list "("Authority",psVar2)" ( (string_literal ""Authority"" " string_content ") , identifier ))) ;) (expression_statement "psVar2 = (stack_st_X509_POLICY_NODE *)X509_policy_tree_get0_user_policies(tree);" (assignment_expression "psVar2 = (stack_st_X509_POLICY_NODE *)X509_policy_tree_get0_user_policies(tree)" identifier = (cast_expression "(stack_st_X509_POLICY_NODE *)X509_policy_tree_get0_user_policies(tree)" ( (type_descriptor "stack_st_X509_POLICY_NODE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "X509_policy_tree_get0_user_policies(tree)" identifier (argument_list "(tree)" ( identifier ))))) ;) (expression_statement "nodes_print("User",psVar2);" (call_expression "nodes_print("User",psVar2)" identifier (argument_list "("User",psVar2)" ( (string_literal ""User"" " string_content ") , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00075380(X509_STORE_CTX *param_1)\n\n{\n  X509_POLICY_TREE *tree;\n  int iVar1;\n  char *pcVar2;\n  \n  tree = X509_STORE_CTX_get0_policy_tree(param_1);\n  iVar1 = X509_STORE_CTX_get_explicit_policy(param_1);\n  pcVar2 = "True";\n  if (iVar1 == 0) {\n    pcVar2 = "False";\n  }\n  BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2);\n  X509_policy_tree_get0_policies(tree);\n  FUN_00072de0();\n  X509_policy_tree_get0_user_policies(tree);\n  FUN_00072de0();\n  return;\n}\n\n" (function_definition "void FUN_00075380(X509_STORE_CTX *param_1)\n\n{\n  X509_POLICY_TREE *tree;\n  int iVar1;\n  char *pcVar2;\n  \n  tree = X509_STORE_CTX_get0_policy_tree(param_1);\n  iVar1 = X509_STORE_CTX_get_explicit_policy(param_1);\n  pcVar2 = "True";\n  if (iVar1 == 0) {\n    pcVar2 = "False";\n  }\n  BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2);\n  X509_policy_tree_get0_policies(tree);\n  FUN_00072de0();\n  X509_policy_tree_get0_user_policies(tree);\n  FUN_00072de0();\n  return;\n}" primitive_type (function_declarator "FUN_00075380(X509_STORE_CTX *param_1)" identifier (parameter_list "(X509_STORE_CTX *param_1)" ( (parameter_declaration "X509_STORE_CTX *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  X509_POLICY_TREE *tree;\n  int iVar1;\n  char *pcVar2;\n  \n  tree = X509_STORE_CTX_get0_policy_tree(param_1);\n  iVar1 = X509_STORE_CTX_get_explicit_policy(param_1);\n  pcVar2 = "True";\n  if (iVar1 == 0) {\n    pcVar2 = "False";\n  }\n  BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2);\n  X509_policy_tree_get0_policies(tree);\n  FUN_00072de0();\n  X509_policy_tree_get0_user_policies(tree);\n  FUN_00072de0();\n  return;\n}" { (declaration "X509_POLICY_TREE *tree;" type_identifier (pointer_declarator "*tree" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "tree = X509_STORE_CTX_get0_policy_tree(param_1);" (assignment_expression "tree = X509_STORE_CTX_get0_policy_tree(param_1)" identifier = (call_expression "X509_STORE_CTX_get0_policy_tree(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "iVar1 = X509_STORE_CTX_get_explicit_policy(param_1);" (assignment_expression "iVar1 = X509_STORE_CTX_get_explicit_policy(param_1)" identifier = (call_expression "X509_STORE_CTX_get_explicit_policy(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "pcVar2 = "True";" (assignment_expression "pcVar2 = "True"" identifier = (string_literal ""True"" " string_content ")) ;) (if_statement "if (iVar1 == 0) {\n    pcVar2 = "False";\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    pcVar2 = "False";\n  }" { (expression_statement "pcVar2 = "False";" (assignment_expression "pcVar2 = "False"" identifier = (string_literal ""False"" " string_content ")) ;) })) (expression_statement "BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2);" (call_expression "BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2)" identifier (argument_list "(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2)" ( identifier , (string_literal ""Require explicit Policy: %s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "X509_policy_tree_get0_policies(tree);" (call_expression "X509_policy_tree_get0_policies(tree)" identifier (argument_list "(tree)" ( identifier ))) ;) (expression_statement "FUN_00072de0();" (call_expression "FUN_00072de0()" identifier (argument_list "()" ( ))) ;) (expression_statement "X509_policy_tree_get0_user_policies(tree);" (call_expression "X509_policy_tree_get0_user_policies(tree)" identifier (argument_list "(tree)" ( identifier ))) ;) (expression_statement "FUN_00072de0();" (call_expression "FUN_00072de0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00075380(X509_STORE_CTX *param_1)\n\n{\n  X509_POLICY_TREE *tree;\n  int iVar1;\n  char *pcVar2;\n  \n  tree = X509_STORE_CTX_get0_policy_tree(param_1);\n  iVar1 = X509_STORE_CTX_get_explicit_policy(param_1);\n  pcVar2 = "True";\n  if (iVar1 == 0) {\n    pcVar2 = "False";\n  }\n  BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2);\n  X509_policy_tree_get0_policies(tree);\n  FUN_00072de0();\n  X509_policy_tree_get0_user_policies(tree);\n  FUN_00072de0();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00075380(X509_STORE_CTX *param_1)" (identifier "FUN_00075380") (parameter_list "(X509_STORE_CTX *param_1)" (( "(") (parameter_declaration "X509_STORE_CTX *param_1" (type_identifier "X509_STORE_CTX") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  X509_POLICY_TREE *tree;\n  int iVar1;\n  char *pcVar2;\n  \n  tree = X509_STORE_CTX_get0_policy_tree(param_1);\n  iVar1 = X509_STORE_CTX_get_explicit_policy(param_1);\n  pcVar2 = "True";\n  if (iVar1 == 0) {\n    pcVar2 = "False";\n  }\n  BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2);\n  X509_policy_tree_get0_policies(tree);\n  FUN_00072de0();\n  X509_policy_tree_get0_user_policies(tree);\n  FUN_00072de0();\n  return;\n}" ({ "{") (declaration "X509_POLICY_TREE *tree;" (type_identifier "X509_POLICY_TREE") (pointer_declarator "*tree" (* "*") (identifier "tree")) (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (expression_statement "tree = X509_STORE_CTX_get0_policy_tree(param_1);" (assignment_expression "tree = X509_STORE_CTX_get0_policy_tree(param_1)" (identifier "tree") (= "=") (call_expression "X509_STORE_CTX_get0_policy_tree(param_1)" (identifier "X509_STORE_CTX_get0_policy_tree") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "iVar1 = X509_STORE_CTX_get_explicit_policy(param_1);" (assignment_expression "iVar1 = X509_STORE_CTX_get_explicit_policy(param_1)" (identifier "iVar1") (= "=") (call_expression "X509_STORE_CTX_get_explicit_policy(param_1)" (identifier "X509_STORE_CTX_get_explicit_policy") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "pcVar2 = "True";" (assignment_expression "pcVar2 = "True"" (identifier "pcVar2") (= "=") (string_literal ""True"" (" """) (string_content "True") (" """))) (; ";")) (if_statement "if (iVar1 == 0) {\n    pcVar2 = "False";\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    pcVar2 = "False";\n  }" ({ "{") (expression_statement "pcVar2 = "False";" (assignment_expression "pcVar2 = "False"" (identifier "pcVar2") (= "=") (string_literal ""False"" (" """) (string_content "False") (" """))) (; ";")) (} "}"))) (expression_statement "BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2);" (call_expression "BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2)" (identifier "BIO_printf") (argument_list "(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2)" (( "(") (identifier "DAT_000c458c") (, ",") (string_literal ""Require explicit Policy: %s\n"" (" """) (string_content "Require explicit Policy: %s") (escape_sequence "\n") (" """)) (, ",") (identifier "pcVar2") () ")"))) (; ";")) (expression_statement "X509_policy_tree_get0_policies(tree);" (call_expression "X509_policy_tree_get0_policies(tree)" (identifier "X509_policy_tree_get0_policies") (argument_list "(tree)" (( "(") (identifier "tree") () ")"))) (; ";")) (expression_statement "FUN_00072de0();" (call_expression "FUN_00072de0()" (identifier "FUN_00072de0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "X509_policy_tree_get0_user_policies(tree);" (call_expression "X509_policy_tree_get0_user_policies(tree)" (identifier "X509_policy_tree_get0_user_policies") (argument_list "(tree)" (( "(") (identifier "tree") () ")"))) (; ";")) (expression_statement "FUN_00072de0();" (call_expression "FUN_00072de0()" (identifier "FUN_00072de0") (argument_list "()" (( "(") () ")"))) (; ";")) (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 *ctx)

{
  type_2 *tree;
  int var_3;
  type_3 *psVar2;
  char *pcVar3;
  
  tree = var_1((type_1 *)ctx);
  var_3 = var_2((type_1 *)ctx);
  pcVar3 = "True";
  if (var_3 == 0) {
    pcVar3 = "False";
  }
  var_4((type_4 *)bio_err,"Require explicit Policy: %s\n",pcVar3);
  psVar2 = (type_3 *)var_5(tree);
  var_6("Authority",psVar2);
  psVar2 = (type_3 *)var_7(tree);
  var_6("User",psVar2);
  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 (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content) (escape_sequence)) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (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(X509_STORE_CTX *param_1)

{
  X509_POLICY_TREE *tree;
  int iVar1;
  char *pcVar2;
  
  tree = X509_STORE_CTX_get0_policy_tree(param_1);
  iVar1 = X509_STORE_CTX_get_explicit_policy(param_1);
  pcVar2 = "True";
  if (iVar1 == 0) {
    pcVar2 = "False";
  }
  BIO_printf(DAT_000c458c,"Require explicit Policy: %s\n",pcVar2);
  X509_policy_tree_get0_policies(tree);
  FUN_00072de0();
  X509_policy_tree_get0_user_policies(tree);
  FUN_00072de0();
  return;
}

