Killing such a thread (thus trial/error) led me to the video. That pretty much tipped me off into looking for threads' entry points that were mainly VMProtect obfuscated/virtualized code. But then again, going full blown patching-style on the game shows what you said: you don't have the time to.Īs for the inspiration, it simply came from remembering SneakyMofo did some thread killing in Sniper Elite 4. That way the thread doesn't even start, doesn't eat up CPU and won't even show in the thread list. I don't patch the prologue of the thread functions I just set the thread creation flag to CREATE_SUSPENDED.