This uses in process patching and trampolines to hook windows APIs. Thanks to this forum for ideas and example code. [code=python] # patcher.py # handles patching and unpatching of process memory. # public domain code. from ctypes import * from win32api import * from pytcc import pytcc from struct import pack, unpack, calcsize from win32gui import PyGetString, PySetMemory, PySetString from win32co