This is a backup from my old anti code injection method, which I tested long time ago while trying to understand how "some anticheats" used to work back then, I released this as a PoC around June 2012 and then stored at my private stash around the year 2014.
The original post was published at my old blog Inline-EAX.
The code is deprecated nowadays and therefore useless.
The code was and it's licensed under the GNU General Public License version 3. Please see the LICENSE at COPYING.txt file.
B#