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

int add_oid_section(CONF *conf)

{
  char *section;
  stack_st_CONF_VALUE *psVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  
  section = NCONF_get_string((CONF *)conf,(char *)0x0,"oid_section");
  if (section == (char *)0x0) {
    ERR_clear_error();
    return 1;
  }
  iVar4 = 0;
  psVar1 = NCONF_get_section((CONF *)conf,section);
  if (psVar1 == (stack_st_CONF_VALUE *)0x0) {
    BIO_printf((BIO *)bio_err,"problem loading oid section %s\n",section);
    iVar4 = 0;
  }
  else {
    while( true ) {
      iVar3 = OPENSSL_sk_num(psVar1);
      if (iVar3 <= iVar4) break;
      iVar3 = OPENSSL_sk_value(psVar1,iVar4);
      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));
      if (iVar2 == 0) {
        BIO_printf((BIO *)bio_err,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),
                   *(undefined4 *)(iVar3 + 8));
        return 0;
      }
      iVar4 = iVar4 + 1;
    }
    iVar4 = 1;
  }
  return iVar4;
}



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

undefined4 FUN_00073330(CONF *param_1)

{
  char *section;
  stack_st_CONF_VALUE *psVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  
  section = NCONF_get_string(param_1,(char *)0x0,"oid_section");
  if (section == (char *)0x0) {
    ERR_clear_error();
    return 1;
  }
  iVar5 = 0;
  psVar1 = NCONF_get_section(param_1,section);
  if (psVar1 == (stack_st_CONF_VALUE *)0x0) {
    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);
    uVar4 = 0;
  }
  else {
    while( true ) {
      iVar3 = OPENSSL_sk_num(psVar1);
      if (iVar3 <= iVar5) break;
      iVar3 = OPENSSL_sk_value(psVar1,iVar5);
      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));
      if (iVar2 == 0) {
        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),
                   *(undefined4 *)(iVar3 + 8));
        return 0;
      }
      iVar5 = iVar5 + 1;
    }
    uVar4 = 1;
  }
  return uVar4;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0002c7d0
