0040115B .
55
push ebp ; 对话框主函数
0040115C . 8BEC mov ebp, esp
0040115E . 81C4 F8FEFFFF add esp,
-
108
00401164
.
53
push ebx
00401165
.
56
push esi
00401166
.
57
push edi
00401167
. 8B45 0C mov eax, dword ptr [ebp
+
C]
0040116A . 3D
11010000
cmp eax,
111
; 消息的switch、
case
; Switch (cases
10
..7C3)
0040116F . 0F85
92000000
jnz
00401207
00401175
. 8B45
08
mov eax, dword ptr [ebp
+
8
] ; Case
111
of
switch
0040116A
00401178
. A3 B0304000 mov dword ptr [4030B0], eax
0040117D . 8B45
10
mov eax, dword ptr [ebp
+
10
]
00401180
.
66
:3D EC03 cmp ax, 3EC
00401184
. 0F85 C1010000 jnz 0040134B
0040118A .
90
nop
0040118B . C705
22314000
>
mov dword ptr [
403122
],
54
00401195
.
68
00010000
push
100
0040119A . 8D85 00FFFFFF lea eax, dword ptr [ebp
-
100
]
004011A0 .
50
push eax
004011A1 .
68
E9030000 push 3E9
004011A6 . FF75
08
push dword ptr [ebp
+
8
]
004011A9 .
68
B4114000 push 004011B4
004011AE .
-
FF25 4D304000 jmp dword ptr [40304D] ; call GetDlgItemTextA
004011B4 . 8D85 00FFFFFF lea eax, dword ptr [ebp
-
100
] ; 获得对话框中内容
004011BA .
66
:8B18 mov bx, word ptr [eax]
004011BD . 2AFB sub bh, bl
004011BF . 0FB6DF movzx ebx, bh
004011C2 . 81C3 BD070000 add ebx, 7BD
004011C8 . A3 1E314000 mov dword ptr [40311E], eax
004011CD . C705 1A314000
>
mov dword ptr [40311A],
0
004011D7 . 891D
16314000
mov dword ptr [
403116
], ebx
004011DD . 8B5D
08
mov ebx, dword ptr [ebp
+
8
]
004011E0 . 891D
12314000
mov dword ptr [
403112
], ebx
004011E6 .
68
57134000
push
00401357
004011EB .
40
inc eax
004011EC .
40
inc eax
004011ED . A3 1E314000 mov dword ptr [40311E], eax
004011F2 .
66
:8B18 mov bx, word ptr [eax]
004011F5 . 2AFB sub bh, bl
004011F7 . 0F8F
96010000
jg
00401393
004011FD . E9 4B010000 jmp 0040134D
00401202
. E9
44010000
jmp 0040134B
00401207
>
83F8
10
cmp eax,
10
0040120A .
75
0F jnz
short
0040121B
0040120C .
68
57134000
push
00401357
; Case
10
of
switch
0040116A
00401211
. E9
54020000
jmp 0040146A
00401216
. E9
30010000
jmp 0040134B
0040121B
>
3D 4A070000 cmp eax, 74A
00401220
.
75
3F jnz
short
00401261
00401222
. 8B5D
14
mov ebx, dword ptr [ebp
+
14
] ; Case 74A of
switch
0040116A
00401225
. 83C3
02
add ebx,
2
00401228
. 891D 1E314000 mov dword ptr [40311E], ebx
0040122E . 83EB
02
sub ebx,
2
00401231
. 33C0 xor eax, eax
00401233
.
66
:8B03 mov ax, word ptr [ebx]
00401236
. 2AE0 sub ah, al
00401238
. 0F8C 0F010000 jl 0040134D
0040123E . 86E0 xchg al, ah
00401240
. 32E4 xor ah, ah
00401242
. C705 DD304000
>
mov dword ptr [4030DD],
88
0040124C .
2905
16314000
sub dword ptr [
403116
], eax
00401252
.
68
57134000
push
00401357
00401257
. E9
37010000
jmp
00401393
0040125C . E9 EA000000 jmp 0040134B
00401261
>
3D C3070000 cmp eax, 7C3
00401266
.
75
31
jnz
short
00401299
00401268
. 8B5D
14
mov ebx, dword ptr [ebp
+
14
] ; Case 7C3 of
switch
0040116A
0040126B . 33C0 xor eax, eax
0040126D .
66
:8B03 mov ax, word ptr [ebx]
00401270
. 2AE0 sub ah, al
00401272
. 32C0 xor al, al
00401274
. 86E0 xchg al, ah
00401276
.
2905
16314000
sub dword ptr [
403116
], eax
0040127C . B8
64000000
mov eax,
64
00401281
.
68
57134000
push
00401357
00401286
. 83C3
02
add ebx,
2
00401289
. 891D 1E314000 mov dword ptr [40311E], ebx
0040128F . E9 FF000000 jmp
00401393
00401294
. E9 B2000000 jmp 0040134B
00401299
>
3D B8070000 cmp eax, 7B8
0040129E .
75
3E jnz
short
004012DE
004012A0 . 8B5D
14
mov ebx, dword ptr [ebp
+
14
] ; Case 7B8 of
switch
0040116A
004012A3 . 83C3
02
add ebx,
2
004012A6 . 891D 1E314000 mov dword ptr [40311E], ebx
004012AC . 83EB
02
sub ebx,
2
004012AF . 33C0 xor eax, eax
004012B1 .
66
:8B03 mov ax, word ptr [ebx]
004012B4 . 02C4 add al, ah
004012B6 . 32E4 xor ah, ah
004012B8 .
2905
16314000
sub dword ptr [
403116
], eax
004012BE . C705 D9304000
>
mov dword ptr [4030D9],
88
004012C8 .
68
D2124000 push 004012D2
004012CD . E9
91000000
jmp
00401363
004012D2
>
68
57134000
push
00401357
004012D7 . E9 B7000000 jmp
00401393
004012DC . EB 6D jmp
short
0040134B
004012DE
>
3D
44070000
cmp eax,
744
004012E3 .
75
0C jnz
short
004012F1
004012E5 .
68
57134000
push
00401357
; Case
744
of
switch
0040116A
004012EA . E9 D6000000 jmp 004013C5
004012EF . EB 5A jmp
short
0040134B
004012F1
>
3D
45070000
cmp eax,
745
004012F6 .
75
2B jnz
short
00401323
004012F8 . 8B5D
14
mov ebx, dword ptr [ebp
+
14
] ; Case
745
of
switch
0040116A
004012FB . 83C3
02
add ebx,
2
004012FE . 891D 1E314000 mov dword ptr [40311E], ebx
00401304
. 83EB
02
sub ebx,
2
00401307
. 33C0 xor eax, eax
00401309
.
66
:8B03 mov ax, word ptr [ebx]
0040130C . 2AE0 sub ah, al
0040130E . 7C 3D jl
short
0040134D
00401310
. 86E0 xchg al, ah
00401312
. 32E4 xor ah, ah
00401314
.
0105
16314000
add dword ptr [
403116
], eax
0040131A .
68
57134000
push
00401357
0040131F . EB
72
jmp
short
00401393
00401321
. EB
28
jmp
short
0040134B
00401323
>
B9 BD090000 mov ecx, 9BD
00401328
. 3D BD050000 cmp eax, 5BD
0040132D .
72
10
jb
short
0040133F
0040132F . 3BC1 cmp eax, ecx
00401331
.
77
0C ja
short
0040133F
00401333
.
68
3D134000 push 0040133D
00401338
. E9 D1000000 jmp 0040140E
0040133D . EB 0C jmp
short
0040134B
0040133F
>
B8
00000000
mov eax,
0
00401344
. 5F pop edi
00401345
. 5E pop esi
00401346
. 5B pop ebx
00401347
. C9 leave
00401348
. C2
1000
retn
10