include d:\masm32\include\windows.inc
include d:\masm32\include\user32.inc
include d:\masm32\include\kernel32.inc
include d:\masm32\include\advapi32.inc
includelib d:\masm32\lib\user32.lib
includelib d:\masm32\lib\kernel32.lib
includelib d:\masm32\lib\advapi32.lib
include d:\masm32\macros\Strings.mac
UNICODE_STRING1 STRUCT
_Length WORD ?
MaximumLength WORD ?
Buffer DWORD ?
UNICODE_STRING1 ENDS
SystemLoadAndCallImage equ 38
_ZwSetSystemInformation typedef proto :dword,:dword,:dword
lpZwSetSystemInformation typedef ptr _ZwSetSystemInformation
_RtlInitUnicodeString typedef proto :dword,:dword
lpRtlInitUnicodeString typedef ptr _RtlInitUnicodeString
SYSTEM_LOAD_AND_CALL_IMAGE struct
ModuleName UNICODE_STRING <?>
SYSTEM_LOAD_AND_CALL_IMAGE ends
.const
txt db 'Just Do It!',0
cp db 'hopy|侯佩',0
; drvnameW,"??c: mpDrv.sys"
drvnameW dw "?","?","c",":","m","p","D","r","v",".","s","y","s",0
drvname db '??c:tmpDrv.sys',0
dllname db 'ntdll.dll',0
szZwSetSystemInformation db 'ZwSetSystemInformation',0
szRtlInitUnicodeString db 'RtlInitUnicodeString',0