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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff44
mov ebx, edx
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [0x6604e8]
cmp eax, dword [edx]
jne 0x4d933d
movzx eax, word [ebx + 6]
cmp eax, 0x22
jg 0x4d8eba
je 0x4d91a8
dec eax
je 0x4d90e8
dec eax
je 0x4d8ed8
sub eax, 5
je 0x4d9160
sub eax, 0x19
je 0x4d916c
jmp 0x4d933d
sub eax, 0x24
je 0x4d932e
sub eax, 0x18
je 0x4d912c
dec eax
je 0x4d913b
jmp 0x4d933d
mov eax, dword [esi + 0x50]
call fcn.00527c34
cmp eax, dword [ebx + 8]
jne 0x4d90d6
cmp dword [esi + 0x224], 0
je 0x4d8efd
lea eax, [esi + 0x224]
call fcn.00411188
mov eax, dword [esi + 0x24c]
call fcn.00465948
xor ecx, ecx
xor edx, edx
call fcn.004d50d0
mov eax, ebx
mov edx, dword [esi + 0x50]
call fcn.00528210
mov dword [esi + 0x250], 0xffffffff
mov dword [esi + 0x20c], 0xffffffff
mov dword [esi + 0x214], 0xffffffff
mov edx, ebx
mov eax, dword [esi + 0x24c]
call fcn.004c6908
mov eax, esi
call fcn.004e6cfc
mov eax, dword [esi + 0x50]
call fcn.00527c34
test eax, eax
je 0x4d8f60
mov al, 1
call fcn.005389fc
mov eax, dword [esi + 0x24c]
test eax, eax
je case.0x4d975b.0
test byte [eax + 0x1c], 8
jne case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527c34
test eax, eax
je 0x4d900f
xor edx, edx
mov eax, esi
call fcn.004e5b38
xor edx, edx
mov eax, esi
call fcn.004e7b88
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
jne 0x4d8fbb
cmp dword [esi + 0x240], 0
je 0x4d8fbb
xor edx, edx
mov eax, esi
call fcn.004e6a40
mov eax, esi
call fcn.004d5e88
test al, al
je 0x4d8fe4
cmp byte [esi + 0x21f], 0
jne 0x4d8fe4
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowRgn
mov eax, esi
call fcn.004e5724
push 0x485
push 0
push 0
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x29c]
push eax
call sub.user32.dll_RedrawWindow
xor edx, edx
mov eax, esi
call fcn.004e8194
mov eax, dword [esi + 0x24c]
call fcn.004618b4
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4d909a
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [esi + 0x24c]
call fcn.00461878
mov edx, dword [0x470c2c]
call fcn.004046f4
test al, al
je 0x4d9096
mov edx, edi
mov eax, dword [esi + 0x24c]
call fcn.00461878
mov eax, dword [eax + 0x68]
mov edx, 0xff000008
call fcn.00430b68
mov edx, edi
mov eax, dword [esi + 0x24c]
call fcn.00461878
call fcn.004757c0
test al, al
jne 0x4d9096
mov edx, edi
mov eax, dword [esi + 0x24c]
call fcn.00461878
mov ebx, dword [eax + 0x50]
or ebx, dword [0x4e0128]
mov edx, edi
mov eax, dword [esi + 0x24c]
call fcn.00461878
mov dword [eax + 0x50], ebx
inc edi
dec ebp
jne 0x4d9024
cmp byte [esi + 0x5c], 0
je 0x4d90b9
mov eax, dword [esi + 0x50]
cmp byte [eax + 9], 0
jne 0x4d90b9
mov edx, 0xff00000f
mov eax, dword [esi + 0x24c]
call fcn.0045d9dc
mov eax, dword [esi + 0x50]
cmp dword [eax + 0x44], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x50]
add eax, 0x44
call fcn.00411188
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x24c]
call fcn.004c6908
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4d933d
cmp dword [esi + 0x50], 0
je 0x4d933d
mov eax, dword [esi + 0x50]
call fcn.00527c34
cmp eax, dword [ebx + 8]
jne 0x4d933d
cmp dword [esi + 0x254], 0
jne 0x4d933d
mov eax, esi
call fcn.004e67cc
jmp 0x4d933d
mov eax, dword [0x660674]
mov eax, dword [eax]
mov dword [ebx + 0xc], eax
jmp case.0x4d975b.0
mov eax, esi
call fcn.004e4e44
mov edi, eax
mov eax, esi
call fcn.004e4edc
movzx edx, di
movzx eax, ax
shl eax, 0x10
or edx, eax
mov eax, edx
mov dword [ebx + 0xc], eax
jmp case.0x4d975b.0
mov dword [ebx + 0xc], 1
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
movzx edx, word [eax + 0x52]
and dx, 0x400
cmp dx, 0x400
jne 0x4d933d
and word [eax + 0x52], 0xfbff
push 0
push 0
push 0xb015
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
jmp 0x4d933d
cmp dword [esi + 0x50], 0
je 0x4d933d
lea ecx, [esp + 0x84]
xor edx, edx
xor eax, eax
call fcn.00407d4c
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x84]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x88]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x39], 0
je 0x4d9207
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x1c], 0
je 0x4d91f4
cmp byte [esi + 0x220], 0
je 0x4d9207
mov eax, dword [esi + 0x50]
call fcn.00526080
test al, al
je 0x4d9207
mov eax, esi
call fcn.004e2bbc
mov eax, dword [ebx + 8]
cmp byte [eax + 0x21], 0
je 0x4d922a
mov eax, esi
call fcn.004e4e44
mov edx, dword [ebx + 8]
add dword [edx + 8], eax
mov eax, esi
call fcn.004e4edc
mov edx, dword [ebx + 8]
add dword [edx + 0xc], eax
mov eax, dword [esi + 0x24c]
cmp word [eax + 0x302], 0
je 0x4d9281
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 8]
mov dword [edx], eax
mov eax, esi
call fcn.004e4edc
push eax
mov eax, esi
call fcn.004e4e44
lea ecx, [esp + 0x88]
pop edx
call fcn.00407d4c
mov edi, dword [ebx + 8]
mov eax, dword [esp + 0x84]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x88]
mov dword [edi + 0xc], eax
mov byte [edi + 0x20], 2
jmp case.0x4d975b.0
mov edi, dword [esi + 0x50]
cmp dword [edi + 0x28], 0xffffffff
jle 0x4d92c5
mov eax, edi
call fcn.00527c34
mov eax, dword [eax + 0xd0]
mov ebp, dword [esi + 0x50]
imul edx, dword [ebp + 0x28], 0x43
mov eax, dword [eax + edx*4 + 8]
dec eax
movzx edx, byte [esi + 0x244]
cmp eax, edx
jle 0x4d92b5
movzx eax, byte [esi + 0x244]
push 0
mov edx, dword [ebx + 8]
mov ecx, eax
mov eax, ebp
call fcn.005264d4
jmp 0x4d92e9
movzx eax, byte [esi + 0x244]
test eax, eax
jge 0x4d92d9
movzx eax, byte [esi + 0x244]
jmp 0x4d92db
xor eax, eax
push 0
mov edx, dword [ebx + 8]
mov ecx, eax
mov eax, edi
call fcn.005264d4
mov eax, dword [ebx + 8]
cmp byte [eax + 0x20], 2
jne 0x4d930f
cmp byte [eax + 0x21], 0
jne 0x4d930f
cmp dword [eax], 0
jne 0x4d930f
mov eax, esi
call fcn.004e2bbc
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 8]
mov dword [edx], eax
mov eax, esi
call fcn.004e4e44
mov edx, dword [ebx + 8]
add dword [edx + 8], eax
mov eax, esi
call fcn.004e4edc
mov edx, dword [ebx + 8]
add dword [edx + 0xc], eax
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
movzx eax, word [eax + 0x52]
mov dword [ebx + 0xc], eax
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4d935b
mov dl, 1
mov eax, dword [esi + 0x50]
call fcn.00528168
test al, al
jne 0x4d9737
mov eax, dword [ebx]
mov edx, dword [0x6604e8]
cmp eax, dword [edx]
jne 0x4d955f
movzx eax, word [ebx + 6]
dec ax
je 0x4d9386
sub ax, 3
jne 0x4d955f
mov dword [ebx + 0xc], esi
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4d955f
cmp dword [esi + 0x50], 0
je 0x4d955f
mov eax, dword [esi + 0x50]
call fcn.00527c34
cmp eax, dword [ebx + 8]
jne case.0x4d975b.0
mov eax, esi
call fcn.004e83b8
mov al, 1
call fcn.005389fc
mov eax, dword [esi + 0x50]
call fcn.005289dc
mov dword [esi + 0x20c], 0xffffffff
mov eax, esi
call fcn.004e84fc
mov dword [esi + 0x20c], eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov edx, 0x4e0134
call fcn.00535250
mov dword [esi + 0x214], eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
test eax, eax
je 0x4d953d
cmp dword [esi + 0x268], 0
je 0x4d9448
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4d9448
mov eax, esi
call fcn.004ea330
mov ebx, eax
mov eax, dword [esi + 0x24c]
call fcn.004d4e14
add eax, 4
cmp ebx, eax
setg al
mov byte [esi + 0x208], al
jmp 0x4d944f
mov byte [esi + 0x208], 0
mov dl, 1
mov eax, esi
call fcn.004e7b88
mov eax, esi
call fcn.004e6154
mov ebx, dword [esi + 0x24c]
cmp byte [ebx + 0x277], 2
jne 0x4d9489
mov eax, ebx
call fcn.00446218
mov edx, dword [0x660a18]
mov edx, dword [edx]
cmp eax, dword [edx + 0x6c]
jne 0x4d9489
mov byte [esi + 0x244], 1
mov eax, dword [esi + 0x50]
call fcn.00527c34
test byte [eax + 0x1c], 1
jne 0x4d94d5
mov eax, dword [esi + 0x24c]
cmp dword [eax + 0x290], 0
je 0x4d94b6
cmp byte [esi + 0xbd], 0
je 0x4d94b6
mov byte [esi + 0xb9], 1
mov dl, 1
mov eax, esi
call fcn.004e5b38
cmp byte [esi + 0xb9], 0
jne 0x4d94d5
mov eax, esi
call fcn.004e5724
mov byte [esi + 0xb9], al
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov dword [esi + 0x250], 0xffffffff
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
jne 0x4d94fe
mov dl, 1
mov eax, esi
call fcn.004e6a40
cmp byte [esi + 0x5c], 0
je 0x4d9527
mov eax, dword [esi + 0x50]
cmp byte [eax + 9], 0
jne 0x4d9527
mov eax, dword [esi + 0x50]
call fcn.00527c34
call fcn.0052d080
mov edx, eax
mov eax, dword [esi + 0x24c]
call fcn.0045d9dc
mov eax, dword [esi + 0x24c]
call fcn.00465948
xor ecx, ecx
movzx edx, byte [esi + 0x78]
call fcn.004d50d0
mov eax, dword [esi + 0x228]
test eax, eax
jne 0x4d9553
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
jmp case.0x4d975b.0
xor edx, edx
call fcn.004ebcd4
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [ebx]
sub eax, 0x47
je 0x4d958d
sub eax, 0x3b
je 0x4d9666
sub eax, 0xafc1
je 0x4d9729
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527c34
test eax, eax
je case.0x4d975b.0
call fcn.0051ac84
test al, al
je case.0x4d975b.0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
jne case.0x4d975b.0
cmp byte [esi + 0x95], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne case.0x4d975b.0
cmp byte [esi + 0x222], 0
jne case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527c34
cmp byte [eax + 0x3c], 0
je case.0x4d975b.0
cmp byte [esi + 0x78], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je case.0x4d975b.0
mov eax, dword [0x65ff5c]
xor edx, edx
mov dword [eax], edx
mov byte [esi + 0x222], 1
mov eax, esi
call fcn.004c3dfc
mov eax, dword [0x66011c]
cmp byte [eax], 0
jne 0x4d963e
mov eax, dword [esi + 0x24c]
call fcn.00465948
xor edx, edx
call fcn.004d8d30
mov byte [esi + 0x222], 0
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne case.0x4d975b.0
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je case.0x4d975b.0
mov eax, dword [0x6607cc]
mov eax, dword [eax]
cmp dword [eax + 0x240], 0
je case.0x4d975b.0
mov eax, dword [0x6607cc]
mov eax, dword [eax]
test byte [eax + 0x1c], 8
jne case.0x4d975b.0
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
test byte [eax + 0x1c], 8
jne case.0x4d975b.0
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dl, 1
call fcn.00528168
test al, al
je case.0x4d975b.0
mov eax, dword [0x6607cc]
mov eax, dword [eax]
call fcn.004e6080
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.00446218
test eax, eax
jne case.0x4d975b.0
push 0x507
push 0
push 0
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + 0x29c]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4d975b.0
mov edx, ebx
mov eax, esi
call fcn.004e85dc
jmp case.0x4d975b.0
mov eax, dword [ebx]
mov edx, dword [0x6604e8]
cmp eax, dword [edx]
jne 0x4d9d12
movzx eax, word [ebx + 6]
cmp eax, 0x3e
ja case.0x4d975b.0
movzx eax, byte [eax + 0x4d9762]
jmp dword [eax*4 + 0x4d97a1]
mov eax, dword [esi + 0x24c]
test eax, eax
je case.0x4d975b.0
test byte [eax + 0x1c], 1
jne case.0x4d975b.0
cmp dword [esi + 0x228], 0
je case.0x4d975b.0
cmp dword [ebx + 8], 0
je 0x4d981f
mov edx, dword [ebx + 8]
mov eax, dword [esi + 0x228]
call fcn.004ebcd4
jmp case.0x4d975b.0
mov edx, eax
mov eax, dword [esi + 0x228]
call fcn.004ebcd4
jmp case.0x4d975b.0
cmp dword [esi + 0x50], 0
je case.0x4d975b.0
mov eax, dword [0x66011c]
cmp byte [eax], 0
jne 0x4d985a
mov eax, dword [esi + 0x50]
call fcn.00526080
test al, al
je 0x4d985a
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4d985e
xor eax, eax
jmp 0x4d9860
mov al, 1
and eax, 0x7f
mov dword [ebx + 0xc], eax
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x1c], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x50]
mov byte [eax + 0x1c], 0
push 0x401
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
jmp case.0x4d975b.0
cmp dword [ebx + 8], 1
jne 0x4d98b7
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov eax, esi
call fcn.004d5ed0
jmp case.0x4d975b.0
cmp word [ebx + 4], 1
sete dl
mov eax, dword [esi + 0x50]
call fcn.00528164
mov eax, dword [esi + 0x50]
call fcn.00527c48
test al, al
je case.0x4d975b.0
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527c34
cmp eax, dword [ebx + 8]
jne case.0x4d975b.0
cmp dword [esi + 0x228], 0
jne 0x4d9912
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
jmp 0x4d991f
xor edx, edx
mov eax, dword [esi + 0x228]
call fcn.004ebcd4
cmp byte [esi + 0x78], 0
je 0x4d993d
cmp byte [esi + 0xa6], 0
je 0x4d993d
lea edx, [esi + 0x224]
xor ecx, ecx
mov eax, esi
call fcn.004d5d84
mov eax, dword [esi + 0x24c]
cmp dword [eax + 0x30], 0
je 0x4d9961
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
je 0x4d9961
mov eax, dword [esi + 0x50]
and word [eax + 0x52], 0xfffe
mov dword [esi + 0x250], 0xffffffff
mov eax, dword [esi + 0x50]
call fcn.00527c34
test byte [eax + 0x1c], 1
jne 0x4d9993
mov eax, esi
call fcn.004e5724
xor edx, edx
mov eax, dword [esi + 0x50]
call fcn.00528168
mov edx, eax
mov eax, esi
call fcn.004e5b38
mov eax, esi
call fcn.004d5e88
test al, al
je 0x4d99a2
mov byte [esi + 0x34], 1
mov eax, esi
call fcn.004ea16c
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x57], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [esi + 0x50]
call fcn.00527c34
call fcn.00537008
mov edx, eax
mov eax, esi
call fcn.004e8194
mov eax, dword [0x66011c]
cmp byte [eax], 0
jne 0x4d9a86
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
jne 0x4d9a42
mov eax, dword [esi + 0x24c]
call fcn.00446218
test eax, eax
je 0x4d9a42
mov eax, dword [esi + 0x24c]
call fcn.00446218
cmp byte [eax + 0x273], 2
jne 0x4d9a42
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, esi
call fcn.004e88fc
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 0x24c]
call fcn.00446218
call fcn.00465948
push eax
call sub.user32.dll_InvalidateRect
jmp 0x4d9a86
push 0x545
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
jne 0x4d9a86
push 0x545
push 0
push 0
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x29c]
push eax
call sub.user32.dll_RedrawWindow
cmp byte [esi + 0x5c], 0
je 0x4d9aaf
mov eax, dword [esi + 0x50]
cmp byte [eax + 9], 0
jne 0x4d9aaf
mov eax, dword [esi + 0x50]
call fcn.00527c34
call fcn.0052d080
mov edx, eax
mov eax, dword [esi + 0x24c]
call fcn.0045d9dc
cmp dword [esi + 0x240], 0
je 0x4d9ac3
mov eax, dword [esi + 0x240]
call fcn.004d0ad8
xor edx, edx
mov eax, dword [esi + 0x50]
call fcn.00528164
cmp dword [esi + 0x254], 0
je 0x4d9ae1
mov eax, dword [esi + 0x254]
call fcn.004eb130
mov edx, ebx
mov eax, esi
call fcn.004e6d44
cmp dword [esi + 0x268], 0
je case.0x4d975b.0
mov cl, 0xff
mov dl, 1
mov eax, dword [esi + 0x268]
call fcn.004eebf0
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xd0]
mov edi, dword [esi + 0x50]
imul edx, dword [edi + 0x28], 0x43
mov ebp, dword [eax + edx*4 + 0xa8]
mov eax, edi
call fcn.00527c34
mov eax, dword [eax + 0xd0]
mov edx, dword [esi + 0x50]
imul edx, dword [edx + 0x28], 0x43
add ebp, dword [eax + edx*4 + 0xb4]
test ebp, ebp
setg al
mov ebp, eax
and ebp, 0x7f
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ebp
jmp case.0x4d975b.0
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x50]
call fcn.00526950
mov dword [ebx + 0xc], eax
jmp case.0x4d975b.0
mov dword [ebx + 0xc], esi
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527c34
cmp eax, dword [ebx + 8]
jne case.0x4d975b.0
mov al, 1
call fcn.005389fc
mov eax, dword [esi + 0x50]
call fcn.005289dc
mov dword [esi + 0x20c], 0xffffffff
mov eax, esi
call fcn.004e84fc
mov dword [esi + 0x20c], eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov edx, 0x4e0134
call fcn.00535250
mov dword [esi + 0x214], eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
test eax, eax
je case.0x4d975b.0
mov eax, esi
call fcn.004e6154
mov al, 1
call fcn.005389fc
movzx edx, byte [esi + 0x78]
mov eax, esi
call fcn.004e7b88
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x44]
call fcn.0053aa64
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov dword [esi + 0x250], 0xffffffff
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, esi
call fcn.004e88fc
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
jne case.0x4d975b.0
mov dl, 1
mov eax, esi
call fcn.004e6a40
jmp case.0x4d975b.0
mov cl, 1
or edx, 0xffffffff
mov eax, esi
call fcn.004e13ec
mov byte [0x65d774], 0
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527e2c
test al, al
je case.0x4d975b.0
push 0
push 0
push 0xb
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527e2c
test al, al
je case.0x4d975b.0
push 0
push 1
push 0xb
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [0x6607cc]
cmp esi, dword [eax]
jne case.0x4d975b.0
push 0x581
push 0
push 0
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x29c]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4d975b.0
mov eax, ebx
mov edx, dword [esi + 0x50]
call fcn.00528afc
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x38], 0
je case.0x4d975b.0
mov eax, esi
call fcn.004e2bbc
jmp case.0x4d975b.0
cmp eax, 0xa4
jg 0x4d9e75
je 0x4dc89c
cmp eax, 0x2c
jg 0x4d9dd6
je 0x4de8ae
cmp eax, 0x24
ja case.0x4d9d3b.0
jmp dword [eax*4 + 0x4d9d42]
cmp eax, 0x81
jg 0x4d9e2c
je 0x4dbcbc
cmp eax, 0x4e
jg 0x4d9e0c
je 0x4e003f
sub eax, 0x46
je 0x4df401
dec eax
je 0x4df9d6
sub eax, 3
je 0x4da07e
jmp case.0x4d9d3b.0
sub eax, 0x7b
je 0x4da15e
sub eax, 2
je 0x4da32a
sub eax, 3
je 0x4da278
jmp case.0x4d9d3b.0
cmp eax, 0xa0
jg 0x4d9e57
je 0x4d9fe5
sub eax, 0x84
je 0x4db9ef
dec eax
je 0x4dd519
dec eax
je 0x4ddc7f
jmp case.0x4d9d3b.0
sub eax, 0xa1
je 0x4dbce9
dec eax
je 0x4dc93e
dec eax
je 0x4de707
jmp case.0x4d9d3b.0
cmp eax, 0x318
jg 0x4d9f38
je case.0x4d975b.0
cmp eax, 0x211
jg 0x4d9ee4
je 0x4db861
cmp eax, 0x121
jg 0x4d9ec2
je 0x4dcfbe
sub eax, 0xa5
je 0x4dc8be
sub eax, 0x6d
je 0x4de932
sub eax, 5
je 0x4da30a
jmp case.0x4d9d3b.0
sub eax, 0x200
je 0x4dc3ae
sub eax, 2
je 0x4dc93e
sub eax, 0xe
je 0x4dff87
jmp case.0x4d9d3b.0
cmp eax, 0x232
jg 0x4d9f16
je 0x4da1f3
sub eax, 0x212
je 0x4db9c2
sub eax, 2
je 0x4dbc00
add eax, 0xfffffff3
sub eax, 2
jb 0x4de4a7
jmp case.0x4d9d3b.0
sub eax, 0x2a3
je 0x4dbc2f
sub eax, 0x70
je 0x4da404
sub eax, 4
je 0x4dd083
jmp case.0x4d9d3b.0
cmp eax, 0xb015
jg 0x4d9f96
je 0x4dd00e
cmp eax, 0xb00b
jg 0x4d9f76
je 0x4de65f
sub eax, 0x323
je 0x4da114
sub eax, 3
je 0x4da0e9
sub eax, 0xa0da
je 0x4da03c
jmp case.0x4d9d3b.0
sub eax, 0xb00c
je 0x4dad69
sub eax, 7
je 0x4dbc55
dec eax
je 0x4dbc2f
jmp case.0x4d9d3b.0
cmp eax, 0xb03a
jg 0x4d9fc5
je 0x4dcfc8
sub eax, 0xb019
je 0x4da446
sub eax, 0x13
je 0x4e007d
sub eax, 7
je 0x4ddc36
jmp case.0x4d9d3b.0
sub eax, 0xb043
je 0x4da020
sub eax, 9
je 0x4dd50f
sub eax, 0xc01
je 0x4dd50f
jmp case.0x4d9d3b.0
mov eax, dword [esi + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4d975b.0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
pop edx
call fcn.00536508
mov edx, ebx
mov eax, esi
call fcn.004e8850
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov edx, ebx
mov eax, esi
call fcn.004e85dc
jmp case.0x4d975b.0
mov eax, dword [ebx + 4]
dec eax
je 0x4da062
sub eax, 2
je 0x4da04f
dec eax
je 0x4da072
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
call fcn.004498dc
jmp case.0x4d975b.0
mov dword [ebx + 0xc], 1
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp dword [ebx + 0xc], 0
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
call fcn.00465948
mov edx, dword [0x6606e8]
cmp eax, dword [edx]
jne case.0x4d975b.0
mov eax, dword [0x66018c]
cmp byte [eax], 0
jne case.0x4d975b.0
mov eax, dword [0x66018c]
mov byte [eax], 1
cmp dword [ebx + 8], 0
je 0x4da0dc
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov edx, eax
mov eax, ebx
call fcn.0052b00c
mov eax, dword [0x66018c]
mov byte [eax], 0
jmp case.0x4d975b.0
mov eax, dword [0x66061c]
cmp byte [eax], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x24c]
call fcn.00465948
mov edx, esi
call fcn.004d3ad8
and eax, 0x7f
mov dword [ebx + 0xc], eax
jmp case.0x4d975b.0
mov eax, dword [0x66061c]
cmp byte [eax], 0
je case.0x4d975b.0
cmp word [ebx + 0xa], 0
je case.0x4d975b.0
cmp word [ebx + 8], 0
je case.0x4d975b.0
movzx eax, word [ebx + 8]
push eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
movzx ecx, word [ebx + 0xa]
mov edx, esi
call fcn.004d386c
and eax, 0x7f
mov dword [ebx + 0xc], eax
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp dword [eax + 0x80], 0
je 0x4da197
mov eax, dword [esi + 0x50]
call fcn.00527c34
movzx eax, byte [eax + 0x58]
push eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x44]
mov edx, dword [esi + 0x24c]
mov edx, dword [edx + 0x80]
pop ecx
call fcn.0053bf50
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
cmp dword [ebx + 4], 1
jne 0x4da1da
mov eax, dword [esi + 0xb4]
dec eax
test eax, eax
jge 0x4da1c3
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x4da1ce
mov eax, dword [esi + 0xb4]
dec eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xb4], eax
jmp 0x4da1e0
inc dword [esi + 0xb4]
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp dword [esi + 0x268], 0
je case.0x4d975b.0
mov eax, dword [0x660808]
cmp dword [eax], 0
je case.0x4d975b.0
mov eax, dword [0x660808]
mov eax, dword [eax]
mov ebp, dword [eax + 8]
dec ebp
test ebp, ebp
jl case.0x4d975b.0
inc ebp
xor edi, edi
mov eax, dword [0x660808]
mov eax, dword [eax]
mov edx, edi
call fcn.00420714
test eax, eax
je 0x4da261
mov eax, dword [0x660808]
mov eax, dword [eax]
mov edx, edi
call fcn.00420714
mov eax, dword [eax + 0x38]
xor ecx, ecx
mov edx, 0x12
call fcn.004c675c
inc edi
dec ebp
jne 0x4da232
jmp case.0x4d975b.0
mov edx, ebx
mov eax, esi
call fcn.004e8244
jmp case.0x4d975b.0
test byte [esi + 0x1c], 1
jne 0x4da2f7
cmp dword [ebx + 8], 0
je 0x4da2f7
mov eax, dword [0x66011c]
cmp byte [eax], 0
jne 0x4da2f7
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x1da], 0
je 0x4da2f7
call fcn.004d503c
test al, al
jne 0x4da2bd
push 0
push 0
push 0xb
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
call fcn.004d503c
test al, al
jne 0x4da2eb
push 0
push 1
push 0xb
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov eax, esi
call fcn.004d5ed0
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527c34
cmp byte [eax + 0x58], 0
je case.0x4d975b.0
mov edx, ebx
mov eax, esi
call fcn.004e7e58
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [esi + 0x254]
test eax, eax
je 0x4da379
cmp dword [eax + 0x98], 0
je 0x4da379
mov edx, dword [esi + 0x24c]
test byte [edx + 0x270], 1
setne dl
mov ecx, dword [eax + 0x98]
cmp dl, byte [ecx + 0x3e]
je 0x4da379
xor edx, edx
call fcn.004eb134
mov eax, esi
call fcn.004d5ed0
jmp case.0x4d975b.0
cmp dword [ebx + 4], 0xffffffec
jne case.0x4d975b.0
mov eax, dword [esi + 0x22c]
and eax, 0x80
cmp eax, 0x80
je case.0x4d975b.0
mov eax, dword [esi + 0x22c]
and eax, 0x100
cmp eax, 0x100
je case.0x4d975b.0
mov eax, dword [esi + 0x22c]
and eax, 0x400
cmp eax, 0x400
je case.0x4d975b.0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 4]
and eax, 0x80000
mov edx, dword [ebx + 8]
mov edx, dword [edx]
and edx, 0x80000
cmp eax, edx
je case.0x4d975b.0
cmp dword [esi + 0x268], 0
je case.0x4d975b.0
mov cl, 0xff
mov dl, 1
mov eax, dword [esi + 0x268]
call fcn.004eebf0
jmp case.0x4d975b.0
lea edx, [esp + 0x84]
mov eax, dword [0x660994]
mov eax, dword [eax]
call fcn.0046ac88
mov eax, dword [esp + 0x88]
push eax
lea edx, [esp + 0x90]
mov eax, dword [0x660994]
mov eax, dword [eax]
call fcn.0046ac88
mov edx, dword [esp + 0x90]
mov eax, esi
pop ecx
call fcn.004e49d8
jmp case.0x4d975b.0
mov dword [esp + 4], 0xff
cmp byte [esi + 0x78], 0
je 0x4da913
cmp byte [esi + 0xa6], 0
je 0x4da913
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x1da], 0
je 0x4da8b0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4da4b4
cmp dword [esi + 0x228], 0
je 0x4da4a1
mov edx, dword [esi + 0x24c]
mov eax, dword [esi + 0x228]
call fcn.004ebcd4
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
jne 0x4da4cc
mov dl, 1
mov eax, esi
call fcn.004e6a40
and dword [esi + 0x22c], 0xfffffdff
cmp dword [esi + 0x268], 0
je 0x4da4e9
mov eax, dword [esi + 0x268]
mov byte [eax + 0x28], 0
cmp dword [esi + 0x218], 0
je 0x4da512
mov eax, dword [esi + 0x218]
mov edx, dword [0x4d3740]
call fcn.004046f4
test al, al
je 0x4da512
lea eax, [esi + 0x218]
call fcn.00411188
mov eax, dword [0x660004]
cmp byte [eax], 0
je 0x4da55a
mov eax, dword [esi + 0x24c]
call fcn.00465ce8
test al, al
je 0x4da55a
mov eax, dword [0x660674]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x4da54a
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x24c]
jne 0x4da55a
mov eax, dword [esi + 0x24c]
call fcn.00465948
call fcn.004d6aa8
mov eax, esi
call fcn.004e6750
cmp dword [esi + 0x228], 0
je 0x4da57b
mov edx, dword [esi + 0x24c]
mov eax, dword [esi + 0x228]
call fcn.004ebcd4
cmp byte [esi + 0x95], 0
je 0x4da5c8
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
je 0x4da59f
mov eax, dword [esi + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4da5c8
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
cmp byte [eax + 6], 0
je 0x4da5c8
mov eax, dword [esi + 0x24c]
call fcn.00465948
mov edx, dword [0x6606e8]
cmp eax, dword [edx]
jne 0x4da5cc
xor eax, eax
jmp 0x4da5ce
mov al, 1
mov byte [esi + 0x223], al
mov byte [esp + 0x11], 0
cmp byte [esi + 0x223], 0
je 0x4da6b1
mov dl, 1
mov eax, dword [esi + 0x50]
call fcn.00528164
mov byte [esi + 0x220], 1
mov eax, dword [esi + 0x24c]
call fcn.00465948
mov dl, 1
call fcn.004d8d30
mov byte [esp + 0x11], al
mov dword [esp + 4], 0xff
cmp byte [esp + 0x11], 0
je 0x4da62e
xor edx, edx
mov eax, esi
call fcn.004d5a48
mov byte [esi + 0x230], 0
jmp 0x4da64c
mov eax, dword [esi + 0x24c]
movzx eax, byte [eax + 0x329]
mov dword [esp + 4], eax
xor edx, edx
mov eax, dword [esi + 0x24c]
call fcn.0044a448
mov eax, dword [esi + 0x24c]
call fcn.004618b4
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4da6bb
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [esi + 0x24c]
call fcn.00461878
cmp byte [eax + 0x57], 0
je 0x4da6ab
mov edx, edi
mov eax, dword [esi + 0x24c]
call fcn.00461878
mov edx, dword [0x6587bc]
call fcn.004046f4
test al, al
jne 0x4da6ab
push 0
mov edx, edi
mov eax, dword [esi + 0x24c]
call fcn.00461878
xor ecx, ecx
mov edx, 0xb
call fcn.0045eb7c
inc edi
dec ebp
jne 0x4da661
jmp 0x4da6bb
xor edx, edx
mov eax, dword [esi + 0x50]
call fcn.00528164
mov eax, dword [esi + 0x50]
call fcn.00527c34
call fcn.00537008
mov edx, eax
mov eax, esi
call fcn.004e8194
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
xor edx, edx
mov eax, dword [esi + 0x50]
call fcn.00528168
test al, al
jne 0x4da79a
cmp byte [esi + 0x223], 0
je 0x4da79a
mov eax, dword [esi + 0x24c]
call fcn.004618b4
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4da748
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [esi + 0x24c]
call fcn.00461878
cmp byte [eax + 0x57], 0
je 0x4da744
push 0
mov edx, edi
mov eax, dword [esi + 0x24c]
call fcn.00461878
mov ecx, 1
mov edx, 0xb
call fcn.0045eb7c
inc edi
dec ebp
jne 0x4da713
push 0xffffffffffffffec
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowLongA
push 0x81
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
mov byte [esi + 0x230], 0
jmp case.0x4d975b.0
lea edx, [esi + 0x224]
xor ecx, ecx
mov eax, esi
call fcn.004d5d84
cmp byte [esi + 0x223], 0
je 0x4da864
mov eax, dword [esi + 0x24c]
call fcn.004618b4
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4da800
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [esi + 0x24c]
call fcn.00461878
cmp byte [eax + 0x57], 0
je 0x4da7fc
push 0
mov edx, edi
mov eax, dword [esi + 0x24c]
call fcn.00461878
mov ecx, 1
mov edx, 0xb
call fcn.0045eb7c
inc edi
dec ebp
jne 0x4da7cb
cmp byte [esp + 0x11], 0
je 0x4da819
mov eax, dword [esi + 0x24c]
call fcn.00465948
xor edx, edx
call fcn.004d8d30
mov byte [esi + 0x223], 0
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
movzx edi, word [eax + 4]
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
movzx eax, byte [eax + 7]
mov byte [esp + 0x13], al
movzx eax, byte [esp + 0x13]
push eax
mov ecx, dword [esp + 8]
mov edx, edi
mov eax, esi
call fcn.004c3494
mov byte [esi + 0x230], 0
jmp 0x4da87e
push 0x81
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 2
jne case.0x4d975b.0
mov al, 1
call fcn.004d8ba4
jmp case.0x4d975b.0
cmp dword [esi + 0x268], 0
je 0x4da900
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4da8f5
mov eax, dword [esi + 0x50]
call fcn.00527c34
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 0x4da8f5
cmp byte [esi + 0x95], 0
jne 0x4da900
lea eax, [esi + 0x268]
call fcn.00411188
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
call fcn.004d503c
test al, al
je 0x4da950
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x1da], 0
je 0x4da950
push 0
push 1
push 0xb
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [esi + 0x50]
mov byte [eax + 0x1c], 0
call fcn.004d503c
test al, al
je case.0x4d975b.0
push 0x181
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
je 0x4daabc
cmp dword [ebx + 4], 1
jne 0x4daa25
cmp dword [esi + 0x268], 0
je 0x4da9b3
mov eax, dword [esi + 0x268]
mov byte [eax + 0x28], 0
mov eax, dword [esi + 0x22c]
and eax, 0x400
cmp eax, 0x400
jne 0x4da9d1
mov dword [esi + 0x22c], 0x400
jmp 0x4da9d9
xor eax, eax
mov dword [esi + 0x22c], eax
call fcn.004d503c
test al, al
je 0x4daa25
mov eax, dword [0x66011c]
cmp byte [eax], 0
jne 0x4daa25
push 0xffffffffffffffec
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4daa25
push 0x481
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 8]
dec eax
je 0x4daa35
sub eax, 2
je 0x4daa83
jmp 0x4daabc
cmp byte [esi + 0x221], 0
je 0x4daabc
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4daa5c
mov byte [esi + 0x221], 2
jmp 0x4daabc
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4daa7a
mov byte [esi + 0x221], 3
jmp 0x4daabc
mov byte [esi + 0x221], 1
jmp 0x4daabc
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4daabc
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x24c]
jne 0x4daabc
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp dword [ebx + 4], 1
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4daafe
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 2
jne 0x4daafe
mov eax, dword [0x6607cc]
mov eax, dword [eax]
call fcn.004e6080
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
jne 0x4dab5f
mov eax, dword [esi + 0x24c]
call fcn.0044624c
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4dab5f
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [esi + 0x24c]
call fcn.00446298
call fcn.00465948
mov edx, 7
call fcn.004c6800
test al, al
jne 0x4dab5b
mov edx, edi
mov eax, dword [esi + 0x24c]
call fcn.00446298
call fcn.00465948
xor edx, edx
call fcn.004c7ba0
inc edi
dec ebp
jne 0x4dab22
mov eax, dword [esi + 0x24c]
cmp dword [eax + 0x30], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
je case.0x4d975b.0
mov eax, dword [esi + 0x50]
and word [eax + 0x52], 0xfffe
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
call fcn.00465ce8
test al, al
je 0x4dad56
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4dad56
mov eax, dword [esi + 0x24c]
test byte [eax + 0x54], 0x40
jne 0x4dad56
cmp byte [esi + 0x78], 0
je 0x4dad56
cmp dword [esi + 0xc0], 0
je 0x4dabf1
lea eax, [esi + 0xc0]
call fcn.00411188
cmp dword [esi + 0xc4], 0
je 0x4dac05
lea eax, [esi + 0xc4]
call fcn.00411188
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4dac5e
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 2
jne 0x4dac5e
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x6607cc]
mov eax, dword [eax]
xor edx, edx
call fcn.004d5530
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [0x6607cc]
mov eax, dword [eax]
call fcn.004d5860
jmp 0x4dad35
call fcn.004d503c
test al, al
jne 0x4dacbb
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
xor edx, edx
mov eax, esi
call fcn.004d5530
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, esi
call fcn.004d5860
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x328], 0
je 0x4dad35
push 0
push 0
push 0x85
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
jmp 0x4dad35
cmp dword [esi + 0x268], 0
jne 0x4dacdb
push 0
push 0
push 0xb
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp dword [esi + 0x268], 0
jne 0x4dad2e
push 0
push 1
push 0xb
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, esi
call fcn.004e88fc
mov eax, dword [esi + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x84]
mov eax, esi
call fcn.004d5ed0
cmp dword [esi + 0x268], 0
je case.0x4d975b.0
mov cl, 0xff
mov dl, 1
mov eax, dword [esi + 0x268]
call fcn.004eebf0
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp byte [esi + 0x78], 0
je case.0x4d975b.0
cmp dword [esi + 0x268], 0
je 0x4dadb1
mov eax, dword [esi + 0x268]
cmp dword [eax + 0x18], 0
je 0x4dadb1
mov eax, dword [esi + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
mov edx, eax
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
push 0
push 0
push 0x85
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, esi
call fcn.004e5724
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, esi
call fcn.004e5724
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je case.0x4d975b.0
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.00446218
test eax, eax
je case.0x4d975b.0
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.00446218
cmp byte [eax + 0x273], 2
jne 0x4dae60
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x240]
call fcn.004d0b78
jmp case.0x4d975b.0
mov dl, 1
mov eax, esi
call fcn.004e7b88
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4db826
mov eax, esi
call fcn.004d5140
test al, al
je 0x4db08f
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov edi, dword [eax + 0x180]
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov edx, edi
call fcn.0052f24c
test al, al
je 0x4db08f
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, edi
add edx, edx
add edx, edx
add edx, edx
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.0053d678
push eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, edi
add edx, edx
add edx, edx
add edx, edx
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1c]
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 4], eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, edi
add edx, edx
add edx, edx
add edx, edx
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.0053d68c
push eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, edi
add edx, edx
add edx, edx
add edx, edx
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, [esi + 0x1f8]
xor edx, edx
call fcn.0053d678
mov ebp, eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1b0
cmp ebp, eax
jl 0x4daf82
lea eax, [esi + 0x1f8]
xor edx, edx
call fcn.0053d68c
mov ebp, eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1f4
cmp ebp, eax
jge 0x4dafed
mov eax, dword [esi + 0x50]
call fcn.00526080
test al, al
jne 0x4dafed
lea eax, [esi + 0x1f8]
xor edx, edx
call fcn.0053d678
test eax, eax
je 0x4dafed
mov eax, dword [esi + 0x204]
push eax
lea eax, [esp + 0x38]
push eax
mov edx, dword [esi + 0x204]
sub edx, edi
mov eax, dword [esi + 0x200]
sub eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x200]
call fcn.00407d30
mov eax, dword [esi + 0x50]
call fcn.00526080
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_InvalidateRect
lea eax, [esi + 0x1f8]
xor edx, edx
call fcn.0053d678
mov ebp, eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1b0
cmp ebp, eax
jg 0x4db029
lea eax, [esi + 0x1f8]
xor edx, edx
call fcn.0053d68c
mov ebp, eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1f4
cmp ebp, eax
jle 0x4db08f
mov eax, dword [esi + 0x24c]
call fcn.0045d1f4
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1b0
push eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1f4
sub eax, edi
push eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1b0
sub eax, dword [esp + 0x14]
pop edx
pop ecx
call fcn.00407d30
mov eax, dword [esi + 0x50]
call fcn.00526080
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_InvalidateRect
lea eax, [esi + 0x1f8]
xor edx, edx
call fcn.0053d678
mov edi, eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1b0
cmp edi, eax
jg 0x4db0e0
lea eax, [esi + 0x1f8]
xor edx, edx
call fcn.0053d68c
mov edi, eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1f4
cmp edi, eax
jg 0x4db0e0
lea eax, [esi + 0x1f8]
xor edx, edx
call fcn.0053d678
test eax, eax
jne 0x4db2fc
push 0x4e0144
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov edx, dword [esi + 0x50]
mov ecx, dword [edx + 4]
mov edx, dword [esi + 0x50]
mov edx, dword [edx + 0x28]
call fcn.005352a8
mov edi, eax
cmp edi, 0xffffffff
jle 0x4db1ee
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, edi
add edx, edx
add edx, edx
add edx, edx
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.0053d678
push eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, edi
add edx, edx
add edx, edx
add edx, edx
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1c]
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 4], eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, edi
add edx, edx
add edx, edx
add edx, edx
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.0053d68c
push eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, edi
add edx, edx
add edx, edx
add edx, edx
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 [esi + 0x204]
push eax
lea eax, [esp + 0x38]
push eax
mov edx, dword [esi + 0x204]
sub edx, edi
mov eax, dword [esi + 0x200]
sub eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x200]
call fcn.00407d30
mov eax, dword [esi + 0x50]
call fcn.00526080
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_InvalidateRect
push 0x4e0158
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov edx, dword [esi + 0x50]
mov ecx, dword [edx + 4]
mov edx, dword [esi + 0x50]
mov edx, dword [edx + 0x28]
call fcn.005352a8
mov edi, eax
cmp edi, 0xffffffff
jle 0x4db2fc
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, edi
add edx, edx
add edx, edx
add edx, edx
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.0053d678
push eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, edi
add edx, edx
add edx, edx
add edx, edx
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1c]
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 4], eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, edi
add edx, edx
add edx, edx
add edx, edx
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.0053d68c
push eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, edi
add edx, edx
add edx, edx
add edx, edx
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 [esi + 0x204]
push eax
lea eax, [esp + 0x38]
push eax
mov edx, dword [esi + 0x204]
sub edx, edi
mov eax, dword [esi + 0x200]
sub eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x200]
call fcn.00407d30
mov eax, dword [esi + 0x50]
call fcn.00526080
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_InvalidateRect
cmp dword [esi + 0xc0], 0
je 0x4db310
lea eax, [esi + 0xc0]
call fcn.00411188
cmp dword [esi + 0xc4], 0
je 0x4db324
lea eax, [esi + 0xc4]
call fcn.00411188
mov dword [esi + 0x250], 0xffffffff
mov eax, dword [esi + 0x22c]
and eax, 0x80
cmp eax, 0x80
jne 0x4db347
mov eax, esi
call fcn.004d4824
mov eax, dword [esi + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4db37a
cmp byte [esi + 0xa6], 0
je 0x4db37a
mov eax, dword [esi + 0x50]
mov byte [eax + 0x1c], 1
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [esi + 0x50]
mov byte [eax + 0x1c], 0
jmp 0x4db388
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [0x66011c]
cmp byte [eax], 0
jne 0x4db7e6
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x1da], 0
je 0x4db7df
mov eax, esi
call fcn.004e5210
test al, al
je 0x4db754
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4db3da
cmp byte [esi + 0x21e], 0
jne 0x4db754
mov byte [esi + 0x34], 1
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [esi + 0x50]
cmp dword [eax + 0x44], 0
je 0x4db432
mov eax, dword [esi + 0x50]
call fcn.00526080
test al, al
je 0x4db426
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [esi + 0x24c]
cmp eax, dword [edx + 0x48]
jg 0x4db42a
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [esi + 0x24c]
cmp eax, dword [edx + 0x4c]
jg 0x4db42a
xor eax, eax
jmp 0x4db42c
mov al, 1
mov byte [esp + 0x10], al
jmp 0x4db437
mov byte [esp + 0x10], 0
cmp byte [esi + 0x78], 0
je 0x4db6f8
mov eax, dword [0x660420]
cmp byte [eax], 0
je 0x4db46e
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 2
jne 0x4db46e
cmp dword [esi + 0x268], 0
je 0x4db46e
lea eax, [esi + 0x268]
call fcn.00411188
cmp dword [esi + 0x268], 0
je 0x4db52f
mov eax, dword [esi + 0x268]
cmp dword [eax + 0x18], 0
jne 0x4db492
mov eax, dword [esi + 0x268]
call fcn.004efda8
cmp dword [esi + 0x224], 0
je 0x4db4bc
mov eax, dword [esi + 0x224]
mov eax, dword [eax + 0x80]
cmp byte [eax + 6], 0
jne 0x4db4c9
mov eax, dword [esi + 0x224]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 6], 0
jne 0x4db4c9
cmp byte [esi + 0x54], 0
jne 0x4db4c9
or dword [esi + 0x22c], 1
mov cl, 0xff
mov dl, 1
mov eax, dword [esi + 0x268]
call fcn.004eebf0
mov eax, dword [esi + 0x50]
mov byte [eax + 0x1c], 1
and dword [esi + 0x22c], 0xfffffffe
mov eax, dword [esi + 0x268]
mov byte [eax + 0x28], 1
push 0x61b
push 0
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [esi + 0x268]
mov byte [eax + 0x28], 0
mov dl, 1
mov eax, esi
call fcn.004d5a48
mov eax, dword [esi + 0x50]
mov byte [eax + 0x1c], 0
jmp 0x4db53f
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, esi
call fcn.004e88fc
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4d975b.0
mov eax, dword [esi + 0x50]
movzx eax, word [eax + 0x54]
and ax, 2
cmp ax, 2
jne 0x4db57b
lea eax, [esi + 0x1f8]
xor edx, edx
call fcn.0053d68c
mov ebx, eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1f4
cmp ebx, eax
jne 0x4db5aa
mov eax, dword [esi + 0x50]
movzx eax, word [eax + 0x54]
and ax, 1
cmp ax, 1
jne 0x4db5d3
lea eax, [esi + 0x1f8]
xor edx, edx
call fcn.0053d678
mov ebx, eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1b0
cmp ebx, eax
je 0x4db5d3
push 0
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x6604e8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x140001
call fcn.0053d554
lea edx, [esp + 0x24]
mov eax, dword [esi + 0x24c]
call fcn.004c6908
cmp dword [esi + 0x268], 0
je 0x4db6d1
cmp dword [esi + 0x224], 0
je 0x4db62d
mov eax, dword [esi + 0x224]
cmp dword [eax + 0x80], 0
je 0x4db62d
mov eax, dword [esi + 0x224]
cmp dword [eax + 0x7c], 0
je 0x4db62d
mov eax, dword [esi + 0x224]
mov eax, dword [eax + 0x80]
cmp byte [eax + 6], 0
jne 0x4db6d1
mov eax, dword [esi + 0x224]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 6], 0
jne 0x4db6d1
mov eax, dword [esi + 0x268]
cmp dword [eax + 0x18], 0
jne 0x4db644
mov eax, dword [esi + 0x268]
call fcn.004efda8
push 0x101
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
cmp dword [esi + 0x268], 0
je 0x4db6c6
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x268]
call fcn.004efc40
push eax
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [esi + 0x268]
mov byte [eax + 0x28], 0
jmp 0x4db6eb
xor edx, edx
mov eax, esi
call fcn.004d5a48
jmp 0x4db6eb
push 0x921
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [esi + 0x24c]
call fcn.004c5fc0
jmp 0x4db714
cmp byte [esp + 0x10], 0
je 0x4db714
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_InvalidateRect
mov eax, dword [esi + 0x24c]
call fcn.0045d1f4
push eax
lea eax, [esp + 0x98]
push eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1b0
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00407d30
lea edi, [esi + 0x1f8]
lea esi, [esp + 0x94]
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.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
jne 0x4db781
mov eax, dword [esi + 0x50]
call fcn.00526080
test al, al
je 0x4db781
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, esi
call fcn.004e88fc
jmp 0x4db7e6
mov eax, dword [ebx + 4]
sub eax, 2
jne 0x4db7e6
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4db7e6
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 2
jne 0x4db7e6
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov byte [eax + 0x232], 1
push 0x481
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4db7e6
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [esi + 0x24c]
call fcn.0045d1f4
push eax
lea eax, [esp + 0x98]
push eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1b0
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00407d30
lea edi, [esi + 0x1f8]
lea esi, [esp + 0x94]
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.0x4d975b.0
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov eax, esi
call fcn.004e83b8
xor eax, eax
call fcn.0051a0f0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
jne 0x4db9af
cmp byte [esi + 0x21f], 0
jne 0x4db9af
mov eax, dword [esi + 0x24c]
call fcn.00446218
test eax, eax
je 0x4db9af
mov eax, dword [esi + 0x24c]
call fcn.00446218
cmp byte [eax + 0x273], 2
jne 0x4db9af
mov byte [esi + 0x21f], 1
cmp dword [0x65d780], 0
jne 0x4db8d5
mov ecx, dword [0x660674]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x440fd4]
call fcn.00443fa0
mov dword [0x65d780], eax
mov eax, dword [0x65d780]
mov dword [eax + 0xc], 0xffffff9e
xor edx, edx
mov eax, dword [0x65d780]
call fcn.00445198
mov edx, 0x4e016c
mov eax, dword [0x65d780]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [0x65d780]
mov dword [eax + 0x304], esi
mov dword [eax + 0x300], 0x4e6d74
xor edx, edx
mov eax, dword [0x65d780]
call fcn.00445fdc
push 0x58
push 0xf
call sub.user32.dll_GetSystemMetrics
dec eax
add eax, 4
push eax
push 0x3c
mov eax, dword [esi + 0x24c]
call fcn.00465948
xor ecx, ecx
mov edx, dword [esi + 0x268]
call fcn.004d4dac
mov edi, eax
mov eax, dword [esi + 0x24c]
call fcn.00444d48
mov ebp, eax
mov eax, dword [esi + 0x24c]
call fcn.004d4e14
add ebp, eax
add edi, ebp
push edi
mov eax, dword [esi + 0x24c]
call fcn.00465948
xor ecx, ecx
mov edx, dword [esi + 0x268]
call fcn.004d4dac
push eax
lea edx, [esp + 0xa8]
mov eax, dword [esi + 0x24c]
call fcn.0045d154
mov eax, dword [esp + 0xb0]
sub eax, 0x3c
pop edx
sub eax, edx
push eax
push 0
mov eax, dword [0x65d780]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov byte [esi + 0x21f], 0
cmp dword [0x65d780], 0
je 0x4db9dc
mov eax, 0x65d780
call fcn.00411188
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
cmp byte [esi + 0x21c], 0
je 0x4dba06
mov byte [esi + 0x21c], 0
mov eax, esi
call fcn.004e86fc
mov dl, 1
mov eax, esi
call fcn.004d69ac
test eax, eax
je 0x4dba19
cmp byte [esi + 0x78], 0
jne 0x4dba2c
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov edx, ebx
mov eax, esi
call fcn.004d83a0
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
add eax, 0xfffffff8
sub eax, 2
jb 0x4dba48
sub eax, 0xa
jne 0x4dba60
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4dba60
mov dl, 1
mov eax, esi
call fcn.004e7b88
mov eax, dword [ebx + 0xc]
sub eax, 3
jb 0x4dba79
sub eax, 2
je 0x4dba79
add eax, 0xfffffffb
sub eax, 8
jae 0x4dbbb5
mov eax, esi
call fcn.004d5140
test al, al
je 0x4dbba2
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov edi, dword [eax + 0x180]
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov edx, edi
call fcn.0052f24c
test al, al
je 0x4dbba2
lea eax, [esp + 8]
push eax
movsx ecx, word [ebx + 0xa]
movsx edx, word [ebx + 8]
mov eax, esi
call fcn.004e4d10
cmp dword [esi + 0x268], 0
je 0x4dbb5c
lea ecx, [esp + 0x84]
mov edx, edi
mov eax, esi
call fcn.004e5884
mov ebp, dword [esp + 0x88]
mov eax, dword [esi + 0x268]
call fcn.004d4edc
sub ebp, eax
lea edx, [esp + 0x94]
mov eax, esi
call fcn.004e8380
sub ebp, dword [esp + 0x98]
cmp ebp, dword [esp + 0xc]
jge 0x4dbba2
lea ecx, [esp + 0x8c]
mov edx, edi
mov eax, esi
call fcn.004e5884
mov edi, dword [esp + 0x8c]
mov eax, dword [esi + 0x268]
call fcn.004d4f18
sub edi, eax
lea edx, [esp + 0xa4]
mov eax, esi
call fcn.004e8380
sub edi, dword [esp + 0xa4]
cmp edi, dword [esp + 8]
jge 0x4dbba2
mov dword [ebx + 0xc], 0x11
jmp case.0x4d975b.0
lea ecx, [esp + 0x84]
mov edx, edi
mov eax, esi
call fcn.004e5884
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0xc]
jge 0x4dbba2
lea ecx, [esp + 0x8c]
mov edx, edi
mov eax, esi
call fcn.004e5884
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 8]
jge 0x4dbba2
mov dword [ebx + 0xc], 0x11
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
cmp byte [esi + 0x54], 1
jne case.0x4d975b.0
cmp dword [0x665f40], 0
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4d975b.0
mov eax, dword [ebx + 0xc]
sub eax, 2
je 0x4dbbf3
add eax, 0xfffffff8
sub eax, 8
jae case.0x4d975b.0
mov eax, dword [ebx + 0xc]
mov dword [0x665f40], eax
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp dword [esi + 0x268], 0
je case.0x4d975b.0
mov cl, 0xff
xor edx, edx
mov eax, dword [esi + 0x268]
call fcn.004eebf0
jmp case.0x4d975b.0
mov cl, 1
or edx, 0xffffffff
mov eax, esi
call fcn.004e13ec
mov byte [0x65d774], 0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
mov eax, dword [esi + 0x50]
call fcn.00527c34
pop edx
call fcn.00536508
cmp dword [esi + 0x268], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x268]
cmp byte [eax + 0x38], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x22c]
and eax, 1
cmp eax, 1
je case.0x4d975b.0
mov eax, dword [esi + 0x268]
call fcn.004efe2c
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
je case.0x4d975b.0
mov eax, esi
call fcn.004e67cc
jmp case.0x4d975b.0
cmp byte [esi + 0x78], 0
je 0x4dc237
cmp dword [esi + 0x268], 0
je 0x4dbd15
cmp dword [ebx + 4], 0x13
jne 0x4dbd15
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
cmp dword [esi + 0x268], 0
je 0x4dbd34
cmp dword [ebx + 4], 0xffffffff
jne 0x4dbd34
mov edx, ebx
mov eax, dword [esi + 0x268]
call fcn.004eddd0
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
cmp eax, 8
jge 0x4dbd4f
sub eax, 3
je 0x4dbdd2
sub eax, 2
je 0x4dbdbf
jmp 0x4dbf10
add eax, 0xfffffff8
sub eax, 2
jb 0x4dbd6b
add eax, 0xfffffff6
sub eax, 2
jb 0x4dbd6b
add eax, 0xffffffb1
sub eax, 3
jae 0x4dbf10
cmp dword [0x65d77c], 0
je 0x4dbdb0
cmp dword [ebx + 4], 0x67
jne 0x4dbd92
mov eax, dword [0x65d77c]
mov eax, dword [eax + 0x254]
mov edx, dword [eax]
call dword [edx + 0x54]
test al, al
je case.0x4d975b.0
cmp dword [ebx + 4], 0x66
jne 0x4dbdb0
mov eax, dword [0x65d77c]
mov eax, dword [eax + 0x254]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je case.0x4d975b.0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004e17c8
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
xor eax, eax
mov dword [ebx + 0xc], eax
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp dword [ebx + 0xc], 0
jne case.0x4d975b.0
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.004e13ec
mov byte [0x65d774], 0
mov eax, dword [esi + 0x50]
call fcn.00527c34
cmp byte [eax + 0x58], 0
jne 0x4dbe26
mov eax, 0xc8
call fcn.0053dacc
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4dbe88
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je case.0x4d975b.0
lea edx, [esp + 8]
mov eax, esi
call fcn.004e48cc
mov eax, dword [esi + 0x24c]
call fcn.004d4e14
add eax, dword [esp + 0xc]
add eax, 4
push eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
shl eax, 4
pop ecx
sub ecx, eax
mov edx, dword [esp + 8]
mov eax, esi
call fcn.004e49d8
jmp case.0x4d975b.0
lea edx, [esp + 0x84]
mov eax, esi
call fcn.004e48cc
mov ebx, dword [esp + 0x88]
mov dl, 1
mov eax, esi
call fcn.004d67e0
add ebx, eax
lea eax, [esi + 0x96]
xor edx, edx
call fcn.0053d68c
add ebx, eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
xor ecx, ecx
mov edx, dword [esi + 0x268]
call fcn.004d4e00
add ebx, eax
push ebx
mov eax, dword [esi + 0x24c]
call fcn.00465948
xor ecx, ecx
mov edx, dword [esi + 0x268]
call fcn.004d4dac
mov ebx, eax
lea edx, [esp + 0x90]
mov eax, esi
call fcn.004e48cc
add ebx, dword [esp + 0x90]
mov edx, ebx
mov eax, esi
pop ecx
call fcn.004e49d8
jmp case.0x4d975b.0
mov eax, dword [esi + 0x48]
call fcn.00421864
mov ecx, eax
add ecx, 0x3e8
dec ecx
mov eax, dword [ebx + 4]
mov edx, 0x3e8
call fcn.0053d5a8
test al, al
je 0x4dbf74
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004e17c8
movzx eax, byte [0x4e0178]
push eax
movsx eax, word [ebx + 8]
push eax
movsx eax, word [ebx + 0xa]
push eax
mov edx, dword [ebx + 4]
sub edx, 0x3e8
mov eax, dword [esi + 0x48]
call fcn.004eb600
mov edx, dword [ebx + 4]
sub edx, 0x3e8
xor ecx, ecx
call fcn.004eb77c
jmp case.0x4d975b.0
mov eax, dword [ebx + 4]
mov ecx, 0x8cf
mov edx, 0x7d0
call fcn.0053d5a8
test al, al
je 0x4dbfd5
cmp dword [esi + 0xac], 0
je case.0x4d975b.0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004e17c8
movsx eax, word [ebx + 8]
push eax
movsx eax, word [ebx + 0xa]
push eax
mov edx, dword [ebx + 4]
sub edx, 0x7d0
mov eax, dword [esi + 0xac]
mov eax, dword [eax + 0x38]
call fcn.004c1cf8
movzx ecx, byte [0x4e0178]
xor edx, edx
call fcn.004c1508
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4dc006
push 0
mov ecx, 0xf012
mov edx, 0x112
mov eax, dword [esi + 0x24c]
call fcn.0045eb7c
jmp case.0x4d975b.0
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.004e13ec
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 2
jne 0x4dc069
lea eax, [esp + 0x84]
push eax
movsx ecx, word [ebx + 0xa]
xor edx, edx
mov eax, esi
call fcn.004e4d10
mov edi, dword [esp + 0x88]
mov eax, dword [esi + 0x24c]
call fcn.00465948
mov cl, 1
mov edx, dword [esi + 0x268]
call fcn.004d4e00
mov ebp, eax
mov dl, 1
mov eax, esi
call fcn.004d69ac
add ebp, eax
cmp edi, ebp
jle 0x4dc1fe
push 0
lea eax, [esp + 0x15]
push eax
push 0
push 0x26
call sub.user32.dll_SystemParametersInfoA
cmp byte [esp + 0x11], 0
je 0x4dc1eb
cmp byte [esi + 0x54], 1
jne 0x4dc145
mov eax, dword [esi + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4dc145
mov eax, dword [ebx + 4]
sub eax, 5
je 0x4dc145
mov eax, dword [ebx + 4]
sub eax, 2
je 0x4dc0ba
sub eax, 3
jne 0x4dc0c8
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [ebx + 4]
add eax, 0xfffffff6
sub eax, 8
setb al
xor al, 1
mov byte [0x665f1c], al
lea ecx, [esp + 8]
movsx edx, word [ebx + 0xa]
movsx eax, word [ebx + 8]
call fcn.00407d4c
cmp byte [0x665f1c], 0
je 0x4dc114
push 0
push 0xf010
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
jmp 0x4dc131
push 0
push 0xf000
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, esi
call fcn.004e5bb4
jmp case.0x4d975b.0
cmp dword [ebx + 4], 2
jne 0x4dc1d8
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
je 0x4dc1d8
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
cmp byte [eax + 6], 0
je 0x4dc1d8
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4dc1d8
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
cmp byte [eax + 8], 0xff
je 0x4dc1d8
cmp byte [esi + 0x94], 0
je 0x4dc1d8
cmp byte [esi + 0x244], 0
jne 0x4dc1bb
mov byte [esi + 0x244], 1
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SetFocus
mov eax, esi
call fcn.004d4468
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x276], 0
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4d975b.0
mov eax, dword [esi + 0x24c]
mov edx, dword [eax]
call dword [edx + 0xd4]
jmp case.0x4d975b.0
mov eax, dword [ebx + 4]
sub eax, 3
jne 0x4dc327
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.004e13ec
mov byte [0x65d774], 0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4dc29f
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je case.0x4d975b.0
lea edx, [esp + 8]
mov eax, esi
call fcn.004e48cc
mov dl, 1
mov eax, esi
call fcn.004d69ac
mov ecx, eax
add ecx, dword [esp + 0xc]
add ecx, 4
mov edx, dword [esp + 8]
mov eax, esi
call fcn.004e49d8
jmp case.0x4d975b.0
lea edx, [esp + 0x84]
mov eax, esi
call fcn.004e48cc
mov ebx, dword [esp + 0x88]
mov dl, 1
mov eax, esi
call fcn.004d67e0
add ebx, eax
lea eax, [esi + 0x96]
xor edx, edx
call fcn.0053d68c
add ebx, eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
xor ecx, ecx
mov edx, dword [esi + 0x268]
call fcn.004d4e00
add ebx, eax
push ebx
mov eax, dword [esi + 0x24c]
call fcn.00465948
mov cl, 1
mov edx, dword [esi + 0x268]
call fcn.004d4dac
mov ebx, eax
lea edx, [esp + 0x90]
mov eax, esi
call fcn.004e48cc
add ebx, dword [esp + 0x90]
mov edx, ebx
mov eax, esi
pop ecx
call fcn.004e49d8
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
cmp dword [ebx + 4], 0x2f
jne 0x4dc39b
cmp dword [esi + 0x218], 0
je 0x4dc39b
mov eax, dword [esi + 0x218]
mov edx, dword [0x4d3740]
call fcn.004046f4
test al, al
je 0x4dc39b
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov edi, dword [esi + 0x218]
mov eax, edi
call fcn.004f1f4c
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, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [0x6604ec]
cmp dword [eax], 0
je 0x4dc3e1
mov eax, dword [0x6604ec]
mov eax, dword [eax]
test byte [eax + 0x1c], 0x10
jne 0x4dc3e1
mov eax, dword [0x6604ec]
mov eax, dword [eax]
xor edx, edx
call fcn.00536508
cmp byte [esi + 0x54], 1
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4d975b.0
lea ecx, [esp + 0x84]
movsx edx, word [ebx + 0xa]
movsx eax, word [ebx + 8]
call fcn.00407d4c
lea edx, [esp + 0x84]
lea ecx, [esp + 8]
mov eax, dword [esi + 0x24c]
call fcn.0045d2c4
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
mov edi, dword [esp + 0xc]
cmp byte [0x665f1c], 0
je 0x4dc4b2
cmp byte [0x65d764], 0
je 0x4dc44d
mov byte [0x65d764], 0
cmp byte [0x65d75c], 0
je case.0x4d975b.0
mov ecx, dword [0x665f28]
mov edx, dword [0x665f2c]
mov eax, esi
call fcn.004e5dc8
mov eax, dword [esp + 4]
sub eax, dword [0x665f38]
add dword [0x665f2c], eax
mov eax, edi
sub eax, dword [0x665f3c]
add dword [0x665f28], eax
mov dword [0x665f3c], edi
mov eax, dword [esp + 4]
mov dword [0x665f38], eax
mov ecx, dword [0x665f28]
mov edx, dword [0x665f2c]
mov eax, esi
call fcn.004e5dc8
jmp case.0x4d975b.0
cmp byte [0x65d764], 0
je 0x4dc4d1
mov eax, dword [esp + 4]
mov dword [0x665f38], eax
mov dword [0x665f3c], edi
mov byte [0x65d764], 0
cmp byte [0x65d75c], 0
je case.0x4d975b.0
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.004e5dc8
mov eax, dword [0x665f40]
add eax, 0xfffffff6
cmp eax, 6
ja case.default.0x4dc4fa
jmp dword [eax*4 + 0x4dc501]
mov eax, dword [esi + 0x24c]
call fcn.00444d28
add eax, dword [esp + 4]
sub eax, dword [0x665f38]
mov dword [0x665f2c], eax
mov eax, dword [0x665f34]
sub eax, dword [0x665f2c]
cmp eax, dword [0x665f48]
jge 0x4dc88c
mov eax, dword [0x665f34]
sub eax, dword [0x665f48]
mov dword [0x665f2c], eax
jmp 0x4dc88c
mov eax, dword [esi + 0x24c]
call fcn.00444d28
mov edx, dword [esi + 0x24c]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x665f38]
mov dword [0x665f34], eax
mov eax, dword [0x665f34]
sub eax, dword [0x665f2c]
cmp eax, dword [0x665f48]
jge 0x4dc88c
mov eax, dword [esi + 0x24c]
call fcn.00444d28
add eax, dword [0x665f48]
mov dword [0x665f34], eax
jmp 0x4dc88c
mov eax, dword [esi + 0x24c]
call fcn.00444d48
mov edx, dword [esi + 0x24c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x665f3c]
mov dword [0x665f30], edi
mov eax, dword [0x665f30]
sub eax, dword [0x665f28]
cmp eax, dword [0x665f44]
jge 0x4dc88c
mov eax, dword [esi + 0x24c]
call fcn.00444d48
add eax, dword [0x665f44]
mov dword [0x665f30], eax
jmp 0x4dc88c
mov eax, dword [esi + 0x24c]
call fcn.00444d48
add edi, eax
sub edi, dword [0x665f3c]
mov dword [0x665f28], edi
mov eax, dword [0x665f30]
sub eax, dword [0x665f28]
cmp eax, dword [0x665f44]
jge 0x4dc88c
mov eax, dword [0x665f30]
sub eax, dword [0x665f44]
mov dword [0x665f28], eax
jmp 0x4dc88c
mov eax, dword [esi + 0x24c]
call fcn.00444d48
mov edx, dword [esi + 0x24c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x665f3c]
mov dword [0x665f30], edi
mov eax, dword [0x665f30]
sub eax, dword [0x665f28]
cmp eax, dword [0x665f44]
jge 0x4dc69c
mov eax, dword [esi + 0x24c]
call fcn.00444d48
add eax, dword [0x665f44]
mov dword [0x665f30], eax
mov eax, dword [esi + 0x24c]
call fcn.00444d28
add eax, dword [esp + 4]
sub eax, dword [0x665f38]
mov dword [0x665f2c], eax
mov eax, dword [0x665f34]
sub eax, dword [0x665f2c]
cmp eax, dword [0x665f48]
jge 0x4dc88c
mov eax, dword [0x665f34]
sub eax, dword [0x665f48]
mov dword [0x665f2c], eax
jmp 0x4dc88c
mov eax, dword [esi + 0x24c]
call fcn.00444d48
add edi, eax
sub edi, dword [0x665f3c]
mov dword [0x665f28], edi
mov eax, dword [0x665f30]
sub eax, dword [0x665f28]
cmp eax, dword [0x665f44]
jge 0x4dc71e
mov eax, dword [0x665f30]
sub eax, dword [0x665f44]
mov dword [0x665f28], eax
mov eax, dword [esi + 0x24c]
call fcn.00444d28
mov edx, dword [esi + 0x24c]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x665f38]
mov dword [0x665f34], eax
mov eax, dword [0x665f34]
sub eax, dword [0x665f2c]
cmp eax, dword [0x665f48]
jge 0x4dc88c
mov eax, dword [esi + 0x24c]
call fcn.00444d28
add eax, dword [0x665f48]
mov dword [0x665f34], eax
jmp 0x4dc88c
mov eax, dword [esi + 0x24c]
call fcn.00444d48
add edi, eax
sub edi, dword [0x665f3c]
mov dword [0x665f28], edi
mov eax, dword [0x665f30]
sub eax, dword [0x665f28]
cmp eax, dword [0x665f44]
jge 0x4dc7af
mov eax, dword [0x665f30]
sub eax, dword [0x665f44]
mov dword [0x665f28], eax
mov eax, dword [esi + 0x24c]
call fcn.00444d28
add eax, dword [esp + 4]
sub eax, dword [0x665f38]
mov dword [0x665f2c], eax
mov eax, dword [0x665f34]
sub eax, dword [0x665f2c]
cmp eax, dword [0x665f48]
jge 0x4dc88c
mov eax, dword [0x665f34]
sub eax, dword [0x665f48]
mov dword [0x665f2c], eax
jmp 0x4dc88c
mov eax, dword [esi + 0x24c]
call fcn.00444d48
mov edx, dword [esi + 0x24c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x665f3c]
mov dword [0x665f30], edi
mov eax, dword [0x665f30]
sub eax, dword [0x665f28]
cmp eax, dword [0x665f44]
jge 0x4dc840
mov eax, dword [esi + 0x24c]
call fcn.00444d48
add eax, dword [0x665f44]
mov dword [0x665f30], eax
mov eax, dword [esi + 0x24c]
call fcn.00444d28
mov edx, dword [esi + 0x24c]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x665f38]
mov dword [0x665f34], eax
mov eax, dword [0x665f34]
sub eax, dword [0x665f2c]
cmp eax, dword [0x665f48]
jge 0x4dc88c
mov eax, dword [esi + 0x24c]
call fcn.00444d28
add eax, dword [0x665f48]
mov dword [0x665f34], eax
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.004e5dc8
jmp case.0x4d975b.0
mov eax, dword [ebx + 4]
add eax, 0xfffffffe
sub eax, 2
jb case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov eax, esi
call fcn.004d5e88
test al, al
je 0x4dc92b
cmp dword [esi + 0x268], 0
je 0x4dc8ea
cmp dword [ebx + 4], 0xffffffff
jne 0x4dc8ea
mov edx, ebx
mov eax, dword [esi + 0x268]
call fcn.004eddd0
mov dword [ebx + 4], eax
jmp 0x4dc8f6
mov edx, ebx
mov eax, esi
call fcn.004d83a0
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
add eax, 0xfffffffe
sub eax, 2
jae case.0x4d975b.0
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.004e13ec
mov byte [0x65d774], 0
movsx ecx, word [ebx + 0xa]
movsx edx, word [ebx + 8]
mov eax, esi
call fcn.004e49d8
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
cmp byte [esi + 0x78], 0
je 0x4dcfab
mov eax, dword [esi + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4dcfab
cmp dword [esi + 0x268], 0
je 0x4dc97a
cmp dword [ebx + 4], 0xffffffff
jne 0x4dc97a
mov edx, ebx
mov eax, dword [esi + 0x268]
call fcn.004eddd0
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
cmp eax, 0x15
jg 0x4dc9a2
je 0x4dcc81
sub eax, 8
je 0x4dcb2a
dec eax
je 0x4dca45
sub eax, 0xb
je 0x4dc9be
jmp 0x4dcdc8
sub eax, 0x65
je 0x4dccef
dec eax
je 0x4dcd35
dec eax
je 0x4dcd77
jmp 0x4dcdc8
cmp byte [0x65d774], 0
je case.0x4d975b.0
xor eax, eax
mov dword [esi + 0x130], eax
push 0
push 0xf060
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [esi + 0x24c]
test byte [eax + 0x1c], 8
jne case.0x4d975b.0
mov eax, esi
call fcn.004e83b8
cmp dword [esi + 0x24c], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x57], 0
je case.0x4d975b.0
cmp dword [esi + 0x50], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.004e13ec
jmp case.0x4d975b.0
mov eax, dword [esi + 0x254]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4dca7a
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 2
jne case.0x4d975b.0
mov eax, dword [esi + 0x254]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je case.0x4d975b.0
cmp byte [0x65d774], 0
je 0x4dcb0c
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.004e13ec
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4dcaa8
xor eax, eax
mov dword [0x65d77c], eax
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 2
jne 0x4dcad6
push 0
push 0xf120
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
jmp 0x4dcaf3
push 0
push 0xf030
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [esi + 0x254]
call fcn.004eb134
mov byte [0x65d774], 0
jmp case.0x4d975b.0
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.004e13ec
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
cmp byte [0x65d774], 0
je 0x4dcc63
cmp dword [esi + 0x268], 0
je 0x4dcb77
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00444d48
movsx edx, word [ebx + 0xa]
sub edx, eax
push edx
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00444d28
push eax
movsx eax, word [ebx + 8]
pop edx
sub eax, edx
lea ecx, [esp + 0xc]
pop edx
call fcn.00407d4c
jmp 0x4dcb8b
lea eax, [esp + 8]
push eax
movsx ecx, word [ebx + 0xa]
movsx edx, word [ebx + 8]
mov eax, esi
call fcn.004e4d10
lea edx, [esp + 8]
lea eax, [esi + 0xe8]
call fcn.00407d6c
test al, al
je 0x4dcc50
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.004e13ec
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x24c]
jne 0x4dcbec
mov byte [esi + 0x222], 1
push 0
push 0xf020
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov byte [esi + 0x222], 0
jmp 0x4dcc3d
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4dcc20
push 0
push 0xf120
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
jmp 0x4dcc3d
push 0
push 0xf020
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov byte [esi + 0xba], 1
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.004e13ec
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
cmp byte [0x65d774], 0
je 0x4dccdf
push 0
push 0xf180
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.004e13ec
xor edx, edx
mov eax, dword [esi + 0x254]
call fcn.004eb134
mov byte [0x65d774], 0
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, dword [esi + 0x24c]
call fcn.0045eb7c
jmp case.0x4d975b.0
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.004e13ec
jmp case.0x4d975b.0
cmp byte [0x65d774], 0
je case.0x4d975b.0
mov byte [0x65d774], 0
push 0
push 0xf060
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00446218
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.004e13ec
jmp case.0x4d975b.0
cmp byte [0x65d774], 0
je 0x4dcd60
push 0
push 0xf120
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00446218
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov byte [0x65d774], 0
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.004e13ec
jmp case.0x4d975b.0
cmp byte [0x65d774], 0
je 0x4dcdb8
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
call fcn.005279f8
mov byte [0x65d774], 0
push 0
push 0xf020
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00446218
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.004e13ec
jmp case.0x4d975b.0
mov eax, dword [esi + 0x48]
call fcn.00421864
mov ecx, eax
add ecx, 0x3e8
dec ecx
mov eax, dword [ebx + 4]
mov edx, 0x3e8
call fcn.0053d5a8
test al, al
je 0x4dce3d
cmp byte [0x65d774], 0
je 0x4dce26
movzx eax, byte [0x4e0178]
push eax
movsx eax, word [ebx + 8]
push eax
movsx eax, word [ebx + 0xa]
push eax
mov edx, dword [ebx + 4]
sub edx, 0x3e8
mov eax, dword [esi + 0x48]
call fcn.004eb600
mov edx, dword [ebx + 4]
sub edx, 0x3e8
xor ecx, ecx
call fcn.004eb7a4
mov byte [0x65d774], 0
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.004e13ec
jmp 0x4dcf9f
mov eax, dword [ebx + 4]
mov ecx, 0x8cf
mov edx, 0x7d0
call fcn.0053d5a8
test al, al
je 0x4dceac
cmp byte [0x65d774], 0
je 0x4dce94
cmp dword [esi + 0xac], 0
je 0x4dce94
movsx eax, word [ebx + 8]
push eax
movsx eax, word [ebx + 0xa]
push eax
mov edx, dword [ebx + 4]
sub edx, 0x7d0
mov eax, dword [esi + 0xac]
mov eax, dword [eax + 0x38]
call fcn.004c1cf8
movzx ecx, byte [0x4e0178]
xor edx, edx
call fcn.004c16a4
mov byte [0x65d774], 0
mov edx, dword [ebx + 4]
mov cl, 1
mov eax, esi
call fcn.004e13ec
jmp 0x4dcf9f
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4dcf24
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je 0x4dcf14
lea edx, [esp + 0x84]
mov eax, esi
call fcn.004e48cc
mov ebx, dword [esp + 0x84]
lea eax, [esp + 0x8c]
call fcn.004c2c68
add ebx, dword [esp + 0x8c]
push ebx
lea eax, [esp + 0xb8]
call fcn.004c2c68
mov ecx, dword [esp + 0xbc]
mov eax, esi
pop edx
call fcn.004e49d8
jmp 0x4dcf9f
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp 0x4dcf9f
cmp byte [esi + 0x54], 1
jne 0x4dcf91
mov eax, dword [esi + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4dcf91
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 2
je 0x4dcf91
cmp byte [0x65d75c], 0
je 0x4dcf91
lea ecx, [esp + 0x84]
movsx edx, word [ebx + 0xa]
movsx eax, word [ebx + 8]
call fcn.00407d4c
lea edx, [esp + 0x84]
lea ecx, [esp + 8]
mov eax, dword [esi + 0x24c]
call fcn.0045d2c4
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, esi
call fcn.004e5cc8
call sub.user32.dll_ReleaseCapture
jmp 0x4dcf9f
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov byte [0x65d774], 0
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
xor eax, eax
mov dword [ebx + 0xc], eax
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp dword [esi + 0x224], 0
je 0x4dcfea
lea eax, [esi + 0x224]
call fcn.00411188
mov eax, dword [esi + 0x50]
call fcn.00527c34
push eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
mov edx, 3
pop ecx
call fcn.004c675c
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
test byte [eax + 0x358], 1
jne 0x4dd070
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x57], 0
je 0x4dd070
mov eax, esi
call fcn.004d5188
test al, al
jne 0x4dd070
mov eax, dword [esi + 0x50]
movzx eax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je 0x4dd05d
mov dword [esi + 0x250], 0xffffffff
mov byte [esi + 0x232], 1
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
test byte [esi + 0x1c], 1
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
test byte [eax + 0x358], 1
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
test byte [eax + 0x1c], 8
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
call fcn.00465948
xor ecx, ecx
mov dl, 1
call fcn.004d50d0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4dd12c
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je 0x4dd12c
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.00446218
test eax, eax
je 0x4dd12c
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.00446218
cmp byte [eax + 0x273], 2
jne 0x4dd12c
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.00446218
cmp eax, dword [esi + 0x24c]
jne case.0x4d975b.0
cmp byte [esi + 0xb9], 0
jne 0x4dd147
mov eax, esi
call fcn.004e5724
test al, al
je 0x4dd147
mov byte [esi + 0xb9], 1
mov ebp, dword [ebx + 4]
mov eax, dword [esi + 0x50]
mov dword [eax + 0x58], ebp
mov eax, dword [esi + 0x50]
mov byte [eax + 0x1c], 0
cmp dword [esi + 0x268], 0
je 0x4dd258
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x39], 0
je 0x4dd174
mov eax, esi
call fcn.004e2bbc
push 0xcc0020
push 0
push 0
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00436458
call fcn.00431e40
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_BitBlt
mov eax, esi
call fcn.004e4edc
push eax
mov eax, esi
call fcn.004e4e44
mov edx, eax
mov eax, ebp
pop ecx
call fcn.0045be18
lea eax, [esp + 0x34]
push eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_GetClientRect
lea eax, [esp + 0x34]
xor edx, edx
call fcn.0053d68c
push eax
lea eax, [esp + 0x38]
xor edx, edx
call fcn.0053d678
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
je 0x4dd489
lea ecx, [esp + 0x84]
xor edx, edx
xor eax, eax
call fcn.00407d4c
lea eax, [esp + 0x84]
push eax
push 0
mov eax, dword [esi + 0x22c]
and eax, 0x200
cmp eax, 0x200
sete al
xor al, 1
push eax
mov cl, 1
mov edx, dword [esi + 0x24c]
mov eax, ebp
call fcn.004c61ec
jmp 0x4dd489
cmp byte [esi + 0x78], 0
je 0x4dd39b
mov eax, esi
call fcn.004d5e88
test al, al
jne 0x4dd392
mov eax, dword [esi + 0x24c]
call fcn.00465948
call fcn.004d5a30
test al, al
je 0x4dd392
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x39], 0
je 0x4dd299
mov eax, esi
call fcn.004e2bbc
mov eax, dword [esi + 0x24c]
mov edi, dword [eax + 0x19c]
add edi, 3
push 0xcc0020
push 0
push 0
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00436458
call fcn.00431e40
push eax
push edi
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_BitBlt
push 0xcc0020
push edi
push 0
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00436458
call fcn.00431e40
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
push edi
push edi
push 0
push ebp
call sub.gdi32.dll_BitBlt
push 0xcc0020
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x4c]
sub eax, edi
push eax
push edi
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00436458
call fcn.00431e40
push eax
push edi
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x48]
sub eax, edi
push eax
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x4c]
sub eax, edi
push eax
push edi
push ebp
call sub.gdi32.dll_BitBlt
push 0xcc0020
push edi
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, edi
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00436458
call fcn.00431e40
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
push edi
push edi
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, edi
push eax
push ebp
call sub.gdi32.dll_BitBlt
jmp 0x4dd39b
mov edx, ebp
mov eax, esi
call fcn.004e0b80
mov eax, esi
call fcn.004e4edc
push eax
mov eax, esi
call fcn.004e4e44
mov edx, eax
mov eax, ebp
pop ecx
call fcn.0045be18
lea eax, [esp + 0x34]
push eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_GetClientRect
lea eax, [esp + 0x34]
xor edx, edx
call fcn.0053d68c
push eax
lea eax, [esp + 0x38]
xor edx, edx
call fcn.0053d678
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [esi + 0x50]
movzx eax, word [eax + 0x52]
and ax, 1
cmp ax, 1
je 0x4dd40a
mov cl, 1
mov edx, ebp
mov eax, esi
call fcn.004e0e58
jmp 0x4dd489
push ebp
call sub.gdi32.dll_SaveDC
mov dword [esp], eax
push 0
push 0
xor ecx, ecx
mov edx, dword [esi + 0x24c]
mov eax, ebp
call fcn.0051ee94
mov cl, 1
mov edx, ebp
mov eax, esi
call fcn.004e0e58
mov eax, dword [esp]
push eax
push ebp
call sub.gdi32.dll_RestoreDC
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
je 0x4dd489
lea ecx, [esp + 0x84]
xor edx, edx
xor eax, eax
call fcn.00407d4c
lea eax, [esp + 0x84]
push eax
push 0
mov eax, dword [esi + 0x22c]
and eax, 0x200
cmp eax, 0x200
sete al
xor al, 1
push eax
mov cl, 1
mov edx, dword [esi + 0x24c]
mov eax, ebp
call fcn.004c61ec
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
jne 0x4dd4b2
push 0
push ebp
push 0x317
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x29c]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [esi + 0x50]
xor edx, edx
mov dword [eax + 0x58], edx
mov eax, dword [esi + 0x24c]
cmp word [eax + 0x302], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x24c]
call fcn.004463b8
mov edx, ebp
call fcn.00431ec8
mov ebx, dword [esi + 0x24c]
mov edx, dword [esi + 0x24c]
mov eax, dword [ebx + 0x304]
call dword [ebx + 0x300]
mov eax, dword [esi + 0x24c]
call fcn.004463b8
xor edx, edx
call fcn.00431ec8
jmp case.0x4d975b.0
xor eax, eax
mov dword [ebx + 0xc], eax
jmp case.0x4d975b.0
cmp dword [esi + 0x254], 0
jne 0x4dd529
mov eax, esi
call fcn.004e67cc
cmp byte [esi + 0x78], 0
je 0x4dd590
mov eax, dword [esi + 0x50]
movzx eax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je case.0x4d975b.0
mov eax, dword [esi + 0x50]
movzx eax, word [eax + 0x52]
and ax, 0x400
cmp ax, 0x400
je case.0x4d975b.0
mov eax, esi
call fcn.004d4d50
test al, al
je 0x4dd57a
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x290]
cmp dword [eax + 0x38], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x22c]
and eax, 0x200
cmp eax, 0x200
je case.0x4d975b.0
cmp byte [esi + 0x21c], 0
je 0x4dd5a7
mov byte [esi + 0x21c], 0
mov eax, esi
call fcn.004e86fc
mov eax, dword [esi + 0x24c]
cmp dword [eax + 0x30], 0
je 0x4dd5ce
mov eax, dword [esi + 0x50]
call fcn.00527c48
mov edx, dword [esi + 0x50]
mov byte [edx + 0x1c], al
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4d975b.0
cmp byte [esi + 0x78], 0
je 0x4dd698
mov eax, dword [0x66011c]
cmp byte [eax], 0
je 0x4dd5f5
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
je 0x4dd698
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4dd611
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
cmp byte [esi + 0x223], 0
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x1da], 0
je case.0x4d975b.0
test byte [esi + 0x1c], 1
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
test byte [eax + 0x55], 2
jne case.0x4d975b.0
cmp dword [esi + 0x254], 0
je case.0x4d975b.0
cmp dword [esi + 0x228], 0
jne 0x4dd668
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov eax, dword [esi + 0x50]
cmp dword [eax + 0x44], 0
jne 0x4dd687
mov eax, dword [esi + 0x50]
call fcn.00527c34
call fcn.00537008
mov edx, eax
mov eax, esi
call fcn.004e8194
mov eax, esi
call fcn.004e71dc
xor eax, eax
mov dword [ebx + 0xc], eax
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x1da], 0
je 0x4dda3b
cmp byte [esi + 0xa6], 0
je 0x4dda3b
mov eax, dword [esi + 0x50]
movzx eax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je case.0x4d975b.0
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
test byte [eax + 0x54], 0x80
jne 0x4dd982
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x4dd982
mov eax, dword [esi + 0x50]
call fcn.00526080
test al, al
je 0x4dd753
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
jne 0x4dd8ae
mov eax, dword [esi + 0x24c]
call fcn.00446218
test eax, eax
je 0x4dd8ae
mov eax, dword [esi + 0x24c]
call fcn.00446218
cmp byte [eax + 0x273], 2
jne 0x4dd8ae
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4dd872
mov eax, dword [esi + 0x50]
cmp dword [eax + 0x44], 0
je 0x4dd872
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je 0x4dd872
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_GetClientRect
lea edx, [esp + 0x94]
mov eax, dword [esi + 0x24c]
call fcn.0045d154
lea edx, [esp + 0x94]
lea eax, [esp + 0x34]
call fcn.00407d6c
test al, al
je 0x4dd872
lea edx, [esp + 0x94]
mov eax, dword [esi + 0x24c]
call fcn.0045d154
lea edx, [esp + 0x9c]
lea eax, [esp + 0x34]
call fcn.00407d6c
test al, al
je 0x4dd872
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
mov cl, 1
mov edx, dword [esi + 0x268]
call fcn.004d4e00
mov edi, eax
mov dl, 1
mov eax, esi
call fcn.004d69ac
add edi, eax
mov eax, esi
call fcn.004e4fd0
mov ebp, eax
mov eax, esi
call fcn.004e5708
imul ebp, eax
add edi, ebp
inc edi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
jge 0x4dd854
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
jmp 0x4dd85c
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004e6fd8
cmp byte [0x65d778], 0
je 0x4dda2f
mov byte [0x65d778], 0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4dda2f
mov dword [0x65d77c], esi
jmp 0x4dda2f
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4dda2f
mov eax, dword [esi + 0x50]
cmp dword [eax + 0x44], 0
je 0x4dd972
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x39], 0
jne 0x4dd972
mov eax, dword [esi + 0x24c]
call fcn.0045d1f4
push eax
lea eax, [esp + 0x98]
push eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1b0
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00407d30
lea eax, [esp + 0x94]
push eax
mov eax, dword [ebx + 4]
push eax
push 0
push 0
push 0
mov eax, esi
call fcn.004e4edc
mov edi, eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1f4
add edi, eax
push edi
lea eax, [esp + 0xbc]
push eax
mov eax, esi
call fcn.004e4e44
mov edi, eax
mov eax, dword [esi + 0x24c]
call fcn.0045d1b0
add edi, eax
push edi
mov eax, esi
call fcn.004e4edc
push eax
mov eax, esi
call fcn.004e4e44
pop edx
pop ecx
call fcn.00407d30
lea ecx, [esp + 0xb8]
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x24c]
call fcn.00529304
mov eax, dword [esi + 0x24c]
call fcn.004c5fc0
jmp 0x4dda2f
cmp dword [ebx + 4], 0
je 0x4dda2f
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x39], 0
jne 0x4dda2f
mov eax, dword [esi + 0x50]
call fcn.00526080
test al, al
je 0x4dd9ee
push 0xcc0020
mov eax, esi
call fcn.004e4edc
push eax
mov eax, esi
call fcn.004e4e44
push eax
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00436458
call fcn.00431e40
push eax
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [ebx + 4]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4dda2f
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x50]
call fcn.00526950
push eax
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x4c]
push eax
lea eax, [esp + 0x9c]
push eax
mov eax, dword [esi + 0x24c]
mov ecx, dword [eax + 0x48]
xor edx, edx
xor eax, eax
call fcn.00407d30
lea edx, [esp + 0x98]
mov eax, dword [ebx + 4]
pop ecx
call fcn.0051ebf8
mov dword [ebx + 0xc], 1
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
cmp byte [esi + 0xa6], 0
je 0x4ddc23
mov eax, dword [esi + 0x24c]
test byte [eax + 0x54], 0x80
jne case.0x4d975b.0
cmp dword [esi + 0x268], 0
je 0x4ddab2
mov eax, esi
call fcn.004d5188
test al, al
jne 0x4ddab2
mov eax, dword [esi + 0x268]
cmp dword [eax + 0x18], 0
je 0x4ddaa3
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4ddab2
mov cl, 0xff
xor edx, edx
mov eax, dword [esi + 0x268]
call fcn.004eebf0
mov eax, dword [esi + 0x50]
call fcn.00526080
test al, al
je 0x4ddb73
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x1da], 0
je 0x4ddb63
mov edx, ebx
mov eax, esi
call fcn.004e797c
cmp byte [0x65d778], 0
je 0x4ddaee
mov byte [0x65d778], 0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
jne 0x4ddb59
cmp dword [ebx + 4], 0
jne 0x4ddb16
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_GetDC
mov ebp, eax
lea ecx, [esp + 0x84]
xor edx, edx
xor eax, eax
call fcn.00407d4c
lea eax, [esp + 0x84]
push eax
push 0
push 1
mov cl, 1
mov edx, dword [esi + 0x24c]
mov eax, ebp
call fcn.004c61ec
cmp dword [ebx + 4], 0
jne 0x4ddb59
push ebp
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_ReleaseDC
xor eax, eax
mov dword [ebx + 0xc], eax
jmp 0x4ddbe7
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp 0x4ddbe7
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x1da], 0
je 0x4ddbd9
test byte [esi + 0x1c], 8
jne 0x4ddba6
mov eax, dword [esi + 0x50]
cmp byte [eax + 0x39], 0
je 0x4ddba6
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_InvalidateRect
lea eax, [esp + 0x44]
push eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_BeginPaint
lea eax, [esp + 0x44]
push eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_EndPaint
xor eax, eax
mov dword [ebx + 0xc], eax
jmp 0x4ddbe7
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp byte [esi + 0x78], 0
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp dword [eax + 0x290], 0
je case.0x4d975b.0
push 0
push 0
push 0x85
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [0x6606e8]
cmp dword [eax], 0
je 0x4ddc6d
mov eax, dword [esi + 0x24c]
call fcn.00465ce8
test al, al
je 0x4ddc6d
mov eax, dword [esi + 0x24c]
call fcn.00465948
call fcn.004d6aa8
cmp byte [0x65d758], 0
jne case.0x4d975b.0
jmp case.0x4d975b.0
test byte [esi + 0x1c], 8
jne 0x4de36e
cmp byte [esi + 0x78], 0
je 0x4de36e
mov eax, dword [esi + 0x24c]
call fcn.00465ce8
test al, al
je 0x4de36e
cmp dword [esi + 0x254], 0
jne 0x4ddcb6
mov eax, esi
call fcn.004e67cc
or dword [esi + 0x22c], 0x8000
mov eax, dword [esi + 0x22c]
and eax, 0x80
cmp eax, 0x80
je 0x4ddcdf
cmp dword [ebx + 4], 1
sbb eax, eax
inc eax
mov byte [esi + 0x244], al
cmp byte [esi + 0x244], 0
jne 0x4ddcfd
cmp byte [esi + 0x221], 3
jne 0x4ddcfd
mov byte [esi + 0x221], 0
jmp 0x4dddb1
cmp byte [esi + 0x221], 3
je 0x4ddd9f
mov eax, dword [esi + 0x50]
cmp dword [eax + 0x28], 0
jl 0x4ddd8c
mov eax, dword [esi + 0x50]
cmp dword [eax + 0x24], 0
jl 0x4ddd67
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, dword [esi + 0x50]
mov edx, dword [edx + 0x24]
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
cmp word [eax + edx*8 + 0x1c], 1
jg 0x4ddd5e
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xd0]
mov edx, dword [esi + 0x50]
imul edx, dword [edx + 0x28], 0x43
cmp dword [eax + edx*4 + 8], 1
jle 0x4ddd93
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
jmp 0x4ddd93
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xd0]
mov edx, dword [esi + 0x50]
imul edx, dword [edx + 0x28], 0x43
cmp dword [eax + edx*4 + 8], 1
jle 0x4ddd93
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
jmp 0x4ddd93
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
xor edx, edx
mov eax, dword [esi + 0x50]
call fcn.00528164
jmp 0x4dddb1
cmp dword [esi + 0x268], 0
sete dl
mov eax, dword [esi + 0x50]
call fcn.00528164
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x1da], 0
je 0x4de0cb
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4de0cb
cmp word [ebx + 4], 0
setne al
cmp al, byte [esi + 0x244]
je 0x4dddf4
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
call fcn.004d503c
test al, al
je 0x4ddf43
cmp dword [esi + 0x268], 0
jne 0x4dde6c
mov eax, dword [0x660674]
mov eax, dword [eax]
call fcn.0044f4e4
test al, al
je 0x4dde50
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x24c]
je 0x4dde50
mov eax, dword [0x660674]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x4dde50
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp byte [eax + 0x273], 1
je 0x4ddf9b
push 0
push 0
push 0xb
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
jmp 0x4ddf9b
mov eax, dword [esi + 0x50]
cmp dword [eax + 0x44], 0
je 0x4ddf9b
mov eax, esi
call fcn.004e4fd0
test eax, eax
jle 0x4ddf9b
mov eax, dword [esi + 0x268]
cmp dword [eax + 0x18], 0
jne 0x4dde9f
mov eax, dword [esi + 0x268]
call fcn.004efda8
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x268]
call fcn.004efc40
push eax
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x328], 0
je 0x4ddefe
push 0
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
mov edx, dword [esi + 0x24c]
movzx ecx, byte [edx + 0x329]
mov edx, dword [esi + 0x50]
mov edx, dword [edx + 0x44]
call fcn.004d3ce0
jmp 0x4ddf1e
push 0
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
mov edx, dword [esi + 0x50]
mov edx, dword [edx + 0x44]
mov ecx, 0xff
call fcn.004d3ce0
push 0x613
push 0
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4ddf9b
cmp byte [esi + 0x223], 0
jne 0x4ddf55
cmp byte [esi + 0x21c], 0
je 0x4ddf6e
push 0
push 0
push 0xb
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
jmp 0x4ddf9b
cmp dword [esi + 0x268], 0
je 0x4ddf82
mov eax, esi
call fcn.004d4d50
test al, al
je 0x4ddf9b
mov eax, dword [esi + 0x24c]
cmp word [eax + 0x302], 0
jne 0x4ddf9b
xor edx, edx
mov eax, esi
call fcn.004d5530
cmp dword [esi + 0x268], 0
je 0x4ddfbf
cmp byte [esi + 0x223], 0
jne 0x4ddfbf
call fcn.004d503c
test al, al
jne 0x4ddfbf
xor edx, edx
mov eax, esi
call fcn.004d5a48
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
call fcn.004d503c
test al, al
je 0x4de060
cmp dword [esi + 0x268], 0
jne 0x4de0d9
mov eax, dword [0x660674]
mov eax, dword [eax]
call fcn.0044f4e4
test al, al
je 0x4de02d
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x24c]
je 0x4de02d
mov eax, dword [0x660674]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x4de02d
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp byte [eax + 0x273], 1
je 0x4de0d9
push 0
push 1
push 0xb
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
push 0x181
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4de0d9
cmp byte [esi + 0x223], 0
jne 0x4de072
cmp byte [esi + 0x21c], 0
je 0x4de08b
push 0
push 1
push 0xb
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
jmp 0x4de0a6
cmp dword [esi + 0x268], 0
je 0x4de09f
mov eax, esi
call fcn.004d4d50
test al, al
je 0x4de0a6
mov eax, esi
call fcn.004d5860
cmp byte [esi + 0x21c], 0
je 0x4de0d9
push 0x85
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4de0d9
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp dword [esi + 0x24c], 0
je 0x4de1c1
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x57], 0
je 0x4de1c1
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4de1c1
mov eax, dword [esi + 0x24c]
test byte [eax + 0x358], 0x10
je 0x4de1c1
mov eax, dword [esi + 0x24c]
test byte [eax + 0x358], 4
je 0x4de1c1
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je 0x4de1c1
mov eax, dword [0x6607cc]
mov eax, dword [eax]
cmp dword [eax + 0x240], 0
je 0x4de1c1
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov dword [eax + 0x250], 0xffffffff
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x240]
call fcn.004d0b78
push 0
push 0
push 0x85
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x85
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + 0x29c]
push eax
call sub.user32.dll_SendMessageA
push 0xffffffffffffffec
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
jne 0x4de1f9
cmp dword [esi + 0x218], 0
jne 0x4de1f9
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, esi
call fcn.004e88fc
mov eax, dword [esi + 0x24c]
test byte [eax + 0x54], 0x40
jne case.0x4d975b.0
mov eax, esi
call fcn.004d5e88
test al, al
je 0x4de2af
mov eax, dword [esi + 0x22c]
and eax, 0x80
cmp eax, 0x80
je 0x4de2af
mov eax, esi
call fcn.004e569c
test al, al
je 0x4de287
cmp word [ebx + 4], 0
jne 0x4de254
mov eax, dword [esi + 0x24c]
call fcn.00446218
cmp byte [eax + 0x276], 0
je 0x4de2af
cmp word [ebx + 4], 0
jne 0x4de273
mov eax, dword [esi + 0x24c]
call fcn.00446218
cmp byte [eax + 0x276], 0
jne 0x4de273
xor eax, eax
jmp 0x4de275
mov al, 1
mov byte [esi + 0x244], al
mov dword [esi + 0x250], 0xffffffff
jmp 0x4de2af
cmp word [ebx + 4], 0
setne al
cmp al, byte [esi + 0x244]
je 0x4de2af
cmp word [ebx + 4], 0
setne al
mov byte [esi + 0x244], al
mov dword [esi + 0x250], 0xffffffff
and dword [esi + 0x22c], 0xffff7fff
cmp dword [esi + 0x218], 0
je 0x4de2ce
mov eax, dword [esi + 0x218]
cmp byte [eax + 0x30], 0
jne 0x4de33c
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, esi
call fcn.004e88fc
cmp dword [esi + 0x268], 0
je 0x4de33c
mov eax, dword [esi + 0x24c]
movzx eax, byte [eax + 0x273]
sub al, 1
jb 0x4de32d
dec al
jne 0x4de33c
mov eax, dword [0x660420]
cmp byte [eax], 0
je 0x4de31c
lea eax, [esi + 0x268]
call fcn.00411188
xor edx, edx
mov eax, esi
call fcn.004d5a48
jmp 0x4de33c
mov cl, 0xff
mov dl, 1
mov eax, dword [esi + 0x268]
call fcn.004eebf0
jmp 0x4de33c
mov cl, 0xff
mov dl, 1
mov eax, dword [esi + 0x268]
call fcn.004eebf0
mov eax, esi
call fcn.004e6750
xor edx, edx
mov eax, dword [esi + 0x50]
call fcn.00528168
test al, al
je case.0x4d975b.0
cmp dword [esi + 0x228], 0
jne case.0x4d975b.0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [0x660618]
cmp dword [eax], 0
je 0x4de3b2
mov eax, dword [0x660618]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x4de3b2
mov eax, dword [0x660618]
mov eax, dword [eax]
call fcn.004498dc
cmp dword [ebx + 4], 1
jne case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x22c]
and eax, 0x100
cmp eax, 0x100
je case.0x4d975b.0
cmp dword [esi + 0x268], 0
je 0x4de407
mov cl, 0xff
xor edx, edx
mov eax, dword [esi + 0x268]
call fcn.004eebf0
jmp case.0x4d975b.0
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x24c]
jne case.0x4d975b.0
cmp dword [ebx + 4], 1
jne case.0x4d975b.0
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp byte [eax + 0x273], 1
jne case.0x4d975b.0
cmp dword [esi + 0x218], 0
je 0x4de45a
mov eax, dword [esi + 0x218]
cmp byte [eax + 0xec], 0
jne case.0x4d975b.0
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
xor edx, edx
call fcn.00446ad8
push 0xffffffffffffffff
push 0
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.00465948
push eax
call sub.user32.dll_InvalidateRect
push 0x585
push 0
push 0
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4de583
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je 0x4de583
mov eax, dword [0x6607cc]
mov eax, dword [eax]
test byte [eax + 0x1c], 8
jne 0x4de583
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 2
je 0x4de54d
mov byte [esi + 0xb9], 0
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov byte [eax + 0x232], 1
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov dword [eax + 0x250], 0xffffffff
push 0
push 0
push 0x85
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
jmp 0x4de583
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
push 0
push 0
push 0x85
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
mov al, 1
call fcn.004d8ba4
mov dword [0x65d77c], esi
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x1da], 0
je 0x4de64c
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp dword [esi + 0x224], 0
jne 0x4de5cd
cmp byte [esi + 0x78], 0
je 0x4de5cd
lea edx, [esi + 0x224]
xor ecx, ecx
mov eax, esi
call fcn.004d5d84
mov eax, dword [esi + 0x24c]
test byte [eax + 0x54], 0x40
jne case.0x4d975b.0
mov dword [esi + 0x250], 0xffffffff
cmp word [ebx + 4], 1
jne case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527c34
test byte [eax + 0x1c], 0x10
jne 0x4de613
xor edx, edx
mov eax, dword [esi + 0x50]
call fcn.00528168
mov edx, eax
mov eax, esi
call fcn.004e5b38
cmp dword [esi + 0x254], 0
je 0x4de629
xor edx, edx
mov eax, dword [esi + 0x254]
call fcn.004eb134
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x271], 0
jne case.0x4d975b.0
mov eax, dword [esi + 0x24c]
call fcn.004c5fc0
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
cmp byte [esi + 0x21c], 0
je 0x4de692
cmp dword [ebx + 4], 1
jne 0x4de692
mov byte [esi + 0x21c], 0
mov eax, esi
call fcn.004e86fc
mov eax, dword [esi + 0x50]
call fcn.00527c34
call fcn.00537008
mov edx, eax
mov eax, esi
call fcn.004e8194
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp dword [ebx + 4], 0
jne 0x4de6e7
cmp dword [esi + 0x50], 0
je 0x4de6db
mov eax, dword [esi + 0x50]
cmp dword [eax + 0x44], 0
je 0x4de6db
mov eax, dword [esi + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4de6db
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, esi
call fcn.004e83b8
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp dword [eax + 0x30], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x24c]
call fcn.004c5fc0
jmp case.0x4d975b.0
cmp byte [esi + 0x54], 1
jne 0x4de75b
cmp byte [0x65d75c], 0
je 0x4de75b
lea ecx, [esp + 0x84]
movsx edx, word [ebx + 0xa]
movsx eax, word [ebx + 8]
call fcn.00407d4c
lea edx, [esp + 0x84]
lea ecx, [esp + 8]
mov eax, dword [esi + 0x24c]
call fcn.0045d2c4
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, esi
call fcn.004e5cc8
call sub.user32.dll_ReleaseCapture
mov byte [0x65d75c], 0
mov byte [0x65d760], 0
mov eax, dword [ebx + 4]
sub eax, 2
je 0x4de796
dec eax
jne 0x4de89b
mov eax, dword [esi + 0x50]
call fcn.00527c34
cmp byte [eax + 0x58], 0
jne 0x4de786
mov eax, dword [esi + 0x50]
mov byte [eax + 0x1c], 1
mov eax, dword [esi + 0x24c]
call fcn.004498dc
jmp case.0x4d975b.0
mov eax, esi
call fcn.004e5530
test al, al
je 0x4de7bf
mov eax, dword [esi + 0x254]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4de7e3
mov eax, dword [esi + 0x254]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
jne 0x4de7e3
mov eax, esi
call fcn.004d5e88
test al, al
jne 0x4de852
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4de852
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 2
je 0x4de807
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4de826
push 0
push 0xf120
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
jmp 0x4de843
push 0
push 0xf030
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [esi + 0x254]
call fcn.004eb134
jmp 0x4de891
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4de891
push 0
push 0xf120
push 0x112
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [esi + 0x254]
call fcn.004eb134
xor eax, eax
mov dword [ebx + 4], eax
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 2
jne 0x4de8cd
mov eax, dword [0x6607cc]
cmp esi, dword [eax]
jne 0x4de8cd
mov eax, dword [0x6607cc]
mov dword [eax], esi
mov eax, esi
call fcn.004d4d50
test al, al
je 0x4de91f
mov eax, dword [esi + 0x50]
call fcn.00527c34
test eax, eax
je 0x4de91f
mov eax, dword [ebx + 8]
cmp dword [eax], 1
jne 0x4de91f
mov eax, dword [ebx + 8]
mov edx, dword [eax + 8]
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x290]
xor ecx, ecx
call fcn.0045567c
mov edi, eax
test edi, edi
je 0x4de91f
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x44]
mov cl, 1
mov edx, edi
call fcn.0053bc60
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
je 0x4dec2a
movzx eax, word [ebx + 4]
sub ax, 0xf012
je 0x4de96e
sub ax, 0xe
je 0x4de9e5
sub ax, 0x10
je 0x4de981
sub ax, 0xf0
je 0x4dea47
jmp 0x4dec2a
mov eax, dword [esi + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x84]
jmp 0x4dec2a
mov eax, dword [esi + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4dec2a
cmp dword [esi + 0x218], 0
je 0x4dec2a
mov eax, dword [esi + 0x218]
cmp byte [eax + 0xec], 0
je 0x4dec2a
call fcn.0053d5e8
mov byte [esp + 0x12], al
xor eax, eax
call fcn.0053d618
mov eax, esi
call fcn.004d4254
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
movzx eax, byte [esp + 0x12]
call fcn.0053d618
jmp case.0x4d975b.0
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x24c]
je 0x4dec2a
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4dec2a
call fcn.0053d5e8
mov byte [esp + 0x12], al
xor eax, eax
call fcn.0053d618
mov eax, esi
call fcn.004d4004
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
movzx eax, byte [esp + 0x12]
call fcn.0053d618
jmp case.0x4d975b.0
mov eax, dword [esi + 0x22c]
and eax, 0x200
cmp eax, 0x200
jne 0x4deaa3
and dword [esi + 0x22c], 0xfffffdff
cmp dword [esi + 0x268], 0
je 0x4dea76
mov eax, dword [esi + 0x268]
mov byte [eax + 0x28], 0
call fcn.0053d5e8
mov byte [esp + 0x12], al
xor eax, eax
call fcn.0053d618
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
movzx eax, byte [esp + 0x12]
call fcn.0053d618
jmp case.0x4d975b.0
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x24c]
je 0x4deb5e
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4deb02
call fcn.0053d5e8
mov byte [esp + 0x12], al
xor eax, eax
call fcn.0053d618
mov eax, esi
call fcn.004d4254
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
movzx eax, byte [esp + 0x12]
call fcn.0053d618
jmp case.0x4d975b.0
cmp dword [esi + 0x268], 0
je 0x4deb17
mov eax, dword [esi + 0x268]
cmp dword [eax + 0x18], 0
je 0x4deb33
cmp dword [esi + 0x268], 0
jne 0x4dec2a
mov eax, esi
call fcn.004d8e1c
test al, al
je 0x4dec2a
cmp dword [esi + 0x268], 0
je 0x4deb47
lea eax, [esi + 0x268]
call fcn.00411188
mov dl, 1
mov eax, esi
call fcn.004e8194
xor edx, edx
mov eax, esi
call fcn.004d5a48
jmp 0x4dec2a
mov eax, dword [0x660674]
mov eax, dword [eax]
call fcn.0044f4e4
test al, al
je 0x4dec2a
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x24c]
jne 0x4dec2a
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4dec2a
mov eax, dword [esi + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4dec2a
cmp dword [esi + 0x218], 0
je 0x4debd6
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4d975b.0
cmp dword [esi + 0x268], 0
jne 0x4dec2a
call fcn.004d503c
test al, al
je 0x4dec2a
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
push 0x481
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_InvalidateRect
jmp case.0x4d975b.0
cmp byte [esi + 0x54], 1
jne 0x4decad
mov eax, dword [esi + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4decad
cmp byte [0x65d75c], 0
jne 0x4decad
mov eax, dword [ebx + 4]
and eax, 0xfff0
cmp eax, 0xf010
jne 0x4dec78
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SetCapture
mov byte [0x65d764], 1
mov byte [0x665f1c], 1
jmp 0x4decad
mov eax, dword [ebx + 4]
and eax, 0xfff0
cmp eax, 0xf000
jne 0x4decad
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SetCapture
xor eax, eax
mov dword [0x665f40], eax
mov byte [0x65d764], 1
mov byte [0x665f1c], 0
mov eax, dword [esi + 0x24c]
movzx eax, byte [eax + 0x277]
dec al
je 0x4deccb
dec al
je 0x4df08c
jmp 0x4df11b
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 2
jne 0x4decf2
cmp dword [ebx + 4], 0xf030
je 0x4decf2
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 0
jne 0x4decf6
xor eax, eax
jmp 0x4decf8
mov al, 1
mov byte [esp + 0x10], al
cmp byte [esp + 0x10], 0
je 0x4ded1c
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je 0x4ded1c
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
call fcn.005279f8
mov eax, dword [ebx + 4]
and eax, 0xfff0
cmp eax, 0xf060
jg 0x4ded46
je 0x4ded5f
sub eax, 0xf020
je 0x4def65
sub eax, 0x10
je 0x4defa1
jmp 0x4df05a
sub eax, 0xf100
je 0x4df068
sub eax, 0x20
je 0x4dee15
jmp 0x4df05a
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je 0x4df068
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je 0x4ded95
mov eax, dword [0x6607cc]
mov eax, dword [eax]
cmp dword [eax + 0x240], 0
je 0x4ded95
cmp byte [esp + 0x10], 0
je 0x4ded95
mov al, 1
call fcn.004d8ba4
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov byte [eax + 0x21f], 1
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [esi + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4dedce
test byte [esi + 0x1c], 8
jne 0x4dedce
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.004e13ec
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov byte [eax + 0x21f], 0
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je case.0x4d975b.0
mov eax, dword [0x6607cc]
mov eax, dword [eax]
cmp dword [eax + 0x240], 0
je case.0x4d975b.0
cmp byte [esp + 0x10], 0
je case.0x4d975b.0
mov al, 1
call fcn.004d8ba4
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 1
jne 0x4dee29
mov byte [esp + 0x10], 1
cmp byte [0x65d778], 0
jne case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
cmp byte [esi + 0x78], 0
je 0x4dee7d
push 0xfffffffffffffff0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xfffffffffffffff0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowLongA
push 0x505
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je 0x4def45
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.0044624c
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4def45
inc ebp
xor edi, edi
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
mov edx, edi
call fcn.00446298
cmp eax, dword [esi + 0x24c]
je 0x4def41
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
mov edx, edi
call fcn.00446298
cmp byte [eax + 0x273], 2
jne 0x4def19
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
mov edx, edi
call fcn.00446298
xor edx, edx
call fcn.00446ad8
push 0x506
push 0
push 0
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
mov edx, edi
call fcn.00446298
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
inc edi
dec ebp
jne 0x4deec5
cmp byte [esp + 0x10], 0
je 0x4def53
mov al, 1
call fcn.004d8ba4
mov dl, 1
mov eax, dword [esi + 0x254]
call fcn.004eb134
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp byte [esp + 0x10], 0
je 0x4def81
mov al, 1
call fcn.004d8ba4
mov dl, 1
mov eax, dword [esi + 0x254]
call fcn.004eb134
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov al, 1
call fcn.004d8ba4
jmp case.0x4d975b.0
mov dword [0x65d77c], esi
push 0xfffffffffffffff0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xefffffff
push eax
push 0xfffffffffffffff0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowLongA
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
push 0xfffffffffffffff0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowLongA
push 0x506
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je 0x4df048
mov eax, dword [0x6607cc]
mov eax, dword [eax]
cmp dword [eax + 0x240], 0
je 0x4df048
mov al, 1
call fcn.004d8ba4
mov dl, 1
mov eax, dword [esi + 0x254]
call fcn.004eb134
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je 0x4df37e
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
xor edx, edx
call fcn.00527bb4
jmp 0x4df37e
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [ebx + 4]
sub eax, 0xf020
je 0x4df0b4
sub eax, 0x10
je 0x4df0b4
sub eax, 0xf0
jne 0x4df37e
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov dword [eax + 0x250], 0xffffffff
push 0
push 0
push 0x85
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
cmp dword [ebx + 4], 0xf030
jne 0x4df37e
cmp dword [esi + 0x268], 0
je 0x4df37e
mov cl, 0xff
mov dl, 1
mov eax, dword [esi + 0x268]
call fcn.004eebf0
jmp 0x4df37e
mov eax, dword [ebx + 4]
sub eax, 0xf030
je 0x4df12c
sub eax, 0xf0
jne 0x4df153
cmp dword [esi + 0x268], 0
je 0x4df153
mov eax, dword [0x660420]
cmp byte [eax], 0
jne 0x4df148
cmp dword [ebx + 4], 0xf120
jne 0x4df153
lea eax, [esi + 0x268]
call fcn.00411188
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [ebx + 4]
sub eax, 0xf030
je 0x4df2a1
sub eax, 0xd0
je 0x4df184
sub eax, 0x20
je 0x4df2a1
jmp 0x4df37e
cmp word [ebx + 8], 0x20
jne 0x4df37e
mov eax, esi
call fcn.004e5530
test al, al
je 0x4df37e
mov eax, esi
call fcn.004d5e88
test al, al
je 0x4df37e
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4df233
lea edx, [esp + 0x84]
mov eax, esi
call fcn.004e48cc
mov edi, dword [esp + 0x88]
mov dl, 1
mov eax, esi
call fcn.004d67e0
add edi, eax
lea eax, [esi + 0x96]
xor edx, edx
call fcn.0053d68c
add edi, eax
sub edi, 0x10
push edi
mov eax, dword [esi + 0x24c]
call fcn.00465948
mov cl, 1
mov edx, dword [esi + 0x268]
call fcn.004d4dac
mov edi, eax
lea edx, [esp + 0x90]
mov eax, esi
call fcn.004e48cc
add edi, dword [esp + 0x90]
mov edx, edi
mov eax, esi
pop ecx
call fcn.004e49d8
jmp 0x4df37e
lea edx, [esp + 0x84]
mov eax, esi
call fcn.004e48cc
mov edi, dword [esp + 0x88]
mov dl, 1
mov eax, esi
call fcn.004d67e0
add edi, eax
lea eax, [esi + 0x96]
xor edx, edx
call fcn.0053d68c
add edi, eax
push edi
mov eax, dword [esi + 0x24c]
call fcn.00465948
mov cl, 1
mov edx, dword [esi + 0x268]
call fcn.004d4dac
mov edi, eax
lea edx, [esp + 0x90]
mov eax, esi
call fcn.004e48cc
add edi, dword [esp + 0x90]
mov edx, edi
mov eax, esi
pop ecx
call fcn.004e49d8
jmp 0x4df37e
mov eax, dword [esi + 0x254]
mov edx, dword [eax]
call dword [edx + 0x48]
test al, al
je 0x4df2b7
mov dword [esi + 0x38], 9
mov cl, 1
xor edx, edx
mov eax, esi
call fcn.004e13ec
cmp dword [ebx + 4], 0xf120
jne 0x4df37e
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 1
mov byte [esi + 0xba], 1
mov eax, esi
call fcn.004d5e88
test al, al
jne 0x4df2ff
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowRgn
jmp 0x4df37e
mov eax, dword [esi + 0x50]
call fcn.00527c34
test eax, eax
je 0x4df364
mov eax, dword [esi + 0x50]
call fcn.00527c34
call fcn.00537008
test al, al
je 0x4df364
cmp byte [esi + 0x79], 0
je 0x4df364
cmp byte [esi + 0x78], 0
je 0x4df364
mov eax, dword [esi + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4df364
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
je 0x4df364
mov dl, 1
mov eax, esi
call fcn.004e8194
cmp dword [esi + 0x268], 0
je 0x4df364
mov cl, 0xff
mov dl, 1
mov eax, dword [esi + 0x268]
call fcn.004eebf0
push 0x481
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
movzx eax, word [ebx + 4]
sub ax, 0xf020
jne case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4df3a7
mov byte [esi + 0x223], 0
cmp dword [esi + 0x268], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x268]
cmp dword [eax + 0x18], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x22c]
and eax, 0x100
cmp eax, 0x100
je case.0x4d975b.0
mov eax, dword [esi + 0x268]
mov byte [eax + 0x28], 1
mov eax, dword [esi + 0x268]
add eax, 0x18
call fcn.00411188
mov eax, dword [esi + 0x268]
mov byte [eax + 0x28], 0
jmp case.0x4d975b.0
cmp byte [esi + 0x230], 0
jne 0x4df980
mov eax, dword [esi + 0x24c]
test byte [eax + 0x1c], 1
jne 0x4df980
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsZoomed
test eax, eax
jne 0x4df655
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x4df655
mov eax, dword [ebx + 8]
cmp dword [eax + 8], 0
jne 0x4df45f
mov eax, dword [ebx + 8]
cmp dword [eax + 0xc], 0
je 0x4df655
mov ebp, dword [ebx + 8]
mov eax, dword [0x660420]
cmp byte [eax], 0
je 0x4df4ad
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x273], 0
jne 0x4df4ad
cmp dword [esi + 0x268], 0
jne 0x4df4ad
mov eax, esi
call fcn.004d8e1c
test al, al
je 0x4df4ad
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4df4ad
mov dl, 1
mov eax, esi
call fcn.004e8194
cmp byte [esi + 0x56], 0
je 0x4df5aa
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x1da], 0
je 0x4df5aa
lea edx, [esp + 0x34]
mov eax, dword [esi + 0x24c]
call fcn.004d8dbc
cmp dword [esi + 0x268], 0
je 0x4df50b
mov eax, dword [esi + 0x268]
call fcn.004d4f18
mov edi, eax
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x34]
call fcn.00527c34
mov eax, dword [eax + 0xc4]
movsx eax, word [eax + 0x32]
add edi, eax
jmp 0x4df50d
xor edi, edi
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x48]
add eax, edi
push eax
lea eax, [ebp + 8]
mov ecx, dword [esi + 0x58]
mov edx, dword [esp + 0x40]
call fcn.004d8d08
mov eax, dword [esi + 0x24c]
mov eax, dword [eax + 0x4c]
add eax, edi
push eax
lea eax, [ebp + 0xc]
mov ecx, dword [esi + 0x58]
mov edx, dword [esp + 0x44]
call fcn.004d8d08
neg edi
push edi
lea eax, [ebp + 8]
mov ecx, dword [esi + 0x58]
mov edx, dword [esp + 0x38]
call fcn.004d8d08
cmp dword [esi + 0x268], 0
je 0x4df599
mov eax, dword [esi + 0x268]
call fcn.004d4edc
mov edi, eax
neg edi
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x34]
call fcn.00527c34
mov eax, dword [eax + 0xc4]
movsx eax, word [eax + 0x32]
sub edi, eax
push edi
lea eax, [ebp + 0xc]
mov ecx, dword [esi + 0x58]
mov edx, dword [esp + 0x3c]
call fcn.004d8d08
jmp 0x4df5aa
push 0
lea eax, [ebp + 0xc]
mov ecx, dword [esi + 0x58]
mov edx, dword [esp + 0x3c]
call fcn.004d8d08
test byte [esi + 0x22d], 0x60
je 0x4df655
push esi
add esi, 0xd0
lea edi, [esp + 0x38]
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 [esi + 0x22c]
and eax, 0x2000
cmp eax, 0x2000
jne 0x4df62f
mov eax, dword [esi + 0x24c]
call fcn.00444d48
mov edx, dword [ebx + 8]
cmp eax, dword [edx + 0xc]
jne 0x4df613
mov eax, dword [ebx + 8]
mov edx, dword [esi + 0xd4]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x24c]
call fcn.00444d48
mov edx, dword [esi + 0xd4]
sub edx, eax
mov eax, dword [ebx + 8]
sub dword [eax + 0x14], edx
jmp 0x4df625
mov eax, dword [esi + 0xd4]
add eax, dword [esi + 0xdc]
mov edx, dword [ebx + 8]
mov dword [edx + 0x14], eax
and dword [esi + 0x22c], 0xffffdfff
mov eax, dword [esi + 0x22c]
and eax, 0x4000
cmp eax, 0x4000
jne 0x4df64b
and dword [esi + 0x22c], 0xffffbfff
xor eax, eax
mov dword [ebx + 0xc], eax
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527c34
test eax, eax
je 0x4df980
call fcn.0051ac84
test al, al
je 0x4df980
cmp byte [esi + 0x78], 0
je 0x4df980
cmp byte [esi + 0x222], 0
jne 0x4df980
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
jne 0x4df834
mov eax, dword [esi + 0x50]
cmp dword [eax + 0x44], 0
je 0x4df834
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4df980
mov eax, dword [esi + 0x50]
call fcn.00527c34
cmp byte [eax + 0xc0], 2
je 0x4df980
cmp byte [esi + 0x95], 0
je 0x4df980
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4df980
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp word [eax + 4], 0
jbe 0x4df980
mov eax, dword [esi + 0x22c]
and eax, 0x200
cmp eax, 0x200
je 0x4df980
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
je 0x4df980
or dword [esi + 0x22c], 0x200
mov dl, 1
mov eax, esi
call fcn.004d4b40
mov edx, dword [esi + 0x50]
mov dword [edx + 0x44], eax
cmp dword [esi + 0x268], 0
je 0x4df819
mov eax, dword [esi + 0x268]
mov byte [eax + 0x28], 1
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x328], 0
je 0x4df78f
mov eax, dword [esi + 0x24c]
movzx edi, byte [eax + 0x329]
jmp 0x4df794
mov edi, 0xff
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x268]
call fcn.004efc40
push eax
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowRgn
push 0
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
mov edx, dword [esi + 0x50]
mov edx, dword [edx + 0x44]
mov ecx, edi
call fcn.004d3ce0
push 0x65b
push 0
push 0
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00444d48
push eax
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00444d28
push eax
push 0
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4df980
mov eax, dword [esi + 0x24c]
call fcn.00465948
call fcn.004d3e04
mov dword [esi + 0xc8], eax
jmp 0x4df980
cmp dword [esi + 0x268], 0
je 0x4df980
mov eax, dword [esi + 0x268]
cmp dword [eax + 0x18], 0
je 0x4df980
mov eax, dword [ebx + 8]
cmp dword [eax + 0x10], 0
je 0x4df980
mov eax, dword [ebx + 8]
cmp dword [eax + 0x14], 0
je 0x4df980
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x18]
and eax, 0x10
cmp eax, 0x10
jne 0x4df980
mov eax, dword [esi + 0x22c]
and eax, 0x100
cmp eax, 0x100
je 0x4df980
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x4df980
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x18]
and eax, 1
cmp eax, 1
je 0x4df980
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x10]
cmp eax, dword [esi + 0x200]
jl 0x4df8d7
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x14]
cmp eax, dword [esi + 0x204]
jge 0x4df980
cmp dword [esi + 0x224], 0
je 0x4df905
mov eax, dword [esi + 0x224]
mov eax, dword [eax + 0x80]
cmp byte [eax + 6], 0
jne 0x4df980
mov eax, dword [esi + 0x224]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 6], 0
jne 0x4df980
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465ce8
test al, al
je 0x4df980
or dword [esi + 0x22c], 1
push 0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x10]
mov eax, dword [esi + 0x268]
call fcn.004efc40
push eax
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowRgn
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
and dword [esi + 0x22c], 0xfffffffe
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov eax, dword [0x6609e8]
mov byte [eax], 1
mov eax, dword [0x660674]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
jne 0x4df9c3
jmp 0x4df9b9
mov eax, dword [0x660674]
mov eax, dword [eax]
call fcn.0044d65c
mov eax, dword [0x660578]
cmp dword [eax], 0
jg 0x4df9ad
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527c34
test eax, eax
je 0x4dfd43
call fcn.0051ac84
test al, al
je 0x4dfd43
cmp byte [esi + 0x78], 0
je 0x4dfd43
cmp dword [esi + 0x268], 0
je 0x4dfa3f
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4dfa3f
mov eax, esi
call fcn.004ea330
mov edi, eax
mov eax, dword [esi + 0x24c]
call fcn.004d4e14
add eax, 4
cmp edi, eax
setg al
mov byte [esi + 0x208], al
jmp 0x4dfa46
mov byte [esi + 0x208], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
jne 0x4dfbf7
cmp byte [esi + 0x222], 0
jne 0x4dfbf7
mov eax, dword [esi + 0x50]
cmp dword [eax + 0x44], 0
je 0x4dfbf7
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4dfbf7
mov eax, dword [esi + 0x50]
call fcn.00527c34
cmp byte [eax + 0xc0], 2
jne 0x4dfae4
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x24c]
jne 0x4dfae4
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4dfbf7
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov byte [esi + 0x223], 0
jmp case.0x4d975b.0
mov eax, dword [esi + 0x50]
call fcn.00527c34
cmp byte [eax + 0xc0], 2
je 0x4dfbd4
cmp byte [esi + 0x95], 0
je 0x4dfbaf
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4dfbaf
mov eax, dword [esi + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4dfbaf
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
je 0x4dfbaf
call fcn.004d503c
test al, al
je 0x4dfb58
mov eax, dword [esi + 0x24c]
call fcn.00465948
mov dl, 1
call fcn.004d8d30
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov byte [esi + 0x222], 1
mov eax, esi
call fcn.004c3dfc
mov eax, dword [0x660674]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
jne case.0x4d975b.0
call fcn.004d503c
test al, al
je 0x4dfba3
mov eax, dword [esi + 0x24c]
call fcn.00465948
xor edx, edx
call fcn.004d8d30
mov byte [esi + 0x222], 0
jmp case.0x4d975b.0
cmp dword [esi + 0x268], 0
je 0x4dfbf7
mov eax, dword [esi + 0x268]
cmp dword [eax + 0x18], 0
je 0x4dfbf7
mov eax, dword [esi + 0x268]
add eax, 0x18
call fcn.00411188
jmp 0x4dfbf7
cmp dword [esi + 0x268], 0
je 0x4dfbf7
mov eax, dword [esi + 0x268]
cmp dword [eax + 0x18], 0
je 0x4dfbf7
mov eax, dword [esi + 0x268]
add eax, 0x18
call fcn.00411188
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp byte [esi + 0x220], 0
jne case.0x4d975b.0
cmp dword [esi + 0x268], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x57], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne case.0x4d975b.0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x18]
and eax, 8
cmp eax, 8
je case.0x4d975b.0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x18]
and eax, 0x20
cmp eax, 0x20
je case.0x4d975b.0
mov eax, dword [esi + 0x22c]
and eax, 0x80
cmp eax, 0x80
je case.0x4d975b.0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x18]
and eax, 3
cmp eax, 3
jne 0x4dfd2f
mov eax, dword [esi + 0x268]
cmp dword [eax + 0x18], 0
je 0x4dfd2f
call fcn.004d503c
test al, al
je 0x4dfcfd
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x24c]
jne 0x4dfcfd
mov eax, dword [esi + 0x24c]
call fcn.00465948
mov ebx, eax
call sub.user32.dll_GetActiveWindow
cmp ebx, eax
jne 0x4dfcfd
push 0x65b
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4d975b.0
push 0x65b
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0x24c]
call fcn.00465948
push eax
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4d975b.0
mov cl, 0xff
xor edx, edx
mov eax, dword [esi + 0x268]
call fcn.004eebf0
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
cmp byte [esi + 0x95], 0
je 0x4dfed7
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4dfed7
mov eax, dword [esi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp word [eax + 4], 0
jbe 0x4dfed7
cmp byte [esi + 0x78], 0
je 0x4dfed7
mov eax, dword [esi + 0x22c]
and eax, 0x200
cmp eax, 0x200
je 0x4dfed7
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [esi + 0x24c]
test byte [eax + 0x1c], 8
jne case.0x4d975b.0
or dword [esi + 0x22c], 0x200
mov dl, 1
mov eax, esi
call fcn.004d4b40
mov edx, dword [esi + 0x50]
mov dword [edx + 0x44], eax
and dword [esi + 0x22c], 0xfffffdff
mov eax, dword [esi + 0x50]
mov byte [eax + 0x39], 0
cmp dword [esi + 0x268], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x268]
cmp dword [eax + 0x18], 0
je case.0x4d975b.0
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465ce8
test al, al
je case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x328], 0
je 0x4dfe4d
mov eax, dword [esi + 0x24c]
movzx edi, byte [eax + 0x329]
jmp 0x4dfe52
mov edi, 0xff
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x268]
call fcn.004efc40
push eax
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowRgn
push 0
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
mov edx, dword [esi + 0x50]
mov edx, dword [edx + 0x44]
mov ecx, edi
call fcn.004d3ce0
push 0x65b
push 0
push 0
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00444d48
push eax
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00444d28
push eax
push 0
mov eax, dword [esi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4dff5a
mov eax, dword [0x6607cc]
cmp dword [eax], 0
jne 0x4dff19
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.00465948
xor edx, edx
call fcn.004c7ba0
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.00446218
test eax, eax
je 0x4dff53
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.00446218
cmp byte [eax + 0x273], 2
jne 0x4dff53
mov byte [0x65d778], 1
jmp 0x4dff5a
mov byte [0x65d778], 0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [esi + 0x24c]
cmp byte [eax + 0x277], 1
je case.0x4d975b.0
mov eax, esi
call fcn.004e67cc
jmp case.0x4d975b.0
test byte [esi + 0x1c], 1
jne 0x4e002c
mov eax, dword [esi + 0x24c]
test byte [eax + 0x1c], 1
jne 0x4e002c
mov eax, dword [ebx + 4]
and eax, 0xffff
dec eax
je 0x4dffb9
mov eax, dword [ebx + 4]
and eax, 0xffff
cmp eax, 2
jne 0x4e002c
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
cmp dword [esi + 0x228], 0
je 0x4dffe4
cmp word [ebx + 4], 1
jne 0x4dffe4
xor edx, edx
mov eax, dword [esi + 0x228]
call fcn.004ebcd4
push 0
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x6604e8]
mov eax, dword [eax]
mov ecx, 1
mov edx, 0x240000
call fcn.0053d554
lea edx, [esp + 0x24]
mov eax, dword [esi + 0x24c]
call fcn.004c6908
cmp byte [esi + 0x78], 0
je case.0x4d975b.0
mov dl, 1
mov eax, dword [esi + 0x224]
call fcn.004f4044
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 8]
sub eax, 0xfffffdd9
jne case.0x4d975b.0
cmp dword [esi + 0x228], 0
je case.0x4d975b.0
xor edx, edx
mov eax, dword [esi + 0x228]
call fcn.004ebcd4
jmp case.0x4d975b.0
cmp dword [ebx + 4], 0
je 0x4e00fc
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
mov eax, dword [ebx + 4]
mov edx, dword [0x459074]
call fcn.004046f4
test al, al
je 0x4e00e3
cmp dword [esi + 0x228], 0
je 0x4e00ba
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x228]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x6604e8]
mov eax, dword [eax]
mov ecx, 1
mov edx, 0x240000
call fcn.0053d554
lea edx, [esp + 0x24]
mov eax, dword [ebx + 4]
call fcn.004c6908
push 1
mov edx, dword [0x6604e8]
mov edx, dword [edx]
mov eax, dword [ebx + 4]
mov ecx, 0x240000
call fcn.0045eb7c
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
jmp case.0x4d975b.0
mov edx, ebx
mov eax, dword [esi + 0x23c]
call dword [esi + 0x238]
add esp, 0xbc
pop ebp
pop edi
pop esi
pop ebx
ret