Function at 0x4e15a8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff44
mov esi, edx
mov ebx, eax
cmp dword [esi], 0xa100
jne 0x4e1a84
movzx eax, word [esi + 6]
cmp eax, 0x22
jg 0x4e15f2
je 0x4e1897
dec eax
je 0x4e17df
dec eax
je 0x4e1610
sub eax, 5
je 0x4e184f
sub eax, 0x19
je 0x4e185b
jmp 0x4e1a84
sub eax, 0x24
je 0x4e1a5d
sub eax, 0x18
je 0x4e1823
dec eax
je 0x4e1832
jmp 0x4e1a84
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
cmp eax, dword [esi + 8]
jne 0x4e17cd
cmp dword [ebx + 0x234], 0
je 0x4e1635
lea eax, [ebx + 0x234]
call fcn.0040e538
mov eax, dword [ebx + 0x25c]
call fcn.00450248
xor ecx, ecx
xor edx, edx
call fcn.004dd87c
mov eax, esi
mov edx, dword [ebx + 0x50]
call fcn.0050c3a8
mov dword [ebx + 0x260], 0xffffffff
mov dword [ebx + 0x21c], 0xffffffff
mov dword [ebx + 0x224], 0xffffffff
mov edx, esi
mov eax, dword [ebx + 0x25c]
call fcn.004c0974
mov eax, ebx
call fcn.004ee6a4
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
test eax, eax
je 0x4e1698
mov al, 1
call fcn.004d64d8
mov eax, dword [ebx + 0x25c]
test eax, eax
je case.0x4e21ad.0
test byte [eax + 0x1c], 8
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
test eax, eax
je 0x4e1766
xor edx, edx
mov eax, ebx
call fcn.004ed580
xor edx, edx
mov eax, ebx
call fcn.004ef5a4
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
jne 0x4e16f3
cmp dword [ebx + 0x250], 0
je 0x4e16f3
xor edx, edx
mov eax, ebx
call fcn.004ee414
mov eax, ebx
call fcn.004de5f4
test al, al
je 0x4e171c
cmp byte [ebx + 0x22f], 0
jne 0x4e171c
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowRgn
mov eax, ebx
call fcn.004ed160
cmp byte [ebx + 0x5c], 0
je 0x4e1742
mov eax, dword [ebx + 0x50]
cmp byte [eax + 9], 0
jne 0x4e1742
mov edx, 0xff00000f
mov eax, dword [ebx + 0x25c]
call fcn.00449ad4
xor edx, edx
mov eax, ebx
call fcn.004efbac
push 0x585
push 0
push 0
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x25c]
call fcn.0044cf78
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e17b3
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x25c]
call fcn.0044cf3c
mov edx, dword [0x43a0d0]
call fcn.00403654
test al, al
je 0x4e17af
mov edx, edi
mov eax, dword [ebx + 0x25c]
call fcn.0044cf3c
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.004f1c98
inc edi
dec ebp
jne 0x4e177b
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je case.0x4e21ad.0
add eax, 0x44
call fcn.0040e538
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x25c]
call fcn.004c0974
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x1c], 8
jne 0x4e1a84
cmp dword [ebx + 0x50], 0
je 0x4e1a84
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
cmp eax, dword [esi + 8]
jne 0x4e1a84
cmp dword [ebx + 0x264], 0
jne 0x4e1a84
mov eax, ebx
call fcn.004ee1b0
jmp 0x4e1a84
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
jmp case.0x4e21ad.0
mov eax, ebx
call fcn.004ec994
push eax
mov eax, ebx
call fcn.004ec8fc
pop edx
call fcn.004072d4
mov dword [esi + 0xc], eax
jmp case.0x4e21ad.0
mov dword [esi + 0xc], 1
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
mov dx, word [eax + 0x52]
and dx, 0x400
cmp dx, 0x400
jne 0x4e1a84
and word [eax + 0x52], 0xfbff
push 0
push 0
push 0xb015
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e1a84
mov edi, dword [ebx + 0x50]
test edi, edi
je 0x4e1a84
xor edx, edx
mov eax, edi
call fcn.0050c300
test al, al
je 0x4e1a84
lea ecx, [esp + 0x84]
xor edx, edx
xor eax, eax
call fcn.0040662c
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x84]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x88]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
je 0x4e1908
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
je 0x4e18f5
cmp byte [ebx + 0x230], 0
je 0x4e1908
mov eax, dword [ebx + 0x50]
call fcn.0050a098
test al, al
je 0x4e1908
mov eax, ebx
call fcn.004ea5c0
mov eax, dword [esi + 8]
cmp byte [eax + 0x31], 0
je 0x4e192b
mov eax, ebx
call fcn.004ec8fc
mov edx, dword [esi + 8]
add dword [edx + 8], eax
mov eax, ebx
call fcn.004ec994
mov edx, dword [esi + 8]
add dword [edx + 0xc], eax
mov eax, dword [ebx + 0x25c]
cmp word [eax + 0x2ba], 0
je 0x4e1982
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [esi + 8]
mov dword [edx], eax
mov eax, ebx
call fcn.004ec994
push eax
mov eax, ebx
call fcn.004ec8fc
lea ecx, [esp + 0x88]
pop edx
call fcn.0040662c
mov edi, dword [esi + 8]
mov eax, dword [esp + 0x84]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x88]
mov dword [edi + 0xc], eax
mov byte [edi + 0x30], 2
jmp case.0x4e21ad.0
mov edi, dword [ebx + 0x50]
cmp dword [edi + 0x28], 0xffffffff
jle 0x4e19c1
push 0
mov eax, edi
call fcn.0050bd80
mov eax, dword [eax + 0xe0]
mov edx, dword [ebx + 0x50]
imul edx, dword [edx + 0x28], 0x43
mov edx, dword [eax + edx*4 + 8]
dec edx
xor eax, eax
mov al, byte [ebx + 0x254]
call fcn.0042a5f0
mov ecx, eax
mov edx, dword [esi + 8]
mov eax, edi
call fcn.0050a46c
jmp 0x4e19de
push 0
xor eax, eax
mov al, byte [ebx + 0x254]
xor edx, edx
call fcn.0042a5f0
mov ecx, eax
mov edx, dword [esi + 8]
mov eax, edi
call fcn.0050a46c
mov eax, dword [esi + 8]
cmp byte [eax + 0x30], 2
jne 0x4e1a04
cmp byte [eax + 0x31], 0
jne 0x4e1a04
cmp dword [eax], 0
jne 0x4e1a04
mov eax, ebx
call fcn.004ea5c0
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 8]
lea edi, [eax + 8]
mov eax, ebx
call fcn.004ec8fc
add dword [edi], eax
mov ebp, dword [edi]
test ebp, ebp
je 0x4e1a2e
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x20]
sub edx, ebp
xor eax, eax
call fcn.0042a6b4
mov edx, dword [esi + 8]
mov dword [edx + 0x20], eax
mov eax, ebx
call fcn.004ec994
add dword [edi + 4], eax
mov ebx, dword [edi + 4]
test ebx, ebx
je case.0x4e21ad.0
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x24]
sub edx, ebx
xor eax, eax
call fcn.0042a6b4
mov edx, dword [esi + 8]
mov dword [edx + 0x24], eax
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
mov dx, word [eax + 0x52]
and dx, 2
cmp dx, 2
jne 0x4e1a75
xor edx, edx
call fcn.0050b954
mov eax, dword [ebx + 0x50]
movzx eax, word [eax + 0x52]
mov dword [esi + 0xc], eax
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x1c], 8
jne 0x4e1aa2
mov dl, 1
mov eax, dword [ebx + 0x50]
call fcn.0050c300
test al, al
jne 0x4e1eba
cmp dword [esi], 0xa100
jne 0x4e1cf2
mov ax, word [esi + 6]
dec ax
je 0x4e1ac9
sub ax, 3
jne 0x4e1cf2
mov dword [esi + 0xc], ebx
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x1c], 8
jne 0x4e1cf2
cmp dword [ebx + 0x50], 0
je 0x4e1cf2
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
cmp eax, dword [esi + 8]
jne case.0x4e21ad.0
mov eax, ebx
call fcn.004efdd4
mov al, 1
call fcn.004d64d8
mov eax, dword [ebx + 0x50]
call fcn.0050cc54
mov dword [ebx + 0x21c], 0xffffffff
mov eax, ebx
call fcn.004eff18
mov dword [ebx + 0x21c], eax
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov edx, 0x4e7a98
call fcn.0050745c
mov dword [ebx + 0x224], eax
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
test eax, eax
je 0x4e1cd0
cmp dword [ebx + 0x278], 0
je 0x4e1b8b
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4e1b8b
mov eax, ebx
call fcn.004f1c5c
mov esi, eax
mov eax, dword [ebx + 0x25c]
call fcn.004dd5c4
add eax, 4
cmp esi, eax
setg al
mov byte [ebx + 0x218], al
jmp 0x4e1b92
mov byte [ebx + 0x218], 0
mov dl, 1
mov eax, ebx
call fcn.004ef5a4
mov eax, ebx
call fcn.004edb3c
mov esi, dword [ebx + 0x25c]
cmp byte [esi + 0x22f], 2
jne 0x4e1bcc
mov eax, esi
call fcn.00463944
mov edx, dword [0x5270bc]
mov edx, dword [edx]
cmp eax, dword [edx + 0x6c]
jne 0x4e1bcc
mov byte [ebx + 0x254], 1
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
test byte [eax + 0x1c], 1
jne 0x4e1c69
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x248], 0
je 0x4e1bfd
cmp byte [ebx + 0xcd], 0
je 0x4e1bfd
mov byte [ebx + 0xc9], 1
mov dl, 1
mov eax, ebx
call fcn.004ed580
cmp byte [ebx + 0xc9], 0
jne 0x4e1c1c
mov eax, ebx
call fcn.004ed160
mov byte [ebx + 0xc9], al
mov eax, dword [ebx + 0x25c]
call fcn.0044cf78
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e1c69
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x25c]
call fcn.0044cf3c
mov edx, dword [0x43a0d0]
call fcn.00403654
test al, al
je 0x4e1c65
mov edx, edi
mov eax, dword [ebx + 0x25c]
call fcn.0044cf3c
mov edx, eax
mov cl, 1
mov eax, ebx
call fcn.004f1c98
inc edi
dec ebp
jne 0x4e1c31
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov dword [ebx + 0x260], 0xffffffff
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
jne 0x4e1c92
mov dl, 1
mov eax, ebx
call fcn.004ee414
cmp byte [ebx + 0x5c], 0
je 0x4e1cbb
mov eax, dword [ebx + 0x50]
cmp byte [eax + 9], 0
jne 0x4e1cbb
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
call fcn.004ff0cc
mov edx, eax
mov eax, dword [ebx + 0x25c]
call fcn.00449ad4
mov eax, dword [ebx + 0x25c]
call fcn.00450248
xor ecx, ecx
mov dl, byte [ebx + 0x78]
call fcn.004dd87c
mov eax, dword [ebx + 0x238]
test eax, eax
jne 0x4e1ce6
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
jmp case.0x4e21ad.0
xor edx, edx
call fcn.004f45e8
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [esi]
sub eax, 0x47
je 0x4e1d20
sub eax, 0x3b
je 0x4e1df8
sub eax, 0xafc1
je 0x4e1eac
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
test eax, eax
je case.0x4e21ad.0
call fcn.004c2be0
test al, al
je case.0x4e21ad.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
jne case.0x4e21ad.0
cmp byte [ebx + 0x95], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne case.0x4e21ad.0
cmp byte [ebx + 0x232], 0
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
cmp byte [eax + 0x3c], 0
je case.0x4e21ad.0
cmp byte [ebx + 0x78], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je case.0x4e21ad.0
xor eax, eax
mov dword [0x525f68], eax
mov byte [ebx + 0x232], 1
mov eax, ebx
call fcn.004bdcd4
cmp byte [0x525f5c], 0
jne 0x4e1dcf
mov eax, dword [ebx + 0x25c]
call fcn.00450248
mov cl, 1
xor edx, edx
call fcn.004e1468
mov byte [ebx + 0x232], 0
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne case.0x4e21ad.0
cmp dword [0x528f60], 0
je case.0x4e21ad.0
mov eax, dword [0x528f60]
cmp dword [eax + 0x250], 0
je case.0x4e21ad.0
mov eax, dword [0x528f60]
test byte [eax + 0x1c], 8
jne case.0x4e21ad.0
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
test byte [eax + 0x1c], 8
jne case.0x4e21ad.0
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x50]
mov dl, 1
call fcn.0050c300
test al, al
je case.0x4e21ad.0
mov eax, dword [0x528f60]
call fcn.004eda84
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
call fcn.00463944
test eax, eax
jne case.0x4e21ad.0
push 0x507
push 0
push 0
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4e21ad.0
mov edx, esi
mov eax, ebx
call fcn.004efff4
jmp case.0x4e21ad.0
mov eax, dword [esi]
cmp eax, 0xa4
jg 0x4e201f
je 0x4e4eb7
cmp eax, 0x2c
jg 0x4e1f80
je 0x4e6859
cmp eax, 0x24
ja case.0x4e1ee5.0
jmp dword [eax*4 + 0x4e1eec]
cmp eax, 0x81
jg 0x4e1fd6
je 0x4e42ee
cmp eax, 0x4e
jg 0x4e1fb6
je 0x4e799b
sub eax, 0x46
je 0x4e72e2
dec eax
je 0x4e7331
sub eax, 3
je 0x4e2845
jmp case.0x4e1ee5.0
sub eax, 0x7b
je 0x4e291e
sub eax, 2
je 0x4e2ac7
sub eax, 3
je 0x4e2a16
jmp case.0x4e1ee5.0
cmp eax, 0xa0
jg 0x4e2001
je 0x4e27ac
sub eax, 0x84
je 0x4e401a
dec eax
je 0x4e5c5c
dec eax
je 0x4e63d8
jmp case.0x4e1ee5.0
sub eax, 0xa1
je 0x4e431b
dec eax
je 0x4e4f59
dec eax
je 0x4e66b2
jmp case.0x4e1ee5.0
cmp eax, 0x323
jg 0x4e20e7
je 0x4e28d5
cmp eax, 0x212
jg 0x4e2095
je 0x4e3fed
cmp eax, 0x200
jg 0x4e2075
je 0x4e49f8
sub eax, 0xa5
je 0x4e4ed9
sub eax, 0x6d
je 0x4e68db
sub eax, 5
je 0x4e2aa7
sub eax, 0xa
je 0x4e56e5
jmp case.0x4e1ee5.0
sub eax, 0x202
je 0x4e4f59
sub eax, 0xe
je 0x4e78dd
dec eax
je 0x4e3e92
jmp case.0x4e1ee5.0
cmp eax, 0x2a3
jg 0x4e20c7
je 0x4e425a
sub eax, 0x214
je 0x4e422b
add eax, 0xfffffff3
sub eax, 2
jb 0x4e6532
sub eax, 0xf
je 0x4e2998
jmp case.0x4e1ee5.0
sub eax, 0x313
je 0x4e2ba1
sub eax, 4
je 0x4e57aa
dec eax
je case.0x4e21ad.0
jmp case.0x4e1ee5.0
cmp eax, 0xb015
jg 0x4e2147
je 0x4e5735
cmp eax, 0xb00b
jg 0x4e2127
je 0x4e660a
sub eax, 0x326
je 0x4e28ab
sub eax, 0x9dda
je 0x4e219a
sub eax, 0x300
je 0x4e2803
jmp case.0x4e1ee5.0
sub eax, 0xb00c
je 0x4e349c
sub eax, 7
je 0x4e4292
dec eax
je 0x4e425a
jmp case.0x4e1ee5.0
cmp eax, 0xb03a
jg 0x4e2176
je 0x4e56ef
sub eax, 0xb019
je 0x4e2be3
sub eax, 0x13
je 0x4e79d9
sub eax, 7
je 0x4e6395
jmp case.0x4e1ee5.0
sub eax, 0xb043
je 0x4e27e7
sub eax, 9
je 0x4e5c52
sub eax, 0xc01
je 0x4e5c52
jmp case.0x4e1ee5.0
movzx eax, word [esi + 6]
cmp eax, 0x3e
ja case.0x4e21ad.0
mov al, byte [eax + 0x4e21b4]
jmp dword [eax*4 + 0x4e21f3]
cmp dword [ebx + 0x25c], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x1c], 1
jne case.0x4e21ad.0
cmp dword [ebx + 0x238], 0
je case.0x4e21ad.0
cmp dword [esi + 8], 0
je 0x4e2276
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x238]
call fcn.004f45e8
jmp case.0x4e21ad.0
mov edx, dword [ebx + 0x25c]
mov eax, dword [ebx + 0x238]
call fcn.004f45e8
jmp case.0x4e21ad.0
cmp dword [ebx + 0x50], 0
je case.0x4e21ad.0
cmp byte [0x525f5c], 0
jne 0x4e22b4
mov eax, dword [ebx + 0x50]
call fcn.0050a098
test al, al
je 0x4e22b4
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4e22b8
xor eax, eax
jmp 0x4e22ba
mov al, 1
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
push 0x401
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
jmp case.0x4e21ad.0
cmp dword [esi + 8], 1
jne 0x4e2311
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov eax, ebx
call fcn.004de63c
jmp case.0x4e21ad.0
cmp word [esi + 4], 1
sete dl
mov eax, dword [ebx + 0x50]
call fcn.0050c2fc
mov eax, dword [ebx + 0x50]
call fcn.0050bd90
test al, al
je case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
cmp eax, dword [esi + 8]
jne case.0x4e21ad.0
cmp dword [ebx + 0x238], 0
jne 0x4e236c
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
jmp 0x4e2379
xor edx, edx
mov eax, dword [ebx + 0x238]
call fcn.004f45e8
cmp byte [ebx + 0x78], 0
je 0x4e2397
cmp byte [ebx + 0xa6], 0
je 0x4e2397
lea edx, [ebx + 0x234]
xor ecx, ecx
mov eax, ebx
call fcn.004de4f8
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x30], 0
je 0x4e23bb
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
je 0x4e23bb
mov eax, dword [ebx + 0x50]
and word [eax + 0x52], 0xfffe
mov dword [ebx + 0x260], 0xffffffff
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
test byte [eax + 0x1c], 1
jne 0x4e23ed
mov eax, ebx
call fcn.004ed160
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.0050c300
mov edx, eax
mov eax, ebx
call fcn.004ed580
mov eax, ebx
call fcn.004de5f4
test al, al
je 0x4e23fc
mov byte [ebx + 0x34], 1
mov eax, ebx
call fcn.004f1aec
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x57], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
call fcn.00509148
mov edx, eax
mov eax, ebx
call fcn.004efbac
cmp byte [0x525f5c], 0
jne 0x4e24df
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
jne 0x4e249b
mov eax, dword [ebx + 0x25c]
call fcn.00463944
test eax, eax
je 0x4e249b
mov eax, dword [ebx + 0x25c]
call fcn.00463944
cmp byte [eax + 0x22b], 2
jne 0x4e249b
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004f02fc
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00463944
call fcn.00450248
push eax
call sub.user32.dll_InvalidateRect
jmp 0x4e24df
push 0x545
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
jne 0x4e24df
push 0x545
push 0
push 0
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
cmp byte [ebx + 0x5c], 0
je 0x4e2508
mov eax, dword [ebx + 0x50]
cmp byte [eax + 9], 0
jne 0x4e2508
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
call fcn.004ff0cc
mov edx, eax
mov eax, dword [ebx + 0x25c]
call fcn.00449ad4
cmp dword [ebx + 0x250], 0
je 0x4e251c
mov eax, dword [ebx + 0x250]
call fcn.0047c2fc
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.0050c2fc
cmp dword [ebx + 0x264], 0
je 0x4e253a
mov eax, dword [ebx + 0x264]
call fcn.004f39a4
mov edx, esi
mov eax, ebx
call fcn.004ee6f4
cmp dword [ebx + 0x278], 0
je case.0x4e21ad.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x278]
call fcn.004f74a0
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0xe0]
mov edx, dword [ebx + 0x50]
imul edx, dword [edx + 0x28], 0x43
mov edi, dword [eax + edx*4 + 0xa8]
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0xe0]
mov edx, dword [ebx + 0x50]
imul edx, dword [edx + 0x28], 0x43
add edi, dword [eax + edx*4 + 0xb4]
test edi, edi
jle 0x4e25a9
mov dword [esi + 8], 1
jmp 0x4e25e8
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x24], 0
jl 0x4e25dc
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0xd8]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x24]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ax, word [eax + edx*8 + 0x22]
and ax, 4
cmp ax, 4
je 0x4e25e0
xor eax, eax
jmp 0x4e25e2
mov al, 1
and eax, 0x7f
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp case.0x4e21ad.0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.0050aa40
mov dword [esi + 0xc], eax
jmp case.0x4e21ad.0
mov dword [esi + 0xc], ebx
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
cmp eax, dword [esi + 8]
jne case.0x4e21ad.0
mov al, 1
call fcn.004d64d8
mov eax, dword [ebx + 0x50]
call fcn.0050cc54
mov dword [ebx + 0x21c], 0xffffffff
mov eax, ebx
call fcn.004eff18
mov dword [ebx + 0x21c], eax
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov edx, 0x4e7a98
call fcn.0050745c
mov dword [ebx + 0x224], eax
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
test eax, eax
je case.0x4e21ad.0
mov eax, ebx
call fcn.004edb3c
mov al, 1
call fcn.004d64d8
mov dl, byte [ebx + 0x78]
mov eax, ebx
call fcn.004ef5a4
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x44]
call fcn.004d84c8
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov dword [ebx + 0x260], 0xffffffff
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004f02fc
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
jne case.0x4e21ad.0
mov dl, 1
mov eax, ebx
call fcn.004ee414
jmp case.0x4e21ad.0
mov cl, 1
or edx, 0xffffffff
mov eax, ebx
call fcn.004e8d48
mov byte [0x5263f4], 0
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
call fcn.0050bf70
test al, al
je case.0x4e21ad.0
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
call fcn.0050bf70
test al, al
je case.0x4e21ad.0
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
cmp ebx, dword [0x528f60]
jne case.0x4e21ad.0
push 0x581
push 0
push 0
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4e21ad.0
mov eax, esi
mov edx, dword [ebx + 0x50]
call fcn.0050cd74
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x38], 0
je case.0x4e21ad.0
mov eax, ebx
call fcn.004ea5c0
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
pop edx
call fcn.00508678
mov edx, esi
mov eax, ebx
call fcn.004f0250
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov edx, esi
mov eax, ebx
call fcn.004efff4
jmp case.0x4e21ad.0
mov eax, dword [esi + 4]
dec eax
je 0x4e2829
sub eax, 2
je 0x4e2816
dec eax
je 0x4e2839
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
call fcn.00466260
jmp case.0x4e21ad.0
mov dword [esi + 0xc], 1
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp dword [esi + 0xc], 0
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
cmp eax, dword [0x523090]
jne case.0x4e21ad.0
cmp byte [0x523098], 0
jne case.0x4e21ad.0
mov byte [0x523098], 1
cmp dword [esi + 8], 0
je 0x4e289f
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov edx, eax
mov eax, esi
call fcn.004fd89c
mov byte [0x523098], 0
jmp case.0x4e21ad.0
cmp byte [0x5230d8], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
mov edx, ebx
call fcn.004dc2e4
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4e21ad.0
cmp byte [0x5230d8], 0
je case.0x4e21ad.0
cmp word [esi + 0xa], 0
je case.0x4e21ad.0
cmp word [esi + 8], 0
je case.0x4e21ad.0
movzx eax, word [esi + 8]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00450248
movzx ecx, word [esi + 0xa]
mov edx, ebx
call fcn.004dc06c
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x7c], 0
je 0x4e2950
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov al, byte [eax + 0x58]
push eax
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x25c]
mov edx, dword [edx + 0x7c]
pop ecx
call fcn.004d9a48
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
cmp dword [esi + 4], 1
jne 0x4e297f
mov edx, dword [ebx + 0xc4]
dec edx
xor eax, eax
call fcn.0042a6b4
mov dword [ebx + 0xc4], eax
jmp 0x4e2985
inc dword [ebx + 0xc4]
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp dword [ebx + 0x278], 0
je case.0x4e21ad.0
cmp dword [0x528edc], 0
je case.0x4e21ad.0
mov eax, dword [0x528edc]
mov ebp, dword [eax + 8]
dec ebp
test ebp, ebp
jl case.0x4e21ad.0
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [0x528edc]
call fcn.00418ef8
test eax, eax
je 0x4e29ff
mov edx, edi
mov eax, dword [0x528edc]
call fcn.00418ef8
mov eax, dword [eax + 0x38]
xor ecx, ecx
mov edx, 0x12
call fcn.004c07c8
inc edi
dec ebp
jne 0x4e29d4
jmp case.0x4e21ad.0
mov edx, esi
mov eax, ebx
call fcn.004efc5c
jmp case.0x4e21ad.0
test byte [ebx + 0x1c], 1
jne 0x4e2a94
cmp dword [esi + 8], 0
je 0x4e2a94
cmp byte [0x525f5c], 0
jne 0x4e2a94
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x1a6], 0
je 0x4e2a94
call fcn.004dd7e8
test al, al
jne 0x4e2a5a
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
call fcn.004dd7e8
test al, al
jne 0x4e2a88
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
mov eax, ebx
call fcn.004de63c
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
cmp byte [eax + 0x58], 0
je case.0x4e21ad.0
mov edx, esi
mov eax, ebx
call fcn.004ef870
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [ebx + 0x264]
test eax, eax
je 0x4e2b16
cmp dword [eax + 0x98], 0
je 0x4e2b16
mov edx, dword [ebx + 0x25c]
test byte [edx + 0x228], 1
setne dl
mov ecx, dword [eax + 0x98]
cmp dl, byte [ecx + 0x3e]
je 0x4e2b16
xor edx, edx
call fcn.004f39a8
mov eax, ebx
call fcn.004de63c
jmp case.0x4e21ad.0
cmp dword [esi + 4], 0xffffffec
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x23c]
and eax, 0x80
cmp eax, 0x80
je case.0x4e21ad.0
mov eax, dword [ebx + 0x23c]
and eax, 0x100
cmp eax, 0x100
je case.0x4e21ad.0
mov eax, dword [ebx + 0x23c]
and eax, 0x400
cmp eax, 0x400
je case.0x4e21ad.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
and eax, 0x80000
mov edx, dword [esi + 8]
mov edx, dword [edx]
and edx, 0x80000
cmp eax, edx
je case.0x4e21ad.0
cmp dword [ebx + 0x278], 0
je case.0x4e21ad.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x278]
call fcn.004f74a0
jmp case.0x4e21ad.0
lea edx, [esp + 0x84]
mov eax, dword [0x527060]
mov eax, dword [eax]
call fcn.00454b38
mov eax, dword [esp + 0x88]
push eax
lea edx, [esp + 0x90]
mov eax, dword [0x527060]
mov eax, dword [eax]
call fcn.00454b38
mov edx, dword [esp + 0x90]
mov eax, ebx
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4e21ad.0
mov dword [esp + 4], 0xff
cmp byte [ebx + 0x78], 0
je 0x4e30a5
cmp byte [ebx + 0xa6], 0
je 0x4e30a5
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x1a6], 0
je 0x4e3042
cmp byte [eax + 0x22f], 1
jne 0x4e2c47
cmp dword [ebx + 0x238], 0
je 0x4e2c34
mov edx, eax
mov eax, dword [ebx + 0x238]
call fcn.004f45e8
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
jne 0x4e2c5f
mov dl, 1
mov eax, ebx
call fcn.004ee414
and dword [ebx + 0x23c], 0xfffffdff
cmp dword [ebx + 0x278], 0
je 0x4e2c7c
mov eax, dword [ebx + 0x278]
mov byte [eax + 0x28], 0
cmp dword [ebx + 0x228], 0
je 0x4e2ca5
mov eax, dword [ebx + 0x228]
mov edx, dword [0x4dbf40]
call fcn.00403654
test al, al
je 0x4e2ca5
lea eax, [ebx + 0x228]
call fcn.0040e538
cmp byte [0x523094], 0
je 0x4e2cec
mov eax, dword [ebx + 0x25c]
call fcn.0045054c
test al, al
je 0x4e2cec
mov eax, dword [0x526eb8]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x4e2cdc
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x25c]
jne 0x4e2cec
mov eax, dword [ebx + 0x25c]
call fcn.00450248
call fcn.004df214
mov eax, ebx
call fcn.004ee134
cmp dword [ebx + 0x238], 0
je 0x4e2d0d
mov edx, dword [ebx + 0x25c]
mov eax, dword [ebx + 0x238]
call fcn.004f45e8
cmp byte [ebx + 0x95], 0
je 0x4e2d58
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
je 0x4e2d31
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x30], 0
jne 0x4e2d58
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
cmp byte [eax + 6], 0
je 0x4e2d58
mov eax, dword [ebx + 0x25c]
call fcn.00450248
cmp eax, dword [0x523090]
jne 0x4e2d5c
xor eax, eax
jmp 0x4e2d5e
mov al, 1
mov byte [ebx + 0x233], al
mov byte [esp + 0x11], 0
cmp byte [ebx + 0x233], 0
je 0x4e2e43
mov dl, 1
mov eax, dword [ebx + 0x50]
call fcn.0050c2fc
mov byte [ebx + 0x230], 1
mov eax, dword [ebx + 0x25c]
call fcn.00450248
mov cl, 1
mov dl, 1
call fcn.004e1468
mov byte [esp + 0x11], al
mov dword [esp + 4], 0xff
cmp byte [esp + 0x11], 0
je 0x4e2dc0
xor edx, edx
mov eax, ebx
call fcn.004de1bc
mov byte [ebx + 0x240], 0
jmp 0x4e2dde
mov eax, dword [ebx + 0x25c]
movzx eax, byte [eax + 0x2e1]
mov dword [esp + 4], eax
xor edx, edx
mov eax, dword [ebx + 0x25c]
call fcn.00466ce8
mov eax, dword [ebx + 0x25c]
call fcn.0044cf78
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e2e4d
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x25c]
call fcn.0044cf3c
cmp byte [eax + 0x57], 0
je 0x4e2e3d
mov edx, edi
mov eax, dword [ebx + 0x25c]
call fcn.0044cf3c
mov edx, dword [0x5220a0]
call fcn.00403654
test al, al
jne 0x4e2e3d
push 0
mov edx, edi
mov eax, dword [ebx + 0x25c]
call fcn.0044cf3c
xor ecx, ecx
mov edx, 0xb
call fcn.0044ab00
inc edi
dec ebp
jne 0x4e2df3
jmp 0x4e2e4d
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.0050c2fc
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
call fcn.00509148
mov edx, eax
mov eax, ebx
call fcn.004efbac
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.0050c300
test al, al
jne 0x4e2f2c
cmp byte [ebx + 0x233], 0
je 0x4e2f2c
mov eax, dword [ebx + 0x25c]
call fcn.0044cf78
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e2eda
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x25c]
call fcn.0044cf3c
cmp byte [eax + 0x57], 0
je 0x4e2ed6
push 0
mov edx, edi
mov eax, dword [ebx + 0x25c]
call fcn.0044cf3c
mov ecx, 1
mov edx, 0xb
call fcn.0044ab00
inc edi
dec ebp
jne 0x4e2ea5
push 0xffffffffffffffec
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowLongA
push 0x81
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
mov byte [ebx + 0x240], 0
jmp case.0x4e21ad.0
lea edx, [ebx + 0x234]
xor ecx, ecx
mov eax, ebx
call fcn.004de4f8
cmp byte [ebx + 0x233], 0
je 0x4e2ff6
mov eax, dword [ebx + 0x25c]
call fcn.0044cf78
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e2f92
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x25c]
call fcn.0044cf3c
cmp byte [eax + 0x57], 0
je 0x4e2f8e
push 0
mov edx, edi
mov eax, dword [ebx + 0x25c]
call fcn.0044cf3c
mov ecx, 1
mov edx, 0xb
call fcn.0044ab00
inc edi
dec ebp
jne 0x4e2f5d
cmp byte [esp + 0x11], 0
je 0x4e2fad
mov eax, dword [ebx + 0x25c]
call fcn.00450248
mov cl, 1
xor edx, edx
call fcn.004e1468
mov byte [ebx + 0x233], 0
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
movzx edi, word [eax + 4]
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 7]
mov byte [esp + 0x13], al
mov al, byte [esp + 0x13]
push eax
mov ecx, dword [esp + 8]
mov edx, edi
mov eax, ebx
call fcn.004bd348
mov byte [ebx + 0x240], 0
jmp 0x4e3010
push 0x81
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 2
jne case.0x4e21ad.0
mov al, 1
call fcn.004e131c
jmp case.0x4e21ad.0
cmp dword [ebx + 0x278], 0
je 0x4e3092
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4e3087
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
movzx eax, word [eax + 4]
mov ecx, 0xc
xor edx, edx
div ecx
test eax, eax
je 0x4e3087
cmp byte [ebx + 0x95], 0
jne 0x4e3092
lea eax, [ebx + 0x278]
call fcn.0040e538
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
call fcn.004dd7e8
test al, al
je 0x4e30e2
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x1a6], 0
je 0x4e30e2
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
call fcn.004dd7e8
test al, al
je case.0x4e21ad.0
push 0x181
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
je 0x4e324d
cmp dword [esi + 4], 1
jne 0x4e31b6
cmp dword [ebx + 0x278], 0
je 0x4e3145
mov eax, dword [ebx + 0x278]
mov byte [eax + 0x28], 0
mov eax, dword [ebx + 0x23c]
and eax, 0x400
cmp eax, 0x400
jne 0x4e3163
mov dword [ebx + 0x23c], 0x400
jmp 0x4e316b
xor eax, eax
mov dword [ebx + 0x23c], eax
call fcn.004dd7e8
test al, al
je 0x4e31b6
cmp byte [0x525f5c], 0
jne 0x4e31b6
push 0xffffffffffffffec
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4e31b6
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [esi + 8]
dec eax
je 0x4e31c6
sub eax, 2
je 0x4e3214
jmp 0x4e324d
cmp byte [ebx + 0x231], 0
je 0x4e324d
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e31ed
mov byte [ebx + 0x231], 2
jmp 0x4e324d
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4e320b
mov byte [ebx + 0x231], 3
jmp 0x4e324d
mov byte [ebx + 0x231], 1
jmp 0x4e324d
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4e324d
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x25c]
jne 0x4e324d
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp dword [esi + 4], 1
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x4e328d
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 2
jne 0x4e328d
mov eax, dword [0x528f60]
call fcn.004eda84
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
jne 0x4e32ee
mov eax, dword [ebx + 0x25c]
call fcn.00463978
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e32ee
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x25c]
call fcn.004639c4
call fcn.00450248
mov edx, 7
call fcn.004c0870
test al, al
jne 0x4e32ea
mov edx, edi
mov eax, dword [ebx + 0x25c]
call fcn.004639c4
call fcn.00450248
xor edx, edx
call fcn.004a477c
inc edi
dec ebp
jne 0x4e32b1
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x30], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
je case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
and word [eax + 0x52], 0xfffe
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
call fcn.0045054c
test al, al
je 0x4e3489
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e3489
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x54], 0x40
jne 0x4e3489
cmp byte [ebx + 0x78], 0
je 0x4e3489
cmp dword [ebx + 0xd0], 0
je 0x4e3380
lea eax, [ebx + 0xd0]
call fcn.0040e538
cmp dword [ebx + 0xd4], 0
je 0x4e3394
lea eax, [ebx + 0xd4]
call fcn.0040e538
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x4e33e7
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 2
jne 0x4e33e7
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
xor edx, edx
mov eax, dword [0x528f60]
call fcn.004ddcd8
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [0x528f60]
call fcn.004ddfe0
jmp 0x4e3468
call fcn.004dd7e8
test al, al
jne 0x4e3431
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
xor edx, edx
mov eax, ebx
call fcn.004ddcd8
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, ebx
call fcn.004ddfe0
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e3468
cmp dword [ebx + 0x278], 0
jne 0x4e3443
xor edx, edx
mov eax, ebx
call fcn.004ddcd8
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, ebx
call fcn.004de63c
cmp dword [ebx + 0x278], 0
jne 0x4e3468
mov eax, ebx
call fcn.004ddfe0
cmp dword [ebx + 0x278], 0
je case.0x4e21ad.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x278]
call fcn.004f74a0
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp byte [ebx + 0x78], 0
je case.0x4e21ad.0
mov esi, dword [ebx + 0x278]
test esi, esi
je 0x4e34d9
cmp dword [esi + 0x18], 0
je 0x4e34d9
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x50]
mov edx, eax
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, ebx
call fcn.004ed160
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, ebx
call fcn.004ed160
cmp dword [0x528f60], 0
je case.0x4e21ad.0
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
call fcn.00463944
test eax, eax
je case.0x4e21ad.0
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
call fcn.00463944
cmp byte [eax + 0x22b], 2
jne 0x4e3581
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x250]
call fcn.0047c39c
jmp case.0x4e21ad.0
mov dl, 1
mov eax, ebx
call fcn.004ef5a4
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4e3e53
mov eax, ebx
call fcn.004dd8e8
test al, al
je 0x4e3759
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov edi, dword [eax + 0x190]
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov edx, edi
call fcn.00500fb4
test al, al
je 0x4e3759
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0xd8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8]
call fcn.004fbd90
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0xd8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8]
call fcn.004fbdc8
mov edi, eax
lea eax, [ebx + 0x208]
xor edx, edx
call fcn.004fb040
mov ebp, eax
mov eax, dword [ebx + 0x25c]
call fcn.00449338
cmp ebp, eax
jl 0x4e364c
lea eax, [ebx + 0x208]
xor edx, edx
call fcn.004fb054
mov ebp, eax
mov eax, dword [ebx + 0x25c]
call fcn.0044937c
cmp ebp, eax
jge 0x4e36b7
mov eax, dword [ebx + 0x50]
call fcn.0050a098
test al, al
jne 0x4e36b7
lea eax, [ebx + 0x208]
xor edx, edx
call fcn.004fb040
test eax, eax
je 0x4e36b7
mov eax, dword [ebx + 0x214]
push eax
lea eax, [esp + 0x38]
push eax
mov edx, dword [ebx + 0x214]
sub edx, edi
mov eax, dword [ebx + 0x210]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x210]
call fcn.00406610
mov eax, dword [ebx + 0x50]
call fcn.0050a098
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_InvalidateRect
lea eax, [ebx + 0x208]
xor edx, edx
call fcn.004fb040
mov ebp, eax
mov eax, dword [ebx + 0x25c]
call fcn.00449338
cmp ebp, eax
jg 0x4e36f3
lea eax, [ebx + 0x208]
xor edx, edx
call fcn.004fb054
mov ebp, eax
mov eax, dword [ebx + 0x25c]
call fcn.0044937c
cmp ebp, eax
jle 0x4e3759
mov eax, dword [ebx + 0x25c]
call fcn.0044937c
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00449338
push eax
mov eax, dword [ebx + 0x25c]
call fcn.0044937c
sub eax, edi
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00449338
sub eax, dword [esp + 0x14]
pop edx
pop ecx
call fcn.00406610
mov eax, dword [ebx + 0x50]
call fcn.0050a098
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_InvalidateRect
lea eax, [ebx + 0x208]
xor edx, edx
call fcn.004fb040
mov edi, eax
mov eax, dword [ebx + 0x25c]
call fcn.00449338
cmp edi, eax
jg 0x4e37aa
lea eax, [ebx + 0x208]
xor edx, edx
call fcn.004fb054
mov edi, eax
mov eax, dword [ebx + 0x25c]
call fcn.0044937c
cmp edi, eax
jg 0x4e37aa
lea eax, [ebx + 0x208]
xor edx, edx
call fcn.004fb040
test eax, eax
jne 0x4e3918
push 0x4e7aa8
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov edx, dword [ebx + 0x50]
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x28]
call fcn.005074b4
mov edi, eax
cmp edi, 0xffffffff
jle 0x4e3861
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0xd8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8]
call fcn.004fbd90
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0xd8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8]
call fcn.004fbdc8
mov edi, eax
mov eax, dword [ebx + 0x214]
push eax
lea eax, [esp + 0x38]
push eax
mov edx, dword [ebx + 0x214]
sub edx, edi
mov eax, dword [ebx + 0x210]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x210]
call fcn.00406610
mov eax, dword [ebx + 0x50]
call fcn.0050a098
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_InvalidateRect
push 0x4e7abc
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov edx, dword [ebx + 0x50]
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x28]
call fcn.005074b4
mov edi, eax
cmp edi, 0xffffffff
jle 0x4e3918
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0xd8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8]
call fcn.004fbd90
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0xd8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8]
call fcn.004fbdc8
mov edi, eax
mov eax, dword [ebx + 0x214]
push eax
lea eax, [esp + 0x38]
push eax
mov edx, dword [ebx + 0x214]
sub edx, edi
mov eax, dword [ebx + 0x210]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x210]
call fcn.00406610
mov eax, dword [ebx + 0x50]
call fcn.0050a098
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_InvalidateRect
cmp dword [ebx + 0xd0], 0
je 0x4e392c
lea eax, [ebx + 0xd0]
call fcn.0040e538
cmp dword [ebx + 0xd4], 0
je 0x4e3940
lea eax, [ebx + 0xd4]
call fcn.0040e538
mov dword [ebx + 0x260], 0xffffffff
mov eax, dword [ebx + 0x23c]
and eax, 0x80
cmp eax, 0x80
jne 0x4e3963
mov eax, ebx
call fcn.004dcfe4
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x30], 0
jne 0x4e3996
cmp byte [ebx + 0xa6], 0
je 0x4e3996
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 1
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
jmp 0x4e39a4
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp byte [0x525f5c], 0
jne 0x4e3e13
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x1a6], 0
je 0x4e3e0c
mov eax, ebx
call fcn.004eccc4
test al, al
je 0x4e3d76
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e39f5
cmp byte [ebx + 0x22e], 0
jne 0x4e3d76
mov byte [ebx + 0x34], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4e3a4d
mov eax, dword [ebx + 0x50]
call fcn.0050a098
test al, al
je 0x4e3a41
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebx + 0x25c]
cmp eax, dword [edx + 0x48]
jg 0x4e3a45
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebx + 0x25c]
cmp eax, dword [edx + 0x4c]
jg 0x4e3a45
xor eax, eax
jmp 0x4e3a47
mov al, 1
mov byte [esp + 0x10], al
jmp 0x4e3a52
mov byte [esp + 0x10], 0
cmp byte [ebx + 0x78], 0
je 0x4e3d1a
cmp byte [0x5230bc], 0
je 0x4e3a88
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 2
jne 0x4e3a88
cmp dword [ebx + 0x278], 0
je 0x4e3a88
lea eax, [ebx + 0x278]
call fcn.0040e538
mov eax, dword [ebx + 0x278]
test eax, eax
je 0x4e3b3e
cmp dword [eax + 0x18], 0
jne 0x4e3aa1
call fcn.004f8694
cmp dword [ebx + 0x234], 0
je 0x4e3acb
mov eax, dword [ebx + 0x234]
mov eax, dword [eax + 0x80]
cmp byte [eax + 6], 0
jne 0x4e3ad8
mov eax, dword [ebx + 0x234]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 6], 0
jne 0x4e3ad8
cmp byte [ebx + 0x54], 0
jne 0x4e3ad8
or dword [ebx + 0x23c], 1
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x278]
call fcn.004f74a0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 1
and dword [ebx + 0x23c], 0xfffffffe
mov eax, dword [ebx + 0x278]
mov byte [eax + 0x28], 1
push 0x61b
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebx + 0x278]
mov byte [eax + 0x28], 0
mov dl, 1
mov eax, ebx
call fcn.004de1bc
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
jmp 0x4e3b4e
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004f02fc
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x54]
and ax, 2
cmp ax, 2
jne 0x4e3b8a
lea eax, [ebx + 0x208]
xor edx, edx
call fcn.004fb054
mov esi, eax
mov eax, dword [ebx + 0x25c]
call fcn.0044937c
cmp esi, eax
jne 0x4e3bb9
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x54]
and ax, 1
cmp ax, 1
jne 0x4e3bea
lea eax, [ebx + 0x208]
xor edx, edx
call fcn.004fb040
mov esi, eax
mov eax, dword [ebx + 0x25c]
call fcn.00449338
cmp esi, eax
je 0x4e3bea
push 0
lea eax, [esp + 0x18]
push eax
mov dx, 0x14
mov ax, 1
call fcn.00407394
mov edx, eax
xor ecx, ecx
mov eax, 0xa100
call fcn.004faec4
lea edx, [esp + 0x14]
mov eax, dword [ebx + 0x25c]
call fcn.004c0974
cmp dword [ebx + 0x278], 0
je 0x4e3cf3
mov eax, dword [ebx + 0x234]
test eax, eax
je 0x4e3c39
cmp dword [eax + 0x80], 0
je 0x4e3c39
cmp dword [eax + 0x7c], 0
je 0x4e3c39
mov eax, dword [ebx + 0x234]
mov eax, dword [eax + 0x80]
cmp byte [eax + 6], 0
jne 0x4e3cf3
mov eax, dword [ebx + 0x234]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 6], 0
jne 0x4e3cf3
mov eax, dword [ebx + 0x278]
cmp dword [eax + 0x18], 0
jne 0x4e3c50
mov eax, dword [ebx + 0x278]
call fcn.004f8694
push 0x101
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
mov esi, dword [ebx + 0x278]
test esi, esi
je 0x4e3ce8
cmp dword [esi + 0x18], 0
je 0x4e3ce8
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
mov eax, dword [esi + 0x18]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowPos
cmp dword [ebx + 0x278], 0
je 0x4e3cdc
mov eax, dword [ebx + 0x278]
cmp dword [eax + 0x18], 0
je 0x4e3cdc
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x278]
call fcn.004f852c
push eax
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebx + 0x278]
mov byte [eax + 0x28], 0
jmp 0x4e3d0d
xor edx, edx
mov eax, ebx
call fcn.004de1bc
jmp 0x4e3d0d
push 0x921
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x25c]
call fcn.004bfe10
jmp 0x4e3d36
cmp byte [esp + 0x10], 0
je 0x4e3d36
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_InvalidateRect
mov eax, dword [ebx + 0x25c]
call fcn.0044937c
push eax
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00449338
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406610
lea esi, [esp + 0x94]
lea edi, [ebx + 0x208]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
jne 0x4e3d91
mov eax, dword [ebx + 0x50]
call fcn.0050a098
test al, al
jne 0x4e3da0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x4e3db2
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004f02fc
jmp 0x4e3e13
mov eax, dword [esi + 4]
sub eax, 2
jne 0x4e3e13
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x4e3e13
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 2
jne 0x4e3e13
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x528f60]
mov byte [eax + 0x242], 1
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4e3e13
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 0x25c]
call fcn.0044937c
push eax
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00449338
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406610
lea esi, [esp + 0x94]
lea edi, [ebx + 0x208]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x4e21ad.0
mov byte [ebx + 0x34], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov eax, ebx
call fcn.004efdd4
xor eax, eax
call fcn.004ac000
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
jne 0x4e3fda
cmp byte [ebx + 0x22f], 0
jne 0x4e3fda
mov eax, dword [ebx + 0x25c]
call fcn.00463944
test eax, eax
je 0x4e3fda
mov eax, dword [ebx + 0x25c]
call fcn.00463944
cmp byte [eax + 0x22b], 2
jne 0x4e3fda
mov byte [ebx + 0x22f], 1
cmp dword [0x526400], 0
jne 0x4e3f06
mov ecx, dword [0x526eb8]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x45f600]
call fcn.004620b0
mov dword [0x526400], eax
mov eax, dword [0x526400]
mov dword [eax + 0xc], 0xffffff9e
xor edx, edx
mov eax, dword [0x526400]
call fcn.00462ef4
mov edx, 0x4e7ad0
mov eax, dword [0x526400]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [0x526400]
mov dword [eax + 0x2bc], ebx
mov dword [eax + 0x2b8], 0x4ee724
xor edx, edx
mov eax, dword [0x526400]
call fcn.00463874
push 0x58
push 0xf
call sub.user32.dll_GetSystemMetrics
dec eax
add eax, 4
push eax
push 0x3c
mov eax, dword [ebx + 0x25c]
call fcn.00450248
xor ecx, ecx
mov edx, dword [ebx + 0x278]
call fcn.004dd55c
mov edi, eax
mov eax, dword [ebx + 0x25c]
call fcn.004dd5c4
mov edx, dword [ebx + 0x25c]
add eax, dword [edx + 0x44]
add edi, eax
push edi
mov eax, dword [ebx + 0x25c]
call fcn.00450248
xor ecx, ecx
mov edx, dword [ebx + 0x278]
call fcn.004dd55c
push eax
lea edx, [esp + 0xa8]
mov eax, dword [ebx + 0x25c]
call fcn.004492d4
mov eax, dword [esp + 0xb0]
sub eax, 0x3c
pop edx
sub eax, edx
push eax
push 0
mov eax, dword [0x526400]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowPos
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov byte [ebx + 0x22f], 0
cmp dword [0x526400], 0
je 0x4e4007
mov eax, 0x526400
call fcn.0040e538
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
cmp byte [ebx + 0x22c], 0
je 0x4e4031
mov byte [ebx + 0x22c], 0
mov eax, ebx
call fcn.004f00fc
mov dl, 1
mov eax, ebx
call fcn.004df114
test eax, eax
je 0x4e4044
cmp byte [ebx + 0x78], 0
jne 0x4e4057
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov edx, esi
mov eax, ebx
call fcn.004e0afc
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
add eax, 0xfffffff8
sub eax, 2
jb 0x4e4073
sub eax, 0xa
jne 0x4e408b
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x4e408b
mov dl, 1
mov eax, ebx
call fcn.004ef5a4
mov eax, dword [esi + 0xc]
sub eax, 3
jb 0x4e40a4
sub eax, 2
je 0x4e40a4
add eax, 0xfffffffb
sub eax, 8
jae 0x4e41e0
mov eax, ebx
call fcn.004dd8e8
test al, al
je 0x4e41cd
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov edi, dword [eax + 0x190]
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov edx, edi
call fcn.00500fb4
test al, al
je 0x4e41cd
lea eax, [esp + 8]
push eax
movsx ecx, word [esi + 0xa]
movsx edx, word [esi + 8]
mov eax, ebx
call fcn.004ec7c8
cmp dword [ebx + 0x278], 0
je 0x4e4187
lea ecx, [esp + 0x84]
mov edx, edi
mov eax, ebx
call fcn.004ed2d0
mov ebp, dword [esp + 0x88]
mov eax, dword [ebx + 0x278]
call fcn.004dd688
sub ebp, eax
lea edx, [esp + 0x94]
mov eax, ebx
call fcn.004efd9c
sub ebp, dword [esp + 0x98]
cmp ebp, dword [esp + 0xc]
jge 0x4e41cd
lea ecx, [esp + 0x8c]
mov edx, edi
mov eax, ebx
call fcn.004ed2d0
mov edi, dword [esp + 0x8c]
mov eax, dword [ebx + 0x278]
call fcn.004dd6c4
sub edi, eax
lea edx, [esp + 0xa4]
mov eax, ebx
call fcn.004efd9c
sub edi, dword [esp + 0xa4]
cmp edi, dword [esp + 8]
jge 0x4e41cd
mov dword [esi + 0xc], 0x11
jmp case.0x4e21ad.0
lea ecx, [esp + 0x84]
mov edx, edi
mov eax, ebx
call fcn.004ed2d0
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0xc]
jge 0x4e41cd
lea ecx, [esp + 0x8c]
mov edx, edi
mov eax, ebx
call fcn.004ed2d0
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 8]
jge 0x4e41cd
mov dword [esi + 0xc], 0x11
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
cmp byte [ebx + 0x54], 1
jne case.0x4e21ad.0
cmp dword [0x528fb0], 0
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4e21ad.0
mov eax, dword [esi + 0xc]
sub eax, 2
je 0x4e421e
add eax, 0xfffffff8
sub eax, 8
jae case.0x4e21ad.0
mov eax, dword [esi + 0xc]
mov dword [0x528fb0], eax
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp dword [ebx + 0x278], 0
je case.0x4e21ad.0
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x278]
call fcn.004f74a0
jmp case.0x4e21ad.0
cmp dword [ebx + 0x38], 0x7d0
jl 0x4e426c
cmp dword [ebx + 0x278], 0
jne 0x4e4278
mov cl, 1
or edx, 0xffffffff
mov eax, ebx
call fcn.004e8d48
mov byte [0x5263f4], 0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
pop edx
call fcn.00508678
mov eax, dword [ebx + 0x278]
test eax, eax
je case.0x4e21ad.0
cmp byte [eax + 0x38], 0
je case.0x4e21ad.0
mov edx, dword [ebx + 0x23c]
and edx, 1
cmp edx, 1
je case.0x4e21ad.0
call fcn.004f8718
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
je case.0x4e21ad.0
mov eax, ebx
call fcn.004ee1b0
jmp case.0x4e21ad.0
cmp byte [ebx + 0x78], 0
je 0x4e4882
cmp dword [ebx + 0x278], 0
je 0x4e4347
cmp dword [esi + 4], 0x13
jne 0x4e4347
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
cmp dword [ebx + 0x278], 0
je 0x4e4366
cmp dword [esi + 4], 0xffffffff
jne 0x4e4366
mov edx, esi
mov eax, dword [ebx + 0x278]
call fcn.004f6768
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 8
jge 0x4e4381
sub eax, 3
je 0x4e4404
sub eax, 2
je 0x4e43f1
jmp 0x4e4541
add eax, 0xfffffff8
sub eax, 2
jb 0x4e439d
add eax, 0xfffffff6
sub eax, 2
jb 0x4e439d
add eax, 0xffffffb1
sub eax, 3
jae 0x4e4541
cmp dword [0x5263fc], 0
je 0x4e43e2
cmp dword [esi + 4], 0x67
jne 0x4e43c4
mov eax, dword [0x5263fc]
mov eax, dword [eax + 0x264]
mov edx, dword [eax]
call dword [edx + 0x54]
test al, al
je case.0x4e21ad.0
cmp dword [esi + 4], 0x66
jne 0x4e43e2
mov eax, dword [0x5263fc]
mov eax, dword [eax + 0x264]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je case.0x4e21ad.0
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004e91a8
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
xor eax, eax
mov dword [esi + 0xc], eax
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp dword [esi + 0xc], 0
jne case.0x4e21ad.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e8d48
mov byte [0x5263f4], 0
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
cmp byte [eax + 0x58], 0
jne 0x4e4458
mov eax, 0xc8
call fcn.004fb4f8
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x4e44b9
cmp dword [0x528f60], 0
je case.0x4e21ad.0
lea edx, [esp + 8]
mov eax, ebx
call fcn.004ec370
mov eax, dword [ebx + 0x25c]
call fcn.004dd5c4
add eax, dword [esp + 0xc]
add eax, 4
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
shl eax, 4
pop ecx
sub ecx, eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4e21ad.0
lea edx, [esp + 0x84]
mov eax, ebx
call fcn.004ec370
mov esi, dword [esp + 0x88]
mov dl, 1
mov eax, ebx
call fcn.004def58
add esi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.004fb054
add esi, eax
mov eax, dword [ebx + 0x25c]
call fcn.00450248
xor ecx, ecx
mov edx, dword [ebx + 0x278]
call fcn.004dd5b0
add esi, eax
push esi
mov eax, dword [ebx + 0x25c]
call fcn.00450248
xor ecx, ecx
mov edx, dword [ebx + 0x278]
call fcn.004dd55c
mov esi, eax
lea edx, [esp + 0x90]
mov eax, ebx
call fcn.004ec370
add esi, dword [esp + 0x90]
mov edx, esi
mov eax, ebx
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x48]
call fcn.00419c50
mov ecx, eax
add ecx, 0x3e8
dec ecx
mov eax, dword [esi + 4]
mov edx, 0x3e8
call fcn.004faf18
test al, al
je 0x4e45a3
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004e91a8
mov al, byte [0x4e7adc]
push eax
movsx eax, word [esi + 8]
push eax
movsx eax, word [esi + 0xa]
push eax
mov edx, dword [esi + 4]
sub edx, 0x3e8
mov eax, dword [ebx + 0x48]
call fcn.004f3e74
mov edx, dword [esi + 4]
sub edx, 0x3e8
xor ecx, ecx
call fcn.004f3fec
jmp case.0x4e21ad.0
mov eax, dword [esi + 4]
mov ecx, 0x8cf
mov edx, 0x7d0
call fcn.004faf18
test al, al
je 0x4e4620
cmp dword [ebx + 0xbc], 0
je case.0x4e21ad.0
mov edx, dword [esi + 4]
sub edx, 0x7d0
mov eax, dword [ebx + 0xbc]
mov eax, dword [eax + 0x38]
call fcn.00473bf0
cmp byte [eax + 0x30], 2
je 0x4e45ed
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004e91a8
movsx eax, word [esi + 8]
push eax
movsx eax, word [esi + 0xa]
push eax
mov edx, dword [esi + 4]
sub edx, 0x7d0
mov eax, dword [ebx + 0xbc]
mov eax, dword [eax + 0x38]
call fcn.00473bf0
mov cl, byte [0x4e7adc]
xor edx, edx
call fcn.00473404
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e4651
push 0
mov ecx, 0xf012
mov edx, 0x112
mov eax, dword [ebx + 0x25c]
call fcn.0044ab00
jmp case.0x4e21ad.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e8d48
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 2
jne 0x4e46b4
lea eax, [esp + 0x84]
push eax
movsx ecx, word [esi + 0xa]
xor edx, edx
mov eax, ebx
call fcn.004ec7c8
mov edi, dword [esp + 0x88]
mov eax, dword [ebx + 0x25c]
call fcn.00450248
mov cl, 1
mov edx, dword [ebx + 0x278]
call fcn.004dd5b0
mov ebp, eax
mov dl, 1
mov eax, ebx
call fcn.004df114
add ebp, eax
cmp edi, ebp
jle 0x4e4849
push 0
lea eax, [esp + 0x15]
push eax
push 0
push 0x26
call sub.user32.dll_SystemParametersInfoA
cmp byte [esp + 0x11], 0
je 0x4e4836
cmp byte [ebx + 0x54], 1
jne 0x4e4790
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4e4790
mov eax, dword [esi + 4]
sub eax, 5
je 0x4e4790
mov eax, dword [esi + 4]
sub eax, 2
je 0x4e4705
sub eax, 3
jne 0x4e4713
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [esi + 4]
add eax, 0xfffffff6
sub eax, 8
setb al
xor al, 1
mov byte [0x528f8c], al
lea ecx, [esp + 8]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.0040662c
cmp byte [0x528f8c], 0
je 0x4e475f
push 0
push 0xf010
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e477c
push 0
push 0xf000
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004ed5fc
jmp case.0x4e21ad.0
cmp dword [esi + 4], 2
jne 0x4e4823
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
je 0x4e4823
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
cmp byte [eax + 6], 0
je 0x4e4823
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4e4823
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
cmp byte [eax + 8], 0xff
je 0x4e4823
cmp byte [ebx + 0x94], 0
je 0x4e4823
cmp byte [ebx + 0x254], 0
jne 0x4e4806
mov byte [ebx + 0x254], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SetFocus
mov eax, ebx
call fcn.004dcc28
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22e], 0
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax]
call dword [edx + 0xc4]
jmp case.0x4e21ad.0
mov eax, dword [esi + 4]
sub eax, 3
jne 0x4e4971
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e8d48
mov byte [0x5263f4], 0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x4e48e9
cmp dword [0x528f60], 0
je case.0x4e21ad.0
lea edx, [esp + 8]
mov eax, ebx
call fcn.004ec370
mov dl, 1
mov eax, ebx
call fcn.004df114
mov ecx, eax
add ecx, dword [esp + 0xc]
add ecx, 4
mov edx, dword [esp + 8]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4e21ad.0
lea edx, [esp + 0x84]
mov eax, ebx
call fcn.004ec370
mov esi, dword [esp + 0x88]
mov dl, 1
mov eax, ebx
call fcn.004def58
add esi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.004fb054
add esi, eax
mov eax, dword [ebx + 0x25c]
call fcn.00450248
xor ecx, ecx
mov edx, dword [ebx + 0x278]
call fcn.004dd5b0
add esi, eax
push esi
mov eax, dword [ebx + 0x25c]
call fcn.00450248
mov cl, 1
mov edx, dword [ebx + 0x278]
call fcn.004dd55c
mov esi, eax
lea edx, [esp + 0x90]
mov eax, ebx
call fcn.004ec370
add esi, dword [esp + 0x90]
mov edx, esi
mov eax, ebx
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
cmp dword [esi + 4], 0x2f
jne 0x4e49e5
cmp dword [ebx + 0x228], 0
je 0x4e49e5
mov eax, dword [ebx + 0x228]
mov edx, dword [0x4dbf40]
call fcn.00403654
test al, al
je 0x4e49e5
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov edi, dword [ebx + 0x228]
mov eax, edi
call fcn.004fa744
fild dword [edi + 0x60]
fstp qword [edi + 0x70]
wait
fild dword [edi + 0x64]
fstp qword [edi + 0x78]
wait
fild dword [edi + 0x68]
fstp qword [edi + 0x80]
wait
fild dword [edi + 0x6c]
fstp qword [edi + 0x88]
wait
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp dword [0x528ff4], 0
je 0x4e4a26
mov eax, dword [0x528ff4]
test byte [eax + 0x1c], 0x10
jne 0x4e4a26
xor edx, edx
mov eax, dword [0x528ff4]
call fcn.00508678
cmp byte [ebx + 0x54], 1
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4e21ad.0
lea ecx, [esp + 0x84]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.0040662c
lea edx, [esp + 0x84]
lea ecx, [esp + 8]
mov eax, dword [ebx + 0x25c]
call fcn.0044944c
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
mov edi, dword [esp + 0xc]
cmp byte [0x528f8c], 0
je 0x4e4af7
cmp byte [0x5263e4], 0
je 0x4e4a92
mov byte [0x5263e4], 0
cmp byte [0x5263dc], 0
je case.0x4e21ad.0
mov ecx, dword [0x528f98]
mov edx, dword [0x528f9c]
mov eax, ebx
call fcn.004ed7fc
mov eax, dword [esp + 4]
sub eax, dword [0x528fa8]
add dword [0x528f9c], eax
mov eax, edi
sub eax, dword [0x528fac]
add dword [0x528f98], eax
mov dword [0x528fac], edi
mov eax, dword [esp + 4]
mov dword [0x528fa8], eax
mov ecx, dword [0x528f98]
mov edx, dword [0x528f9c]
mov eax, ebx
call fcn.004ed7fc
jmp case.0x4e21ad.0
cmp byte [0x5263e4], 0
je 0x4e4b16
mov eax, dword [esp + 4]
mov dword [0x528fa8], eax
mov dword [0x528fac], edi
mov byte [0x5263e4], 0
cmp byte [0x5263dc], 0
je case.0x4e21ad.0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004ed7fc
mov eax, dword [0x528fb0]
add eax, 0xfffffff6
cmp eax, 6
ja case.default.0x4e4b3f
jmp dword [eax*4 + 0x4e4b46]
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x40]
add eax, dword [esp + 4]
sub eax, dword [0x528fa8]
mov dword [0x528f9c], eax
mov eax, dword [0x528fa4]
sub eax, dword [0x528f9c]
cmp eax, dword [0x528fb8]
jge 0x4e4ea7
mov eax, dword [0x528fa4]
sub eax, dword [0x528fb8]
mov dword [0x528f9c], eax
jmp 0x4e4ea7
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x25c]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x528fa8]
mov dword [0x528fa4], eax
mov eax, dword [0x528fa4]
sub eax, dword [0x528f9c]
cmp eax, dword [0x528fb8]
jge 0x4e4ea7
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x40]
add eax, dword [0x528fb8]
mov dword [0x528fa4], eax
jmp 0x4e4ea7
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x25c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x528fac]
mov dword [0x528fa0], edi
mov eax, dword [0x528fa0]
sub eax, dword [0x528f98]
cmp eax, dword [0x528fb4]
jge 0x4e4ea7
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x44]
add eax, dword [0x528fb4]
mov dword [0x528fa0], eax
jmp 0x4e4ea7
mov eax, dword [ebx + 0x25c]
add edi, dword [eax + 0x44]
sub edi, dword [0x528fac]
mov dword [0x528f98], edi
mov eax, dword [0x528fa0]
sub eax, dword [0x528f98]
cmp eax, dword [0x528fb4]
jge 0x4e4ea7
mov eax, dword [0x528fa0]
sub eax, dword [0x528fb4]
mov dword [0x528f98], eax
jmp 0x4e4ea7
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x25c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x528fac]
mov dword [0x528fa0], edi
mov eax, dword [0x528fa0]
sub eax, dword [0x528f98]
cmp eax, dword [0x528fb4]
jge 0x4e4ccf
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x44]
add eax, dword [0x528fb4]
mov dword [0x528fa0], eax
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x40]
add eax, dword [esp + 4]
sub eax, dword [0x528fa8]
mov dword [0x528f9c], eax
mov eax, dword [0x528fa4]
sub eax, dword [0x528f9c]
cmp eax, dword [0x528fb8]
jge 0x4e4ea7
mov eax, dword [0x528fa4]
sub eax, dword [0x528fb8]
mov dword [0x528f9c], eax
jmp 0x4e4ea7
mov eax, dword [ebx + 0x25c]
add edi, dword [eax + 0x44]
sub edi, dword [0x528fac]
mov dword [0x528f98], edi
mov eax, dword [0x528fa0]
sub eax, dword [0x528f98]
cmp eax, dword [0x528fb4]
jge 0x4e4d4b
mov eax, dword [0x528fa0]
sub eax, dword [0x528fb4]
mov dword [0x528f98], eax
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x25c]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x528fa8]
mov dword [0x528fa4], eax
mov eax, dword [0x528fa4]
sub eax, dword [0x528f9c]
cmp eax, dword [0x528fb8]
jge 0x4e4ea7
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x40]
add eax, dword [0x528fb8]
mov dword [0x528fa4], eax
jmp 0x4e4ea7
mov eax, dword [ebx + 0x25c]
add edi, dword [eax + 0x44]
sub edi, dword [0x528fac]
mov dword [0x528f98], edi
mov eax, dword [0x528fa0]
sub eax, dword [0x528f98]
cmp eax, dword [0x528fb4]
jge 0x4e4dd4
mov eax, dword [0x528fa0]
sub eax, dword [0x528fb4]
mov dword [0x528f98], eax
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x40]
add eax, dword [esp + 4]
sub eax, dword [0x528fa8]
mov dword [0x528f9c], eax
mov eax, dword [0x528fa4]
sub eax, dword [0x528f9c]
cmp eax, dword [0x528fb8]
jge 0x4e4ea7
mov eax, dword [0x528fa4]
sub eax, dword [0x528fb8]
mov dword [0x528f9c], eax
jmp 0x4e4ea7
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x25c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x528fac]
mov dword [0x528fa0], edi
mov eax, dword [0x528fa0]
sub eax, dword [0x528f98]
cmp eax, dword [0x528fb4]
jge 0x4e4e5f
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x44]
add eax, dword [0x528fb4]
mov dword [0x528fa0], eax
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x25c]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x528fa8]
mov dword [0x528fa4], eax
mov eax, dword [0x528fa4]
sub eax, dword [0x528f9c]
cmp eax, dword [0x528fb8]
jge 0x4e4ea7
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x40]
add eax, dword [0x528fb8]
mov dword [0x528fa4], eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004ed7fc
jmp case.0x4e21ad.0
mov eax, dword [esi + 4]
add eax, 0xfffffffe
sub eax, 2
jb case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov eax, ebx
call fcn.004de5f4
test al, al
je 0x4e4f46
cmp dword [ebx + 0x278], 0
je 0x4e4f05
cmp dword [esi + 4], 0xffffffff
jne 0x4e4f05
mov edx, esi
mov eax, dword [ebx + 0x278]
call fcn.004f6768
mov dword [esi + 4], eax
jmp 0x4e4f11
mov edx, esi
mov eax, ebx
call fcn.004e0afc
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
add eax, 0xfffffffe
sub eax, 2
jae case.0x4e21ad.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e8d48
mov byte [0x5263f4], 0
movsx ecx, word [esi + 0xa]
movsx edx, word [esi + 8]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
cmp byte [ebx + 0x78], 0
je 0x4e56d2
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4e56d2
cmp dword [ebx + 0x278], 0
je 0x4e4f95
cmp dword [esi + 4], 0xffffffff
jne 0x4e4f95
mov edx, esi
mov eax, dword [ebx + 0x278]
call fcn.004f6768
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 0x15
jg 0x4e4fbd
je 0x4e52a3
sub eax, 8
je 0x4e5158
dec eax
je 0x4e5073
sub eax, 0xb
je 0x4e4fd9
jmp 0x4e53e8
sub eax, 0x65
je 0x4e5311
dec eax
je 0x4e5357
dec eax
je 0x4e5399
jmp 0x4e53e8
mov eax, dword [ebx + 0x264]
call fcn.004f2cc0
test al, al
je case.0x4e21ad.0
cmp byte [0x5263f4], 0
je case.0x4e21ad.0
xor eax, eax
mov dword [ebx + 0x140], eax
push 0
push 0xf060
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x1c], 8
jne case.0x4e21ad.0
mov eax, ebx
call fcn.004efdd4
cmp dword [ebx + 0x25c], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x57], 0
je case.0x4e21ad.0
cmp dword [ebx + 0x50], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e8d48
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x264]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4e50a8
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 2
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x264]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je case.0x4e21ad.0
cmp byte [0x5263f4], 0
je 0x4e513a
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e8d48
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x4e50d6
xor eax, eax
mov dword [0x5263fc], eax
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 2
jne 0x4e5104
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e5121
push 0
push 0xf030
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [ebx + 0x264]
call fcn.004f39a8
mov byte [0x5263f4], 0
jmp case.0x4e21ad.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e8d48
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
cmp byte [0x5263f4], 0
je 0x4e5285
cmp dword [ebx + 0x278], 0
je 0x4e5199
movsx edx, word [esi + 0xa]
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
sub edx, dword [eax + 0x44]
movsx eax, word [esi + 8]
mov ecx, dword [ebx + 0x278]
mov ecx, dword [ecx + 0x18]
sub eax, dword [ecx + 0x40]
lea ecx, [esp + 8]
call fcn.0040662c
jmp 0x4e51ad
lea eax, [esp + 8]
push eax
movsx ecx, word [esi + 0xa]
movsx edx, word [esi + 8]
mov eax, ebx
call fcn.004ec7c8
lea edx, [esp + 8]
lea eax, [ebx + 0xf8]
call fcn.00406634
test al, al
je 0x4e5272
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e8d48
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x25c]
jne 0x4e520e
mov byte [ebx + 0x232], 1
push 0
push 0xf020
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
mov byte [ebx + 0x232], 0
jmp 0x4e525f
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e5242
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e525f
push 0
push 0xf020
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov byte [ebx + 0xca], 1
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e8d48
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
cmp byte [0x5263f4], 0
je 0x4e5301
push 0
push 0xf180
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e8d48
xor edx, edx
mov eax, dword [ebx + 0x264]
call fcn.004f39a8
mov byte [0x5263f4], 0
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, dword [ebx + 0x25c]
call fcn.0044ab00
jmp case.0x4e21ad.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e8d48
jmp case.0x4e21ad.0
cmp byte [0x5263f4], 0
je case.0x4e21ad.0
mov byte [0x5263f4], 0
push 0
push 0xf060
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00463944
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004e8d48
jmp case.0x4e21ad.0
cmp byte [0x5263f4], 0
je 0x4e5382
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00463944
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
mov byte [0x5263f4], 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004e8d48
jmp case.0x4e21ad.0
cmp byte [0x5263f4], 0
je 0x4e53d8
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x50]
call fcn.0050bb2c
mov byte [0x5263f4], 0
push 0
push 0xf020
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00463944
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e8d48
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x48]
call fcn.00419c50
mov ecx, eax
add ecx, 0x3e8
dec ecx
mov eax, dword [esi + 4]
mov edx, 0x3e8
call fcn.004faf18
test al, al
je 0x4e545b
cmp byte [0x5263f4], 0
je 0x4e5444
mov al, byte [0x4e7adc]
push eax
movsx eax, word [esi + 8]
push eax
movsx eax, word [esi + 0xa]
push eax
mov edx, dword [esi + 4]
sub edx, 0x3e8
mov eax, dword [ebx + 0x48]
call fcn.004f3e74
mov edx, dword [esi + 4]
sub edx, 0x3e8
xor ecx, ecx
call fcn.004f4014
mov byte [0x5263f4], 0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e8d48
jmp 0x4e56c6
mov eax, dword [esi + 4]
mov ecx, 0x8cf
mov edx, 0x7d0
call fcn.004faf18
test al, al
je 0x4e55d4
cmp byte [0x5263f4], 0
je 0x4e54b5
cmp dword [ebx + 0xbc], 0
je 0x4e54b5
movsx eax, word [esi + 8]
push eax
movsx eax, word [esi + 0xa]
push eax
mov edx, dword [esi + 4]
sub edx, 0x7d0
mov eax, dword [ebx + 0xbc]
mov eax, dword [eax + 0x38]
call fcn.00473bf0
mov cl, byte [0x4e7adc]
xor edx, edx
call fcn.00473588
mov edx, dword [esi + 4]
sub edx, 0x7d0
mov eax, dword [ebx + 0xbc]
mov eax, dword [eax + 0x38]
call fcn.00473bf0
cmp byte [eax + 0x1c], 0
jne 0x4e551c
mov edx, dword [esi + 4]
sub edx, 0x7d0
mov eax, dword [ebx + 0xbc]
mov eax, dword [eax + 0x38]
call fcn.00473bf0
cmp dword [eax + 0xdc], 0
je 0x4e55c8
mov edx, dword [esi + 4]
sub edx, 0x7d0
mov eax, dword [ebx + 0xbc]
mov eax, dword [eax + 0x38]
call fcn.00473bf0
add eax, 0xdc
call fcn.0040e538
jmp 0x4e55c8
mov edx, dword [esi + 4]
sub edx, 0x7d0
mov eax, dword [ebx + 0xbc]
mov eax, dword [eax + 0x38]
call fcn.00473bf0
cmp byte [eax + 0xb8], 0
jne 0x4e55c8
mov edx, dword [esi + 4]
sub edx, 0x7d0
mov eax, dword [ebx + 0xbc]
mov eax, dword [eax + 0x38]
call fcn.00473bf0
mov edx, 1
call fcn.00473910
cmp dword [ebx + 0x278], 0
je 0x4e559e
push 0
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
push eax
mov edx, dword [esi + 4]
sub edx, 0x7d0
mov eax, dword [ebx + 0xbc]
mov eax, dword [eax + 0x38]
call fcn.00473bf0
mov ecx, 1
mov edx, 1
call fcn.0047229c
jmp 0x4e55c8
push 0
push 0
mov edx, dword [esi + 4]
sub edx, 0x7d0
mov eax, dword [ebx + 0xbc]
mov eax, dword [eax + 0x38]
call fcn.00473bf0
mov ecx, 1
mov edx, 1
call fcn.0047229c
mov byte [0x5263f4], 0
jmp 0x4e56c6
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e564b
cmp dword [0x528f60], 0
je 0x4e563b
lea edx, [esp + 0x84]
mov eax, ebx
call fcn.004ec370
mov esi, dword [esp + 0x84]
lea eax, [esp + 0x8c]
call fcn.004bcb40
add esi, dword [esp + 0x8c]
push esi
lea eax, [esp + 0xb8]
call fcn.004bcb40
mov ecx, dword [esp + 0xbc]
mov eax, ebx
pop edx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp 0x4e56c6
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp 0x4e56c6
cmp byte [ebx + 0x54], 1
jne 0x4e56b8
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4e56b8
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 2
je 0x4e56b8
cmp byte [0x5263dc], 0
je 0x4e56b8
lea ecx, [esp + 0x84]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.0040662c
lea edx, [esp + 0x84]
lea ecx, [esp + 8]
mov eax, dword [ebx + 0x25c]
call fcn.0044944c
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004ed6fc
call sub.user32.dll_ReleaseCapture
jmp 0x4e56c6
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov byte [0x5263f4], 0
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp dword [ebx + 0x234], 0
je 0x4e5711
lea eax, [ebx + 0x234]
call fcn.0040e538
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00450248
mov edx, 3
pop ecx
call fcn.004c07c8
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x2f4], 1
jne 0x4e5797
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x57], 0
je 0x4e5797
mov eax, ebx
call fcn.004dd930
test al, al
jne 0x4e5797
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je 0x4e5784
mov dword [ebx + 0x260], 0xffffffff
mov byte [ebx + 0x242], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
test byte [ebx + 0x1c], 1
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x2f4], 1
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x1c], 8
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
xor ecx, ecx
mov dl, 1
call fcn.004dd87c
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x4e584c
cmp dword [0x528f60], 0
je 0x4e584c
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
call fcn.00463944
test eax, eax
je 0x4e584c
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
call fcn.00463944
cmp byte [eax + 0x22b], 2
jne 0x4e584c
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
call fcn.00463944
cmp eax, dword [ebx + 0x25c]
jne case.0x4e21ad.0
cmp byte [ebx + 0xc9], 0
jne 0x4e5867
mov eax, ebx
call fcn.004ed160
test al, al
je 0x4e5867
mov byte [ebx + 0xc9], 1
mov eax, dword [esi + 8]
and eax, 8
cmp eax, 8
jne 0x4e588a
mov eax, dword [esi + 8]
push eax
mov ecx, dword [esi + 4]
mov edx, 0x14
mov eax, ebx
call fcn.004f02fc
jmp case.0x4e21ad.0
mov ebp, dword [esi + 4]
mov eax, dword [ebx + 0x50]
mov dword [eax + 0x58], ebp
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
cmp dword [ebx + 0x278], 0
je 0x4e599b
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
je 0x4e58b7
mov eax, ebx
call fcn.004ea5c0
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.0042842c
call fcn.00423f9c
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_BitBlt
mov eax, ebx
call fcn.004ec994
push eax
mov eax, ebx
call fcn.004ec8fc
mov edx, eax
mov eax, ebp
pop ecx
call fcn.00448270
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_GetClientRect
lea eax, [esp + 0x34]
xor edx, edx
call fcn.004fb054
push eax
lea eax, [esp + 0x38]
xor edx, edx
call fcn.004fb040
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
je 0x4e5bcc
lea ecx, [esp + 0x84]
xor edx, edx
xor eax, eax
call fcn.0040662c
lea eax, [esp + 0x84]
push eax
push 0
mov eax, dword [ebx + 0x23c]
and eax, 0x200
cmp eax, 0x200
sete al
xor al, 1
push eax
mov cl, 1
mov edx, dword [ebx + 0x25c]
mov eax, ebp
call fcn.004c0064
jmp 0x4e5bcc
cmp byte [ebx + 0x78], 0
je 0x4e5ade
mov eax, ebx
call fcn.004de5f4
test al, al
jne 0x4e5ad5
mov eax, dword [ebx + 0x25c]
call fcn.00450248
call fcn.004de1a4
test al, al
je 0x4e5ad5
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
je 0x4e59dc
mov eax, ebx
call fcn.004ea5c0
mov eax, dword [ebx + 0x25c]
mov edi, dword [eax + 0x16c]
add edi, 3
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.0042842c
call fcn.00423f9c
push eax
push edi
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_BitBlt
push 0xcc0020
push edi
push 0
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.0042842c
call fcn.00423f9c
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
push edi
push edi
push 0
push ebp
call sub.gdi32.dll_BitBlt
push 0xcc0020
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x4c]
sub eax, edi
push eax
push edi
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.0042842c
call fcn.00423f9c
push eax
push edi
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x48]
sub eax, edi
push eax
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x4c]
sub eax, edi
push eax
push edi
push ebp
call sub.gdi32.dll_BitBlt
push 0xcc0020
push edi
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, edi
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.0042842c
call fcn.00423f9c
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
push edi
push edi
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, edi
push eax
push ebp
call sub.gdi32.dll_BitBlt
jmp 0x4e5ade
mov edx, ebp
mov eax, ebx
call fcn.004e8500
mov eax, ebx
call fcn.004ec994
push eax
mov eax, ebx
call fcn.004ec8fc
mov edx, eax
mov eax, ebp
pop ecx
call fcn.00448270
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_GetClientRect
lea eax, [esp + 0x34]
xor edx, edx
call fcn.004fb054
push eax
lea eax, [esp + 0x38]
xor edx, edx
call fcn.004fb040
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x52]
and ax, 1
cmp ax, 1
je 0x4e5b4d
mov cl, 1
mov edx, ebp
mov eax, ebx
call fcn.004e87d8
jmp 0x4e5bcc
push ebp
call sub.gdi32.dll_SaveDC
mov dword [esp], eax
push 0
push 0
xor ecx, ecx
mov edx, dword [ebx + 0x25c]
mov eax, ebp
call fcn.004c71d4
mov cl, 1
mov edx, ebp
mov eax, ebx
call fcn.004e87d8
mov eax, dword [esp]
push eax
push ebp
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
je 0x4e5bcc
lea ecx, [esp + 0x84]
xor edx, edx
xor eax, eax
call fcn.0040662c
lea eax, [esp + 0x84]
push eax
push 0
mov eax, dword [ebx + 0x23c]
and eax, 0x200
cmp eax, 0x200
sete al
xor al, 1
push eax
mov cl, 1
mov edx, dword [ebx + 0x25c]
mov eax, ebp
call fcn.004c0064
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
jne 0x4e5bf5
push 0
push ebp
push 0x317
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x50]
xor edx, edx
mov dword [eax + 0x58], edx
mov eax, dword [ebx + 0x25c]
cmp word [eax + 0x2ba], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
call fcn.00463b2c
mov edx, ebp
call fcn.0042401c
mov esi, dword [ebx + 0x25c]
mov edx, dword [ebx + 0x25c]
mov eax, dword [esi + 0x2bc]
call dword [esi + 0x2b8]
mov eax, dword [ebx + 0x25c]
call fcn.00463b2c
xor edx, edx
call fcn.0042401c
jmp case.0x4e21ad.0
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4e21ad.0
cmp dword [ebx + 0x264], 0
jne 0x4e5c6c
mov eax, ebx
call fcn.004ee1b0
cmp byte [ebx + 0x78], 0
je 0x4e5cd3
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x52]
and ax, 0x400
cmp ax, 0x400
je case.0x4e21ad.0
mov eax, ebx
call fcn.004dd500
test al, al
je 0x4e5cbd
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x248]
cmp dword [eax + 0x38], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x23c]
and eax, 0x200
cmp eax, 0x200
je case.0x4e21ad.0
cmp byte [ebx + 0x22c], 0
je 0x4e5cea
mov byte [ebx + 0x22c], 0
mov eax, ebx
call fcn.004f00fc
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x30], 0
je 0x4e5d11
mov eax, dword [ebx + 0x50]
call fcn.0050bd90
mov edx, dword [ebx + 0x50]
mov byte [edx + 0x1c], al
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4e21ad.0
cmp byte [ebx + 0x78], 0
je 0x4e5e24
cmp byte [0x525f5c], 0
je 0x4e5d37
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
je 0x4e5e24
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e5d53
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
cmp byte [ebx + 0x233], 0
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x1a6], 0
je case.0x4e21ad.0
test byte [ebx + 0x1c], 1
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x55], 2
jne case.0x4e21ad.0
cmp dword [ebx + 0x264], 0
je case.0x4e21ad.0
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_GetWindowRect
lea eax, [esp + 0x24]
xor edx, edx
call fcn.004fb040
mov edx, dword [ebx + 0x25c]
cmp eax, dword [edx + 0x48]
jne case.0x4e21ad.0
lea eax, [esp + 0x24]
xor edx, edx
call fcn.004fb054
mov edx, dword [ebx + 0x25c]
cmp eax, dword [edx + 0x4c]
jne case.0x4e21ad.0
cmp dword [ebx + 0x238], 0
jne 0x4e5df4
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
jne 0x4e5e13
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
call fcn.00509148
mov edx, eax
mov eax, ebx
call fcn.004efbac
mov eax, ebx
call fcn.004eec3c
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x1a6], 0
je 0x4e61a1
cmp byte [ebx + 0xa6], 0
je 0x4e61a1
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x54], 0x80
jne 0x4e60e8
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4e60e8
mov eax, dword [ebx + 0x50]
call fcn.0050a098
test al, al
je 0x4e5edf
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
jne 0x4e6014
mov eax, dword [ebx + 0x25c]
call fcn.00463944
test eax, eax
je 0x4e6014
mov eax, dword [ebx + 0x25c]
call fcn.00463944
cmp byte [eax + 0x22b], 2
jne 0x4e6014
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x4e5fd8
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4e5fd8
cmp dword [0x528f60], 0
je 0x4e5fd8
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_GetClientRect
lea edx, [esp + 0x94]
mov eax, dword [ebx + 0x25c]
call fcn.004492d4
lea edx, [esp + 0x94]
lea eax, [esp + 0x34]
call fcn.00406634
test al, al
je 0x4e5fd8
lea edx, [esp + 0x94]
mov eax, dword [ebx + 0x25c]
call fcn.004492d4
lea edx, [esp + 0x9c]
lea eax, [esp + 0x34]
call fcn.00406634
test al, al
je 0x4e5fd8
mov eax, dword [ebx + 0x25c]
call fcn.00450248
mov cl, 1
mov edx, dword [ebx + 0x278]
call fcn.004dd5b0
mov edi, eax
mov dl, 1
mov eax, ebx
call fcn.004df114
add edi, eax
mov eax, ebx
call fcn.004eca88
mov ebp, eax
mov eax, ebx
call fcn.004ed144
imul ebp, eax
add edi, ebp
inc edi
push edi
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
pop edx
call fcn.0042a5f0
mov edx, eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004ee9e4
cmp byte [0x5263f8], 0
je 0x4e6195
mov byte [0x5263f8], 0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x4e6195
mov dword [0x5263fc], ebx
jmp 0x4e6195
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4e6195
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4e60d8
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
jne 0x4e60d8
mov eax, dword [ebx + 0x25c]
call fcn.0044937c
push eax
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00449338
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406610
lea eax, [esp + 0x94]
push eax
mov eax, dword [esi + 4]
push eax
push 0
push 0
push 0
mov eax, ebx
call fcn.004ec994
mov edi, eax
mov eax, dword [ebx + 0x25c]
call fcn.0044937c
add edi, eax
push edi
lea eax, [esp + 0xbc]
push eax
mov eax, ebx
call fcn.004ec8fc
mov edi, eax
mov eax, dword [ebx + 0x25c]
call fcn.00449338
add edi, eax
push edi
mov eax, ebx
call fcn.004ec994
push eax
mov eax, ebx
call fcn.004ec8fc
pop edx
pop ecx
call fcn.00406610
lea ecx, [esp + 0xb8]
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x25c]
call fcn.0050d860
mov eax, dword [ebx + 0x25c]
call fcn.004bfe10
jmp 0x4e6195
cmp dword [esi + 4], 0
je 0x4e6195
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
jne 0x4e6195
mov eax, dword [ebx + 0x50]
call fcn.0050a098
test al, al
je 0x4e6154
push 0xcc0020
mov eax, ebx
call fcn.004ec994
push eax
mov eax, ebx
call fcn.004ec8fc
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.0042842c
call fcn.00423f9c
push eax
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4e6195
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.0050aa40
push eax
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x4c]
push eax
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x25c]
mov ecx, dword [eax + 0x48]
xor edx, edx
xor eax, eax
call fcn.00406610
lea edx, [esp + 0x98]
mov eax, dword [esi + 4]
pop ecx
call fcn.004c6f38
mov dword [esi + 0xc], 1
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
cmp byte [ebx + 0xa6], 0
je 0x4e6382
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x54], 0x80
jne case.0x4e21ad.0
cmp dword [ebx + 0x278], 0
je 0x4e6218
mov eax, ebx
call fcn.004dd930
test al, al
jne 0x4e6218
mov eax, dword [ebx + 0x278]
cmp dword [eax + 0x18], 0
je 0x4e6209
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4e6218
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x278]
call fcn.004f74a0
mov eax, dword [ebx + 0x50]
call fcn.0050a098
test al, al
je 0x4e62db
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x1a6], 0
je 0x4e62cb
mov edx, esi
mov eax, ebx
call fcn.004ef3a4
cmp byte [0x5263f8], 0
je 0x4e6254
mov byte [0x5263f8], 0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
jne 0x4e62c4
cmp dword [esi + 4], 0
jne 0x4e627e
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_GetDC
mov ebp, eax
jmp 0x4e6281
mov ebp, dword [esi + 4]
lea ecx, [esp + 0x84]
xor edx, edx
xor eax, eax
call fcn.0040662c
lea eax, [esp + 0x84]
push eax
push 0
push 1
mov cl, 1
mov edx, dword [ebx + 0x25c]
mov eax, ebp
call fcn.004c0064
cmp dword [esi + 4], 0
jne 0x4e62c4
push ebp
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_ReleaseDC
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4e6346
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp 0x4e6346
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x1a6], 0
je 0x4e6338
test byte [ebx + 0x1c], 8
jne 0x4e6305
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_InvalidateRect
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_BeginPaint
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_EndPaint
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4e6346
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp byte [ebx + 0x78], 0
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x248], 0
je case.0x4e21ad.0
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp dword [0x523090], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
call fcn.0045054c
test al, al
je case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
call fcn.004df214
jmp case.0x4e21ad.0
mov edx, esi
mov eax, ebx
call fcn.004f1e60
jmp case.0x4e21ad.0
mov edx, esi
mov eax, ebx
call fcn.004f24b8
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp dword [0x528c14], 0
je 0x4e6420
mov eax, dword [0x528c14]
cmp byte [eax + 0x57], 0
je 0x4e6420
mov eax, dword [0x528c14]
call fcn.00466260
cmp dword [esi + 4], 1
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x23c]
and eax, 0x100
cmp eax, 0x100
je case.0x4e21ad.0
cmp dword [ebx + 0x278], 0
je 0x4e6475
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x278]
call fcn.004f74a0
jmp case.0x4e21ad.0
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x25c]
jne case.0x4e21ad.0
cmp dword [esi + 4], 1
jne case.0x4e21ad.0
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp byte [eax + 0x22b], 1
jne case.0x4e21ad.0
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne case.0x4e21ad.0
cmp dword [ebx + 0x228], 0
je 0x4e64e5
mov eax, dword [ebx + 0x228]
cmp byte [eax + 0xec], 0
jne case.0x4e21ad.0
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
xor edx, edx
call fcn.00463fec
push 0xffffffffffffffff
push 0
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.00450248
push eax
call sub.user32.dll_InvalidateRect
push 0x585
push 0
push 0
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x4e65ff
cmp dword [0x528f60], 0
je 0x4e65ff
mov eax, dword [0x528f60]
test byte [eax + 0x1c], 8
jne 0x4e65ff
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 2
je 0x4e65cd
mov byte [ebx + 0xc9], 0
mov eax, dword [0x528f60]
mov byte [eax + 0x242], 1
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x528f60]
mov dword [eax + 0x260], 0xffffffff
push 0
push 0
push 0x85
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e65ff
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
push 0
push 0
push 0x85
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
mov al, 1
call fcn.004e131c
mov dword [0x5263fc], ebx
jmp case.0x4e21ad.0
cmp byte [ebx + 0x22c], 0
je 0x4e663d
cmp dword [esi + 4], 1
jne 0x4e663d
mov byte [ebx + 0x22c], 0
mov eax, ebx
call fcn.004f00fc
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
call fcn.00509148
mov edx, eax
mov eax, ebx
call fcn.004efbac
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp dword [esi + 4], 0
jne 0x4e6692
cmp dword [ebx + 0x50], 0
je 0x4e6686
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4e6686
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x1c], 8
jne 0x4e6686
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, ebx
call fcn.004efdd4
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x30], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
call fcn.004bfe10
jmp case.0x4e21ad.0
cmp byte [ebx + 0x54], 1
jne 0x4e6706
cmp byte [0x5263dc], 0
je 0x4e6706
lea ecx, [esp + 0x84]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.0040662c
lea edx, [esp + 0x84]
lea ecx, [esp + 8]
mov eax, dword [ebx + 0x25c]
call fcn.0044944c
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004ed6fc
call sub.user32.dll_ReleaseCapture
mov byte [0x5263dc], 0
mov byte [0x5263e0], 0
mov eax, dword [esi + 4]
sub eax, 2
je 0x4e6741
dec eax
jne 0x4e6846
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
cmp byte [eax + 0x58], 0
jne 0x4e6731
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 1
mov eax, dword [ebx + 0x25c]
call fcn.00466260
jmp case.0x4e21ad.0
mov eax, ebx
call fcn.004ecf6c
test al, al
je 0x4e676a
mov eax, dword [ebx + 0x264]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4e678e
mov eax, dword [ebx + 0x264]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
jne 0x4e678e
mov eax, ebx
call fcn.004de5f4
test al, al
jne 0x4e67fd
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e67fd
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 2
je 0x4e67b2
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e67d1
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e67ee
push 0
push 0xf030
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [ebx + 0x264]
call fcn.004f39a8
jmp 0x4e683c
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e683c
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [ebx + 0x264]
call fcn.004f39a8
xor eax, eax
mov dword [esi + 4], eax
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 2
jne 0x4e6876
cmp ebx, dword [0x528f60]
jne 0x4e6876
mov dword [0x528f60], ebx
mov eax, ebx
call fcn.004dd500
test al, al
je 0x4e68c8
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
test eax, eax
je 0x4e68c8
mov eax, dword [esi + 8]
cmp dword [eax], 1
jne 0x4e68c8
mov eax, dword [esi + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x248]
xor ecx, ecx
call fcn.0045d080
mov edi, eax
test edi, edi
je 0x4e68c8
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x44]
mov cl, 1
mov edx, edi
call fcn.004d975c
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
je 0x4e6b31
mov ax, word [esi + 4]
sub ax, 0xf012
je 0x4e6917
sub ax, 0xe
je 0x4e698d
sub ax, 0x10
je 0x4e692a
sub ax, 0xf0
je 0x4e69ee
jmp 0x4e6b31
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x80]
jmp 0x4e6b31
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x30], 0
jne 0x4e6b31
cmp dword [ebx + 0x228], 0
je 0x4e6b31
mov eax, dword [ebx + 0x228]
cmp byte [eax + 0xec], 0
je 0x4e6b31
call fcn.004faf58
mov byte [esp + 0x12], al
xor eax, eax
call fcn.004faf88
mov eax, ebx
call fcn.004dca1c
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov al, byte [esp + 0x12]
call fcn.004faf88
jmp case.0x4e21ad.0
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x25c]
je 0x4e6b31
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4e6b31
call fcn.004faf58
mov byte [esp + 0x12], al
xor eax, eax
call fcn.004faf88
mov eax, ebx
call fcn.004dc80c
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov al, byte [esp + 0x12]
call fcn.004faf88
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x23c]
and eax, 0x200
cmp eax, 0x200
jne 0x4e6a49
and dword [ebx + 0x23c], 0xfffffdff
cmp dword [ebx + 0x278], 0
je 0x4e6a1d
mov eax, dword [ebx + 0x278]
mov byte [eax + 0x28], 0
call fcn.004faf58
mov byte [esp + 0x12], al
xor eax, eax
call fcn.004faf88
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov al, byte [esp + 0x12]
call fcn.004faf88
jmp case.0x4e21ad.0
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x25c]
je 0x4e6b31
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e6ae2
call fcn.004faf58
mov byte [esp + 0x12], al
xor eax, eax
call fcn.004faf88
mov eax, ebx
call fcn.004dca1c
cmp dword [ebx + 0x278], 0
je 0x4e6ac6
mov eax, dword [ebx + 0x278]
cmp dword [eax + 0x18], 0
jne 0x4e6ac6
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov byte [ebx + 0x230], 0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x278]
call fcn.004f74a0
jmp 0x4e6ad4
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov al, byte [esp + 0x12]
call fcn.004faf88
jmp case.0x4e21ad.0
cmp dword [ebx + 0x278], 0
je 0x4e6af7
mov eax, dword [ebx + 0x278]
cmp dword [eax + 0x18], 0
je 0x4e6b0b
cmp dword [ebx + 0x278], 0
jne 0x4e6b31
mov eax, ebx
call fcn.004e1558
test al, al
je 0x4e6b31
cmp dword [ebx + 0x278], 0
je 0x4e6b1f
lea eax, [ebx + 0x278]
call fcn.0040e538
mov dl, 1
mov eax, ebx
call fcn.004efbac
xor edx, edx
mov eax, ebx
call fcn.004de1bc
cmp byte [ebx + 0x54], 1
jne 0x4e6bb4
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4e6bb4
cmp byte [0x5263dc], 0
jne 0x4e6bb4
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf010
jne 0x4e6b7f
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SetCapture
mov byte [0x5263e4], 1
mov byte [0x528f8c], 1
jmp 0x4e6bb4
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf000
jne 0x4e6bb4
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SetCapture
xor eax, eax
mov dword [0x528fb0], eax
mov byte [0x5263e4], 1
mov byte [0x528f8c], 0
mov eax, dword [ebx + 0x25c]
mov al, byte [eax + 0x22f]
dec al
je 0x4e6bd1
dec al
je 0x4e6f6f
jmp 0x4e6ffa
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 2
jne 0x4e6bf8
cmp dword [esi + 4], 0xf030
je 0x4e6bf8
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 0
jne 0x4e6bfc
xor eax, eax
jmp 0x4e6bfe
mov al, 1
mov byte [esp + 0x10], al
cmp byte [esp + 0x10], 0
je 0x4e6c1f
cmp dword [0x528f60], 0
je 0x4e6c1f
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x50]
call fcn.0050bb2c
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf060
jg 0x4e6c49
je 0x4e6c62
sub eax, 0xf020
je 0x4e6e4e
sub eax, 0x10
je 0x4e6e8a
jmp 0x4e6f40
sub eax, 0xf100
je 0x4e6f4e
sub eax, 0x20
je 0x4e6d0d
jmp 0x4e6f40
cmp dword [0x528f60], 0
je 0x4e6f4e
cmp dword [0x528f60], 0
je 0x4e6c94
mov eax, dword [0x528f60]
cmp dword [eax + 0x250], 0
je 0x4e6c94
cmp byte [esp + 0x10], 0
je 0x4e6c94
mov al, 1
call fcn.004e131c
mov eax, dword [0x528f60]
mov byte [eax + 0x22f], 1
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x1c], 8
jne 0x4e6ccb
test byte [ebx + 0x1c], 8
jne 0x4e6ccb
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004e8d48
mov eax, dword [0x528f60]
mov byte [eax + 0x22f], 0
cmp dword [0x528f60], 0
je case.0x4e21ad.0
mov eax, dword [0x528f60]
cmp dword [eax + 0x250], 0
je case.0x4e21ad.0
cmp byte [esp + 0x10], 0
je case.0x4e21ad.0
mov al, 1
call fcn.004e131c
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22b], 1
jne 0x4e6d21
mov byte [esp + 0x10], 1
cmp byte [0x5263f8], 0
jne case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
cmp byte [ebx + 0x78], 0
je 0x4e6d75
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowLongA
push 0x505
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
cmp dword [0x528f60], 0
je 0x4e6e2e
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
call fcn.00463978
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e6e2e
inc ebp
xor edi, edi
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
mov edx, edi
call fcn.004639c4
cmp eax, dword [ebx + 0x25c]
je 0x4e6e2a
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
mov edx, edi
call fcn.004639c4
cmp byte [eax + 0x22b], 2
jne 0x4e6e04
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
mov edx, edi
call fcn.004639c4
xor edx, edx
call fcn.00463fec
push 0x506
push 0
push 0
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
mov edx, edi
call fcn.004639c4
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
inc edi
dec ebp
jne 0x4e6db6
cmp byte [esp + 0x10], 0
je 0x4e6e3c
mov al, 1
call fcn.004e131c
mov dl, 1
mov eax, dword [ebx + 0x264]
call fcn.004f39a8
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp byte [esp + 0x10], 0
je 0x4e6e6a
mov al, 1
call fcn.004e131c
mov dl, 1
mov eax, dword [ebx + 0x264]
call fcn.004f39a8
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov al, 1
call fcn.004e131c
jmp case.0x4e21ad.0
mov dword [0x5263fc], ebx
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xefffffff
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowLongA
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowLongA
push 0x506
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
cmp dword [0x528f60], 0
je 0x4e6f2e
mov eax, dword [0x528f60]
cmp dword [eax + 0x250], 0
je 0x4e6f2e
mov al, 1
call fcn.004e131c
mov dl, 1
mov eax, dword [ebx + 0x264]
call fcn.004f39a8
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp dword [0x528f60], 0
je 0x4e725f
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x50]
xor edx, edx
call fcn.0050bcf4
jmp 0x4e725f
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [esi + 4]
sub eax, 0xf020
je 0x4e6f97
sub eax, 0x10
je 0x4e6f97
sub eax, 0xf0
jne 0x4e725f
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x528f60]
mov dword [eax + 0x260], 0xffffffff
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SendMessageA
cmp dword [esi + 4], 0xf030
jne 0x4e725f
cmp dword [ebx + 0x278], 0
je 0x4e725f
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x278]
call fcn.004f74a0
jmp 0x4e725f
mov eax, dword [esi + 4]
sub eax, 0xf030
jne 0x4e702a
cmp dword [ebx + 0x278], 0
je 0x4e702a
cmp byte [0x5230bc], 0
jne 0x4e701f
cmp dword [esi + 4], 0xf120
jne 0x4e702a
lea eax, [ebx + 0x278]
call fcn.0040e538
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [esi + 4]
sub eax, 0xf030
je 0x4e7178
sub eax, 0xd0
je 0x4e705b
sub eax, 0x20
je 0x4e7178
jmp 0x4e725f
cmp word [esi + 8], 0x20
jne 0x4e725f
mov eax, ebx
call fcn.004ecf6c
test al, al
je 0x4e725f
mov eax, ebx
call fcn.004de5f4
test al, al
je 0x4e725f
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e710a
lea edx, [esp + 0x84]
mov eax, ebx
call fcn.004ec370
mov edi, dword [esp + 0x88]
mov dl, 1
mov eax, ebx
call fcn.004def58
add edi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.004fb054
add edi, eax
sub edi, 0x10
push edi
mov eax, dword [ebx + 0x25c]
call fcn.00450248
mov cl, 1
mov edx, dword [ebx + 0x278]
call fcn.004dd55c
mov edi, eax
lea edx, [esp + 0x90]
mov eax, ebx
call fcn.004ec370
add edi, dword [esp + 0x90]
mov edx, edi
mov eax, ebx
pop ecx
mov edi, dword [eax]
call dword [edi + 0x34]
jmp 0x4e725f
lea edx, [esp + 0x84]
mov eax, ebx
call fcn.004ec370
mov edi, dword [esp + 0x88]
mov dl, 1
mov eax, ebx
call fcn.004def58
add edi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.004fb054
add edi, eax
push edi
mov eax, dword [ebx + 0x25c]
call fcn.00450248
mov cl, 1
mov edx, dword [ebx + 0x278]
call fcn.004dd55c
mov edi, eax
lea edx, [esp + 0x90]
mov eax, ebx
call fcn.004ec370
add edi, dword [esp + 0x90]
mov edx, edi
mov eax, ebx
pop ecx
mov edi, dword [eax]
call dword [edi + 0x34]
jmp 0x4e725f
mov eax, dword [ebx + 0x264]
mov edx, dword [eax]
call dword [edx + 0x48]
test al, al
je 0x4e718e
mov dword [ebx + 0x38], 9
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e8d48
cmp dword [esi + 4], 0xf120
jne 0x4e725f
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov byte [ebx + 0xca], 1
mov eax, ebx
call fcn.004de5f4
test al, al
jne 0x4e71d9
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowRgn
jmp 0x4e725f
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
test eax, eax
je 0x4e7245
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
call fcn.00509148
test al, al
je 0x4e7245
cmp byte [ebx + 0x79], 0
je 0x4e7245
cmp byte [ebx + 0x78], 0
je 0x4e7245
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x30], 0
jne 0x4e7245
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
je 0x4e7245
mov dl, 1
mov eax, ebx
call fcn.004efbac
cmp dword [ebx + 0x278], 0
je 0x4e7245
mov byte [ebx + 0x230], 0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x278]
call fcn.004f74a0
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_RedrawWindow
mov ax, word [esi + 4]
sub ax, 0xf020
jne case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4e7288
mov byte [ebx + 0x233], 0
cmp dword [ebx + 0x278], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x278]
cmp dword [eax + 0x18], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x23c]
and eax, 0x100
cmp eax, 0x100
je case.0x4e21ad.0
mov eax, dword [ebx + 0x278]
mov byte [eax + 0x28], 1
mov eax, dword [ebx + 0x278]
add eax, 0x18
call fcn.0040e538
mov eax, dword [ebx + 0x278]
mov byte [eax + 0x28], 0
jmp case.0x4e21ad.0
mov edx, esi
mov eax, ebx
call fcn.004f2574
jmp case.0x4e21ad.0
mov byte [0x5230a4], 1
mov eax, dword [0x526eb8]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4e731e
jmp 0x4e7315
mov eax, dword [0x526eb8]
mov eax, dword [eax]
call fcn.004697f4
cmp dword [0x5230a8], 0
jg 0x4e7309
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
test eax, eax
je 0x4e76a2
call fcn.004c2be0
test al, al
je 0x4e76a2
cmp byte [ebx + 0x78], 0
je 0x4e76a2
cmp dword [ebx + 0x278], 0
je 0x4e739a
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4e739a
mov eax, ebx
call fcn.004f1c5c
mov edi, eax
mov eax, dword [ebx + 0x25c]
call fcn.004dd5c4
add eax, 4
cmp edi, eax
setg al
mov byte [ebx + 0x218], al
jmp 0x4e73a1
mov byte [ebx + 0x218], 0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
jne 0x4e7556
cmp byte [ebx + 0x232], 0
jne 0x4e7556
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4e7556
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4e7556
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
cmp byte [eax + 0xd0], 2
jne 0x4e743f
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x25c]
jne 0x4e743f
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4e7556
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov byte [ebx + 0x233], 0
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
cmp byte [eax + 0xd0], 2
je 0x4e7533
cmp byte [ebx + 0x95], 0
je 0x4e750e
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4e750e
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x30], 0
jne 0x4e750e
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
je 0x4e750e
call fcn.004dd7e8
test al, al
je 0x4e74b5
mov eax, dword [ebx + 0x25c]
call fcn.00450248
mov cl, 1
mov dl, 1
call fcn.004e1468
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov byte [ebx + 0x232], 1
mov eax, ebx
call fcn.004bdcd4
mov eax, dword [0x526eb8]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne case.0x4e21ad.0
call fcn.004dd7e8
test al, al
je 0x4e7502
mov eax, dword [ebx + 0x25c]
call fcn.00450248
mov cl, 1
xor edx, edx
call fcn.004e1468
mov byte [ebx + 0x232], 0
jmp case.0x4e21ad.0
cmp dword [ebx + 0x278], 0
je 0x4e7556
mov eax, dword [ebx + 0x278]
cmp dword [eax + 0x18], 0
je 0x4e7556
mov eax, dword [ebx + 0x278]
add eax, 0x18
call fcn.0040e538
jmp 0x4e7556
cmp dword [ebx + 0x278], 0
je 0x4e7556
mov eax, dword [ebx + 0x278]
cmp dword [eax + 0x18], 0
je 0x4e7556
mov eax, dword [ebx + 0x278]
add eax, 0x18
call fcn.0040e538
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp byte [ebx + 0x230], 0
jne case.0x4e21ad.0
cmp dword [ebx + 0x278], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x57], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne case.0x4e21ad.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 8
cmp eax, 8
je case.0x4e21ad.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x20
cmp eax, 0x20
je case.0x4e21ad.0
mov eax, dword [ebx + 0x23c]
and eax, 0x80
cmp eax, 0x80
je case.0x4e21ad.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 3
cmp eax, 3
jne 0x4e768e
mov eax, dword [ebx + 0x278]
cmp dword [eax + 0x18], 0
je 0x4e768e
call fcn.004dd7e8
test al, al
je 0x4e765c
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x25c]
jne 0x4e765c
mov eax, dword [ebx + 0x25c]
call fcn.00450248
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x4e765c
push 0x65b
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4e21ad.0
push 0x65b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x25c]
call fcn.00450248
push eax
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4e21ad.0
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x278]
call fcn.004f74a0
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
cmp byte [ebx + 0x95], 0
je 0x4e7829
mov eax, dword [ebx + 0x50]
call fcn.0050bd80
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4e7829
cmp byte [ebx + 0x78], 0
je 0x4e7829
mov eax, dword [ebx + 0x23c]
and eax, 0x200
cmp eax, 0x200
je 0x4e7829
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x30], 0
jne 0x4e7829
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x1c], 8
jne case.0x4e21ad.0
or dword [ebx + 0x23c], 0x200
mov dl, 1
mov eax, ebx
call fcn.004dd2e8
mov edx, dword [ebx + 0x50]
mov dword [edx + 0x44], eax
and dword [ebx + 0x23c], 0xfffffdff
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 0
cmp dword [ebx + 0x278], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x278]
cmp dword [eax + 0x18], 0
je case.0x4e21ad.0
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.0045054c
test al, al
je case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x2e0], 0
je 0x4e77a3
mov eax, dword [ebx + 0x25c]
movzx edi, byte [eax + 0x2e1]
jmp 0x4e77a8
mov edi, 0xff
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x278]
call fcn.004f852c
push eax
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowRgn
push 0
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x44]
mov ecx, edi
call fcn.004dc4ec
push 0x65b
push 0
push 0
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x40]
push eax
push 0
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00450248
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
jne 0x4e78b0
cmp dword [0x528f60], 0
jne 0x4e786a
mov eax, dword [0x526eb8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.00450248
xor edx, edx
call fcn.004a477c
cmp dword [0x528f60], 0
je 0x4e78a9
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
call fcn.00463944
test eax, eax
je 0x4e78a9
mov eax, dword [0x528f60]
mov eax, dword [eax + 0x25c]
call fcn.00463944
cmp byte [eax + 0x22b], 2
jne 0x4e78a9
mov byte [0x5263f8], 1
jmp 0x4e78b0
mov byte [0x5263f8], 0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x22f], 1
je case.0x4e21ad.0
mov eax, ebx
call fcn.004ee1b0
jmp case.0x4e21ad.0
test byte [ebx + 0x1c], 1
jne 0x4e7988
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x1c], 1
jne 0x4e7988
mov eax, dword [esi + 4]
and eax, 0xffff
dec eax
je 0x4e790f
mov eax, dword [esi + 4]
and eax, 0xffff
cmp eax, 2
jne 0x4e7988
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
cmp dword [ebx + 0x238], 0
je 0x4e793a
cmp word [esi + 4], 1
jne 0x4e793a
xor edx, edx
mov eax, dword [ebx + 0x238]
call fcn.004f45e8
push 0
lea eax, [esp + 0x18]
push eax
mov dx, 0x24
xor eax, eax
call fcn.00407394
mov edx, eax
mov ecx, 1
mov eax, 0xa100
call fcn.004faec4
lea edx, [esp + 0x14]
mov eax, dword [ebx + 0x25c]
call fcn.004c0974
cmp byte [ebx + 0x78], 0
je case.0x4e21ad.0
mov dl, 1
mov eax, dword [ebx + 0x234]
call fcn.00483540
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
sub eax, 0xfffffdd9
jne case.0x4e21ad.0
cmp dword [ebx + 0x238], 0
je case.0x4e21ad.0
xor edx, edx
mov eax, dword [ebx + 0x238]
call fcn.004f45e8
jmp case.0x4e21ad.0
cmp dword [esi + 4], 0
je 0x4e7a67
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov eax, dword [esi + 4]
mov edx, dword [0x4458b0]
call fcn.00403654
test al, al
je 0x4e7a49
cmp dword [ebx + 0x238], 0
je 0x4e7a1a
mov edx, dword [esi + 4]
mov eax, dword [ebx + 0x238]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
lea eax, [esp + 0x18]
push eax
mov dx, 0x24
xor eax, eax
call fcn.00407394
mov edx, eax
mov ecx, 1
mov eax, 0xa100
call fcn.004faec4
lea edx, [esp + 0x14]
mov eax, dword [esi + 4]
call fcn.004c0974
push 1
mov dx, 0x24
xor eax, eax
call fcn.00407394
mov ecx, eax
mov eax, dword [esi + 4]
mov edx, 0xa100
call fcn.0044ab00
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
jmp case.0x4e21ad.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
add esp, 0xbc
pop ebp
pop edi
pop esi
pop ebx
ret