hi Android, can you explain what exactly you need, i meen i am litle bit comfused
you cannot something do before its loaded intro memory, but i think that you can loader
that load thread in suspended mode, patch some bytes,dword etc... and after just resume thread
but you can also i think copy executed code intro buffer and then emulate or execute part that you want
you can also use wait for inputhandle etc...
i was uploaded part from win32hlp file:
hxxp://rapidshare.de/files/35189691/part.txt.html
try to create in Suspended_Mode and then just ResumeThread
i hope that this is the right ansver for your question
best regards