All jokes aside, if you don't want to waste a ridiculous amount of time using the APIs, just run the program, attach it to OLLYDBG, go to executable modules and pick your .DLL, then scroll to the very top =\ if the addresses are 404D### the base is 40400000 and if its like 6F###### the base is 6F000000 =\ easy find =p haha.