// // OCSP_basic_add1_nonce from 0xdc3f3c to 0xdc4054 (280 bytes) // // 1 xrefs: // > @ 0x6adb8 // // 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 OCSP_basic_add1_nonce(__int64 a1, const void *a2, int a3) { int v3; // w19 int v6; // w0 void *v7; // x0 bool v8; // zf void *v10; // [xsp+40h] [xbp+40h] BYREF int v11; // [xsp+48h] [xbp+48h] void *v12; // [xsp+50h] [xbp+50h] v3 = a3; if ( a3 <= 0 ) v3 = 16; v6 = ASN1_object_size(0, v3, 4); v11 = v6; if ( (v6 & 0x80000000) == 0 ) { v7 = CRYPTO_malloc((void *)v6, (__int64)"crypto/ocsp/ocsp_ext.c", 262); v12 = v7; if ( v7 ) { v10 = v7; ASN1_put_object((_BYTE **)&v10, 0, v3, 4, 0); if ( a2 ) { memcpy(v10, a2, v3); goto LABEL_7; } if ( (int)RAND_bytes(v10, (unsigned int)v3) > 0 ) { LABEL_7: v8 = (unsigned int)X509V3_add1_i2d(a1 + 40) == 0; v7 = v12; LODWORD(a2) = !v8; goto LABEL_10; } v7 = v12; } else { LODWORD(a2) = 0; } LABEL_10: CRYPTO_free(v7, (__int64)"crypto/ocsp/ocsp_ext.c", 276); return (unsigned int)a2; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source