// // PKCS7_stream from 0xdcf2b0 to 0xdcf384 (212 bytes) // // 2 xrefs: // > sub_DCBE30 @ 0xdcbe74 // > @ 0x39438 // // 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 PKCS7_stream(_QWORD *a1, __int64 a2) { int v4; // w1 __int64 result; // x0 __int64 v6; // x2 v4 = OBJ_obj2nid(*(_QWORD *)(a2 + 24)) - 21; result = 0; switch ( v4 ) { case 0: v6 = *(_QWORD *)(a2 + 32); break; case 1: v6 = *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a2 + 32) + 40LL) + 32LL); break; case 2: v6 = *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a2 + 32) + 16LL) + 16LL); if ( v6 ) goto LABEL_4; v6 = ASN1_OCTET_STRING_new(); *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a2 + 32) + 16LL) + 16LL) = v6; break; case 3: v6 = *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a2 + 32) + 40LL) + 16LL); if ( v6 ) goto LABEL_4; v6 = ASN1_OCTET_STRING_new(); *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a2 + 32) + 40LL) + 16LL) = v6; break; default: return result; } result = 0; if ( v6 ) { LABEL_4: result = 1; *(_QWORD *)(v6 + 16) |= 0x10uLL; *a1 = v6 + 8; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source