benilla-re systems structs docs

s_wardenModuleBlob

global · warden

Address
0x86ddb0 · 4787 bytes, up to 0x86f062
Type
const uint8_t[4787]
Meaning
Holds the built-in module, RC4-encrypted, with its signature tail
Confidence
verified, proof two
Finding
warden/embedded#the-built-in-module

Finding: The built-in module in warden: the built-in module

The exe holds 4787 bytes at 0x86ddb0 and a 16-byte RC4 key at 0x86f064; InitWardenHandler passes them with the length 0x12b3 to LoadWardenModule at connect. The decrypted blob is the dword 6584, a zlib stream and the 260-byte signature tail: NGIS and a 256-byte signature (modules). The stream inflates to 6584 bytes: an image of 0x6000 bytes with three sections (0x1000, size 0x1914, execute and read; 0x3000, 0x87, read only; 0x4000, 0x9c, read and write), 20 relocations, no imports and one export, ordinal 1. The export is called with ecx = 0xce8954.

The derivation is in the doc.