Based on EasyHook 2.7 branch of EasyHook http://easyhook.codeplex.com/