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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff54
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, dword [0x526090]
jne 0x4dfec6
movzx eax, word [esi + 6]
cmp eax, 0x22
jg 0x4dfa08
je 0x4dfceb
dec eax
je 0x4dfc33
dec eax
je 0x4dfa26
sub eax, 5
je 0x4dfca3
sub eax, 0x19
je 0x4dfcaf
jmp 0x4dfec6
sub eax, 0x24
je 0x4dfe9f
sub eax, 0x18
je 0x4dfc77
dec eax
je 0x4dfc86
jmp 0x4dfec6
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
cmp eax, dword [esi + 8]
jne 0x4dfc21
cmp dword [ebx + 0x224], 0
je 0x4dfa4b
lea eax, [ebx + 0x224]
call fcn.0040e610
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
xor ecx, ecx
xor edx, edx
call fcn.004dbc98
mov eax, esi
mov edx, dword [ebx + 0x50]
call fcn.004d1bdc
mov dword [ebx + 0x250], 0xffffffff
mov dword [ebx + 0x20c], 0xffffffff
mov dword [ebx + 0x214], 0xffffffff
mov edx, esi
mov eax, dword [ebx + 0x24c]
call fcn.004b53a4
mov eax, ebx
call fcn.004ed34c
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
test eax, eax
je 0x4dfaae
mov al, 1
call fcn.004d4a80
mov eax, dword [ebx + 0x24c]
test eax, eax
je case.0x4e02ce.0
test byte [eax + 0x1c], 8
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
test eax, eax
je 0x4dfb5d
xor edx, edx
mov eax, ebx
call fcn.004ec1e4
xor edx, edx
mov eax, ebx
call fcn.004ee224
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4dfb09
cmp dword [ebx + 0x240], 0
je 0x4dfb09
xor edx, edx
mov eax, ebx
call fcn.004ed094
mov eax, ebx
call fcn.004dca10
test al, al
je 0x4dfb32
cmp byte [ebx + 0x21f], 0
jne 0x4dfb32
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowRgn
mov eax, ebx
call fcn.004ebdc4
push 0x485
push 0
push 0
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
xor edx, edx
mov eax, ebx
call fcn.004ee82c
mov eax, dword [ebx + 0x24c]
call fcn.004471d8
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4dfbe8
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0044719c
mov edx, dword [0x435b58]
call fcn.00403b38
test al, al
je 0x4dfbe4
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0044719c
mov eax, dword [eax + 0x68]
mov edx, 0xff000008
call fcn.004225ec
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0044719c
call fcn.00439960
test al, al
jne 0x4dfbe4
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0044719c
mov esi, dword [eax + 0x50]
or esi, dword [0x4e69d4]
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0044719c
mov dword [eax + 0x50], esi
inc edi
dec ebp
jne 0x4dfb72
cmp byte [ebx + 0x5c], 0
je 0x4dfc07
mov eax, dword [ebx + 0x50]
cmp byte [eax + 9], 0
jne 0x4dfc07
mov edx, 0xff00000f
mov eax, dword [ebx + 0x24c]
call fcn.00443e48
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je case.0x4e02ce.0
add eax, 0x44
call fcn.0040e610
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call fcn.004b53a4
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4dfec6
cmp dword [ebx + 0x50], 0
je 0x4dfec6
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
cmp eax, dword [esi + 8]
jne 0x4dfec6
cmp dword [ebx + 0x254], 0
jne 0x4dfec6
mov eax, ebx
call fcn.004ece30
jmp 0x4dfec6
mov eax, dword [0x524414]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
jmp case.0x4e02ce.0
mov eax, ebx
call fcn.004eb598
push eax
mov eax, ebx
call fcn.004eb500
pop edx
call fcn.004077bc
mov dword [esi + 0xc], eax
jmp case.0x4e02ce.0
mov dword [esi + 0xc], 1
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
mov dx, word [eax + 0x52]
and dx, 0x400
cmp dx, 0x400
jne 0x4dfec6
and word [eax + 0x52], 0xfbff
push 0
push 0
push 0xb015
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
jmp 0x4dfec6
mov edi, dword [ebx + 0x50]
test edi, edi
je 0x4dfec6
xor edx, edx
mov eax, edi
call fcn.004d1b34
test al, al
je 0x4dfec6
lea ecx, [esp + 0x74]
xor edx, edx
xor eax, eax
call fcn.00406b88
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x74]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
je 0x4dfd53
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
je 0x4dfd40
cmp byte [ebx + 0x220], 0
je 0x4dfd53
mov eax, dword [ebx + 0x50]
call fcn.004cf920
test al, al
je 0x4dfd53
mov eax, ebx
call fcn.004e9464
mov eax, dword [esi + 8]
cmp byte [eax + 0x31], 0
je 0x4dfd76
mov eax, ebx
call fcn.004eb500
mov edx, dword [esi + 8]
add dword [edx + 8], eax
mov eax, ebx
call fcn.004eb598
mov edx, dword [esi + 8]
add dword [edx + 0xc], eax
mov eax, dword [ebx + 0x24c]
cmp word [eax + 0x2ba], 0
je 0x4dfdc4
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [esi + 8]
mov dword [edx], eax
mov eax, ebx
call fcn.004eb598
push eax
mov eax, ebx
call fcn.004eb500
lea ecx, [esp + 0x78]
pop edx
call fcn.00406b88
mov edi, dword [esi + 8]
mov eax, dword [esp + 0x74]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x78]
mov dword [edi + 0xc], eax
mov byte [edi + 0x30], 2
jmp case.0x4e02ce.0
mov edi, dword [ebx + 0x50]
cmp dword [edi + 0x28], 0xffffffff
jle 0x4dfe03
push 0
mov eax, edi
call fcn.004d15b4
mov eax, dword [eax + 0xd0]
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 + 0x244]
call fcn.00429d54
mov ecx, eax
mov edx, dword [esi + 8]
mov eax, edi
call fcn.004cfcd8
jmp 0x4dfe20
push 0
xor eax, eax
mov al, byte [ebx + 0x244]
xor edx, edx
call fcn.00429d54
mov ecx, eax
mov edx, dword [esi + 8]
mov eax, edi
call fcn.004cfcd8
mov eax, dword [esi + 8]
cmp byte [eax + 0x30], 2
jne 0x4dfe46
cmp byte [eax + 0x31], 0
jne 0x4dfe46
cmp dword [eax], 0
jne 0x4dfe46
mov eax, ebx
call fcn.004e9464
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.004eb500
add dword [edi], eax
mov ebp, dword [edi]
test ebp, ebp
je 0x4dfe70
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x20]
sub edx, ebp
xor eax, eax
call fcn.00429e18
mov edx, dword [esi + 8]
mov dword [edx + 0x20], eax
mov eax, ebx
call fcn.004eb598
add dword [edi + 4], eax
mov ebx, dword [edi + 4]
test ebx, ebx
je case.0x4e02ce.0
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x24]
sub edx, ebx
xor eax, eax
call fcn.00429e18
mov edx, dword [esi + 8]
mov dword [edx + 0x24], eax
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
mov dx, word [eax + 0x52]
and dx, 2
cmp dx, 2
jne 0x4dfeb7
xor edx, edx
call fcn.004d1190
mov eax, dword [ebx + 0x50]
movzx eax, word [eax + 0x52]
mov dword [esi + 0xc], eax
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4dfee4
mov dl, 1
mov eax, dword [ebx + 0x50]
call fcn.004d1b34
test al, al
jne 0x4e02ad
mov eax, dword [esi]
cmp eax, dword [0x526090]
jne 0x4e00e5
mov ax, word [esi + 6]
dec ax
je 0x4dff0d
sub ax, 3
jne 0x4e00e5
mov dword [esi + 0xc], ebx
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4e00e5
cmp dword [ebx + 0x50], 0
je 0x4e00e5
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
cmp eax, dword [esi + 8]
jne case.0x4e02ce.0
mov eax, ebx
call fcn.004eea54
mov al, 1
call fcn.004d4a80
mov eax, dword [ebx + 0x50]
call fcn.004d2480
mov dword [ebx + 0x20c], 0xffffffff
mov eax, ebx
call fcn.004eeb98
mov dword [ebx + 0x20c], eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov edx, 0x4e69e0
call fcn.004ccdd0
mov dword [ebx + 0x214], eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
test eax, eax
je 0x4e00c3
cmp dword [ebx + 0x268], 0
je 0x4dffcf
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4dffcf
mov eax, ebx
call fcn.004f0958
mov esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004db9e0
add eax, 4
cmp esi, eax
setg al
mov byte [ebx + 0x208], al
jmp 0x4dffd6
mov byte [ebx + 0x208], 0
mov dl, 1
mov eax, ebx
call fcn.004ee224
mov eax, ebx
call fcn.004ec7bc
mov esi, dword [ebx + 0x24c]
cmp byte [esi + 0x22f], 2
jne 0x4e0010
mov eax, esi
call fcn.0045dc14
mov edx, dword [0x524598]
mov edx, dword [edx]
cmp eax, dword [edx + 0x6c]
jne 0x4e0010
mov byte [ebx + 0x244], 1
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
test byte [eax + 0x1c], 1
jne 0x4e005c
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x248], 0
je 0x4e003d
cmp byte [ebx + 0xbd], 0
je 0x4e003d
mov byte [ebx + 0xb9], 1
mov dl, 1
mov eax, ebx
call fcn.004ec1e4
cmp byte [ebx + 0xb9], 0
jne 0x4e005c
mov eax, ebx
call fcn.004ebdc4
mov byte [ebx + 0xb9], al
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov dword [ebx + 0x250], 0xffffffff
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4e0085
mov dl, 1
mov eax, ebx
call fcn.004ed094
cmp byte [ebx + 0x5c], 0
je 0x4e00ae
mov eax, dword [ebx + 0x50]
cmp byte [eax + 9], 0
jne 0x4e00ae
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
call fcn.004c4de4
mov edx, eax
mov eax, dword [ebx + 0x24c]
call fcn.00443e48
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
xor ecx, ecx
mov dl, byte [ebx + 0x78]
call fcn.004dbc98
mov eax, dword [ebx + 0x228]
test eax, eax
jne 0x4e00d9
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
jmp case.0x4e02ce.0
xor edx, edx
call fcn.004f22e8
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [esi]
sub eax, 0x47
je 0x4e0113
sub eax, 0x3b
je 0x4e01eb
sub eax, 0xafc1
je 0x4e029f
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
test eax, eax
je case.0x4e02ce.0
call fcn.004b6288
test al, al
je case.0x4e02ce.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
jne case.0x4e02ce.0
cmp byte [ebx + 0x95], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne case.0x4e02ce.0
cmp byte [ebx + 0x222], 0
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
cmp byte [eax + 0x3c], 0
je case.0x4e02ce.0
cmp byte [ebx + 0x78], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je case.0x4e02ce.0
xor eax, eax
mov dword [0x521ec0], eax
mov byte [ebx + 0x222], 1
mov eax, ebx
call fcn.004b271c
cmp byte [0x521eb4], 0
jne 0x4e01c2
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
mov cl, 1
xor edx, edx
call fcn.004df87c
mov byte [ebx + 0x222], 0
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne case.0x4e02ce.0
cmp dword [0x525ffc], 0
je case.0x4e02ce.0
mov eax, dword [0x525ffc]
cmp dword [eax + 0x240], 0
je case.0x4e02ce.0
mov eax, dword [0x525ffc]
test byte [eax + 0x1c], 8
jne case.0x4e02ce.0
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
test byte [eax + 0x1c], 8
jne case.0x4e02ce.0
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x50]
mov dl, 1
call fcn.004d1b34
test al, al
je case.0x4e02ce.0
mov eax, dword [0x525ffc]
call fcn.004ec6e8
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
call fcn.0045dc14
test eax, eax
jne case.0x4e02ce.0
push 0x507
push 0
push 0
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4e02ce.0
mov edx, esi
mov eax, ebx
call fcn.004eec74
jmp case.0x4e02ce.0
mov eax, dword [esi]
cmp eax, dword [0x526090]
jne 0x4e08b5
movzx eax, word [esi + 6]
cmp eax, 0x3e
ja case.0x4e02ce.0
mov al, byte [eax + 0x4e02d5]
jmp dword [eax*4 + 0x4e0314]
mov eax, dword [ebx + 0x24c]
test eax, eax
je case.0x4e02ce.0
test byte [eax + 0x1c], 1
jne case.0x4e02ce.0
mov edx, dword [ebx + 0x228]
test edx, edx
je case.0x4e02ce.0
cmp dword [esi + 8], 0
je 0x4e038e
mov eax, dword [esi + 8]
xchg edx, eax
call fcn.004f22e8
jmp case.0x4e02ce.0
xchg edx, eax
call fcn.004f22e8
jmp case.0x4e02ce.0
cmp dword [ebx + 0x50], 0
je case.0x4e02ce.0
cmp byte [0x521eb4], 0
jne 0x4e03c1
mov eax, dword [ebx + 0x50]
call fcn.004cf920
test al, al
je 0x4e03c1
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4e03c5
xor eax, eax
jmp 0x4e03c7
mov al, 1
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
je case.0x4e02ce.0
mov byte [eax + 0x1c], 0
push 0x401
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
jmp case.0x4e02ce.0
cmp dword [esi + 8], 1
jne 0x4e041b
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov eax, ebx
call fcn.004dca58
jmp case.0x4e02ce.0
cmp word [esi + 4], 1
sete dl
mov eax, dword [ebx + 0x50]
call fcn.004d1b30
mov eax, dword [ebx + 0x50]
call fcn.004d15c4
test al, al
je case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
cmp eax, dword [esi + 8]
jne case.0x4e02ce.0
cmp dword [ebx + 0x228], 0
jne 0x4e0476
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
jmp 0x4e0483
xor edx, edx
mov eax, dword [ebx + 0x228]
call fcn.004f22e8
cmp byte [ebx + 0x78], 0
je 0x4e04a1
cmp byte [ebx + 0xa6], 0
je 0x4e04a1
lea edx, [ebx + 0x224]
xor ecx, ecx
mov eax, ebx
call fcn.004dc914
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
je 0x4e04c5
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4e04c5
mov eax, dword [ebx + 0x50]
and word [eax + 0x52], 0xfffe
mov dword [ebx + 0x250], 0xffffffff
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
test byte [eax + 0x1c], 1
jne 0x4e04f7
mov eax, ebx
call fcn.004ebdc4
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004d1b34
mov edx, eax
mov eax, ebx
call fcn.004ec1e4
mov eax, ebx
call fcn.004dca10
test al, al
je 0x4e0506
mov byte [ebx + 0x34], 1
mov eax, ebx
call fcn.004f0794
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x57], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
call fcn.004cea5c
mov edx, eax
mov eax, ebx
call fcn.004ee82c
cmp byte [0x521eb4], 0
jne 0x4e05e9
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4e05a5
mov eax, dword [ebx + 0x24c]
call fcn.0045dc14
test eax, eax
je 0x4e05a5
mov eax, dword [ebx + 0x24c]
call fcn.0045dc14
cmp byte [eax + 0x22b], 2
jne 0x4e05a5
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004eef7c
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0045dc14
call fcn.0044a4a8
push eax
call sub.user32.dll_InvalidateRect
jmp 0x4e05e9
push 0x545
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4e05e9
push 0x545
push 0
push 0
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
cmp byte [ebx + 0x5c], 0
je 0x4e0612
mov eax, dword [ebx + 0x50]
cmp byte [eax + 9], 0
jne 0x4e0612
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
call fcn.004c4de4
mov edx, eax
mov eax, dword [ebx + 0x24c]
call fcn.00443e48
cmp dword [ebx + 0x240], 0
je 0x4e0626
mov eax, dword [ebx + 0x240]
call fcn.004741e8
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004d1b30
cmp dword [ebx + 0x254], 0
je 0x4e0644
mov eax, dword [ebx + 0x254]
call fcn.004f1748
mov edx, esi
mov eax, ebx
call fcn.004ed39c
cmp dword [ebx + 0x268], 0
je case.0x4e02ce.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.004f51a8
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xd0]
mov edi, dword [ebx + 0x50]
imul edx, dword [edi + 0x28], 0x43
mov ebp, dword [eax + edx*4 + 0xa8]
mov eax, edi
call fcn.004d15b4
mov eax, dword [eax + 0xd0]
mov edx, dword [ebx + 0x50]
imul edx, dword [edx + 0x28], 0x43
add ebp, dword [eax + edx*4 + 0xb4]
test ebp, ebp
jle 0x4e06b2
mov dword [esi + 8], 1
jmp 0x4e06f1
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x24], 0
jl 0x4e06e5
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xc8]
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 0x4e06e9
xor eax, eax
jmp 0x4e06eb
mov al, 1
and eax, 0x7f
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp case.0x4e02ce.0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004d02d8
mov dword [esi + 0xc], eax
jmp case.0x4e02ce.0
mov dword [esi + 0xc], ebx
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
cmp eax, dword [esi + 8]
jne case.0x4e02ce.0
mov al, 1
call fcn.004d4a80
mov eax, dword [ebx + 0x50]
call fcn.004d2480
mov dword [ebx + 0x20c], 0xffffffff
mov eax, ebx
call fcn.004eeb98
mov dword [ebx + 0x20c], eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov edx, 0x4e69e0
call fcn.004ccdd0
mov dword [ebx + 0x214], eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
test eax, eax
je case.0x4e02ce.0
mov eax, ebx
call fcn.004ec7bc
mov al, 1
call fcn.004d4a80
mov dl, byte [ebx + 0x78]
mov eax, ebx
call fcn.004ee224
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x44]
call fcn.004d6ad4
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov dword [ebx + 0x250], 0xffffffff
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004eef7c
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne case.0x4e02ce.0
mov dl, 1
mov eax, ebx
call fcn.004ed094
jmp case.0x4e02ce.0
mov cl, 1
or edx, 0xffffffff
mov eax, ebx
call fcn.004e7c84
mov byte [0x521f48], 0
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d17a4
test al, al
je case.0x4e02ce.0
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d17a4
test al, al
je case.0x4e02ce.0
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
cmp ebx, dword [0x525ffc]
jne case.0x4e02ce.0
push 0x581
push 0
push 0
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4e02ce.0
mov eax, esi
mov edx, dword [ebx + 0x50]
call fcn.004d25a0
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x38], 0
je case.0x4e02ce.0
mov eax, ebx
call fcn.004e9464
jmp case.0x4e02ce.0
cmp eax, 0xa4
jg 0x4e0a18
je 0x4e3339
cmp eax, 0x2c
jg 0x4e0979
je 0x4e5239
cmp eax, 0x24
ja case.0x4e08de.0
jmp dword [eax*4 + 0x4e08e5]
cmp eax, 0x81
jg 0x4e09cf
je 0x4e27a5
cmp eax, 0x4e
jg 0x4e09af
je 0x4e68db
sub eax, 0x46
je 0x4e5c78
dec eax
je 0x4e627a
sub eax, 3
je 0x4e0c21
jmp case.0x4e08de.0
sub eax, 0x7b
je 0x4e0cfa
sub eax, 2
je 0x4e0ea3
sub eax, 3
je 0x4e0df2
jmp case.0x4e08de.0
cmp eax, 0xa0
jg 0x4e09fa
je 0x4e0b88
sub eax, 0x84
je 0x4e24e6
dec eax
je 0x4e3fa2
dec eax
je 0x4e46c9
jmp case.0x4e08de.0
sub eax, 0xa1
je 0x4e27d2
dec eax
je 0x4e33db
dec eax
je 0x4e5098
jmp case.0x4e08de.0
cmp eax, 0x318
jg 0x4e0adb
je case.0x4e02ce.0
cmp eax, 0x211
jg 0x4e0a87
je 0x4e235e
cmp eax, 0x121
jg 0x4e0a65
je 0x4e3a37
sub eax, 0xa5
je 0x4e335b
sub eax, 0x6d
je 0x4e52bb
sub eax, 5
je 0x4e0e83
jmp case.0x4e08de.0
sub eax, 0x200
je 0x4e2e80
sub eax, 2
je 0x4e33db
sub eax, 0xe
je 0x4e681d
jmp case.0x4e08de.0
cmp eax, 0x232
jg 0x4e0ab9
je 0x4e0d74
sub eax, 0x212
je 0x4e24b9
sub eax, 2
je 0x4e26d7
add eax, 0xfffffff3
sub eax, 2
jb 0x4e4e47
jmp case.0x4e08de.0
sub eax, 0x2a3
je 0x4e2706
sub eax, 0x70
je 0x4e0f7d
sub eax, 4
je 0x4e3afc
jmp case.0x4e08de.0
cmp eax, 0xb015
jg 0x4e0b39
je 0x4e3a87
cmp eax, 0xb00b
jg 0x4e0b19
je 0x4e4ff0
sub eax, 0x323
je 0x4e0cb1
sub eax, 3
je 0x4e0c87
sub eax, 0xa0da
je 0x4e0bdf
jmp case.0x4e08de.0
sub eax, 0xb00c
je 0x4e187c
sub eax, 7
je 0x4e273e
dec eax
je 0x4e2706
jmp case.0x4e08de.0
cmp eax, 0xb03a
jg 0x4e0b68
je 0x4e3a41
sub eax, 0xb019
je 0x4e0fb9
sub eax, 0x13
je 0x4e6919
sub eax, 7
je 0x4e4686
jmp case.0x4e08de.0
sub eax, 0xb043
je 0x4e0bc3
sub eax, 9
je 0x4e3f98
sub eax, 0xc01
je 0x4e3f98
jmp case.0x4e08de.0
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
pop edx
call fcn.004cdfa8
mov edx, esi
mov eax, ebx
call fcn.004eeed0
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov edx, esi
mov eax, ebx
call fcn.004eec74
jmp case.0x4e02ce.0
mov eax, dword [esi + 4]
dec eax
je 0x4e0c05
sub eax, 2
je 0x4e0bf2
dec eax
je 0x4e0c15
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
call fcn.00460538
jmp case.0x4e02ce.0
mov dword [esi + 0xc], 1
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [esi + 0xc], 0
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
cmp eax, dword [0x51eff8]
jne case.0x4e02ce.0
cmp byte [0x51f000], 0
jne case.0x4e02ce.0
mov byte [0x51f000], 1
cmp dword [esi + 8], 0
je 0x4e0c7b
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov edx, eax
mov eax, esi
call fcn.004c2dd0
mov byte [0x51f000], 0
jmp case.0x4e02ce.0
cmp byte [0x51f03c], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
mov edx, ebx
call fcn.004da704
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4e02ce.0
cmp byte [0x51f03c], 0
je case.0x4e02ce.0
cmp word [esi + 0xa], 0
je case.0x4e02ce.0
cmp word [esi + 8], 0
je case.0x4e02ce.0
movzx eax, word [esi + 8]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
movzx ecx, word [esi + 0xa]
mov edx, ebx
call fcn.004da48c
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x7c], 0
je 0x4e0d2c
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov al, byte [eax + 0x58]
push eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x24c]
mov edx, dword [edx + 0x7c]
pop ecx
call fcn.004d7fb8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
cmp dword [esi + 4], 1
jne 0x4e0d5b
mov edx, dword [ebx + 0xb4]
dec edx
xor eax, eax
call fcn.00429e18
mov dword [ebx + 0xb4], eax
jmp 0x4e0d61
inc dword [ebx + 0xb4]
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [ebx + 0x268], 0
je case.0x4e02ce.0
cmp dword [0x525ed0], 0
je case.0x4e02ce.0
mov eax, dword [0x525ed0]
mov ebp, dword [eax + 8]
dec ebp
test ebp, ebp
jl case.0x4e02ce.0
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [0x525ed0]
call fcn.00418e30
test eax, eax
je 0x4e0ddb
mov edx, edi
mov eax, dword [0x525ed0]
call fcn.00418e30
mov eax, dword [eax + 0x38]
xor ecx, ecx
mov edx, 0x12
call fcn.004b51f0
inc edi
dec ebp
jne 0x4e0db0
jmp case.0x4e02ce.0
mov edx, esi
mov eax, ebx
call fcn.004ee8dc
jmp case.0x4e02ce.0
test byte [ebx + 0x1c], 1
jne 0x4e0e70
cmp dword [esi + 8], 0
je 0x4e0e70
cmp byte [0x521eb4], 0
jne 0x4e0e70
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4e0e70
call fcn.004dbc04
test al, al
jne 0x4e0e36
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
call fcn.004dbc04
test al, al
jne 0x4e0e64
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
mov eax, ebx
call fcn.004dca58
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
cmp byte [eax + 0x58], 0
je case.0x4e02ce.0
mov edx, esi
mov eax, ebx
call fcn.004ee4f0
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x254]
test eax, eax
je 0x4e0ef2
cmp dword [eax + 0x98], 0
je 0x4e0ef2
mov edx, dword [ebx + 0x24c]
test byte [edx + 0x228], 1
setne dl
mov ecx, dword [eax + 0x98]
cmp dl, byte [ecx + 0x3e]
je 0x4e0ef2
xor edx, edx
call fcn.004f174c
mov eax, ebx
call fcn.004dca58
jmp case.0x4e02ce.0
cmp dword [esi + 4], 0xffffffec
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x22c]
and eax, 0x80
cmp eax, 0x80
je case.0x4e02ce.0
mov eax, dword [ebx + 0x22c]
and eax, 0x100
cmp eax, 0x100
je case.0x4e02ce.0
mov eax, dword [ebx + 0x22c]
and eax, 0x400
cmp eax, 0x400
je case.0x4e02ce.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.0x4e02ce.0
cmp dword [ebx + 0x268], 0
je case.0x4e02ce.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.004f51a8
jmp case.0x4e02ce.0
lea edx, [esp + 0x74]
mov eax, dword [0x524554]
mov eax, dword [eax]
call fcn.0044ed54
mov eax, dword [esp + 0x78]
push eax
lea edx, [esp + 0x80]
mov eax, dword [0x524554]
mov eax, dword [eax]
call fcn.0044ed54
mov edx, dword [esp + 0x80]
mov eax, ebx
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4e02ce.0
mov dword [esp + 4], 0xff
cmp byte [ebx + 0x78], 0
je 0x4e1485
cmp byte [ebx + 0xa6], 0
je 0x4e1485
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4e1422
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e1027
cmp dword [ebx + 0x228], 0
je 0x4e1014
mov edx, dword [ebx + 0x24c]
mov eax, dword [ebx + 0x228]
call fcn.004f22e8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4e103f
mov dl, 1
mov eax, ebx
call fcn.004ed094
and dword [ebx + 0x22c], 0xfffffdff
cmp dword [ebx + 0x268], 0
je 0x4e105c
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 0
cmp dword [ebx + 0x218], 0
je 0x4e1085
mov eax, dword [ebx + 0x218]
mov edx, dword [0x4da360]
call fcn.00403b38
test al, al
je 0x4e1085
lea eax, [ebx + 0x218]
call fcn.0040e610
cmp byte [0x51effc], 0
je 0x4e10cc
mov eax, dword [ebx + 0x24c]
call fcn.0044a7ac
test al, al
je 0x4e10cc
mov eax, dword [0x524414]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x4e10bc
mov eax, dword [0x524414]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
jne 0x4e10cc
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
call fcn.004dd630
mov eax, ebx
call fcn.004ecdb4
cmp dword [ebx + 0x228], 0
je 0x4e10ed
mov edx, dword [ebx + 0x24c]
mov eax, dword [ebx + 0x228]
call fcn.004f22e8
cmp byte [ebx + 0x95], 0
je 0x4e1138
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4e1111
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4e1138
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
cmp byte [eax + 6], 0
je 0x4e1138
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
cmp eax, dword [0x51eff8]
jne 0x4e113c
xor eax, eax
jmp 0x4e113e
mov al, 1
mov byte [ebx + 0x223], al
mov byte [esp + 0x11], 0
cmp byte [ebx + 0x223], 0
je 0x4e1223
mov dl, 1
mov eax, dword [ebx + 0x50]
call fcn.004d1b30
mov byte [ebx + 0x220], 1
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
mov cl, 1
mov dl, 1
call fcn.004df87c
mov byte [esp + 0x11], al
mov dword [esp + 4], 0xff
cmp byte [esp + 0x11], 0
je 0x4e11a0
xor edx, edx
mov eax, ebx
call fcn.004dc5d8
mov byte [ebx + 0x230], 0
jmp 0x4e11be
mov eax, dword [ebx + 0x24c]
movzx eax, byte [eax + 0x2e1]
mov dword [esp + 4], eax
xor edx, edx
mov eax, dword [ebx + 0x24c]
call fcn.00460fc0
mov eax, dword [ebx + 0x24c]
call fcn.004471d8
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e122d
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0044719c
cmp byte [eax + 0x57], 0
je 0x4e121d
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0044719c
mov edx, dword [0x51e0a4]
call fcn.00403b38
test al, al
jne 0x4e121d
push 0
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0044719c
xor ecx, ecx
mov edx, 0xb
call fcn.00444e74
inc edi
dec ebp
jne 0x4e11d3
jmp 0x4e122d
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004d1b30
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
call fcn.004cea5c
mov edx, eax
mov eax, ebx
call fcn.004ee82c
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004d1b34
test al, al
jne 0x4e130c
cmp byte [ebx + 0x223], 0
je 0x4e130c
mov eax, dword [ebx + 0x24c]
call fcn.004471d8
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e12ba
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0044719c
cmp byte [eax + 0x57], 0
je 0x4e12b6
push 0
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0044719c
mov ecx, 1
mov edx, 0xb
call fcn.00444e74
inc edi
dec ebp
jne 0x4e1285
push 0xffffffffffffffec
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowLongA
push 0x81
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
mov byte [ebx + 0x230], 0
jmp case.0x4e02ce.0
lea edx, [ebx + 0x224]
xor ecx, ecx
mov eax, ebx
call fcn.004dc914
cmp byte [ebx + 0x223], 0
je 0x4e13d6
mov eax, dword [ebx + 0x24c]
call fcn.004471d8
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e1372
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0044719c
cmp byte [eax + 0x57], 0
je 0x4e136e
push 0
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0044719c
mov ecx, 1
mov edx, 0xb
call fcn.00444e74
inc edi
dec ebp
jne 0x4e133d
cmp byte [esp + 0x11], 0
je 0x4e138d
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
mov cl, 1
xor edx, edx
call fcn.004df87c
mov byte [ebx + 0x223], 0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
movzx edi, word [eax + 4]
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
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.004b1dac
mov byte [ebx + 0x230], 0
jmp 0x4e13f0
push 0x81
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne case.0x4e02ce.0
mov al, 1
call fcn.004df730
jmp case.0x4e02ce.0
cmp dword [ebx + 0x268], 0
je 0x4e1472
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4e1467
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
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 0x4e1467
cmp byte [ebx + 0x95], 0
jne 0x4e1472
lea eax, [ebx + 0x268]
call fcn.0040e610
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
call fcn.004dbc04
test al, al
je 0x4e14c2
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4e14c2
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
call fcn.004dbc04
test al, al
je case.0x4e02ce.0
push 0x181
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4e162d
cmp dword [esi + 4], 1
jne 0x4e1596
cmp dword [ebx + 0x268], 0
je 0x4e1525
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 0
mov eax, dword [ebx + 0x22c]
and eax, 0x400
cmp eax, 0x400
jne 0x4e1543
mov dword [ebx + 0x22c], 0x400
jmp 0x4e154b
xor eax, eax
mov dword [ebx + 0x22c], eax
call fcn.004dbc04
test al, al
je 0x4e1596
cmp byte [0x521eb4], 0
jne 0x4e1596
push 0xffffffffffffffec
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4e1596
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [esi + 8]
dec eax
je 0x4e15a6
sub eax, 2
je 0x4e15f4
jmp 0x4e162d
cmp byte [ebx + 0x221], 0
je 0x4e162d
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e15cd
mov byte [ebx + 0x221], 2
jmp 0x4e162d
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4e15eb
mov byte [ebx + 0x221], 3
jmp 0x4e162d
mov byte [ebx + 0x221], 1
jmp 0x4e162d
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4e162d
mov eax, dword [0x524414]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
jne 0x4e162d
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [esi + 4], 1
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e166d
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne 0x4e166d
mov eax, dword [0x525ffc]
call fcn.004ec6e8
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4e16ce
mov eax, dword [ebx + 0x24c]
call fcn.0045dc48
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e16ce
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0045dc94
call fcn.0044a4a8
mov edx, 7
call fcn.004b529c
test al, al
jne 0x4e16ca
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0045dc94
call fcn.0044a4a8
xor edx, edx
call fcn.00499264
inc edi
dec ebp
jne 0x4e1691
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
and word [eax + 0x52], 0xfffe
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
call fcn.0044a7ac
test al, al
je 0x4e1869
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e1869
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x54], 0x40
jne 0x4e1869
cmp byte [ebx + 0x78], 0
je 0x4e1869
cmp dword [ebx + 0xc0], 0
je 0x4e1760
lea eax, [ebx + 0xc0]
call fcn.0040e610
cmp dword [ebx + 0xc4], 0
je 0x4e1774
lea eax, [ebx + 0xc4]
call fcn.0040e610
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e17c7
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne 0x4e17c7
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
xor edx, edx
mov eax, dword [0x525ffc]
call fcn.004dc0f4
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [0x525ffc]
call fcn.004dc3fc
jmp 0x4e1848
call fcn.004dbc04
test al, al
jne 0x4e1811
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
xor edx, edx
mov eax, ebx
call fcn.004dc0f4
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, ebx
call fcn.004dc3fc
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e1848
cmp dword [ebx + 0x268], 0
jne 0x4e1823
xor edx, edx
mov eax, ebx
call fcn.004dc0f4
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, ebx
call fcn.004dca58
cmp dword [ebx + 0x268], 0
jne 0x4e1848
mov eax, ebx
call fcn.004dc3fc
cmp dword [ebx + 0x268], 0
je case.0x4e02ce.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.004f51a8
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp byte [ebx + 0x78], 0
je case.0x4e02ce.0
cmp dword [ebx + 0x268], 0
je 0x4e18c4
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4e18c4
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
mov edx, eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 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 + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, ebx
call fcn.004ebdc4
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, ebx
call fcn.004ebdc4
cmp dword [0x525ffc], 0
je case.0x4e02ce.0
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
call fcn.0045dc14
test eax, eax
je case.0x4e02ce.0
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
call fcn.0045dc14
cmp byte [eax + 0x22b], 2
jne 0x4e196c
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x240]
call fcn.00474288
jmp case.0x4e02ce.0
mov dl, 1
mov eax, ebx
call fcn.004ee224
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4e231f
mov eax, ebx
call fcn.004dbd04
test al, al
je 0x4e1b8f
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov edi, dword [eax + 0x180]
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov edx, edi
call fcn.004c6ca4
test al, al
je 0x4e1b8f
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.004f8cc0
push eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1c]
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.004f8cd4
push eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1e]
inc eax
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov edi, eax
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.004f8cc0
mov ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.004436ac
cmp ebp, eax
jl 0x4e1a82
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.004f8cd4
mov ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.004436f0
cmp ebp, eax
jge 0x4e1aed
mov eax, dword [ebx + 0x50]
call fcn.004cf920
test al, al
jne 0x4e1aed
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.004f8cc0
test eax, eax
je 0x4e1aed
mov eax, dword [ebx + 0x204]
push eax
lea eax, [esp + 0x28]
push eax
mov edx, dword [ebx + 0x204]
sub edx, edi
mov eax, dword [ebx + 0x200]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x200]
call fcn.00406b6c
mov eax, dword [ebx + 0x50]
call fcn.004cf920
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_InvalidateRect
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.004f8cc0
mov ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.004436ac
cmp ebp, eax
jg 0x4e1b29
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.004f8cd4
mov ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.004436f0
cmp ebp, eax
jle 0x4e1b8f
mov eax, dword [ebx + 0x24c]
call fcn.004436f0
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.004436ac
push eax
mov eax, dword [ebx + 0x24c]
call fcn.004436f0
sub eax, edi
push eax
mov eax, dword [ebx + 0x24c]
call fcn.004436ac
sub eax, dword [esp + 0x14]
pop edx
pop ecx
call fcn.00406b6c
mov eax, dword [ebx + 0x50]
call fcn.004cf920
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_InvalidateRect
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.004f8cc0
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004436ac
cmp edi, eax
jg 0x4e1be0
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.004f8cd4
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004436f0
cmp edi, eax
jg 0x4e1be0
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.004f8cc0
test eax, eax
jne 0x4e1de4
push 0x4e69f0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov edx, dword [ebx + 0x50]
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x28]
call fcn.004cce28
mov edi, eax
cmp edi, 0xffffffff
jle 0x4e1ce2
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.004f8cc0
push eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1c]
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.004f8cd4
push eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1e]
inc eax
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebx + 0x204]
push eax
lea eax, [esp + 0x28]
push eax
mov edx, dword [ebx + 0x204]
sub edx, edi
mov eax, dword [ebx + 0x200]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x200]
call fcn.00406b6c
mov eax, dword [ebx + 0x50]
call fcn.004cf920
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_InvalidateRect
push 0x4e6a04
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov edx, dword [ebx + 0x50]
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x28]
call fcn.004cce28
mov edi, eax
cmp edi, 0xffffffff
jle 0x4e1de4
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.004f8cc0
push eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1c]
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.004f8cd4
push eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1e]
inc eax
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebx + 0x204]
push eax
lea eax, [esp + 0x28]
push eax
mov edx, dword [ebx + 0x204]
sub edx, edi
mov eax, dword [ebx + 0x200]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x200]
call fcn.00406b6c
mov eax, dword [ebx + 0x50]
call fcn.004cf920
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_InvalidateRect
cmp dword [ebx + 0xc0], 0
je 0x4e1df8
lea eax, [ebx + 0xc0]
call fcn.0040e610
cmp dword [ebx + 0xc4], 0
je 0x4e1e0c
lea eax, [ebx + 0xc4]
call fcn.0040e610
mov dword [ebx + 0x250], 0xffffffff
mov eax, dword [ebx + 0x22c]
and eax, 0x80
cmp eax, 0x80
jne 0x4e1e2f
mov eax, ebx
call fcn.004db404
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4e1e62
cmp byte [ebx + 0xa6], 0
je 0x4e1e62
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 1
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
jmp 0x4e1e70
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp byte [0x521eb4], 0
jne 0x4e22df
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4e22d8
mov eax, ebx
call fcn.004eb8c8
test al, al
je 0x4e2242
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e1ec1
cmp byte [ebx + 0x21e], 0
jne 0x4e2242
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 0x4e1f19
mov eax, dword [ebx + 0x50]
call fcn.004cf920
test al, al
je 0x4e1f0d
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebx + 0x24c]
cmp eax, dword [edx + 0x48]
jg 0x4e1f11
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebx + 0x24c]
cmp eax, dword [edx + 0x4c]
jg 0x4e1f11
xor eax, eax
jmp 0x4e1f13
mov al, 1
mov byte [esp + 0x10], al
jmp 0x4e1f1e
mov byte [esp + 0x10], 0
cmp byte [ebx + 0x78], 0
je 0x4e21e6
cmp byte [0x51f024], 0
je 0x4e1f54
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne 0x4e1f54
cmp dword [ebx + 0x268], 0
je 0x4e1f54
lea eax, [ebx + 0x268]
call fcn.0040e610
cmp dword [ebx + 0x268], 0
je 0x4e2015
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
jne 0x4e1f78
mov eax, dword [ebx + 0x268]
call fcn.004f6370
cmp dword [ebx + 0x224], 0
je 0x4e1fa2
mov eax, dword [ebx + 0x224]
mov eax, dword [eax + 0x80]
cmp byte [eax + 6], 0
jne 0x4e1faf
mov eax, dword [ebx + 0x224]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 6], 0
jne 0x4e1faf
cmp byte [ebx + 0x54], 0
jne 0x4e1faf
or dword [ebx + 0x22c], 1
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.004f51a8
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 1
and dword [ebx + 0x22c], 0xfffffffe
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 1
push 0x61b
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 0
mov dl, 1
mov eax, ebx
call fcn.004dc5d8
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
jmp 0x4e2025
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004eef7c
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x54]
and ax, 2
cmp ax, 2
jne 0x4e2061
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.004f8cd4
mov esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004436f0
cmp esi, eax
jne 0x4e2090
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x54]
and ax, 1
cmp ax, 1
jne 0x4e20c1
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.004f8cc0
mov esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004436ac
cmp esi, eax
je 0x4e20c1
push 0
lea eax, [esp + 0x18]
push eax
mov dx, 0x14
mov ax, 1
call fcn.00407888
mov edx, eax
xor ecx, ecx
mov eax, dword [0x526090]
call fcn.004f8b9c
lea edx, [esp + 0x14]
mov eax, dword [ebx + 0x24c]
call fcn.004b53a4
cmp dword [ebx + 0x268], 0
je 0x4e21bf
cmp dword [ebx + 0x224], 0
je 0x4e211b
mov eax, dword [ebx + 0x224]
cmp dword [eax + 0x80], 0
je 0x4e211b
mov eax, dword [ebx + 0x224]
cmp dword [eax + 0x7c], 0
je 0x4e211b
mov eax, dword [ebx + 0x224]
mov eax, dword [eax + 0x80]
cmp byte [eax + 6], 0
jne 0x4e21bf
mov eax, dword [ebx + 0x224]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 6], 0
jne 0x4e21bf
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
jne 0x4e2132
mov eax, dword [ebx + 0x268]
call fcn.004f6370
push 0x101
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
cmp dword [ebx + 0x268], 0
je 0x4e21b4
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowPos
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.004f6208
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 0
jmp 0x4e21d9
xor edx, edx
mov eax, ebx
call fcn.004dc5d8
jmp 0x4e21d9
push 0x921
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x24c]
call fcn.004b4884
jmp 0x4e2202
cmp byte [esp + 0x10], 0
je 0x4e2202
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_InvalidateRect
mov eax, dword [ebx + 0x24c]
call fcn.004436f0
push eax
lea eax, [esp + 0x88]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.004436ac
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406b6c
lea esi, [esp + 0x84]
lea edi, [ebx + 0x1f8]
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.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4e225d
mov eax, dword [ebx + 0x50]
call fcn.004cf920
test al, al
jne 0x4e226c
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e227e
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004eef7c
jmp 0x4e22df
mov eax, dword [esi + 4]
sub eax, 2
jne 0x4e22df
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e22df
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne 0x4e22df
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x525ffc]
mov byte [eax + 0x232], 1
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4e22df
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 0x24c]
call fcn.004436f0
push eax
lea eax, [esp + 0x88]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.004436ac
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406b6c
lea esi, [esp + 0x84]
lea edi, [ebx + 0x1f8]
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.0x4e02ce.0
mov byte [ebx + 0x34], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov eax, ebx
call fcn.004eea54
xor eax, eax
call fcn.004a0a80
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4e24a6
cmp byte [ebx + 0x21f], 0
jne 0x4e24a6
mov eax, dword [ebx + 0x24c]
call fcn.0045dc14
test eax, eax
je 0x4e24a6
mov eax, dword [ebx + 0x24c]
call fcn.0045dc14
cmp byte [eax + 0x22b], 2
jne 0x4e24a6
mov byte [ebx + 0x21f], 1
cmp dword [0x521f54], 0
jne 0x4e23d2
mov ecx, dword [0x524414]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x459890]
call fcn.0045c370
mov dword [0x521f54], eax
mov eax, dword [0x521f54]
mov dword [eax + 0xc], 0xffffff9e
xor edx, edx
mov eax, dword [0x521f54]
call fcn.0045d1c4
mov edx, 0x4e6a18
mov eax, dword [0x521f54]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [0x521f54]
mov dword [eax + 0x2bc], ebx
mov dword [eax + 0x2b8], 0x4ed3cc
xor edx, edx
mov eax, dword [0x521f54]
call fcn.0045db44
push 0x58
push 0xf
call sub.user32.dll_GetSystemMetrics
dec eax
add eax, 4
push eax
push 0x3c
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004db978
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004db9e0
mov edx, dword [ebx + 0x24c]
add eax, dword [edx + 0x44]
add edi, eax
push edi
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004db978
push eax
lea edx, [esp + 0x98]
mov eax, dword [ebx + 0x24c]
call fcn.00443648
mov eax, dword [esp + 0xa0]
sub eax, 0x3c
pop edx
sub eax, edx
push eax
push 0
mov eax, dword [0x521f54]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowPos
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov byte [ebx + 0x21f], 0
cmp dword [0x521f54], 0
je 0x4e24d3
mov eax, 0x521f54
call fcn.0040e610
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
cmp byte [ebx + 0x21c], 0
je 0x4e24fd
mov byte [ebx + 0x21c], 0
mov eax, ebx
call fcn.004eed7c
mov dl, 1
mov eax, ebx
call fcn.004dd530
test eax, eax
je 0x4e2510
cmp byte [ebx + 0x78], 0
jne 0x4e2523
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, ebx
call fcn.004def2c
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
add eax, 0xfffffff8
sub eax, 2
jb 0x4e253f
sub eax, 0xa
jne 0x4e2557
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e2557
mov dl, 1
mov eax, ebx
call fcn.004ee224
mov eax, dword [esi + 0xc]
sub eax, 3
jb 0x4e2570
sub eax, 2
je 0x4e2570
add eax, 0xfffffffb
sub eax, 8
jae 0x4e268c
mov eax, ebx
call fcn.004dbd04
test al, al
je 0x4e2679
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov edi, dword [eax + 0x180]
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov edx, edi
call fcn.004c6ca4
test al, al
je 0x4e2679
lea eax, [esp + 8]
push eax
movsx ecx, word [esi + 0xa]
movsx edx, word [esi + 8]
mov eax, ebx
call fcn.004eb3cc
cmp dword [ebx + 0x268], 0
je 0x4e263f
lea ecx, [esp + 0x74]
mov edx, edi
mov eax, ebx
call fcn.004ebf34
mov ebp, dword [esp + 0x78]
mov eax, dword [ebx + 0x268]
call fcn.004dbaa4
sub ebp, eax
lea edx, [esp + 0x84]
mov eax, ebx
call fcn.004eea1c
sub ebp, dword [esp + 0x88]
cmp ebp, dword [esp + 0xc]
jge 0x4e2679
lea ecx, [esp + 0x7c]
mov edx, edi
mov eax, ebx
call fcn.004ebf34
mov edi, dword [esp + 0x7c]
mov eax, dword [ebx + 0x268]
call fcn.004dbae0
sub edi, eax
lea edx, [esp + 0x94]
mov eax, ebx
call fcn.004eea1c
sub edi, dword [esp + 0x94]
cmp edi, dword [esp + 8]
jge 0x4e2679
mov dword [esi + 0xc], 0x11
jmp case.0x4e02ce.0
lea ecx, [esp + 0x74]
mov edx, edi
mov eax, ebx
call fcn.004ebf34
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0xc]
jge 0x4e2679
lea ecx, [esp + 0x7c]
mov edx, edi
mov eax, ebx
call fcn.004ebf34
mov eax, dword [esp + 0x7c]
cmp eax, dword [esp + 8]
jge 0x4e2679
mov dword [esi + 0xc], 0x11
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
cmp byte [ebx + 0x54], 1
jne case.0x4e02ce.0
cmp dword [0x526050], 0
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4e02ce.0
mov eax, dword [esi + 0xc]
sub eax, 2
je 0x4e26ca
add eax, 0xfffffff8
sub eax, 8
jae case.0x4e02ce.0
mov eax, dword [esi + 0xc]
mov dword [0x526050], eax
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [ebx + 0x268], 0
je case.0x4e02ce.0
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.004f51a8
jmp case.0x4e02ce.0
cmp dword [ebx + 0x38], 0x7d0
jl 0x4e2718
cmp dword [ebx + 0x268], 0
jne 0x4e2724
mov cl, 1
or edx, 0xffffffff
mov eax, ebx
call fcn.004e7c84
mov byte [0x521f48], 0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
pop edx
call fcn.004cdfa8
cmp dword [ebx + 0x268], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x268]
cmp byte [eax + 0x38], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x22c]
and eax, 1
cmp eax, 1
je case.0x4e02ce.0
mov eax, dword [ebx + 0x268]
call fcn.004f63f4
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je case.0x4e02ce.0
mov eax, ebx
call fcn.004ece30
jmp case.0x4e02ce.0
cmp byte [ebx + 0x78], 0
je 0x4e2d10
cmp dword [ebx + 0x268], 0
je 0x4e27fe
cmp dword [esi + 4], 0x13
jne 0x4e27fe
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
cmp dword [ebx + 0x268], 0
je 0x4e281d
cmp dword [esi + 4], 0xffffffff
jne 0x4e281d
mov edx, esi
mov eax, dword [ebx + 0x268]
call fcn.004f43a8
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 8
jge 0x4e2838
sub eax, 3
je 0x4e28bb
sub eax, 2
je 0x4e28a8
jmp 0x4e29f2
add eax, 0xfffffff8
sub eax, 2
jb 0x4e2854
add eax, 0xfffffff6
sub eax, 2
jb 0x4e2854
add eax, 0xffffffb1
sub eax, 3
jae 0x4e29f2
cmp dword [0x521f50], 0
je 0x4e2899
cmp dword [esi + 4], 0x67
jne 0x4e287b
mov eax, dword [0x521f50]
mov eax, dword [eax + 0x254]
mov edx, dword [eax]
call dword [edx + 0x54]
test al, al
je case.0x4e02ce.0
cmp dword [esi + 4], 0x66
jne 0x4e2899
mov eax, dword [0x521f50]
mov eax, dword [eax + 0x254]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je case.0x4e02ce.0
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004e8068
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
xor eax, eax
mov dword [esi + 0xc], eax
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [esi + 0xc], 0
jne case.0x4e02ce.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7c84
mov byte [0x521f48], 0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
cmp byte [eax + 0x58], 0
jne 0x4e290f
mov eax, 0xc8
call fcn.004f9180
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e2970
cmp dword [0x525ffc], 0
je case.0x4e02ce.0
lea edx, [esp + 8]
mov eax, ebx
call fcn.004eaf88
mov eax, dword [ebx + 0x24c]
call fcn.004db9e0
add eax, dword [esp + 0xc]
add eax, 4
push eax
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
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.0x4e02ce.0
lea edx, [esp + 0x74]
mov eax, ebx
call fcn.004eaf88
mov esi, dword [esp + 0x78]
mov dl, 1
mov eax, ebx
call fcn.004dd374
add esi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.004f8cd4
add esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004db9cc
add esi, eax
push esi
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004db978
mov esi, eax
lea edx, [esp + 0x80]
mov eax, ebx
call fcn.004eaf88
add esi, dword [esp + 0x80]
mov edx, esi
mov eax, ebx
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x48]
call fcn.00419b88
mov ecx, eax
add ecx, 0x3e8
dec ecx
mov eax, dword [esi + 4]
mov edx, 0x3e8
call fcn.004f8bf0
test al, al
je 0x4e2a54
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004e8068
mov al, byte [0x4e6a24]
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.004f1c18
mov edx, dword [esi + 4]
sub edx, 0x3e8
xor ecx, ecx
call fcn.004f1d90
jmp case.0x4e02ce.0
mov eax, dword [esi + 4]
mov ecx, 0x8cf
mov edx, 0x7d0
call fcn.004f8bf0
test al, al
je 0x4e2ab4
cmp dword [ebx + 0xac], 0
je case.0x4e02ce.0
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004e8068
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 + 0xac]
mov eax, dword [eax + 0x38]
call fcn.0046e0e8
mov cl, byte [0x4e6a24]
xor edx, edx
call fcn.0046d908
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e2ae5
push 0
mov ecx, 0xf012
mov edx, 0x112
mov eax, dword [ebx + 0x24c]
call fcn.00444e74
jmp case.0x4e02ce.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7c84
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne 0x4e2b42
lea eax, [esp + 0x74]
push eax
movsx ecx, word [esi + 0xa]
xor edx, edx
mov eax, ebx
call fcn.004eb3cc
mov edi, dword [esp + 0x78]
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
mov cl, 1
mov edx, dword [ebx + 0x268]
call fcn.004db9cc
mov ebp, eax
mov dl, 1
mov eax, ebx
call fcn.004dd530
add ebp, eax
cmp edi, ebp
jle 0x4e2cd7
push 0
lea eax, [esp + 0x15]
push eax
push 0
push 0x26
call sub.user32.dll_SystemParametersInfoA
cmp byte [esp + 0x11], 0
je 0x4e2cc4
cmp byte [ebx + 0x54], 1
jne 0x4e2c1e
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4e2c1e
mov eax, dword [esi + 4]
sub eax, 5
je 0x4e2c1e
mov eax, dword [esi + 4]
sub eax, 2
je 0x4e2b93
sub eax, 3
jne 0x4e2ba1
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [esi + 4]
add eax, 0xfffffff6
sub eax, 8
setb al
xor al, 1
mov byte [0x52602c], al
lea ecx, [esp + 8]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.00406b88
cmp byte [0x52602c], 0
je 0x4e2bed
push 0
push 0xf010
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e2c0a
push 0
push 0xf000
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004ec260
jmp case.0x4e02ce.0
cmp dword [esi + 4], 2
jne 0x4e2cb1
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4e2cb1
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
cmp byte [eax + 6], 0
je 0x4e2cb1
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4e2cb1
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
cmp byte [eax + 8], 0xff
je 0x4e2cb1
cmp byte [ebx + 0x94], 0
je 0x4e2cb1
cmp byte [ebx + 0x244], 0
jne 0x4e2c94
mov byte [ebx + 0x244], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetFocus
mov eax, ebx
call fcn.004db048
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22e], 0
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0xc4]
jmp case.0x4e02ce.0
mov eax, dword [esi + 4]
sub eax, 3
jne 0x4e2df9
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7c84
mov byte [0x521f48], 0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e2d77
cmp dword [0x525ffc], 0
je case.0x4e02ce.0
lea edx, [esp + 8]
mov eax, ebx
call fcn.004eaf88
mov dl, 1
mov eax, ebx
call fcn.004dd530
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.0x4e02ce.0
lea edx, [esp + 0x74]
mov eax, ebx
call fcn.004eaf88
mov esi, dword [esp + 0x78]
mov dl, 1
mov eax, ebx
call fcn.004dd374
add esi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.004f8cd4
add esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004db9cc
add esi, eax
push esi
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
mov cl, 1
mov edx, dword [ebx + 0x268]
call fcn.004db978
mov esi, eax
lea edx, [esp + 0x80]
mov eax, ebx
call fcn.004eaf88
add esi, dword [esp + 0x80]
mov edx, esi
mov eax, ebx
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
cmp dword [esi + 4], 0x2f
jne 0x4e2e6d
cmp dword [ebx + 0x218], 0
je 0x4e2e6d
mov eax, dword [ebx + 0x218]
mov edx, dword [0x4da360]
call fcn.00403b38
test al, al
je 0x4e2e6d
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov edi, dword [ebx + 0x218]
mov eax, edi
call fcn.004f841c
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 + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [0x525f24], 0
je 0x4e2eae
mov eax, dword [0x525f24]
test byte [eax + 0x1c], 0x10
jne 0x4e2eae
xor edx, edx
mov eax, dword [0x525f24]
call fcn.004cdfa8
cmp byte [ebx + 0x54], 1
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4e02ce.0
lea ecx, [esp + 0x74]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.00406b88
lea edx, [esp + 0x74]
lea ecx, [esp + 8]
mov eax, dword [ebx + 0x24c]
call fcn.004437c0
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
mov edi, dword [esp + 0xc]
cmp byte [0x52602c], 0
je 0x4e2f79
cmp byte [0x521f38], 0
je 0x4e2f14
mov byte [0x521f38], 0
cmp byte [0x521f30], 0
je case.0x4e02ce.0
mov ecx, dword [0x526038]
mov edx, dword [0x52603c]
mov eax, ebx
call fcn.004ec460
mov eax, dword [esp + 4]
sub eax, dword [0x526048]
add dword [0x52603c], eax
mov eax, edi
sub eax, dword [0x52604c]
add dword [0x526038], eax
mov dword [0x52604c], edi
mov eax, dword [esp + 4]
mov dword [0x526048], eax
mov ecx, dword [0x526038]
mov edx, dword [0x52603c]
mov eax, ebx
call fcn.004ec460
jmp case.0x4e02ce.0
cmp byte [0x521f38], 0
je 0x4e2f98
mov eax, dword [esp + 4]
mov dword [0x526048], eax
mov dword [0x52604c], edi
mov byte [0x521f38], 0
cmp byte [0x521f30], 0
je case.0x4e02ce.0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004ec460
mov eax, dword [0x526050]
add eax, 0xfffffff6
cmp eax, 6
ja case.default.0x4e2fc1
jmp dword [eax*4 + 0x4e2fc8]
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
add eax, dword [esp + 4]
sub eax, dword [0x526048]
mov dword [0x52603c], eax
mov eax, dword [0x526044]
sub eax, dword [0x52603c]
cmp eax, dword [0x526058]
jge 0x4e3329
mov eax, dword [0x526044]
sub eax, dword [0x526058]
mov dword [0x52603c], eax
jmp 0x4e3329
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x24c]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x526048]
mov dword [0x526044], eax
mov eax, dword [0x526044]
sub eax, dword [0x52603c]
cmp eax, dword [0x526058]
jge 0x4e3329
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
add eax, dword [0x526058]
mov dword [0x526044], eax
jmp 0x4e3329
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x24c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x52604c]
mov dword [0x526040], edi
mov eax, dword [0x526040]
sub eax, dword [0x526038]
cmp eax, dword [0x526054]
jge 0x4e3329
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x44]
add eax, dword [0x526054]
mov dword [0x526040], eax
jmp 0x4e3329
mov eax, dword [ebx + 0x24c]
add edi, dword [eax + 0x44]
sub edi, dword [0x52604c]
mov dword [0x526038], edi
mov eax, dword [0x526040]
sub eax, dword [0x526038]
cmp eax, dword [0x526054]
jge 0x4e3329
mov eax, dword [0x526040]
sub eax, dword [0x526054]
mov dword [0x526038], eax
jmp 0x4e3329
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x24c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x52604c]
mov dword [0x526040], edi
mov eax, dword [0x526040]
sub eax, dword [0x526038]
cmp eax, dword [0x526054]
jge 0x4e3151
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x44]
add eax, dword [0x526054]
mov dword [0x526040], eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
add eax, dword [esp + 4]
sub eax, dword [0x526048]
mov dword [0x52603c], eax
mov eax, dword [0x526044]
sub eax, dword [0x52603c]
cmp eax, dword [0x526058]
jge 0x4e3329
mov eax, dword [0x526044]
sub eax, dword [0x526058]
mov dword [0x52603c], eax
jmp 0x4e3329
mov eax, dword [ebx + 0x24c]
add edi, dword [eax + 0x44]
sub edi, dword [0x52604c]
mov dword [0x526038], edi
mov eax, dword [0x526040]
sub eax, dword [0x526038]
cmp eax, dword [0x526054]
jge 0x4e31cd
mov eax, dword [0x526040]
sub eax, dword [0x526054]
mov dword [0x526038], eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x24c]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x526048]
mov dword [0x526044], eax
mov eax, dword [0x526044]
sub eax, dword [0x52603c]
cmp eax, dword [0x526058]
jge 0x4e3329
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
add eax, dword [0x526058]
mov dword [0x526044], eax
jmp 0x4e3329
mov eax, dword [ebx + 0x24c]
add edi, dword [eax + 0x44]
sub edi, dword [0x52604c]
mov dword [0x526038], edi
mov eax, dword [0x526040]
sub eax, dword [0x526038]
cmp eax, dword [0x526054]
jge 0x4e3256
mov eax, dword [0x526040]
sub eax, dword [0x526054]
mov dword [0x526038], eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
add eax, dword [esp + 4]
sub eax, dword [0x526048]
mov dword [0x52603c], eax
mov eax, dword [0x526044]
sub eax, dword [0x52603c]
cmp eax, dword [0x526058]
jge 0x4e3329
mov eax, dword [0x526044]
sub eax, dword [0x526058]
mov dword [0x52603c], eax
jmp 0x4e3329
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x24c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x52604c]
mov dword [0x526040], edi
mov eax, dword [0x526040]
sub eax, dword [0x526038]
cmp eax, dword [0x526054]
jge 0x4e32e1
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x44]
add eax, dword [0x526054]
mov dword [0x526040], eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x24c]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x526048]
mov dword [0x526044], eax
mov eax, dword [0x526044]
sub eax, dword [0x52603c]
cmp eax, dword [0x526058]
jge 0x4e3329
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
add eax, dword [0x526058]
mov dword [0x526044], eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004ec460
jmp case.0x4e02ce.0
mov eax, dword [esi + 4]
add eax, 0xfffffffe
sub eax, 2
jb case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov eax, ebx
call fcn.004dca10
test al, al
je 0x4e33c8
cmp dword [ebx + 0x268], 0
je 0x4e3387
cmp dword [esi + 4], 0xffffffff
jne 0x4e3387
mov edx, esi
mov eax, dword [ebx + 0x268]
call fcn.004f43a8
mov dword [esi + 4], eax
jmp 0x4e3393
mov edx, esi
mov eax, ebx
call fcn.004def2c
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
add eax, 0xfffffffe
sub eax, 2
jae case.0x4e02ce.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7c84
mov byte [0x521f48], 0
movsx ecx, word [esi + 0xa]
movsx edx, word [esi + 8]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
cmp byte [ebx + 0x78], 0
je 0x4e3a24
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4e3a24
cmp dword [ebx + 0x268], 0
je 0x4e3417
cmp dword [esi + 4], 0xffffffff
jne 0x4e3417
mov edx, esi
mov eax, dword [ebx + 0x268]
call fcn.004f43a8
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 0x15
jg 0x4e343f
je 0x4e3712
sub eax, 8
je 0x4e35c7
dec eax
je 0x4e34e2
sub eax, 0xb
je 0x4e345b
jmp 0x4e3857
sub eax, 0x65
je 0x4e3780
dec eax
je 0x4e37c6
dec eax
je 0x4e3808
jmp 0x4e3857
cmp byte [0x521f48], 0
je case.0x4e02ce.0
xor eax, eax
mov dword [ebx + 0x130], eax
push 0
push 0xf060
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne case.0x4e02ce.0
mov eax, ebx
call fcn.004eea54
cmp dword [ebx + 0x24c], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x57], 0
je case.0x4e02ce.0
cmp dword [ebx + 0x50], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7c84
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4e3517
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je case.0x4e02ce.0
cmp byte [0x521f48], 0
je 0x4e35a9
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7c84
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e3545
xor eax, eax
mov dword [0x521f50], eax
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne 0x4e3573
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e3590
push 0
push 0xf030
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [ebx + 0x254]
call fcn.004f174c
mov byte [0x521f48], 0
jmp case.0x4e02ce.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7c84
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
cmp byte [0x521f48], 0
je 0x4e36f4
cmp dword [ebx + 0x268], 0
je 0x4e3608
movsx edx, word [esi + 0xa]
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
sub edx, dword [eax + 0x44]
movsx eax, word [esi + 8]
mov ecx, dword [ebx + 0x268]
mov ecx, dword [ecx + 0x18]
sub eax, dword [ecx + 0x40]
lea ecx, [esp + 8]
call fcn.00406b88
jmp 0x4e361c
lea eax, [esp + 8]
push eax
movsx ecx, word [esi + 0xa]
movsx edx, word [esi + 8]
mov eax, ebx
call fcn.004eb3cc
lea edx, [esp + 8]
lea eax, [ebx + 0xe8]
call fcn.00406b90
test al, al
je 0x4e36e1
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7c84
mov eax, dword [0x524414]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
jne 0x4e367d
mov byte [ebx + 0x222], 1
push 0
push 0xf020
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
mov byte [ebx + 0x222], 0
jmp 0x4e36ce
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e36b1
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e36ce
push 0
push 0xf020
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov byte [ebx + 0xba], 1
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7c84
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
cmp byte [0x521f48], 0
je 0x4e3770
push 0
push 0xf180
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7c84
xor edx, edx
mov eax, dword [ebx + 0x254]
call fcn.004f174c
mov byte [0x521f48], 0
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, dword [ebx + 0x24c]
call fcn.00444e74
jmp case.0x4e02ce.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7c84
jmp case.0x4e02ce.0
cmp byte [0x521f48], 0
je case.0x4e02ce.0
mov byte [0x521f48], 0
push 0
push 0xf060
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0045dc14
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004e7c84
jmp case.0x4e02ce.0
cmp byte [0x521f48], 0
je 0x4e37f1
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0045dc14
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
mov byte [0x521f48], 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004e7c84
jmp case.0x4e02ce.0
cmp byte [0x521f48], 0
je 0x4e3847
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x50]
call fcn.004d135c
mov byte [0x521f48], 0
push 0
push 0xf020
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0045dc14
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7c84
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x48]
call fcn.00419b88
mov ecx, eax
add ecx, 0x3e8
dec ecx
mov eax, dword [esi + 4]
mov edx, 0x3e8
call fcn.004f8bf0
test al, al
je 0x4e38ca
cmp byte [0x521f48], 0
je 0x4e38b3
mov al, byte [0x4e6a24]
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.004f1c18
mov edx, dword [esi + 4]
sub edx, 0x3e8
xor ecx, ecx
call fcn.004f1db8
mov byte [0x521f48], 0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7c84
jmp 0x4e3a18
mov eax, dword [esi + 4]
mov ecx, 0x8cf
mov edx, 0x7d0
call fcn.004f8bf0
test al, al
je 0x4e3938
cmp byte [0x521f48], 0
je 0x4e3920
cmp dword [ebx + 0xac], 0
je 0x4e3920
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 + 0xac]
mov eax, dword [eax + 0x38]
call fcn.0046e0e8
mov cl, byte [0x4e6a24]
xor edx, edx
call fcn.0046da8c
mov byte [0x521f48], 0
mov edx, dword [esi + 4]
mov cl, 1
mov eax, ebx
call fcn.004e7c84
jmp 0x4e3a18
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e39a3
cmp dword [0x525ffc], 0
je 0x4e3993
lea edx, [esp + 0x74]
mov eax, ebx
call fcn.004eaf88
mov esi, dword [esp + 0x74]
lea eax, [esp + 0x7c]
call fcn.004b15b8
add esi, dword [esp + 0x7c]
push esi
lea eax, [esp + 0xa8]
call fcn.004b15b8
mov ecx, dword [esp + 0xac]
mov eax, ebx
pop edx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp 0x4e3a18
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp 0x4e3a18
cmp byte [ebx + 0x54], 1
jne 0x4e3a0a
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4e3a0a
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
je 0x4e3a0a
cmp byte [0x521f30], 0
je 0x4e3a0a
lea ecx, [esp + 0x74]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.00406b88
lea edx, [esp + 0x74]
lea ecx, [esp + 8]
mov eax, dword [ebx + 0x24c]
call fcn.004437c0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004ec360
call sub.user32.dll_ReleaseCapture
jmp 0x4e3a18
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov byte [0x521f48], 0
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [ebx + 0x224], 0
je 0x4e3a63
lea eax, [ebx + 0x224]
call fcn.0040e610
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
push eax
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
mov edx, 3
pop ecx
call fcn.004b51f0
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x2f4], 1
jne 0x4e3ae9
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x57], 0
je 0x4e3ae9
mov eax, ebx
call fcn.004dbd4c
test al, al
jne 0x4e3ae9
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je 0x4e3ad6
mov dword [ebx + 0x250], 0xffffffff
mov byte [ebx + 0x232], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
test byte [ebx + 0x1c], 1
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x2f4], 1
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
xor ecx, ecx
mov dl, 1
call fcn.004dbc98
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e3b9e
cmp dword [0x525ffc], 0
je 0x4e3b9e
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
call fcn.0045dc14
test eax, eax
je 0x4e3b9e
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
call fcn.0045dc14
cmp byte [eax + 0x22b], 2
jne 0x4e3b9e
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
call fcn.0045dc14
cmp eax, dword [ebx + 0x24c]
jne case.0x4e02ce.0
cmp byte [ebx + 0xb9], 0
jne 0x4e3bb9
mov eax, ebx
call fcn.004ebdc4
test al, al
je 0x4e3bb9
mov byte [ebx + 0xb9], 1
mov eax, dword [esi + 8]
and eax, 8
cmp eax, 8
jne 0x4e3bdc
mov eax, dword [esi + 8]
push eax
mov ecx, dword [esi + 4]
mov edx, 0x14
mov eax, ebx
call fcn.004eef7c
jmp case.0x4e02ce.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 + 0x268], 0
je 0x4e3ce7
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
je 0x4e3c09
mov eax, ebx
call fcn.004e9464
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00427b88
call fcn.004236bc
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.004eb598
push eax
mov eax, ebx
call fcn.004eb500
mov edx, eax
mov eax, ebp
pop ecx
call fcn.004425e4
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_GetClientRect
lea eax, [esp + 0x24]
xor edx, edx
call fcn.004f8cd4
push eax
lea eax, [esp + 0x28]
xor edx, edx
call fcn.004f8cc0
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
je 0x4e3f12
lea ecx, [esp + 0x74]
xor edx, edx
xor eax, eax
call fcn.00406b88
lea eax, [esp + 0x74]
push eax
push 0
mov eax, dword [ebx + 0x22c]
and eax, 0x200
cmp eax, 0x200
sete al
xor al, 1
push eax
mov cl, 1
mov edx, dword [ebx + 0x24c]
mov eax, ebp
call fcn.004b4aa0
jmp 0x4e3f12
cmp byte [ebx + 0x78], 0
je 0x4e3e2a
mov eax, ebx
call fcn.004dca10
test al, al
jne 0x4e3e21
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
call fcn.004dc5c0
test al, al
je 0x4e3e21
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
je 0x4e3d28
mov eax, ebx
call fcn.004e9464
mov eax, dword [ebx + 0x24c]
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.00427b88
call fcn.004236bc
push eax
push edi
mov eax, dword [ebx + 0x24c]
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.00427b88
call fcn.004236bc
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 + 0x24c]
mov eax, dword [eax + 0x4c]
sub eax, edi
push eax
push edi
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00427b88
call fcn.004236bc
push eax
push edi
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x48]
sub eax, edi
push eax
mov eax, dword [ebx + 0x24c]
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.00427b88
call fcn.004236bc
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 0x4e3e2a
mov edx, ebp
mov eax, ebx
call fcn.004e742c
mov eax, ebx
call fcn.004eb598
push eax
mov eax, ebx
call fcn.004eb500
mov edx, eax
mov eax, ebp
pop ecx
call fcn.004425e4
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_GetClientRect
lea eax, [esp + 0x24]
xor edx, edx
call fcn.004f8cd4
push eax
lea eax, [esp + 0x28]
xor edx, edx
call fcn.004f8cc0
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 0x4e3e99
mov cl, 1
mov edx, ebp
mov eax, ebx
call fcn.004e7704
jmp 0x4e3f12
push ebp
call sub.gdi32.dll_SaveDC
mov dword [esp], eax
push 0
push 0
xor ecx, ecx
mov edx, dword [ebx + 0x24c]
mov eax, ebp
call fcn.004ba454
mov cl, 1
mov edx, ebp
mov eax, ebx
call fcn.004e7704
mov eax, dword [esp]
push eax
push ebp
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
je 0x4e3f12
lea ecx, [esp + 0x74]
xor edx, edx
xor eax, eax
call fcn.00406b88
lea eax, [esp + 0x74]
push eax
push 0
mov eax, dword [ebx + 0x22c]
and eax, 0x200
cmp eax, 0x200
sete al
xor al, 1
push eax
mov cl, 1
mov edx, dword [ebx + 0x24c]
mov eax, ebp
call fcn.004b4aa0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4e3f3b
push 0
push ebp
push 0x317
mov eax, dword [ebx + 0x24c]
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 + 0x24c]
cmp word [eax + 0x2ba], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
call fcn.0045ddfc
mov edx, ebp
call fcn.0042373c
mov esi, dword [ebx + 0x24c]
mov edx, dword [ebx + 0x24c]
mov eax, dword [esi + 0x2bc]
call dword [esi + 0x2b8]
mov eax, dword [ebx + 0x24c]
call fcn.0045ddfc
xor edx, edx
call fcn.0042373c
jmp case.0x4e02ce.0
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4e02ce.0
cmp dword [ebx + 0x254], 0
jne 0x4e3fb2
mov eax, ebx
call fcn.004ece30
cmp byte [ebx + 0x78], 0
je 0x4e4019
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x52]
and ax, 0x400
cmp ax, 0x400
je case.0x4e02ce.0
mov eax, ebx
call fcn.004db91c
test al, al
je 0x4e4003
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x248]
cmp dword [eax + 0x38], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x22c]
and eax, 0x200
cmp eax, 0x200
je case.0x4e02ce.0
cmp byte [ebx + 0x21c], 0
je 0x4e4030
mov byte [ebx + 0x21c], 0
mov eax, ebx
call fcn.004eed7c
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
je 0x4e4057
mov eax, dword [ebx + 0x50]
call fcn.004d15c4
mov edx, dword [ebx + 0x50]
mov byte [edx + 0x1c], al
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4e02ce.0
cmp byte [ebx + 0x78], 0
je 0x4e4120
cmp byte [0x521eb4], 0
je 0x4e407d
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4e4120
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e4099
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
cmp byte [ebx + 0x223], 0
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je case.0x4e02ce.0
test byte [ebx + 0x1c], 1
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x55], 2
jne case.0x4e02ce.0
cmp dword [ebx + 0x254], 0
je case.0x4e02ce.0
cmp dword [ebx + 0x228], 0
jne 0x4e40f0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
jne 0x4e410f
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
call fcn.004cea5c
mov edx, eax
mov eax, ebx
call fcn.004ee82c
mov eax, ebx
call fcn.004ed88c
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4e449d
cmp byte [ebx + 0xa6], 0
je 0x4e449d
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x54], 0x80
jne 0x4e43e4
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4e43e4
mov eax, dword [ebx + 0x50]
call fcn.004cf920
test al, al
je 0x4e41db
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4e4310
mov eax, dword [ebx + 0x24c]
call fcn.0045dc14
test eax, eax
je 0x4e4310
mov eax, dword [ebx + 0x24c]
call fcn.0045dc14
cmp byte [eax + 0x22b], 2
jne 0x4e4310
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e42d4
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4e42d4
cmp dword [0x525ffc], 0
je 0x4e42d4
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_GetClientRect
lea edx, [esp + 0x84]
mov eax, dword [ebx + 0x24c]
call fcn.00443648
lea edx, [esp + 0x84]
lea eax, [esp + 0x24]
call fcn.00406b90
test al, al
je 0x4e42d4
lea edx, [esp + 0x84]
mov eax, dword [ebx + 0x24c]
call fcn.00443648
lea edx, [esp + 0x8c]
lea eax, [esp + 0x24]
call fcn.00406b90
test al, al
je 0x4e42d4
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
mov cl, 1
mov edx, dword [ebx + 0x268]
call fcn.004db9cc
mov edi, eax
mov dl, 1
mov eax, ebx
call fcn.004dd530
add edi, eax
mov eax, ebx
call fcn.004eb68c
mov ebp, eax
mov eax, ebx
call fcn.004ebda8
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.00429d54
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.004ed68c
cmp byte [0x521f4c], 0
je 0x4e4491
mov byte [0x521f4c], 0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e4491
mov dword [0x521f50], ebx
jmp 0x4e4491
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4e4491
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4e43d4
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
jne 0x4e43d4
mov eax, dword [ebx + 0x24c]
call fcn.004436f0
push eax
lea eax, [esp + 0x88]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.004436ac
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406b6c
lea eax, [esp + 0x84]
push eax
mov eax, dword [esi + 4]
push eax
push 0
push 0
push 0
mov eax, ebx
call fcn.004eb598
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004436f0
add edi, eax
push edi
lea eax, [esp + 0xac]
push eax
mov eax, ebx
call fcn.004eb500
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004436ac
add edi, eax
push edi
mov eax, ebx
call fcn.004eb598
push eax
mov eax, ebx
call fcn.004eb500
pop edx
pop ecx
call fcn.00406b6c
lea ecx, [esp + 0xa8]
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x24c]
call fcn.004d2eb4
mov eax, dword [ebx + 0x24c]
call fcn.004b4884
jmp 0x4e4491
cmp dword [esi + 4], 0
je 0x4e4491
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
jne 0x4e4491
mov eax, dword [ebx + 0x50]
call fcn.004cf920
test al, al
je 0x4e4450
push 0xcc0020
mov eax, ebx
call fcn.004eb598
push eax
mov eax, ebx
call fcn.004eb500
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00427b88
call fcn.004236bc
push eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4e4491
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004d02d8
push eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x4c]
push eax
lea eax, [esp + 0x8c]
push eax
mov eax, dword [ebx + 0x24c]
mov ecx, dword [eax + 0x48]
xor edx, edx
xor eax, eax
call fcn.00406b6c
lea edx, [esp + 0x88]
mov eax, dword [esi + 4]
pop ecx
call fcn.004ba1b8
mov dword [esi + 0xc], 1
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
cmp byte [ebx + 0xa6], 0
je 0x4e4673
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x54], 0x80
jne case.0x4e02ce.0
cmp dword [ebx + 0x268], 0
je 0x4e4514
mov eax, ebx
call fcn.004dbd4c
test al, al
jne 0x4e4514
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4e4505
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4e4514
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.004f51a8
mov eax, dword [ebx + 0x50]
call fcn.004cf920
test al, al
je 0x4e45cc
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4e45bc
mov edx, esi
mov eax, ebx
call fcn.004ee024
cmp byte [0x521f4c], 0
je 0x4e4550
mov byte [0x521f4c], 0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4e45b5
cmp dword [esi + 4], 0
jne 0x4e4578
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_GetDC
mov ebp, eax
lea ecx, [esp + 0x74]
xor edx, edx
xor eax, eax
call fcn.00406b88
lea eax, [esp + 0x74]
push eax
push 0
push 1
mov cl, 1
mov edx, dword [ebx + 0x24c]
mov eax, ebp
call fcn.004b4aa0
cmp dword [esi + 4], 0
jne 0x4e45b5
push ebp
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_ReleaseDC
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4e4637
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp 0x4e4637
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4e4629
test byte [ebx + 0x1c], 8
jne 0x4e45f6
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_InvalidateRect
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_BeginPaint
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4e4637
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp byte [ebx + 0x78], 0
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x248], 0
je case.0x4e02ce.0
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [0x51eff8], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
call fcn.0044a7ac
test al, al
je case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
call fcn.004dd630
jmp case.0x4e02ce.0
test byte [ebx + 0x1c], 8
jne 0x4e4d13
cmp byte [ebx + 0x78], 0
je 0x4e4d13
mov eax, dword [ebx + 0x24c]
call fcn.0044a7ac
test al, al
je 0x4e4d13
cmp dword [ebx + 0x254], 0
jne 0x4e4700
mov eax, ebx
call fcn.004ece30
or dword [ebx + 0x22c], 0x8000
mov eax, dword [ebx + 0x22c]
and eax, 0x80
cmp eax, 0x80
je 0x4e4729
cmp dword [esi + 4], 1
sbb eax, eax
inc eax
mov byte [ebx + 0x244], al
cmp byte [ebx + 0x244], 0
jne 0x4e4747
cmp byte [ebx + 0x221], 3
jne 0x4e4747
mov byte [ebx + 0x221], 0
jmp 0x4e47f8
cmp byte [ebx + 0x221], 3
je 0x4e47e6
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x28], 0
jl 0x4e47d3
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x24], 0
jl 0x4e47ae
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xc8]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x24]
mov ecx, edx
shl edx, 3
sub edx, ecx
cmp word [eax + edx*8 + 0x1c], 1
jg 0x4e47a5
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xd0]
mov edx, dword [ebx + 0x50]
imul edx, dword [edx + 0x28], 0x43
cmp dword [eax + edx*4 + 8], 1
jle 0x4e47da
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
jmp 0x4e47da
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0xd0]
mov edx, dword [ebx + 0x50]
imul edx, dword [edx + 0x28], 0x43
cmp dword [eax + edx*4 + 8], 1
jle 0x4e47da
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
jmp 0x4e47da
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004d1b30
jmp 0x4e47f8
cmp dword [ebx + 0x268], 0
sete dl
mov eax, dword [ebx + 0x50]
call fcn.004d1b30
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4e4a83
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e4a83
cmp word [esi + 4], 0
setne al
cmp al, byte [ebx + 0x244]
je 0x4e483b
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
call fcn.004dbc04
test al, al
je 0x4e4945
cmp dword [ebx + 0x268], 0
jne 0x4e486d
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e499d
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4e499d
mov eax, ebx
call fcn.004eb68c
test eax, eax
jle 0x4e499d
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
jne 0x4e48a0
mov eax, dword [ebx + 0x268]
call fcn.004f6370
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.004f6208
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x2e0], 0
je 0x4e4900
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
mov edx, dword [ebx + 0x24c]
xor ecx, ecx
mov cl, byte [edx + 0x2e1]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x44]
call fcn.004da90c
jmp 0x4e4920
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x44]
mov ecx, 0xff
call fcn.004da90c
push 0x613
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4e499d
cmp byte [ebx + 0x223], 0
jne 0x4e4957
cmp byte [ebx + 0x21c], 0
je 0x4e4970
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e499d
cmp dword [ebx + 0x268], 0
je 0x4e4984
mov eax, ebx
call fcn.004db91c
test al, al
je 0x4e499d
mov eax, dword [ebx + 0x24c]
cmp word [eax + 0x2ba], 0
jne 0x4e499d
xor edx, edx
mov eax, ebx
call fcn.004dc0f4
cmp dword [ebx + 0x268], 0
je 0x4e49c1
cmp byte [ebx + 0x223], 0
jne 0x4e49c1
call fcn.004dbc04
test al, al
jne 0x4e49c1
xor edx, edx
mov eax, ebx
call fcn.004dc5d8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
call fcn.004dbc04
test al, al
je 0x4e4a18
cmp dword [ebx + 0x268], 0
jne 0x4e4a91
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
push 0x181
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4e4a91
cmp byte [ebx + 0x223], 0
jne 0x4e4a2a
cmp byte [ebx + 0x21c], 0
je 0x4e4a43
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e4a5e
cmp dword [ebx + 0x268], 0
je 0x4e4a57
mov eax, ebx
call fcn.004db91c
test al, al
je 0x4e4a5e
mov eax, ebx
call fcn.004dc3fc
cmp byte [ebx + 0x21c], 0
je 0x4e4a91
push 0x85
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4e4a91
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [ebx + 0x24c], 0
je 0x4e4b68
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x57], 0
je 0x4e4b68
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e4b68
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x2f4], 0x10
je 0x4e4b68
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x2f4], 4
je 0x4e4b68
cmp dword [0x525ffc], 0
je 0x4e4b68
mov eax, dword [0x525ffc]
cmp dword [eax + 0x240], 0
je 0x4e4b68
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x525ffc]
mov dword [eax + 0x250], 0xffffffff
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x240]
call fcn.00474288
push 0
push 0
push 0x85
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x85
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_SendMessageA
push 0xffffffffffffffec
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
jne 0x4e4ba0
cmp dword [ebx + 0x218], 0
jne 0x4e4ba0
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004eef7c
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x54], 0x40
jne case.0x4e02ce.0
mov eax, ebx
call fcn.004dca10
test al, al
je 0x4e4c56
mov eax, dword [ebx + 0x22c]
and eax, 0x80
cmp eax, 0x80
je 0x4e4c56
mov eax, ebx
call fcn.004ebd3c
test al, al
je 0x4e4c2e
cmp word [esi + 4], 0
jne 0x4e4bfb
mov eax, dword [ebx + 0x24c]
call fcn.0045dc14
cmp byte [eax + 0x22e], 0
je 0x4e4c56
cmp word [esi + 4], 0
jne 0x4e4c1a
mov eax, dword [ebx + 0x24c]
call fcn.0045dc14
cmp byte [eax + 0x22e], 0
jne 0x4e4c1a
xor eax, eax
jmp 0x4e4c1c
mov al, 1
mov byte [ebx + 0x244], al
mov dword [ebx + 0x250], 0xffffffff
jmp 0x4e4c56
cmp word [esi + 4], 0
setne al
cmp al, byte [ebx + 0x244]
je 0x4e4c56
cmp word [esi + 4], 0
setne al
mov byte [ebx + 0x244], al
mov dword [ebx + 0x250], 0xffffffff
and dword [ebx + 0x22c], 0xffff7fff
cmp dword [ebx + 0x218], 0
je 0x4e4c75
mov eax, dword [ebx + 0x218]
cmp byte [eax + 0x30], 0
jne 0x4e4ce1
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004eef7c
cmp dword [ebx + 0x268], 0
je 0x4e4ce1
mov eax, dword [ebx + 0x24c]
mov al, byte [eax + 0x22b]
sub al, 1
jb 0x4e4cd2
dec al
jne 0x4e4ce1
cmp byte [0x51f024], 0
je 0x4e4cc1
lea eax, [ebx + 0x268]
call fcn.0040e610
xor edx, edx
mov eax, ebx
call fcn.004dc5d8
jmp 0x4e4ce1
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.004f51a8
jmp 0x4e4ce1
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.004f51a8
mov eax, ebx
call fcn.004ecdb4
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004d1b34
test al, al
je case.0x4e02ce.0
cmp dword [ebx + 0x228], 0
jne case.0x4e02ce.0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [0x525c04], 0
je 0x4e4d52
mov eax, dword [0x525c04]
cmp byte [eax + 0x57], 0
je 0x4e4d52
mov eax, dword [0x525c04]
call fcn.00460538
cmp dword [esi + 4], 1
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x22c]
and eax, 0x100
cmp eax, 0x100
je case.0x4e02ce.0
cmp dword [ebx + 0x268], 0
je 0x4e4da7
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.004f51a8
jmp case.0x4e02ce.0
mov eax, dword [0x524414]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
jne case.0x4e02ce.0
cmp dword [esi + 4], 1
jne case.0x4e02ce.0
mov eax, dword [0x524414]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp byte [eax + 0x22b], 1
jne case.0x4e02ce.0
cmp dword [ebx + 0x218], 0
je 0x4e4dfa
mov eax, dword [ebx + 0x218]
cmp byte [eax + 0xec], 0
jne case.0x4e02ce.0
mov eax, dword [0x524414]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
xor edx, edx
call fcn.0045e2bc
push 0xffffffffffffffff
push 0
mov eax, dword [0x524414]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0044a4a8
push eax
call sub.user32.dll_InvalidateRect
push 0x585
push 0
push 0
mov eax, dword [0x524414]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e4f14
cmp dword [0x525ffc], 0
je 0x4e4f14
mov eax, dword [0x525ffc]
test byte [eax + 0x1c], 8
jne 0x4e4f14
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
je 0x4e4ee2
mov byte [ebx + 0xb9], 0
mov eax, dword [0x525ffc]
mov byte [eax + 0x232], 1
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x525ffc]
mov dword [eax + 0x250], 0xffffffff
push 0
push 0
push 0x85
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e4f14
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
push 0
push 0
push 0x85
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
mov al, 1
call fcn.004df730
mov dword [0x521f50], ebx
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4e4fdd
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [ebx + 0x224], 0
jne 0x4e4f5e
cmp byte [ebx + 0x78], 0
je 0x4e4f5e
lea edx, [ebx + 0x224]
xor ecx, ecx
mov eax, ebx
call fcn.004dc914
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x54], 0x40
jne case.0x4e02ce.0
mov dword [ebx + 0x250], 0xffffffff
cmp word [esi + 4], 1
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
test byte [eax + 0x1c], 0x10
jne 0x4e4fa4
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004d1b34
mov edx, eax
mov eax, ebx
call fcn.004ec1e4
cmp dword [ebx + 0x254], 0
je 0x4e4fba
xor edx, edx
mov eax, dword [ebx + 0x254]
call fcn.004f174c
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x229], 0
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
call fcn.004b4884
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
cmp byte [ebx + 0x21c], 0
je 0x4e5023
cmp dword [esi + 4], 1
jne 0x4e5023
mov byte [ebx + 0x21c], 0
mov eax, ebx
call fcn.004eed7c
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
call fcn.004cea5c
mov edx, eax
mov eax, ebx
call fcn.004ee82c
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [esi + 4], 0
jne 0x4e5078
cmp dword [ebx + 0x50], 0
je 0x4e506c
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4e506c
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4e506c
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.004eea54
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
call fcn.004b4884
jmp case.0x4e02ce.0
cmp byte [ebx + 0x54], 1
jne 0x4e50e6
cmp byte [0x521f30], 0
je 0x4e50e6
lea ecx, [esp + 0x74]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.00406b88
lea edx, [esp + 0x74]
lea ecx, [esp + 8]
mov eax, dword [ebx + 0x24c]
call fcn.004437c0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004ec360
call sub.user32.dll_ReleaseCapture
mov byte [0x521f30], 0
mov byte [0x521f34], 0
mov eax, dword [esi + 4]
sub eax, 2
je 0x4e5121
dec eax
jne 0x4e5226
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
cmp byte [eax + 0x58], 0
jne 0x4e5111
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 1
mov eax, dword [ebx + 0x24c]
call fcn.00460538
jmp case.0x4e02ce.0
mov eax, ebx
call fcn.004ebbd0
test al, al
je 0x4e514a
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4e516e
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
jne 0x4e516e
mov eax, ebx
call fcn.004dca10
test al, al
jne 0x4e51dd
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e51dd
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
je 0x4e5192
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e51b1
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e51ce
push 0
push 0xf030
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [ebx + 0x254]
call fcn.004f174c
jmp 0x4e521c
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e521c
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [ebx + 0x254]
call fcn.004f174c
xor eax, eax
mov dword [esi + 4], eax
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4e5256
cmp ebx, dword [0x525ffc]
jne 0x4e5256
mov dword [0x525ffc], ebx
mov eax, ebx
call fcn.004db91c
test al, al
je 0x4e52a8
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
test eax, eax
je 0x4e52a8
mov eax, dword [esi + 8]
cmp dword [eax], 1
jne 0x4e52a8
mov eax, dword [esi + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x248]
xor ecx, ecx
call fcn.004572dc
mov edi, eax
test edi, edi
je 0x4e52a8
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x44]
mov cl, 1
mov edx, edi
call fcn.004d7ccc
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4e54d6
mov ax, word [esi + 4]
sub ax, 0xf012
je 0x4e52f7
sub ax, 0xe
je 0x4e536d
sub ax, 0x10
je 0x4e530a
sub ax, 0xf0
je 0x4e53ce
jmp 0x4e54d6
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x80]
jmp 0x4e54d6
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4e54d6
cmp dword [ebx + 0x218], 0
je 0x4e54d6
mov eax, dword [ebx + 0x218]
cmp byte [eax + 0xec], 0
je 0x4e54d6
call fcn.004f8c30
mov byte [esp + 0x12], al
xor eax, eax
call fcn.004f8c60
mov eax, ebx
call fcn.004dae3c
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov al, byte [esp + 0x12]
call fcn.004f8c60
jmp case.0x4e02ce.0
mov eax, dword [0x524414]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
je 0x4e54d6
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4e54d6
call fcn.004f8c30
mov byte [esp + 0x12], al
xor eax, eax
call fcn.004f8c60
mov eax, ebx
call fcn.004dac2c
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov al, byte [esp + 0x12]
call fcn.004f8c60
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x22c]
and eax, 0x200
cmp eax, 0x200
jne 0x4e5429
and dword [ebx + 0x22c], 0xfffffdff
cmp dword [ebx + 0x268], 0
je 0x4e53fd
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 0
call fcn.004f8c30
mov byte [esp + 0x12], al
xor eax, eax
call fcn.004f8c60
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov al, byte [esp + 0x12]
call fcn.004f8c60
jmp case.0x4e02ce.0
mov eax, dword [0x524414]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
je 0x4e54d6
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e5487
call fcn.004f8c30
mov byte [esp + 0x12], al
xor eax, eax
call fcn.004f8c60
mov eax, ebx
call fcn.004dae3c
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov al, byte [esp + 0x12]
call fcn.004f8c60
jmp case.0x4e02ce.0
cmp dword [ebx + 0x268], 0
je 0x4e549c
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4e54b0
cmp dword [ebx + 0x268], 0
jne 0x4e54d6
mov eax, ebx
call fcn.004df96c
test al, al
je 0x4e54d6
cmp dword [ebx + 0x268], 0
je 0x4e54c4
lea eax, [ebx + 0x268]
call fcn.0040e610
mov dl, 1
mov eax, ebx
call fcn.004ee82c
xor edx, edx
mov eax, ebx
call fcn.004dc5d8
cmp byte [ebx + 0x54], 1
jne 0x4e5559
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4e5559
cmp byte [0x521f30], 0
jne 0x4e5559
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf010
jne 0x4e5524
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetCapture
mov byte [0x521f38], 1
mov byte [0x52602c], 1
jmp 0x4e5559
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf000
jne 0x4e5559
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetCapture
xor eax, eax
mov dword [0x526050], eax
mov byte [0x521f38], 1
mov byte [0x52602c], 0
mov eax, dword [ebx + 0x24c]
mov al, byte [eax + 0x22f]
dec al
je 0x4e5576
dec al
je 0x4e5914
jmp 0x4e599f
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne 0x4e559d
cmp dword [esi + 4], 0xf030
je 0x4e559d
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 0
jne 0x4e55a1
xor eax, eax
jmp 0x4e55a3
mov al, 1
mov byte [esp + 0x10], al
cmp byte [esp + 0x10], 0
je 0x4e55c4
cmp dword [0x525ffc], 0
je 0x4e55c4
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x50]
call fcn.004d135c
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf060
jg 0x4e55ee
je 0x4e5607
sub eax, 0xf020
je 0x4e57f3
sub eax, 0x10
je 0x4e582f
jmp 0x4e58e5
sub eax, 0xf100
je 0x4e58f3
sub eax, 0x20
je 0x4e56b2
jmp 0x4e58e5
cmp dword [0x525ffc], 0
je 0x4e58f3
cmp dword [0x525ffc], 0
je 0x4e5639
mov eax, dword [0x525ffc]
cmp dword [eax + 0x240], 0
je 0x4e5639
cmp byte [esp + 0x10], 0
je 0x4e5639
mov al, 1
call fcn.004df730
mov eax, dword [0x525ffc]
mov byte [eax + 0x21f], 1
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4e5670
test byte [ebx + 0x1c], 8
jne 0x4e5670
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004e7c84
mov eax, dword [0x525ffc]
mov byte [eax + 0x21f], 0
cmp dword [0x525ffc], 0
je case.0x4e02ce.0
mov eax, dword [0x525ffc]
cmp dword [eax + 0x240], 0
je case.0x4e02ce.0
cmp byte [esp + 0x10], 0
je case.0x4e02ce.0
mov al, 1
call fcn.004df730
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 1
jne 0x4e56c6
mov byte [esp + 0x10], 1
cmp byte [0x521f4c], 0
jne case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
cmp byte [ebx + 0x78], 0
je 0x4e571a
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowLongA
push 0x505
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
cmp dword [0x525ffc], 0
je 0x4e57d3
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
call fcn.0045dc48
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e57d3
inc ebp
xor edi, edi
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
mov edx, edi
call fcn.0045dc94
cmp eax, dword [ebx + 0x24c]
je 0x4e57cf
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
mov edx, edi
call fcn.0045dc94
cmp byte [eax + 0x22b], 2
jne 0x4e57a9
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
mov edx, edi
call fcn.0045dc94
xor edx, edx
call fcn.0045e2bc
push 0x506
push 0
push 0
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
mov edx, edi
call fcn.0045dc94
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
inc edi
dec ebp
jne 0x4e575b
cmp byte [esp + 0x10], 0
je 0x4e57e1
mov al, 1
call fcn.004df730
mov dl, 1
mov eax, dword [ebx + 0x254]
call fcn.004f174c
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp byte [esp + 0x10], 0
je 0x4e580f
mov al, 1
call fcn.004df730
mov dl, 1
mov eax, dword [ebx + 0x254]
call fcn.004f174c
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov al, 1
call fcn.004df730
jmp case.0x4e02ce.0
mov dword [0x521f50], ebx
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xefffffff
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowLongA
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowLongA
push 0x506
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
cmp dword [0x525ffc], 0
je 0x4e58d3
mov eax, dword [0x525ffc]
cmp dword [eax + 0x240], 0
je 0x4e58d3
mov al, 1
call fcn.004df730
mov dl, 1
mov eax, dword [ebx + 0x254]
call fcn.004f174c
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [0x525ffc], 0
je 0x4e5bf5
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x50]
xor edx, edx
call fcn.004d1524
jmp 0x4e5bf5
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [esi + 4]
sub eax, 0xf020
je 0x4e593c
sub eax, 0x10
je 0x4e593c
sub eax, 0xf0
jne 0x4e5bf5
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x525ffc]
mov dword [eax + 0x250], 0xffffffff
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SendMessageA
cmp dword [esi + 4], 0xf030
jne 0x4e5bf5
cmp dword [ebx + 0x268], 0
je 0x4e5bf5
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.004f51a8
jmp 0x4e5bf5
mov eax, dword [esi + 4]
sub eax, 0xf030
je 0x4e59b0
sub eax, 0xf0
jne 0x4e59d6
cmp dword [ebx + 0x268], 0
je 0x4e59d6
cmp byte [0x51f024], 0
jne 0x4e59cb
cmp dword [esi + 4], 0xf120
jne 0x4e59d6
lea eax, [ebx + 0x268]
call fcn.0040e610
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [esi + 4]
sub eax, 0xf030
je 0x4e5b18
sub eax, 0xd0
je 0x4e5a07
sub eax, 0x20
je 0x4e5b18
jmp 0x4e5bf5
cmp word [esi + 8], 0x20
jne 0x4e5bf5
mov eax, ebx
call fcn.004ebbd0
test al, al
je 0x4e5bf5
mov eax, ebx
call fcn.004dca10
test al, al
je 0x4e5bf5
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e5ab0
lea edx, [esp + 0x74]
mov eax, ebx
call fcn.004eaf88
mov edi, dword [esp + 0x78]
mov dl, 1
mov eax, ebx
call fcn.004dd374
add edi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.004f8cd4
add edi, eax
sub edi, 0x10
push edi
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
mov cl, 1
mov edx, dword [ebx + 0x268]
call fcn.004db978
mov edi, eax
lea edx, [esp + 0x80]
mov eax, ebx
call fcn.004eaf88
add edi, dword [esp + 0x80]
mov edx, edi
mov eax, ebx
pop ecx
mov edi, dword [eax]
call dword [edi + 0x34]
jmp 0x4e5bf5
lea edx, [esp + 0x74]
mov eax, ebx
call fcn.004eaf88
mov edi, dword [esp + 0x78]
mov dl, 1
mov eax, ebx
call fcn.004dd374
add edi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.004f8cd4
add edi, eax
push edi
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
mov cl, 1
mov edx, dword [ebx + 0x268]
call fcn.004db978
mov edi, eax
lea edx, [esp + 0x80]
mov eax, ebx
call fcn.004eaf88
add edi, dword [esp + 0x80]
mov edx, edi
mov eax, ebx
pop ecx
mov edi, dword [eax]
call dword [edi + 0x34]
jmp 0x4e5bf5
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x48]
test al, al
je 0x4e5b2e
mov dword [ebx + 0x38], 9
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7c84
cmp dword [esi + 4], 0xf120
jne 0x4e5bf5
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov byte [ebx + 0xba], 1
mov eax, ebx
call fcn.004dca10
test al, al
jne 0x4e5b76
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowRgn
jmp 0x4e5bf5
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
test eax, eax
je 0x4e5bdb
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
call fcn.004cea5c
test al, al
je 0x4e5bdb
cmp byte [ebx + 0x79], 0
je 0x4e5bdb
cmp byte [ebx + 0x78], 0
je 0x4e5bdb
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4e5bdb
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4e5bdb
mov dl, 1
mov eax, ebx
call fcn.004ee82c
cmp dword [ebx + 0x268], 0
je 0x4e5bdb
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.004f51a8
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_RedrawWindow
mov ax, word [esi + 4]
sub ax, 0xf020
jne case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4e5c1e
mov byte [ebx + 0x223], 0
cmp dword [ebx + 0x268], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x22c]
and eax, 0x100
cmp eax, 0x100
je case.0x4e02ce.0
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 1
mov eax, dword [ebx + 0x268]
add eax, 0x18
call fcn.0040e610
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 0
jmp case.0x4e02ce.0
cmp byte [ebx + 0x230], 0
jne 0x4e6226
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 1
jne 0x4e6226
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsZoomed
test eax, eax
jne 0x4e5ec5
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x4e5ec5
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0
jne 0x4e5cd6
mov eax, dword [esi + 8]
cmp dword [eax + 0xc], 0
je 0x4e5ec5
mov ebp, dword [esi + 8]
cmp byte [0x51f024], 0
je 0x4e5d23
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 0
jne 0x4e5d23
cmp dword [ebx + 0x268], 0
jne 0x4e5d23
mov eax, ebx
call fcn.004df96c
test al, al
je 0x4e5d23
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e5d23
mov dl, 1
mov eax, ebx
call fcn.004ee82c
cmp byte [ebx + 0x56], 0
je 0x4e5e20
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4e5e20
lea edx, [esp + 0x24]
mov eax, dword [ebx + 0x24c]
call fcn.004df90c
cmp dword [ebx + 0x268], 0
je 0x4e5d81
mov eax, dword [ebx + 0x268]
call fcn.004dbae0
mov edi, eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x34]
call fcn.004d15b4
mov eax, dword [eax + 0xc4]
movsx eax, word [eax + 0x32]
add edi, eax
jmp 0x4e5d83
xor edi, edi
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x48]
add eax, edi
push eax
lea eax, [ebp + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x30]
call fcn.004df854
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x4c]
add eax, edi
push eax
lea eax, [ebp + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x34]
call fcn.004df854
neg edi
push edi
lea eax, [ebp + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x28]
call fcn.004df854
cmp dword [ebx + 0x268], 0
je 0x4e5e0f
mov eax, dword [ebx + 0x268]
call fcn.004dbaa4
mov edi, eax
neg edi
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x34]
call fcn.004d15b4
mov eax, dword [eax + 0xc4]
movsx eax, word [eax + 0x32]
sub edi, eax
push edi
lea eax, [ebp + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x2c]
call fcn.004df854
jmp 0x4e5e20
push 0
lea eax, [ebp + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x2c]
call fcn.004df854
test byte [ebx + 0x22d], 0x60
je 0x4e5ec5
push esi
lea esi, [ebx + 0xd0]
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebx + 0x22c]
and eax, 0x2000
cmp eax, 0x2000
jne 0x4e5e9f
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x44]
mov edx, dword [esi + 8]
cmp eax, dword [edx + 0xc]
jne 0x4e5e83
mov eax, dword [esi + 8]
mov edx, dword [ebx + 0xd4]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x24c]
mov edx, dword [ebx + 0xd4]
sub edx, dword [eax + 0x44]
mov eax, dword [esi + 8]
sub dword [eax + 0x14], edx
jmp 0x4e5e95
mov eax, dword [ebx + 0xd4]
add eax, dword [ebx + 0xdc]
mov edx, dword [esi + 8]
mov dword [edx + 0x14], eax
and dword [ebx + 0x22c], 0xffffdfff
mov eax, dword [ebx + 0x22c]
and eax, 0x4000
cmp eax, 0x4000
jne 0x4e5ebb
and dword [ebx + 0x22c], 0xffffbfff
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
test eax, eax
je 0x4e6226
call fcn.004b6288
test al, al
je 0x4e6226
cmp byte [ebx + 0x78], 0
je 0x4e6226
cmp byte [ebx + 0x222], 0
jne 0x4e6226
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
je 0x4e5f1b
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0xffff8300
jne 0x4e60da
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4e60da
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4e6090
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
cmp byte [eax + 0xc0], 2
je 0x4e6226
cmp byte [ebx + 0x95], 0
je 0x4e6226
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4e6226
mov eax, dword [ebx + 0x22c]
and eax, 0x200
cmp eax, 0x200
je 0x4e6226
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4e6226
or dword [ebx + 0x22c], 0x200
mov dl, 1
mov eax, ebx
call fcn.004db708
mov edx, dword [ebx + 0x50]
mov dword [edx + 0x44], eax
cmp dword [ebx + 0x268], 0
je 0x4e6075
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 1
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x2e0], 0
je 0x4e5fef
mov eax, dword [ebx + 0x24c]
movzx edi, byte [eax + 0x2e1]
jmp 0x4e5ff4
mov edi, 0xff
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.004f6208
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowRgn
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x44]
mov ecx, edi
call fcn.004da90c
push 0x65b
push 0
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x40]
push eax
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4e6226
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
call fcn.004daa2c
mov dword [ebx + 0xc8], eax
jmp 0x4e6226
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 1
je 0x4e6226
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0xffff8300
jne 0x4e6226
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov dl, 1
mov eax, dword [ebx + 0x24c]
call fcn.0045e2bc
mov eax, ebx
call fcn.004dac2c
jmp case.0x4e02ce.0
cmp dword [ebx + 0x268], 0
je 0x4e6226
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4e6226
mov eax, dword [esi + 8]
cmp dword [eax + 0x10], 0
je 0x4e6226
mov eax, dword [esi + 8]
cmp dword [eax + 0x14], 0
je 0x4e6226
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x10
cmp eax, 0x10
jne 0x4e6226
mov eax, dword [ebx + 0x22c]
and eax, 0x100
cmp eax, 0x100
je 0x4e6226
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x4e6226
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 1
cmp eax, 1
je 0x4e6226
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebx + 0x200]
jl 0x4e617d
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x14]
cmp eax, dword [ebx + 0x204]
jge 0x4e6226
cmp dword [ebx + 0x224], 0
je 0x4e61ab
mov eax, dword [ebx + 0x224]
mov eax, dword [eax + 0x80]
cmp byte [eax + 6], 0
jne 0x4e6226
mov eax, dword [ebx + 0x224]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 6], 0
jne 0x4e6226
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a7ac
test al, al
je 0x4e6226
or dword [ebx + 0x22c], 1
push 0
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x268]
call fcn.004f6208
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowRgn
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
push eax
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowPos
and dword [ebx + 0x22c], 0xfffffffe
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov byte [0x51f00c], 1
mov eax, dword [0x524414]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4e6267
jmp 0x4e625e
mov eax, dword [0x524414]
mov eax, dword [eax]
call fcn.00463a78
cmp dword [0x51f010], 0
jg 0x4e6252
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
test eax, eax
je 0x4e65eb
call fcn.004b6288
test al, al
je 0x4e65eb
cmp byte [ebx + 0x78], 0
je 0x4e65eb
cmp dword [ebx + 0x268], 0
je 0x4e62e3
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4e62e3
mov eax, ebx
call fcn.004f0958
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004db9e0
add eax, 4
cmp edi, eax
setg al
mov byte [ebx + 0x208], al
jmp 0x4e62ea
mov byte [ebx + 0x208], 0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
jne 0x4e649f
cmp byte [ebx + 0x222], 0
jne 0x4e649f
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4e649f
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4e649f
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
cmp byte [eax + 0xc0], 2
jne 0x4e6388
mov eax, dword [0x524414]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
jne 0x4e6388
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4e649f
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov byte [ebx + 0x223], 0
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
cmp byte [eax + 0xc0], 2
je 0x4e647c
cmp byte [ebx + 0x95], 0
je 0x4e6457
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4e6457
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4e6457
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4e6457
call fcn.004dbc04
test al, al
je 0x4e63fe
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
mov cl, 1
mov dl, 1
call fcn.004df87c
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov byte [ebx + 0x222], 1
mov eax, ebx
call fcn.004b271c
mov eax, dword [0x524414]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne case.0x4e02ce.0
call fcn.004dbc04
test al, al
je 0x4e644b
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
mov cl, 1
xor edx, edx
call fcn.004df87c
mov byte [ebx + 0x222], 0
jmp case.0x4e02ce.0
cmp dword [ebx + 0x268], 0
je 0x4e649f
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4e649f
mov eax, dword [ebx + 0x268]
add eax, 0x18
call fcn.0040e610
jmp 0x4e649f
cmp dword [ebx + 0x268], 0
je 0x4e649f
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4e649f
mov eax, dword [ebx + 0x268]
add eax, 0x18
call fcn.0040e610
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp byte [ebx + 0x220], 0
jne case.0x4e02ce.0
cmp dword [ebx + 0x268], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x57], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne case.0x4e02ce.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 8
cmp eax, 8
je case.0x4e02ce.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x20
cmp eax, 0x20
je case.0x4e02ce.0
mov eax, dword [ebx + 0x22c]
and eax, 0x80
cmp eax, 0x80
je case.0x4e02ce.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 3
cmp eax, 3
jne 0x4e65d7
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4e65d7
call fcn.004dbc04
test al, al
je 0x4e65a5
mov eax, dword [0x524414]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
jne 0x4e65a5
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x4e65a5
push 0x65b
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4e02ce.0
push 0x65b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0044a4a8
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4e02ce.0
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.004f51a8
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
cmp byte [ebx + 0x95], 0
je 0x4e6772
mov eax, dword [ebx + 0x50]
call fcn.004d15b4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4e6772
cmp byte [ebx + 0x78], 0
je 0x4e6772
mov eax, dword [ebx + 0x22c]
and eax, 0x200
cmp eax, 0x200
je 0x4e6772
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4e6772
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne case.0x4e02ce.0
or dword [ebx + 0x22c], 0x200
mov dl, 1
mov eax, ebx
call fcn.004db708
mov edx, dword [ebx + 0x50]
mov dword [edx + 0x44], eax
and dword [ebx + 0x22c], 0xfffffdff
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 0
cmp dword [ebx + 0x268], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je case.0x4e02ce.0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a7ac
test al, al
je case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x2e0], 0
je 0x4e66ec
mov eax, dword [ebx + 0x24c]
movzx edi, byte [eax + 0x2e1]
jmp 0x4e66f1
mov edi, 0xff
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.004f6208
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowRgn
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x44]
mov ecx, edi
call fcn.004da90c
push 0x65b
push 0
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x40]
push eax
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.0044a4a8
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4e67f0
cmp dword [0x525ffc], 0
jne 0x4e67b3
mov eax, dword [0x524414]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0044a4a8
xor edx, edx
call fcn.00499264
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
call fcn.0045dc14
test eax, eax
je 0x4e67e9
mov eax, dword [0x525ffc]
mov eax, dword [eax + 0x24c]
call fcn.0045dc14
cmp byte [eax + 0x22b], 2
jne 0x4e67e9
mov byte [0x521f4c], 1
jmp 0x4e67f0
mov byte [0x521f4c], 0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je case.0x4e02ce.0
mov eax, ebx
call fcn.004ece30
jmp case.0x4e02ce.0
test byte [ebx + 0x1c], 1
jne 0x4e68c8
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 1
jne 0x4e68c8
mov eax, dword [esi + 4]
and eax, 0xffff
dec eax
je 0x4e684f
mov eax, dword [esi + 4]
and eax, 0xffff
cmp eax, 2
jne 0x4e68c8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [ebx + 0x228], 0
je 0x4e687a
cmp word [esi + 4], 1
jne 0x4e687a
xor edx, edx
mov eax, dword [ebx + 0x228]
call fcn.004f22e8
push 0
lea eax, [esp + 0x18]
push eax
mov dx, 0x24
xor eax, eax
call fcn.00407888
mov edx, eax
mov ecx, 1
mov eax, dword [0x526090]
call fcn.004f8b9c
lea edx, [esp + 0x14]
mov eax, dword [ebx + 0x24c]
call fcn.004b53a4
cmp byte [ebx + 0x78], 0
je case.0x4e02ce.0
mov dl, 1
mov eax, dword [ebx + 0x224]
call fcn.0047a4d4
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
sub eax, 0xfffffdd9
jne case.0x4e02ce.0
cmp dword [ebx + 0x228], 0
je case.0x4e02ce.0
xor edx, edx
mov eax, dword [ebx + 0x228]
call fcn.004f22e8
jmp case.0x4e02ce.0
cmp dword [esi + 4], 0
je 0x4e69a8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [esi + 4]
mov edx, dword [0x43fc24]
call fcn.00403b38
test al, al
je 0x4e6989
cmp dword [ebx + 0x228], 0
je 0x4e695a
mov edx, dword [esi + 4]
mov eax, dword [ebx + 0x228]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
lea eax, [esp + 0x18]
push eax
mov dx, 0x24
xor eax, eax
call fcn.00407888
mov edx, eax
mov ecx, 1
mov eax, dword [0x526090]
call fcn.004f8b9c
lea edx, [esp + 0x14]
mov eax, dword [esi + 4]
call fcn.004b53a4
push 1
mov dx, 0x24
xor eax, eax
call fcn.00407888
mov ecx, eax
mov eax, dword [esi + 4]
mov edx, dword [0x526090]
call fcn.00444e74
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4e02ce.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
add esp, 0xac
pop ebp
pop edi
pop esi
pop ebx
ret