// // sub_DAB1A0 from 0xdab1a0 to 0xdab2ac (268 bytes) // // 1 xrefs: // > @ 0x11251c0 // // 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 sub_DAB1A0(__int64 a1, int a2, int a3, void *a4) { __int64 v6; // x0 __int64 v7; // x21 _BYTE v10[24]; // [xsp+40h] [xbp+40h] BYREF _BYTE v11[40]; // [xsp+58h] [xbp+58h] BYREF v6 = EVP_MD_CTX_md_data(a1); v7 = v6; if ( a2 != 29 ) return 0; if ( a3 != 48 ) return 0; if ( (int)SHA1_Update(v6, a4, 0x30u) <= 0 ) return 0; memset(v11, 54, sizeof(v11)); if ( !(unsigned int)SHA1_Update(v7, v11, 0x28u) ) return 0; if ( !(unsigned int)SHA1_Final(v10, v7) ) return 0; if ( !(unsigned int)SHA1_Init(v7) ) return 0; if ( (int)SHA1_Update(v7, a4, 0x30u) <= 0 ) return 0; memset(v11, 92, sizeof(v11)); if ( !(unsigned int)SHA1_Update(v7, v11, 0x28u) || !(unsigned int)SHA1_Update(v7, v10, 0x14u) ) return 0; OPENSSL_cleanse(v10, 0x14u); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source