I created a child process from within my process with CreateProcess() (in C++) I then continue on using ReadProcessMemory to read through the memory and search for a specific something.
I would like to start my search from the entry point of that process , since the process is loaded into it's own virtual space I have no idea at this point how to find out the entry point for the code itself(I dont care about other sections of the PE file), I am aware of the 'AddressOfEntryPoint' field of the PE format and I already have it but since I have no idea at what address that process would be loaded how can I calculate the entry point itself?
to demonstrate what I want , if you open a process with OllyDbg for example you immediately reach the entry point for the code , I want to have that address
remember that this is a child process that I created if it helps
let me mention that I do not want to inject any code or DLL into that application the find out that address