Hello there! I have smal or pretty big problem, i am trying to figure out how to retrive the module name within a runing process by an address,
let's say the process is called "testapp.exe" and it has 10 modules running,
based on this i would like to when i search for and address retrive what the name of the module this address is in. lets say the module name is named "module5" and has a base of "00300000" and has a size of "4EF1" witch makes this "00304EF1" and within that range my address is located "00304EF1"" not less or higher. example of my address "00304000" how can i then retrive that modules name based on a search for this address the easiest way?

I am able to retrive the base of the modules, and the base of the process.
and even the size for booth the process and it's modules, but! how would i go about calculating it all the fastest way, to see where my given address is at?
I hope i explained that as good as possible.

Is there any API for retriving module names based on a address? what should i be looking at?

Thank you for taking a look!

Marcus09.