TwMS v182.2 ICS 全職業50萬攻擊

沒測試,求幫測試。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
// TwMS v182.2 ICS 全職業50萬攻擊
// Author: Toby
[Enable]
Alloc(HighDamage,1024)
Label(HighDamage1)
Label(HighDamage2)
Label(Return)
Label(DoFinalAttack)
Label(DoHighDamage)

HighDamage:
cmp [esp+20], 00FD4D85
jne HighDamage1
Mov [Esp+20], DoFinalAttack
Jmp Return
HighDamage1:
Cmp [Esp+A8], 00FD4E90
Jne HighDamage2
Mov [Esp+A8], DoHighDamage
Jmp Return
HighDamage2:
Cmp [Esp+D4], 00FD4E90
Jne Return
Mov [Esp+D4], DoHighDamage
Return:
jmp InterlockedDecrement

DoFinalAttack:
clc
push 0000A8B7
cwde
lahf
clc
rcr ax,0D
pop eax
pushad
pushad
stc
rol eax,10
push D48A4ECC
pushfd
or eax,FDEF
cmc
pushfd
bt bx,sp
rol eax,08
cmc
pushfd
xor eax,B7FDEFA8
stc
mov [esp],ch
bt ax,sp
mov [esp+4C],eax
pop eax
cwde
bswap eax
mov [esp+44],esi
pop eax
cwde
lahf
mov [esp+3C],AEBCE08A
mov eax,[esp+3C]
mov byte ptr [esp+04],-76
ror eax,10
push DD3960BA
or eax,1000
cmp esp,ebx
pushfd
bt bp,dx
mov [esp+04],al
movzx eax,ax
mov [esp+04],cl
bt sp,05
add eax,[esp+48]
test bp,dx
clc
lea esp,[esp+4C]
cmc
pushad
test bl,-40
stc
push [esp+20]
pop [eax]
cmp bh,ch
bt bp,05
sub eax,0000B998
pushad
push [eax]
pop [esp+40]
movsx eax,al
lahf
mov eax,00519F3D
push ebx
push esp
mov [esp+44],00679144
push AE0FA613
push edx
mov [esp+48],eax
push 3A0F742A
push [esp]
push [esp+50]
ret 0054


DoHighDamage:
btc di,03
mov edi,eax
cmc
bt dx,si
pushad
mov eax,01180460
bt sp,bx
ror eax,1
bt di,ax
stc
or eax,04
push F7E19279
pushfd
bt dx,dx
clc
movzx eax,al
clc
cmc
bt cx,dx
xchg [esp+24],eax
push 014CF878
mov [esp+24],EB752782
rcr al,cl
mov eax,[esp+24]
push 015EC068
cmc
pushfd
rol eax,0C
push 0168C59C
mov byte ptr [esp+0C],33
clc
test bx,0B80
movzx eax,ax
cmc
xor eax,0000900B
cmc
clc
bt cx,0F
xchg [esp+30],eax
movzx eax,cl
mov eax,esi
cmc
bt cx,02
add eax,[esp+30]
pushfd
lea esp,[esp+38]
pushad
push [esp+20]
pop [eax]
mov byte ptr [esp+04],56
pushad
mov byte ptr [esp],-2F
mov [esp+40],00FD4E92
mov [esp+04],bh
push [esp+40]
ret 0044

013D20C8:
DD HighDamage
[Disable]
DeAlloc(HighDamage)

013D20C8:
DD InterlockedDecrement