// // PKCS7_stream from 0x829bdc to 0x829ca8 (204 bytes) // // 2 xrefs: // > sub_826530 @ 0x826564 // > @ 0x65a0c // // 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 // int __fastcall PKCS7_stream(_DWORD *a1, int a2) { int result; // r0 switch ( (unsigned int)OBJ_obj2nid(*(_DWORD *)(a2 + 16)) ) { case 0x15u: result = *(_DWORD *)(a2 + 20); break; case 0x16u: result = *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(a2 + 20) + 20) + 20); if ( !result ) return result; goto LABEL_8; case 0x17u: result = *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(a2 + 20) + 8) + 8); if ( result ) goto LABEL_8; result = ASN1_OCTET_STRING_new(); *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(a2 + 20) + 8) + 8) = result; break; case 0x18u: result = *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(a2 + 20) + 20) + 8); if ( result ) goto LABEL_8; result = ASN1_OCTET_STRING_new(); *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(a2 + 20) + 20) + 8) = result; break; default: return 0; } if ( result ) { LABEL_8: *(_DWORD *)(result + 12) |= 0x10u; *a1 = result + 8; return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source