1. You say you don't want to do 'c+p' but u are asking in a c/c++ forum.
2. Your question is very unclear.
You can easily get all modules bound to a specific process with the WIN API functions which are written in C.
There are many approaches how one could get a specific module handle this is only one example:
- Use OpenProcess() to open a process with reading rights.
- Use the returned process handle to enumerate all the processes modules with EnumProcessModules(). This will return a module handle for every module found.
- Use GetModuleBaseName() to get the file name of the current module (will return e.g. csgo.exe or client.dll)
- If you got client.dll use the modules handle to get module information via GetModuleInformation() which will fill a data structure with entry point and adress size of the module
Good Luck