; ; CMS_EnvelopedData_create from 0xe1d8e0 to 0xe1d9e0 (256 bytes) ; ; 1 xrefs: ; > @ 0x8f508 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; STP X29, X30, [SP,#-0x30+var_s0]! ; +0x0, 0xe1d8e0 MOV X29, SP ; +0x4, 0xe1d8e4 STP X19, X20, [SP,#var_s10] ; +0x8, 0xe1d8e8 STP X21, X22, [SP,#var_s20] ; +0xc, 0xe1d8ec MOV X21, X0 ; +0x10, 0xe1d8f0 BL CMS_ContentInfo_new ; +0x14, 0xe1d8f4 MOV X19, X0 ; +0x18, 0xe1d8f8 CBZ X0, loc_E1D940 ; +0x1c, 0xe1d8fc LDR X20, [X0,#8] ; +0x20, 0xe1d900 CBZ X20, loc_E1D978 ; +0x24, 0xe1d904 BL cms_get0_enveloped ; +0x28, 0xe1d908 MOV X3, X0 ; +0x2c, 0xe1d90c CBZ X3, loc_E1D940 ; +0x30, 0xe1d910 MOV X2, #0 ; +0x34, 0xe1d914 LDR X0, [X3,#0x18] ; +0x38, 0xe1d918 MOV X1, X21 ; +0x3c, 0xe1d91c MOV X3, X2 ; +0x40, 0xe1d920 BL cms_EncryptedContent_init ; +0x44, 0xe1d924 CBZ W0, loc_E1D940 ; +0x48, 0xe1d928 MOV X0, X19 ; +0x4c, 0xe1d92c LDP X19, X20, [SP,#var_s10] ; +0x50, 0xe1d930 LDP X21, X22, [SP,#var_s20] ; +0x54, 0xe1d934 LDP X29, X30, [SP+var_s0],#0x30 ; +0x58, 0xe1d938 RET ; +0x5c, 0xe1d93c ADRP X20, #aCryptoCmsCmsEn@PAGE; "crypto/cms/cms_env.c" ; +0x60, 0xe1d940 MOV X0, X19 ; +0x64, 0xe1d944 BL CMS_ContentInfo_free ; +0x68, 0xe1d948 ADD X3, X20, #aCryptoCmsCmsEn@PAGEOFF; "crypto/cms/cms_env.c" ; +0x6c, 0xe1d94c MOV W0, #0x2E ; '.' ; +0x70, 0xe1d950 MOV W1, #0x7C ; '|' ; +0x74, 0xe1d954 MOV W2, #0x41 ; 'A' ; +0x78, 0xe1d958 MOV W4, #0x78 ; 'x' ; +0x7c, 0xe1d95c BL ERR_put_error ; +0x80, 0xe1d960 MOV X0, #0 ; +0x84, 0xe1d964 LDP X19, X20, [SP,#var_s10] ; +0x88, 0xe1d968 LDP X21, X22, [SP,#var_s20] ; +0x8c, 0xe1d96c LDP X29, X30, [SP+var_s0],#0x30 ; +0x90, 0xe1d970 RET ; +0x94, 0xe1d974 ADRP X0, #CMS_EnvelopedData_it_ptr@PAGE ; +0x98, 0xe1d978 LDR X0, [X0,#CMS_EnvelopedData_it_ptr@PAGEOFF]; CMS_EnvelopedData_it ; +0x9c, 0xe1d97c BL ASN1_item_new ; +0xa0, 0xe1d980 STR X0, [X19,#8] ; +0xa4, 0xe1d984 MOV X1, X0 ; +0xa8, 0xe1d988 CBZ X0, loc_E1D9C0 ; +0xac, 0xe1d98c LDR X22, [X0,#0x18] ; +0xb0, 0xe1d990 MOV W0, #0x15 ; +0xb4, 0xe1d994 STR X20, [X1] ; +0xb8, 0xe1d998 BL OBJ_nid2obj ; +0xbc, 0xe1d99c STR X0, [X22] ; +0xc0, 0xe1d9a0 LDR X0, [X19] ; +0xc4, 0xe1d9a4 BL ASN1_OBJECT_free ; +0xc8, 0xe1d9a8 MOV W0, #0x17 ; +0xcc, 0xe1d9ac BL OBJ_nid2obj ; +0xd0, 0xe1d9b0 STR X0, [X19] ; +0xd4, 0xe1d9b4 LDR X3, [X19,#8] ; +0xd8, 0xe1d9b8 B loc_E1D910 ; +0xdc, 0xe1d9bc ADRP X20, #aCryptoCmsCmsEn@PAGE; "crypto/cms/cms_env.c" ; +0xe0, 0xe1d9c0 MOV W0, #0x2E ; '.' ; +0xe4, 0xe1d9c4 MOV W1, #0x7E ; '~' ; +0xe8, 0xe1d9c8 MOV W2, #0x41 ; 'A' ; +0xec, 0xe1d9cc ADD X3, X20, #aCryptoCmsCmsEn@PAGEOFF; "crypto/cms/cms_env.c" ; +0xf0, 0xe1d9d0 MOV W4, #0x26 ; '&' ; +0xf4, 0xe1d9d4 BL ERR_put_error ; +0xf8, 0xe1d9d8 B loc_E1D944 ; +0xfc, 0xe1d9dc