This repo contains base code for reimplementing a custom version of GetModuleHandle( ) & GetProcAddress( ) functions without any imports crafting all headers by my hand using online ressources & github repos. I used process hacker to check my code & address returned by GetModuleHandle( ) :)
git clone https://github.com/Yekuuun/CustomWinApi.git
cd /CustomWinApi
g++ Main.cpp CustomWinApi.cpp -o CustomWinApi -m64
./CustomWinApi
WINDOWS GetProcAddress
WINDOWS GetModuleHandle
- ARSIUM for NTHeader.hpp & windows internals advices