TwMS v140.1_ICS_秒數自動左右走

//TwMS v140.1_ICS_秒數自動左右走
//Author:vip235689

[ENABLE]
Registersymbol(MyAutoLR)
Alloc(MyAutoLR, 1024)
Registersymbol(MyAutoLRMain)
Alloc(MyAutoLRMain, 1024)
Registersymbol(MyAutoLRKey)
Alloc(MyAutoLRKey, 4)
Registersymbol(MyAutoLRT)
Alloc(MyAutoLRT, 4)
Registersymbol(MyAutoLRS)
Alloc(MyAutoLRS, 4)
Label(MyAutoLR01)
Label(MyAutoLR02)
Label(MyAutoL)
Label(MyAutoR)
Label(MyAutoCheck)
Label(MyAutoRet)
Label(MyAutoRetL)
Label(MyAutoRetR)
Alloc(MyAutoLRTime, 4)

00CCA7D8:
Dd MyAutoLR
//-----------------------------------------------
MyAutoLRTime:
dd 3A98 //15秒
//-----------------------------------------------

MyAutoLR:
Cmp [Esp], 008BFB32
Jne GetFocus
Mov [esp], MyAutoLRMain
Jmp GetFocus

//到達秒數後自動左右
MyAutoCheck:
Push Eax
Call GetTickCount
Cmp Eax, [MyAutoLRT]
Jle MyAutoRet

Add Eax, [MyAutoLRTime]
Mov [MyAutoLRT], Eax
Cmp [MyAutoLRS], 0
Je MyAutoRetR
Cmp [MyAutoLRS], 1
Je MyAutoRetL

MyAutoRet:
Pop Eax
Ret

MyAutoRetL:
Mov [MyAutoLRS], 0
Mov [MyAutoLRKey], FFFFFFDB
Jmp MyAutoRet

MyAutoRetR:
Mov [MyAutoLRKey], 00000025
Mov [MyAutoLRS], 1
Jmp MyAutoRet

//自動左右與方向判斷
MyAutoLRMain:
Call MyAutoCheck
Cmp [MyAutoLRKey], 00000001
Je MyAutoL
Cmp [MyAutoLRKey], FFFFFFFF
Je MyAutoR
Cmp [MyAutoLRKey], 0
Je 008BFB32
Jg MyAutoLR02
Jl MyAutoLR01


MyAutoLR01:
Inc [MyAutoLRKey]
Mov [Ebp-8], FFFFFFFF
Jmp 008bfdb5

MyAutoLR02:
Dec [MyAutoLRKey]
Mov [Ebp-8], 00000001
Jmp 008bfdb5

MyAutoL:
Mov [MyAutoLRKey], 0
Mov [Ebp-8], FFFFFFFF
Jmp 008bfdb5

MyAutoR:
Mov [MyAutoLRKey], 0
Mov [Ebp-8], 00000001
Jmp 008bfdb5

[DISABLE]
00CCA7D8:
DD GetFocus

Dealloc(MyAutoLRMain)
Unregistersymbol(MyAutoLRMain)
Dealloc(MyAutoLR)
Unregistersymbol(MyAutoLR)

留言

本月最夯

偷用電腦,怎知?事件檢視器全記錄!(開機時間、啟動項時間...)