It's just 2 days i use a debugger and assemble, so i don't know many thing, but i like learn and i understand your concept.
Can i make a code cave without high level programming but using the assembler? It's seems the simplest way:
I mean,
1)Find a place in exe for my code (how? With Nop spaces)?
2) substitute the CALL DWORD with a JMP to my function
3)At the end of my function, re-jump to last point
?
Eventualy,can u make an assembler code example which load a dll (loadlibray filename).
Do u know microsoft detours? Do u think it could be another way to do this?
And if for some reason, i can't change the size of exe? Have i to write my own hook with C++ (or others)? There are so many hook code example, what can i use and what modify,conceptually talking?