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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff54
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, dword [0x522a40]
jne 0x4ecc2e
movzx eax, word [esi + 6]
cmp eax, 0x22
jg 0x4ec770
je 0x4eca53
dec eax
je 0x4ec99b
dec eax
je 0x4ec78e
sub eax, 5
je 0x4eca0b
sub eax, 0x19
je 0x4eca17
jmp 0x4ecc2e
sub eax, 0x24
je 0x4ecc07
sub eax, 0x18
je 0x4ec9df
dec eax
je 0x4ec9ee
jmp 0x4ecc2e
mov eax, dword [ebx + 0x50]
call fcn.004de330
cmp eax, dword [esi + 8]
jne 0x4ec989
cmp dword [ebx + 0x224], 0
je 0x4ec7b3
lea eax, [ebx + 0x224]
call fcn.0040e8b8
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
xor ecx, ecx
xor edx, edx
call fcn.004e8a14
mov eax, esi
mov edx, dword [ebx + 0x50]
call int.004de958
mov dword [ebx + 0x250], 0xffffffff
mov dword [ebx + 0x20c], 0xffffffff
mov dword [ebx + 0x214], 0xffffffff
mov edx, esi
mov eax, dword [ebx + 0x24c]
call fcn.004c2848
mov eax, ebx
call fcn.004fa0e0
mov eax, dword [ebx + 0x50]
call fcn.004de330
test eax, eax
je 0x4ec816
mov al, 1
call fcn.004e17fc
mov eax, dword [ebx + 0x24c]
test eax, eax
je case.0x4ed036.0
test byte [eax + 0x1c], 8
jne case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de330
test eax, eax
je 0x4ec8c5
xor edx, edx
mov eax, ebx
call fcn.004f8f78
xor edx, edx
mov eax, ebx
call fcn.004fafb8
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4ec871
cmp dword [ebx + 0x240], 0
je 0x4ec871
xor edx, edx
mov eax, ebx
call fcn.004f9e28
mov eax, ebx
call fcn.004e978c
test al, al
je 0x4ec89a
cmp byte [ebx + 0x21f], 0
jne 0x4ec89a
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowRgn
mov eax, ebx
call fcn.004f8b58
push 0x485
push 0
push 0
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
xor edx, edx
mov eax, ebx
call fcn.004fb5c0
mov eax, dword [ebx + 0x24c]
call fcn.00443c90
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4ec950
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.00443c54
mov edx, dword [0x42e650]
call fcn.00403aa4
test al, al
je 0x4ec94c
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.00443c54
mov eax, dword [eax + 0x68]
mov edx, 0xff000008
call fcn.00423518
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.00443c54
call fcn.00432bac
test al, al
jne 0x4ec94c
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.00443c54
mov esi, dword [eax + 0x50]
or esi, dword [0x4f3768]
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.00443c54
mov dword [eax + 0x50], esi
inc edi
dec ebp
jne 0x4ec8da
cmp byte [ebx + 0x5c], 0
je 0x4ec96f
mov eax, dword [ebx + 0x50]
cmp byte [eax + 9], 0
jne 0x4ec96f
mov edx, 0xff00000f
mov eax, dword [ebx + 0x24c]
call fcn.004408e0
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je case.0x4ed036.0
add eax, 0x44
call fcn.0040e8b8
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call fcn.004c2848
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4ecc2e
cmp dword [ebx + 0x50], 0
je 0x4ecc2e
mov eax, dword [ebx + 0x50]
call fcn.004de330
cmp eax, dword [esi + 8]
jne 0x4ecc2e
cmp dword [ebx + 0x254], 0
jne 0x4ecc2e
mov eax, ebx
call fcn.004f9bc4
jmp 0x4ecc2e
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
jmp case.0x4ed036.0
mov eax, ebx
call fcn.004f832c
push eax
mov eax, ebx
call fcn.004f8294
pop edx
call fcn.0040788c
mov dword [esi + 0xc], eax
jmp case.0x4ed036.0
mov dword [esi + 0xc], 1
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
mov dx, word [eax + 0x52]
and dx, 0x400
cmp dx, 0x400
jne 0x4ecc2e
and word [eax + 0x52], 0xfbff
push 0
push 0
push 0xb015
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
jmp 0x4ecc2e
mov edi, dword [ebx + 0x50]
test edi, edi
je 0x4ecc2e
xor edx, edx
mov eax, edi
call fcn.004de8b0
test al, al
je 0x4ecc2e
lea ecx, [esp + 0x74]
xor edx, edx
xor eax, eax
call fcn.00406c0c
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x74]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
je 0x4ecabb
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
je 0x4ecaa8
cmp byte [ebx + 0x220], 0
je 0x4ecabb
mov eax, dword [ebx + 0x50]
call fcn.004dc6f0
test al, al
je 0x4ecabb
mov eax, ebx
call fcn.004f61f8
mov eax, dword [esi + 8]
cmp byte [eax + 0x31], 0
je 0x4ecade
mov eax, ebx
call fcn.004f8294
mov edx, dword [esi + 8]
add dword [edx + 8], eax
mov eax, ebx
call fcn.004f832c
mov edx, dword [esi + 8]
add dword [edx + 0xc], eax
mov eax, dword [ebx + 0x24c]
cmp word [eax + 0x2ba], 0
je 0x4ecb2c
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [esi + 8]
mov dword [edx], eax
mov eax, ebx
call fcn.004f832c
push eax
mov eax, ebx
call fcn.004f8294
lea ecx, [esp + 0x78]
pop edx
call fcn.00406c0c
mov edi, dword [esi + 8]
mov eax, dword [esp + 0x74]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x78]
mov dword [edi + 0xc], eax
mov byte [edi + 0x30], 2
jmp case.0x4ed036.0
mov edi, dword [ebx + 0x50]
cmp dword [edi + 0x28], 0xffffffff
jle 0x4ecb6b
push 0
mov eax, edi
call fcn.004de330
mov eax, dword [eax + 0xd0]
mov edx, dword [ebx + 0x50]
imul edx, dword [edx + 0x28], 0x43
mov edx, dword [eax + edx*4 + 8]
dec edx
xor eax, eax
mov al, byte [ebx + 0x244]
call fcn.0042abd4
mov ecx, eax
mov edx, dword [esi + 8]
mov eax, edi
call fcn.004dcaa8
jmp 0x4ecb88
push 0
xor eax, eax
mov al, byte [ebx + 0x244]
xor edx, edx
call fcn.0042abd4
mov ecx, eax
mov edx, dword [esi + 8]
mov eax, edi
call fcn.004dcaa8
mov eax, dword [esi + 8]
cmp byte [eax + 0x30], 2
jne 0x4ecbae
cmp byte [eax + 0x31], 0
jne 0x4ecbae
cmp dword [eax], 0
jne 0x4ecbae
mov eax, ebx
call fcn.004f61f8
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 8]
lea edi, [eax + 8]
mov eax, ebx
call fcn.004f8294
add dword [edi], eax
mov ebp, dword [edi]
test ebp, ebp
je 0x4ecbd8
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x20]
sub edx, ebp
xor eax, eax
call fcn.0042ac98
mov edx, dword [esi + 8]
mov dword [edx + 0x20], eax
mov eax, ebx
call fcn.004f832c
add dword [edi + 4], eax
mov ebx, dword [edi + 4]
test ebx, ebx
je case.0x4ed036.0
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x24]
sub edx, ebx
xor eax, eax
call fcn.0042ac98
mov edx, dword [esi + 8]
mov dword [edx + 0x24], eax
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
mov dx, word [eax + 0x52]
and dx, 2
cmp dx, 2
jne 0x4ecc1f
xor edx, edx
call fcn.004ddf0c
mov eax, dword [ebx + 0x50]
movzx eax, word [eax + 0x52]
mov dword [esi + 0xc], eax
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4ecc4c
mov dl, 1
mov eax, dword [ebx + 0x50]
call fcn.004de8b0
test al, al
jne 0x4ed015
mov eax, dword [esi]
cmp eax, dword [0x522a40]
jne 0x4ece4d
mov ax, word [esi + 6]
dec ax
je 0x4ecc75
sub ax, 3
jne 0x4ece4d
mov dword [esi + 0xc], ebx
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4ece4d
cmp dword [ebx + 0x50], 0
je 0x4ece4d
mov eax, dword [ebx + 0x50]
call fcn.004de330
cmp eax, dword [esi + 8]
jne case.0x4ed036.0
mov eax, ebx
call fcn.004fb7e8
mov al, 1
call fcn.004e17fc
mov eax, dword [ebx + 0x50]
call fcn.004df1fc
mov dword [ebx + 0x20c], 0xffffffff
mov eax, ebx
call fcn.004fb92c
mov dword [ebx + 0x20c], eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov edx, 0x4f3774
call fcn.004d9ba0
mov dword [ebx + 0x214], eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
test eax, eax
je 0x4ece2b
cmp dword [ebx + 0x268], 0
je 0x4ecd37
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4ecd37
mov eax, ebx
call fcn.004fd728
mov esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004e875c
add eax, 4
cmp esi, eax
setg al
mov byte [ebx + 0x208], al
jmp 0x4ecd3e
mov byte [ebx + 0x208], 0
mov dl, 1
mov eax, ebx
call fcn.004fafb8
mov eax, ebx
call fcn.004f9550
mov esi, dword [ebx + 0x24c]
cmp byte [esi + 0x22f], 2
jne 0x4ecd78
mov eax, esi
call fcn.0045a744
mov edx, dword [0x51fa48]
mov edx, dword [edx]
cmp eax, dword [edx + 0x6c]
jne 0x4ecd78
mov byte [ebx + 0x244], 1
mov eax, dword [ebx + 0x50]
call fcn.004de330
test byte [eax + 0x1c], 1
jne 0x4ecdc4
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x248], 0
je 0x4ecda5
cmp byte [ebx + 0xbd], 0
je 0x4ecda5
mov byte [ebx + 0xb9], 1
mov dl, 1
mov eax, ebx
call fcn.004f8f78
cmp byte [ebx + 0xb9], 0
jne 0x4ecdc4
mov eax, ebx
call fcn.004f8b58
mov byte [ebx + 0xb9], al
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov dword [ebx + 0x250], 0xffffffff
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4ecded
mov dl, 1
mov eax, ebx
call fcn.004f9e28
cmp byte [ebx + 0x5c], 0
je 0x4ece16
mov eax, dword [ebx + 0x50]
cmp byte [eax + 9], 0
jne 0x4ece16
mov eax, dword [ebx + 0x50]
call fcn.004de330
call fcn.004d1b88
mov edx, eax
mov eax, dword [ebx + 0x24c]
call fcn.004408e0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
xor ecx, ecx
mov dl, byte [ebx + 0x78]
call fcn.004e8a14
mov eax, dword [ebx + 0x228]
test eax, eax
jne 0x4ece41
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
jmp case.0x4ed036.0
xor edx, edx
call fcn.004ff0b8
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [esi]
sub eax, 0x47
je 0x4ece7b
sub eax, 0x3b
je 0x4ecf53
sub eax, 0xafc1
je 0x4ed007
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de330
test eax, eax
je case.0x4ed036.0
call fcn.004c372c
test al, al
je case.0x4ed036.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
jne case.0x4ed036.0
cmp byte [ebx + 0x95], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne case.0x4ed036.0
cmp byte [ebx + 0x222], 0
jne case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de330
cmp byte [eax + 0x3c], 0
je case.0x4ed036.0
cmp byte [ebx + 0x78], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je case.0x4ed036.0
xor eax, eax
mov dword [0x516674], eax
mov byte [ebx + 0x222], 1
mov eax, ebx
call fcn.004bfb84
cmp byte [0x516668], 0
jne 0x4ecf2a
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
mov cl, 1
xor edx, edx
call fcn.004ec5e4
mov byte [ebx + 0x222], 0
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne case.0x4ed036.0
cmp dword [0x5229ac], 0
je case.0x4ed036.0
mov eax, dword [0x5229ac]
cmp dword [eax + 0x240], 0
je case.0x4ed036.0
mov eax, dword [0x5229ac]
test byte [eax + 0x1c], 8
jne case.0x4ed036.0
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
test byte [eax + 0x1c], 8
jne case.0x4ed036.0
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x50]
mov dl, 1
call fcn.004de8b0
test al, al
je case.0x4ed036.0
mov eax, dword [0x5229ac]
call fcn.004f947c
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
call fcn.0045a744
test eax, eax
jne case.0x4ed036.0
push 0x507
push 0
push 0
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4ed036.0
mov edx, esi
mov eax, ebx
call fcn.004fba08
jmp case.0x4ed036.0
mov eax, dword [esi]
cmp eax, dword [0x522a40]
jne 0x4ed61d
movzx eax, word [esi + 6]
cmp eax, 0x3e
ja case.0x4ed036.0
mov al, byte [eax + 0x4ed03d]
jmp dword [eax*4 + 0x4ed07c]
mov eax, dword [ebx + 0x24c]
test eax, eax
je case.0x4ed036.0
test byte [eax + 0x1c], 1
jne case.0x4ed036.0
mov edx, dword [ebx + 0x228]
test edx, edx
je case.0x4ed036.0
cmp dword [esi + 8], 0
je 0x4ed0f6
mov eax, dword [esi + 8]
xchg edx, eax
call fcn.004ff0b8
jmp case.0x4ed036.0
xchg edx, eax
call fcn.004ff0b8
jmp case.0x4ed036.0
cmp dword [ebx + 0x50], 0
je case.0x4ed036.0
cmp byte [0x516668], 0
jne 0x4ed129
mov eax, dword [ebx + 0x50]
call fcn.004dc6f0
test al, al
je 0x4ed129
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4ed12d
xor eax, eax
jmp 0x4ed12f
mov al, 1
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
je case.0x4ed036.0
mov byte [eax + 0x1c], 0
push 0x401
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
jmp case.0x4ed036.0
cmp dword [esi + 8], 1
jne 0x4ed183
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov eax, ebx
call fcn.004e97d4
jmp case.0x4ed036.0
cmp word [esi + 4], 1
sete dl
mov eax, dword [ebx + 0x50]
call fcn.004de8ac
mov eax, dword [ebx + 0x50]
call fcn.004de340
test al, al
je case.0x4ed036.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de330
cmp eax, dword [esi + 8]
jne case.0x4ed036.0
cmp dword [ebx + 0x228], 0
jne 0x4ed1de
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
jmp 0x4ed1eb
xor edx, edx
mov eax, dword [ebx + 0x228]
call fcn.004ff0b8
cmp byte [ebx + 0x78], 0
je 0x4ed209
cmp byte [ebx + 0xa6], 0
je 0x4ed209
lea edx, [ebx + 0x224]
xor ecx, ecx
mov eax, ebx
call fcn.004e9690
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
je 0x4ed22d
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4ed22d
mov eax, dword [ebx + 0x50]
and word [eax + 0x52], 0xfffe
mov dword [ebx + 0x250], 0xffffffff
mov eax, dword [ebx + 0x50]
call fcn.004de330
test byte [eax + 0x1c], 1
jne 0x4ed25f
mov eax, ebx
call fcn.004f8b58
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004de8b0
mov edx, eax
mov eax, ebx
call fcn.004f8f78
mov eax, ebx
call fcn.004e978c
test al, al
je 0x4ed26e
mov byte [ebx + 0x34], 1
mov eax, ebx
call fcn.004fd564
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x57], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 0x50]
call fcn.004de330
call fcn.004db82c
mov edx, eax
mov eax, ebx
call fcn.004fb5c0
cmp byte [0x516668], 0
jne 0x4ed351
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4ed30d
mov eax, dword [ebx + 0x24c]
call fcn.0045a744
test eax, eax
je 0x4ed30d
mov eax, dword [ebx + 0x24c]
call fcn.0045a744
cmp byte [eax + 0x22b], 2
jne 0x4ed30d
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004fbd10
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x24c]
call fcn.0045a744
call fcn.00446f60
push eax
call sub.user32.dll_InvalidateRect
jmp 0x4ed351
push 0x545
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4ed351
push 0x545
push 0
push 0
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
cmp byte [ebx + 0x5c], 0
je 0x4ed37a
mov eax, dword [ebx + 0x50]
cmp byte [eax + 9], 0
jne 0x4ed37a
mov eax, dword [ebx + 0x50]
call fcn.004de330
call fcn.004d1b88
mov edx, eax
mov eax, dword [ebx + 0x24c]
call fcn.004408e0
cmp dword [ebx + 0x240], 0
je 0x4ed38e
mov eax, dword [ebx + 0x240]
call fcn.004813e8
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004de8ac
cmp dword [ebx + 0x254], 0
je 0x4ed3ac
mov eax, dword [ebx + 0x254]
call fcn.004fe518
mov edx, esi
mov eax, ebx
call fcn.004fa130
cmp dword [ebx + 0x268], 0
je case.0x4ed036.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.00501f78
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xd0]
mov edi, dword [ebx + 0x50]
imul edx, dword [edi + 0x28], 0x43
mov ebp, dword [eax + edx*4 + 0xa8]
mov eax, edi
call fcn.004de330
mov eax, dword [eax + 0xd0]
mov edx, dword [ebx + 0x50]
imul edx, dword [edx + 0x28], 0x43
add ebp, dword [eax + edx*4 + 0xb4]
test ebp, ebp
jle 0x4ed41a
mov dword [esi + 8], 1
jmp 0x4ed459
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x24], 0
jl 0x4ed44d
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xc8]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x24]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ax, word [eax + edx*8 + 0x22]
and ax, 4
cmp ax, 4
je 0x4ed451
xor eax, eax
jmp 0x4ed453
mov al, 1
and eax, 0x7f
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp case.0x4ed036.0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004dd014
mov dword [esi + 0xc], eax
jmp case.0x4ed036.0
mov dword [esi + 0xc], ebx
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de330
cmp eax, dword [esi + 8]
jne case.0x4ed036.0
mov al, 1
call fcn.004e17fc
mov eax, dword [ebx + 0x50]
call fcn.004df1fc
mov dword [ebx + 0x20c], 0xffffffff
mov eax, ebx
call fcn.004fb92c
mov dword [ebx + 0x20c], eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov edx, 0x4f3774
call fcn.004d9ba0
mov dword [ebx + 0x214], eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
test eax, eax
je case.0x4ed036.0
mov eax, ebx
call fcn.004f9550
mov al, 1
call fcn.004e17fc
mov dl, byte [ebx + 0x78]
mov eax, ebx
call fcn.004fafb8
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x44]
call fcn.004e3850
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov dword [ebx + 0x250], 0xffffffff
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004fbd10
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne case.0x4ed036.0
mov dl, 1
mov eax, ebx
call fcn.004f9e28
jmp case.0x4ed036.0
mov cl, 1
or edx, 0xffffffff
mov eax, ebx
call fcn.004f4a18
mov byte [0x5166fc], 0
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de520
test al, al
je case.0x4ed036.0
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de520
test al, al
je case.0x4ed036.0
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
cmp ebx, dword [0x5229ac]
jne case.0x4ed036.0
push 0x581
push 0
push 0
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4ed036.0
mov eax, esi
mov edx, dword [ebx + 0x50]
call fcn.004df31c
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x38], 0
je case.0x4ed036.0
mov eax, ebx
call fcn.004f61f8
jmp case.0x4ed036.0
cmp eax, 0xa4
jg 0x4ed780
je 0x4f00c6
cmp eax, 0x2c
jg 0x4ed6e1
je 0x4f1fc6
cmp eax, 0x24
ja case.0x4ed646.0
jmp dword [eax*4 + 0x4ed64d]
cmp eax, 0x81
jg 0x4ed737
je 0x4ef532
cmp eax, 0x4e
jg 0x4ed717
je 0x4f3671
sub eax, 0x46
je 0x4f2a05
dec eax
je 0x4f3007
sub eax, 3
je 0x4ed989
jmp case.0x4ed646.0
sub eax, 0x7b
je 0x4eda62
sub eax, 2
je 0x4edc0b
sub eax, 3
je 0x4edb5a
jmp case.0x4ed646.0
cmp eax, 0xa0
jg 0x4ed762
je 0x4ed8f0
sub eax, 0x84
je 0x4ef273
dec eax
je 0x4f0d2f
dec eax
je 0x4f1456
jmp case.0x4ed646.0
sub eax, 0xa1
je 0x4ef55f
dec eax
je 0x4f0168
dec eax
je 0x4f1e25
jmp case.0x4ed646.0
cmp eax, 0x318
jg 0x4ed843
je case.0x4ed036.0
cmp eax, 0x211
jg 0x4ed7ef
je 0x4ef0eb
cmp eax, 0x121
jg 0x4ed7cd
je 0x4f07c4
sub eax, 0xa5
je 0x4f00e8
sub eax, 0x6d
je 0x4f2048
sub eax, 5
je 0x4edbeb
jmp case.0x4ed646.0
sub eax, 0x200
je 0x4efc0d
sub eax, 2
je 0x4f0168
sub eax, 0xe
je 0x4f35b3
jmp case.0x4ed646.0
cmp eax, 0x232
jg 0x4ed821
je 0x4edadc
sub eax, 0x212
je 0x4ef246
sub eax, 2
je 0x4ef464
add eax, 0xfffffff3
sub eax, 2
jb 0x4f1bd4
jmp case.0x4ed646.0
sub eax, 0x2a3
je 0x4ef493
sub eax, 0x70
je 0x4edce5
sub eax, 4
je 0x4f0889
jmp case.0x4ed646.0
cmp eax, 0xb015
jg 0x4ed8a1
je 0x4f0814
cmp eax, 0xb00b
jg 0x4ed881
je 0x4f1d7d
sub eax, 0x323
je 0x4eda19
sub eax, 3
je 0x4ed9ef
sub eax, 0xa0da
je 0x4ed947
jmp case.0x4ed646.0
sub eax, 0xb00c
je 0x4ee5e4
sub eax, 7
je 0x4ef4cb
dec eax
je 0x4ef493
jmp case.0x4ed646.0
cmp eax, 0xb03a
jg 0x4ed8d0
je 0x4f07ce
sub eax, 0xb019
je 0x4edd21
sub eax, 0x13
je 0x4f36af
sub eax, 7
je 0x4f1413
jmp case.0x4ed646.0
sub eax, 0xb043
je 0x4ed92b
sub eax, 9
je 0x4f0d25
sub eax, 0xc01
je 0x4f0d25
jmp case.0x4ed646.0
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
pop edx
call fcn.004dad78
mov edx, esi
mov eax, ebx
call fcn.004fbc64
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov edx, esi
mov eax, ebx
call fcn.004fba08
jmp case.0x4ed036.0
mov eax, dword [esi + 4]
dec eax
je 0x4ed96d
sub eax, 2
je 0x4ed95a
dec eax
je 0x4ed97d
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
call fcn.0045d068
jmp case.0x4ed036.0
mov dword [esi + 0xc], 1
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [esi + 0xc], 0
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
cmp eax, dword [0x5137b4]
jne case.0x4ed036.0
cmp byte [0x5137bc], 0
jne case.0x4ed036.0
mov byte [0x5137bc], 1
cmp dword [esi + 8], 0
je 0x4ed9e3
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov edx, eax
mov eax, esi
call fcn.004cfb40
mov byte [0x5137bc], 0
jmp case.0x4ed036.0
cmp byte [0x5137f8], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
mov edx, ebx
call fcn.004e7480
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4ed036.0
cmp byte [0x5137f8], 0
je case.0x4ed036.0
cmp word [esi + 0xa], 0
je case.0x4ed036.0
cmp word [esi + 8], 0
je case.0x4ed036.0
movzx eax, word [esi + 8]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
movzx ecx, word [esi + 0xa]
mov edx, ebx
call fcn.004e7208
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x7c], 0
je 0x4eda94
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov al, byte [eax + 0x58]
push eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x24c]
mov edx, dword [edx + 0x7c]
pop ecx
call fcn.004e4d34
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
cmp dword [esi + 4], 1
jne 0x4edac3
mov edx, dword [ebx + 0xb4]
dec edx
xor eax, eax
call fcn.0042ac98
mov dword [ebx + 0xb4], eax
jmp 0x4edac9
inc dword [ebx + 0xb4]
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [ebx + 0x268], 0
je case.0x4ed036.0
cmp dword [0x52287c], 0
je case.0x4ed036.0
mov eax, dword [0x52287c]
mov ebp, dword [eax + 8]
dec ebp
test ebp, ebp
jl case.0x4ed036.0
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [0x52287c]
call fcn.00419bcc
test eax, eax
je 0x4edb43
mov edx, edi
mov eax, dword [0x52287c]
call fcn.00419bcc
mov eax, dword [eax + 0x38]
xor ecx, ecx
mov edx, 0x12
call fcn.004c2694
inc edi
dec ebp
jne 0x4edb18
jmp case.0x4ed036.0
mov edx, esi
mov eax, ebx
call fcn.004fb670
jmp case.0x4ed036.0
test byte [ebx + 0x1c], 1
jne 0x4edbd8
cmp dword [esi + 8], 0
je 0x4edbd8
cmp byte [0x516668], 0
jne 0x4edbd8
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4edbd8
call fcn.004e8980
test al, al
jne 0x4edb9e
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
call fcn.004e8980
test al, al
jne 0x4edbcc
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
mov eax, ebx
call fcn.004e97d4
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de330
cmp byte [eax + 0x58], 0
je case.0x4ed036.0
mov edx, esi
mov eax, ebx
call fcn.004fb284
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x254]
test eax, eax
je 0x4edc5a
cmp dword [eax + 0x98], 0
je 0x4edc5a
mov edx, dword [ebx + 0x24c]
test byte [edx + 0x228], 1
setne dl
mov ecx, dword [eax + 0x98]
cmp dl, byte [ecx + 0x3e]
je 0x4edc5a
xor edx, edx
call fcn.004fe51c
mov eax, ebx
call fcn.004e97d4
jmp case.0x4ed036.0
cmp dword [esi + 4], 0xffffffec
jne case.0x4ed036.0
mov eax, dword [ebx + 0x22c]
and eax, 0x80
cmp eax, 0x80
je case.0x4ed036.0
mov eax, dword [ebx + 0x22c]
and eax, 0x100
cmp eax, 0x100
je case.0x4ed036.0
mov eax, dword [ebx + 0x22c]
and eax, 0x400
cmp eax, 0x400
je case.0x4ed036.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
and eax, 0x80000
mov edx, dword [esi + 8]
mov edx, dword [edx]
and edx, 0x80000
cmp eax, edx
je case.0x4ed036.0
cmp dword [ebx + 0x268], 0
je case.0x4ed036.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.00501f78
jmp case.0x4ed036.0
lea edx, [esp + 0x74]
mov eax, dword [0x51f9d8]
mov eax, dword [eax]
call fcn.0044b85c
mov eax, dword [esp + 0x78]
push eax
lea edx, [esp + 0x80]
mov eax, dword [0x51f9d8]
mov eax, dword [eax]
call fcn.0044b85c
mov edx, dword [esp + 0x80]
mov eax, ebx
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4ed036.0
mov dword [esp + 4], 0xff
cmp byte [ebx + 0x78], 0
je 0x4ee1ed
cmp byte [ebx + 0xa6], 0
je 0x4ee1ed
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4ee18a
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4edd8f
cmp dword [ebx + 0x228], 0
je 0x4edd7c
mov edx, dword [ebx + 0x24c]
mov eax, dword [ebx + 0x228]
call fcn.004ff0b8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4edda7
mov dl, 1
mov eax, ebx
call fcn.004f9e28
and dword [ebx + 0x22c], 0xfffffdff
cmp dword [ebx + 0x268], 0
je 0x4eddc4
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 0
cmp dword [ebx + 0x218], 0
je 0x4edded
mov eax, dword [ebx + 0x218]
mov edx, dword [0x4e70dc]
call fcn.00403aa4
test al, al
je 0x4edded
lea eax, [ebx + 0x218]
call fcn.0040e8b8
cmp byte [0x5137b8], 0
je 0x4ede34
mov eax, dword [ebx + 0x24c]
call fcn.00447264
test al, al
je 0x4ede34
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x4ede24
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
jne 0x4ede34
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
call fcn.004ea3ac
mov eax, ebx
call fcn.004f9b48
cmp dword [ebx + 0x228], 0
je 0x4ede55
mov edx, dword [ebx + 0x24c]
mov eax, dword [ebx + 0x228]
call fcn.004ff0b8
cmp byte [ebx + 0x95], 0
je 0x4edea0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4ede79
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4edea0
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
cmp byte [eax + 6], 0
je 0x4edea0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
cmp eax, dword [0x5137b4]
jne 0x4edea4
xor eax, eax
jmp 0x4edea6
mov al, 1
mov byte [ebx + 0x223], al
mov byte [esp + 0x11], 0
cmp byte [ebx + 0x223], 0
je 0x4edf8b
mov dl, 1
mov eax, dword [ebx + 0x50]
call fcn.004de8ac
mov byte [ebx + 0x220], 1
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
mov cl, 1
mov dl, 1
call fcn.004ec5e4
mov byte [esp + 0x11], al
mov dword [esp + 4], 0xff
cmp byte [esp + 0x11], 0
je 0x4edf08
xor edx, edx
mov eax, ebx
call fcn.004e9354
mov byte [ebx + 0x230], 0
jmp 0x4edf26
mov eax, dword [ebx + 0x24c]
movzx eax, byte [eax + 0x2e1]
mov dword [esp + 4], eax
xor edx, edx
mov eax, dword [ebx + 0x24c]
call fcn.0045daf0
mov eax, dword [ebx + 0x24c]
call fcn.00443c90
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4edf95
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.00443c54
cmp byte [eax + 0x57], 0
je 0x4edf85
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.00443c54
mov edx, dword [0x5120a0]
call fcn.00403aa4
test al, al
jne 0x4edf85
push 0
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.00443c54
xor ecx, ecx
mov edx, 0xb
call fcn.00441918
inc edi
dec ebp
jne 0x4edf3b
jmp 0x4edf95
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004de8ac
mov eax, dword [ebx + 0x50]
call fcn.004de330
call fcn.004db82c
mov edx, eax
mov eax, ebx
call fcn.004fb5c0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004de8b0
test al, al
jne 0x4ee074
cmp byte [ebx + 0x223], 0
je 0x4ee074
mov eax, dword [ebx + 0x24c]
call fcn.00443c90
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4ee022
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.00443c54
cmp byte [eax + 0x57], 0
je 0x4ee01e
push 0
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.00443c54
mov ecx, 1
mov edx, 0xb
call fcn.00441918
inc edi
dec ebp
jne 0x4edfed
push 0xffffffffffffffec
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowLongA
push 0x81
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
mov byte [ebx + 0x230], 0
jmp case.0x4ed036.0
lea edx, [ebx + 0x224]
xor ecx, ecx
mov eax, ebx
call fcn.004e9690
cmp byte [ebx + 0x223], 0
je 0x4ee13e
mov eax, dword [ebx + 0x24c]
call fcn.00443c90
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4ee0da
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.00443c54
cmp byte [eax + 0x57], 0
je 0x4ee0d6
push 0
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.00443c54
mov ecx, 1
mov edx, 0xb
call fcn.00441918
inc edi
dec ebp
jne 0x4ee0a5
cmp byte [esp + 0x11], 0
je 0x4ee0f5
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
mov cl, 1
xor edx, edx
call fcn.004ec5e4
mov byte [ebx + 0x223], 0
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
movzx edi, word [eax + 4]
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 7]
mov byte [esp + 0x13], al
mov al, byte [esp + 0x13]
push eax
mov ecx, dword [esp + 8]
mov edx, edi
mov eax, ebx
call fcn.004bf214
mov byte [ebx + 0x230], 0
jmp 0x4ee158
push 0x81
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne case.0x4ed036.0
mov al, 1
call fcn.004ec498
jmp case.0x4ed036.0
cmp dword [ebx + 0x268], 0
je 0x4ee1da
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4ee1cf
mov eax, dword [ebx + 0x50]
call fcn.004de330
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 0x4ee1cf
cmp byte [ebx + 0x95], 0
jne 0x4ee1da
lea eax, [ebx + 0x268]
call fcn.0040e8b8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
call fcn.004e8980
test al, al
je 0x4ee22a
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4ee22a
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
call fcn.004e8980
test al, al
je case.0x4ed036.0
push 0x181
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4ee395
cmp dword [esi + 4], 1
jne 0x4ee2fe
cmp dword [ebx + 0x268], 0
je 0x4ee28d
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 0
mov eax, dword [ebx + 0x22c]
and eax, 0x400
cmp eax, 0x400
jne 0x4ee2ab
mov dword [ebx + 0x22c], 0x400
jmp 0x4ee2b3
xor eax, eax
mov dword [ebx + 0x22c], eax
call fcn.004e8980
test al, al
je 0x4ee2fe
cmp byte [0x516668], 0
jne 0x4ee2fe
push 0xffffffffffffffec
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4ee2fe
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [esi + 8]
dec eax
je 0x4ee30e
sub eax, 2
je 0x4ee35c
jmp 0x4ee395
cmp byte [ebx + 0x221], 0
je 0x4ee395
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4ee335
mov byte [ebx + 0x221], 2
jmp 0x4ee395
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4ee353
mov byte [ebx + 0x221], 3
jmp 0x4ee395
mov byte [ebx + 0x221], 1
jmp 0x4ee395
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4ee395
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
jne 0x4ee395
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [esi + 4], 1
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4ee3d5
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne 0x4ee3d5
mov eax, dword [0x5229ac]
call fcn.004f947c
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4ee436
mov eax, dword [ebx + 0x24c]
call fcn.0045a778
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4ee436
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0045a7c4
call fcn.00446f60
mov edx, 7
call fcn.004c2740
test al, al
jne 0x4ee432
mov edx, edi
mov eax, dword [ebx + 0x24c]
call fcn.0045a7c4
call fcn.00446f60
xor edx, edx
call fcn.004a66cc
inc edi
dec ebp
jne 0x4ee3f9
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je case.0x4ed036.0
mov eax, dword [ebx + 0x50]
and word [eax + 0x52], 0xfffe
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
call fcn.00447264
test al, al
je 0x4ee5d1
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ee5d1
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x54], 0x40
jne 0x4ee5d1
cmp byte [ebx + 0x78], 0
je 0x4ee5d1
cmp dword [ebx + 0xc0], 0
je 0x4ee4c8
lea eax, [ebx + 0xc0]
call fcn.0040e8b8
cmp dword [ebx + 0xc4], 0
je 0x4ee4dc
lea eax, [ebx + 0xc4]
call fcn.0040e8b8
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4ee52f
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne 0x4ee52f
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
xor edx, edx
mov eax, dword [0x5229ac]
call fcn.004e8e70
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [0x5229ac]
call fcn.004e9178
jmp 0x4ee5b0
call fcn.004e8980
test al, al
jne 0x4ee579
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
xor edx, edx
mov eax, ebx
call fcn.004e8e70
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, ebx
call fcn.004e9178
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
jmp 0x4ee5b0
cmp dword [ebx + 0x268], 0
jne 0x4ee58b
xor edx, edx
mov eax, ebx
call fcn.004e8e70
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, ebx
call fcn.004e97d4
cmp dword [ebx + 0x268], 0
jne 0x4ee5b0
mov eax, ebx
call fcn.004e9178
cmp dword [ebx + 0x268], 0
je case.0x4ed036.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.00501f78
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp byte [ebx + 0x78], 0
je case.0x4ed036.0
cmp dword [ebx + 0x268], 0
je 0x4ee62c
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4ee62c
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
mov edx, eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, ebx
call fcn.004f8b58
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, ebx
call fcn.004f8b58
cmp dword [0x5229ac], 0
je case.0x4ed036.0
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
call fcn.0045a744
test eax, eax
je case.0x4ed036.0
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
call fcn.0045a744
cmp byte [eax + 0x22b], 2
jne 0x4ee6d4
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x240]
call fcn.00481488
jmp case.0x4ed036.0
mov dl, 1
mov eax, ebx
call fcn.004fafb8
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4ef0ac
mov eax, ebx
call fcn.004e8a80
test al, al
je 0x4ee8f7
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov edi, dword [eax + 0x180]
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov edx, edi
call fcn.004d3a74
test al, al
je 0x4ee8f7
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.00505b04
push eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1c]
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.00505b18
push eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1e]
inc eax
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov edi, eax
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.00505b04
mov ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.00440144
cmp ebp, eax
jl 0x4ee7ea
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.00505b18
mov ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.00440188
cmp ebp, eax
jge 0x4ee855
mov eax, dword [ebx + 0x50]
call fcn.004dc6f0
test al, al
jne 0x4ee855
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.00505b04
test eax, eax
je 0x4ee855
mov eax, dword [ebx + 0x204]
push eax
lea eax, [esp + 0x28]
push eax
mov edx, dword [ebx + 0x204]
sub edx, edi
mov eax, dword [ebx + 0x200]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x200]
call fcn.00406bf0
mov eax, dword [ebx + 0x50]
call fcn.004dc6f0
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_InvalidateRect
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.00505b04
mov ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.00440144
cmp ebp, eax
jg 0x4ee891
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.00505b18
mov ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.00440188
cmp ebp, eax
jle 0x4ee8f7
mov eax, dword [ebx + 0x24c]
call fcn.00440188
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00440144
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00440188
sub eax, edi
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00440144
sub eax, dword [esp + 0x14]
pop edx
pop ecx
call fcn.00406bf0
mov eax, dword [ebx + 0x50]
call fcn.004dc6f0
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_InvalidateRect
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.00505b04
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.00440144
cmp edi, eax
jg 0x4ee948
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.00505b18
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.00440188
cmp edi, eax
jg 0x4ee948
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.00505b04
test eax, eax
jne 0x4eeb4c
push 0x4f3784
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov edx, dword [ebx + 0x50]
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x28]
call fcn.004d9bf8
mov edi, eax
cmp edi, 0xffffffff
jle 0x4eea4a
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.00505b04
push eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1c]
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.00505b18
push eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1e]
inc eax
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebx + 0x204]
push eax
lea eax, [esp + 0x28]
push eax
mov edx, dword [ebx + 0x204]
sub edx, edi
mov eax, dword [ebx + 0x200]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x200]
call fcn.00406bf0
mov eax, dword [ebx + 0x50]
call fcn.004dc6f0
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_InvalidateRect
push 0x4f3798
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov edx, dword [ebx + 0x50]
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x28]
call fcn.004d9bf8
mov edi, eax
cmp edi, 0xffffffff
jle 0x4eeb4c
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.00505b04
push eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1c]
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8 + 0xc]
xor edx, edx
call fcn.00505b18
push eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xc8]
mov edx, edi
shl edx, 3
sub edx, edi
movsx eax, word [eax + edx*8 + 0x1e]
inc eax
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebx + 0x204]
push eax
lea eax, [esp + 0x28]
push eax
mov edx, dword [ebx + 0x204]
sub edx, edi
mov eax, dword [ebx + 0x200]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x200]
call fcn.00406bf0
mov eax, dword [ebx + 0x50]
call fcn.004dc6f0
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_InvalidateRect
cmp dword [ebx + 0xc0], 0
je 0x4eeb60
lea eax, [ebx + 0xc0]
call fcn.0040e8b8
cmp dword [ebx + 0xc4], 0
je 0x4eeb74
lea eax, [ebx + 0xc4]
call fcn.0040e8b8
mov dword [ebx + 0x250], 0xffffffff
mov eax, dword [ebx + 0x22c]
and eax, 0x80
cmp eax, 0x80
jne 0x4eeb97
mov eax, ebx
call fcn.004e8180
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4eebca
cmp byte [ebx + 0xa6], 0
je 0x4eebca
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 1
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
jmp 0x4eebd8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp byte [0x516668], 0
jne 0x4ef06c
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4ef065
mov eax, ebx
call fcn.004f865c
test al, al
je 0x4eefcf
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4eec29
cmp byte [ebx + 0x21e], 0
jne 0x4eefcf
mov byte [ebx + 0x34], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4eec81
mov eax, dword [ebx + 0x50]
call fcn.004dc6f0
test al, al
je 0x4eec75
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebx + 0x24c]
cmp eax, dword [edx + 0x48]
jg 0x4eec79
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebx + 0x24c]
cmp eax, dword [edx + 0x4c]
jg 0x4eec79
xor eax, eax
jmp 0x4eec7b
mov al, 1
mov byte [esp + 0x10], al
jmp 0x4eec86
mov byte [esp + 0x10], 0
cmp byte [ebx + 0x78], 0
je 0x4eef73
cmp byte [0x5137e0], 0
je 0x4eecbc
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne 0x4eecbc
cmp dword [ebx + 0x268], 0
je 0x4eecbc
lea eax, [ebx + 0x268]
call fcn.0040e8b8
cmp dword [ebx + 0x268], 0
je 0x4eed7d
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
jne 0x4eece0
mov eax, dword [ebx + 0x268]
call fcn.0050315c
cmp dword [ebx + 0x224], 0
je 0x4eed0a
mov eax, dword [ebx + 0x224]
mov eax, dword [eax + 0x80]
cmp byte [eax + 6], 0
jne 0x4eed17
mov eax, dword [ebx + 0x224]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 6], 0
jne 0x4eed17
cmp byte [ebx + 0x54], 0
jne 0x4eed17
or dword [ebx + 0x22c], 1
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.00501f78
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 1
and dword [ebx + 0x22c], 0xfffffffe
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 1
push 0x61b
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 0
mov dl, 1
mov eax, ebx
call fcn.004e9354
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
jmp 0x4eed8d
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004fbd10
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4ed036.0
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x54]
and ax, 2
cmp ax, 2
jne 0x4eedc9
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.00505b18
mov esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.00440188
cmp esi, eax
jne 0x4eedf8
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x54]
and ax, 1
cmp ax, 1
jne 0x4eee29
lea eax, [ebx + 0x1f8]
xor edx, edx
call fcn.00505b04
mov esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.00440144
cmp esi, eax
je 0x4eee29
push 0
lea eax, [esp + 0x18]
push eax
mov dx, 0x14
mov ax, 1
call fcn.0040794c
mov edx, eax
xor ecx, ecx
mov eax, dword [0x522a40]
call fcn.00505988
lea edx, [esp + 0x14]
mov eax, dword [ebx + 0x24c]
call fcn.004c2848
cmp dword [ebx + 0x268], 0
je 0x4eef4c
cmp dword [ebx + 0x224], 0
je 0x4eee83
mov eax, dword [ebx + 0x224]
cmp dword [eax + 0x80], 0
je 0x4eee83
mov eax, dword [ebx + 0x224]
cmp dword [eax + 0x7c], 0
je 0x4eee83
mov eax, dword [ebx + 0x224]
mov eax, dword [eax + 0x80]
cmp byte [eax + 6], 0
jne 0x4eef4c
mov eax, dword [ebx + 0x224]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 6], 0
jne 0x4eef4c
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
jne 0x4eee9a
mov eax, dword [ebx + 0x268]
call fcn.0050315c
push 0x101
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
cmp dword [ebx + 0x268], 0
je 0x4eef41
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4eef41
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowPos
cmp dword [ebx + 0x268], 0
je 0x4eef35
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4eef35
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.00502ff4
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 0
jmp 0x4eef66
xor edx, edx
mov eax, ebx
call fcn.004e9354
jmp 0x4eef66
push 0x921
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x24c]
call fcn.004c1cec
jmp 0x4eef8f
cmp byte [esp + 0x10], 0
je 0x4eef8f
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_InvalidateRect
mov eax, dword [ebx + 0x24c]
call fcn.00440188
push eax
lea eax, [esp + 0x88]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00440144
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406bf0
lea esi, [esp + 0x84]
lea edi, [ebx + 0x1f8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4eefea
mov eax, dword [ebx + 0x50]
call fcn.004dc6f0
test al, al
jne 0x4eeff9
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4ef00b
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004fbd10
jmp 0x4ef06c
mov eax, dword [esi + 4]
sub eax, 2
jne 0x4ef06c
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4ef06c
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne 0x4ef06c
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x5229ac]
mov byte [eax + 0x232], 1
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4ef06c
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 0x24c]
call fcn.00440188
push eax
lea eax, [esp + 0x88]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00440144
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406bf0
lea esi, [esp + 0x84]
lea edi, [ebx + 0x1f8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x4ed036.0
mov byte [ebx + 0x34], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov eax, ebx
call fcn.004fb7e8
xor eax, eax
call fcn.004adee8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4ef233
cmp byte [ebx + 0x21f], 0
jne 0x4ef233
mov eax, dword [ebx + 0x24c]
call fcn.0045a744
test eax, eax
je 0x4ef233
mov eax, dword [ebx + 0x24c]
call fcn.0045a744
cmp byte [eax + 0x22b], 2
jne 0x4ef233
mov byte [ebx + 0x21f], 1
cmp dword [0x516708], 0
jne 0x4ef15f
mov ecx, dword [0x51f7f4]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4563c0]
call fcn.00458ea0
mov dword [0x516708], eax
mov eax, dword [0x516708]
mov dword [eax + 0xc], 0xffffff9e
xor edx, edx
mov eax, dword [0x516708]
call fcn.00459cf4
mov edx, 0x4f37ac
mov eax, dword [0x516708]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [0x516708]
mov dword [eax + 0x2bc], ebx
mov dword [eax + 0x2b8], 0x4fa160
xor edx, edx
mov eax, dword [0x516708]
call fcn.0045a674
push 0x58
push 0xf
call sub.user32.dll_GetSystemMetrics
dec eax
add eax, 4
push eax
push 0x3c
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004e86f4
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004e875c
mov edx, dword [ebx + 0x24c]
add eax, dword [edx + 0x44]
add edi, eax
push edi
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004e86f4
push eax
lea edx, [esp + 0x98]
mov eax, dword [ebx + 0x24c]
call fcn.004400e0
mov eax, dword [esp + 0xa0]
sub eax, 0x3c
pop edx
sub eax, edx
push eax
push 0
mov eax, dword [0x516708]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowPos
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov byte [ebx + 0x21f], 0
cmp dword [0x516708], 0
je 0x4ef260
mov eax, 0x516708
call fcn.0040e8b8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
cmp byte [ebx + 0x21c], 0
je 0x4ef28a
mov byte [ebx + 0x21c], 0
mov eax, ebx
call fcn.004fbb10
mov dl, 1
mov eax, ebx
call fcn.004ea2ac
test eax, eax
je 0x4ef29d
cmp byte [ebx + 0x78], 0
jne 0x4ef2b0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov edx, esi
mov eax, ebx
call fcn.004ebc94
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
add eax, 0xfffffff8
sub eax, 2
jb 0x4ef2cc
sub eax, 0xa
jne 0x4ef2e4
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4ef2e4
mov dl, 1
mov eax, ebx
call fcn.004fafb8
mov eax, dword [esi + 0xc]
sub eax, 3
jb 0x4ef2fd
sub eax, 2
je 0x4ef2fd
add eax, 0xfffffffb
sub eax, 8
jae 0x4ef419
mov eax, ebx
call fcn.004e8a80
test al, al
je 0x4ef406
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov edi, dword [eax + 0x180]
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov edx, edi
call fcn.004d3a74
test al, al
je 0x4ef406
lea eax, [esp + 8]
push eax
movsx ecx, word [esi + 0xa]
movsx edx, word [esi + 8]
mov eax, ebx
call fcn.004f8160
cmp dword [ebx + 0x268], 0
je 0x4ef3cc
lea ecx, [esp + 0x74]
mov edx, edi
mov eax, ebx
call fcn.004f8cc8
mov ebp, dword [esp + 0x78]
mov eax, dword [ebx + 0x268]
call fcn.004e8820
sub ebp, eax
lea edx, [esp + 0x84]
mov eax, ebx
call fcn.004fb7b0
sub ebp, dword [esp + 0x88]
cmp ebp, dword [esp + 0xc]
jge 0x4ef406
lea ecx, [esp + 0x7c]
mov edx, edi
mov eax, ebx
call fcn.004f8cc8
mov edi, dword [esp + 0x7c]
mov eax, dword [ebx + 0x268]
call fcn.004e885c
sub edi, eax
lea edx, [esp + 0x94]
mov eax, ebx
call fcn.004fb7b0
sub edi, dword [esp + 0x94]
cmp edi, dword [esp + 8]
jge 0x4ef406
mov dword [esi + 0xc], 0x11
jmp case.0x4ed036.0
lea ecx, [esp + 0x74]
mov edx, edi
mov eax, ebx
call fcn.004f8cc8
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0xc]
jge 0x4ef406
lea ecx, [esp + 0x7c]
mov edx, edi
mov eax, ebx
call fcn.004f8cc8
mov eax, dword [esp + 0x7c]
cmp eax, dword [esp + 8]
jge 0x4ef406
mov dword [esi + 0xc], 0x11
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
cmp byte [ebx + 0x54], 1
jne case.0x4ed036.0
cmp dword [0x522a00], 0
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4ed036.0
mov eax, dword [esi + 0xc]
sub eax, 2
je 0x4ef457
add eax, 0xfffffff8
sub eax, 8
jae case.0x4ed036.0
mov eax, dword [esi + 0xc]
mov dword [0x522a00], eax
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [ebx + 0x268], 0
je case.0x4ed036.0
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.00501f78
jmp case.0x4ed036.0
cmp dword [ebx + 0x38], 0x7d0
jl 0x4ef4a5
cmp dword [ebx + 0x268], 0
jne 0x4ef4b1
mov cl, 1
or edx, 0xffffffff
mov eax, ebx
call fcn.004f4a18
mov byte [0x5166fc], 0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
mov eax, dword [ebx + 0x50]
call fcn.004de330
pop edx
call fcn.004dad78
cmp dword [ebx + 0x268], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x268]
cmp byte [eax + 0x38], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x22c]
and eax, 1
cmp eax, 1
je case.0x4ed036.0
mov eax, dword [ebx + 0x268]
call fcn.005031e0
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je case.0x4ed036.0
mov eax, ebx
call fcn.004f9bc4
jmp case.0x4ed036.0
cmp byte [ebx + 0x78], 0
je 0x4efa9d
cmp dword [ebx + 0x268], 0
je 0x4ef58b
cmp dword [esi + 4], 0x13
jne 0x4ef58b
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
cmp dword [ebx + 0x268], 0
je 0x4ef5aa
cmp dword [esi + 4], 0xffffffff
jne 0x4ef5aa
mov edx, esi
mov eax, dword [ebx + 0x268]
call fcn.00501178
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 8
jge 0x4ef5c5
sub eax, 3
je 0x4ef648
sub eax, 2
je 0x4ef635
jmp 0x4ef77f
add eax, 0xfffffff8
sub eax, 2
jb 0x4ef5e1
add eax, 0xfffffff6
sub eax, 2
jb 0x4ef5e1
add eax, 0xffffffb1
sub eax, 3
jae 0x4ef77f
cmp dword [0x516704], 0
je 0x4ef626
cmp dword [esi + 4], 0x67
jne 0x4ef608
mov eax, dword [0x516704]
mov eax, dword [eax + 0x254]
mov edx, dword [eax]
call dword [edx + 0x54]
test al, al
je case.0x4ed036.0
cmp dword [esi + 4], 0x66
jne 0x4ef626
mov eax, dword [0x516704]
mov eax, dword [eax + 0x254]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je case.0x4ed036.0
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004f4dfc
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
xor eax, eax
mov dword [esi + 0xc], eax
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [esi + 0xc], 0
jne case.0x4ed036.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004f4a18
mov byte [0x5166fc], 0
mov eax, dword [ebx + 0x50]
call fcn.004de330
cmp byte [eax + 0x58], 0
jne 0x4ef69c
mov eax, 0xc8
call fcn.00505fbc
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4ef6fd
cmp dword [0x5229ac], 0
je case.0x4ed036.0
lea edx, [esp + 8]
mov eax, ebx
call fcn.004f7d1c
mov eax, dword [ebx + 0x24c]
call fcn.004e875c
add eax, dword [esp + 0xc]
add eax, 4
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
shl eax, 4
pop ecx
sub ecx, eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4ed036.0
lea edx, [esp + 0x74]
mov eax, ebx
call fcn.004f7d1c
mov esi, dword [esp + 0x78]
mov dl, 1
mov eax, ebx
call fcn.004ea0f0
add esi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.00505b18
add esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004e8748
add esi, eax
push esi
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004e86f4
mov esi, eax
lea edx, [esp + 0x80]
mov eax, ebx
call fcn.004f7d1c
add esi, dword [esp + 0x80]
mov edx, esi
mov eax, ebx
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x48]
call fcn.0041a950
mov ecx, eax
add ecx, 0x3e8
dec ecx
mov eax, dword [esi + 4]
mov edx, 0x3e8
call fcn.005059dc
test al, al
je 0x4ef7e1
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004f4dfc
mov al, byte [0x4f37b8]
push eax
movsx eax, word [esi + 8]
push eax
movsx eax, word [esi + 0xa]
push eax
mov edx, dword [esi + 4]
sub edx, 0x3e8
mov eax, dword [ebx + 0x48]
call fcn.004fe9e8
mov edx, dword [esi + 4]
sub edx, 0x3e8
xor ecx, ecx
call fcn.004feb60
jmp case.0x4ed036.0
mov eax, dword [esi + 4]
mov ecx, 0x8cf
mov edx, 0x7d0
call fcn.005059dc
test al, al
je 0x4ef841
cmp dword [ebx + 0xac], 0
je case.0x4ed036.0
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004f4dfc
movsx eax, word [esi + 8]
push eax
movsx eax, word [esi + 0xa]
push eax
mov edx, dword [esi + 4]
sub edx, 0x7d0
mov eax, dword [ebx + 0xac]
mov eax, dword [eax + 0x38]
call fcn.00479fd4
mov cl, byte [0x4f37b8]
xor edx, edx
call fcn.004797f4
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4ef872
push 0
mov ecx, 0xf012
mov edx, 0x112
mov eax, dword [ebx + 0x24c]
call fcn.00441918
jmp case.0x4ed036.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004f4a18
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne 0x4ef8cf
lea eax, [esp + 0x74]
push eax
movsx ecx, word [esi + 0xa]
xor edx, edx
mov eax, ebx
call fcn.004f8160
mov edi, dword [esp + 0x78]
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
mov cl, 1
mov edx, dword [ebx + 0x268]
call fcn.004e8748
mov ebp, eax
mov dl, 1
mov eax, ebx
call fcn.004ea2ac
add ebp, eax
cmp edi, ebp
jle 0x4efa64
push 0
lea eax, [esp + 0x15]
push eax
push 0
push 0x26
call sub.user32.dll_SystemParametersInfoA
cmp byte [esp + 0x11], 0
je 0x4efa51
cmp byte [ebx + 0x54], 1
jne 0x4ef9ab
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4ef9ab
mov eax, dword [esi + 4]
sub eax, 5
je 0x4ef9ab
mov eax, dword [esi + 4]
sub eax, 2
je 0x4ef920
sub eax, 3
jne 0x4ef92e
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [esi + 4]
add eax, 0xfffffff6
sub eax, 8
setb al
xor al, 1
mov byte [0x5229dc], al
lea ecx, [esp + 8]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.00406c0c
cmp byte [0x5229dc], 0
je 0x4ef97a
push 0
push 0xf010
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
jmp 0x4ef997
push 0
push 0xf000
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004f8ff4
jmp case.0x4ed036.0
cmp dword [esi + 4], 2
jne 0x4efa3e
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4efa3e
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
cmp byte [eax + 6], 0
je 0x4efa3e
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4efa3e
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
cmp byte [eax + 8], 0xff
je 0x4efa3e
cmp byte [ebx + 0x94], 0
je 0x4efa3e
cmp byte [ebx + 0x244], 0
jne 0x4efa21
mov byte [ebx + 0x244], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SetFocus
mov eax, ebx
call fcn.004e7dc4
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22e], 0
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0xc4]
jmp case.0x4ed036.0
mov eax, dword [esi + 4]
sub eax, 3
jne 0x4efb86
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004f4a18
mov byte [0x5166fc], 0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4efb04
cmp dword [0x5229ac], 0
je case.0x4ed036.0
lea edx, [esp + 8]
mov eax, ebx
call fcn.004f7d1c
mov dl, 1
mov eax, ebx
call fcn.004ea2ac
mov ecx, eax
add ecx, dword [esp + 0xc]
add ecx, 4
mov edx, dword [esp + 8]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4ed036.0
lea edx, [esp + 0x74]
mov eax, ebx
call fcn.004f7d1c
mov esi, dword [esp + 0x78]
mov dl, 1
mov eax, ebx
call fcn.004ea0f0
add esi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.00505b18
add esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004e8748
add esi, eax
push esi
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
mov cl, 1
mov edx, dword [ebx + 0x268]
call fcn.004e86f4
mov esi, eax
lea edx, [esp + 0x80]
mov eax, ebx
call fcn.004f7d1c
add esi, dword [esp + 0x80]
mov edx, esi
mov eax, ebx
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
cmp dword [esi + 4], 0x2f
jne 0x4efbfa
cmp dword [ebx + 0x218], 0
je 0x4efbfa
mov eax, dword [ebx + 0x218]
mov edx, dword [0x4e70dc]
call fcn.00403aa4
test al, al
je 0x4efbfa
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov edi, dword [ebx + 0x218]
mov eax, edi
call fcn.00505208
fild dword [edi + 0x60]
fstp qword [edi + 0x70]
wait
fild dword [edi + 0x64]
fstp qword [edi + 0x78]
wait
fild dword [edi + 0x68]
fstp qword [edi + 0x80]
wait
fild dword [edi + 0x6c]
fstp qword [edi + 0x88]
wait
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [0x5228d4], 0
je 0x4efc3b
mov eax, dword [0x5228d4]
test byte [eax + 0x1c], 0x10
jne 0x4efc3b
xor edx, edx
mov eax, dword [0x5228d4]
call fcn.004dad78
cmp byte [ebx + 0x54], 1
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4ed036.0
lea ecx, [esp + 0x74]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.00406c0c
lea edx, [esp + 0x74]
lea ecx, [esp + 8]
mov eax, dword [ebx + 0x24c]
call fcn.00440258
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
mov edi, dword [esp + 0xc]
cmp byte [0x5229dc], 0
je 0x4efd06
cmp byte [0x5166ec], 0
je 0x4efca1
mov byte [0x5166ec], 0
cmp byte [0x5166e4], 0
je case.0x4ed036.0
mov ecx, dword [0x5229e8]
mov edx, dword [0x5229ec]
mov eax, ebx
call fcn.004f91f4
mov eax, dword [esp + 4]
sub eax, dword [0x5229f8]
add dword [0x5229ec], eax
mov eax, edi
sub eax, dword [0x5229fc]
add dword [0x5229e8], eax
mov dword [0x5229fc], edi
mov eax, dword [esp + 4]
mov dword [0x5229f8], eax
mov ecx, dword [0x5229e8]
mov edx, dword [0x5229ec]
mov eax, ebx
call fcn.004f91f4
jmp case.0x4ed036.0
cmp byte [0x5166ec], 0
je 0x4efd25
mov eax, dword [esp + 4]
mov dword [0x5229f8], eax
mov dword [0x5229fc], edi
mov byte [0x5166ec], 0
cmp byte [0x5166e4], 0
je case.0x4ed036.0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004f91f4
mov eax, dword [0x522a00]
add eax, 0xfffffff6
cmp eax, 6
ja case.default.0x4efd4e
jmp dword [eax*4 + 0x4efd55]
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
add eax, dword [esp + 4]
sub eax, dword [0x5229f8]
mov dword [0x5229ec], eax
mov eax, dword [0x5229f4]
sub eax, dword [0x5229ec]
cmp eax, dword [0x522a08]
jge 0x4f00b6
mov eax, dword [0x5229f4]
sub eax, dword [0x522a08]
mov dword [0x5229ec], eax
jmp 0x4f00b6
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x24c]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x5229f8]
mov dword [0x5229f4], eax
mov eax, dword [0x5229f4]
sub eax, dword [0x5229ec]
cmp eax, dword [0x522a08]
jge 0x4f00b6
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
add eax, dword [0x522a08]
mov dword [0x5229f4], eax
jmp 0x4f00b6
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x24c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x5229fc]
mov dword [0x5229f0], edi
mov eax, dword [0x5229f0]
sub eax, dword [0x5229e8]
cmp eax, dword [0x522a04]
jge 0x4f00b6
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x44]
add eax, dword [0x522a04]
mov dword [0x5229f0], eax
jmp 0x4f00b6
mov eax, dword [ebx + 0x24c]
add edi, dword [eax + 0x44]
sub edi, dword [0x5229fc]
mov dword [0x5229e8], edi
mov eax, dword [0x5229f0]
sub eax, dword [0x5229e8]
cmp eax, dword [0x522a04]
jge 0x4f00b6
mov eax, dword [0x5229f0]
sub eax, dword [0x522a04]
mov dword [0x5229e8], eax
jmp 0x4f00b6
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x24c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x5229fc]
mov dword [0x5229f0], edi
mov eax, dword [0x5229f0]
sub eax, dword [0x5229e8]
cmp eax, dword [0x522a04]
jge 0x4efede
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x44]
add eax, dword [0x522a04]
mov dword [0x5229f0], eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
add eax, dword [esp + 4]
sub eax, dword [0x5229f8]
mov dword [0x5229ec], eax
mov eax, dword [0x5229f4]
sub eax, dword [0x5229ec]
cmp eax, dword [0x522a08]
jge 0x4f00b6
mov eax, dword [0x5229f4]
sub eax, dword [0x522a08]
mov dword [0x5229ec], eax
jmp 0x4f00b6
mov eax, dword [ebx + 0x24c]
add edi, dword [eax + 0x44]
sub edi, dword [0x5229fc]
mov dword [0x5229e8], edi
mov eax, dword [0x5229f0]
sub eax, dword [0x5229e8]
cmp eax, dword [0x522a04]
jge 0x4eff5a
mov eax, dword [0x5229f0]
sub eax, dword [0x522a04]
mov dword [0x5229e8], eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x24c]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x5229f8]
mov dword [0x5229f4], eax
mov eax, dword [0x5229f4]
sub eax, dword [0x5229ec]
cmp eax, dword [0x522a08]
jge 0x4f00b6
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
add eax, dword [0x522a08]
mov dword [0x5229f4], eax
jmp 0x4f00b6
mov eax, dword [ebx + 0x24c]
add edi, dword [eax + 0x44]
sub edi, dword [0x5229fc]
mov dword [0x5229e8], edi
mov eax, dword [0x5229f0]
sub eax, dword [0x5229e8]
cmp eax, dword [0x522a04]
jge 0x4effe3
mov eax, dword [0x5229f0]
sub eax, dword [0x522a04]
mov dword [0x5229e8], eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
add eax, dword [esp + 4]
sub eax, dword [0x5229f8]
mov dword [0x5229ec], eax
mov eax, dword [0x5229f4]
sub eax, dword [0x5229ec]
cmp eax, dword [0x522a08]
jge 0x4f00b6
mov eax, dword [0x5229f4]
sub eax, dword [0x522a08]
mov dword [0x5229ec], eax
jmp 0x4f00b6
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x24c]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x5229fc]
mov dword [0x5229f0], edi
mov eax, dword [0x5229f0]
sub eax, dword [0x5229e8]
cmp eax, dword [0x522a04]
jge 0x4f006e
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x44]
add eax, dword [0x522a04]
mov dword [0x5229f0], eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x24c]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x5229f8]
mov dword [0x5229f4], eax
mov eax, dword [0x5229f4]
sub eax, dword [0x5229ec]
cmp eax, dword [0x522a08]
jge 0x4f00b6
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x40]
add eax, dword [0x522a08]
mov dword [0x5229f4], eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004f91f4
jmp case.0x4ed036.0
mov eax, dword [esi + 4]
add eax, 0xfffffffe
sub eax, 2
jb case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov eax, ebx
call fcn.004e978c
test al, al
je 0x4f0155
cmp dword [ebx + 0x268], 0
je 0x4f0114
cmp dword [esi + 4], 0xffffffff
jne 0x4f0114
mov edx, esi
mov eax, dword [ebx + 0x268]
call fcn.00501178
mov dword [esi + 4], eax
jmp 0x4f0120
mov edx, esi
mov eax, ebx
call fcn.004ebc94
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
add eax, 0xfffffffe
sub eax, 2
jae case.0x4ed036.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004f4a18
mov byte [0x5166fc], 0
movsx ecx, word [esi + 0xa]
movsx edx, word [esi + 8]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
cmp byte [ebx + 0x78], 0
je 0x4f07b1
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4f07b1
cmp dword [ebx + 0x268], 0
je 0x4f01a4
cmp dword [esi + 4], 0xffffffff
jne 0x4f01a4
mov edx, esi
mov eax, dword [ebx + 0x268]
call fcn.00501178
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 0x15
jg 0x4f01cc
je 0x4f049f
sub eax, 8
je 0x4f0354
dec eax
je 0x4f026f
sub eax, 0xb
je 0x4f01e8
jmp 0x4f05e4
sub eax, 0x65
je 0x4f050d
dec eax
je 0x4f0553
dec eax
je 0x4f0595
jmp 0x4f05e4
cmp byte [0x5166fc], 0
je case.0x4ed036.0
xor eax, eax
mov dword [ebx + 0x130], eax
push 0
push 0xf060
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne case.0x4ed036.0
mov eax, ebx
call fcn.004fb7e8
cmp dword [ebx + 0x24c], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x57], 0
je case.0x4ed036.0
cmp dword [ebx + 0x50], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004f4a18
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4f02a4
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne case.0x4ed036.0
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je case.0x4ed036.0
cmp byte [0x5166fc], 0
je 0x4f0336
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004f4a18
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4f02d2
xor eax, eax
mov dword [0x516704], eax
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne 0x4f0300
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
jmp 0x4f031d
push 0
push 0xf030
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [ebx + 0x254]
call fcn.004fe51c
mov byte [0x5166fc], 0
jmp case.0x4ed036.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004f4a18
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
cmp byte [0x5166fc], 0
je 0x4f0481
cmp dword [ebx + 0x268], 0
je 0x4f0395
movsx edx, word [esi + 0xa]
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
sub edx, dword [eax + 0x44]
movsx eax, word [esi + 8]
mov ecx, dword [ebx + 0x268]
mov ecx, dword [ecx + 0x18]
sub eax, dword [ecx + 0x40]
lea ecx, [esp + 8]
call fcn.00406c0c
jmp 0x4f03a9
lea eax, [esp + 8]
push eax
movsx ecx, word [esi + 0xa]
movsx edx, word [esi + 8]
mov eax, ebx
call fcn.004f8160
lea edx, [esp + 8]
lea eax, [ebx + 0xe8]
call fcn.00406c14
test al, al
je 0x4f046e
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004f4a18
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
jne 0x4f040a
mov byte [ebx + 0x222], 1
push 0
push 0xf020
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
mov byte [ebx + 0x222], 0
jmp 0x4f045b
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4f043e
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
jmp 0x4f045b
push 0
push 0xf020
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov byte [ebx + 0xba], 1
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004f4a18
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
cmp byte [0x5166fc], 0
je 0x4f04fd
push 0
push 0xf180
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004f4a18
xor edx, edx
mov eax, dword [ebx + 0x254]
call fcn.004fe51c
mov byte [0x5166fc], 0
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, dword [ebx + 0x24c]
call fcn.00441918
jmp case.0x4ed036.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004f4a18
jmp case.0x4ed036.0
cmp byte [0x5166fc], 0
je case.0x4ed036.0
mov byte [0x5166fc], 0
push 0
push 0xf060
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0045a744
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004f4a18
jmp case.0x4ed036.0
cmp byte [0x5166fc], 0
je 0x4f057e
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0045a744
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
mov byte [0x5166fc], 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004f4a18
jmp case.0x4ed036.0
cmp byte [0x5166fc], 0
je 0x4f05d4
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x50]
call fcn.004de0d8
mov byte [0x5166fc], 0
push 0
push 0xf020
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.0045a744
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004f4a18
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x48]
call fcn.0041a950
mov ecx, eax
add ecx, 0x3e8
dec ecx
mov eax, dword [esi + 4]
mov edx, 0x3e8
call fcn.005059dc
test al, al
je 0x4f0657
cmp byte [0x5166fc], 0
je 0x4f0640
mov al, byte [0x4f37b8]
push eax
movsx eax, word [esi + 8]
push eax
movsx eax, word [esi + 0xa]
push eax
mov edx, dword [esi + 4]
sub edx, 0x3e8
mov eax, dword [ebx + 0x48]
call fcn.004fe9e8
mov edx, dword [esi + 4]
sub edx, 0x3e8
xor ecx, ecx
call fcn.004feb88
mov byte [0x5166fc], 0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004f4a18
jmp 0x4f07a5
mov eax, dword [esi + 4]
mov ecx, 0x8cf
mov edx, 0x7d0
call fcn.005059dc
test al, al
je 0x4f06c5
cmp byte [0x5166fc], 0
je 0x4f06ad
cmp dword [ebx + 0xac], 0
je 0x4f06ad
movsx eax, word [esi + 8]
push eax
movsx eax, word [esi + 0xa]
push eax
mov edx, dword [esi + 4]
sub edx, 0x7d0
mov eax, dword [ebx + 0xac]
mov eax, dword [eax + 0x38]
call fcn.00479fd4
mov cl, byte [0x4f37b8]
xor edx, edx
call fcn.00479978
mov byte [0x5166fc], 0
mov edx, dword [esi + 4]
mov cl, 1
mov eax, ebx
call fcn.004f4a18
jmp 0x4f07a5
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4f0730
cmp dword [0x5229ac], 0
je 0x4f0720
lea edx, [esp + 0x74]
mov eax, ebx
call fcn.004f7d1c
mov esi, dword [esp + 0x74]
lea eax, [esp + 0x7c]
call fcn.004bea20
add esi, dword [esp + 0x7c]
push esi
lea eax, [esp + 0xa8]
call fcn.004bea20
mov ecx, dword [esp + 0xac]
mov eax, ebx
pop edx
mov ebx, dword [eax]
call dword [ebx + 0x34]
jmp 0x4f07a5
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp 0x4f07a5
cmp byte [ebx + 0x54], 1
jne 0x4f0797
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4f0797
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
je 0x4f0797
cmp byte [0x5166e4], 0
je 0x4f0797
lea ecx, [esp + 0x74]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.00406c0c
lea edx, [esp + 0x74]
lea ecx, [esp + 8]
mov eax, dword [ebx + 0x24c]
call fcn.00440258
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004f90f4
call sub.user32.dll_ReleaseCapture
jmp 0x4f07a5
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov byte [0x5166fc], 0
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [ebx + 0x224], 0
je 0x4f07f0
lea eax, [ebx + 0x224]
call fcn.0040e8b8
mov eax, dword [ebx + 0x50]
call fcn.004de330
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
mov edx, 3
pop ecx
call fcn.004c2694
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x2f4], 1
jne 0x4f0876
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x57], 0
je 0x4f0876
mov eax, ebx
call fcn.004e8ac8
test al, al
jne 0x4f0876
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je 0x4f0863
mov dword [ebx + 0x250], 0xffffffff
mov byte [ebx + 0x232], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
test byte [ebx + 0x1c], 1
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x2f4], 1
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
xor ecx, ecx
mov dl, 1
call fcn.004e8a14
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4f092b
cmp dword [0x5229ac], 0
je 0x4f092b
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
call fcn.0045a744
test eax, eax
je 0x4f092b
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
call fcn.0045a744
cmp byte [eax + 0x22b], 2
jne 0x4f092b
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
call fcn.0045a744
cmp eax, dword [ebx + 0x24c]
jne case.0x4ed036.0
cmp byte [ebx + 0xb9], 0
jne 0x4f0946
mov eax, ebx
call fcn.004f8b58
test al, al
je 0x4f0946
mov byte [ebx + 0xb9], 1
mov eax, dword [esi + 8]
and eax, 8
cmp eax, 8
jne 0x4f0969
mov eax, dword [esi + 8]
push eax
mov ecx, dword [esi + 4]
mov edx, 0x14
mov eax, ebx
call fcn.004fbd10
jmp case.0x4ed036.0
mov ebp, dword [esi + 4]
mov eax, dword [ebx + 0x50]
mov dword [eax + 0x58], ebp
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
cmp dword [ebx + 0x268], 0
je 0x4f0a74
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
je 0x4f0996
mov eax, ebx
call fcn.004f61f8
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00428a7c
call fcn.004245b0
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_BitBlt
mov eax, ebx
call fcn.004f832c
push eax
mov eax, ebx
call fcn.004f8294
mov edx, eax
mov eax, ebp
pop ecx
call fcn.0043f07c
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_GetClientRect
lea eax, [esp + 0x24]
xor edx, edx
call fcn.00505b18
push eax
lea eax, [esp + 0x28]
xor edx, edx
call fcn.00505b04
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
je 0x4f0c9f
lea ecx, [esp + 0x74]
xor edx, edx
xor eax, eax
call fcn.00406c0c
lea eax, [esp + 0x74]
push eax
push 0
mov eax, dword [ebx + 0x22c]
and eax, 0x200
cmp eax, 0x200
sete al
xor al, 1
push eax
mov cl, 1
mov edx, dword [ebx + 0x24c]
mov eax, ebp
call fcn.004c1f44
jmp 0x4f0c9f
cmp byte [ebx + 0x78], 0
je 0x4f0bb7
mov eax, ebx
call fcn.004e978c
test al, al
jne 0x4f0bae
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
call fcn.004e933c
test al, al
je 0x4f0bae
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
je 0x4f0ab5
mov eax, ebx
call fcn.004f61f8
mov eax, dword [ebx + 0x24c]
mov edi, dword [eax + 0x16c]
add edi, 3
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00428a7c
call fcn.004245b0
push eax
push edi
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_BitBlt
push 0xcc0020
push edi
push 0
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00428a7c
call fcn.004245b0
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
push edi
push edi
push 0
push ebp
call sub.gdi32.dll_BitBlt
push 0xcc0020
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x4c]
sub eax, edi
push eax
push edi
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00428a7c
call fcn.004245b0
push eax
push edi
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x48]
sub eax, edi
push eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x4c]
sub eax, edi
push eax
push edi
push ebp
call sub.gdi32.dll_BitBlt
push 0xcc0020
push edi
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, edi
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00428a7c
call fcn.004245b0
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
push edi
push edi
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, edi
push eax
push ebp
call sub.gdi32.dll_BitBlt
jmp 0x4f0bb7
mov edx, ebp
mov eax, ebx
call fcn.004f41c0
mov eax, ebx
call fcn.004f832c
push eax
mov eax, ebx
call fcn.004f8294
mov edx, eax
mov eax, ebp
pop ecx
call fcn.0043f07c
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_GetClientRect
lea eax, [esp + 0x24]
xor edx, edx
call fcn.00505b18
push eax
lea eax, [esp + 0x28]
xor edx, edx
call fcn.00505b04
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x52]
and ax, 1
cmp ax, 1
je 0x4f0c26
mov cl, 1
mov edx, ebp
mov eax, ebx
call fcn.004f4498
jmp 0x4f0c9f
push ebp
call sub.gdi32.dll_SaveDC
mov dword [esp], eax
push 0
push 0
xor ecx, ecx
mov edx, dword [ebx + 0x24c]
mov eax, ebp
call fcn.004c7904
mov cl, 1
mov edx, ebp
mov eax, ebx
call fcn.004f4498
mov eax, dword [esp]
push eax
push ebp
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
je 0x4f0c9f
lea ecx, [esp + 0x74]
xor edx, edx
xor eax, eax
call fcn.00406c0c
lea eax, [esp + 0x74]
push eax
push 0
mov eax, dword [ebx + 0x22c]
and eax, 0x200
cmp eax, 0x200
sete al
xor al, 1
push eax
mov cl, 1
mov edx, dword [ebx + 0x24c]
mov eax, ebp
call fcn.004c1f44
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4f0cc8
push 0
push ebp
push 0x317
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x50]
xor edx, edx
mov dword [eax + 0x58], edx
mov eax, dword [ebx + 0x24c]
cmp word [eax + 0x2ba], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
call fcn.0045a92c
mov edx, ebp
call fcn.00424630
mov esi, dword [ebx + 0x24c]
mov edx, dword [ebx + 0x24c]
mov eax, dword [esi + 0x2bc]
call dword [esi + 0x2b8]
mov eax, dword [ebx + 0x24c]
call fcn.0045a92c
xor edx, edx
call fcn.00424630
jmp case.0x4ed036.0
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4ed036.0
cmp dword [ebx + 0x254], 0
jne 0x4f0d3f
mov eax, ebx
call fcn.004f9bc4
cmp byte [ebx + 0x78], 0
je 0x4f0da6
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je case.0x4ed036.0
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x52]
and ax, 0x400
cmp ax, 0x400
je case.0x4ed036.0
mov eax, ebx
call fcn.004e8698
test al, al
je 0x4f0d90
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x248]
cmp dword [eax + 0x38], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x22c]
and eax, 0x200
cmp eax, 0x200
je case.0x4ed036.0
cmp byte [ebx + 0x21c], 0
je 0x4f0dbd
mov byte [ebx + 0x21c], 0
mov eax, ebx
call fcn.004fbb10
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
je 0x4f0de4
mov eax, dword [ebx + 0x50]
call fcn.004de340
mov edx, dword [ebx + 0x50]
mov byte [edx + 0x1c], al
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4ed036.0
cmp byte [ebx + 0x78], 0
je 0x4f0ead
cmp byte [0x516668], 0
je 0x4f0e0a
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4f0ead
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4f0e26
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
cmp byte [ebx + 0x223], 0
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je case.0x4ed036.0
test byte [ebx + 0x1c], 1
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x55], 2
jne case.0x4ed036.0
cmp dword [ebx + 0x254], 0
je case.0x4ed036.0
cmp dword [ebx + 0x228], 0
jne 0x4f0e7d
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
jne 0x4f0e9c
mov eax, dword [ebx + 0x50]
call fcn.004de330
call fcn.004db82c
mov edx, eax
mov eax, ebx
call fcn.004fb5c0
mov eax, ebx
call fcn.004fa620
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4f122a
cmp byte [ebx + 0xa6], 0
je 0x4f122a
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x52]
and ax, 0x800
cmp ax, 0x800
je case.0x4ed036.0
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x54], 0x80
jne 0x4f1171
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4f1171
mov eax, dword [ebx + 0x50]
call fcn.004dc6f0
test al, al
je 0x4f0f68
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4f109d
mov eax, dword [ebx + 0x24c]
call fcn.0045a744
test eax, eax
je 0x4f109d
mov eax, dword [ebx + 0x24c]
call fcn.0045a744
cmp byte [eax + 0x22b], 2
jne 0x4f109d
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4f1061
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4f1061
cmp dword [0x5229ac], 0
je 0x4f1061
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_GetClientRect
lea edx, [esp + 0x84]
mov eax, dword [ebx + 0x24c]
call fcn.004400e0
lea edx, [esp + 0x84]
lea eax, [esp + 0x24]
call fcn.00406c14
test al, al
je 0x4f1061
lea edx, [esp + 0x84]
mov eax, dword [ebx + 0x24c]
call fcn.004400e0
lea edx, [esp + 0x8c]
lea eax, [esp + 0x24]
call fcn.00406c14
test al, al
je 0x4f1061
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
mov cl, 1
mov edx, dword [ebx + 0x268]
call fcn.004e8748
mov edi, eax
mov dl, 1
mov eax, ebx
call fcn.004ea2ac
add edi, eax
mov eax, ebx
call fcn.004f8420
mov ebp, eax
mov eax, ebx
call fcn.004f8b3c
imul ebp, eax
add edi, ebp
inc edi
push edi
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x20]
pop edx
call fcn.0042abd4
mov edx, eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004fa420
cmp byte [0x516700], 0
je 0x4f121e
mov byte [0x516700], 0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4f121e
mov dword [0x516704], ebx
jmp 0x4f121e
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4f121e
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4f1161
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
jne 0x4f1161
mov eax, dword [ebx + 0x24c]
call fcn.00440188
push eax
lea eax, [esp + 0x88]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00440144
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406bf0
lea eax, [esp + 0x84]
push eax
mov eax, dword [esi + 4]
push eax
push 0
push 0
push 0
mov eax, ebx
call fcn.004f832c
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.00440188
add edi, eax
push edi
lea eax, [esp + 0xac]
push eax
mov eax, ebx
call fcn.004f8294
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.00440144
add edi, eax
push edi
mov eax, ebx
call fcn.004f832c
push eax
mov eax, ebx
call fcn.004f8294
pop edx
pop ecx
call fcn.00406bf0
lea ecx, [esp + 0xa8]
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x24c]
call fcn.004dfc30
mov eax, dword [ebx + 0x24c]
call fcn.004c1cec
jmp 0x4f121e
cmp dword [esi + 4], 0
je 0x4f121e
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x39], 0
jne 0x4f121e
mov eax, dword [ebx + 0x50]
call fcn.004dc6f0
test al, al
je 0x4f11dd
push 0xcc0020
mov eax, ebx
call fcn.004f832c
push eax
mov eax, ebx
call fcn.004f8294
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00428a7c
call fcn.004245b0
push eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4f121e
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004dd014
push eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x4c]
push eax
lea eax, [esp + 0x8c]
push eax
mov eax, dword [ebx + 0x24c]
mov ecx, dword [eax + 0x48]
xor edx, edx
xor eax, eax
call fcn.00406bf0
lea edx, [esp + 0x88]
mov eax, dword [esi + 4]
pop ecx
call fcn.004c7668
mov dword [esi + 0xc], 1
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
cmp byte [ebx + 0xa6], 0
je 0x4f1400
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x54], 0x80
jne case.0x4ed036.0
cmp dword [ebx + 0x268], 0
je 0x4f12a1
mov eax, ebx
call fcn.004e8ac8
test al, al
jne 0x4f12a1
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4f1292
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4f12a1
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.00501f78
mov eax, dword [ebx + 0x50]
call fcn.004dc6f0
test al, al
je 0x4f1359
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4f1349
mov edx, esi
mov eax, ebx
call fcn.004fadb8
cmp byte [0x516700], 0
je 0x4f12dd
mov byte [0x516700], 0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4f1342
cmp dword [esi + 4], 0
jne 0x4f1305
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_GetDC
mov ebp, eax
lea ecx, [esp + 0x74]
xor edx, edx
xor eax, eax
call fcn.00406c0c
lea eax, [esp + 0x74]
push eax
push 0
push 1
mov cl, 1
mov edx, dword [ebx + 0x24c]
mov eax, ebp
call fcn.004c1f44
cmp dword [esi + 4], 0
jne 0x4f1342
push ebp
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_ReleaseDC
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4f13c4
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp 0x4f13c4
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4f13b6
test byte [ebx + 0x1c], 8
jne 0x4f1383
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_InvalidateRect
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_BeginPaint
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_EndPaint
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4f13c4
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp byte [ebx + 0x78], 0
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x248], 0
je case.0x4ed036.0
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [0x5137b4], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
call fcn.00447264
test al, al
je case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
call fcn.004ea3ac
jmp case.0x4ed036.0
test byte [ebx + 0x1c], 8
jne 0x4f1aa0
cmp byte [ebx + 0x78], 0
je 0x4f1aa0
mov eax, dword [ebx + 0x24c]
call fcn.00447264
test al, al
je 0x4f1aa0
cmp dword [ebx + 0x254], 0
jne 0x4f148d
mov eax, ebx
call fcn.004f9bc4
or dword [ebx + 0x22c], 0x8000
mov eax, dword [ebx + 0x22c]
and eax, 0x80
cmp eax, 0x80
je 0x4f14b6
cmp dword [esi + 4], 1
sbb eax, eax
inc eax
mov byte [ebx + 0x244], al
cmp byte [ebx + 0x244], 0
jne 0x4f14d4
cmp byte [ebx + 0x221], 3
jne 0x4f14d4
mov byte [ebx + 0x221], 0
jmp 0x4f1585
cmp byte [ebx + 0x221], 3
je 0x4f1573
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x28], 0
jl 0x4f1560
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x24], 0
jl 0x4f153b
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xc8]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x24]
mov ecx, edx
shl edx, 3
sub edx, ecx
cmp word [eax + edx*8 + 0x1c], 1
jg 0x4f1532
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xd0]
mov edx, dword [ebx + 0x50]
imul edx, dword [edx + 0x28], 0x43
cmp dword [eax + edx*4 + 8], 1
jle 0x4f1567
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
jmp 0x4f1567
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0xd0]
mov edx, dword [ebx + 0x50]
imul edx, dword [edx + 0x28], 0x43
cmp dword [eax + edx*4 + 8], 1
jle 0x4f1567
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
jmp 0x4f1567
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004de8ac
jmp 0x4f1585
cmp dword [ebx + 0x268], 0
sete dl
mov eax, dword [ebx + 0x50]
call fcn.004de8ac
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4f1810
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4f1810
cmp word [esi + 4], 0
setne al
cmp al, byte [ebx + 0x244]
je 0x4f15c8
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
call fcn.004e8980
test al, al
je 0x4f16d2
cmp dword [ebx + 0x268], 0
jne 0x4f15fa
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
jmp 0x4f172a
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4f172a
mov eax, ebx
call fcn.004f8420
test eax, eax
jle 0x4f172a
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
jne 0x4f162d
mov eax, dword [ebx + 0x268]
call fcn.0050315c
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.00502ff4
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x2e0], 0
je 0x4f168d
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
mov edx, dword [ebx + 0x24c]
xor ecx, ecx
mov cl, byte [edx + 0x2e1]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x44]
call fcn.004e7688
jmp 0x4f16ad
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x44]
mov ecx, 0xff
call fcn.004e7688
push 0x613
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4f172a
cmp byte [ebx + 0x223], 0
jne 0x4f16e4
cmp byte [ebx + 0x21c], 0
je 0x4f16fd
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
jmp 0x4f172a
cmp dword [ebx + 0x268], 0
je 0x4f1711
mov eax, ebx
call fcn.004e8698
test al, al
je 0x4f172a
mov eax, dword [ebx + 0x24c]
cmp word [eax + 0x2ba], 0
jne 0x4f172a
xor edx, edx
mov eax, ebx
call fcn.004e8e70
cmp dword [ebx + 0x268], 0
je 0x4f174e
cmp byte [ebx + 0x223], 0
jne 0x4f174e
call fcn.004e8980
test al, al
jne 0x4f174e
xor edx, edx
mov eax, ebx
call fcn.004e9354
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
call fcn.004e8980
test al, al
je 0x4f17a5
cmp dword [ebx + 0x268], 0
jne 0x4f181e
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
push 0x181
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4f181e
cmp byte [ebx + 0x223], 0
jne 0x4f17b7
cmp byte [ebx + 0x21c], 0
je 0x4f17d0
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
jmp 0x4f17eb
cmp dword [ebx + 0x268], 0
je 0x4f17e4
mov eax, ebx
call fcn.004e8698
test al, al
je 0x4f17eb
mov eax, ebx
call fcn.004e9178
cmp byte [ebx + 0x21c], 0
je 0x4f181e
push 0x85
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4f181e
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [ebx + 0x24c], 0
je 0x4f18f5
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x57], 0
je 0x4f18f5
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4f18f5
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x2f4], 0x10
je 0x4f18f5
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x2f4], 4
je 0x4f18f5
cmp dword [0x5229ac], 0
je 0x4f18f5
mov eax, dword [0x5229ac]
cmp dword [eax + 0x240], 0
je 0x4f18f5
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x5229ac]
mov dword [eax + 0x250], 0xffffffff
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x240]
call fcn.00481488
push 0
push 0
push 0x85
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x85
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_SendMessageA
push 0xffffffffffffffec
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
jne 0x4f192d
cmp dword [ebx + 0x218], 0
jne 0x4f192d
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004fbd10
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x54], 0x40
jne case.0x4ed036.0
mov eax, ebx
call fcn.004e978c
test al, al
je 0x4f19e3
mov eax, dword [ebx + 0x22c]
and eax, 0x80
cmp eax, 0x80
je 0x4f19e3
mov eax, ebx
call fcn.004f8ad0
test al, al
je 0x4f19bb
cmp word [esi + 4], 0
jne 0x4f1988
mov eax, dword [ebx + 0x24c]
call fcn.0045a744
cmp byte [eax + 0x22e], 0
je 0x4f19e3
cmp word [esi + 4], 0
jne 0x4f19a7
mov eax, dword [ebx + 0x24c]
call fcn.0045a744
cmp byte [eax + 0x22e], 0
jne 0x4f19a7
xor eax, eax
jmp 0x4f19a9
mov al, 1
mov byte [ebx + 0x244], al
mov dword [ebx + 0x250], 0xffffffff
jmp 0x4f19e3
cmp word [esi + 4], 0
setne al
cmp al, byte [ebx + 0x244]
je 0x4f19e3
cmp word [esi + 4], 0
setne al
mov byte [ebx + 0x244], al
mov dword [ebx + 0x250], 0xffffffff
and dword [ebx + 0x22c], 0xffff7fff
cmp dword [ebx + 0x218], 0
je 0x4f1a02
mov eax, dword [ebx + 0x218]
cmp byte [eax + 0x30], 0
jne 0x4f1a6e
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004fbd10
cmp dword [ebx + 0x268], 0
je 0x4f1a6e
mov eax, dword [ebx + 0x24c]
mov al, byte [eax + 0x22b]
sub al, 1
jb 0x4f1a5f
dec al
jne 0x4f1a6e
cmp byte [0x5137e0], 0
je 0x4f1a4e
lea eax, [ebx + 0x268]
call fcn.0040e8b8
xor edx, edx
mov eax, ebx
call fcn.004e9354
jmp 0x4f1a6e
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.00501f78
jmp 0x4f1a6e
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.00501f78
mov eax, ebx
call fcn.004f9b48
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004de8b0
test al, al
je case.0x4ed036.0
cmp dword [ebx + 0x228], 0
jne case.0x4ed036.0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [0x5225b0], 0
je 0x4f1adf
mov eax, dword [0x5225b0]
cmp byte [eax + 0x57], 0
je 0x4f1adf
mov eax, dword [0x5225b0]
call fcn.0045d068
cmp dword [esi + 4], 1
jne case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x22c]
and eax, 0x100
cmp eax, 0x100
je case.0x4ed036.0
cmp dword [ebx + 0x268], 0
je 0x4f1b34
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.00501f78
jmp case.0x4ed036.0
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
jne case.0x4ed036.0
cmp dword [esi + 4], 1
jne case.0x4ed036.0
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp byte [eax + 0x22b], 1
jne case.0x4ed036.0
cmp dword [ebx + 0x218], 0
je 0x4f1b87
mov eax, dword [ebx + 0x218]
cmp byte [eax + 0xec], 0
jne case.0x4ed036.0
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
xor edx, edx
call fcn.0045adec
push 0xffffffffffffffff
push 0
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.00446f60
push eax
call sub.user32.dll_InvalidateRect
push 0x585
push 0
push 0
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4f1ca1
cmp dword [0x5229ac], 0
je 0x4f1ca1
mov eax, dword [0x5229ac]
test byte [eax + 0x1c], 8
jne 0x4f1ca1
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
je 0x4f1c6f
mov byte [ebx + 0xb9], 0
mov eax, dword [0x5229ac]
mov byte [eax + 0x232], 1
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x5229ac]
mov dword [eax + 0x250], 0xffffffff
push 0
push 0
push 0x85
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
jmp 0x4f1ca1
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
push 0
push 0
push 0x85
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
mov al, 1
call fcn.004ec498
mov dword [0x516704], ebx
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4f1d6a
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [ebx + 0x224], 0
jne 0x4f1ceb
cmp byte [ebx + 0x78], 0
je 0x4f1ceb
lea edx, [ebx + 0x224]
xor ecx, ecx
mov eax, ebx
call fcn.004e9690
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x54], 0x40
jne case.0x4ed036.0
mov dword [ebx + 0x250], 0xffffffff
cmp word [esi + 4], 1
jne case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de330
test byte [eax + 0x1c], 0x10
jne 0x4f1d31
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.004de8b0
mov edx, eax
mov eax, ebx
call fcn.004f8f78
cmp dword [ebx + 0x254], 0
je 0x4f1d47
xor edx, edx
mov eax, dword [ebx + 0x254]
call fcn.004fe51c
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x229], 0
jne case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
call fcn.004c1cec
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
cmp byte [ebx + 0x21c], 0
je 0x4f1db0
cmp dword [esi + 4], 1
jne 0x4f1db0
mov byte [ebx + 0x21c], 0
mov eax, ebx
call fcn.004fbb10
mov eax, dword [ebx + 0x50]
call fcn.004de330
call fcn.004db82c
mov edx, eax
mov eax, ebx
call fcn.004fb5c0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [esi + 4], 0
jne 0x4f1e05
cmp dword [ebx + 0x50], 0
je 0x4f1df9
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4f1df9
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4f1df9
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, ebx
call fcn.004fb7e8
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
call fcn.004c1cec
jmp case.0x4ed036.0
cmp byte [ebx + 0x54], 1
jne 0x4f1e73
cmp byte [0x5166e4], 0
je 0x4f1e73
lea ecx, [esp + 0x74]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.00406c0c
lea edx, [esp + 0x74]
lea ecx, [esp + 8]
mov eax, dword [ebx + 0x24c]
call fcn.00440258
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004f90f4
call sub.user32.dll_ReleaseCapture
mov byte [0x5166e4], 0
mov byte [0x5166e8], 0
mov eax, dword [esi + 4]
sub eax, 2
je 0x4f1eae
dec eax
jne 0x4f1fb3
mov eax, dword [ebx + 0x50]
call fcn.004de330
cmp byte [eax + 0x58], 0
jne 0x4f1e9e
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 1
mov eax, dword [ebx + 0x24c]
call fcn.0045d068
jmp case.0x4ed036.0
mov eax, ebx
call fcn.004f8964
test al, al
je 0x4f1ed7
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4f1efb
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
jne 0x4f1efb
mov eax, ebx
call fcn.004e978c
test al, al
jne 0x4f1f6a
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4f1f6a
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
je 0x4f1f1f
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4f1f3e
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
jmp 0x4f1f5b
push 0
push 0xf030
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [ebx + 0x254]
call fcn.004fe51c
jmp 0x4f1fa9
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4f1fa9
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [ebx + 0x254]
call fcn.004fe51c
xor eax, eax
mov dword [esi + 4], eax
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 2
jne 0x4f1fe3
cmp ebx, dword [0x5229ac]
jne 0x4f1fe3
mov dword [0x5229ac], ebx
mov eax, ebx
call fcn.004e8698
test al, al
je 0x4f2035
mov eax, dword [ebx + 0x50]
call fcn.004de330
test eax, eax
je 0x4f2035
mov eax, dword [esi + 8]
cmp dword [eax], 1
jne 0x4f2035
mov eax, dword [esi + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x248]
xor ecx, ecx
call fcn.00453e0c
mov edi, eax
test edi, edi
je 0x4f2035
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x44]
mov cl, 1
mov edx, edi
call fcn.004e4a48
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4f2263
mov ax, word [esi + 4]
sub ax, 0xf012
je 0x4f2084
sub ax, 0xe
je 0x4f20fa
sub ax, 0x10
je 0x4f2097
sub ax, 0xf0
je 0x4f215b
jmp 0x4f2263
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x80]
jmp 0x4f2263
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4f2263
cmp dword [ebx + 0x218], 0
je 0x4f2263
mov eax, dword [ebx + 0x218]
cmp byte [eax + 0xec], 0
je 0x4f2263
call fcn.00505a1c
mov byte [esp + 0x12], al
xor eax, eax
call fcn.00505a4c
mov eax, ebx
call fcn.004e7bb8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov al, byte [esp + 0x12]
call fcn.00505a4c
jmp case.0x4ed036.0
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
je 0x4f2263
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4f2263
call fcn.00505a1c
mov byte [esp + 0x12], al
xor eax, eax
call fcn.00505a4c
mov eax, ebx
call fcn.004e79a8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov al, byte [esp + 0x12]
call fcn.00505a4c
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x22c]
and eax, 0x200
cmp eax, 0x200
jne 0x4f21b6
and dword [ebx + 0x22c], 0xfffffdff
cmp dword [ebx + 0x268], 0
je 0x4f218a
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 0
call fcn.00505a1c
mov byte [esp + 0x12], al
xor eax, eax
call fcn.00505a4c
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov al, byte [esp + 0x12]
call fcn.00505a4c
jmp case.0x4ed036.0
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
je 0x4f2263
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4f2214
call fcn.00505a1c
mov byte [esp + 0x12], al
xor eax, eax
call fcn.00505a4c
mov eax, ebx
call fcn.004e7bb8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov al, byte [esp + 0x12]
call fcn.00505a4c
jmp case.0x4ed036.0
cmp dword [ebx + 0x268], 0
je 0x4f2229
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4f223d
cmp dword [ebx + 0x268], 0
jne 0x4f2263
mov eax, ebx
call fcn.004ec6d4
test al, al
je 0x4f2263
cmp dword [ebx + 0x268], 0
je 0x4f2251
lea eax, [ebx + 0x268]
call fcn.0040e8b8
mov dl, 1
mov eax, ebx
call fcn.004fb5c0
xor edx, edx
mov eax, ebx
call fcn.004e9354
cmp byte [ebx + 0x54], 1
jne 0x4f22e6
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4f22e6
cmp byte [0x5166e4], 0
jne 0x4f22e6
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf010
jne 0x4f22b1
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SetCapture
mov byte [0x5166ec], 1
mov byte [0x5229dc], 1
jmp 0x4f22e6
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf000
jne 0x4f22e6
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SetCapture
xor eax, eax
mov dword [0x522a00], eax
mov byte [0x5166ec], 1
mov byte [0x5229dc], 0
mov eax, dword [ebx + 0x24c]
mov al, byte [eax + 0x22f]
dec al
je 0x4f2303
dec al
je 0x4f26a1
jmp 0x4f272c
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 2
jne 0x4f232a
cmp dword [esi + 4], 0xf030
je 0x4f232a
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 0
jne 0x4f232e
xor eax, eax
jmp 0x4f2330
mov al, 1
mov byte [esp + 0x10], al
cmp byte [esp + 0x10], 0
je 0x4f2351
cmp dword [0x5229ac], 0
je 0x4f2351
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x50]
call fcn.004de0d8
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf060
jg 0x4f237b
je 0x4f2394
sub eax, 0xf020
je 0x4f2580
sub eax, 0x10
je 0x4f25bc
jmp 0x4f2672
sub eax, 0xf100
je 0x4f2680
sub eax, 0x20
je 0x4f243f
jmp 0x4f2672
cmp dword [0x5229ac], 0
je 0x4f2680
cmp dword [0x5229ac], 0
je 0x4f23c6
mov eax, dword [0x5229ac]
cmp dword [eax + 0x240], 0
je 0x4f23c6
cmp byte [esp + 0x10], 0
je 0x4f23c6
mov al, 1
call fcn.004ec498
mov eax, dword [0x5229ac]
mov byte [eax + 0x21f], 1
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne 0x4f23fd
test byte [ebx + 0x1c], 8
jne 0x4f23fd
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004f4a18
mov eax, dword [0x5229ac]
mov byte [eax + 0x21f], 0
cmp dword [0x5229ac], 0
je case.0x4ed036.0
mov eax, dword [0x5229ac]
cmp dword [eax + 0x240], 0
je case.0x4ed036.0
cmp byte [esp + 0x10], 0
je case.0x4ed036.0
mov al, 1
call fcn.004ec498
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 1
jne 0x4f2453
mov byte [esp + 0x10], 1
cmp byte [0x516700], 0
jne case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
cmp byte [ebx + 0x78], 0
je 0x4f24a7
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowLongA
push 0x505
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
cmp dword [0x5229ac], 0
je 0x4f2560
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
call fcn.0045a778
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4f2560
inc ebp
xor edi, edi
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
mov edx, edi
call fcn.0045a7c4
cmp eax, dword [ebx + 0x24c]
je 0x4f255c
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
mov edx, edi
call fcn.0045a7c4
cmp byte [eax + 0x22b], 2
jne 0x4f2536
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
mov edx, edi
call fcn.0045a7c4
xor edx, edx
call fcn.0045adec
push 0x506
push 0
push 0
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
mov edx, edi
call fcn.0045a7c4
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
inc edi
dec ebp
jne 0x4f24e8
cmp byte [esp + 0x10], 0
je 0x4f256e
mov al, 1
call fcn.004ec498
mov dl, 1
mov eax, dword [ebx + 0x254]
call fcn.004fe51c
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp byte [esp + 0x10], 0
je 0x4f259c
mov al, 1
call fcn.004ec498
mov dl, 1
mov eax, dword [ebx + 0x254]
call fcn.004fe51c
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov al, 1
call fcn.004ec498
jmp case.0x4ed036.0
mov dword [0x516704], ebx
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xefffffff
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowLongA
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowLongA
push 0x506
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
cmp dword [0x5229ac], 0
je 0x4f2660
mov eax, dword [0x5229ac]
cmp dword [eax + 0x240], 0
je 0x4f2660
mov al, 1
call fcn.004ec498
mov dl, 1
mov eax, dword [ebx + 0x254]
call fcn.004fe51c
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [0x5229ac], 0
je 0x4f2982
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x50]
xor edx, edx
call fcn.004de2a0
jmp 0x4f2982
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [esi + 4]
sub eax, 0xf020
je 0x4f26c9
sub eax, 0x10
je 0x4f26c9
sub eax, 0xf0
jne 0x4f2982
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x39], 1
mov eax, dword [0x5229ac]
mov dword [eax + 0x250], 0xffffffff
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SendMessageA
cmp dword [esi + 4], 0xf030
jne 0x4f2982
cmp dword [ebx + 0x268], 0
je 0x4f2982
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.00501f78
jmp 0x4f2982
mov eax, dword [esi + 4]
sub eax, 0xf030
je 0x4f273d
sub eax, 0xf0
jne 0x4f2763
cmp dword [ebx + 0x268], 0
je 0x4f2763
cmp byte [0x5137e0], 0
jne 0x4f2758
cmp dword [esi + 4], 0xf120
jne 0x4f2763
lea eax, [ebx + 0x268]
call fcn.0040e8b8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [esi + 4]
sub eax, 0xf030
je 0x4f28a5
sub eax, 0xd0
je 0x4f2794
sub eax, 0x20
je 0x4f28a5
jmp 0x4f2982
cmp word [esi + 8], 0x20
jne 0x4f2982
mov eax, ebx
call fcn.004f8964
test al, al
je 0x4f2982
mov eax, ebx
call fcn.004e978c
test al, al
je 0x4f2982
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4f283d
lea edx, [esp + 0x74]
mov eax, ebx
call fcn.004f7d1c
mov edi, dword [esp + 0x78]
mov dl, 1
mov eax, ebx
call fcn.004ea0f0
add edi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.00505b18
add edi, eax
sub edi, 0x10
push edi
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
mov cl, 1
mov edx, dword [ebx + 0x268]
call fcn.004e86f4
mov edi, eax
lea edx, [esp + 0x80]
mov eax, ebx
call fcn.004f7d1c
add edi, dword [esp + 0x80]
mov edx, edi
mov eax, ebx
pop ecx
mov edi, dword [eax]
call dword [edi + 0x34]
jmp 0x4f2982
lea edx, [esp + 0x74]
mov eax, ebx
call fcn.004f7d1c
mov edi, dword [esp + 0x78]
mov dl, 1
mov eax, ebx
call fcn.004ea0f0
add edi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.00505b18
add edi, eax
push edi
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
mov cl, 1
mov edx, dword [ebx + 0x268]
call fcn.004e86f4
mov edi, eax
lea edx, [esp + 0x80]
mov eax, ebx
call fcn.004f7d1c
add edi, dword [esp + 0x80]
mov edx, edi
mov eax, ebx
pop ecx
mov edi, dword [eax]
call dword [edi + 0x34]
jmp 0x4f2982
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x48]
test al, al
je 0x4f28bb
mov dword [ebx + 0x38], 9
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004f4a18
cmp dword [esi + 4], 0xf120
jne 0x4f2982
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 1
mov byte [ebx + 0xba], 1
mov eax, ebx
call fcn.004e978c
test al, al
jne 0x4f2903
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowRgn
jmp 0x4f2982
mov eax, dword [ebx + 0x50]
call fcn.004de330
test eax, eax
je 0x4f2968
mov eax, dword [ebx + 0x50]
call fcn.004de330
call fcn.004db82c
test al, al
je 0x4f2968
cmp byte [ebx + 0x79], 0
je 0x4f2968
cmp byte [ebx + 0x78], 0
je 0x4f2968
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4f2968
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4f2968
mov dl, 1
mov eax, ebx
call fcn.004fb5c0
cmp dword [ebx + 0x268], 0
je 0x4f2968
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x268]
call fcn.00501f78
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_RedrawWindow
mov ax, word [esi + 4]
sub ax, 0xf020
jne case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4f29ab
mov byte [ebx + 0x223], 0
cmp dword [ebx + 0x268], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x22c]
and eax, 0x100
cmp eax, 0x100
je case.0x4ed036.0
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 1
mov eax, dword [ebx + 0x268]
add eax, 0x18
call fcn.0040e8b8
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 0
jmp case.0x4ed036.0
cmp byte [ebx + 0x230], 0
jne 0x4f2fb3
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 1
jne 0x4f2fb3
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsZoomed
test eax, eax
jne 0x4f2c52
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x4f2c52
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0
jne 0x4f2a63
mov eax, dword [esi + 8]
cmp dword [eax + 0xc], 0
je 0x4f2c52
mov ebp, dword [esi + 8]
cmp byte [0x5137e0], 0
je 0x4f2ab0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 0
jne 0x4f2ab0
cmp dword [ebx + 0x268], 0
jne 0x4f2ab0
mov eax, ebx
call fcn.004ec6d4
test al, al
je 0x4f2ab0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4f2ab0
mov dl, 1
mov eax, ebx
call fcn.004fb5c0
cmp byte [ebx + 0x56], 0
je 0x4f2bad
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x1a6], 0
je 0x4f2bad
lea edx, [esp + 0x24]
mov eax, dword [ebx + 0x24c]
call fcn.004ec674
cmp dword [ebx + 0x268], 0
je 0x4f2b0e
mov eax, dword [ebx + 0x268]
call fcn.004e885c
mov edi, eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x34]
call fcn.004de330
mov eax, dword [eax + 0xc4]
movsx eax, word [eax + 0x32]
add edi, eax
jmp 0x4f2b10
xor edi, edi
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x48]
add eax, edi
push eax
lea eax, [ebp + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x30]
call fcn.004ec5bc
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x4c]
add eax, edi
push eax
lea eax, [ebp + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x34]
call fcn.004ec5bc
neg edi
push edi
lea eax, [ebp + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x28]
call fcn.004ec5bc
cmp dword [ebx + 0x268], 0
je 0x4f2b9c
mov eax, dword [ebx + 0x268]
call fcn.004e8820
mov edi, eax
neg edi
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x34]
call fcn.004de330
mov eax, dword [eax + 0xc4]
movsx eax, word [eax + 0x32]
sub edi, eax
push edi
lea eax, [ebp + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x2c]
call fcn.004ec5bc
jmp 0x4f2bad
push 0
lea eax, [ebp + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x2c]
call fcn.004ec5bc
test byte [ebx + 0x22d], 0x60
je 0x4f2c52
push esi
lea esi, [ebx + 0xd0]
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebx + 0x22c]
and eax, 0x2000
cmp eax, 0x2000
jne 0x4f2c2c
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x44]
mov edx, dword [esi + 8]
cmp eax, dword [edx + 0xc]
jne 0x4f2c10
mov eax, dword [esi + 8]
mov edx, dword [ebx + 0xd4]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x24c]
mov edx, dword [ebx + 0xd4]
sub edx, dword [eax + 0x44]
mov eax, dword [esi + 8]
sub dword [eax + 0x14], edx
jmp 0x4f2c22
mov eax, dword [ebx + 0xd4]
add eax, dword [ebx + 0xdc]
mov edx, dword [esi + 8]
mov dword [edx + 0x14], eax
and dword [ebx + 0x22c], 0xffffdfff
mov eax, dword [ebx + 0x22c]
and eax, 0x4000
cmp eax, 0x4000
jne 0x4f2c48
and dword [ebx + 0x22c], 0xffffbfff
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de330
test eax, eax
je 0x4f2fb3
call fcn.004c372c
test al, al
je 0x4f2fb3
cmp byte [ebx + 0x78], 0
je 0x4f2fb3
cmp byte [ebx + 0x222], 0
jne 0x4f2fb3
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
je 0x4f2ca8
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0xffff8300
jne 0x4f2e67
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4f2e67
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4f2e1d
mov eax, dword [ebx + 0x50]
call fcn.004de330
cmp byte [eax + 0xc0], 2
je 0x4f2fb3
cmp byte [ebx + 0x95], 0
je 0x4f2fb3
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4f2fb3
mov eax, dword [ebx + 0x22c]
and eax, 0x200
cmp eax, 0x200
je 0x4f2fb3
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4f2fb3
or dword [ebx + 0x22c], 0x200
mov dl, 1
mov eax, ebx
call fcn.004e8484
mov edx, dword [ebx + 0x50]
mov dword [edx + 0x44], eax
cmp dword [ebx + 0x268], 0
je 0x4f2e02
mov eax, dword [ebx + 0x268]
mov byte [eax + 0x28], 1
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x2e0], 0
je 0x4f2d7c
mov eax, dword [ebx + 0x24c]
movzx edi, byte [eax + 0x2e1]
jmp 0x4f2d81
mov edi, 0xff
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.00502ff4
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowRgn
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x44]
mov ecx, edi
call fcn.004e7688
push 0x65b
push 0
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x40]
push eax
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4f2fb3
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
call fcn.004e77a8
mov dword [ebx + 0xc8], eax
jmp 0x4f2fb3
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22b], 1
je 0x4f2fb3
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0xffff8300
jne 0x4f2fb3
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov dl, 1
mov eax, dword [ebx + 0x24c]
call fcn.0045adec
mov eax, ebx
call fcn.004e79a8
jmp case.0x4ed036.0
cmp dword [ebx + 0x268], 0
je 0x4f2fb3
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4f2fb3
mov eax, dword [esi + 8]
cmp dword [eax + 0x10], 0
je 0x4f2fb3
mov eax, dword [esi + 8]
cmp dword [eax + 0x14], 0
je 0x4f2fb3
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x10
cmp eax, 0x10
jne 0x4f2fb3
mov eax, dword [ebx + 0x22c]
and eax, 0x100
cmp eax, 0x100
je 0x4f2fb3
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x4f2fb3
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 1
cmp eax, 1
je 0x4f2fb3
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebx + 0x200]
jl 0x4f2f0a
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x14]
cmp eax, dword [ebx + 0x204]
jge 0x4f2fb3
cmp dword [ebx + 0x224], 0
je 0x4f2f38
mov eax, dword [ebx + 0x224]
mov eax, dword [eax + 0x80]
cmp byte [eax + 6], 0
jne 0x4f2fb3
mov eax, dword [ebx + 0x224]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 6], 0
jne 0x4f2fb3
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00447264
test al, al
je 0x4f2fb3
or dword [ebx + 0x22c], 1
push 0
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x268]
call fcn.00502ff4
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowRgn
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowPos
and dword [ebx + 0x22c], 0xfffffffe
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov byte [0x5137c8], 1
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4f2ff4
jmp 0x4f2feb
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
call fcn.00460638
cmp dword [0x5137cc], 0
jg 0x4f2fdf
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de330
test eax, eax
je 0x4f3378
call fcn.004c372c
test al, al
je 0x4f3378
cmp byte [ebx + 0x78], 0
je 0x4f3378
cmp dword [ebx + 0x268], 0
je 0x4f3070
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4f3070
mov eax, ebx
call fcn.004fd728
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004e875c
add eax, 4
cmp edi, eax
setg al
mov byte [ebx + 0x208], al
jmp 0x4f3077
mov byte [ebx + 0x208], 0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
jne 0x4f322c
cmp byte [ebx + 0x222], 0
jne 0x4f322c
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4f322c
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4f322c
mov eax, dword [ebx + 0x50]
call fcn.004de330
cmp byte [eax + 0xc0], 2
jne 0x4f3115
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
jne 0x4f3115
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4f322c
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov byte [ebx + 0x223], 0
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x50]
call fcn.004de330
cmp byte [eax + 0xc0], 2
je 0x4f3209
cmp byte [ebx + 0x95], 0
je 0x4f31e4
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4f31e4
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4f31e4
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je 0x4f31e4
call fcn.004e8980
test al, al
je 0x4f318b
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
mov cl, 1
mov dl, 1
call fcn.004ec5e4
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov byte [ebx + 0x222], 1
mov eax, ebx
call fcn.004bfb84
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne case.0x4ed036.0
call fcn.004e8980
test al, al
je 0x4f31d8
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
mov cl, 1
xor edx, edx
call fcn.004ec5e4
mov byte [ebx + 0x222], 0
jmp case.0x4ed036.0
cmp dword [ebx + 0x268], 0
je 0x4f322c
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4f322c
mov eax, dword [ebx + 0x268]
add eax, 0x18
call fcn.0040e8b8
jmp 0x4f322c
cmp dword [ebx + 0x268], 0
je 0x4f322c
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4f322c
mov eax, dword [ebx + 0x268]
add eax, 0x18
call fcn.0040e8b8
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp byte [ebx + 0x220], 0
jne case.0x4ed036.0
cmp dword [ebx + 0x268], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x57], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne case.0x4ed036.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 8
cmp eax, 8
je case.0x4ed036.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x20
cmp eax, 0x20
je case.0x4ed036.0
mov eax, dword [ebx + 0x22c]
and eax, 0x80
cmp eax, 0x80
je case.0x4ed036.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 3
cmp eax, 3
jne 0x4f3364
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je 0x4f3364
call fcn.004e8980
test al, al
je 0x4f3332
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x24c]
jne 0x4f3332
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x4f3332
push 0x65b
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4ed036.0
push 0x65b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x24c]
call fcn.00446f60
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4ed036.0
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.00501f78
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
cmp byte [ebx + 0x95], 0
je 0x4f34ff
mov eax, dword [ebx + 0x50]
call fcn.004de330
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4f34ff
cmp byte [ebx + 0x78], 0
je 0x4f34ff
mov eax, dword [ebx + 0x22c]
and eax, 0x200
cmp eax, 0x200
je 0x4f34ff
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x30], 0
jne 0x4f34ff
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 8
jne case.0x4ed036.0
or dword [ebx + 0x22c], 0x200
mov dl, 1
mov eax, ebx
call fcn.004e8484
mov edx, dword [ebx + 0x50]
mov dword [edx + 0x44], eax
and dword [ebx + 0x22c], 0xfffffdff
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x39], 0
cmp dword [ebx + 0x268], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x268]
cmp dword [eax + 0x18], 0
je case.0x4ed036.0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00447264
test al, al
je case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x2e0], 0
je 0x4f3479
mov eax, dword [ebx + 0x24c]
movzx edi, byte [eax + 0x2e1]
jmp 0x4f347e
mov edi, 0xff
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x268]
call fcn.00502ff4
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowRgn
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x44]
mov ecx, edi
call fcn.004e7688
push 0x65b
push 0
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x40]
push eax
push 0
mov eax, dword [ebx + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00446f60
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
jne 0x4f3586
cmp dword [0x5229ac], 0
jne 0x4f3540
mov eax, dword [0x51f7f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.00446f60
xor edx, edx
call fcn.004a66cc
cmp dword [0x5229ac], 0
je 0x4f357f
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
call fcn.0045a744
test eax, eax
je 0x4f357f
mov eax, dword [0x5229ac]
mov eax, dword [eax + 0x24c]
call fcn.0045a744
cmp byte [eax + 0x22b], 2
jne 0x4f357f
mov byte [0x516700], 1
jmp 0x4f3586
mov byte [0x516700], 0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x22f], 1
je case.0x4ed036.0
mov eax, ebx
call fcn.004f9bc4
jmp case.0x4ed036.0
test byte [ebx + 0x1c], 1
jne 0x4f365e
mov eax, dword [ebx + 0x24c]
test byte [eax + 0x1c], 1
jne 0x4f365e
mov eax, dword [esi + 4]
and eax, 0xffff
dec eax
je 0x4f35e5
mov eax, dword [esi + 4]
and eax, 0xffff
cmp eax, 2
jne 0x4f365e
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
cmp dword [ebx + 0x228], 0
je 0x4f3610
cmp word [esi + 4], 1
jne 0x4f3610
xor edx, edx
mov eax, dword [ebx + 0x228]
call fcn.004ff0b8
push 0
lea eax, [esp + 0x18]
push eax
mov dx, 0x24
xor eax, eax
call fcn.0040794c
mov edx, eax
mov ecx, 1
mov eax, dword [0x522a40]
call fcn.00505988
lea edx, [esp + 0x14]
mov eax, dword [ebx + 0x24c]
call fcn.004c2848
cmp byte [ebx + 0x78], 0
je case.0x4ed036.0
mov dl, 1
mov eax, dword [ebx + 0x224]
call fcn.00487790
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
sub eax, 0xfffffdd9
jne case.0x4ed036.0
cmp dword [ebx + 0x228], 0
je case.0x4ed036.0
xor edx, edx
mov eax, dword [ebx + 0x228]
call fcn.004ff0b8
jmp case.0x4ed036.0
cmp dword [esi + 4], 0
je 0x4f373e
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov eax, dword [esi + 4]
mov edx, dword [0x43c6a0]
call fcn.00403aa4
test al, al
je 0x4f371f
cmp dword [ebx + 0x228], 0
je 0x4f36f0
mov edx, dword [esi + 4]
mov eax, dword [ebx + 0x228]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
lea eax, [esp + 0x18]
push eax
mov dx, 0x24
xor eax, eax
call fcn.0040794c
mov edx, eax
mov ecx, 1
mov eax, dword [0x522a40]
call fcn.00505988
lea edx, [esp + 0x14]
mov eax, dword [esi + 4]
call fcn.004c2848
push 1
mov dx, 0x24
xor eax, eax
call fcn.0040794c
mov ecx, eax
mov eax, dword [esi + 4]
mov edx, dword [0x522a40]
call fcn.00441918
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
jmp case.0x4ed036.0
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
add esp, 0xac
pop ebp
pop edi
pop esi
pop ebx
ret