CONTROL "",-1,"STATIC",SS_ETCHEDHORZ |WS_CHILD |WS_VISIBLE,6,60,103,1
RTEXT "MADE BY 龙城三少爷\n\t2005年7月25日",-1,60,61,75,15
}
以上保存为RC文件
以下保存为asm文件:
.386
.model flat,stdcall
option casemap:none
include E:\masm32\include\windows.inc
include E:\masm32\include\user32.inc
includelib E:\masm32\lib\user32.lib
include E:\masm32\include\kernel32.inc
includelib E:\masm32\lib\kernel32.lib
include E:\masm32\include\gdi32.inc
includelib E:\masm32\lib\gdi32.lib
ICO_MAIN EQU 1H
DLG_MAIN EQU 1H
IDCRACK EQU 123H
orign_code equ 0475h
orign_code2 equ 2c74h
.data?
hinstance dd ?
.data
szmsgtitle db '内存补丁',0
szfilename db "UnPorn.exe",0
szstartup STARTUPINFO
PSINFO PROCESS_INFORMATION
bytestowrite db 90h,90h
bytestowrite2 db 75h,2ch
lchanges db 02h
lvoffset dd 0048BE2Fh
lvoffset2 dd 0050BACFh
sztemp db 10 dup(?)
appname db '强者网络',0
szerror db '无法被加载',0
szok db '补丁完成',0
szbyteerror db '文件不匹配',0