|
Well, in case you have the right function there (I kinda doubt that, but you don't show us much...), it's a member function of a class. This means you have to take care of the ECX register, which holds either the address of the instance or the address of the pointer to the instance. If there are no parameters, fine, otherwise you'll have to look how the function gets called and take care of the pushed params as well.
The coding part is easy once you've figured out all the stuff thats gets done before it. Make a function pointer or just use inline ASM and call it once injected.
|