Switch to using wide strings in the injector
This commit is contained in:
@ -12,8 +12,8 @@ main: ; Replacement entry point
|
||||
|
||||
|
||||
mov rcx, rsi ; kernel32.dll
|
||||
lea rdx, [rel s_LoadLibraryA]
|
||||
call rax ; rax = *LoadLibraryA
|
||||
lea rdx, [rel s_LoadLibraryW]
|
||||
call rax ; rax = *LoadLibraryW
|
||||
|
||||
lea rcx, [rel dllPath]
|
||||
call rax ; LoadLibraryA(dllPath)
|
||||
@ -27,7 +27,7 @@ main: ; Replacement entry point
|
||||
|
||||
|
||||
; Strings
|
||||
s_LoadLibraryA: db "LoadLibraryA", 0
|
||||
s_LoadLibraryW: db "LoadLibraryW", 0
|
||||
|
||||
dllPath:
|
||||
; This will be filled out by the injector
|
||||
|
||||
Reference in New Issue
Block a user