After being injected into a target process, windows-timescale-hook.dll hooks various functions existing in kernel32.dll and winmm.dll that measure absolute and relative time intervals. It can be used to modify the timescale of any process that directly or indirectly invokes any of the functions noted below.
DWORD timeGetTime(VOID);DWORD SleepEx(DWORD dwMilliseconds, BOOL bAlertable);DWORD GetTickCount(VOID);ULONGLONG GetTickCount64(VOID);BOOL QueryPerformanceCounter(PLARGE_INTEGER lpPerformanceCount);
- Clone this repository and its submodules.
- Use premake to generate the project files.
- Compile the submodules within the
/dependenciesfolder. - Move
Detours.libinto the project's root directory. - Optionally modify the
fRateModifierfloat value then compile the project. - Inject the compiled DLL into the target process of your choice 💸