{"type": "func", "start": 14328360, "end": 14328432, "name": "EVP_CIPHER_CTX_rand_key", "pseudocode": "// \n// EVP_CIPHER_CTX_rand_key from 0xdaa228 to 0xdaa270 (72 bytes)\n// \n// 4 xrefs:\n// > PKCS7_dataInit @ 0xdcc708\n// > PKCS7_dataDecode @ 0xdccf90\n// > cms_EncryptedContent_init_bio @ 0xe7b2b8\n// > <???> @ 0xb8410\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 EVP_CIPHER_CTX_rand_key(unsigned int *a1, __int64 a2)\n{\n  if ( (*(_QWORD *)(*(_QWORD *)a1 + 16LL) & 0x200) != 0 )\n    return EVP_CIPHER_CTX_ctrl((__int64)a1);\n  else\n    return (int)RAND_bytes(a2, a1[26]) > 0;\n}", "assembly": "; \n; EVP_CIPHER_CTX_rand_key from 0xdaa228 to 0xdaa270 (72 bytes)\n; \n; 4 xrefs:\n; > PKCS7_dataInit @ 0xdcc708\n; > PKCS7_dataDecode @ 0xdccf90\n; > cms_EncryptedContent_init_bio @ 0xe7b2b8\n; > <???> @ 0xb8410\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,#-0x10+var_s0]!                          ; +0x0, 0xdaa228\nMOV             X3, X1                                                 ; +0x4, 0xdaa22c\nMOV             X2, X0                                                 ; +0x8, 0xdaa230\nMOV             X29, SP                                                ; +0xc, 0xdaa234\nLDR             X1, [X0]                                               ; +0x10, 0xdaa238\nLDR             X1, [X1,#0x10]                                         ; +0x14, 0xdaa23c\nTBNZ            W1, #9, loc_DAA260                                     ; +0x18, 0xdaa240\nLDR             W1, [X2,#0x68]                                         ; +0x1c, 0xdaa244\nMOV             X0, X3                                                 ; +0x20, 0xdaa248\nBL              RAND_bytes                                             ; +0x24, 0xdaa24c\nCMP             W0, WZR                                                ; +0x28, 0xdaa250\nCSET            W0, GT                                                 ; +0x2c, 0xdaa254\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x30, 0xdaa258\nRET                                                                    ; +0x34, 0xdaa25c\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x38, 0xdaa260\nMOV             W1, #6                                                 ; +0x3c, 0xdaa264\nMOV             W2, #0                                                 ; +0x40, 0xdaa268\nB               EVP_CIPHER_CTX_ctrl                                    ; +0x44, 0xdaa26c", "xrefs": ["PKCS7_dataInit @ 0xdcc708", "PKCS7_dataDecode @ 0xdccf90", "cms_EncryptedContent_init_bio @ 0xe7b2b8", "<???> @ 0xb8410"], "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"}