ADD EBX,0x4973f
SUB ESP,0x20
MOV ESI,dword ptr [ESP + 0x34]
LEA EAX,[EBX + 0xfffd4f9d]
PUSH EAX
PUSH 0x0
PUSH ESI
CALL 0x0002aa40
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00073400
SUB ESP,0x8
MOV EBP,EAX
PUSH EAX
PUSH ESI
XOR ESI,ESI
CALL 0x0002b6d0
ADD ESP,0x10
MOV EDI,EAX
TEST EAX,EAX
JNZ 0x000733a6
JMP 0x00073418
SUB ESP,0x8
PUSH ESI
PUSH EDI
CALL 0x00027140
ADD ESP,0xc
MOV EBP,EAX
MOV EAX,dword ptr [EAX + 0x4]
PUSH EAX
PUSH EAX
PUSH dword ptr [EBP + 0x8]
CALL 0x00029690
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000733c8
ADD ESI,0x1
SUB ESP,0xc
PUSH EDI
CALL 0x0002b920
ADD ESP,0x10
CMP ESI,EAX
JL 0x00073380
MOV EDX,0x1
ADD ESP,0x1c
MOV EAX,EDX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [ESP + 0xc],EAX
LEA EAX,[EBX + 0xfffd5558]
PUSH dword ptr [EBP + 0x8]
PUSH dword ptr [EBP + 0x4]
PUSH EAX
LEA EAX,[EBX + 0x7b14]
PUSH dword ptr [EAX]
CALL 0x00027240
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
ADD ESP,0x1c
POP EBX
MOV EAX,EDX
POP ESI
POP EDI
POP EBP
RET
CALL 0x00027d00
ADD ESP,0x1c
MOV EDX,0x1
POP EBX
MOV EAX,EDX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffd5538]
PUSH EBP
PUSH EAX
LEA EAX,[EBX + 0x7b14]
PUSH dword ptr [EAX]
CALL 0x00027240
ADD ESP,0x10
XOR EDX,EDX
JMP 0x000733bb
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00073330(CONF *param_1)\n\n{\n  char *section;\n  stack_st_CONF_VALUE *psVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  section = NCONF_get_string(param_1,(char *)0x0,"oid_section");\n  if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }\n  iVar5 = 0;\n  psVar1 = NCONF_get_section(param_1,section);\n  if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);\n    uVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }\n  return uVar4;\n}\n\n" comment (function_definition "undefined4 FUN_00073330(CONF *param_1)\n\n{\n  char *section;\n  stack_st_CONF_VALUE *psVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  section = NCONF_get_string(param_1,(char *)0x0,"oid_section");\n  if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }\n  iVar5 = 0;\n  psVar1 = NCONF_get_section(param_1,section);\n  if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);\n    uVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }\n  return uVar4;\n}" type_identifier (function_declarator "FUN_00073330(CONF *param_1)" identifier (parameter_list "(CONF *param_1)" ( (parameter_declaration "CONF *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *section;\n  stack_st_CONF_VALUE *psVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  section = NCONF_get_string(param_1,(char *)0x0,"oid_section");\n  if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }\n  iVar5 = 0;\n  psVar1 = NCONF_get_section(param_1,section);\n  if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);\n    uVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }\n  return uVar4;\n}" { (declaration "char *section;" primitive_type (pointer_declarator "*section" * identifier) ;) (declaration "stack_st_CONF_VALUE *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "section = NCONF_get_string(param_1,(char *)0x0,"oid_section");" (assignment_expression "section = NCONF_get_string(param_1,(char *)0x0,"oid_section")" identifier = (call_expression "NCONF_get_string(param_1,(char *)0x0,"oid_section")" identifier (argument_list "(param_1,(char *)0x0,"oid_section")" ( identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (string_literal ""oid_section"" " string_content ") )))) ;) (if_statement "if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }" if (parenthesized_expression "(section == (char *)0x0)" ( (binary_expression "section == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ERR_clear_error();\n    return 1;\n  }" { (expression_statement "ERR_clear_error();" (call_expression "ERR_clear_error()" identifier (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "psVar1 = NCONF_get_section(param_1,section);" (assignment_expression "psVar1 = NCONF_get_section(param_1,section)" identifier = (call_expression "NCONF_get_section(param_1,section)" identifier (argument_list "(param_1,section)" ( identifier , identifier )))) ;) (if_statement "if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);\n    uVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }" if (parenthesized_expression "(psVar1 == (stack_st_CONF_VALUE *)0x0)" ( (binary_expression "psVar1 == (stack_st_CONF_VALUE *)0x0" identifier == (cast_expression "(stack_st_CONF_VALUE *)0x0" ( (type_descriptor "stack_st_CONF_VALUE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);\n    uVar4 = 0;\n  }" { (expression_statement "BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);" (call_expression "BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section)" identifier (argument_list "(DAT_000c458c,"problem loading oid section %s\n",section)" ( identifier , (string_literal ""problem loading oid section %s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }" else (compound_statement "{\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }" { (while_statement "while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }" { (expression_statement "iVar3 = OPENSSL_sk_num(psVar1);" (assignment_expression "iVar3 = OPENSSL_sk_num(psVar1)" identifier = (call_expression "OPENSSL_sk_num(psVar1)" identifier (argument_list "(psVar1)" ( identifier )))) ;) (if_statement "if (iVar3 <= iVar5) break;" if (parenthesized_expression "(iVar3 <= iVar5)" ( (binary_expression "iVar3 <= iVar5" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = OPENSSL_sk_value(psVar1,iVar5);" (assignment_expression "iVar3 = OPENSSL_sk_value(psVar1,iVar5)" identifier = (call_expression "OPENSSL_sk_value(psVar1,iVar5)" identifier (argument_list "(psVar1,iVar5)" ( identifier , identifier )))) ;) (expression_statement "iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));" (assignment_expression "iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4))" identifier = (call_expression "OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4))" identifier (argument_list "(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4))" ( (pointer_expression "*(char **)(iVar3 + 8)" * (cast_expression "(char **)(iVar3 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) , (pointer_expression "*(char **)(iVar3 + 4)" * (cast_expression "(char **)(iVar3 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) , (pointer_expression "*(char **)(iVar3 + 4)" * (cast_expression "(char **)(iVar3 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }" { (expression_statement "BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));" (call_expression "BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8))" identifier (argument_list "(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8))" ( identifier , (string_literal ""problem creating object %s=%s\n"" " string_content escape_sequence ") , (pointer_expression "*(undefined4 *)(iVar3 + 4)" * (cast_expression "(undefined4 *)(iVar3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }))) (return_statement "return uVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint add_oid_section(CONF *conf)\n\n{\n  char *section;\n  stack_st_CONF_VALUE *psVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  section = NCONF_get_string((CONF *)conf,(char *)0x0,"oid_section");\n  if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }\n  iVar4 = 0;\n  psVar1 = NCONF_get_section((CONF *)conf,section);\n  if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf((BIO *)bio_err,"problem loading oid section %s\n",section);\n    iVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar4) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar4);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf((BIO *)bio_err,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar4 = iVar4 + 1;\n    }\n    iVar4 = 1;\n  }\n  return iVar4;\n}\n\n" comment comment (function_definition "int add_oid_section(CONF *conf)\n\n{\n  char *section;\n  stack_st_CONF_VALUE *psVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  section = NCONF_get_string((CONF *)conf,(char *)0x0,"oid_section");\n  if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }\n  iVar4 = 0;\n  psVar1 = NCONF_get_section((CONF *)conf,section);\n  if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf((BIO *)bio_err,"problem loading oid section %s\n",section);\n    iVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar4) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar4);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf((BIO *)bio_err,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar4 = iVar4 + 1;\n    }\n    iVar4 = 1;\n  }\n  return iVar4;\n}" primitive_type (function_declarator "add_oid_section(CONF *conf)" identifier (parameter_list "(CONF *conf)" ( (parameter_declaration "CONF *conf" type_identifier (pointer_declarator "*conf" * identifier)) ))) (compound_statement "{\n  char *section;\n  stack_st_CONF_VALUE *psVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  section = NCONF_get_string((CONF *)conf,(char *)0x0,"oid_section");\n  if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }\n  iVar4 = 0;\n  psVar1 = NCONF_get_section((CONF *)conf,section);\n  if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf((BIO *)bio_err,"problem loading oid section %s\n",section);\n    iVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar4) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar4);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf((BIO *)bio_err,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar4 = iVar4 + 1;\n    }\n    iVar4 = 1;\n  }\n  return iVar4;\n}" { (declaration "char *section;" primitive_type (pointer_declarator "*section" * identifier) ;) (declaration "stack_st_CONF_VALUE *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "section = NCONF_get_string((CONF *)conf,(char *)0x0,"oid_section");" (assignment_expression "section = NCONF_get_string((CONF *)conf,(char *)0x0,"oid_section")" identifier = (call_expression "NCONF_get_string((CONF *)conf,(char *)0x0,"oid_section")" identifier (argument_list "((CONF *)conf,(char *)0x0,"oid_section")" ( (cast_expression "(CONF *)conf" ( (type_descriptor "CONF *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (string_literal ""oid_section"" " string_content ") )))) ;) (if_statement "if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }" if (parenthesized_expression "(section == (char *)0x0)" ( (binary_expression "section == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ERR_clear_error();\n    return 1;\n  }" { (expression_statement "ERR_clear_error();" (call_expression "ERR_clear_error()" identifier (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "psVar1 = NCONF_get_section((CONF *)conf,section);" (assignment_expression "psVar1 = NCONF_get_section((CONF *)conf,section)" identifier = (call_expression "NCONF_get_section((CONF *)conf,section)" identifier (argument_list "((CONF *)conf,section)" ( (cast_expression "(CONF *)conf" ( (type_descriptor "CONF *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) (if_statement "if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf((BIO *)bio_err,"problem loading oid section %s\n",section);\n    iVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar4) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar4);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf((BIO *)bio_err,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar4 = iVar4 + 1;\n    }\n    iVar4 = 1;\n  }" if (parenthesized_expression "(psVar1 == (stack_st_CONF_VALUE *)0x0)" ( (binary_expression "psVar1 == (stack_st_CONF_VALUE *)0x0" identifier == (cast_expression "(stack_st_CONF_VALUE *)0x0" ( (type_descriptor "stack_st_CONF_VALUE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    BIO_printf((BIO *)bio_err,"problem loading oid section %s\n",section);\n    iVar4 = 0;\n  }" { (expression_statement "BIO_printf((BIO *)bio_err,"problem loading oid section %s\n",section);" (call_expression "BIO_printf((BIO *)bio_err,"problem loading oid section %s\n",section)" identifier (argument_list "((BIO *)bio_err,"problem loading oid section %s\n",section)" ( (cast_expression "(BIO *)bio_err" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""problem loading oid section %s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar4) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar4);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf((BIO *)bio_err,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar4 = iVar4 + 1;\n    }\n    iVar4 = 1;\n  }" else (compound_statement "{\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar4) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar4);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf((BIO *)bio_err,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar4 = iVar4 + 1;\n    }\n    iVar4 = 1;\n  }" { (while_statement "while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar4) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar4);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf((BIO *)bio_err,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar4 = iVar4 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar4) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar4);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf((BIO *)bio_err,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar4 = iVar4 + 1;\n    }" { (expression_statement "iVar3 = OPENSSL_sk_num(psVar1);" (assignment_expression "iVar3 = OPENSSL_sk_num(psVar1)" identifier = (call_expression "OPENSSL_sk_num(psVar1)" identifier (argument_list "(psVar1)" ( identifier )))) ;) (if_statement "if (iVar3 <= iVar4) break;" if (parenthesized_expression "(iVar3 <= iVar4)" ( (binary_expression "iVar3 <= iVar4" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = OPENSSL_sk_value(psVar1,iVar4);" (assignment_expression "iVar3 = OPENSSL_sk_value(psVar1,iVar4)" identifier = (call_expression "OPENSSL_sk_value(psVar1,iVar4)" identifier (argument_list "(psVar1,iVar4)" ( identifier , identifier )))) ;) (expression_statement "iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));" (assignment_expression "iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4))" identifier = (call_expression "OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4))" identifier (argument_list "(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4))" ( (pointer_expression "*(char **)(iVar3 + 8)" * (cast_expression "(char **)(iVar3 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) , (pointer_expression "*(char **)(iVar3 + 4)" * (cast_expression "(char **)(iVar3 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) , (pointer_expression "*(char **)(iVar3 + 4)" * (cast_expression "(char **)(iVar3 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 == 0) {\n        BIO_printf((BIO *)bio_err,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        BIO_printf((BIO *)bio_err,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }" { (expression_statement "BIO_printf((BIO *)bio_err,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));" (call_expression "BIO_printf((BIO *)bio_err,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8))" identifier (argument_list "((BIO *)bio_err,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8))" ( (cast_expression "(BIO *)bio_err" ( (type_descriptor "BIO *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""problem creating object %s=%s\n"" " string_content escape_sequence ") , (pointer_expression "*(undefined4 *)(iVar3 + 4)" * (cast_expression "(undefined4 *)(iVar3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }))) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "undefined4 FUN_00073330(CONF *param_1)\n\n{\n  char *section;\n  stack_st_CONF_VALUE *psVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  section = NCONF_get_string(param_1,(char *)0x0,"oid_section");\n  if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }\n  iVar5 = 0;\n  psVar1 = NCONF_get_section(param_1,section);\n  if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);\n    uVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }\n  return uVar4;\n}\n\n" (function_definition "undefined4 FUN_00073330(CONF *param_1)\n\n{\n  char *section;\n  stack_st_CONF_VALUE *psVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  section = NCONF_get_string(param_1,(char *)0x0,"oid_section");\n  if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }\n  iVar5 = 0;\n  psVar1 = NCONF_get_section(param_1,section);\n  if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);\n    uVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }\n  return uVar4;\n}" type_identifier (function_declarator "FUN_00073330(CONF *param_1)" identifier (parameter_list "(CONF *param_1)" ( (parameter_declaration "CONF *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *section;\n  stack_st_CONF_VALUE *psVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  section = NCONF_get_string(param_1,(char *)0x0,"oid_section");\n  if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }\n  iVar5 = 0;\n  psVar1 = NCONF_get_section(param_1,section);\n  if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);\n    uVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }\n  return uVar4;\n}" { (declaration "char *section;" primitive_type (pointer_declarator "*section" * identifier) ;) (declaration "stack_st_CONF_VALUE *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "section = NCONF_get_string(param_1,(char *)0x0,"oid_section");" (assignment_expression "section = NCONF_get_string(param_1,(char *)0x0,"oid_section")" identifier = (call_expression "NCONF_get_string(param_1,(char *)0x0,"oid_section")" identifier (argument_list "(param_1,(char *)0x0,"oid_section")" ( identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (string_literal ""oid_section"" " string_content ") )))) ;) (if_statement "if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }" if (parenthesized_expression "(section == (char *)0x0)" ( (binary_expression "section == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ERR_clear_error();\n    return 1;\n  }" { (expression_statement "ERR_clear_error();" (call_expression "ERR_clear_error()" identifier (argument_list "()" ( ))) ;) (return_statement "return 1;" return number_literal ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "psVar1 = NCONF_get_section(param_1,section);" (assignment_expression "psVar1 = NCONF_get_section(param_1,section)" identifier = (call_expression "NCONF_get_section(param_1,section)" identifier (argument_list "(param_1,section)" ( identifier , identifier )))) ;) (if_statement "if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);\n    uVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }" if (parenthesized_expression "(psVar1 == (stack_st_CONF_VALUE *)0x0)" ( (binary_expression "psVar1 == (stack_st_CONF_VALUE *)0x0" identifier == (cast_expression "(stack_st_CONF_VALUE *)0x0" ( (type_descriptor "stack_st_CONF_VALUE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);\n    uVar4 = 0;\n  }" { (expression_statement "BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);" (call_expression "BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section)" identifier (argument_list "(DAT_000c458c,"problem loading oid section %s\n",section)" ( identifier , (string_literal ""problem loading oid section %s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }" else (compound_statement "{\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }" { (while_statement "while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }" { (expression_statement "iVar3 = OPENSSL_sk_num(psVar1);" (assignment_expression "iVar3 = OPENSSL_sk_num(psVar1)" identifier = (call_expression "OPENSSL_sk_num(psVar1)" identifier (argument_list "(psVar1)" ( identifier )))) ;) (if_statement "if (iVar3 <= iVar5) break;" if (parenthesized_expression "(iVar3 <= iVar5)" ( (binary_expression "iVar3 <= iVar5" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar3 = OPENSSL_sk_value(psVar1,iVar5);" (assignment_expression "iVar3 = OPENSSL_sk_value(psVar1,iVar5)" identifier = (call_expression "OPENSSL_sk_value(psVar1,iVar5)" identifier (argument_list "(psVar1,iVar5)" ( identifier , identifier )))) ;) (expression_statement "iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));" (assignment_expression "iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4))" identifier = (call_expression "OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4))" identifier (argument_list "(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4))" ( (pointer_expression "*(char **)(iVar3 + 8)" * (cast_expression "(char **)(iVar3 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) , (pointer_expression "*(char **)(iVar3 + 4)" * (cast_expression "(char **)(iVar3 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) , (pointer_expression "*(char **)(iVar3 + 4)" * (cast_expression "(char **)(iVar3 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }" { (expression_statement "BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));" (call_expression "BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8))" identifier (argument_list "(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8))" ( identifier , (string_literal ""problem creating object %s=%s\n"" " string_content escape_sequence ") , (pointer_expression "*(undefined4 *)(iVar3 + 4)" * (cast_expression "(undefined4 *)(iVar3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) ))) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }))) (return_statement "return uVar4;" return identifier ;) })))
(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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_00073330(CONF *param_1)\n\n{\n  char *section;\n  stack_st_CONF_VALUE *psVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  section = NCONF_get_string(param_1,(char *)0x0,"oid_section");\n  if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }\n  iVar5 = 0;\n  psVar1 = NCONF_get_section(param_1,section);\n  if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);\n    uVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }\n  return uVar4;\n}" (type_identifier "undefined4") (function_declarator "FUN_00073330(CONF *param_1)" (identifier "FUN_00073330") (parameter_list "(CONF *param_1)" (( "(") (parameter_declaration "CONF *param_1" (type_identifier "CONF") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char *section;\n  stack_st_CONF_VALUE *psVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  \n  section = NCONF_get_string(param_1,(char *)0x0,"oid_section");\n  if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }\n  iVar5 = 0;\n  psVar1 = NCONF_get_section(param_1,section);\n  if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);\n    uVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }\n  return uVar4;\n}" ({ "{") (declaration "char *section;" (primitive_type "char") (pointer_declarator "*section" (* "*") (identifier "section")) (; ";")) (declaration "stack_st_CONF_VALUE *psVar1;" (type_identifier "stack_st_CONF_VALUE") (pointer_declarator "*psVar1" (* "*") (identifier "psVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (expression_statement "section = NCONF_get_string(param_1,(char *)0x0,"oid_section");" (assignment_expression "section = NCONF_get_string(param_1,(char *)0x0,"oid_section")" (identifier "section") (= "=") (call_expression "NCONF_get_string(param_1,(char *)0x0,"oid_section")" (identifier "NCONF_get_string") (argument_list "(param_1,(char *)0x0,"oid_section")" (( "(") (identifier "param_1") (, ",") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (, ",") (string_literal ""oid_section"" (" """) (string_content "oid_section") (" """)) () ")")))) (; ";")) (if_statement "if (section == (char *)0x0) {\n    ERR_clear_error();\n    return 1;\n  }" (if "if") (parenthesized_expression "(section == (char *)0x0)" (( "(") (binary_expression "section == (char *)0x0" (identifier "section") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    ERR_clear_error();\n    return 1;\n  }" ({ "{") (expression_statement "ERR_clear_error();" (call_expression "ERR_clear_error()" (identifier "ERR_clear_error") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "psVar1 = NCONF_get_section(param_1,section);" (assignment_expression "psVar1 = NCONF_get_section(param_1,section)" (identifier "psVar1") (= "=") (call_expression "NCONF_get_section(param_1,section)" (identifier "NCONF_get_section") (argument_list "(param_1,section)" (( "(") (identifier "param_1") (, ",") (identifier "section") () ")")))) (; ";")) (if_statement "if (psVar1 == (stack_st_CONF_VALUE *)0x0) {\n    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);\n    uVar4 = 0;\n  }\n  else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }" (if "if") (parenthesized_expression "(psVar1 == (stack_st_CONF_VALUE *)0x0)" (( "(") (binary_expression "psVar1 == (stack_st_CONF_VALUE *)0x0" (identifier "psVar1") (== "==") (cast_expression "(stack_st_CONF_VALUE *)0x0" (( "(") (type_descriptor "stack_st_CONF_VALUE *" (type_identifier "stack_st_CONF_VALUE") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);\n    uVar4 = 0;\n  }" ({ "{") (expression_statement "BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);" (call_expression "BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section)" (identifier "BIO_printf") (argument_list "(DAT_000c458c,"problem loading oid section %s\n",section)" (( "(") (identifier "DAT_000c458c") (, ",") (string_literal ""problem loading oid section %s\n"" (" """) (string_content "problem loading oid section %s") (escape_sequence "\n") (" """)) (, ",") (identifier "section") () ")"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }" (else "else") (compound_statement "{\n    while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uVar4 = 1;\n  }" ({ "{") (while_statement "while( true ) {\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar3 = OPENSSL_sk_num(psVar1);\n      if (iVar3 <= iVar5) break;\n      iVar3 = OPENSSL_sk_value(psVar1,iVar5);\n      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));\n      if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }\n      iVar5 = iVar5 + 1;\n    }" ({ "{") (expression_statement "iVar3 = OPENSSL_sk_num(psVar1);" (assignment_expression "iVar3 = OPENSSL_sk_num(psVar1)" (identifier "iVar3") (= "=") (call_expression "OPENSSL_sk_num(psVar1)" (identifier "OPENSSL_sk_num") (argument_list "(psVar1)" (( "(") (identifier "psVar1") () ")")))) (; ";")) (if_statement "if (iVar3 <= iVar5) break;" (if "if") (parenthesized_expression "(iVar3 <= iVar5)" (( "(") (binary_expression "iVar3 <= iVar5" (identifier "iVar3") (<= "<=") (identifier "iVar5")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar3 = OPENSSL_sk_value(psVar1,iVar5);" (assignment_expression "iVar3 = OPENSSL_sk_value(psVar1,iVar5)" (identifier "iVar3") (= "=") (call_expression "OPENSSL_sk_value(psVar1,iVar5)" (identifier "OPENSSL_sk_value") (argument_list "(psVar1,iVar5)" (( "(") (identifier "psVar1") (, ",") (identifier "iVar5") () ")")))) (; ";")) (expression_statement "iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));" (assignment_expression "iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4))" (identifier "iVar2") (= "=") (call_expression "OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4))" (identifier "OBJ_create") (argument_list "(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4))" (( "(") (pointer_expression "*(char **)(iVar3 + 8)" (* "*") (cast_expression "(char **)(iVar3 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (, ",") (pointer_expression "*(char **)(iVar3 + 4)" (* "*") (cast_expression "(char **)(iVar3 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 4)" (( "(") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(char **)(iVar3 + 4)" (* "*") (cast_expression "(char **)(iVar3 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 4)" (( "(") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));\n        return 0;\n      }" ({ "{") (expression_statement "BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8));" (call_expression "BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8))" (identifier "BIO_printf") (argument_list "(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),\n                   *(undefined4 *)(iVar3 + 8))" (( "(") (identifier "DAT_000c458c") (, ",") (string_literal ""problem creating object %s=%s\n"" (" """) (string_content "problem creating object %s=%s") (escape_sequence "\n") (" """)) (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 4)" (( "(") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (} "}")))) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}")))

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

int function_1(type_1 *conf)

{
  char *var_2;
  type_2 *var_5;
  int var_12;
  int var_8;
  int var_9;
  
  var_2 = var_1((type_1 *)conf,(char *)0x0,"oid_section");
  if (var_2 == (char *)0x0) {
    var_3();
    return 1;
  }
  var_9 = 0;
  var_5 = var_4((type_1 *)conf,var_2);
  if (var_5 == (type_2 *)0x0) {
    var_6((type_3 *)bio_err,"problem loading oid section %s\n",var_2);
    var_9 = 0;
  }
  else {
    while( true ) {
      var_8 = var_7(var_5);
      if (var_8 <= var_9) break;
      var_8 = var_10(var_5,var_9);
      var_12 = var_11(*(char **)(var_8 + 8),*(char **)(var_8 + 4),*(char **)(var_8 + 4));
      if (var_12 == 0) {
        var_6((type_3 *)bio_err,"problem creating object %s=%s\n",*(type_4 *)(var_8 + 4),
                   *(type_4 *)(var_8 + 8));
        return 0;
      }
      var_9 = var_9 + 1;
    }
    var_9 = 1;
  }
  return var_9;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (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: (identifier) arguments: (argument_list (identifier) (string_literal (string_content) (escape_sequence)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content) (escape_sequence)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

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

undefined4 MASKED(CONF *param_1)

{
  char *section;
  stack_st_CONF_VALUE *psVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  
  section = NCONF_get_string(param_1,(char *)0x0,"oid_section");
  if (section == (char *)0x0) {
    ERR_clear_error();
    return 1;
  }
  iVar5 = 0;
  psVar1 = NCONF_get_section(param_1,section);
  if (psVar1 == (stack_st_CONF_VALUE *)0x0) {
    BIO_printf(DAT_000c458c,"problem loading oid section %s\n",section);
    uVar4 = 0;
  }
  else {
    while( true ) {
      iVar3 = OPENSSL_sk_num(psVar1);
      if (iVar3 <= iVar5) break;
      iVar3 = OPENSSL_sk_value(psVar1,iVar5);
      iVar2 = OBJ_create(*(char **)(iVar3 + 8),*(char **)(iVar3 + 4),*(char **)(iVar3 + 4));
      if (iVar2 == 0) {
        BIO_printf(DAT_000c458c,"problem creating object %s=%s\n",*(undefined4 *)(iVar3 + 4),
                   *(undefined4 *)(iVar3 + 8));
        return 0;
      }
      iVar5 = iVar5 + 1;
    }
    uVar4 = 1;
  }
  return uVar4;
}

