dbpe2.10的asm SDK (3千字)
;標準版的dbpe2.10可以改造成支援SDK的專業版
;需要改造的是其dbpe.dll和dbpe2.dll
;這裡不公佈改造方法,只展示一下SDK
;有能力的自行改造吧,很有意思PEDIY
;
;dbpe2.10 SDK for asm
;
GetUserName_dbpe PROTO :DWORD
GetHardCode_dbpe
PROTO :DWORD
Md5Hash_dbpe
PROTO :DWORD,:DWORD
;以下6個proc用法十分簡單,與原API用法完全一樣
;建議除錯程式時用原始API,最後換成_dbpe的,再用dbpe2.10專業版加殼就OK了
;
CreateFile_dbpe
PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ReadFile_dbpe PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WriteFile_dbpe PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SetFilePointer_dbpe PROTO :DWORD,:DWORD,:DWORD,:DWORD
CloseHandle_dbpe PROTO :DWORD
DeleteFile_dbpe
PROTO :DWORD
.code
GetUserName_dbpe proc pUserName:DWORD
invoke
GetClassName,0FEFE2002h,pUserName,4
ret
GetUserName_dbpe endp
GetHardCode_dbpe proc pHardCode:DWORD
invoke
GetClassName,0FEFE2003h,pHardCode,4
ret
GetHardCode_dbpe endp
Md5Hash_dbpe proc pSrcData:DWORD,
pResMd5:DWORD
LOCAL ClassName[2]:DWORD
mov eax,pSrcData
mov ClassName,eax
mov eax,pResMd5
mov ClassName[4],eax
invoke GetClassName,0FEFE2004h,ADDR
ClassName,8
ret
Md5Hash_dbpe endp
CreateFile_dbpe
proc pFileName:DWORD,
dwDesiredAccess:DWORD,
dwShareMode:DWORD,
pSecurityAttributes:DWORD,
dwCreationDistribution:DWORD,
dwFlagsAndAttributes:DWORD,
hTemplateFile:DWORD
LOCAL ClassName[7]:DWORD
mov eax,pFileName
mov ClassName,eax
mov eax,dwDesiredAccess
mov ClassName[4],eax
mov eax,dwShareMode
mov ClassName[8],eax
mov eax,pSecurityAttributes
mov ClassName[12],eax
mov eax,dwCreationDistribution
mov ClassName[16],eax
mov eax,dwFlagsAndAttributes
mov ClassName[20],eax
mov eax,hTemplateFile
mov ClassName[24],eax
invoke GetClassName,0FEFE2011h,ADDR
ClassName,1Ch
ret
CreateFile_dbpe endp
ReadFile_dbpe proc hFile:DWORD,
pBuffer:DWORD,
nNumberOfBytesToRead:DWORD,
pNumberOfBytesRead:DWORD,
pOverlapped:DWORD
LOCAL ClassName[5]:DWORD
mov eax,hFile
mov ClassName,eax
mov eax,pBuffer
mov ClassName[4],eax
mov eax,nNumberOfBytesToRead
mov ClassName[8],eax
mov eax,pNumberOfBytesRead
mov ClassName[12],eax
mov eax,pOverlapped
mov ClassName[16],eax
invoke GetClassName,0FEFE2012h,ADDR
ClassName,14h
ret
ReadFile_dbpe endp
WriteFile_dbpe
proc hFile:DWORD,
pBuffer:DWORD,
nNumberOfBytesToWrite:DWORD,
pNumberOfBytesWritten:DWORD,
pOverlapped:DWORD
LOCAL ClassName[5]:DWORD
mov eax,hFile
mov ClassName,eax
mov eax,pBuffer
mov ClassName[4],eax
mov eax,nNumberOfBytesToWrite
mov ClassName[8],eax
mov eax,pNumberOfBytesWritten
mov ClassName[12],eax
mov eax,pOverlapped
mov ClassName[16],eax
invoke GetClassName,0FEFE2013h,ADDR
ClassName,14h
ret
WriteFile_dbpe endp
SetFilePointer_dbpe
proc hFile:DWORD,
lDistanceToMove:DWORD,
lDistanceToMoveHigh:DWORD,
dwMoveMethod:DWORD
LOCAL ClassName[4]:DWORD
mov eax,hFile
mov ClassName,eax
mov eax,lDistanceToMove
mov ClassName[4],eax
mov eax,lDistanceToMoveHigh
mov ClassName[8],eax
mov eax,dwMoveMethod
mov ClassName[12],eax
invoke GetClassName,0FEFE2014h,ADDR
ClassName,10h
ret
SetFilePointer_dbpe endp
CloseHandle_dbpe
proc hFile:DWORD,
LOCAL ClassName:DWORD
mov eax,hFile
mov ClassName,eax
invoke GetClassName,0FEFE2015h,ADDR
ClassName,4
ret
CloseHandle_dbpe endp
DeleteFile_dbpe
proc pFileName:DWORD,
LOCAL ClassName:DWORD
mov eax,pFileName
mov ClassName,eax
invoke GetClassName,0FEFE2016h,ADDR
ClassName,4
ret
DeleteFile_dbpe endp
相關文章
- ASM (3)2007-01-31ASM
- SEH in ASM 研究(一) (7千字)2001-12-29ASM
- WinZip Nag 的去除 (3千字)2001-09-13
- 我的破解心得(1) (3千字)2001-03-13
- 我的破解心得(6) (3千字)2001-03-13
- 我的破解之路-BBOY (3千字)2000-07-21
- ASM Normal需要3個disk ?2011-03-16ASMORM
- FFMpeg SDK 開發手冊(3)2010-11-04
- 12 Flex ASM的數量 預設3個2017-06-16FlexASM
- 脫Crunch/PE -> BitArts的殼。 (3千字)2002-05-03
- HTMLZip 1.0 beta 的脫殼 (3千字)2001-02-03HTML
- 初學者(9) (3千字)2000-05-07
- 初學者(15) (3千字)2000-07-04
- 初學者(20) (3千字)2000-07-15
- Unity3d Android SDK接入解析(二)Unity3d Android SDK的設計與兩種接入方式2019-01-10Unity3DAndroid
- 破解Easy CD-DA Extractor 3 (3千字)2002-03-16
- 破解MP3隨身聽! (3千字)2002-03-28
- WINZIP的密碼校對原理 (3千字)2001-08-29密碼
- 可恨的Windows優化大師 (3千字)2000-08-01Windows優化
- 瘋狂單詞的破解方法! (3千字)2000-08-22
- keymaker原理-INT 3的插入 (4千字)2015-11-15
- ASTON Ver1.5 (3千字)2002-05-26AST
- 軟體狗,dongle
(3千字)2002-12-17
- 破解入門5 (3千字)2000-09-23
- 暴力破解3 (6千字)2001-02-18
- 財智系列破解 (3千字)2001-07-22
- 破解實戰!polyview (3千字)2000-06-27View
- Photo Watermark破解(SMC) (3千字)2015-11-15
- 橋牌程式Suit.exe的破解 (3千字)2001-01-13UI
- oicq build 0425 的不完全破解 (3千字)2000-05-28UI
- 可恨的Windows最佳化大師 (3千字)2000-08-01Windows
- 砸碎SLock, 我的一次破解.
(3千字)2015-11-15
- 全面學習和應用ORACLE ASM特性--(3)新增和修改asm磁碟組2015-08-05OracleASM
- FISH精美屏保暴力破解---WD32ASM893版 (6千字)2001-02-05ASM
- BootStar v7.33 keygen in pure win32asm. (6千字)2002-02-08bootWin32ASM
- (譯)win32asm例項-3 (轉)2007-12-12Win32ASM
- diy pe教學3 (28千字)2002-08-14
- 破解ThumNailer v7.0 (3千字)2001-08-07AI