Rewriting DLL Injection code