Learning how to make userland hooks.
This programd does follwing:
- Get address of called function (createProcessA);
- Create hook function (hookedCreateprocess);
- Rewrite address of standart CreateProcessA function to our custom function (inside of custom function different createprocess is called);
- hooked function is executed.