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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff58
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [0x5129d0]
cmp eax, dword [edx]
jne 0x4df49c
movzx eax, word [esi + 6]
cmp eax, 0x22
jg 0x4df08a
je 0x4df36d
dec eax
je 0x4df2b5
dec eax
je 0x4df0a8
sub eax, 5
je 0x4df325
sub eax, 0x19
je 0x4df331
jmp 0x4df49c
sub eax, 0x24
je 0x4df48d
sub eax, 0x18
je 0x4df2f9
dec eax
je 0x4df308
jmp 0x4df49c
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
cmp eax, dword [esi + 8]
jne 0x4df2a3
cmp dword [ebx + 0x204], 0
je 0x4df0cd
lea eax, [ebx + 0x204]
call fcn.0040dc78
mov eax, dword [ebx + 0x22c]
call fcn.00454930
xor ecx, ecx
xor edx, edx
call fcn.004db5f4
mov eax, esi
mov edx, dword [ebx + 0x54]
call fcn.004d1ad0
mov dword [ebx + 0x230], 0xffffffff
mov dword [ebx + 0x1f0], 0xffffffff
mov dword [ebx + 0x1f4], 0xffffffff
mov edx, esi
mov eax, dword [ebx + 0x22c]
call fcn.004c24c0
mov eax, ebx
call fcn.004ec594
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
test eax, eax
je 0x4df130
mov al, 1
call fcn.004d47bc
mov eax, dword [ebx + 0x22c]
test eax, eax
je case.0x4df8ea.0
test byte [eax + 0x1c], 8
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
test eax, eax
je 0x4df1df
xor edx, edx
mov eax, ebx
call fcn.004eb454
xor edx, edx
mov eax, ebx
call fcn.004ed494
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
jne 0x4df18b
cmp dword [ebx + 0x220], 0
je 0x4df18b
xor edx, edx
mov eax, ebx
call fcn.004ec2c4
mov eax, ebx
call fcn.004dc374
test al, al
je 0x4df1b4
cmp byte [ebx + 0x1ff], 0
jne 0x4df1b4
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowRgn
mov eax, ebx
call fcn.004eb050
push 0x485
push 0
push 0
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
xor edx, edx
mov eax, ebx
call fcn.004edab8
mov eax, dword [ebx + 0x22c]
call fcn.00451660
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4df26a
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x22c]
call fcn.00451624
mov edx, dword [0x442cf0]
call fcn.0040363c
test al, al
je 0x4df266
mov edx, edi
mov eax, dword [ebx + 0x22c]
call fcn.00451624
mov eax, dword [eax + 0x68]
mov edx, 0xff000008
call fcn.00424f00
mov edx, edi
mov eax, dword [ebx + 0x22c]
call fcn.00451624
call fcn.00445230
test al, al
jne 0x4df266
mov edx, edi
mov eax, dword [ebx + 0x22c]
call fcn.00451624
mov esi, dword [eax + 0x50]
or esi, dword [0x4e5b4c]
mov edx, edi
mov eax, dword [ebx + 0x22c]
call fcn.00451624
mov dword [eax + 0x50], esi
inc edi
dec ebp
jne 0x4df1f4
cmp byte [ebx + 0x60], 0
je 0x4df289
mov eax, dword [ebx + 0x54]
cmp byte [eax + 9], 0
jne 0x4df289
mov edx, 0xff00000f
mov eax, dword [ebx + 0x22c]
call fcn.0044e2e8
mov eax, dword [ebx + 0x54]
cmp dword [eax + 0x44], 0
je case.0x4df8ea.0
add eax, 0x44
call fcn.0040dc78
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x22c]
call fcn.004c24c0
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x1c], 8
jne 0x4df49c
cmp dword [ebx + 0x54], 0
je 0x4df49c
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
cmp eax, dword [esi + 8]
jne 0x4df49c
cmp dword [ebx + 0x234], 0
jne 0x4df49c
mov eax, ebx
call fcn.004ec058
jmp 0x4df49c
mov eax, dword [0x512ca4]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
jmp case.0x4df8ea.0
mov eax, ebx
call fcn.004ea878
push eax
mov eax, ebx
call fcn.004ea7e0
pop edx
call fcn.004071e4
mov dword [esi + 0xc], eax
jmp case.0x4df8ea.0
mov dword [esi + 0xc], 1
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
mov dx, word [eax + 0x52]
and dx, 0x400
cmp dx, 0x400
jne 0x4df49c
and word [eax + 0x52], 0xfbff
push 0
push 0
push 0xb015
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
jmp 0x4df49c
cmp dword [ebx + 0x54], 0
je 0x4df49c
lea ecx, [esp + 0x70]
xor edx, edx
xor eax, eax
call fcn.0040659c
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x70]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x39], 0
je 0x4df3c3
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x1c], 0
je 0x4df3b0
cmp byte [ebx + 0x200], 0
je 0x4df3c3
mov eax, dword [ebx + 0x54]
call fcn.004cf9c8
test al, al
je 0x4df3c3
mov eax, ebx
call fcn.004e8698
mov eax, dword [esi + 8]
cmp byte [eax + 0x21], 0
je 0x4df3e6
mov eax, ebx
call fcn.004ea7e0
mov edx, dword [esi + 8]
add dword [edx + 8], eax
mov eax, ebx
call fcn.004ea878
mov edx, dword [esi + 8]
add dword [edx + 0xc], eax
mov edi, dword [ebx + 0x54]
cmp dword [edi + 0x28], 0xffffffff
jle 0x4df42b
push 0
mov eax, edi
call fcn.004d14c4
mov eax, dword [eax + 0xa8]
mov edx, dword [ebx + 0x54]
mov edx, dword [edx + 0x28]
mov ecx, edx
shl edx, 6
add edx, ecx
mov edx, dword [eax + edx*4 + 8]
dec edx
xor eax, eax
mov al, byte [ebx + 0x224]
call fcn.0042c62c
mov ecx, eax
mov edx, dword [esi + 8]
mov eax, edi
call fcn.004cfd98
jmp 0x4df448
push 0
xor eax, eax
mov al, byte [ebx + 0x224]
xor edx, edx
call fcn.0042c62c
mov ecx, eax
mov edx, dword [esi + 8]
mov eax, edi
call fcn.004cfd98
mov eax, dword [esi + 8]
cmp byte [eax + 0x20], 2
jne 0x4df46e
cmp byte [eax + 0x21], 0
jne 0x4df46e
cmp dword [eax], 0
jne 0x4df46e
mov eax, ebx
call fcn.004e8698
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
mov edx, dword [esi + 8]
mov dword [edx], eax
mov eax, ebx
call fcn.004ea7e0
mov edx, dword [esi + 8]
add dword [edx + 8], eax
mov eax, ebx
call fcn.004ea878
mov edx, dword [esi + 8]
add dword [edx + 0xc], eax
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
movzx eax, word [eax + 0x52]
mov dword [esi + 0xc], eax
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x1c], 8
jne 0x4df4ba
mov dl, 1
mov eax, dword [ebx + 0x54]
call fcn.004d1a70
test al, al
jne 0x4df8c7
mov eax, dword [esi]
mov edx, dword [0x5129d0]
cmp eax, dword [edx]
jne 0x4df6ef
mov ax, word [esi + 6]
dec ax
je 0x4df4e5
sub ax, 3
jne 0x4df6ef
mov dword [esi + 0xc], ebx
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x1c], 8
jne 0x4df6ef
cmp dword [ebx + 0x54], 0
je 0x4df6ef
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
cmp eax, dword [esi + 8]
jne case.0x4df8ea.0
mov eax, ebx
call fcn.004edd28
mov al, 1
call fcn.004d47bc
mov eax, dword [ebx + 0x54]
call fcn.004d22e8
mov dword [ebx + 0x1f0], 0xffffffff
mov eax, ebx
call fcn.004ede04
mov dword [ebx + 0x1f0], eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov edx, 0x4e5b58
call fcn.0050179c
mov dword [ebx + 0x1f4], eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
test eax, eax
je 0x4df6cd
cmp dword [ebx + 0x248], 0
je 0x4df5d9
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4df5d9
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x9c]
cmp word [eax + 0x2e], 0
je 0x4df5ac
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x9c]
movsx edi, word [eax + 0x2e]
jmp 0x4df5be
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x9c]
movsx edi, word [eax + 0x2c]
mov eax, dword [ebx + 0x22c]
call fcn.004db33c
add eax, 4
cmp edi, eax
setl al
mov byte [ebx + 0x1ec], al
jmp 0x4df5e0
mov byte [ebx + 0x1ec], 0
mov dl, 1
mov eax, ebx
call fcn.004ed494
mov eax, ebx
call fcn.004eba48
mov esi, dword [ebx + 0x22c]
cmp byte [esi + 0x22f], 2
jne 0x4df61a
mov eax, esi
call fcn.0046800c
mov edx, dword [0x512e4c]
mov edx, dword [edx]
cmp eax, dword [edx + 0x6c]
jne 0x4df61a
mov byte [ebx + 0x224], 1
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
test byte [eax + 0x1c], 1
jne 0x4df666
mov eax, dword [ebx + 0x22c]
cmp dword [eax + 0x248], 0
je 0x4df647
cmp byte [ebx + 0xa1], 0
je 0x4df647
mov byte [ebx + 0x9d], 1
mov dl, 1
mov eax, ebx
call fcn.004eb454
cmp byte [ebx + 0x9d], 0
jne 0x4df666
mov eax, ebx
call fcn.004eb050
mov byte [ebx + 0x9d], al
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
mov dword [ebx + 0x230], 0xffffffff
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
jne 0x4df68f
mov dl, 1
mov eax, ebx
call fcn.004ec2c4
cmp byte [ebx + 0x60], 0
je 0x4df6b8
mov eax, dword [ebx + 0x54]
cmp byte [eax + 9], 0
jne 0x4df6b8
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
call fcn.004f9d9c
mov edx, eax
mov eax, dword [ebx + 0x22c]
call fcn.0044e2e8
mov eax, dword [ebx + 0x22c]
call fcn.00454930
xor ecx, ecx
mov dl, byte [ebx + 0x78]
call fcn.004db5f4
mov eax, dword [ebx + 0x208]
test eax, eax
jne 0x4df6e3
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
jmp case.0x4df8ea.0
xor edx, edx
call fcn.004ef7c4
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [esi]
sub eax, 0x47
je 0x4df71d
sub eax, 0x3b
je 0x4df7f6
sub eax, 0xafc1
je 0x4df8b9
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
test eax, eax
je case.0x4df8ea.0
call fcn.004c3670
test al, al
je case.0x4df8ea.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
jne case.0x4df8ea.0
cmp byte [ebx + 0x95], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne case.0x4df8ea.0
cmp byte [ebx + 0x202], 0
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
cmp byte [eax + 0x3c], 0
je case.0x4df8ea.0
cmp byte [ebx + 0x78], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je case.0x4df8ea.0
mov eax, dword [0x5128fc]
xor edx, edx
mov dword [eax], edx
mov byte [ebx + 0x202], 1
mov eax, ebx
call fcn.004bfa9c
mov eax, dword [0x5129d4]
cmp byte [eax], 0
jne 0x4df7ce
mov eax, dword [ebx + 0x22c]
call fcn.00454930
xor edx, edx
call fcn.004def48
mov byte [ebx + 0x202], 0
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne case.0x4df8ea.0
mov eax, dword [0x512d34]
cmp dword [eax], 0
je case.0x4df8ea.0
mov eax, dword [0x512d34]
mov eax, dword [eax]
cmp dword [eax + 0x220], 0
je case.0x4df8ea.0
mov eax, dword [0x512d34]
mov eax, dword [eax]
test byte [eax + 0x1c], 8
jne case.0x4df8ea.0
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
test byte [eax + 0x1c], 8
jne case.0x4df8ea.0
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
mov dl, 1
call fcn.004d1a70
test al, al
je case.0x4df8ea.0
mov eax, dword [0x512d34]
mov eax, dword [eax]
call fcn.004eb974
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
call fcn.0046800c
test eax, eax
jne case.0x4df8ea.0
push 0x507
push 0
push 0
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4df8ea.0
mov edx, esi
mov eax, ebx
call fcn.004edee0
jmp case.0x4df8ea.0
mov eax, dword [esi]
mov edx, dword [0x5129d0]
cmp eax, dword [edx]
jne 0x4dfe4d
movzx eax, word [esi + 6]
cmp eax, 0x34
ja case.0x4df8ea.0
mov al, byte [eax + 0x4df8f1]
jmp dword [eax*4 + 0x4df926]
mov eax, dword [ebx + 0x22c]
test eax, eax
je case.0x4df8ea.0
test byte [eax + 0x1c], 1
jne case.0x4df8ea.0
mov edx, dword [ebx + 0x208]
test edx, edx
je case.0x4df8ea.0
cmp dword [esi + 8], 0
je 0x4df99c
mov eax, dword [esi + 8]
xchg edx, eax
call fcn.004ef7c4
jmp case.0x4df8ea.0
xchg edx, eax
call fcn.004ef7c4
jmp case.0x4df8ea.0
cmp dword [ebx + 0x54], 0
je case.0x4df8ea.0
mov eax, dword [0x5129d4]
cmp byte [eax], 0
jne 0x4df9d0
mov eax, dword [ebx + 0x54]
call fcn.004cf9c8
test al, al
je 0x4df9d0
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x1c], 0
jne 0x4df9d4
xor eax, eax
jmp 0x4df9d6
mov al, 1
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x1c], 0
je case.0x4df8ea.0
mov byte [eax + 0x1c], 0
push 0x401
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
jmp case.0x4df8ea.0
cmp word [esi + 4], 1
sete dl
mov eax, dword [ebx + 0x54]
call fcn.004d1a6c
mov eax, dword [ebx + 0x54]
call fcn.004d14d8
test al, al
je case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
cmp eax, dword [esi + 8]
jne case.0x4df8ea.0
cmp dword [ebx + 0x208], 0
jne 0x4dfa6c
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
jmp 0x4dfa79
xor edx, edx
mov eax, dword [ebx + 0x208]
call fcn.004ef7c4
cmp byte [ebx + 0x78], 0
je 0x4dfa8e
lea edx, [ebx + 0x204]
xor ecx, ecx
mov eax, ebx
call fcn.004dc270
mov eax, dword [ebx + 0x22c]
cmp dword [eax + 0x30], 0
je 0x4dfaac
cmp byte [eax + 0x22f], 1
je 0x4dfaac
mov eax, dword [ebx + 0x54]
and word [eax + 0x52], 0xfffe
mov dword [ebx + 0x230], 0xffffffff
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
test byte [eax + 0x1c], 1
jne 0x4dfade
mov eax, ebx
call fcn.004eb050
xor edx, edx
mov eax, dword [ebx + 0x54]
call fcn.004d1a70
mov edx, eax
mov eax, ebx
call fcn.004eb454
mov eax, ebx
call fcn.004dc374
test al, al
je 0x4dfaed
mov byte [ebx + 0x34], 1
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x57], 0
je case.0x4df8ea.0
mov edi, dword [ebx + 0x54]
mov byte [edi + 0x39], 1
mov eax, edi
call fcn.004d14c4
call fcn.00503338
mov edx, eax
mov eax, ebx
call fcn.004edab8
mov eax, dword [0x5129d4]
cmp byte [eax], 0
jne 0x4dfbc0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
jne 0x4dfb7c
mov eax, dword [ebx + 0x22c]
call fcn.0046800c
test eax, eax
je 0x4dfb7c
mov eax, dword [ebx + 0x22c]
call fcn.0046800c
cmp byte [eax + 0x22b], 2
jne 0x4dfb7c
mov eax, ebx
call fcn.004ee18c
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x22c]
call fcn.0046800c
call fcn.00454930
push eax
call sub.user32.dll_InvalidateRect
jmp 0x4dfbc0
push 0x545
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
jne 0x4dfbc0
push 0x545
push 0
push 0
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
cmp byte [ebx + 0x60], 0
je 0x4dfbe9
mov eax, dword [ebx + 0x54]
cmp byte [eax + 9], 0
jne 0x4dfbe9
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
call fcn.004f9d9c
mov edx, eax
mov eax, dword [ebx + 0x22c]
call fcn.0044e2e8
cmp dword [ebx + 0x220], 0
je 0x4dfbfd
mov eax, dword [ebx + 0x220]
call fcn.0048b268
xor edx, edx
mov eax, dword [ebx + 0x54]
call fcn.004d1a6c
cmp dword [ebx + 0x234], 0
je 0x4dfc1b
mov eax, dword [ebx + 0x234]
call fcn.004eece8
mov edx, esi
mov eax, ebx
call fcn.004ec5e4
cmp dword [ebx + 0x248], 0
je case.0x4df8ea.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x248]
call fcn.004f20a4
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0xa8]
mov edi, dword [ebx + 0x54]
mov edx, dword [edi + 0x28]
mov ecx, edx
shl edx, 6
add edx, ecx
mov ebp, dword [eax + edx*4 + 0xa0]
mov eax, edi
call fcn.004d14c4
mov eax, dword [eax + 0xa8]
mov edx, dword [ebx + 0x54]
mov edx, dword [edx + 0x28]
mov ecx, edx
shl edx, 6
add edx, ecx
add ebp, dword [eax + edx*4 + 0xac]
test ebp, ebp
setg al
mov ebp, eax
and ebp, 0x7f
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
jmp case.0x4df8ea.0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x54]
call fcn.004d0234
mov dword [esi + 0xc], eax
jmp case.0x4df8ea.0
mov dword [esi + 0xc], ebx
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
cmp eax, dword [esi + 8]
jne case.0x4df8ea.0
mov al, 1
call fcn.004d47bc
mov eax, dword [ebx + 0x54]
call fcn.004d22e8
mov dword [ebx + 0x1f0], 0xffffffff
mov eax, ebx
call fcn.004ede04
mov dword [ebx + 0x1f0], eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov edx, 0x4e5b58
call fcn.0050179c
mov dword [ebx + 0x1f4], eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
test eax, eax
je case.0x4df8ea.0
mov eax, ebx
call fcn.004eba48
mov al, 1
call fcn.004d47bc
mov dl, byte [ebx + 0x78]
mov eax, ebx
call fcn.004ed494
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x44]
call fcn.004d66c4
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
mov dword [ebx + 0x230], 0xffffffff
mov eax, ebx
call fcn.004ee18c
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
jne case.0x4df8ea.0
mov dl, 1
mov eax, ebx
call fcn.004ec2c4
jmp case.0x4df8ea.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
mov byte [0x512898], 0
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d16a8
test al, al
je case.0x4df8ea.0
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d16a8
test al, al
je case.0x4df8ea.0
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [0x512d34]
cmp ebx, dword [eax]
jne case.0x4df8ea.0
push 0x581
push 0
push 0
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4df8ea.0
mov eax, esi
mov edx, dword [ebx + 0x54]
call fcn.004d240c
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x38], 0
je case.0x4df8ea.0
mov eax, ebx
call fcn.004e8698
jmp case.0x4df8ea.0
cmp eax, 0xa4
jg 0x4dffb0
je 0x4e2677
cmp eax, 0x2c
jg 0x4dff11
je 0x4e4452
cmp eax, 0x24
ja case.0x4dfe76.0
jmp dword [eax*4 + 0x4dfe7d]
cmp eax, 0x81
jg 0x4dff67
je 0x4e1b47
cmp eax, 0x4e
jg 0x4dff47
je 0x4e5a4f
sub eax, 0x46
je 0x4e4e31
dec eax
je 0x4e53d1
sub eax, 3
je 0x4e01a6
jmp case.0x4dfe76.0
sub eax, 0x7b
je 0x4e0286
sub eax, 2
je 0x4e0437
sub eax, 3
je 0x4e0385
jmp case.0x4dfe76.0
cmp eax, 0xa0
jg 0x4dff92
je 0x4e0120
sub eax, 0x84
je 0x4e19b3
dec eax
je 0x4e327f
dec eax
je 0x4e39e9
jmp case.0x4dfe76.0
sub eax, 0xa1
je 0x4e1b74
dec eax
je 0x4e2719
dec eax
je 0x4e42b6
jmp case.0x4dfe76.0
cmp eax, 0x318
jg 0x4e0073
je case.0x4df8ea.0
cmp eax, 0x211
jg 0x4e001f
je 0x4e182b
cmp eax, 0x121
jg 0x4dfffd
je 0x4e2d34
sub eax, 0xa5
je 0x4e2699
sub eax, 0x6d
je 0x4e44d6
sub eax, 5
je 0x4e0417
jmp case.0x4dfe76.0
sub eax, 0x200
je 0x4e21c3
sub eax, 2
je 0x4e2719
sub eax, 0xe
je 0x4e598f
jmp case.0x4dfe76.0
cmp eax, 0x232
jg 0x4e0051
je 0x4e0300
sub eax, 0x212
je 0x4e1986
sub eax, 2
je 0x4e1a97
add eax, 0xfffffff3
sub eax, 2
jb 0x4e4056
jmp case.0x4dfe76.0
sub eax, 0x2a3
je 0x4e1ac6
sub eax, 0x70
je 0x4e04d0
sub eax, 4
je 0x4e2df9
jmp case.0x4dfe76.0
cmp eax, 0xb015
jg 0x4e00d1
je 0x4e2d84
cmp eax, 0xb00b
jg 0x4e00b1
je 0x4e420e
sub eax, 0x323
je 0x4e023c
sub eax, 3
je 0x4e0211
sub eax, 0xa0da
je 0x4e0164
jmp case.0x4dfe76.0
sub eax, 0xb00c
je 0x4e0dca
sub eax, 7
je 0x4e1aeb
dec eax
je 0x4e1ac6
jmp case.0x4dfe76.0
cmp eax, 0xb03a
jg 0x4e0100
je 0x4e2d3e
sub eax, 0xb019
je 0x4e0506
sub eax, 0x13
je 0x4e5a8d
sub eax, 7
je 0x4e39a5
jmp case.0x4dfe76.0
sub eax, 0xb043
je 0x4e0148
sub eax, 9
je 0x4e3275
sub eax, 0xc01
je 0x4e3275
jmp case.0x4dfe76.0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
pop edx
call fcn.00502934
mov edx, esi
mov eax, ebx
call fcn.004ee0f0
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov edx, esi
mov eax, ebx
call fcn.004edee0
jmp case.0x4df8ea.0
mov eax, dword [esi + 4]
dec eax
je 0x4e018a
sub eax, 2
je 0x4e0177
dec eax
je 0x4e019a
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
call fcn.0046a928
jmp case.0x4df8ea.0
mov dword [esi + 0xc], 1
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp dword [esi + 0xc], 0
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
mov edx, dword [0x512cd4]
cmp eax, dword [edx]
jne case.0x4df8ea.0
mov eax, dword [0x512a04]
cmp byte [eax], 0
jne case.0x4df8ea.0
mov eax, dword [0x512a04]
mov byte [eax], 1
cmp dword [esi + 8], 0
je 0x4e0204
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov edx, eax
mov eax, esi
call fcn.004f7c84
mov eax, dword [0x512a04]
mov byte [eax], 0
jmp case.0x4df8ea.0
mov eax, dword [0x512a44]
cmp byte [eax], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
mov edx, ebx
call fcn.004da048
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4df8ea.0
mov eax, dword [0x512a44]
cmp byte [eax], 0
je case.0x4df8ea.0
cmp word [esi + 0xa], 0
je case.0x4df8ea.0
cmp word [esi + 8], 0
je case.0x4df8ea.0
movzx eax, word [esi + 8]
push eax
mov eax, dword [ebx + 0x22c]
call fcn.00454930
movzx ecx, word [esi + 0xa]
mov edx, ebx
call fcn.004d9ddc
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp dword [eax + 0x7c], 0
je 0x4e02b8
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov al, byte [eax + 0x58]
push eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x22c]
mov edx, dword [edx + 0x7c]
pop ecx
call fcn.004d7b78
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
cmp dword [esi + 4], 1
jne 0x4e02e7
mov edx, dword [ebx + 0x98]
dec edx
xor eax, eax
call fcn.0042c6f0
mov dword [ebx + 0x98], eax
jmp 0x4e02ed
inc dword [ebx + 0x98]
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp dword [ebx + 0x248], 0
je case.0x4df8ea.0
mov eax, dword [0x512d48]
cmp dword [eax], 0
je case.0x4df8ea.0
mov eax, dword [0x512d48]
mov eax, dword [eax]
mov ebp, dword [eax + 8]
dec ebp
test ebp, ebp
jl case.0x4df8ea.0
inc ebp
xor edi, edi
mov eax, dword [0x512d48]
mov eax, dword [eax]
mov edx, edi
call fcn.004194e0
test eax, eax
je 0x4e036e
mov eax, dword [0x512d48]
mov eax, dword [eax]
mov edx, edi
call fcn.004194e0
mov eax, dword [eax + 0x38]
xor ecx, ecx
mov edx, 0x12
call fcn.004c2304
inc edi
dec ebp
jne 0x4e033f
jmp case.0x4df8ea.0
mov edx, esi
mov eax, ebx
call fcn.004edb68
jmp case.0x4df8ea.0
test byte [ebx + 0x1c], 1
jne 0x4e0404
cmp dword [esi + 8], 0
je 0x4e0404
mov eax, dword [0x5129d4]
cmp byte [eax], 0
jne 0x4e0404
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x1a6], 0
je 0x4e0404
call fcn.004db560
test al, al
jne 0x4e03ca
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
call fcn.004db560
test al, al
jne 0x4e03f8
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov eax, ebx
call fcn.004dc3bc
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
cmp byte [eax + 0x58], 0
je case.0x4df8ea.0
mov edx, esi
mov eax, ebx
call fcn.004ed77c
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp dword [esi + 4], 0xffffffec
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x20c]
and eax, 0x80
cmp eax, 0x80
je case.0x4df8ea.0
mov eax, dword [ebx + 0x20c]
and eax, 0x100
cmp eax, 0x100
je case.0x4df8ea.0
mov eax, dword [ebx + 0x20c]
and eax, 0x400
cmp eax, 0x400
je case.0x4df8ea.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.0x4df8ea.0
cmp dword [ebx + 0x248], 0
je case.0x4df8ea.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x248]
call fcn.004f20a4
jmp case.0x4df8ea.0
lea edx, [esp + 0x70]
mov eax, dword [0x512e00]
mov eax, dword [eax]
call fcn.004591dc
mov eax, dword [esp + 0x74]
push eax
lea edx, [esp + 0x7c]
mov eax, dword [0x512e00]
mov eax, dword [eax]
call fcn.004591dc
mov edx, dword [esp + 0x7c]
mov eax, ebx
pop ecx
call fcn.004ea374
jmp case.0x4df8ea.0
mov dword [esp], 0xff
cmp byte [ebx + 0x78], 0
je 0x4e09b3
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x1a6], 0
je 0x4e0950
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e054c
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
jne 0x4e0564
mov dl, 1
mov eax, ebx
call fcn.004ec2c4
and dword [ebx + 0x20c], 0xfffffdff
cmp dword [ebx + 0x248], 0
je 0x4e0581
mov eax, dword [ebx + 0x248]
mov byte [eax + 0x28], 0
cmp dword [ebx + 0x1f8], 0
je 0x4e05aa
mov eax, dword [ebx + 0x1f8]
mov edx, dword [0x4d9d20]
call fcn.0040363c
test al, al
je 0x4e05aa
lea eax, [ebx + 0x1f8]
call fcn.0040dc78
mov eax, dword [0x512958]
cmp byte [eax], 0
je 0x4e05f2
mov eax, dword [ebx + 0x22c]
call fcn.00454c34
test al, al
je 0x4e05f2
mov eax, dword [0x512ca4]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x4e05e2
mov eax, dword [0x512ca4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x22c]
jne 0x4e05f2
mov eax, dword [ebx + 0x22c]
call fcn.00454930
call fcn.004dcf78
xor edx, edx
mov eax, dword [ebx + 0x54]
call fcn.004d1a70
mov edx, eax
mov eax, ebx
call fcn.004eb454
cmp dword [ebx + 0x208], 0
je 0x4e061f
mov edx, dword [ebx + 0x22c]
mov eax, dword [ebx + 0x208]
call fcn.004ef7c4
cmp byte [ebx + 0x95], 0
je 0x4e066c
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
je 0x4e0643
mov eax, dword [ebx + 0x22c]
cmp dword [eax + 0x30], 0
jne 0x4e066c
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
cmp byte [eax + 6], 0
je 0x4e066c
mov eax, dword [ebx + 0x22c]
call fcn.00454930
mov edx, dword [0x512cd4]
cmp eax, dword [edx]
jne 0x4e0670
xor eax, eax
jmp 0x4e0672
mov al, 1
mov byte [ebx + 0x203], al
mov byte [esp + 0xd], 0
cmp byte [ebx + 0x203], 0
je 0x4e0753
mov dl, 1
mov eax, dword [ebx + 0x54]
call fcn.004d1a6c
mov byte [ebx + 0x200], 1
mov eax, dword [ebx + 0x22c]
call fcn.00454930
mov dl, 1
call fcn.004def48
mov byte [esp + 0xd], al
mov dword [esp], 0xff
cmp byte [esp + 0xd], 0
je 0x4e06d1
xor edx, edx
mov eax, ebx
call fcn.004dbf34
mov byte [ebx + 0x210], 0
jmp 0x4e06ee
mov eax, dword [ebx + 0x22c]
movzx eax, byte [eax + 0x2e1]
mov dword [esp], eax
xor edx, edx
mov eax, dword [ebx + 0x22c]
call fcn.0046b3b0
mov eax, dword [ebx + 0x22c]
call fcn.00451660
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e075d
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x22c]
call fcn.00451624
cmp byte [eax + 0x57], 0
je 0x4e074d
mov edx, edi
mov eax, dword [ebx + 0x22c]
call fcn.00451624
mov edx, dword [0x50e0a0]
call fcn.0040363c
test al, al
jne 0x4e074d
push 0
mov edx, edi
mov eax, dword [ebx + 0x22c]
call fcn.00451624
xor ecx, ecx
mov edx, 0xb
call fcn.0044f2fc
inc edi
dec ebp
jne 0x4e0703
jmp 0x4e075d
xor edx, edx
mov eax, dword [ebx + 0x54]
call fcn.004d1a6c
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
call fcn.00503338
mov edx, eax
mov eax, ebx
call fcn.004edab8
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
xor edx, edx
mov eax, dword [ebx + 0x54]
call fcn.004d1a70
test al, al
jne 0x4e083c
cmp byte [ebx + 0x203], 0
je 0x4e083c
mov eax, dword [ebx + 0x22c]
call fcn.00451660
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e07ea
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x22c]
call fcn.00451624
cmp byte [eax + 0x57], 0
je 0x4e07e6
push 0
mov edx, edi
mov eax, dword [ebx + 0x22c]
call fcn.00451624
mov ecx, 1
mov edx, 0xb
call fcn.0044f2fc
inc edi
dec ebp
jne 0x4e07b5
push 0xffffffffffffffec
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowLongA
push 0x81
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
mov byte [ebx + 0x210], 0
jmp case.0x4df8ea.0
lea edx, [ebx + 0x204]
xor ecx, ecx
mov eax, ebx
call fcn.004dc270
cmp byte [ebx + 0x203], 0
je 0x4e0904
mov eax, dword [ebx + 0x22c]
call fcn.00451660
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e08a2
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x22c]
call fcn.00451624
cmp byte [eax + 0x57], 0
je 0x4e089e
push 0
mov edx, edi
mov eax, dword [ebx + 0x22c]
call fcn.00451624
mov ecx, 1
mov edx, 0xb
call fcn.0044f2fc
inc edi
dec ebp
jne 0x4e086d
cmp byte [esp + 0xd], 0
je 0x4e08bb
mov eax, dword [ebx + 0x22c]
call fcn.00454930
xor edx, edx
call fcn.004def48
mov byte [ebx + 0x203], 0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
movzx edi, word [eax + 4]
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 7]
mov byte [esp + 0xf], al
mov al, byte [esp + 0xf]
push eax
mov ecx, dword [esp + 4]
mov edx, edi
mov eax, ebx
call fcn.004bf174
mov byte [ebx + 0x210], 0
jmp 0x4e091e
push 0x81
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 2
jne case.0x4df8ea.0
mov al, 1
call fcn.004dedbc
jmp case.0x4df8ea.0
cmp dword [ebx + 0x248], 0
je 0x4e09a0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4e0995
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
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 0x4e0995
cmp byte [ebx + 0x95], 0
jne 0x4e09a0
lea eax, [ebx + 0x248]
call fcn.0040dc78
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
call fcn.004db560
test al, al
je 0x4e09d3
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x1c], 0
call fcn.004db560
test al, al
je case.0x4df8ea.0
push 0x181
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
je 0x4e0b4d
cmp dword [esi + 4], 1
jne 0x4e0ab6
cmp dword [ebx + 0x248], 0
je 0x4e0a44
mov eax, dword [ebx + 0x248]
mov byte [eax + 0x28], 0
mov eax, dword [ebx + 0x20c]
and eax, 0x400
cmp eax, 0x400
jne 0x4e0a62
mov dword [ebx + 0x20c], 0x400
jmp 0x4e0a6a
xor eax, eax
mov dword [ebx + 0x20c], eax
call fcn.004db560
test al, al
je 0x4e0ab6
mov eax, dword [0x5129d4]
cmp byte [eax], 0
jne 0x4e0ab6
push 0xffffffffffffffec
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4e0ab6
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [esi + 8]
dec eax
je 0x4e0ac6
sub eax, 2
je 0x4e0b14
jmp 0x4e0b4d
cmp byte [ebx + 0x201], 0
je 0x4e0b4d
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e0aed
mov byte [ebx + 0x201], 2
jmp 0x4e0b4d
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4e0b0b
mov byte [ebx + 0x201], 3
jmp 0x4e0b4d
mov byte [ebx + 0x201], 1
jmp 0x4e0b4d
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4e0b4d
mov eax, dword [0x512ca4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x22c]
jne 0x4e0b4d
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp dword [esi + 4], 1
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e0b8f
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 2
jne 0x4e0b8f
mov eax, dword [0x512d34]
mov eax, dword [eax]
call fcn.004eb974
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
jne 0x4e0bf0
mov eax, dword [ebx + 0x22c]
call fcn.00468040
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e0bf0
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x22c]
call fcn.0046808c
call fcn.00454930
mov edx, 7
call fcn.004c23b8
test al, al
jne 0x4e0bec
mov edx, edi
mov eax, dword [ebx + 0x22c]
call fcn.0046808c
call fcn.00454930
xor edx, edx
call fcn.004a91ec
inc edi
dec ebp
jne 0x4e0bb3
mov eax, dword [ebx + 0x22c]
cmp dword [eax + 0x30], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
je case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
and word [eax + 0x52], 0xfffe
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x1a6], 0
je 0x4e0db7
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x54], 0x40
jne 0x4e0db7
cmp byte [ebx + 0x78], 0
je 0x4e0db7
cmp dword [ebx + 0xa4], 0
je 0x4e0c69
lea eax, [ebx + 0xa4]
call fcn.0040dc78
cmp dword [ebx + 0xa8], 0
je 0x4e0c7d
lea eax, [ebx + 0xa8]
call fcn.0040dc78
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e0cd6
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 2
jne 0x4e0cd6
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x39], 1
mov eax, dword [0x512d34]
mov eax, dword [eax]
xor edx, edx
call fcn.004dba5c
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [0x512d34]
mov eax, dword [eax]
call fcn.004dbd58
jmp 0x4e0d96
call fcn.004db560
test al, al
jne 0x4e0d20
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
xor edx, edx
mov eax, ebx
call fcn.004dba5c
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, ebx
call fcn.004dbd58
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e0d96
cmp dword [ebx + 0x248], 0
jne 0x4e0d40
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp dword [ebx + 0x248], 0
jne 0x4e0d8f
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
mov eax, ebx
call fcn.004dc3bc
cmp dword [ebx + 0x248], 0
je case.0x4df8ea.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x248]
call fcn.004f20a4
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp byte [ebx + 0x78], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, ebx
call fcn.004eb050
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, ebx
call fcn.004eb050
mov eax, dword [0x512d34]
cmp dword [eax], 0
je case.0x4df8ea.0
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
call fcn.0046800c
test eax, eax
je case.0x4df8ea.0
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
call fcn.0046800c
cmp byte [eax + 0x22b], 2
jne 0x4e0e91
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x220]
call fcn.0048b308
jmp case.0x4df8ea.0
mov dl, 1
mov eax, ebx
call fcn.004ed494
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x1c], 0
jne 0x4e17f0
mov eax, ebx
call fcn.004db674
test al, al
je 0x4e10b3
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov edi, dword [eax + 0x144]
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov edx, edi
call fcn.004fbc50
test al, al
je 0x4e10b3
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0xa0]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.004f58ac
push eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0xa0]
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], eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0xa0]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.004f58c0
push eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0xa0]
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 + 0x1dc]
xor edx, edx
call fcn.004f58ac
mov ebp, eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db4c
cmp ebp, eax
jl 0x4e0fa6
lea eax, [ebx + 0x1dc]
xor edx, edx
call fcn.004f58c0
mov ebp, eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db90
cmp ebp, eax
jge 0x4e1011
mov eax, dword [ebx + 0x54]
call fcn.004cf9c8
test al, al
jne 0x4e1011
lea eax, [ebx + 0x1dc]
xor edx, edx
call fcn.004f58ac
test eax, eax
je 0x4e1011
mov eax, dword [ebx + 0x1e8]
push eax
lea eax, [esp + 0x24]
push eax
mov edx, dword [ebx + 0x1e8]
sub edx, edi
mov eax, dword [ebx + 0x1e4]
sub eax, dword [esp + 8]
mov ecx, dword [ebx + 0x1e4]
call fcn.00406580
mov eax, dword [ebx + 0x54]
call fcn.004cf9c8
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_InvalidateRect
lea eax, [ebx + 0x1dc]
xor edx, edx
call fcn.004f58ac
mov ebp, eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db4c
cmp ebp, eax
jg 0x4e104d
lea eax, [ebx + 0x1dc]
xor edx, edx
call fcn.004f58c0
mov ebp, eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db90
cmp ebp, eax
jle 0x4e10b3
mov eax, dword [ebx + 0x22c]
call fcn.0044db90
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db4c
push eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db90
sub eax, edi
push eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db4c
sub eax, dword [esp + 0x10]
pop edx
pop ecx
call fcn.00406580
mov eax, dword [ebx + 0x54]
call fcn.004cf9c8
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_InvalidateRect
lea eax, [ebx + 0x1dc]
xor edx, edx
call fcn.004f58ac
mov edi, eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db4c
cmp edi, eax
jg 0x4e1104
lea eax, [ebx + 0x1dc]
xor edx, edx
call fcn.004f58c0
mov edi, eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db90
cmp edi, eax
jg 0x4e1104
lea eax, [ebx + 0x1dc]
xor edx, edx
call fcn.004f58ac
test eax, eax
jne 0x4e1306
push 0x4e5b68
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov edx, dword [ebx + 0x54]
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0x54]
mov edx, dword [edx + 0x28]
call fcn.005017f8
mov edi, eax
cmp edi, 0xffffffff
jle 0x4e1205
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0xa0]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.004f58ac
push eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0xa0]
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], eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0xa0]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.004f58c0
push eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0xa0]
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 + 0x1e8]
push eax
lea eax, [esp + 0x24]
push eax
mov edx, dword [ebx + 0x1e8]
sub edx, edi
mov eax, dword [ebx + 0x1e4]
sub eax, dword [esp + 8]
mov ecx, dword [ebx + 0x1e4]
call fcn.00406580
mov eax, dword [ebx + 0x54]
call fcn.004cf9c8
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_InvalidateRect
push 0x4e5b7c
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov edx, dword [ebx + 0x54]
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0x54]
mov edx, dword [edx + 0x28]
call fcn.005017f8
mov edi, eax
cmp edi, 0xffffffff
jle 0x4e1306
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0xa0]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.004f58ac
push eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0xa0]
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], eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0xa0]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.004f58c0
push eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0xa0]
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 + 0x1e8]
push eax
lea eax, [esp + 0x24]
push eax
mov edx, dword [ebx + 0x1e8]
sub edx, edi
mov eax, dword [ebx + 0x1e4]
sub eax, dword [esp + 8]
mov ecx, dword [ebx + 0x1e4]
call fcn.00406580
mov eax, dword [ebx + 0x54]
call fcn.004cf9c8
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_InvalidateRect
cmp dword [ebx + 0xa4], 0
je 0x4e131a
lea eax, [ebx + 0xa4]
call fcn.0040dc78
cmp dword [ebx + 0xa8], 0
je 0x4e132e
lea eax, [ebx + 0xa8]
call fcn.0040dc78
mov dword [ebx + 0x230], 0xffffffff
mov eax, dword [ebx + 0x22c]
cmp dword [eax + 0x30], 0
jne 0x4e1362
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x1c], 1
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x1c], 0
jmp 0x4e1370
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [0x5129d4]
cmp byte [eax], 0
jne 0x4e17b0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x1a6], 0
je 0x4e17a9
mov eax, ebx
call fcn.004eab68
test al, al
je 0x4e1727
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e13c2
cmp byte [ebx + 0x1fe], 0
jne 0x4e1727
mov byte [ebx + 0x34], 1
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 0x54]
cmp dword [eax + 0x44], 0
je 0x4e141a
mov eax, dword [ebx + 0x54]
call fcn.004cf9c8
test al, al
je 0x4e140e
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebx + 0x22c]
cmp eax, dword [edx + 0x48]
jg 0x4e1412
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebx + 0x22c]
cmp eax, dword [edx + 0x4c]
jg 0x4e1412
xor eax, eax
jmp 0x4e1414
mov al, 1
mov byte [esp + 0xc], al
jmp 0x4e141f
mov byte [esp + 0xc], 0
cmp byte [ebx + 0x78], 0
je 0x4e16cb
mov eax, dword [0x512968]
cmp byte [eax], 0
je 0x4e1456
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 2
jne 0x4e1456
cmp dword [ebx + 0x248], 0
je 0x4e1456
lea eax, [ebx + 0x248]
call fcn.0040dc78
mov eax, dword [ebx + 0x248]
test eax, eax
je 0x4e150c
cmp dword [eax + 0x18], 0
jne 0x4e146f
call fcn.004f30b0
cmp dword [ebx + 0x204], 0
je 0x4e1499
mov eax, dword [ebx + 0x204]
mov eax, dword [eax + 0x80]
cmp byte [eax + 6], 0
jne 0x4e14a6
mov eax, dword [ebx + 0x204]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 6], 0
jne 0x4e14a6
cmp byte [ebx + 0x58], 0
jne 0x4e14a6
or dword [ebx + 0x20c], 1
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x248]
call fcn.004f20a4
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x1c], 1
and dword [ebx + 0x20c], 0xfffffffe
mov eax, dword [ebx + 0x248]
mov byte [eax + 0x28], 1
push 0x61b
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebx + 0x248]
mov byte [eax + 0x28], 0
mov dl, 1
mov eax, ebx
call fcn.004dbf34
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x1c], 0
jmp 0x4e1513
mov eax, ebx
call fcn.004ee18c
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x1c], 0
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
mov ax, word [eax + 0x54]
and ax, 2
cmp ax, 2
jne 0x4e154f
lea eax, [ebx + 0x1dc]
xor edx, edx
call fcn.004f58c0
mov esi, eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db90
cmp esi, eax
jne 0x4e157e
mov eax, dword [ebx + 0x54]
mov ax, word [eax + 0x54]
and ax, 1
cmp ax, 1
jne 0x4e15b1
lea eax, [ebx + 0x1dc]
xor edx, edx
call fcn.004f58ac
mov esi, eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db4c
cmp esi, eax
je 0x4e15b1
push 0
lea eax, [esp + 0x14]
push eax
mov dx, 0x14
mov ax, 1
call fcn.004072a4
mov edx, eax
mov eax, dword [0x5129d0]
mov eax, dword [eax]
xor ecx, ecx
call fcn.004f5788
lea edx, [esp + 0x10]
mov eax, dword [ebx + 0x22c]
call fcn.004c24c0
cmp dword [ebx + 0x248], 0
je 0x4e16a4
mov eax, dword [ebx + 0x204]
test eax, eax
je 0x4e1600
cmp dword [eax + 0x80], 0
je 0x4e1600
cmp dword [eax + 0x7c], 0
je 0x4e1600
mov eax, dword [ebx + 0x204]
mov eax, dword [eax + 0x80]
cmp byte [eax + 6], 0
jne 0x4e16a4
mov eax, dword [ebx + 0x204]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 6], 0
jne 0x4e16a4
mov eax, dword [ebx + 0x248]
cmp dword [eax + 0x18], 0
jne 0x4e1617
mov eax, dword [ebx + 0x248]
call fcn.004f30b0
push 0x101
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
cmp dword [ebx + 0x248], 0
je 0x4e1699
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowPos
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x248]
call fcn.004f2f48
push eax
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebx + 0x248]
mov byte [eax + 0x28], 0
jmp 0x4e16be
xor edx, edx
mov eax, ebx
call fcn.004dbf34
jmp 0x4e16be
push 0x921
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x22c]
call fcn.004c1b70
jmp 0x4e16e7
cmp byte [esp + 0xc], 0
je 0x4e16e7
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_InvalidateRect
mov eax, dword [ebx + 0x22c]
call fcn.0044db90
push eax
lea eax, [esp + 0x84]
push eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db4c
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406580
lea esi, [esp + 0x80]
lea edi, [ebx + 0x1dc]
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.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
jne 0x4e174b
mov eax, dword [ebx + 0x54]
call fcn.004cf9c8
test al, al
je 0x4e174b
mov eax, ebx
call fcn.004ee18c
jmp 0x4e17b0
mov eax, dword [esi + 4]
sub eax, 2
jne 0x4e17b0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e17b0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 2
jne 0x4e17b0
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x39], 1
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov byte [eax + 0x211], 1
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4e17b0
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 0x22c]
call fcn.0044db90
push eax
lea eax, [esp + 0x84]
push eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db4c
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406580
lea esi, [esp + 0x80]
lea edi, [ebx + 0x1dc]
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.0x4df8ea.0
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, ebx
call fcn.004edd28
xor eax, eax
call fcn.004b09a8
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
jne 0x4e1973
cmp byte [ebx + 0x1ff], 0
jne 0x4e1973
mov eax, dword [ebx + 0x22c]
call fcn.0046800c
test eax, eax
je 0x4e1973
mov eax, dword [ebx + 0x22c]
call fcn.0046800c
cmp byte [eax + 0x22b], 2
jne 0x4e1973
mov byte [ebx + 0x1ff], 1
cmp dword [0x5128a4], 0
jne 0x4e189f
mov ecx, dword [0x512ca4]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x463cc8]
call fcn.00466778
mov dword [0x5128a4], eax
mov eax, dword [0x5128a4]
mov dword [eax + 0xc], 0xffffff9e
xor edx, edx
mov eax, dword [0x5128a4]
call fcn.004675bc
mov edx, 0x4e5b90
mov eax, dword [0x5128a4]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [0x5128a4]
mov dword [eax + 0x2bc], ebx
mov dword [eax + 0x2b8], 0x4ec614
xor edx, edx
mov eax, dword [0x5128a4]
call fcn.00467f3c
push 0x58
push 0xf
call sub.user32.dll_GetSystemMetrics
dec eax
add eax, 4
push eax
push 0x3c
mov eax, dword [ebx + 0x22c]
call fcn.00454930
xor ecx, ecx
mov edx, dword [ebx + 0x248]
call fcn.004db2d4
mov edi, eax
mov eax, dword [ebx + 0x22c]
call fcn.004db33c
mov edx, dword [ebx + 0x22c]
add eax, dword [edx + 0x44]
add edi, eax
push edi
mov eax, dword [ebx + 0x22c]
call fcn.00454930
xor ecx, ecx
mov edx, dword [ebx + 0x248]
call fcn.004db2d4
push eax
lea edx, [esp + 0x94]
mov eax, dword [ebx + 0x22c]
call fcn.0044dae8
mov eax, dword [esp + 0x9c]
sub eax, 0x3c
pop edx
sub eax, edx
push eax
push 0
mov eax, dword [0x5128a4]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowPos
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov byte [ebx + 0x1ff], 0
cmp dword [0x5128a4], 0
je 0x4e19a0
mov eax, 0x5128a4
call fcn.0040dc78
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
cmp byte [ebx + 0x1fc], 0
je 0x4e19ca
mov byte [ebx + 0x1fc], 0
mov eax, ebx
call fcn.004edf9c
mov dl, 1
mov eax, ebx
call fcn.004dce78
test eax, eax
je 0x4e19dd
cmp byte [ebx + 0x78], 0
jne 0x4e19f0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov edx, esi
mov eax, ebx
call fcn.004de640
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
add eax, 0xfffffff8
sub eax, 2
jb 0x4e1a0c
sub eax, 0xa
jne 0x4e1a24
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e1a24
mov dl, 1
mov eax, ebx
call fcn.004ed494
mov eax, dword [esi + 0xc]
sub eax, 3
jb 0x4e1a39
sub eax, 2
je 0x4e1a39
add eax, 0xfffffffb
sub eax, 6
jae 0x4e1a4c
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
cmp byte [ebx + 0x58], 1
jne case.0x4df8ea.0
cmp dword [0x513f28], 0
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4df8ea.0
mov eax, dword [esi + 0xc]
sub eax, 2
je 0x4e1a8a
add eax, 0xfffffff8
sub eax, 8
jae case.0x4df8ea.0
mov eax, dword [esi + 0xc]
mov dword [0x513f28], eax
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp dword [ebx + 0x248], 0
je case.0x4df8ea.0
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x248]
call fcn.004f20a4
jmp case.0x4df8ea.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
mov byte [0x512898], 0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
pop edx
call fcn.00502934
mov eax, dword [ebx + 0x248]
test eax, eax
je case.0x4df8ea.0
cmp byte [eax + 0x38], 0
je case.0x4df8ea.0
mov edx, dword [ebx + 0x20c]
and edx, 1
cmp edx, 1
je case.0x4df8ea.0
call fcn.004f3134
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
je case.0x4df8ea.0
mov eax, ebx
call fcn.004ec058
jmp case.0x4df8ea.0
cmp byte [ebx + 0x78], 0
je 0x4e2049
cmp dword [ebx + 0x248], 0
je 0x4e1ba0
cmp dword [esi + 4], 0x13
jne 0x4e1ba0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
cmp dword [ebx + 0x248], 0
je 0x4e1bbf
cmp dword [esi + 4], 0xffffffff
jne 0x4e1bbf
mov edx, esi
mov eax, dword [ebx + 0x248]
call fcn.004f1598
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 8
jge 0x4e1bda
sub eax, 3
je 0x4e1c5d
sub eax, 2
je 0x4e1c4a
jmp 0x4e1d9e
add eax, 0xfffffff8
sub eax, 2
jb 0x4e1bf6
add eax, 0xfffffff6
sub eax, 2
jb 0x4e1bf6
add eax, 0xffffffb1
sub eax, 3
jae 0x4e1d9e
cmp dword [0x5128a0], 0
je 0x4e1c3b
cmp dword [esi + 4], 0x67
jne 0x4e1c1d
mov eax, dword [0x5128a0]
mov eax, dword [eax + 0x234]
mov edx, dword [eax]
call dword [edx + 0x54]
test al, al
je case.0x4df8ea.0
cmp dword [esi + 4], 0x66
jne 0x4e1c3b
mov eax, dword [0x5128a0]
mov eax, dword [eax + 0x234]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je case.0x4df8ea.0
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004e744c
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
xor eax, eax
mov dword [esi + 0xc], eax
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp dword [esi + 0xc], 0
jne case.0x4df8ea.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
mov byte [0x512898], 0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
cmp byte [eax + 0x58], 0
jne 0x4e1cb1
mov eax, 0xc8
call fcn.004f5cac
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x1c], 0
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e1d13
mov eax, dword [0x512d34]
cmp dword [eax], 0
je case.0x4df8ea.0
lea edx, [esp + 4]
mov eax, ebx
call fcn.004ea0f0
mov eax, dword [ebx + 0x22c]
call fcn.004db33c
add eax, dword [esp + 8]
add eax, 4
push eax
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
shl eax, 4
pop ecx
sub ecx, eax
mov edx, dword [esp + 4]
mov eax, ebx
call fcn.004ea374
jmp case.0x4df8ea.0
lea edx, [esp + 0x70]
mov eax, ebx
call fcn.004ea0f0
mov esi, dword [esp + 0x74]
mov dl, 1
mov eax, ebx
call fcn.004dccc0
add esi, eax
lea edx, [esp + 0x80]
mov eax, ebx
call fcn.004ea1d0
lea eax, [esp + 0x80]
xor edx, edx
call fcn.004f58c0
add esi, eax
mov eax, dword [ebx + 0x22c]
call fcn.00454930
xor ecx, ecx
mov edx, dword [ebx + 0x248]
call fcn.004db328
add esi, eax
push esi
mov eax, dword [ebx + 0x22c]
call fcn.00454930
xor ecx, ecx
mov edx, dword [ebx + 0x248]
call fcn.004db2d4
mov esi, eax
lea edx, [esp + 0x7c]
mov eax, ebx
call fcn.004ea0f0
add esi, dword [esp + 0x7c]
mov edx, esi
mov eax, ebx
pop ecx
call fcn.004ea374
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x4c]
call fcn.0041a238
mov ecx, eax
add ecx, 0x3e8
dec ecx
mov eax, dword [esi + 4]
mov edx, 0x3e8
call fcn.004f57dc
test al, al
je 0x4e1e00
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004e744c
mov al, byte [0x4e5b9c]
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 + 0x4c]
call fcn.004ef168
mov edx, dword [esi + 4]
sub edx, 0x3e8
xor ecx, ecx
call fcn.004ef2e0
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e1e31
push 0
mov ecx, 0xf012
mov edx, 0x112
mov eax, dword [ebx + 0x22c]
call fcn.0044f2fc
jmp case.0x4df8ea.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 2
jne 0x4e1e8e
lea eax, [esp + 0x70]
push eax
movsx ecx, word [esi + 0xa]
xor edx, edx
mov eax, ebx
call fcn.004ea6ac
mov edi, dword [esp + 0x74]
mov eax, dword [ebx + 0x22c]
call fcn.00454930
mov cl, 1
mov edx, dword [ebx + 0x248]
call fcn.004db328
mov ebp, eax
mov dl, 1
mov eax, ebx
call fcn.004dce78
add ebp, eax
cmp edi, ebp
jle 0x4e2023
push 0
lea eax, [esp + 0x11]
push eax
push 0
push 0x26
call sub.user32.dll_SystemParametersInfoA
cmp byte [esp + 0xd], 0
je 0x4e2010
cmp byte [ebx + 0x58], 1
jne 0x4e1f6a
mov eax, dword [ebx + 0x22c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4e1f6a
mov eax, dword [esi + 4]
sub eax, 5
je 0x4e1f6a
mov eax, dword [esi + 4]
sub eax, 2
je 0x4e1edf
sub eax, 3
jne 0x4e1eed
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [esi + 4]
add eax, 0xfffffff6
sub eax, 8
setb al
xor al, 1
mov byte [0x513f04], al
lea ecx, [esp + 4]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.0040659c
cmp byte [0x513f04], 0
je 0x4e1f39
push 0
push 0xf010
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e1f56
push 0
push 0xf000
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, ebx
call fcn.004eb4d0
jmp case.0x4df8ea.0
cmp dword [esi + 4], 2
jne 0x4e1ffd
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
je 0x4e1ffd
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
cmp byte [eax + 6], 0
je 0x4e1ffd
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4e1ffd
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
cmp byte [eax + 8], 0xff
je 0x4e1ffd
cmp byte [ebx + 0x94], 0
je 0x4e1ffd
cmp byte [ebx + 0x224], 0
jne 0x4e1fe0
mov byte [ebx + 0x224], 1
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SetFocus
mov eax, ebx
call fcn.004da994
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22e], 0
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
mov edx, dword [eax]
call dword [edx + 0xc4]
jmp case.0x4df8ea.0
mov eax, dword [esi + 4]
sub eax, 3
jne 0x4e213c
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
mov byte [0x512898], 0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e20b1
mov eax, dword [0x512d34]
cmp dword [eax], 0
je case.0x4df8ea.0
lea edx, [esp + 4]
mov eax, ebx
call fcn.004ea0f0
mov dl, 1
mov eax, ebx
call fcn.004dce78
mov ecx, eax
add ecx, dword [esp + 8]
add ecx, 4
mov edx, dword [esp + 4]
mov eax, ebx
call fcn.004ea374
jmp case.0x4df8ea.0
lea edx, [esp + 0x70]
mov eax, ebx
call fcn.004ea0f0
mov esi, dword [esp + 0x74]
mov dl, 1
mov eax, ebx
call fcn.004dccc0
add esi, eax
lea edx, [esp + 0x80]
mov eax, ebx
call fcn.004ea1d0
lea eax, [esp + 0x80]
xor edx, edx
call fcn.004f58c0
add esi, eax
mov eax, dword [ebx + 0x22c]
call fcn.00454930
xor ecx, ecx
mov edx, dword [ebx + 0x248]
call fcn.004db328
add esi, eax
push esi
mov eax, dword [ebx + 0x22c]
call fcn.00454930
mov cl, 1
mov edx, dword [ebx + 0x248]
call fcn.004db2d4
mov esi, eax
lea edx, [esp + 0x7c]
mov eax, ebx
call fcn.004ea0f0
add esi, dword [esp + 0x7c]
mov edx, esi
mov eax, ebx
pop ecx
call fcn.004ea374
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
cmp dword [esi + 4], 0x2f
jne 0x4e21b0
cmp dword [ebx + 0x1f8], 0
je 0x4e21b0
mov eax, dword [ebx + 0x1f8]
mov edx, dword [0x4d9d20]
call fcn.0040363c
test al, al
je 0x4e21b0
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
mov edi, dword [ebx + 0x1f8]
mov eax, edi
call fcn.004f5068
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 + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [0x512bd8]
cmp dword [eax], 0
je 0x4e21f6
mov eax, dword [0x512bd8]
mov eax, dword [eax]
test byte [eax + 0x1c], 0x10
jne 0x4e21f6
mov eax, dword [0x512bd8]
mov eax, dword [eax]
xor edx, edx
call fcn.00502934
cmp byte [ebx + 0x58], 1
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4df8ea.0
lea ecx, [esp + 0x70]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.0040659c
lea edx, [esp + 0x70]
lea ecx, [esp + 4]
mov eax, dword [ebx + 0x22c]
call fcn.0044dc60
mov eax, dword [esp + 4]
mov dword [esp], eax
mov edi, dword [esp + 8]
cmp byte [0x513f04], 0
je 0x4e22be
cmp byte [0x512888], 0
je 0x4e225b
mov byte [0x512888], 0
cmp byte [0x512880], 0
je case.0x4df8ea.0
mov ecx, dword [0x513f10]
mov edx, dword [0x513f14]
mov eax, ebx
call fcn.004eb6d0
mov eax, dword [esp]
sub eax, dword [0x513f20]
add dword [0x513f14], eax
mov eax, edi
sub eax, dword [0x513f24]
add dword [0x513f10], eax
mov dword [0x513f24], edi
mov eax, dword [esp]
mov dword [0x513f20], eax
mov ecx, dword [0x513f10]
mov edx, dword [0x513f14]
mov eax, ebx
call fcn.004eb6d0
jmp case.0x4df8ea.0
cmp byte [0x512888], 0
je 0x4e22dc
mov eax, dword [esp]
mov dword [0x513f20], eax
mov dword [0x513f24], edi
mov byte [0x512888], 0
cmp byte [0x512880], 0
je case.0x4df8ea.0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004eb6d0
mov eax, dword [0x513f28]
add eax, 0xfffffff6
cmp eax, 6
ja case.default.0x4e2305
jmp dword [eax*4 + 0x4e230c]
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x40]
add eax, dword [esp]
sub eax, dword [0x513f20]
mov dword [0x513f14], eax
mov eax, dword [0x513f1c]
sub eax, dword [0x513f14]
cmp eax, dword [0x513f30]
jge 0x4e2667
mov eax, dword [0x513f1c]
sub eax, dword [0x513f30]
mov dword [0x513f14], eax
jmp 0x4e2667
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x22c]
add eax, dword [edx + 0x48]
add eax, dword [esp]
sub eax, dword [0x513f20]
mov dword [0x513f1c], eax
mov eax, dword [0x513f1c]
sub eax, dword [0x513f14]
cmp eax, dword [0x513f30]
jge 0x4e2667
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x40]
add eax, dword [0x513f30]
mov dword [0x513f1c], eax
jmp 0x4e2667
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x22c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x513f24]
mov dword [0x513f18], edi
mov eax, dword [0x513f18]
sub eax, dword [0x513f10]
cmp eax, dword [0x513f2c]
jge 0x4e2667
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x44]
add eax, dword [0x513f2c]
mov dword [0x513f18], eax
jmp 0x4e2667
mov eax, dword [ebx + 0x22c]
add edi, dword [eax + 0x44]
sub edi, dword [0x513f24]
mov dword [0x513f10], edi
mov eax, dword [0x513f18]
sub eax, dword [0x513f10]
cmp eax, dword [0x513f2c]
jge 0x4e2667
mov eax, dword [0x513f18]
sub eax, dword [0x513f2c]
mov dword [0x513f10], eax
jmp 0x4e2667
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x22c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x513f24]
mov dword [0x513f18], edi
mov eax, dword [0x513f18]
sub eax, dword [0x513f10]
cmp eax, dword [0x513f2c]
jge 0x4e2493
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x44]
add eax, dword [0x513f2c]
mov dword [0x513f18], eax
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x40]
add eax, dword [esp]
sub eax, dword [0x513f20]
mov dword [0x513f14], eax
mov eax, dword [0x513f1c]
sub eax, dword [0x513f14]
cmp eax, dword [0x513f30]
jge 0x4e2667
mov eax, dword [0x513f1c]
sub eax, dword [0x513f30]
mov dword [0x513f14], eax
jmp 0x4e2667
mov eax, dword [ebx + 0x22c]
add edi, dword [eax + 0x44]
sub edi, dword [0x513f24]
mov dword [0x513f10], edi
mov eax, dword [0x513f18]
sub eax, dword [0x513f10]
cmp eax, dword [0x513f2c]
jge 0x4e250e
mov eax, dword [0x513f18]
sub eax, dword [0x513f2c]
mov dword [0x513f10], eax
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x22c]
add eax, dword [edx + 0x48]
add eax, dword [esp]
sub eax, dword [0x513f20]
mov dword [0x513f1c], eax
mov eax, dword [0x513f1c]
sub eax, dword [0x513f14]
cmp eax, dword [0x513f30]
jge 0x4e2667
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x40]
add eax, dword [0x513f30]
mov dword [0x513f1c], eax
jmp 0x4e2667
mov eax, dword [ebx + 0x22c]
add edi, dword [eax + 0x44]
sub edi, dword [0x513f24]
mov dword [0x513f10], edi
mov eax, dword [0x513f18]
sub eax, dword [0x513f10]
cmp eax, dword [0x513f2c]
jge 0x4e2596
mov eax, dword [0x513f18]
sub eax, dword [0x513f2c]
mov dword [0x513f10], eax
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x40]
add eax, dword [esp]
sub eax, dword [0x513f20]
mov dword [0x513f14], eax
mov eax, dword [0x513f1c]
sub eax, dword [0x513f14]
cmp eax, dword [0x513f30]
jge 0x4e2667
mov eax, dword [0x513f1c]
sub eax, dword [0x513f30]
mov dword [0x513f14], eax
jmp 0x4e2667
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x22c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x513f24]
mov dword [0x513f18], edi
mov eax, dword [0x513f18]
sub eax, dword [0x513f10]
cmp eax, dword [0x513f2c]
jge 0x4e2620
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x44]
add eax, dword [0x513f2c]
mov dword [0x513f18], eax
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x22c]
add eax, dword [edx + 0x48]
add eax, dword [esp]
sub eax, dword [0x513f20]
mov dword [0x513f1c], eax
mov eax, dword [0x513f1c]
sub eax, dword [0x513f14]
cmp eax, dword [0x513f30]
jge 0x4e2667
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x40]
add eax, dword [0x513f30]
mov dword [0x513f1c], eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004eb6d0
jmp case.0x4df8ea.0
mov eax, dword [esi + 4]
add eax, 0xfffffffe
sub eax, 2
jb case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, ebx
call fcn.004dc374
test al, al
je 0x4e2706
cmp dword [ebx + 0x248], 0
je 0x4e26c5
cmp dword [esi + 4], 0xffffffff
jne 0x4e26c5
mov edx, esi
mov eax, dword [ebx + 0x248]
call fcn.004f1598
mov dword [esi + 4], eax
jmp 0x4e26d1
mov edx, esi
mov eax, ebx
call fcn.004de640
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
add eax, 0xfffffffe
sub eax, 2
jae case.0x4df8ea.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
mov byte [0x512898], 0
movsx ecx, word [esi + 0xa]
movsx edx, word [esi + 8]
mov eax, ebx
call fcn.004ea374
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
cmp byte [ebx + 0x78], 0
je 0x4e2d21
cmp dword [ebx + 0x248], 0
je 0x4e2742
cmp dword [esi + 4], 0xffffffff
jne 0x4e2742
mov edx, esi
mov eax, dword [ebx + 0x248]
call fcn.004f1598
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 0x15
jg 0x4e276a
je 0x4e2a7a
sub eax, 8
je 0x4e291b
dec eax
je 0x4e2803
sub eax, 0xb
je 0x4e2786
jmp 0x4e2bc1
sub eax, 0x65
je 0x4e2ae8
dec eax
je 0x4e2b2e
dec eax
je 0x4e2b70
jmp 0x4e2bc1
cmp byte [0x512898], 0
je case.0x4df8ea.0
xor eax, eax
mov dword [ebx + 0x114], eax
push 0
push 0xf060
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x1c], 8
jne case.0x4df8ea.0
mov eax, ebx
call fcn.004edd28
cmp dword [ebx + 0x22c], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x57], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x234]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4e2838
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 2
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x234]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je case.0x4df8ea.0
cmp byte [0x512898], 0
je 0x4e28fd
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 2
jne 0x4e28b1
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
je 0x4e287d
xor edx, edx
mov eax, dword [ebx + 0x22c]
call fcn.004686b4
jmp 0x4e2884
xor eax, eax
mov dword [0x5128a0], eax
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x22c]
mov edx, dword [eax]
call dword [edx + 0x80]
jmp 0x4e28e4
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e28c7
xor eax, eax
mov dword [0x5128a0], eax
push 0
push 0xf030
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [ebx + 0x234]
call fcn.004eecec
mov byte [0x512898], 0
jmp case.0x4df8ea.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
cmp byte [0x512898], 0
je 0x4e2a5c
cmp dword [ebx + 0x248], 0
je 0x4e295c
movsx edx, word [esi + 0xa]
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
sub edx, dword [eax + 0x44]
movsx eax, word [esi + 8]
mov ecx, dword [ebx + 0x248]
mov ecx, dword [ecx + 0x18]
sub eax, dword [ecx + 0x40]
lea ecx, [esp + 4]
call fcn.0040659c
jmp 0x4e2970
lea eax, [esp + 4]
push eax
movsx ecx, word [esi + 0xa]
movsx edx, word [esi + 8]
mov eax, ebx
call fcn.004ea6ac
lea edx, [esp + 4]
lea eax, [ebx + 0xcc]
call fcn.004065a4
test al, al
je 0x4e2a49
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
mov eax, dword [0x512ca4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x22c]
jne 0x4e29d1
mov byte [ebx + 0x202], 1
push 0
push 0xf020
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov byte [ebx + 0x202], 0
jmp 0x4e2a36
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e2a05
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e2a36
or dword [ebx + 0x20c], 0x100
push 0
push 0xf020
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
and dword [ebx + 0x20c], 0xfffffeff
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
mov byte [ebx + 0x9e], 1
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
cmp byte [0x512898], 0
je 0x4e2ad8
push 0
push 0xf180
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
xor edx, edx
mov eax, dword [ebx + 0x234]
call fcn.004eecec
mov byte [0x512898], 0
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, dword [ebx + 0x22c]
call fcn.0044f2fc
jmp case.0x4df8ea.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
jmp case.0x4df8ea.0
cmp byte [0x512898], 0
je case.0x4df8ea.0
mov byte [0x512898], 0
push 0
push 0xf060
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.0046800c
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004e7230
jmp case.0x4df8ea.0
cmp byte [0x512898], 0
je 0x4e2b59
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.0046800c
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov byte [0x512898], 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004e7230
jmp case.0x4df8ea.0
cmp byte [0x512898], 0
je 0x4e2bb1
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
call fcn.004d126c
mov byte [0x512898], 0
push 0
push 0xf020
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.0046800c
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x4c]
call fcn.0041a238
mov ecx, eax
add ecx, 0x3e8
dec ecx
mov eax, dword [esi + 4]
mov edx, 0x3e8
call fcn.004f57dc
test al, al
je 0x4e2c34
cmp byte [0x512898], 0
je 0x4e2c1d
mov al, byte [0x4e5b9c]
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 + 0x4c]
call fcn.004ef168
mov edx, dword [esi + 4]
sub edx, 0x3e8
xor ecx, ecx
call fcn.004ef308
mov byte [0x512898], 0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
jmp 0x4e2d15
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e2ca0
mov eax, dword [0x512d34]
cmp dword [eax], 0
je 0x4e2c90
lea edx, [esp + 0x70]
mov eax, ebx
call fcn.004ea0f0
mov esi, dword [esp + 0x70]
lea eax, [esp + 0x78]
call fcn.004be998
add esi, dword [esp + 0x78]
push esi
lea eax, [esp + 0x94]
call fcn.004be998
mov ecx, dword [esp + 0x98]
mov eax, ebx
pop edx
call fcn.004ea374
jmp 0x4e2d15
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp 0x4e2d15
cmp byte [ebx + 0x58], 1
jne 0x4e2d07
mov eax, dword [ebx + 0x22c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4e2d07
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 2
je 0x4e2d07
cmp byte [0x512880], 0
je 0x4e2d07
lea ecx, [esp + 0x70]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.0040659c
lea edx, [esp + 0x70]
lea ecx, [esp + 4]
mov eax, dword [ebx + 0x22c]
call fcn.0044dc60
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, ebx
call fcn.004eb5d0
call sub.user32.dll_ReleaseCapture
jmp 0x4e2d15
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov byte [0x512898], 0
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp dword [ebx + 0x204], 0
je 0x4e2d60
lea eax, [ebx + 0x204]
call fcn.0040dc78
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
push eax
mov eax, dword [ebx + 0x22c]
call fcn.00454930
mov edx, 3
pop ecx
call fcn.004c2304
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x2f4], 1
jne 0x4e2de6
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x57], 0
je 0x4e2de6
mov eax, ebx
call fcn.004db6bc
test al, al
jne 0x4e2de6
mov eax, dword [ebx + 0x54]
mov ax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je 0x4e2dd3
mov dword [ebx + 0x230], 0xffffffff
mov byte [ebx + 0x211], 1
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
test byte [ebx + 0x1c], 1
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x2f4], 1
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x1c], 8
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
xor ecx, ecx
mov dl, 1
call fcn.004db5f4
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e2ea2
mov eax, dword [0x512d34]
cmp dword [eax], 0
je 0x4e2ea2
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
call fcn.0046800c
test eax, eax
je 0x4e2ea2
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
call fcn.0046800c
cmp byte [eax + 0x22b], 2
jne 0x4e2ea2
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
call fcn.0046800c
cmp eax, dword [ebx + 0x22c]
jne case.0x4df8ea.0
cmp byte [ebx + 0x9d], 0
jne 0x4e2ebd
mov eax, ebx
call fcn.004eb050
test al, al
je 0x4e2ebd
mov byte [ebx + 0x9d], 1
mov ebp, dword [esi + 4]
mov eax, dword [ebx + 0x54]
mov dword [eax + 0x58], ebp
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x1c], 0
cmp dword [ebx + 0x248], 0
je 0x4e2fc8
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x39], 0
je 0x4e2eea
mov eax, ebx
call fcn.004e8698
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
call fcn.0042a468
call fcn.00425fd8
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x54]
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.004ea878
push eax
mov eax, ebx
call fcn.004ea7e0
mov edx, eax
mov eax, ebp
pop ecx
call fcn.0044ca84
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_GetClientRect
lea eax, [esp + 0x20]
xor edx, edx
call fcn.004f58c0
push eax
lea eax, [esp + 0x24]
xor edx, edx
call fcn.004f58ac
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
je 0x4e31ef
lea ecx, [esp + 0x70]
xor edx, edx
xor eax, eax
call fcn.0040659c
lea eax, [esp + 0x70]
push eax
push 0
mov eax, dword [ebx + 0x20c]
and eax, 0x200
cmp eax, 0x200
sete al
xor al, 1
push eax
mov cl, 1
mov edx, dword [ebx + 0x22c]
mov eax, ebp
call fcn.004c1d8c
jmp 0x4e31ef
cmp byte [ebx + 0x78], 0
je 0x4e310b
mov eax, ebx
call fcn.004dc374
test al, al
jne 0x4e3102
mov eax, dword [ebx + 0x22c]
call fcn.00454930
call fcn.004dbf1c
test al, al
je 0x4e3102
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x39], 0
je 0x4e3009
mov eax, ebx
call fcn.004e8698
mov eax, dword [ebx + 0x22c]
mov edi, dword [eax + 0x16c]
add edi, 3
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
call fcn.0042a468
call fcn.00425fd8
push eax
push edi
mov eax, dword [ebx + 0x22c]
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 + 0x54]
mov eax, dword [eax + 0x44]
call fcn.0042a468
call fcn.00425fd8
push eax
mov eax, dword [ebx + 0x54]
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 + 0x22c]
mov eax, dword [eax + 0x4c]
sub eax, edi
push eax
push edi
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
call fcn.0042a468
call fcn.00425fd8
push eax
push edi
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x48]
sub eax, edi
push eax
mov eax, dword [ebx + 0x22c]
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 + 0x54]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, edi
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
call fcn.0042a468
call fcn.00425fd8
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
push edi
push edi
mov eax, dword [ebx + 0x54]
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 0x4e310b
mov edx, ebp
mov eax, ebx
call fcn.004e6c4c
mov eax, ebx
call fcn.004ea878
push eax
mov eax, ebx
call fcn.004ea7e0
mov edx, eax
mov eax, ebp
pop ecx
call fcn.0044ca84
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_GetClientRect
lea eax, [esp + 0x20]
xor edx, edx
call fcn.004f58c0
push eax
lea eax, [esp + 0x24]
xor edx, edx
call fcn.004f58ac
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [ebx + 0x54]
mov ax, word [eax + 0x52]
and ax, 1
cmp ax, 1
je 0x4e317a
mov cl, 1
mov edx, ebp
mov eax, ebx
call fcn.004e6eec
jmp 0x4e31ef
push ebp
call sub.gdi32.dll_SaveDC
mov esi, eax
push 0
push 0
xor ecx, ecx
mov edx, dword [ebx + 0x22c]
mov eax, ebp
call fcn.004c75e8
mov cl, 1
mov edx, ebp
mov eax, ebx
call fcn.004e6eec
push esi
push ebp
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
je 0x4e31ef
lea ecx, [esp + 0x70]
xor edx, edx
xor eax, eax
call fcn.0040659c
lea eax, [esp + 0x70]
push eax
push 0
mov eax, dword [ebx + 0x20c]
and eax, 0x200
cmp eax, 0x200
sete al
xor al, 1
push eax
mov cl, 1
mov edx, dword [ebx + 0x22c]
mov eax, ebp
call fcn.004c1d8c
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
jne 0x4e3218
push 0
push ebp
push 0x317
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x54]
xor edx, edx
mov dword [eax + 0x58], edx
mov eax, dword [ebx + 0x22c]
cmp word [eax + 0x2ba], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
call fcn.004681f4
mov edx, ebp
call fcn.00426058
mov esi, dword [ebx + 0x22c]
mov edx, dword [ebx + 0x22c]
mov eax, dword [esi + 0x2bc]
call dword [esi + 0x2b8]
mov eax, dword [ebx + 0x22c]
call fcn.004681f4
xor edx, edx
call fcn.00426058
jmp case.0x4df8ea.0
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4df8ea.0
cmp dword [ebx + 0x234], 0
jne 0x4e328f
mov eax, ebx
call fcn.004ec058
cmp byte [ebx + 0x78], 0
je 0x4e32f6
mov eax, dword [ebx + 0x54]
mov ax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
mov ax, word [eax + 0x52]
and ax, 0x400
cmp ax, 0x400
je case.0x4df8ea.0
mov eax, ebx
call fcn.004db278
test al, al
je 0x4e32e0
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x248]
cmp dword [eax + 0x38], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x20c]
and eax, 0x200
cmp eax, 0x200
je case.0x4df8ea.0
cmp byte [ebx + 0x1fc], 0
je 0x4e330d
mov byte [ebx + 0x1fc], 0
mov eax, ebx
call fcn.004edf9c
mov eax, dword [ebx + 0x22c]
cmp dword [eax + 0x30], 0
je 0x4e3334
mov eax, dword [ebx + 0x54]
call fcn.004d14d8
mov edx, dword [ebx + 0x54]
mov byte [edx + 0x1c], al
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x1c], 0
jne case.0x4df8ea.0
cmp byte [ebx + 0x78], 0
je 0x4e33fe
mov eax, dword [0x5129d4]
cmp byte [eax], 0
je 0x4e335b
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
je 0x4e33fe
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e3377
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
cmp byte [ebx + 0x203], 0
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x1a6], 0
je case.0x4df8ea.0
test byte [ebx + 0x1c], 1
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x55], 2
jne case.0x4df8ea.0
cmp dword [ebx + 0x234], 0
je case.0x4df8ea.0
cmp dword [ebx + 0x208], 0
jne 0x4e33ce
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
mov eax, dword [ebx + 0x54]
cmp dword [eax + 0x44], 0
jne 0x4e33ed
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
call fcn.00503338
mov edx, eax
mov eax, ebx
call fcn.004edab8
mov eax, ebx
call fcn.004eca7c
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x1a6], 0
je 0x4e3771
mov eax, dword [ebx + 0x54]
mov ax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x1c], 0
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x54], 0x80
jne 0x4e36b8
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4e36b8
mov eax, dword [ebx + 0x54]
call fcn.004cf9c8
test al, al
je 0x4e34ac
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
jne 0x4e35e4
mov eax, dword [ebx + 0x22c]
call fcn.0046800c
test eax, eax
je 0x4e35e4
mov eax, dword [ebx + 0x22c]
call fcn.0046800c
cmp byte [eax + 0x22b], 2
jne 0x4e35e4
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e35a8
mov eax, dword [ebx + 0x54]
cmp dword [eax + 0x44], 0
je 0x4e35a8
mov eax, dword [0x512d34]
cmp dword [eax], 0
je 0x4e35a8
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_GetClientRect
lea edx, [esp + 0x80]
mov eax, dword [ebx + 0x22c]
call fcn.0044dae8
lea edx, [esp + 0x80]
lea eax, [esp + 0x20]
call fcn.004065a4
test al, al
je 0x4e35a8
lea edx, [esp + 0x80]
mov eax, dword [ebx + 0x22c]
call fcn.0044dae8
lea edx, [esp + 0x88]
lea eax, [esp + 0x20]
call fcn.004065a4
test al, al
je 0x4e35a8
mov eax, dword [ebx + 0x22c]
call fcn.00454930
mov cl, 1
mov edx, dword [ebx + 0x248]
call fcn.004db328
mov edi, eax
mov dl, 1
mov eax, ebx
call fcn.004dce78
add edi, eax
mov eax, ebx
call fcn.004ea96c
mov ebp, eax
mov eax, ebx
call fcn.004eb034
imul ebp, eax
add edi, ebp
inc edi
push edi
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
pop edx
call fcn.0042c62c
mov edx, eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004ec878
cmp byte [0x51289c], 0
je 0x4e3765
mov byte [0x51289c], 0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e3765
mov dword [0x5128a0], ebx
jmp 0x4e3765
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x1c], 0
jne 0x4e3765
mov eax, dword [ebx + 0x54]
cmp dword [eax + 0x44], 0
je 0x4e36a8
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x39], 0
jne 0x4e36a8
mov eax, dword [ebx + 0x22c]
call fcn.0044db90
push eax
lea eax, [esp + 0x84]
push eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db4c
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406580
lea eax, [esp + 0x80]
push eax
mov eax, dword [esi + 4]
push eax
push 0
push 0
push 0
mov eax, ebx
call fcn.004ea878
mov edi, eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db90
add edi, eax
push edi
lea eax, [esp + 0xb0]
push eax
mov eax, ebx
call fcn.004ea7e0
mov edi, eax
mov eax, dword [ebx + 0x22c]
call fcn.0044db4c
add edi, eax
push edi
mov eax, ebx
call fcn.004ea878
push eax
mov eax, ebx
call fcn.004ea7e0
pop edx
pop ecx
call fcn.00406580
lea ecx, [esp + 0xac]
mov edx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x22c]
call fcn.004d2c30
mov eax, dword [ebx + 0x22c]
call fcn.004c1b70
jmp 0x4e3765
cmp dword [esi + 4], 0
je 0x4e3765
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x39], 0
jne 0x4e3765
mov eax, dword [ebx + 0x54]
call fcn.004cf9c8
test al, al
je 0x4e3724
push 0xcc0020
mov eax, ebx
call fcn.004ea878
push eax
mov eax, ebx
call fcn.004ea7e0
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
call fcn.0042a468
call fcn.00425fd8
push eax
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4e3765
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x54]
call fcn.004d0234
push eax
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x4c]
push eax
lea eax, [esp + 0x88]
push eax
mov eax, dword [ebx + 0x22c]
mov ecx, dword [eax + 0x48]
xor edx, edx
xor eax, eax
call fcn.00406580
lea edx, [esp + 0x84]
mov eax, dword [esi + 4]
pop ecx
call fcn.004c734c
mov dword [esi + 0xc], 1
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x54], 0x80
jne case.0x4df8ea.0
cmp dword [ebx + 0x248], 0
je 0x4e37db
mov eax, ebx
call fcn.004db6bc
test al, al
jne 0x4e37db
mov eax, dword [ebx + 0x248]
cmp dword [eax + 0x18], 0
je 0x4e37cc
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4e37db
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x248]
call fcn.004f20a4
mov eax, dword [ebx + 0x54]
call fcn.004cf9c8
test al, al
je 0x4e38c2
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x1a6], 0
je 0x4e38b2
mov edx, esi
mov eax, ebx
call fcn.004ed288
cmp byte [0x51289c], 0
je 0x4e3843
mov byte [0x51289c], 0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e3843
push 0
push 0xf030
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
jne 0x4e38a8
cmp dword [esi + 4], 0
jne 0x4e386b
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_GetDC
mov ebp, eax
lea ecx, [esp + 0x70]
xor edx, edx
xor eax, eax
call fcn.0040659c
lea eax, [esp + 0x70]
push eax
push 0
push 1
mov cl, 1
mov edx, dword [ebx + 0x22c]
mov eax, ebp
call fcn.004c1d8c
cmp dword [esi + 4], 0
jne 0x4e38a8
push ebp
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_ReleaseDC
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4e3936
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp 0x4e3936
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x1a6], 0
je 0x4e3928
test byte [ebx + 0x1c], 8
jne 0x4e38f5
mov eax, dword [ebx + 0x54]
cmp byte [eax + 0x39], 0
je 0x4e38f5
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_InvalidateRect
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_BeginPaint
lea eax, [esp + 0x30]
push eax
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_EndPaint
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4e3936
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp byte [ebx + 0x78], 0
jne 0x4e3965
mov eax, dword [ebx + 0x22c]
cmp dword [eax + 0x248], 0
je 0x4e3965
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov eax, ebx
call fcn.004db6bc
test al, al
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp word [eax + 0x2ba], 0
je case.0x4df8ea.0
mov esi, dword [ebx + 0x22c]
mov edx, dword [ebx + 0x22c]
mov eax, dword [esi + 0x2bc]
call dword [esi + 0x2b8]
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [0x512cd4]
cmp dword [eax], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
call fcn.00454c34
test al, al
je case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
call fcn.004dcf78
jmp case.0x4df8ea.0
test byte [ebx + 0x1c], 8
jne 0x4e3ffe
cmp byte [ebx + 0x78], 0
je 0x4e3ffe
mov eax, dword [ebx + 0x22c]
call fcn.00454c34
test al, al
je 0x4e3ffe
cmp dword [ebx + 0x234], 0
jne 0x4e3a20
mov eax, ebx
call fcn.004ec058
or dword [ebx + 0x20c], 0x8000
mov eax, dword [ebx + 0x20c]
and eax, 0x80
cmp eax, 0x80
je 0x4e3a49
cmp dword [esi + 4], 1
sbb eax, eax
inc eax
mov byte [ebx + 0x224], al
cmp byte [ebx + 0x224], 0
jne 0x4e3a64
cmp byte [ebx + 0x201], 3
jne 0x4e3a64
mov byte [ebx + 0x201], 0
jmp 0x4e3a92
cmp byte [ebx + 0x201], 3
je 0x4e3a80
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
xor edx, edx
mov eax, dword [ebx + 0x54]
call fcn.004d1a6c
jmp 0x4e3a92
cmp dword [ebx + 0x248], 0
sete dl
mov eax, dword [ebx + 0x54]
call fcn.004d1a6c
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x1a6], 0
je 0x4e3d1d
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4e3d1d
cmp word [esi + 4], 0
setne al
cmp al, byte [ebx + 0x224]
je 0x4e3ad5
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
call fcn.004db560
test al, al
je 0x4e3bdf
cmp dword [ebx + 0x248], 0
jne 0x4e3b07
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e3c37
mov eax, dword [ebx + 0x54]
cmp dword [eax + 0x44], 0
je 0x4e3c37
mov eax, ebx
call fcn.004ea96c
test eax, eax
jle 0x4e3c37
mov eax, dword [ebx + 0x248]
cmp dword [eax + 0x18], 0
jne 0x4e3b3a
mov eax, dword [ebx + 0x248]
call fcn.004f30b0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x248]
call fcn.004f2f48
push eax
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x2e0], 0
je 0x4e3b9a
push 0
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
mov edx, dword [ebx + 0x22c]
xor ecx, ecx
mov cl, byte [edx + 0x2e1]
mov edx, dword [ebx + 0x54]
mov edx, dword [edx + 0x44]
call fcn.004da250
jmp 0x4e3bba
push 0
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
mov edx, dword [ebx + 0x54]
mov edx, dword [edx + 0x44]
mov ecx, 0xff
call fcn.004da250
push 0x613
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4e3c37
cmp byte [ebx + 0x203], 0
jne 0x4e3bf1
cmp byte [ebx + 0x1fc], 0
je 0x4e3c0a
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e3c37
cmp dword [ebx + 0x248], 0
je 0x4e3c1e
mov eax, ebx
call fcn.004db278
test al, al
je 0x4e3c37
mov eax, dword [ebx + 0x22c]
cmp word [eax + 0x2ba], 0
jne 0x4e3c37
xor edx, edx
mov eax, ebx
call fcn.004dba5c
cmp dword [ebx + 0x248], 0
je 0x4e3c5b
cmp byte [ebx + 0x203], 0
jne 0x4e3c5b
call fcn.004db560
test al, al
jne 0x4e3c5b
xor edx, edx
mov eax, ebx
call fcn.004dbf34
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
call fcn.004db560
test al, al
je 0x4e3cb2
cmp dword [ebx + 0x248], 0
jne 0x4e3d2b
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
push 0x181
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4e3d2b
cmp byte [ebx + 0x203], 0
jne 0x4e3cc4
cmp byte [ebx + 0x1fc], 0
je 0x4e3cdd
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e3cf8
cmp dword [ebx + 0x248], 0
je 0x4e3cf1
mov eax, ebx
call fcn.004db278
test al, al
je 0x4e3cf8
mov eax, ebx
call fcn.004dbd58
cmp byte [ebx + 0x1fc], 0
je 0x4e3d2b
push 0x85
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4e3d2b
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp dword [ebx + 0x22c], 0
je 0x4e3e13
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x57], 0
je 0x4e3e13
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e3e13
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x2f4], 0x10
je 0x4e3e13
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x2f4], 4
je 0x4e3e13
mov eax, dword [0x512d34]
cmp dword [eax], 0
je 0x4e3e13
mov eax, dword [0x512d34]
mov eax, dword [eax]
cmp dword [eax + 0x220], 0
je 0x4e3e13
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x39], 1
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov dword [eax + 0x230], 0xffffffff
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x220]
call fcn.0048b308
push 0
push 0
push 0x85
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x85
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_SendMessageA
push 0xffffffffffffffec
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
jne 0x4e3e42
cmp dword [ebx + 0x1f8], 0
jne 0x4e3e42
mov eax, ebx
call fcn.004ee18c
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x54], 0x40
jne case.0x4df8ea.0
mov eax, ebx
call fcn.004dc374
test al, al
je 0x4e3ef8
mov eax, dword [ebx + 0x20c]
and eax, 0x80
cmp eax, 0x80
je 0x4e3ef8
mov eax, ebx
call fcn.004eafc8
test al, al
je 0x4e3ed0
cmp word [esi + 4], 0
jne 0x4e3e9d
mov eax, dword [ebx + 0x22c]
call fcn.0046800c
cmp byte [eax + 0x22e], 0
je 0x4e3ef8
cmp word [esi + 4], 0
jne 0x4e3ebc
mov eax, dword [ebx + 0x22c]
call fcn.0046800c
cmp byte [eax + 0x22e], 0
jne 0x4e3ebc
xor eax, eax
jmp 0x4e3ebe
mov al, 1
mov byte [ebx + 0x224], al
mov dword [ebx + 0x230], 0xffffffff
jmp 0x4e3ef8
cmp word [esi + 4], 0
setne al
cmp al, byte [ebx + 0x224]
je 0x4e3ef8
cmp word [esi + 4], 0
setne al
mov byte [ebx + 0x224], al
mov dword [ebx + 0x230], 0xffffffff
and dword [ebx + 0x20c], 0xffff7fff
cmp dword [ebx + 0x1f8], 0
je 0x4e3f17
mov eax, dword [ebx + 0x1f8]
cmp byte [eax + 0x30], 0
jne 0x4e3f6e
mov eax, ebx
call fcn.004ee18c
mov eax, dword [0x512968]
cmp byte [eax], 0
je 0x4e3f56
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 2
jne 0x4e3f56
cmp dword [ebx + 0x248], 0
je 0x4e3f56
lea eax, [ebx + 0x248]
call fcn.0040dc78
xor edx, edx
mov eax, ebx
call fcn.004dbf34
jmp 0x4e3f6e
cmp dword [ebx + 0x248], 0
je 0x4e3f6e
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x248]
call fcn.004f20a4
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
test byte [eax + 0x1c], 0x10
jne 0x4e3f8f
xor edx, edx
mov eax, dword [ebx + 0x54]
call fcn.004d1a70
mov edx, eax
mov eax, ebx
call fcn.004eb454
cmp byte [ebx + 0x9d], 0
jne 0x4e3fd3
mov eax, dword [ebx + 0x22c]
cmp dword [eax + 0x248], 0
je 0x4e3fc6
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x22c]
mov edx, dword [edx + 0x248]
mov cl, byte [ebx + 0x78]
call fcn.004d7954
mov eax, ebx
call fcn.004eb050
mov byte [ebx + 0x9d], al
xor edx, edx
mov eax, dword [ebx + 0x54]
call fcn.004d1a70
test al, al
je case.0x4df8ea.0
cmp dword [ebx + 0x208], 0
jne case.0x4df8ea.0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp dword [ebx + 0x248], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x20c]
and eax, 0x100
cmp eax, 0x100
je case.0x4df8ea.0
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x248]
call fcn.004f20a4
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e4132
mov eax, dword [0x512d34]
cmp dword [eax], 0
je 0x4e4132
mov eax, dword [0x512d34]
mov eax, dword [eax]
test byte [eax + 0x1c], 8
jne 0x4e4132
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 2
je 0x4e40fc
mov byte [ebx + 0x9d], 0
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov byte [eax + 0x211], 1
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x39], 1
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov dword [eax + 0x230], 0xffffffff
push 0
push 0
push 0x85
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e4132
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x39], 1
push 0
push 0
push 0x85
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
mov al, 1
call fcn.004dedbc
mov dword [0x5128a0], ebx
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x1a6], 0
je 0x4e41fb
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp dword [ebx + 0x204], 0
jne 0x4e417c
cmp byte [ebx + 0x78], 0
je 0x4e417c
lea edx, [ebx + 0x204]
xor ecx, ecx
mov eax, ebx
call fcn.004dc270
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x54], 0x40
jne case.0x4df8ea.0
mov dword [ebx + 0x230], 0xffffffff
cmp word [esi + 4], 1
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
test byte [eax + 0x1c], 0x10
jne 0x4e41c2
xor edx, edx
mov eax, dword [ebx + 0x54]
call fcn.004d1a70
mov edx, eax
mov eax, ebx
call fcn.004eb454
cmp dword [ebx + 0x234], 0
je 0x4e41d8
xor edx, edx
mov eax, dword [ebx + 0x234]
call fcn.004eecec
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x229], 0
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
call fcn.004c1b70
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
cmp byte [ebx + 0x1fc], 0
je 0x4e4241
cmp dword [esi + 4], 1
jne 0x4e4241
mov byte [ebx + 0x1fc], 0
mov eax, ebx
call fcn.004edf9c
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
call fcn.00503338
mov edx, eax
mov eax, ebx
call fcn.004edab8
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp dword [esi + 4], 0
jne 0x4e4296
cmp dword [ebx + 0x54], 0
je 0x4e428a
mov eax, dword [ebx + 0x54]
cmp dword [eax + 0x44], 0
je 0x4e428a
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x1c], 8
jne 0x4e428a
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, ebx
call fcn.004edd28
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp dword [eax + 0x30], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
call fcn.004c1b70
jmp case.0x4df8ea.0
cmp byte [ebx + 0x58], 1
jne 0x4e4304
cmp byte [0x512880], 0
je 0x4e4304
lea ecx, [esp + 0x70]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.0040659c
lea edx, [esp + 0x70]
lea ecx, [esp + 4]
mov eax, dword [ebx + 0x22c]
call fcn.0044dc60
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, ebx
call fcn.004eb5d0
call sub.user32.dll_ReleaseCapture
mov byte [0x512880], 0
mov byte [0x512884], 0
mov eax, dword [esi + 4]
sub eax, 2
je 0x4e433f
dec eax
jne 0x4e443f
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
cmp byte [eax + 0x58], 0
jne 0x4e432f
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x1c], 1
mov eax, dword [ebx + 0x22c]
call fcn.0046a928
jmp case.0x4df8ea.0
cmp byte [ebx + 0x43], 0
je 0x4e4363
mov eax, dword [ebx + 0x234]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4e4387
mov eax, dword [ebx + 0x234]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
jne 0x4e4387
mov eax, ebx
call fcn.004dc374
test al, al
jne 0x4e43f6
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e43f6
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 2
je 0x4e43ab
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e43ca
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
jmp 0x4e43e7
push 0
push 0xf030
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [ebx + 0x234]
call fcn.004eecec
jmp 0x4e4435
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e4435
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [ebx + 0x234]
call fcn.004eecec
xor eax, eax
mov dword [esi + 4], eax
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 2
jne 0x4e4471
mov eax, dword [0x512d34]
cmp ebx, dword [eax]
jne 0x4e4471
mov eax, dword [0x512d34]
mov dword [eax], ebx
mov eax, ebx
call fcn.004db278
test al, al
je 0x4e44c3
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
test eax, eax
je 0x4e44c3
mov eax, dword [esi + 8]
cmp dword [eax], 1
jne 0x4e44c3
mov eax, dword [esi + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x248]
xor ecx, ecx
call fcn.004617b8
mov edi, eax
test edi, edi
je 0x4e44c3
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x44]
mov cl, 1
mov edx, edi
call fcn.004d788c
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
je 0x4e4662
mov ax, word [esi + 4]
sub ax, 0xf012
je 0x4e4504
sub ax, 0x1e
je 0x4e4517
sub ax, 0xf0
je 0x4e457a
jmp 0x4e4662
mov eax, dword [ebx + 0x22c]
mov edx, dword [eax]
call dword [edx + 0x80]
jmp 0x4e4662
mov eax, dword [ebx + 0x22c]
cmp dword [eax + 0x30], 0
jne 0x4e4662
cmp dword [ebx + 0x1f8], 0
je 0x4e4662
mov eax, dword [ebx + 0x1f8]
cmp byte [eax + 0xec], 0
je 0x4e4662
call fcn.004f581c
mov byte [esp + 0xe], al
xor eax, eax
call fcn.004f584c
mov eax, ebx
call fcn.004da788
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov al, byte [esp + 0xe]
call fcn.004f584c
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x20c]
and eax, 0x200
cmp eax, 0x200
jne 0x4e45d5
and dword [ebx + 0x20c], 0xfffffdff
cmp dword [ebx + 0x248], 0
je 0x4e45a9
mov eax, dword [ebx + 0x248]
mov byte [eax + 0x28], 0
call fcn.004f581c
mov byte [esp + 0xe], al
xor eax, eax
call fcn.004f584c
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov al, byte [esp + 0xe]
call fcn.004f584c
jmp case.0x4df8ea.0
mov eax, dword [0x512ca4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x22c]
je 0x4e4662
call fcn.004f581c
mov byte [esp + 0xe], al
xor eax, eax
call fcn.004f584c
cmp dword [ebx + 0x248], 0
je 0x4e460c
mov eax, dword [ebx + 0x248]
cmp dword [eax + 0x18], 0
je 0x4e4620
cmp dword [ebx + 0x248], 0
jne 0x4e4646
mov eax, ebx
call fcn.004defec
test al, al
je 0x4e4646
cmp dword [ebx + 0x248], 0
je 0x4e4634
lea eax, [ebx + 0x248]
call fcn.0040dc78
mov dl, 1
mov eax, ebx
call fcn.004edab8
xor edx, edx
mov eax, ebx
call fcn.004dbf34
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov al, byte [esp + 0xe]
call fcn.004f584c
jmp case.0x4df8ea.0
cmp byte [ebx + 0x58], 1
jne 0x4e46e5
mov eax, dword [ebx + 0x22c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4e46e5
cmp byte [0x512880], 0
jne 0x4e46e5
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf010
jne 0x4e46b0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SetCapture
mov byte [0x512888], 1
mov byte [0x513f04], 1
jmp 0x4e46e5
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf000
jne 0x4e46e5
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SetCapture
xor eax, eax
mov dword [0x513f28], eax
mov byte [0x512888], 1
mov byte [0x513f04], 0
mov eax, dword [ebx + 0x22c]
mov al, byte [eax + 0x22f]
dec al
je 0x4e4702
dec al
je 0x4e4a93
jmp 0x4e4b22
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 2
jne 0x4e4729
cmp dword [esi + 4], 0xf030
je 0x4e4729
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 0
jne 0x4e472d
xor eax, eax
jmp 0x4e472f
mov al, 1
mov byte [esp + 0xc], al
cmp byte [esp + 0xc], 0
je 0x4e4749
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
call fcn.004d126c
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf060
jg 0x4e4773
je 0x4e478c
sub eax, 0xf020
je 0x4e4976
sub eax, 0x10
je 0x4e49b2
jmp 0x4e4a61
sub eax, 0xf100
je 0x4e4a6f
sub eax, 0x20
je 0x4e4834
jmp 0x4e4a61
mov eax, dword [0x512d34]
cmp dword [eax], 0
je 0x4e47b4
mov eax, dword [0x512d34]
mov eax, dword [eax]
cmp dword [eax + 0x220], 0
je 0x4e47b4
cmp byte [esp + 0xc], 0
je 0x4e47b4
mov al, 1
call fcn.004dedbc
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov byte [eax + 0x1ff], 1
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x1c], 8
jne 0x4e47ed
test byte [ebx + 0x1c], 8
jne 0x4e47ed
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004e7230
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov byte [eax + 0x1ff], 0
mov eax, dword [0x512d34]
cmp dword [eax], 0
je case.0x4df8ea.0
mov eax, dword [0x512d34]
mov eax, dword [eax]
cmp dword [eax + 0x220], 0
je case.0x4df8ea.0
cmp byte [esp + 0xc], 0
je case.0x4df8ea.0
mov al, 1
call fcn.004dedbc
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 1
jne 0x4e4848
mov byte [esp + 0xc], 1
cmp byte [0x51289c], 0
jne case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
cmp byte [ebx + 0x78], 0
je 0x4e489c
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowLongA
push 0x505
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
call fcn.00468040
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4e4956
inc ebp
xor edi, edi
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
mov edx, edi
call fcn.0046808c
cmp eax, dword [ebx + 0x22c]
je 0x4e4952
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
mov edx, edi
call fcn.0046808c
cmp byte [eax + 0x22b], 2
jne 0x4e492a
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
mov edx, edi
call fcn.0046808c
xor edx, edx
call fcn.004686b4
push 0x506
push 0
push 0
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
mov edx, edi
call fcn.0046808c
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
inc edi
dec ebp
jne 0x4e48d6
cmp byte [esp + 0xc], 0
je 0x4e4964
mov al, 1
call fcn.004dedbc
mov dl, 1
mov eax, dword [ebx + 0x234]
call fcn.004eecec
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp byte [esp + 0xc], 0
je 0x4e4992
mov al, 1
call fcn.004dedbc
mov dl, 1
mov eax, dword [ebx + 0x234]
call fcn.004eecec
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
mov al, 1
call fcn.004dedbc
jmp case.0x4df8ea.0
mov dword [0x5128a0], ebx
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xefffffff
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowLongA
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowLongA
push 0x506
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [0x512d34]
mov eax, dword [eax]
cmp dword [eax + 0x220], 0
je 0x4e4a4f
mov al, 1
call fcn.004dedbc
mov dl, 1
mov eax, dword [ebx + 0x234]
call fcn.004eecec
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [0x512d34]
cmp dword [eax], 0
je 0x4e4dae
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
xor edx, edx
call fcn.004d1434
jmp 0x4e4dae
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [esi + 4]
sub eax, 0xf020
je 0x4e4abb
sub eax, 0x10
je 0x4e4abb
sub eax, 0xf0
jne 0x4e4dae
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x39], 1
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov dword [eax + 0x230], 0xffffffff
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SendMessageA
cmp dword [esi + 4], 0xf030
jne 0x4e4dae
cmp dword [ebx + 0x248], 0
je 0x4e4dae
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x248]
call fcn.004f20a4
jmp 0x4e4dae
mov eax, dword [esi + 4]
sub eax, 0xf030
je 0x4e4b33
sub eax, 0xf0
jne 0x4e4b5a
cmp dword [ebx + 0x248], 0
je 0x4e4b5a
mov eax, dword [0x512968]
cmp byte [eax], 0
jne 0x4e4b4f
cmp dword [esi + 4], 0xf120
jne 0x4e4b5a
lea eax, [ebx + 0x248]
call fcn.0040dc78
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [esi + 4]
sub eax, 0xf020
je 0x4e4d8b
sub eax, 0x10
je 0x4e4cb2
sub eax, 0xd0
je 0x4e4b94
sub eax, 0x20
je 0x4e4cb2
jmp 0x4e4dae
cmp word [esi + 8], 0x20
jne 0x4e4dae
cmp byte [ebx + 0x43], 0
je 0x4e4dae
mov eax, ebx
call fcn.004dc374
test al, al
je 0x4e4dae
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e4c41
lea edx, [esp + 0x70]
mov eax, ebx
call fcn.004ea0f0
mov edi, dword [esp + 0x74]
mov dl, 1
mov eax, ebx
call fcn.004dccc0
add edi, eax
lea edx, [esp + 0x80]
mov eax, ebx
call fcn.004ea1d0
lea eax, [esp + 0x80]
xor edx, edx
call fcn.004f58c0
add edi, eax
sub edi, 0x10
push edi
mov eax, dword [ebx + 0x22c]
call fcn.00454930
mov cl, 1
mov edx, dword [ebx + 0x248]
call fcn.004db2d4
mov edi, eax
lea edx, [esp + 0x7c]
mov eax, ebx
call fcn.004ea0f0
add edi, dword [esp + 0x7c]
mov edx, edi
mov eax, ebx
pop ecx
call fcn.004ea374
jmp 0x4e4dae
lea edx, [esp + 0x70]
mov eax, ebx
call fcn.004ea0f0
mov edi, dword [esp + 0x74]
mov dl, 1
mov eax, ebx
call fcn.004dccc0
add edi, eax
lea edx, [esp + 0x80]
mov eax, ebx
call fcn.004ea1d0
lea eax, [esp + 0x80]
xor edx, edx
call fcn.004f58c0
add edi, eax
push edi
mov eax, dword [ebx + 0x22c]
call fcn.00454930
mov cl, 1
mov edx, dword [ebx + 0x248]
call fcn.004db2d4
mov edi, eax
lea edx, [esp + 0x7c]
mov eax, ebx
call fcn.004ea0f0
add edi, dword [esp + 0x7c]
mov edx, edi
mov eax, ebx
pop ecx
call fcn.004ea374
jmp 0x4e4dae
mov eax, dword [ebx + 0x234]
mov edx, dword [eax]
call dword [edx + 0x48]
test al, al
je 0x4e4cc8
mov dword [ebx + 0x38], 9
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004e7230
cmp dword [esi + 4], 0xf120
jne 0x4e4dae
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 1
mov byte [ebx + 0x9e], 1
mov eax, ebx
call fcn.004dc374
test al, al
jne 0x4e4d13
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowRgn
jmp 0x4e4dae
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
test eax, eax
je 0x4e4d6f
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
call fcn.00503338
test al, al
je 0x4e4d6f
cmp byte [ebx + 0x79], 0
je 0x4e4d6f
cmp byte [ebx + 0x78], 0
je 0x4e4d6f
mov eax, dword [ebx + 0x22c]
cmp dword [eax + 0x30], 0
jne 0x4e4d6f
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
je 0x4e4d6f
mov dl, 1
mov eax, ebx
call fcn.004edab8
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x248]
call fcn.004f20a4
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4e4dae
mov eax, dword [ebx + 0x54]
cmp dword [eax + 0x44], 0
je 0x4e4dae
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ax, word [esi + 4]
sub ax, 0xf020
jne case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4e4dd7
mov byte [ebx + 0x203], 0
cmp dword [ebx + 0x248], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x248]
cmp dword [eax + 0x18], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x20c]
and eax, 0x100
cmp eax, 0x100
je case.0x4df8ea.0
mov eax, dword [ebx + 0x248]
mov byte [eax + 0x28], 1
mov eax, dword [ebx + 0x248]
add eax, 0x18
call fcn.0040dc78
mov eax, dword [ebx + 0x248]
mov byte [eax + 0x28], 0
jmp case.0x4df8ea.0
cmp byte [ebx + 0x210], 0
jne 0x4e537b
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x1c], 1
jne 0x4e537b
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsZoomed
test eax, eax
jne 0x4e506a
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x4e506a
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0
jne 0x4e4e8f
mov eax, dword [esi + 8]
cmp dword [eax + 0xc], 0
je 0x4e506a
mov ebp, dword [esi + 8]
mov eax, dword [0x512968]
cmp byte [eax], 0
je 0x4e4ec8
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22b], 0
jne 0x4e4ec8
cmp dword [ebx + 0x248], 0
jne 0x4e4ec8
mov eax, ebx
call fcn.004defec
test al, al
je 0x4e4ec8
mov dl, 1
mov eax, ebx
call fcn.004edab8
cmp byte [ebx + 0x5a], 0
je 0x4e4fc5
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x1a6], 0
je 0x4e4fc5
lea edx, [esp + 0x20]
mov eax, dword [ebx + 0x22c]
call fcn.004defd4
cmp dword [ebx + 0x248], 0
je 0x4e4f26
mov eax, dword [ebx + 0x248]
call fcn.004db43c
mov edi, eax
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x34]
call fcn.004d14c4
mov eax, dword [eax + 0x9c]
movsx eax, word [eax + 0x32]
add edi, eax
jmp 0x4e4f28
xor edi, edi
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x48]
add eax, edi
push eax
lea eax, [ebp + 8]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 0x2c]
call fcn.004def20
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x4c]
add eax, edi
push eax
lea eax, [ebp + 0xc]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 0x30]
call fcn.004def20
neg edi
push edi
lea eax, [ebp + 8]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 0x24]
call fcn.004def20
cmp dword [ebx + 0x248], 0
je 0x4e4fb4
mov eax, dword [ebx + 0x248]
call fcn.004db400
mov edi, eax
neg edi
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x34]
call fcn.004d14c4
mov eax, dword [eax + 0x9c]
movsx eax, word [eax + 0x32]
sub edi, eax
push edi
lea eax, [ebp + 0xc]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 0x28]
call fcn.004def20
jmp 0x4e4fc5
push 0
lea eax, [ebp + 0xc]
mov ecx, dword [ebx + 0x5c]
mov edx, dword [esp + 0x28]
call fcn.004def20
test byte [ebx + 0x20d], 0x60
je 0x4e506a
push esi
lea esi, [ebx + 0xb4]
lea edi, [esp + 0x24]
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 + 0x20c]
and eax, 0x2000
cmp eax, 0x2000
jne 0x4e5044
mov eax, dword [ebx + 0x22c]
mov eax, dword [eax + 0x44]
mov edx, dword [esi + 8]
cmp eax, dword [edx + 0xc]
jne 0x4e5028
mov eax, dword [esi + 8]
mov edx, dword [ebx + 0xb8]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x22c]
mov edx, dword [ebx + 0xb8]
sub edx, dword [eax + 0x44]
mov eax, dword [esi + 8]
sub dword [eax + 0x14], edx
jmp 0x4e503a
mov eax, dword [ebx + 0xb8]
add eax, dword [ebx + 0xc0]
mov edx, dword [esi + 8]
mov dword [edx + 0x14], eax
and dword [ebx + 0x20c], 0xffffdfff
mov eax, dword [ebx + 0x20c]
and eax, 0x4000
cmp eax, 0x4000
jne 0x4e5060
and dword [ebx + 0x20c], 0xffffbfff
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
test eax, eax
je 0x4e537b
call fcn.004c3670
test al, al
je 0x4e537b
cmp byte [ebx + 0x78], 0
je 0x4e537b
cmp byte [ebx + 0x202], 0
jne 0x4e537b
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
jne 0x4e5245
mov eax, dword [ebx + 0x54]
cmp dword [eax + 0x44], 0
je 0x4e5245
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4e537b
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
cmp byte [eax + 0x99], 2
je 0x4e537b
cmp byte [ebx + 0x95], 0
je 0x4e537b
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4e537b
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp word [eax + 4], 0
jbe 0x4e537b
mov eax, dword [ebx + 0x20c]
and eax, 0x200
cmp eax, 0x200
je 0x4e537b
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
je 0x4e537b
or dword [ebx + 0x20c], 0x200
mov dl, 1
mov eax, ebx
call fcn.004db068
mov edx, dword [ebx + 0x54]
mov dword [edx + 0x44], eax
cmp dword [ebx + 0x248], 0
je 0x4e522a
mov eax, dword [ebx + 0x248]
mov byte [eax + 0x28], 1
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x2e0], 0
je 0x4e51a4
mov eax, dword [ebx + 0x22c]
movzx edi, byte [eax + 0x2e1]
jmp 0x4e51a9
mov edi, 0xff
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x248]
call fcn.004f2f48
push eax
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowRgn
push 0
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
mov edx, dword [ebx + 0x54]
mov edx, dword [edx + 0x44]
mov ecx, edi
call fcn.004da250
push 0x65b
push 0
push 0
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x40]
push eax
push 0
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4e537b
mov eax, dword [ebx + 0x22c]
call fcn.00454930
call fcn.004da374
mov dword [ebx + 0xac], eax
jmp 0x4e537b
cmp dword [ebx + 0x248], 0
je 0x4e537b
mov eax, dword [ebx + 0x248]
cmp dword [eax + 0x18], 0
je 0x4e537b
mov eax, dword [esi + 8]
cmp dword [eax + 0x10], 0
je 0x4e537b
mov eax, dword [esi + 8]
cmp dword [eax + 0x14], 0
je 0x4e537b
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x10
cmp eax, 0x10
jne 0x4e537b
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x4e537b
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 1
cmp eax, 1
je 0x4e537b
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebx + 0x1e4]
jl 0x4e52d2
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x14]
cmp eax, dword [ebx + 0x1e8]
jge 0x4e537b
cmp dword [ebx + 0x204], 0
je 0x4e5300
mov eax, dword [ebx + 0x204]
mov eax, dword [eax + 0x80]
cmp byte [eax + 6], 0
jne 0x4e537b
mov eax, dword [ebx + 0x204]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 6], 0
jne 0x4e537b
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454c34
test al, al
je 0x4e537b
or dword [ebx + 0x20c], 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 + 0x248]
call fcn.004f2f48
push eax
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowRgn
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
push eax
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowPos
and dword [ebx + 0x20c], 0xfffffffe
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, dword [0x512e34]
mov byte [eax], 1
mov eax, dword [0x512ca4]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4e53be
jmp 0x4e53b4
mov eax, dword [0x512ca4]
mov eax, dword [eax]
call fcn.0046de2c
mov eax, dword [0x512c1c]
cmp dword [eax], 0
jg 0x4e53a8
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
test eax, eax
je 0x4e574f
call fcn.004c3670
test al, al
je 0x4e574f
cmp byte [ebx + 0x78], 0
je 0x4e574f
cmp dword [ebx + 0x248], 0
je 0x4e546c
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4e546c
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x9c]
cmp word [eax + 0x2e], 0
je 0x4e543f
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x9c]
movsx edi, word [eax + 0x2e]
jmp 0x4e5451
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x9c]
movsx edi, word [eax + 0x2c]
mov eax, dword [ebx + 0x22c]
call fcn.004db33c
add eax, 4
cmp edi, eax
setl al
mov byte [ebx + 0x1ec], al
jmp 0x4e5473
mov byte [ebx + 0x1ec], 0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
jne 0x4e5603
cmp byte [ebx + 0x202], 0
jne 0x4e5603
mov eax, dword [ebx + 0x54]
cmp dword [eax + 0x44], 0
je 0x4e5603
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4e5603
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
cmp byte [eax + 0x99], 2
jne 0x4e5511
mov eax, dword [0x512ca4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x22c]
jne 0x4e5511
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4e5603
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov byte [ebx + 0x203], 0
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
cmp byte [eax + 0x99], 2
je 0x4e55e0
cmp byte [ebx + 0x95], 0
je 0x4e5603
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4e5603
mov eax, dword [ebx + 0x22c]
cmp dword [eax + 0x30], 0
jne 0x4e5603
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
je 0x4e5603
call fcn.004db560
test al, al
je 0x4e5589
mov eax, dword [ebx + 0x22c]
call fcn.00454930
mov dl, 1
call fcn.004def48
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov byte [ebx + 0x202], 1
mov eax, ebx
call fcn.004bfa9c
mov eax, dword [0x512ca4]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne case.0x4df8ea.0
call fcn.004db560
test al, al
je 0x4e55d4
mov eax, dword [ebx + 0x22c]
call fcn.00454930
xor edx, edx
call fcn.004def48
mov byte [ebx + 0x202], 0
jmp case.0x4df8ea.0
cmp dword [ebx + 0x248], 0
je 0x4e5603
mov eax, dword [ebx + 0x248]
cmp dword [eax + 0x18], 0
je 0x4e5603
mov eax, dword [ebx + 0x248]
add eax, 0x18
call fcn.0040dc78
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp byte [ebx + 0x200], 0
jne case.0x4df8ea.0
cmp dword [ebx + 0x248], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x57], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne case.0x4df8ea.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 8
cmp eax, 8
je case.0x4df8ea.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x20
cmp eax, 0x20
je case.0x4df8ea.0
mov eax, dword [ebx + 0x20c]
and eax, 0x80
cmp eax, 0x80
je case.0x4df8ea.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 3
cmp eax, 3
jne 0x4e573b
mov eax, dword [ebx + 0x248]
cmp dword [eax + 0x18], 0
je 0x4e573b
call fcn.004db560
test al, al
je 0x4e5709
mov eax, dword [0x512ca4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x22c]
jne 0x4e5709
mov eax, dword [ebx + 0x22c]
call fcn.00454930
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x4e5709
push 0x65b
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4df8ea.0
push 0x65b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x22c]
call fcn.00454930
push eax
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4df8ea.0
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x248]
call fcn.004f20a4
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
cmp byte [ebx + 0x95], 0
je 0x4e58df
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4e58df
mov eax, dword [ebx + 0x54]
call fcn.004d14c4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp word [eax + 4], 0
jbe 0x4e58df
cmp byte [ebx + 0x78], 0
je 0x4e58df
mov eax, dword [ebx + 0x20c]
and eax, 0x200
cmp eax, 0x200
je 0x4e58df
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x1c], 8
jne case.0x4df8ea.0
or dword [ebx + 0x20c], 0x200
mov dl, 1
mov eax, ebx
call fcn.004db068
mov edx, dword [ebx + 0x54]
mov dword [edx + 0x44], eax
and dword [ebx + 0x20c], 0xfffffdff
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x39], 0
cmp dword [ebx + 0x248], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x248]
cmp dword [eax + 0x18], 0
je case.0x4df8ea.0
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454c34
test al, al
je case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x2e0], 0
je 0x4e5859
mov eax, dword [ebx + 0x22c]
movzx edi, byte [eax + 0x2e1]
jmp 0x4e585e
mov edi, 0xff
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x248]
call fcn.004f2f48
push eax
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowRgn
push 0
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
mov edx, dword [ebx + 0x54]
mov edx, dword [edx + 0x44]
mov ecx, edi
call fcn.004da250
push 0x65b
push 0
push 0
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x40]
push eax
push 0
mov eax, dword [ebx + 0x248]
mov eax, dword [eax + 0x18]
call fcn.00454930
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
jne 0x4e5962
mov eax, dword [0x512d34]
cmp dword [eax], 0
jne 0x4e5921
mov eax, dword [0x512ca4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.00454930
xor edx, edx
call fcn.004a91ec
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
call fcn.0046800c
test eax, eax
je 0x4e595b
mov eax, dword [0x512d34]
mov eax, dword [eax]
mov eax, dword [eax + 0x22c]
call fcn.0046800c
cmp byte [eax + 0x22b], 2
jne 0x4e595b
mov byte [0x51289c], 1
jmp 0x4e5962
mov byte [0x51289c], 0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [ebx + 0x22c]
cmp byte [eax + 0x22f], 1
je case.0x4df8ea.0
mov eax, ebx
call fcn.004ec058
jmp case.0x4df8ea.0
test byte [ebx + 0x1c], 1
jne 0x4e5a3c
mov eax, dword [ebx + 0x22c]
test byte [eax + 0x1c], 1
jne 0x4e5a3c
mov eax, dword [esi + 4]
and eax, 0xffff
dec eax
je 0x4e59c1
mov eax, dword [esi + 4]
and eax, 0xffff
cmp eax, 2
jne 0x4e5a3c
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
cmp dword [ebx + 0x208], 0
je 0x4e59ec
cmp word [esi + 4], 1
jne 0x4e59ec
xor edx, edx
mov eax, dword [ebx + 0x208]
call fcn.004ef7c4
push 0
lea eax, [esp + 0x14]
push eax
mov dx, 0x24
xor eax, eax
call fcn.004072a4
mov edx, eax
mov eax, dword [0x5129d0]
mov eax, dword [eax]
mov ecx, 1
call fcn.004f5788
lea edx, [esp + 0x10]
mov eax, dword [ebx + 0x22c]
call fcn.004c24c0
cmp byte [ebx + 0x78], 0
je case.0x4df8ea.0
mov dl, 1
mov eax, dword [ebx + 0x204]
call fcn.0048eaf8
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
sub eax, 0xfffffdd9
jne case.0x4df8ea.0
cmp dword [ebx + 0x208], 0
je case.0x4df8ea.0
xor edx, edx
mov eax, dword [ebx + 0x208]
call fcn.004ef7c4
jmp case.0x4df8ea.0
cmp dword [esi + 4], 0
je 0x4e5b20
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
mov eax, dword [esi + 4]
mov edx, dword [0x449f28]
call fcn.0040363c
test al, al
je 0x4e5aff
cmp dword [ebx + 0x208], 0
je 0x4e5ace
mov edx, dword [esi + 4]
mov eax, dword [ebx + 0x208]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
lea eax, [esp + 0x14]
push eax
mov dx, 0x24
xor eax, eax
call fcn.004072a4
mov edx, eax
mov eax, dword [0x5129d0]
mov eax, dword [eax]
mov ecx, 1
call fcn.004f5788
lea edx, [esp + 0x10]
mov eax, dword [esi + 4]
call fcn.004c24c0
push 1
mov dx, 0x24
xor eax, eax
call fcn.004072a4
mov ecx, eax
mov edx, dword [0x5129d0]
mov edx, dword [edx]
mov eax, dword [esi + 4]
call fcn.0044f2fc
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
jmp case.0x4df8ea.0
mov edx, esi
mov eax, dword [ebx + 0x21c]
call dword [ebx + 0x218]
add esp, 0xa8
pop ebp
pop edi
pop esi
pop ebx
ret