// // X509_REQ_get_extensions from 0xe6f2dc to 0xe6f384 (168 bytes) // // 2 xrefs: // > X509_REQ_get1_email @ 0xe04558 // > @ 0x95958 // // 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 // __int64 __fastcall X509_REQ_get_extensions(__int64 a1) { __int64 v1; // x20 unsigned int v2; // w1 int attr_by_NID; // w0 unsigned int v5; // t1 __int64 attr; // x0 __int64 v8; // x0 int *v9; // x2 char *v10; // [xsp+28h] [xbp+28h] BYREF if ( !a1 ) return 0; v1 = off_123C5D0; if ( !off_123C5D0 ) return 0; v2 = *off_123C5D0; if ( !*off_123C5D0 ) return 0; while ( 1 ) { attr_by_NID = X509_REQ_get_attr_by_NID(a1, v2, -1); if ( attr_by_NID != -1 ) break; v5 = *(_DWORD *)(v1 + 4); v1 += 4; v2 = v5; if ( !v5 ) return 0; } attr = X509_REQ_get_attr(a1, attr_by_NID); v8 = X509_ATTRIBUTE_get0_type(attr, 0); if ( !v8 || *(_DWORD *)v8 != 16 ) return 0; v9 = *(int **)(v8 + 8); v10 = *((char **)v9 + 1); return ASN1_item_d2i(nullptr, &v10, *v9, (__int64)&X509_EXTENSIONS_it); }
GD Web Decomp Icon

GD Web Decomp

Raw Source