{"type": "func", "start": 8362748, "end": 8362964, "name": "ERR_load_strings", "pseudocode": "// \n// ERR_load_strings from 0x7f9afc to 0x7f9bd4 (216 bytes)\n// \n// 59 xrefs:\n// > ERR_load_SSL_strings @ 0x7bd150\n// > ERR_load_SSL_strings @ 0x7bd15c\n// > ERR_load_EVP_strings @ 0x8b73bc\n// > ERR_load_EVP_strings @ 0x8b73c8\n// > ERR_load_KDF_strings @ 0x8b8bcc\n// > ERR_load_KDF_strings @ 0x8b8bd8\n// > ERR_load_OBJ_strings @ 0x8b8f50\n// > ERR_load_OBJ_strings @ 0x8b8f5c\n// > ERR_load_OCSP_strings @ 0x8b8f94\n// > ERR_load_OCSP_strings @ 0x8b8fa0\n// > ERR_load_PEM_strings @ 0x8b9f10\n// > ERR_load_PEM_strings @ 0x8b9f1c\n// > ERR_load_PKCS12_strings @ 0x8bbd3c\n// > ERR_load_PKCS12_strings @ 0x8bbd48\n// > ERR_load_PKCS7_strings @ 0x8bc084\n// > ERR_load_PKCS7_strings @ 0x8bc090\n// > ERR_load_RAND_strings @ 0x8bd7b8\n// > ERR_load_RAND_strings @ 0x8bd7c4\n// > ERR_load_RSA_strings @ 0x8bf924\n// > ERR_load_RSA_strings @ 0x8bf930\n// > ERR_load_TS_strings @ 0x8c2ba8\n// > ERR_load_TS_strings @ 0x8c2bb4\n// > ERR_load_UI_strings @ 0x8c2bec\n// > ERR_load_UI_strings @ 0x8c2bf8\n// > ERR_load_X509_strings @ 0x8c3278\n// > ERR_load_X509_strings @ 0x8c3284\n// > ERR_load_X509V3_strings @ 0x8c47ac\n// > ERR_load_X509V3_strings @ 0x8c47b8\n// > ERR_load_ASN1_strings @ 0x8c4848\n// > ERR_load_ASN1_strings @ 0x8c4854\n// > ERR_load_ASYNC_strings @ 0x8c7b20\n// > ERR_load_ASYNC_strings @ 0x8c7b2c\n// > ERR_load_BIO_strings @ 0x8c906c\n// > ERR_load_BIO_strings @ 0x8c9078\n// > ERR_load_BN_strings @ 0x8c9168\n// > ERR_load_BN_strings @ 0x8c9174\n// > ERR_load_BUF_strings @ 0x8cb7b8\n// > ERR_load_BUF_strings @ 0x8cb7c8\n// > ERR_load_CMS_strings @ 0x8cfb04\n// > ERR_load_CMS_strings @ 0x8cfb10\n// > ERR_load_COMP_strings @ 0x8cfb48\n// > ERR_load_COMP_strings @ 0x8cfb54\n// > ERR_load_CONF_strings @ 0x8cfb8c\n// > ERR_load_CONF_strings @ 0x8cfb98\n// > ERR_load_CRYPTO_strings @ 0x8cfbd0\n// > ERR_load_CRYPTO_strings @ 0x8cfbdc\n// > ERR_load_CT_strings @ 0x8cfc14\n// > ERR_load_CT_strings @ 0x8cfc20\n// > ERR_load_DH_strings @ 0x8d0884\n// > ERR_load_DH_strings @ 0x8d0890\n// > ERR_load_DSA_strings @ 0x8d0e70\n// > ERR_load_DSA_strings @ 0x8d0e7c\n// > ERR_load_DSO_strings @ 0x8d0ff4\n// > ERR_load_DSO_strings @ 0x8d1000\n// > ERR_load_EC_strings @ 0x8d1be4\n// > ERR_load_EC_strings @ 0x8d1bf0\n// > ERR_load_ENGINE_strings @ 0x8d1c28\n// > ERR_load_ENGINE_strings @ 0x8d1c34\n// > <???> @ 0x5e10c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall ERR_load_strings(int a1, int *a2)\n{\n  int result; // r0\n  int v5; // r0\n  int v6; // r3\n  bool v7; // zf\n  int v8; // r5\n  int v9; // t1\n  int v10; // t1\n\n  result = ERR_load_ERR_strings();\n  if ( result )\n  {\n    CRYPTO_THREAD_write_lock(dword_AD2EB0);\n    v5 = dword_AD2EC4;\n    if ( dword_AD2EC4 || (v5 = OPENSSL_LH_new(sub_7F96B4, sub_7F96F8), (dword_AD2EC4 = v5) != 0) )\n    {\n      v6 = *a2;\n      if ( *a2 )\n      {\n        v7 = a1 == 0;\n        v8 = a1 << 24;\n        if ( v7 )\n        {\n          while ( 1 )\n          {\n            OPENSSL_LH_insert(v5, a2);\n            v9 = a2[2];\n            a2 += 2;\n            if ( !v9 )\n              break;\n            v5 = dword_AD2EC4;\n          }\n        }\n        else\n        {\n          while ( 1 )\n          {\n            *a2 = v6 | v8;\n            OPENSSL_LH_insert(v5, a2);\n            v10 = a2[2];\n            a2 += 2;\n            v6 = v10;\n            if ( !v10 )\n              break;\n            v5 = dword_AD2EC4;\n          }\n        }\n      }\n    }\n    CRYPTO_THREAD_unlock(dword_AD2EB0);\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; ERR_load_strings from 0x7f9afc to 0x7f9bd4 (216 bytes)\n; \n; 59 xrefs:\n; > ERR_load_SSL_strings @ 0x7bd150\n; > ERR_load_SSL_strings @ 0x7bd15c\n; > ERR_load_EVP_strings @ 0x8b73bc\n; > ERR_load_EVP_strings @ 0x8b73c8\n; > ERR_load_KDF_strings @ 0x8b8bcc\n; > ERR_load_KDF_strings @ 0x8b8bd8\n; > ERR_load_OBJ_strings @ 0x8b8f50\n; > ERR_load_OBJ_strings @ 0x8b8f5c\n; > ERR_load_OCSP_strings @ 0x8b8f94\n; > ERR_load_OCSP_strings @ 0x8b8fa0\n; > ERR_load_PEM_strings @ 0x8b9f10\n; > ERR_load_PEM_strings @ 0x8b9f1c\n; > ERR_load_PKCS12_strings @ 0x8bbd3c\n; > ERR_load_PKCS12_strings @ 0x8bbd48\n; > ERR_load_PKCS7_strings @ 0x8bc084\n; > ERR_load_PKCS7_strings @ 0x8bc090\n; > ERR_load_RAND_strings @ 0x8bd7b8\n; > ERR_load_RAND_strings @ 0x8bd7c4\n; > ERR_load_RSA_strings @ 0x8bf924\n; > ERR_load_RSA_strings @ 0x8bf930\n; > ERR_load_TS_strings @ 0x8c2ba8\n; > ERR_load_TS_strings @ 0x8c2bb4\n; > ERR_load_UI_strings @ 0x8c2bec\n; > ERR_load_UI_strings @ 0x8c2bf8\n; > ERR_load_X509_strings @ 0x8c3278\n; > ERR_load_X509_strings @ 0x8c3284\n; > ERR_load_X509V3_strings @ 0x8c47ac\n; > ERR_load_X509V3_strings @ 0x8c47b8\n; > ERR_load_ASN1_strings @ 0x8c4848\n; > ERR_load_ASN1_strings @ 0x8c4854\n; > ERR_load_ASYNC_strings @ 0x8c7b20\n; > ERR_load_ASYNC_strings @ 0x8c7b2c\n; > ERR_load_BIO_strings @ 0x8c906c\n; > ERR_load_BIO_strings @ 0x8c9078\n; > ERR_load_BN_strings @ 0x8c9168\n; > ERR_load_BN_strings @ 0x8c9174\n; > ERR_load_BUF_strings @ 0x8cb7b8\n; > ERR_load_BUF_strings @ 0x8cb7c8\n; > ERR_load_CMS_strings @ 0x8cfb04\n; > ERR_load_CMS_strings @ 0x8cfb10\n; > ERR_load_COMP_strings @ 0x8cfb48\n; > ERR_load_COMP_strings @ 0x8cfb54\n; > ERR_load_CONF_strings @ 0x8cfb8c\n; > ERR_load_CONF_strings @ 0x8cfb98\n; > ERR_load_CRYPTO_strings @ 0x8cfbd0\n; > ERR_load_CRYPTO_strings @ 0x8cfbdc\n; > ERR_load_CT_strings @ 0x8cfc14\n; > ERR_load_CT_strings @ 0x8cfc20\n; > ERR_load_DH_strings @ 0x8d0884\n; > ERR_load_DH_strings @ 0x8d0890\n; > ERR_load_DSA_strings @ 0x8d0e70\n; > ERR_load_DSA_strings @ 0x8d0e7c\n; > ERR_load_DSO_strings @ 0x8d0ff4\n; > ERR_load_DSO_strings @ 0x8d1000\n; > ERR_load_EC_strings @ 0x8d1be4\n; > ERR_load_EC_strings @ 0x8d1bf0\n; > ERR_load_ENGINE_strings @ 0x8d1c28\n; > ERR_load_ENGINE_strings @ 0x8d1c34\n; > <???> @ 0x5e10c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x7f9afc\nMOV             R5, R0                                                 ; +0x4, 0x7f9b00\nMOV             R4, R1                                                 ; +0x8, 0x7f9b04\nBL              ERR_load_ERR_strings                                   ; +0xc, 0x7f9b08\nCMP             R0, #0                                                 ; +0x10, 0x7f9b0c\nPOPEQ           {R4-R6,PC}                                             ; +0x14, 0x7f9b10\nLDR             R6, =(dword_AD2EB0 - 0x7F9B20)                         ; +0x18, 0x7f9b14\nADD             R6, PC, R6; dword_AD2EB0                               ; +0x1c, 0x7f9b18\nLDR             R0, [R6]                                               ; +0x20, 0x7f9b1c\nBL              CRYPTO_THREAD_write_lock                               ; +0x24, 0x7f9b20\nLDR             R0, [R6,#(dword_AD2EC4 - 0xAD2EB0)]                    ; +0x28, 0x7f9b24\nCMP             R0, #0                                                 ; +0x2c, 0x7f9b28\nBEQ             loc_7F9BB0                                             ; +0x30, 0x7f9b2c\nLDR             R3, [R4]                                               ; +0x34, 0x7f9b30\nCMP             R3, #0                                                 ; +0x38, 0x7f9b34\nBEQ             loc_7F9B6C                                             ; +0x3c, 0x7f9b38\nCMP             R5, #0                                                 ; +0x40, 0x7f9b3c\nMOV             R5, R5,LSL#24                                          ; +0x44, 0x7f9b40\nBNE             loc_7F9B80                                             ; +0x48, 0x7f9b44\nLDR             R5, =(dword_AD2EB0 - 0x7F9B54)                         ; +0x4c, 0x7f9b48\nADD             R5, PC, R5; dword_AD2EB0                               ; +0x50, 0x7f9b4c\nB               loc_7F9B58                                             ; +0x54, 0x7f9b50\nLDR             R0, [R5,#(dword_AD2EC4 - 0xAD2EB0)]                    ; +0x58, 0x7f9b54\nMOV             R1, R4                                                 ; +0x5c, 0x7f9b58\nBL              OPENSSL_LH_insert                                      ; +0x60, 0x7f9b5c\nLDR             R3, [R4,#8]!                                           ; +0x64, 0x7f9b60\nCMP             R3, #0                                                 ; +0x68, 0x7f9b64\nBNE             loc_7F9B54                                             ; +0x6c, 0x7f9b68\nLDR             R3, =(dword_AD2EB0 - 0x7F9B78)                         ; +0x70, 0x7f9b6c\nLDR             R0, [PC,R3]; dword_AD2EB0                              ; +0x74, 0x7f9b70\nBL              CRYPTO_THREAD_unlock                                   ; +0x78, 0x7f9b74\nMOV             R0, #1                                                 ; +0x7c, 0x7f9b78\nPOP             {R4-R6,PC}                                             ; +0x80, 0x7f9b7c\nLDR             R6, =(dword_AD2EB0 - 0x7F9B8C)                         ; +0x84, 0x7f9b80\nADD             R6, PC, R6; dword_AD2EB0                               ; +0x88, 0x7f9b84\nB               loc_7F9B90                                             ; +0x8c, 0x7f9b88\nLDR             R0, [R6,#(dword_AD2EC4 - 0xAD2EB0)]                    ; +0x90, 0x7f9b8c\nORR             R3, R3, R5                                             ; +0x94, 0x7f9b90\nSTR             R3, [R4]                                               ; +0x98, 0x7f9b94\nMOV             R1, R4                                                 ; +0x9c, 0x7f9b98\nBL              OPENSSL_LH_insert                                      ; +0xa0, 0x7f9b9c\nLDR             R3, [R4,#8]!                                           ; +0xa4, 0x7f9ba0\nCMP             R3, #0                                                 ; +0xa8, 0x7f9ba4\nBNE             loc_7F9B8C                                             ; +0xac, 0x7f9ba8\nB               loc_7F9B6C                                             ; +0xb0, 0x7f9bac\nLDR             R0, =(sub_7F96B4 - 0x7F9BC0)                           ; +0xb4, 0x7f9bb0\nLDR             R1, =(sub_7F96F8 - 0x7F9BC4)                           ; +0xb8, 0x7f9bb4\nADD             R0, PC, R0; sub_7F96B4                                 ; +0xbc, 0x7f9bb8\nADD             R1, PC, R1; sub_7F96F8                                 ; +0xc0, 0x7f9bbc\nBL              OPENSSL_LH_new                                         ; +0xc4, 0x7f9bc0\nCMP             R0, #0                                                 ; +0xc8, 0x7f9bc4\nSTR             R0, [R6,#(dword_AD2EC4 - 0xAD2EB0)]                    ; +0xcc, 0x7f9bc8\nBEQ             loc_7F9B6C                                             ; +0xd0, 0x7f9bcc\nB               loc_7F9B30                                             ; +0xd4, 0x7f9bd0", "xrefs": ["ERR_load_SSL_strings @ 0x7bd150", "ERR_load_SSL_strings @ 0x7bd15c", "ERR_load_EVP_strings @ 0x8b73bc", "ERR_load_EVP_strings @ 0x8b73c8", "ERR_load_KDF_strings @ 0x8b8bcc", "ERR_load_KDF_strings @ 0x8b8bd8", "ERR_load_OBJ_strings @ 0x8b8f50", "ERR_load_OBJ_strings @ 0x8b8f5c", "ERR_load_OCSP_strings @ 0x8b8f94", "ERR_load_OCSP_strings @ 0x8b8fa0", "ERR_load_PEM_strings @ 0x8b9f10", "ERR_load_PEM_strings @ 0x8b9f1c", "ERR_load_PKCS12_strings @ 0x8bbd3c", "ERR_load_PKCS12_strings @ 0x8bbd48", "ERR_load_PKCS7_strings @ 0x8bc084", "ERR_load_PKCS7_strings @ 0x8bc090", "ERR_load_RAND_strings @ 0x8bd7b8", "ERR_load_RAND_strings @ 0x8bd7c4", "ERR_load_RSA_strings @ 0x8bf924", "ERR_load_RSA_strings @ 0x8bf930", "ERR_load_TS_strings @ 0x8c2ba8", "ERR_load_TS_strings @ 0x8c2bb4", "ERR_load_UI_strings @ 0x8c2bec", "ERR_load_UI_strings @ 0x8c2bf8", "ERR_load_X509_strings @ 0x8c3278", "ERR_load_X509_strings @ 0x8c3284", "ERR_load_X509V3_strings @ 0x8c47ac", "ERR_load_X509V3_strings @ 0x8c47b8", "ERR_load_ASN1_strings @ 0x8c4848", "ERR_load_ASN1_strings @ 0x8c4854", "ERR_load_ASYNC_strings @ 0x8c7b20", "ERR_load_ASYNC_strings @ 0x8c7b2c", "ERR_load_BIO_strings @ 0x8c906c", "ERR_load_BIO_strings @ 0x8c9078", "ERR_load_BN_strings @ 0x8c9168", "ERR_load_BN_strings @ 0x8c9174", "ERR_load_BUF_strings @ 0x8cb7b8", "ERR_load_BUF_strings @ 0x8cb7c8", "ERR_load_CMS_strings @ 0x8cfb04", "ERR_load_CMS_strings @ 0x8cfb10", "ERR_load_COMP_strings @ 0x8cfb48", "ERR_load_COMP_strings @ 0x8cfb54", "ERR_load_CONF_strings @ 0x8cfb8c", "ERR_load_CONF_strings @ 0x8cfb98", "ERR_load_CRYPTO_strings @ 0x8cfbd0", "ERR_load_CRYPTO_strings @ 0x8cfbdc", "ERR_load_CT_strings @ 0x8cfc14", "ERR_load_CT_strings @ 0x8cfc20", "ERR_load_DH_strings @ 0x8d0884", "ERR_load_DH_strings @ 0x8d0890", "ERR_load_DSA_strings @ 0x8d0e70", "ERR_load_DSA_strings @ 0x8d0e7c", "ERR_load_DSO_strings @ 0x8d0ff4", "ERR_load_DSO_strings @ 0x8d1000", "ERR_load_EC_strings @ 0x8d1be4", "ERR_load_EC_strings @ 0x8d1bf0", "ERR_load_ENGINE_strings @ 0x8d1c28", "ERR_load_ENGINE_strings @ 0x8d1c34", "<???> @ 0x5e10c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}