{"type": "func", "start": 14284984, "end": 14285224, "name": "ERR_load_strings", "pseudocode": "// \n// ERR_load_strings from 0xd9f8b8 to 0xd9f9a8 (240 bytes)\n// \n// 59 xrefs:\n// > ERR_load_SSL_strings @ 0xd635b4\n// > ERR_load_SSL_strings @ 0xd635c0\n// > ERR_load_EVP_strings @ 0xe61484\n// > ERR_load_EVP_strings @ 0xe61490\n// > ERR_load_KDF_strings @ 0xe62ff8\n// > ERR_load_KDF_strings @ 0xe63004\n// > ERR_load_OBJ_strings @ 0xe633e4\n// > ERR_load_OBJ_strings @ 0xe633f0\n// > ERR_load_OCSP_strings @ 0xe6343c\n// > ERR_load_OCSP_strings @ 0xe63448\n// > ERR_load_PEM_strings @ 0xe643ec\n// > ERR_load_PEM_strings @ 0xe643f8\n// > ERR_load_PKCS12_strings @ 0xe66230\n// > ERR_load_PKCS12_strings @ 0xe6623c\n// > ERR_load_PKCS7_strings @ 0xe665c8\n// > ERR_load_PKCS7_strings @ 0xe665d4\n// > ERR_load_RAND_strings @ 0xe68058\n// > ERR_load_RAND_strings @ 0xe68064\n// > ERR_load_RSA_strings @ 0xe6a960\n// > ERR_load_RSA_strings @ 0xe6a96c\n// > ERR_load_TS_strings @ 0xe6e7f8\n// > ERR_load_TS_strings @ 0xe6e804\n// > ERR_load_UI_strings @ 0xe6e850\n// > ERR_load_UI_strings @ 0xe6e85c\n// > ERR_load_X509_strings @ 0xe6ef98\n// > ERR_load_X509_strings @ 0xe6efa4\n// > ERR_load_X509V3_strings @ 0xe70520\n// > ERR_load_X509V3_strings @ 0xe7052c\n// > ERR_load_ASN1_strings @ 0xe705b8\n// > ERR_load_ASN1_strings @ 0xe705c4\n// > ERR_load_ASYNC_strings @ 0xe73408\n// > ERR_load_ASYNC_strings @ 0xe73414\n// > ERR_load_BIO_strings @ 0xe747d4\n// > ERR_load_BIO_strings @ 0xe747e0\n// > ERR_load_BN_strings @ 0xe74904\n// > ERR_load_BN_strings @ 0xe74910\n// > ERR_load_BUF_strings @ 0xe77bfc\n// > ERR_load_BUF_strings @ 0xe77c0c\n// > ERR_load_CMS_strings @ 0xe7b778\n// > ERR_load_CMS_strings @ 0xe7b784\n// > ERR_load_COMP_strings @ 0xe7b7d0\n// > ERR_load_COMP_strings @ 0xe7b7dc\n// > ERR_load_CONF_strings @ 0xe7b828\n// > ERR_load_CONF_strings @ 0xe7b834\n// > ERR_load_CRYPTO_strings @ 0xe7b880\n// > ERR_load_CRYPTO_strings @ 0xe7b88c\n// > ERR_load_CT_strings @ 0xe7b8d8\n// > ERR_load_CT_strings @ 0xe7b8e4\n// > ERR_load_DH_strings @ 0xe7c4b8\n// > ERR_load_DH_strings @ 0xe7c4c4\n// > ERR_load_DSA_strings @ 0xe7ca80\n// > ERR_load_DSA_strings @ 0xe7ca8c\n// > ERR_load_DSO_strings @ 0xe7cc28\n// > ERR_load_DSO_strings @ 0xe7cc34\n// > ERR_load_EC_strings @ 0xe7d740\n// > ERR_load_EC_strings @ 0xe7d74c\n// > ERR_load_ENGINE_strings @ 0xe7d798\n// > ERR_load_ENGINE_strings @ 0xe7d7a4\n// > <???> @ 0x7bfd8\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\n__int64 __fastcall ERR_load_strings(int a1, unsigned __int64 *a2)\n{\n  __int64 result; // x0\n  __int64 v5; // x0\n  unsigned __int64 v6; // x1\n  _QWORD *v7; // x19\n  unsigned __int64 v8; // t1\n  __int64 v9; // t1\n  unsigned __int64 v10; // t1\n\n  result = ERR_load_ERR_strings();\n  if ( (_DWORD)result )\n  {\n    CRYPTO_THREAD_write_lock(qword_125D660);\n    v5 = qword_125DE80;\n    if ( qword_125DE80 || (v5 = OPENSSL_LH_new(sub_D9F4F0, sub_D9F538), (qword_125DE80 = v5) != 0) )\n    {\n      v6 = *a2;\n      if ( *a2 )\n      {\n        if ( a1 )\n        {\n          while ( 1 )\n          {\n            *a2 = v6 | ((unsigned __int64)(unsigned __int8)a1 << 24);\n            OPENSSL_LH_insert(v5, a2);\n            v10 = a2[2];\n            a2 += 2;\n            v6 = v10;\n            if ( !v10 )\n              break;\n            v5 = qword_125DE80;\n          }\n        }\n        else\n        {\n          OPENSSL_LH_insert(v5, a2);\n          v8 = a2[2];\n          v7 = a2 + 2;\n          if ( v8 )\n          {\n            do\n            {\n              OPENSSL_LH_insert(qword_125DE80, v7);\n              v9 = v7[2];\n              v7 += 2;\n            }\n            while ( v9 );\n          }\n        }\n      }\n    }\n    CRYPTO_THREAD_unlock(qword_125D660);\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; ERR_load_strings from 0xd9f8b8 to 0xd9f9a8 (240 bytes)\n; \n; 59 xrefs:\n; > ERR_load_SSL_strings @ 0xd635b4\n; > ERR_load_SSL_strings @ 0xd635c0\n; > ERR_load_EVP_strings @ 0xe61484\n; > ERR_load_EVP_strings @ 0xe61490\n; > ERR_load_KDF_strings @ 0xe62ff8\n; > ERR_load_KDF_strings @ 0xe63004\n; > ERR_load_OBJ_strings @ 0xe633e4\n; > ERR_load_OBJ_strings @ 0xe633f0\n; > ERR_load_OCSP_strings @ 0xe6343c\n; > ERR_load_OCSP_strings @ 0xe63448\n; > ERR_load_PEM_strings @ 0xe643ec\n; > ERR_load_PEM_strings @ 0xe643f8\n; > ERR_load_PKCS12_strings @ 0xe66230\n; > ERR_load_PKCS12_strings @ 0xe6623c\n; > ERR_load_PKCS7_strings @ 0xe665c8\n; > ERR_load_PKCS7_strings @ 0xe665d4\n; > ERR_load_RAND_strings @ 0xe68058\n; > ERR_load_RAND_strings @ 0xe68064\n; > ERR_load_RSA_strings @ 0xe6a960\n; > ERR_load_RSA_strings @ 0xe6a96c\n; > ERR_load_TS_strings @ 0xe6e7f8\n; > ERR_load_TS_strings @ 0xe6e804\n; > ERR_load_UI_strings @ 0xe6e850\n; > ERR_load_UI_strings @ 0xe6e85c\n; > ERR_load_X509_strings @ 0xe6ef98\n; > ERR_load_X509_strings @ 0xe6efa4\n; > ERR_load_X509V3_strings @ 0xe70520\n; > ERR_load_X509V3_strings @ 0xe7052c\n; > ERR_load_ASN1_strings @ 0xe705b8\n; > ERR_load_ASN1_strings @ 0xe705c4\n; > ERR_load_ASYNC_strings @ 0xe73408\n; > ERR_load_ASYNC_strings @ 0xe73414\n; > ERR_load_BIO_strings @ 0xe747d4\n; > ERR_load_BIO_strings @ 0xe747e0\n; > ERR_load_BN_strings @ 0xe74904\n; > ERR_load_BN_strings @ 0xe74910\n; > ERR_load_BUF_strings @ 0xe77bfc\n; > ERR_load_BUF_strings @ 0xe77c0c\n; > ERR_load_CMS_strings @ 0xe7b778\n; > ERR_load_CMS_strings @ 0xe7b784\n; > ERR_load_COMP_strings @ 0xe7b7d0\n; > ERR_load_COMP_strings @ 0xe7b7dc\n; > ERR_load_CONF_strings @ 0xe7b828\n; > ERR_load_CONF_strings @ 0xe7b834\n; > ERR_load_CRYPTO_strings @ 0xe7b880\n; > ERR_load_CRYPTO_strings @ 0xe7b88c\n; > ERR_load_CT_strings @ 0xe7b8d8\n; > ERR_load_CT_strings @ 0xe7b8e4\n; > ERR_load_DH_strings @ 0xe7c4b8\n; > ERR_load_DH_strings @ 0xe7c4c4\n; > ERR_load_DSA_strings @ 0xe7ca80\n; > ERR_load_DSA_strings @ 0xe7ca8c\n; > ERR_load_DSO_strings @ 0xe7cc28\n; > ERR_load_DSO_strings @ 0xe7cc34\n; > ERR_load_EC_strings @ 0xe7d740\n; > ERR_load_EC_strings @ 0xe7d74c\n; > ERR_load_ENGINE_strings @ 0xe7d798\n; > ERR_load_ENGINE_strings @ 0xe7d7a4\n; > <???> @ 0x7bfd8\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\nSTP             X29, X30, [SP,#-0x30+var_s0]!                          ; +0x0, 0xd9f8b8\nMOV             X29, SP                                                ; +0x4, 0xd9f8bc\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xd9f8c0\nSTP             X21, X22, [SP,#var_s20]                                ; +0xc, 0xd9f8c4\nMOV             X19, X1                                                ; +0x10, 0xd9f8c8\nMOV             W22, W0                                                ; +0x14, 0xd9f8cc\nBL              ERR_load_ERR_strings                                   ; +0x18, 0xd9f8d0\nCBNZ            W0, loc_D9F8E8                                         ; +0x1c, 0xd9f8d4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x20, 0xd9f8d8\nLDP             X21, X22, [SP,#var_s20]                                ; +0x24, 0xd9f8dc\nLDP             X29, X30, [SP+var_s0],#0x30                            ; +0x28, 0xd9f8e0\nRET                                                                    ; +0x2c, 0xd9f8e4\nADRP            X20, #qword_125D660@PAGE                               ; +0x30, 0xd9f8e8\nADD             X21, X20, #qword_125D660@PAGEOFF                       ; +0x34, 0xd9f8ec\nLDR             X0, [X20,#qword_125D660@PAGEOFF]                       ; +0x38, 0xd9f8f0\nBL              CRYPTO_THREAD_write_lock                               ; +0x3c, 0xd9f8f4\nLDR             X0, [X21,#(qword_125DE80 - 0x125D660)]                 ; +0x40, 0xd9f8f8\nCBZ             X0, loc_D9F988                                         ; +0x44, 0xd9f8fc\nLDR             X1, [X19]                                              ; +0x48, 0xd9f900\nCBZ             X1, loc_D9F93C                                         ; +0x4c, 0xd9f904\nUBFIZ           X21, X22, #0x18, #8                                    ; +0x50, 0xd9f908\nCBNZ            W22, loc_D9F95C                                        ; +0x54, 0xd9f90c\nMOV             X1, X19                                                ; +0x58, 0xd9f910\nBL              OPENSSL_LH_insert                                      ; +0x5c, 0xd9f914\nLDR             X0, [X19,#0x10]!                                       ; +0x60, 0xd9f918\nADD             X1, X20, #qword_125D660@PAGEOFF                        ; +0x64, 0xd9f91c\nCBZ             X0, loc_D9F93C                                         ; +0x68, 0xd9f920\nLDR             X0, [X1,#(qword_125DE80 - 0x125D660)]                  ; +0x6c, 0xd9f924\nMOV             X1, X19                                                ; +0x70, 0xd9f928\nBL              OPENSSL_LH_insert                                      ; +0x74, 0xd9f92c\nLDR             X0, [X19,#0x10]!                                       ; +0x78, 0xd9f930\nADD             X1, X20, #qword_125D660@PAGEOFF                        ; +0x7c, 0xd9f934\nCBNZ            X0, loc_D9F924                                         ; +0x80, 0xd9f938\nLDR             X0, [X20,#qword_125D660@PAGEOFF]                       ; +0x84, 0xd9f93c\nBL              CRYPTO_THREAD_unlock                                   ; +0x88, 0xd9f940\nMOV             W0, #1                                                 ; +0x8c, 0xd9f944\nLDP             X19, X20, [SP,#var_s10]                                ; +0x90, 0xd9f948\nLDP             X21, X22, [SP,#var_s20]                                ; +0x94, 0xd9f94c\nLDP             X29, X30, [SP+var_s0],#0x30                            ; +0x98, 0xd9f950\nRET                                                                    ; +0x9c, 0xd9f954\nLDR             X0, [X0,#(qword_125DE80 - 0x125D660)]                  ; +0xa0, 0xd9f958\nORR             X2, X1, X21                                            ; +0xa4, 0xd9f95c\nMOV             X1, X19                                                ; +0xa8, 0xd9f960\nSTR             X2, [X19]                                              ; +0xac, 0xd9f964\nBL              OPENSSL_LH_insert                                      ; +0xb0, 0xd9f968\nLDR             X1, [X19,#0x10]!                                       ; +0xb4, 0xd9f96c\nADD             X0, X20, #qword_125D660@PAGEOFF                        ; +0xb8, 0xd9f970\nCBNZ            X1, loc_D9F958                                         ; +0xbc, 0xd9f974\nLDR             X0, [X20,#qword_125D660@PAGEOFF]                       ; +0xc0, 0xd9f978\nBL              CRYPTO_THREAD_unlock                                   ; +0xc4, 0xd9f97c\nMOV             W0, #1                                                 ; +0xc8, 0xd9f980\nB               loc_D9F948                                             ; +0xcc, 0xd9f984\nADRP            X0, #sub_D9F4F0@PAGE                                   ; +0xd0, 0xd9f988\nADRP            X1, #sub_D9F538@PAGE                                   ; +0xd4, 0xd9f98c\nADD             X0, X0, #sub_D9F4F0@PAGEOFF                            ; +0xd8, 0xd9f990\nADD             X1, X1, #sub_D9F538@PAGEOFF                            ; +0xdc, 0xd9f994\nBL              OPENSSL_LH_new                                         ; +0xe0, 0xd9f998\nSTR             X0, [X21,#(qword_125DE80 - 0x125D660)]                 ; +0xe4, 0xd9f99c\nCBZ             X0, loc_D9F93C                                         ; +0xe8, 0xd9f9a0\nB               loc_D9F900                                             ; +0xec, 0xd9f9a4", "xrefs": ["ERR_load_SSL_strings @ 0xd635b4", "ERR_load_SSL_strings @ 0xd635c0", "ERR_load_EVP_strings @ 0xe61484", "ERR_load_EVP_strings @ 0xe61490", "ERR_load_KDF_strings @ 0xe62ff8", "ERR_load_KDF_strings @ 0xe63004", "ERR_load_OBJ_strings @ 0xe633e4", "ERR_load_OBJ_strings @ 0xe633f0", "ERR_load_OCSP_strings @ 0xe6343c", "ERR_load_OCSP_strings @ 0xe63448", "ERR_load_PEM_strings @ 0xe643ec", "ERR_load_PEM_strings @ 0xe643f8", "ERR_load_PKCS12_strings @ 0xe66230", "ERR_load_PKCS12_strings @ 0xe6623c", "ERR_load_PKCS7_strings @ 0xe665c8", "ERR_load_PKCS7_strings @ 0xe665d4", "ERR_load_RAND_strings @ 0xe68058", "ERR_load_RAND_strings @ 0xe68064", "ERR_load_RSA_strings @ 0xe6a960", "ERR_load_RSA_strings @ 0xe6a96c", "ERR_load_TS_strings @ 0xe6e7f8", "ERR_load_TS_strings @ 0xe6e804", "ERR_load_UI_strings @ 0xe6e850", "ERR_load_UI_strings @ 0xe6e85c", "ERR_load_X509_strings @ 0xe6ef98", "ERR_load_X509_strings @ 0xe6efa4", "ERR_load_X509V3_strings @ 0xe70520", "ERR_load_X509V3_strings @ 0xe7052c", "ERR_load_ASN1_strings @ 0xe705b8", "ERR_load_ASN1_strings @ 0xe705c4", "ERR_load_ASYNC_strings @ 0xe73408", "ERR_load_ASYNC_strings @ 0xe73414", "ERR_load_BIO_strings @ 0xe747d4", "ERR_load_BIO_strings @ 0xe747e0", "ERR_load_BN_strings @ 0xe74904", "ERR_load_BN_strings @ 0xe74910", "ERR_load_BUF_strings @ 0xe77bfc", "ERR_load_BUF_strings @ 0xe77c0c", "ERR_load_CMS_strings @ 0xe7b778", "ERR_load_CMS_strings @ 0xe7b784", "ERR_load_COMP_strings @ 0xe7b7d0", "ERR_load_COMP_strings @ 0xe7b7dc", "ERR_load_CONF_strings @ 0xe7b828", "ERR_load_CONF_strings @ 0xe7b834", "ERR_load_CRYPTO_strings @ 0xe7b880", "ERR_load_CRYPTO_strings @ 0xe7b88c", "ERR_load_CT_strings @ 0xe7b8d8", "ERR_load_CT_strings @ 0xe7b8e4", "ERR_load_DH_strings @ 0xe7c4b8", "ERR_load_DH_strings @ 0xe7c4c4", "ERR_load_DSA_strings @ 0xe7ca80", "ERR_load_DSA_strings @ 0xe7ca8c", "ERR_load_DSO_strings @ 0xe7cc28", "ERR_load_DSO_strings @ 0xe7cc34", "ERR_load_EC_strings @ 0xe7d740", "ERR_load_EC_strings @ 0xe7d74c", "ERR_load_ENGINE_strings @ 0xe7d798", "ERR_load_ENGINE_strings @ 0xe7d7a4", "<???> @ 0x7bfd8"], "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"}