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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff4c
mov esi, edx
mov ebx, eax
cmp dword [esi], 0xa100
jne 0x4cd3d0
movzx eax, word [esi + 6]
cmp eax, 0x22
jg 0x4ccf3e
je 0x4cd1e3
dec eax
je 0x4cd12b
dec eax
je 0x4ccf5c
sub eax, 5
je 0x4cd19b
sub eax, 0x19
je 0x4cd1a7
jmp 0x4cd3d0
sub eax, 0x24
je 0x4cd3a9
sub eax, 0x18
je 0x4cd16f
dec eax
je 0x4cd17e
jmp 0x4cd3d0
mov eax, dword [ebx + 0x50]
call fcn.00519300
cmp eax, dword [esi + 8]
jne 0x4cd119
cmp dword [ebx + 0x230], 0
je 0x4ccf81
lea eax, [ebx + 0x230]
call fcn.0040fee4
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
xor ecx, ecx
xor edx, edx
call fcn.004c91f8
mov eax, esi
mov edx, dword [ebx + 0x50]
call fcn.0051992c
mov dword [ebx + 0x258], 0xffffffff
mov dword [ebx + 0x218], 0xffffffff
mov dword [ebx + 0x220], 0xffffffff
mov edx, esi
mov eax, dword [ebx + 0x254]
call fcn.004bc05c
mov eax, ebx
call fcn.004d9824
mov eax, dword [ebx + 0x50]
call fcn.00519300
test eax, eax
je 0x4ccfe4
mov al, 1
call fcn.0052dc28
mov eax, dword [ebx + 0x254]
test eax, eax
je case.0x4cdb1f.0
test byte [eax + 0x1c], 8
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
call fcn.00519300
test eax, eax
je 0x4cd0b2
xor edx, edx
mov eax, ebx
call fcn.004d872c
xor edx, edx
mov eax, ebx
call fcn.004da73c
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
jne 0x4cd03f
cmp dword [ebx + 0x248], 0
je 0x4cd03f
xor edx, edx
mov eax, ebx
call fcn.004d9588
mov eax, ebx
call fcn.004c9b44
test al, al
je 0x4cd068
cmp byte [ebx + 0x22b], 0
jne 0x4cd068
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowRgn
mov eax, ebx
call fcn.004d8308
cmp byte [ebx + 0x5c], 0
je 0x4cd08e
mov eax, dword [ebx + 0x50]
cmp byte [eax + 9], 0
jne 0x4cd08e
mov edx, 0xff00000f
mov eax, dword [ebx + 0x254]
call fcn.004764a0
xor edx, edx
mov eax, ebx
call fcn.004dad48
push 0x585
push 0
push 0
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x254]
call fcn.00479954
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4cd0ff
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x254]
call fcn.00479918
mov edx, dword [0x456fd0]
call fcn.00404018
test al, al
je 0x4cd0fb
mov edx, edi
mov eax, dword [ebx + 0x254]
call fcn.00479918
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.004dcdec
inc edi
dec ebp
jne 0x4cd0c7
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x40], 0
je case.0x4cdb1f.0
add eax, 0x40
call fcn.0040fee4
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x254]
call fcn.004bc05c
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
test byte [eax + 0x1c], 8
jne 0x4cd3d0
cmp dword [ebx + 0x50], 0
je 0x4cd3d0
mov eax, dword [ebx + 0x50]
call fcn.00519300
cmp eax, dword [esi + 8]
jne 0x4cd3d0
cmp dword [ebx + 0x25c], 0
jne 0x4cd3d0
mov eax, ebx
call fcn.004d932c
jmp 0x4cd3d0
mov eax, dword [0x724f40]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
jmp case.0x4cdb1f.0
mov eax, ebx
call fcn.004d7b3c
push eax
mov eax, ebx
call fcn.004d7aac
pop edx
call fcn.00408558
mov dword [esi + 0xc], eax
jmp case.0x4cdb1f.0
mov dword [esi + 0xc], 1
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
mov dx, word [eax + 0x4a]
and dx, 0x400
cmp dx, 0x400
jne 0x4cd3d0
and word [eax + 0x4a], 0xfbff
push 0
push 0
push 0xb015
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
jmp 0x4cd3d0
mov edi, dword [ebx + 0x50]
test edi, edi
je 0x4cd3d0
xor edx, edx
mov eax, edi
call fcn.00519884
test al, al
je 0x4cd3d0
lea ecx, [esp + 0x84]
xor edx, edx
xor eax, eax
call fcn.00407538
mov eax, dword [esi + 8]
mov edx, dword [esp + 0x84]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x88]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x35], 0
je 0x4cd254
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
je 0x4cd241
cmp byte [ebx + 0x22c], 0
je 0x4cd254
mov eax, dword [ebx + 0x50]
call fcn.0051760c
test al, al
je 0x4cd254
mov eax, ebx
call fcn.004d5738
mov eax, dword [esi + 8]
cmp byte [eax + 0x31], 0
je 0x4cd277
mov eax, ebx
call fcn.004d7aac
mov edx, dword [esi + 8]
add dword [edx + 8], eax
mov eax, ebx
call fcn.004d7b3c
mov edx, dword [esi + 8]
add dword [edx + 0xc], eax
mov eax, dword [ebx + 0x254]
cmp word [eax + 0x2ba], 0
je 0x4cd2ce
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
mov edx, dword [esi + 8]
mov dword [edx], eax
mov eax, ebx
call fcn.004d7b3c
push eax
mov eax, ebx
call fcn.004d7aac
lea ecx, [esp + 0x88]
pop edx
call fcn.00407538
mov edi, dword [esi + 8]
mov eax, dword [esp + 0x84]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x88]
mov dword [edi + 0xc], eax
mov byte [edi + 0x30], 2
jmp case.0x4cdb1f.0
mov edi, dword [ebx + 0x50]
cmp dword [edi + 0x28], 0xffffffff
jle 0x4cd30d
push 0
mov eax, edi
call fcn.00519300
mov eax, dword [eax + 0xdc]
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 + 0x24c]
call fcn.00431d1c
mov ecx, eax
mov edx, dword [esi + 8]
mov eax, edi
call fcn.005179e4
jmp 0x4cd32a
push 0
xor eax, eax
mov al, byte [ebx + 0x24c]
xor edx, edx
call fcn.00431d1c
mov ecx, eax
mov edx, dword [esi + 8]
mov eax, edi
call fcn.005179e4
mov eax, dword [esi + 8]
cmp byte [eax + 0x30], 2
jne 0x4cd350
cmp byte [eax + 0x31], 0
jne 0x4cd350
cmp dword [eax], 0
jne 0x4cd350
mov eax, ebx
call fcn.004d5738
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
mov edx, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 8]
lea edi, [eax + 8]
mov eax, ebx
call fcn.004d7aac
add dword [edi], eax
mov ebp, dword [edi]
test ebp, ebp
je 0x4cd37a
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x20]
sub edx, ebp
xor eax, eax
call fcn.00431e08
mov edx, dword [esi + 8]
mov dword [edx + 0x20], eax
mov eax, ebx
call fcn.004d7b3c
add dword [edi + 4], eax
mov ebx, dword [edi + 4]
test ebx, ebx
je case.0x4cdb1f.0
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x24]
sub edx, ebx
xor eax, eax
call fcn.00431e08
mov edx, dword [esi + 8]
mov dword [edx + 0x24], eax
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
mov dx, word [eax + 0x4a]
and dx, 2
cmp dx, 2
jne 0x4cd3c1
xor edx, edx
call fcn.00518ec8
mov eax, dword [ebx + 0x50]
movzx eax, word [eax + 0x4a]
mov dword [esi + 0xc], eax
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
test byte [eax + 0x1c], 8
jne 0x4cd3ee
mov dl, 1
mov eax, dword [ebx + 0x50]
call fcn.00519884
test al, al
jne 0x4cd83f
cmp dword [esi], 0xa100
jne 0x4cd665
mov ax, word [esi + 6]
dec ax
je 0x4cd415
sub ax, 3
jne 0x4cd665
mov dword [esi + 0xc], ebx
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
test byte [eax + 0x1c], 8
jne 0x4cd665
cmp dword [ebx + 0x50], 0
je 0x4cd665
mov eax, dword [ebx + 0x50]
call fcn.00519300
cmp eax, dword [esi + 8]
jne case.0x4cdb1f.0
mov eax, ebx
call fcn.004daf70
mov al, 1
call fcn.0052dc28
mov eax, dword [ebx + 0x50]
call fcn.0051a1dc
mov dword [ebx + 0x218], 0xffffffff
mov eax, ebx
call fcn.004db0b4
mov dword [ebx + 0x218], eax
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov edx, 0x4d2c10
call fcn.0052a280
mov dword [ebx + 0x220], eax
mov eax, dword [ebx + 0x50]
call fcn.00519300
test eax, eax
je 0x4cd643
cmp dword [ebx + 0x270], 0
je 0x4cd4d7
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4cd4d7
mov eax, ebx
call fcn.004dcdb0
mov esi, eax
mov eax, dword [ebx + 0x254]
call fcn.004c8f68
add eax, 4
cmp esi, eax
setg al
mov byte [ebx + 0x214], al
jmp 0x4cd4de
mov byte [ebx + 0x214], 0
mov dl, 1
mov eax, ebx
call fcn.004da73c
mov eax, ebx
call fcn.004d8cb8
mov esi, dword [ebx + 0x254]
cmp byte [esi + 0x22f], 2
jne 0x4cd518
mov eax, esi
call fcn.004690ec
mov edx, dword [0x72527c]
mov edx, dword [edx]
cmp eax, dword [edx + 0x6c]
jne 0x4cd518
mov byte [ebx + 0x24c], 1
mov eax, dword [ebx + 0x50]
call fcn.00519300
test byte [eax + 0x1c], 1
jne 0x4cd5dc
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x248], 0
je 0x4cd549
cmp byte [ebx + 0xc6], 0
je 0x4cd549
mov byte [ebx + 0xc5], 1
mov dl, 1
mov eax, ebx
call fcn.004d872c
cmp byte [ebx + 0xc5], 0
jne 0x4cd568
mov eax, ebx
call fcn.004d8308
mov byte [ebx + 0xc5], al
cmp dword [ebx + 0x234], 0
je 0x4cd5dc
mov eax, dword [ebx + 0x254]
call fcn.00479954
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4cd5dc
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x254]
call fcn.00479918
mov edx, dword [0x456fd0]
call fcn.00404018
test al, al
je 0x4cd5d8
mov edx, edi
mov eax, dword [ebx + 0x254]
call fcn.00479918
mov edx, eax
mov eax, dword [ebx + 0x234]
call fcn.004e0248
test al, al
je 0x4cd5d8
mov edx, edi
mov eax, dword [ebx + 0x254]
call fcn.00479918
mov edx, eax
mov cl, 1
mov eax, ebx
call fcn.004dcdec
inc edi
dec ebp
jne 0x4cd586
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov dword [ebx + 0x258], 0xffffffff
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
jne 0x4cd605
mov dl, 1
mov eax, ebx
call fcn.004d9588
cmp byte [ebx + 0x5c], 0
je 0x4cd62e
mov eax, dword [ebx + 0x50]
cmp byte [eax + 9], 0
jne 0x4cd62e
mov eax, dword [ebx + 0x50]
call fcn.00519300
call fcn.00521eec
mov edx, eax
mov eax, dword [ebx + 0x254]
call fcn.004764a0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
xor ecx, ecx
mov dl, byte [ebx + 0x78]
call fcn.004c91f8
mov eax, dword [ebx + 0x234]
test eax, eax
jne 0x4cd659
mov eax, ebx
call fcn.004d97e0
jmp case.0x4cdb1f.0
xor edx, edx
call fcn.004dfea8
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [esi]
sub eax, 0x47
je 0x4cd693
sub eax, 0x3b
je 0x4cd76e
sub eax, 0xafc1
je 0x4cd831
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
call fcn.00519300
test eax, eax
je case.0x4cdb1f.0
call fcn.004e69d4
test al, al
je case.0x4cdb1f.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
jne case.0x4cdb1f.0
cmp byte [ebx + 0x95], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne case.0x4cdb1f.0
cmp byte [ebx + 0x22e], 0
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
call fcn.00519300
cmp byte [eax + 0x3c], 0
je case.0x4cdb1f.0
cmp byte [ebx + 0x78], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je case.0x4cdb1f.0
mov eax, dword [0x7248ac]
xor edx, edx
mov dword [eax], edx
mov byte [ebx + 0x22e], 1
mov eax, ebx
call fcn.004b93a4
mov eax, dword [0x724a68]
cmp byte [eax], 0
jne 0x4cd744
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
mov cl, 1
xor edx, edx
call fcn.004ccd1c
mov byte [ebx + 0x22e], 0
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
jne case.0x4cdb1f.0
mov eax, dword [0x725068]
cmp dword [eax], 0
je case.0x4cdb1f.0
mov eax, dword [0x725068]
mov eax, dword [eax]
cmp dword [eax + 0x248], 0
je case.0x4cdb1f.0
mov eax, dword [0x725068]
mov eax, dword [eax]
test byte [eax + 0x1c], 8
jne case.0x4cdb1f.0
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
test byte [eax + 0x1c], 8
jne case.0x4cdb1f.0
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dl, 1
call fcn.00519884
test al, al
je case.0x4cdb1f.0
mov eax, dword [0x725068]
mov eax, dword [eax]
call fcn.004d8c00
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
call fcn.004690ec
test eax, eax
jne case.0x4cdb1f.0
push 0x507
push 0
push 0
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, ebx
call fcn.004db190
jmp case.0x4cdb1f.0
mov eax, dword [esi]
cmp eax, 0xa4
jg 0x4cd99c
je 0x4d0757
cmp eax, 0x24
jg 0x4cd8fd
je 0x4ce2de
cmp eax, 0x22
ja case.0x4cd86a.0
jmp dword [eax*4 + 0x4cd871]
cmp eax, 0x81
jg 0x4cd953
je 0x4cfb87
cmp eax, 0x4e
jg 0x4cd933
je 0x4d2b11
sub eax, 0x2c
je 0x4d1965
sub eax, 0x1a
je 0x4d2411
dec eax
je 0x4d2462
jmp case.0x4cd86a.0
sub eax, 0x7b
je 0x4ce1ed
sub eax, 2
je 0x4ce39e
sub eax, 3
je 0x4ce2ec
jmp case.0x4cd86a.0
cmp eax, 0xa0
jg 0x4cd97e
je 0x4ce121
sub eax, 0x84
je 0x4cf8b3
dec eax
je 0x4d0d85
dec eax
je 0x4d14d7
jmp case.0x4cd86a.0
sub eax, 0xa1
je 0x4cfbb4
dec eax
je 0x4d07f9
dec eax
je 0x4d17c5
jmp case.0x4cd86a.0
cmp eax, 0x318
jg 0x4cda5f
je case.0x4cdb1f.0
cmp eax, 0x211
jg 0x4cda0b
je 0x4cf72b
cmp eax, 0x121
jg 0x4cd9e9
je 0x4d0807
sub eax, 0xa5
je 0x4d0779
sub eax, 0x6d
je 0x4d19e9
sub eax, 5
je 0x4ce37e
jmp case.0x4cd86a.0
sub eax, 0x200
je 0x4d0293
sub eax, 2
je 0x4d07f9
sub eax, 0xe
je 0x4d2a14
jmp case.0x4cd86a.0
cmp eax, 0x232
jg 0x4cda3d
je 0x4ce267
sub eax, 0x212
je 0x4cf886
sub eax, 2
je 0x4cfac4
add eax, 0xfffffff3
sub eax, 2
jb 0x4d1636
jmp case.0x4cd86a.0
sub eax, 0x2a3
je 0x4cfaf3
sub eax, 0x70
je 0x4ce478
sub eax, 4
je 0x4d08cc
jmp case.0x4cd86a.0
cmp eax, 0xb015
jg 0x4cdab9
je 0x4d0857
cmp eax, 0xb00b
jg 0x4cda99
je 0x4d171d
sub eax, 0x323
je 0x4ce1a3
sub eax, 3
je 0x4ce178
sub eax, 0x9dda
je 0x4cdb0c
jmp case.0x4cd86a.0
sub eax, 0xb00c
je 0x4ced22
sub eax, 7
je 0x4cfb2b
dec eax
je 0x4cfaf3
jmp case.0x4cd86a.0
cmp eax, 0xb03a
jg 0x4cdae8
je 0x4d0811
sub eax, 0xb019
je 0x4ce4ba
sub eax, 0x13
je 0x4d2b4f
sub eax, 7
je 0x4d14c4
jmp case.0x4cd86a.0
sub eax, 0xb043
je 0x4ce15c
sub eax, 9
je 0x4d0d7b
sub eax, 0xc01
je 0x4d0d7b
jmp case.0x4cd86a.0
movzx eax, word [esi + 6]
cmp eax, 0x3e
ja case.0x4cdb1f.0
mov al, byte [eax + 0x4cdb26]
jmp dword [eax*4 + 0x4cdb65]
cmp dword [ebx + 0x254], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
test byte [eax + 0x1c], 1
jne case.0x4cdb1f.0
cmp dword [ebx + 0x234], 0
je case.0x4cdb1f.0
cmp dword [esi + 8], 0
je 0x4cdbe8
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x234]
call fcn.004dfea8
jmp case.0x4cdb1f.0
mov edx, dword [ebx + 0x254]
mov eax, dword [ebx + 0x234]
call fcn.004dfea8
jmp case.0x4cdb1f.0
cmp dword [ebx + 0x50], 0
je case.0x4cdb1f.0
mov eax, dword [0x724a68]
cmp byte [eax], 0
jne 0x4cdc27
mov eax, dword [ebx + 0x50]
call fcn.0051760c
test al, al
je 0x4cdc27
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4cdc2b
xor eax, eax
jmp 0x4cdc2d
mov al, 1
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
push 0x401
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
jmp case.0x4cdb1f.0
cmp dword [esi + 8], 1
jne 0x4cdc84
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov eax, ebx
call fcn.004c9fcc
jmp case.0x4cdb1f.0
cmp word [esi + 4], 1
sete dl
mov eax, dword [ebx + 0x50]
call fcn.00519880
mov eax, dword [ebx + 0x50]
call fcn.00519314
test al, al
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
call fcn.00519300
cmp eax, dword [esi + 8]
jne case.0x4cdb1f.0
cmp dword [ebx + 0x234], 0
jne 0x4cdcdf
mov eax, ebx
call fcn.004d97e0
jmp 0x4cdcec
xor edx, edx
mov eax, dword [ebx + 0x234]
call fcn.004dfea8
cmp byte [ebx + 0x78], 0
je 0x4cdd0a
cmp byte [ebx + 0xa6], 0
je 0x4cdd0a
lea edx, [ebx + 0x230]
xor ecx, ecx
mov eax, ebx
call fcn.004c9ec8
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x30], 0
je 0x4cdd2e
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
je 0x4cdd2e
mov eax, dword [ebx + 0x50]
and word [eax + 0x4a], 0xfffe
mov dword [ebx + 0x258], 0xffffffff
mov eax, dword [ebx + 0x50]
call fcn.00519300
test byte [eax + 0x1c], 1
jne 0x4cdd60
mov eax, ebx
call fcn.004d8308
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.00519884
mov edx, eax
mov eax, ebx
call fcn.004d872c
mov eax, ebx
call fcn.004c9b44
test al, al
je 0x4cdd6f
mov byte [ebx + 0x34], 1
mov eax, ebx
call fcn.004dcc48
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x57], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov eax, dword [ebx + 0x50]
call fcn.00519300
call fcn.0052bfb4
mov edx, eax
mov eax, ebx
call fcn.004dad48
mov eax, dword [0x724a68]
cmp byte [eax], 0
jne 0x4cde53
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
jne 0x4cde0f
mov eax, dword [ebx + 0x254]
call fcn.004690ec
test eax, eax
je 0x4cde0f
mov eax, dword [ebx + 0x254]
call fcn.004690ec
cmp byte [eax + 0x22b], 2
jne 0x4cde0f
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004db498
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x254]
call fcn.004690ec
call fcn.0047cd04
push eax
call sub.user32.dll_InvalidateRect
jmp 0x4cde53
push 0x545
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
jne 0x4cde53
push 0x545
push 0
push 0
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
cmp byte [ebx + 0x5c], 0
je 0x4cde7c
mov eax, dword [ebx + 0x50]
cmp byte [eax + 9], 0
jne 0x4cde7c
mov eax, dword [ebx + 0x50]
call fcn.00519300
call fcn.00521eec
mov edx, eax
mov eax, dword [ebx + 0x254]
call fcn.004764a0
cmp dword [ebx + 0x248], 0
je 0x4cde90
mov eax, dword [ebx + 0x248]
call fcn.004c6348
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.00519880
cmp dword [ebx + 0x25c], 0
je 0x4cdeae
mov eax, dword [ebx + 0x25c]
call fcn.004df25c
mov edx, esi
mov eax, ebx
call fcn.004d9874
cmp dword [ebx + 0x270], 0
je case.0x4cdb1f.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x270]
call fcn.004e2d54
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0xdc]
mov edx, dword [ebx + 0x50]
imul edx, dword [edx + 0x28], 0x43
mov edi, dword [eax + edx*4 + 0xa8]
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0xdc]
mov edx, dword [ebx + 0x50]
imul edx, dword [edx + 0x28], 0x43
add edi, dword [eax + edx*4 + 0xb4]
test edi, edi
jle 0x4cdf1d
mov dword [esi + 8], 1
jmp 0x4cdf5c
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x24], 0
jl 0x4cdf50
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0xd4]
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 0x4cdf54
xor eax, eax
jmp 0x4cdf56
mov al, 1
and eax, 0x7f
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
jmp case.0x4cdb1f.0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.00517fbc
mov dword [esi + 0xc], eax
jmp case.0x4cdb1f.0
mov dword [esi + 0xc], ebx
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
call fcn.00519300
cmp eax, dword [esi + 8]
jne case.0x4cdb1f.0
mov al, 1
call fcn.0052dc28
mov eax, dword [ebx + 0x50]
call fcn.0051a1dc
mov dword [ebx + 0x218], 0xffffffff
mov eax, ebx
call fcn.004db0b4
mov dword [ebx + 0x218], eax
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov edx, 0x4d2c10
call fcn.0052a280
mov dword [ebx + 0x220], eax
mov eax, dword [ebx + 0x50]
call fcn.00519300
test eax, eax
je case.0x4cdb1f.0
mov eax, ebx
call fcn.004d8cb8
mov al, 1
call fcn.0052dc28
mov dl, byte [ebx + 0x78]
mov eax, ebx
call fcn.004da73c
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x44]
call fcn.0052fc00
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov dword [ebx + 0x258], 0xffffffff
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004db498
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
jne case.0x4cdb1f.0
mov dl, 1
mov eax, ebx
call fcn.004d9588
jmp case.0x4cdb1f.0
mov cl, 1
or edx, 0xffffffff
mov eax, ebx
call fcn.004d3eb8
mov byte [0x6f12fc], 0
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
call fcn.005194f4
test al, al
je case.0x4cdb1f.0
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
call fcn.005194f4
test al, al
je case.0x4cdb1f.0
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [0x725068]
cmp ebx, dword [eax]
jne case.0x4cdb1f.0
push 0x581
push 0
push 0
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4cdb1f.0
mov eax, esi
mov edx, dword [ebx + 0x50]
call fcn.0051a2fc
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x34], 0
je case.0x4cdb1f.0
mov eax, ebx
call fcn.004d5738
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
mov eax, dword [ebx + 0x50]
call fcn.00519300
pop edx
call fcn.0052b4d4
mov edx, esi
mov eax, ebx
call fcn.004db3ec
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov edx, esi
mov eax, ebx
call fcn.004db190
jmp case.0x4cdb1f.0
mov eax, dword [0x724b30]
cmp byte [eax], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
mov edx, ebx
call fcn.004c7c78
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4cdb1f.0
mov eax, dword [0x724b30]
cmp byte [eax], 0
je case.0x4cdb1f.0
cmp word [esi + 0xa], 0
je case.0x4cdb1f.0
cmp word [esi + 8], 0
je case.0x4cdb1f.0
movzx eax, word [esi + 8]
push eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
movzx ecx, word [esi + 0xa]
mov edx, ebx
call fcn.004c7a0c
and eax, 0x7f
mov dword [esi + 0xc], eax
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x7c], 0
je 0x4ce21f
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov al, byte [eax + 0x58]
push eax
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x254]
mov edx, dword [edx + 0x7c]
pop ecx
call fcn.0053115c
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
cmp dword [esi + 4], 1
jne 0x4ce24e
mov edx, dword [ebx + 0xc0]
dec edx
xor eax, eax
call fcn.00431e08
mov dword [ebx + 0xc0], eax
jmp 0x4ce254
inc dword [ebx + 0xc0]
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
cmp dword [ebx + 0x270], 0
je case.0x4cdb1f.0
mov eax, dword [0x7250c8]
cmp dword [eax], 0
je case.0x4cdb1f.0
mov eax, dword [0x7250c8]
mov eax, dword [eax]
mov ebp, dword [eax + 8]
dec ebp
test ebp, ebp
jl case.0x4cdb1f.0
inc ebp
xor edi, edi
mov eax, dword [0x7250c8]
mov eax, dword [eax]
mov edx, edi
call fcn.0041d9f4
test eax, eax
je 0x4ce2d5
mov eax, dword [0x7250c8]
mov eax, dword [eax]
mov edx, edi
call fcn.0041d9f4
mov eax, dword [eax + 0x30]
xor ecx, ecx
mov edx, 0x12
call fcn.004bbeb0
inc edi
dec ebp
jne 0x4ce2a6
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, ebx
call fcn.004dadf8
jmp case.0x4cdb1f.0
test byte [ebx + 0x1c], 1
jne 0x4ce36b
cmp dword [esi + 8], 0
je 0x4ce36b
mov eax, dword [0x724a68]
cmp byte [eax], 0
jne 0x4ce36b
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x1a6], 0
je 0x4ce36b
call fcn.004c9164
test al, al
jne 0x4ce331
push 0
push 0
push 0xb
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
call fcn.004c9164
test al, al
jne 0x4ce35f
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
mov eax, ebx
call fcn.004c9fcc
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
call fcn.00519300
cmp byte [eax + 0x58], 0
je case.0x4cdb1f.0
mov edx, esi
mov eax, ebx
call fcn.004daa0c
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [ebx + 0x25c]
test eax, eax
je 0x4ce3ed
cmp dword [eax + 0x98], 0
je 0x4ce3ed
mov edx, dword [ebx + 0x254]
test byte [edx + 0x228], 1
setne dl
mov ecx, dword [eax + 0x98]
cmp dl, byte [ecx + 0x3e]
je 0x4ce3ed
xor edx, edx
call fcn.004df260
mov eax, ebx
call fcn.004c9fcc
jmp case.0x4cdb1f.0
cmp dword [esi + 4], 0xffffffec
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x238]
and eax, 0x80
cmp eax, 0x80
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x238]
and eax, 0x100
cmp eax, 0x100
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x238]
and eax, 0x400
cmp eax, 0x400
je case.0x4cdb1f.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.0x4cdb1f.0
cmp dword [ebx + 0x270], 0
je case.0x4cdb1f.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x270]
call fcn.004e2d54
jmp case.0x4cdb1f.0
lea edx, [esp + 0x84]
mov eax, dword [0x725204]
mov eax, dword [eax]
call fcn.00481614
mov eax, dword [esp + 0x88]
push eax
lea edx, [esp + 0x90]
mov eax, dword [0x725204]
mov eax, dword [eax]
call fcn.00481614
mov edx, dword [esp + 0x90]
mov eax, ebx
pop ecx
call fcn.004d762c
jmp case.0x4cdb1f.0
mov dword [esp + 4], 0xff
cmp byte [ebx + 0x78], 0
je 0x4ce922
cmp byte [ebx + 0xa6], 0
je 0x4ce922
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x1a6], 0
je 0x4ce8bf
cmp byte [eax + 0x22f], 1
jne 0x4ce51e
cmp dword [ebx + 0x234], 0
je 0x4ce50b
mov edx, eax
mov eax, dword [ebx + 0x234]
call fcn.004dfea8
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
jne 0x4ce536
mov dl, 1
mov eax, ebx
call fcn.004d9588
and dword [ebx + 0x238], 0xfffffdff
cmp dword [ebx + 0x270], 0
je 0x4ce553
mov eax, dword [ebx + 0x270]
mov byte [eax + 0x28], 0
cmp dword [ebx + 0x224], 0
je 0x4ce57c
mov eax, dword [ebx + 0x224]
mov edx, dword [0x4c78b8]
call fcn.00404018
test al, al
je 0x4ce57c
lea eax, [ebx + 0x224]
call fcn.0040fee4
mov eax, ebx
call fcn.004d92b0
cmp dword [ebx + 0x234], 0
je 0x4ce59d
mov edx, dword [ebx + 0x254]
mov eax, dword [ebx + 0x234]
call fcn.004dfea8
cmp byte [ebx + 0x95], 0
je 0x4ce5d5
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
je 0x4ce5c1
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x30], 0
jne 0x4ce5d5
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0xc]
cmp byte [eax + 6], 0
jne 0x4ce5d9
xor eax, eax
jmp 0x4ce5db
mov al, 1
mov byte [ebx + 0x22f], al
mov byte [esp + 0x11], 0
cmp byte [ebx + 0x22f], 0
je 0x4ce6c0
mov dl, 1
mov eax, dword [ebx + 0x50]
call fcn.00519880
mov byte [ebx + 0x22c], 1
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
mov cl, 1
mov dl, 1
call fcn.004ccd1c
mov byte [esp + 0x11], al
mov dword [esp + 4], 0xff
cmp byte [esp + 0x11], 0
je 0x4ce63d
xor edx, edx
mov eax, ebx
call fcn.004c9b8c
mov byte [ebx + 0x23c], 0
jmp 0x4ce65b
mov eax, dword [ebx + 0x254]
movzx eax, byte [eax + 0x2e1]
mov dword [esp + 4], eax
xor edx, edx
mov eax, dword [ebx + 0x254]
call fcn.0046c498
mov eax, dword [ebx + 0x254]
call fcn.00479954
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4ce6ca
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x254]
call fcn.00479918
cmp byte [eax + 0x57], 0
je 0x4ce6ba
mov edx, edi
mov eax, dword [ebx + 0x254]
call fcn.00479918
mov edx, dword [0x6ed0c4]
call fcn.00404018
test al, al
jne 0x4ce6ba
push 0
mov edx, edi
mov eax, dword [ebx + 0x254]
call fcn.00479918
xor ecx, ecx
mov edx, 0xb
call fcn.004774dc
inc edi
dec ebp
jne 0x4ce670
jmp 0x4ce6ca
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.00519880
mov eax, dword [ebx + 0x50]
call fcn.00519300
call fcn.0052bfb4
mov edx, eax
mov eax, ebx
call fcn.004dad48
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.00519884
test al, al
jne 0x4ce7a9
cmp byte [ebx + 0x22f], 0
je 0x4ce7a9
mov eax, dword [ebx + 0x254]
call fcn.00479954
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4ce757
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x254]
call fcn.00479918
cmp byte [eax + 0x57], 0
je 0x4ce753
push 0
mov edx, edi
mov eax, dword [ebx + 0x254]
call fcn.00479918
mov ecx, 1
mov edx, 0xb
call fcn.004774dc
inc edi
dec ebp
jne 0x4ce722
push 0xffffffffffffffec
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowLongA
push 0x81
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
mov byte [ebx + 0x23c], 0
jmp case.0x4cdb1f.0
lea edx, [ebx + 0x230]
xor ecx, ecx
mov eax, ebx
call fcn.004c9ec8
cmp byte [ebx + 0x22f], 0
je 0x4ce873
mov eax, dword [ebx + 0x254]
call fcn.00479954
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4ce80f
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x254]
call fcn.00479918
cmp byte [eax + 0x57], 0
je 0x4ce80b
push 0
mov edx, edi
mov eax, dword [ebx + 0x254]
call fcn.00479918
mov ecx, 1
mov edx, 0xb
call fcn.004774dc
inc edi
dec ebp
jne 0x4ce7da
cmp byte [esp + 0x11], 0
je 0x4ce82a
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
mov cl, 1
xor edx, edx
call fcn.004ccd1c
mov byte [ebx + 0x22f], 0
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0xc]
movzx edi, word [eax + 4]
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
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.004b8a18
mov byte [ebx + 0x23c], 0
jmp 0x4ce88d
push 0x81
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 2
jne case.0x4cdb1f.0
mov al, 1
call fcn.004ccb90
jmp case.0x4cdb1f.0
cmp dword [ebx + 0x270], 0
je 0x4ce90f
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4ce904
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x10]
movzx eax, word [eax + 4]
mov ecx, 0xc
xor edx, edx
div ecx
test eax, eax
je 0x4ce904
cmp byte [ebx + 0x95], 0
jne 0x4ce90f
lea eax, [ebx + 0x270]
call fcn.0040fee4
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
call fcn.004c9164
test al, al
je 0x4ce95f
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x1a6], 0
je 0x4ce95f
push 0
push 1
push 0xb
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
call fcn.004c9164
test al, al
je case.0x4cdb1f.0
push 0x181
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
je 0x4ceacb
cmp dword [esi + 4], 1
jne 0x4cea34
cmp dword [ebx + 0x270], 0
je 0x4ce9c2
mov eax, dword [ebx + 0x270]
mov byte [eax + 0x28], 0
mov eax, dword [ebx + 0x238]
and eax, 0x400
cmp eax, 0x400
jne 0x4ce9e0
mov dword [ebx + 0x238], 0x400
jmp 0x4ce9e8
xor eax, eax
mov dword [ebx + 0x238], eax
call fcn.004c9164
test al, al
je 0x4cea34
mov eax, dword [0x724a68]
cmp byte [eax], 0
jne 0x4cea34
push 0xffffffffffffffec
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4cea34
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [esi + 8]
dec eax
je 0x4cea44
sub eax, 2
je 0x4cea92
jmp 0x4ceacb
cmp byte [ebx + 0x22d], 0
je 0x4ceacb
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4cea6b
mov byte [ebx + 0x22d], 2
jmp 0x4ceacb
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4cea89
mov byte [ebx + 0x22d], 3
jmp 0x4ceacb
mov byte [ebx + 0x22d], 1
jmp 0x4ceacb
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4ceacb
mov eax, dword [0x724f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x254]
jne 0x4ceacb
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
cmp dword [esi + 4], 1
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
jne 0x4ceb0d
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 2
jne 0x4ceb0d
mov eax, dword [0x725068]
mov eax, dword [eax]
call fcn.004d8c00
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
jne 0x4ceb6e
mov eax, dword [ebx + 0x254]
call fcn.00469120
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4ceb6e
inc ebp
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x254]
call fcn.0046916c
call fcn.0047cd04
mov edx, 7
call fcn.004bbf58
test al, al
jne 0x4ceb6a
mov edx, edi
mov eax, dword [ebx + 0x254]
call fcn.0046916c
call fcn.0047cd04
xor edx, edx
call fcn.004bd4b4
inc edi
dec ebp
jne 0x4ceb31
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x30], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
and word [eax + 0x4a], 0xfffe
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
call fcn.0047d008
test al, al
je 0x4ced0f
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ced0f
mov eax, dword [ebx + 0x254]
test byte [eax + 0x54], 0x40
jne 0x4ced0f
cmp byte [ebx + 0x78], 0
je 0x4ced0f
cmp dword [ebx + 0xcc], 0
je 0x4cec00
lea eax, [ebx + 0xcc]
call fcn.0040fee4
cmp dword [ebx + 0xd0], 0
je 0x4cec14
lea eax, [ebx + 0xd0]
call fcn.0040fee4
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
jne 0x4cec6d
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 2
jne 0x4cec6d
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x35], 1
mov eax, dword [0x725068]
mov eax, dword [eax]
xor edx, edx
call fcn.004c9654
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [0x725068]
mov eax, dword [eax]
call fcn.004c9968
jmp 0x4cecee
call fcn.004c9164
test al, al
jne 0x4cecb7
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
xor edx, edx
mov eax, ebx
call fcn.004c9654
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, ebx
call fcn.004c9968
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
jmp 0x4cecee
cmp dword [ebx + 0x270], 0
jne 0x4cecc9
xor edx, edx
mov eax, ebx
call fcn.004c9654
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, ebx
call fcn.004c9fcc
cmp dword [ebx + 0x270], 0
jne 0x4cecee
mov eax, ebx
call fcn.004c9968
cmp dword [ebx + 0x270], 0
je case.0x4cdb1f.0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x270]
call fcn.004e2d54
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
cmp byte [ebx + 0x78], 0
je case.0x4cdb1f.0
mov esi, dword [ebx + 0x270]
test esi, esi
je 0x4ced5f
cmp dword [esi + 0x18], 0
je 0x4ced5f
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x50]
mov edx, eax
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, ebx
call fcn.004d8308
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, ebx
call fcn.004d8308
mov eax, dword [0x725068]
cmp dword [eax], 0
je case.0x4cdb1f.0
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
call fcn.004690ec
test eax, eax
je case.0x4cdb1f.0
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
call fcn.004690ec
cmp byte [eax + 0x22b], 2
jne 0x4cee0e
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x248]
call fcn.004c63e8
jmp case.0x4cdb1f.0
mov dl, 1
mov eax, ebx
call fcn.004da73c
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4cf6ec
mov eax, ebx
call fcn.004c9264
test al, al
je 0x4cefe6
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov edi, dword [eax + 0x18c]
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov edx, edi
call fcn.00523ddc
test al, al
je 0x4cefe6
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0xd4]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8]
call fcn.00551058
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0xd4]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8]
call fcn.00551090
mov edi, eax
lea eax, [ebx + 0x204]
xor edx, edx
call fcn.0055035c
mov ebp, eax
mov eax, dword [ebx + 0x254]
call fcn.00475d04
cmp ebp, eax
jl 0x4ceed9
lea eax, [ebx + 0x204]
xor edx, edx
call fcn.00550370
mov ebp, eax
mov eax, dword [ebx + 0x254]
call fcn.00475d48
cmp ebp, eax
jge 0x4cef44
mov eax, dword [ebx + 0x50]
call fcn.0051760c
test al, al
jne 0x4cef44
lea eax, [ebx + 0x204]
xor edx, edx
call fcn.0055035c
test eax, eax
je 0x4cef44
mov eax, dword [ebx + 0x210]
push eax
lea eax, [esp + 0x38]
push eax
mov edx, dword [ebx + 0x210]
sub edx, edi
mov eax, dword [ebx + 0x20c]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x20c]
call fcn.0040751c
mov eax, dword [ebx + 0x50]
call fcn.0051760c
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_InvalidateRect
lea eax, [ebx + 0x204]
xor edx, edx
call fcn.0055035c
mov ebp, eax
mov eax, dword [ebx + 0x254]
call fcn.00475d04
cmp ebp, eax
jg 0x4cef80
lea eax, [ebx + 0x204]
xor edx, edx
call fcn.00550370
mov ebp, eax
mov eax, dword [ebx + 0x254]
call fcn.00475d48
cmp ebp, eax
jle 0x4cefe6
mov eax, dword [ebx + 0x254]
call fcn.00475d48
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [ebx + 0x254]
call fcn.00475d04
push eax
mov eax, dword [ebx + 0x254]
call fcn.00475d48
sub eax, edi
push eax
mov eax, dword [ebx + 0x254]
call fcn.00475d04
sub eax, dword [esp + 0x14]
pop edx
pop ecx
call fcn.0040751c
mov eax, dword [ebx + 0x50]
call fcn.0051760c
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_InvalidateRect
lea eax, [ebx + 0x204]
xor edx, edx
call fcn.0055035c
mov edi, eax
mov eax, dword [ebx + 0x254]
call fcn.00475d04
cmp edi, eax
jg 0x4cf037
lea eax, [ebx + 0x204]
xor edx, edx
call fcn.00550370
mov edi, eax
mov eax, dword [ebx + 0x254]
call fcn.00475d48
cmp edi, eax
jg 0x4cf037
lea eax, [ebx + 0x204]
xor edx, edx
call fcn.0055035c
test eax, eax
jne 0x4cf1a5
push 0x4d2c20
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov edx, dword [ebx + 0x50]
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x28]
call fcn.0052a2d8
mov edi, eax
cmp edi, 0xffffffff
jle 0x4cf0ee
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0xd4]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8]
call fcn.00551058
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0xd4]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8]
call fcn.00551090
mov edi, eax
mov eax, dword [ebx + 0x210]
push eax
lea eax, [esp + 0x38]
push eax
mov edx, dword [ebx + 0x210]
sub edx, edi
mov eax, dword [ebx + 0x20c]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x20c]
call fcn.0040751c
mov eax, dword [ebx + 0x50]
call fcn.0051760c
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_InvalidateRect
push 0x4d2c34
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov edx, dword [ebx + 0x50]
mov ecx, dword [edx + 4]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x28]
call fcn.0052a2d8
mov edi, eax
cmp edi, 0xffffffff
jle 0x4cf1a5
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0xd4]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8]
call fcn.00551058
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0xd4]
mov edx, edi
shl edx, 3
sub edx, edi
lea eax, [eax + edx*8]
call fcn.00551090
mov edi, eax
mov eax, dword [ebx + 0x210]
push eax
lea eax, [esp + 0x38]
push eax
mov edx, dword [ebx + 0x210]
sub edx, edi
mov eax, dword [ebx + 0x20c]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x20c]
call fcn.0040751c
mov eax, dword [ebx + 0x50]
call fcn.0051760c
xor al, 1
neg al
sbb eax, eax
push eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_InvalidateRect
cmp dword [ebx + 0xcc], 0
je 0x4cf1b9
lea eax, [ebx + 0xcc]
call fcn.0040fee4
cmp dword [ebx + 0xd0], 0
je 0x4cf1cd
lea eax, [ebx + 0xd0]
call fcn.0040fee4
mov dword [ebx + 0x258], 0xffffffff
mov eax, dword [ebx + 0x238]
and eax, 0x80
cmp eax, 0x80
jne 0x4cf1f0
mov eax, ebx
call fcn.004c85cc
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x30], 0
jne 0x4cf223
cmp byte [ebx + 0xa6], 0
je 0x4cf223
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 1
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
jmp 0x4cf231
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [0x724a68]
cmp byte [eax], 0
jne 0x4cf6ac
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x1a6], 0
je 0x4cf6a5
mov eax, ebx
call fcn.004d7e6c
test al, al
je 0x4cf60b
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4cf283
cmp byte [ebx + 0x22a], 0
jne 0x4cf60b
mov byte [ebx + 0x34], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x40], 0
je 0x4cf2db
mov eax, dword [ebx + 0x50]
call fcn.0051760c
test al, al
je 0x4cf2cf
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebx + 0x254]
cmp eax, dword [edx + 0x48]
jg 0x4cf2d3
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebx + 0x254]
cmp eax, dword [edx + 0x4c]
jg 0x4cf2d3
xor eax, eax
jmp 0x4cf2d5
mov al, 1
mov byte [esp + 0x10], al
jmp 0x4cf2e0
mov byte [esp + 0x10], 0
cmp byte [ebx + 0x78], 0
je 0x4cf5af
mov eax, dword [0x72497c]
cmp byte [eax], 0
je 0x4cf317
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 2
jne 0x4cf317
cmp dword [ebx + 0x270], 0
je 0x4cf317
lea eax, [ebx + 0x270]
call fcn.0040fee4
mov eax, dword [ebx + 0x270]
test eax, eax
je 0x4cf3ca
cmp dword [eax + 0x18], 0
jne 0x4cf330
call fcn.004e3f44
cmp dword [ebx + 0x230], 0
je 0x4cf357
mov eax, dword [ebx + 0x230]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 0x24], 0
jne 0x4cf364
mov eax, dword [ebx + 0x230]
mov eax, dword [eax + 0x78]
cmp byte [eax + 0x24], 0
jne 0x4cf364
cmp byte [ebx + 0x54], 0
jne 0x4cf364
or dword [ebx + 0x238], 1
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x270]
call fcn.004e2d54
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 1
and dword [ebx + 0x238], 0xfffffffe
mov eax, dword [ebx + 0x270]
mov byte [eax + 0x28], 1
push 0x61b
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebx + 0x270]
mov byte [eax + 0x28], 0
mov dl, 1
mov eax, ebx
call fcn.004c9b8c
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
jmp 0x4cf3da
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004db498
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x4c]
and ax, 2
cmp ax, 2
jne 0x4cf416
lea eax, [ebx + 0x204]
xor edx, edx
call fcn.00550370
mov esi, eax
mov eax, dword [ebx + 0x254]
call fcn.00475d48
cmp esi, eax
jne 0x4cf445
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x4c]
and ax, 1
cmp ax, 1
jne 0x4cf476
lea eax, [ebx + 0x204]
xor edx, edx
call fcn.0055035c
mov esi, eax
mov eax, dword [ebx + 0x254]
call fcn.00475d04
cmp esi, eax
je 0x4cf476
push 0
lea eax, [esp + 0x18]
push eax
mov dx, 0x14
mov ax, 1
call fcn.00408648
mov edx, eax
xor ecx, ecx
mov eax, 0xa100
call fcn.0055014c
lea edx, [esp + 0x14]
mov eax, dword [ebx + 0x254]
call fcn.004bc05c
cmp dword [ebx + 0x270], 0
je 0x4cf588
mov eax, dword [ebx + 0x230]
test eax, eax
je 0x4cf4bf
cmp dword [eax + 0x7c], 0
je 0x4cf4bf
cmp dword [eax + 0x78], 0
je 0x4cf4bf
mov eax, dword [ebx + 0x230]
mov eax, dword [eax + 0x7c]
cmp byte [eax + 0x24], 0
jne 0x4cf588
mov eax, dword [ebx + 0x230]
mov eax, dword [eax + 0x78]
cmp byte [eax + 0x24], 0
jne 0x4cf588
mov eax, dword [ebx + 0x270]
cmp dword [eax + 0x18], 0
jne 0x4cf4d6
mov eax, dword [ebx + 0x270]
call fcn.004e3f44
push 0x101
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
cmp dword [ebx + 0x270], 0
je 0x4cf57d
mov eax, dword [ebx + 0x270]
cmp dword [eax + 0x18], 0
je 0x4cf57d
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowPos
cmp dword [ebx + 0x270], 0
je 0x4cf571
mov eax, dword [ebx + 0x270]
cmp dword [eax + 0x18], 0
je 0x4cf571
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x270]
call fcn.004e3ddc
push eax
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebx + 0x270]
mov byte [eax + 0x28], 0
jmp 0x4cf5a2
xor edx, edx
mov eax, ebx
call fcn.004c9b8c
jmp 0x4cf5a2
push 0x921
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebx + 0x254]
call fcn.004bb4d8
jmp 0x4cf5cb
cmp byte [esp + 0x10], 0
je 0x4cf5cb
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_InvalidateRect
mov eax, dword [ebx + 0x254]
call fcn.00475d48
push eax
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x254]
call fcn.00475d04
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040751c
lea esi, [esp + 0x94]
lea edi, [ebx + 0x204]
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.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
jne 0x4cf626
mov eax, dword [ebx + 0x50]
call fcn.0051760c
test al, al
jne 0x4cf635
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
jne 0x4cf647
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, ebx
call fcn.004db498
jmp 0x4cf6ac
mov eax, dword [esi + 4]
sub eax, 2
jne 0x4cf6ac
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
jne 0x4cf6ac
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 2
jne 0x4cf6ac
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x35], 1
mov eax, dword [0x725068]
mov eax, dword [eax]
mov byte [eax + 0x23e], 1
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4cf6ac
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov eax, dword [ebx + 0x254]
call fcn.00475d48
push eax
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x254]
call fcn.00475d04
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040751c
lea esi, [esp + 0x94]
lea edi, [ebx + 0x204]
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.0x4cdb1f.0
mov byte [ebx + 0x34], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov eax, ebx
call fcn.004daf70
xor eax, eax
call fcn.004f2724
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
jne 0x4cf873
cmp byte [ebx + 0x22b], 0
jne 0x4cf873
mov eax, dword [ebx + 0x254]
call fcn.004690ec
test eax, eax
je 0x4cf873
mov eax, dword [ebx + 0x254]
call fcn.004690ec
cmp byte [eax + 0x22b], 2
jne 0x4cf873
mov byte [ebx + 0x22b], 1
cmp dword [0x6f1308], 0
jne 0x4cf79f
mov ecx, dword [0x724f40]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x464954]
call fcn.00467754
mov dword [0x6f1308], eax
mov eax, dword [0x6f1308]
mov dword [eax + 0xc], 0xffffff9e
xor edx, edx
mov eax, dword [0x6f1308]
call fcn.004685a8
mov edx, 0x4d2c48
mov eax, dword [0x6f1308]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [0x6f1308]
mov dword [eax + 0x2bc], ebx
mov dword [eax + 0x2b8], 0x4d98a4
xor edx, edx
mov eax, dword [0x6f1308]
call fcn.0046901c
push 0x58
push 0xf
call sub.user32.dll_GetSystemMetrics
dec eax
add eax, 4
push eax
push 0x3c
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
xor ecx, ecx
mov edx, dword [ebx + 0x270]
call fcn.004c8f00
mov edi, eax
mov eax, dword [ebx + 0x254]
call fcn.004c8f68
mov edx, dword [ebx + 0x254]
add eax, dword [edx + 0x44]
add edi, eax
push edi
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
xor ecx, ecx
mov edx, dword [ebx + 0x270]
call fcn.004c8f00
push eax
lea edx, [esp + 0xa8]
mov eax, dword [ebx + 0x254]
call fcn.00475ca0
mov eax, dword [esp + 0xb0]
sub eax, 0x3c
pop edx
sub eax, edx
push eax
push 0
mov eax, dword [0x6f1308]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowPos
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov byte [ebx + 0x22b], 0
cmp dword [0x6f1308], 0
je 0x4cf8a0
mov eax, 0x6f1308
call fcn.0040fee4
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
cmp byte [ebx + 0x228], 0
je 0x4cf8ca
mov byte [ebx + 0x228], 0
mov eax, ebx
call fcn.004db298
mov dl, 1
mov eax, ebx
call fcn.004caa44
test eax, eax
je 0x4cf8dd
cmp byte [ebx + 0x78], 0
jne 0x4cf8f0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, ebx
call fcn.004cc378
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
add eax, 0xfffffff8
sub eax, 2
jb 0x4cf90c
sub eax, 0xa
jne 0x4cf924
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
jne 0x4cf924
mov dl, 1
mov eax, ebx
call fcn.004da73c
mov eax, dword [esi + 0xc]
sub eax, 3
jb 0x4cf93d
sub eax, 2
je 0x4cf93d
add eax, 0xfffffffb
sub eax, 8
jae 0x4cfa79
mov eax, ebx
call fcn.004c9264
test al, al
je 0x4cfa66
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov edi, dword [eax + 0x18c]
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov edx, edi
call fcn.00523ddc
test al, al
je 0x4cfa66
lea eax, [esp + 8]
push eax
movsx ecx, word [esi + 0xa]
movsx edx, word [esi + 8]
mov eax, ebx
call fcn.004d7978
cmp dword [ebx + 0x270], 0
je 0x4cfa20
lea ecx, [esp + 0x84]
mov edx, edi
mov eax, ebx
call fcn.004d847c
mov ebp, dword [esp + 0x88]
mov eax, dword [ebx + 0x270]
call fcn.004c902c
sub ebp, eax
lea edx, [esp + 0x94]
mov eax, ebx
call fcn.004daf38
sub ebp, dword [esp + 0x98]
cmp ebp, dword [esp + 0xc]
jge 0x4cfa66
lea ecx, [esp + 0x8c]
mov edx, edi
mov eax, ebx
call fcn.004d847c
mov edi, dword [esp + 0x8c]
mov eax, dword [ebx + 0x270]
call fcn.004c9068
sub edi, eax
lea edx, [esp + 0xa4]
mov eax, ebx
call fcn.004daf38
sub edi, dword [esp + 0xa4]
cmp edi, dword [esp + 8]
jge 0x4cfa66
mov dword [esi + 0xc], 0x11
jmp case.0x4cdb1f.0
lea ecx, [esp + 0x84]
mov edx, edi
mov eax, ebx
call fcn.004d847c
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0xc]
jge 0x4cfa66
lea ecx, [esp + 0x8c]
mov edx, edi
mov eax, ebx
call fcn.004d847c
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 8]
jge 0x4cfa66
mov dword [esi + 0xc], 0x11
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
cmp byte [ebx + 0x54], 1
jne case.0x4cdb1f.0
cmp dword [0x726e5c], 0
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4cdb1f.0
mov eax, dword [esi + 0xc]
sub eax, 2
je 0x4cfab7
add eax, 0xfffffff8
sub eax, 8
jae case.0x4cdb1f.0
mov eax, dword [esi + 0xc]
mov dword [0x726e5c], eax
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
cmp dword [ebx + 0x270], 0
je case.0x4cdb1f.0
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x270]
call fcn.004e2d54
jmp case.0x4cdb1f.0
cmp dword [ebx + 0x38], 0x7d0
jl 0x4cfb05
cmp dword [ebx + 0x270], 0
jne 0x4cfb11
mov cl, 1
or edx, 0xffffffff
mov eax, ebx
call fcn.004d3eb8
mov byte [0x6f12fc], 0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
mov eax, dword [ebx + 0x50]
call fcn.00519300
pop edx
call fcn.0052b4d4
mov eax, dword [ebx + 0x270]
test eax, eax
je case.0x4cdb1f.0
cmp byte [eax + 0x38], 0
je case.0x4cdb1f.0
mov edx, dword [ebx + 0x238]
and edx, 1
cmp edx, 1
je case.0x4cdb1f.0
call fcn.004e3fc8
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
je case.0x4cdb1f.0
mov eax, ebx
call fcn.004d932c
jmp case.0x4cdb1f.0
cmp byte [ebx + 0x78], 0
je 0x4d011c
cmp dword [ebx + 0x270], 0
je 0x4cfbe0
cmp dword [esi + 4], 0x13
jne 0x4cfbe0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
cmp dword [ebx + 0x270], 0
je 0x4cfbff
cmp dword [esi + 4], 0xffffffff
jne 0x4cfbff
mov edx, esi
mov eax, dword [ebx + 0x270]
call fcn.004e2020
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 8
jge 0x4cfc1a
sub eax, 3
je 0x4cfc9d
sub eax, 2
je 0x4cfc8a
jmp 0x4cfddb
add eax, 0xfffffff8
sub eax, 2
jb 0x4cfc36
add eax, 0xfffffff6
sub eax, 2
jb 0x4cfc36
add eax, 0xffffffb1
sub eax, 3
jae 0x4cfddb
cmp dword [0x6f1304], 0
je 0x4cfc7b
cmp dword [esi + 4], 0x67
jne 0x4cfc5d
mov eax, dword [0x6f1304]
mov eax, dword [eax + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x54]
test al, al
je case.0x4cdb1f.0
cmp dword [esi + 4], 0x66
jne 0x4cfc7b
mov eax, dword [0x6f1304]
mov eax, dword [eax + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
je case.0x4cdb1f.0
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004d4318
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
xor eax, eax
mov dword [esi + 0xc], eax
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
cmp dword [esi + 0xc], 0
jne case.0x4cdb1f.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004d3eb8
mov byte [0x6f12fc], 0
mov eax, dword [ebx + 0x50]
call fcn.00519300
cmp byte [eax + 0x58], 0
jne 0x4cfcf1
mov eax, 0xc8
call fcn.0055087c
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
jne 0x4cfd53
mov eax, dword [0x725068]
cmp dword [eax], 0
je case.0x4cdb1f.0
lea edx, [esp + 8]
mov eax, ebx
call fcn.004d7520
mov eax, dword [ebx + 0x254]
call fcn.004c8f68
add eax, dword [esp + 0xc]
add eax, 4
push eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
shl eax, 4
pop ecx
sub ecx, eax
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004d762c
jmp case.0x4cdb1f.0
lea edx, [esp + 0x84]
mov eax, ebx
call fcn.004d7520
mov esi, dword [esp + 0x88]
mov dl, 1
mov eax, ebx
call fcn.004ca89c
add esi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.00550370
add esi, eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
xor ecx, ecx
mov edx, dword [ebx + 0x270]
call fcn.004c8f54
add esi, eax
push esi
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
xor ecx, ecx
mov edx, dword [ebx + 0x270]
call fcn.004c8f00
mov esi, eax
lea edx, [esp + 0x90]
mov eax, ebx
call fcn.004d7520
add esi, dword [esp + 0x90]
mov edx, esi
mov eax, ebx
pop ecx
call fcn.004d762c
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x48]
call fcn.0041e7f0
mov ecx, eax
add ecx, 0x3e8
dec ecx
mov eax, dword [esi + 4]
mov edx, 0x3e8
call fcn.005501a0
test al, al
je 0x4cfe3d
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004d4318
mov al, byte [0x4d2c54]
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.004df734
mov edx, dword [esi + 4]
sub edx, 0x3e8
xor ecx, ecx
call fcn.004df8ac
jmp case.0x4cdb1f.0
mov eax, dword [esi + 4]
mov ecx, 0x8cf
mov edx, 0x7d0
call fcn.005501a0
test al, al
je 0x4cfeba
cmp dword [ebx + 0xb8], 0
je case.0x4cdb1f.0
mov edx, dword [esi + 4]
sub edx, 0x7d0
mov eax, dword [ebx + 0xb8]
mov eax, dword [eax + 0x38]
call fcn.00499a30
cmp byte [eax + 0x30], 2
je 0x4cfe87
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004d4318
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 + 0xb8]
mov eax, dword [eax + 0x38]
call fcn.00499a30
mov cl, byte [0x4d2c54]
xor edx, edx
call fcn.00499244
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4cfeeb
push 0
mov ecx, 0xf012
mov edx, 0x112
mov eax, dword [ebx + 0x254]
call fcn.004774dc
jmp case.0x4cdb1f.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004d3eb8
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 2
jne 0x4cff4e
lea eax, [esp + 0x84]
push eax
movsx ecx, word [esi + 0xa]
xor edx, edx
mov eax, ebx
call fcn.004d7978
mov edi, dword [esp + 0x88]
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
mov cl, 1
mov edx, dword [ebx + 0x270]
call fcn.004c8f54
mov ebp, eax
mov dl, 1
mov eax, ebx
call fcn.004caa44
add ebp, eax
cmp edi, ebp
jle 0x4d00e3
push 0
lea eax, [esp + 0x15]
push eax
push 0
push 0x26
call sub.user32.dll_SystemParametersInfoA
cmp byte [esp + 0x11], 0
je 0x4d00d0
cmp byte [ebx + 0x54], 1
jne 0x4d002a
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4d002a
mov eax, dword [esi + 4]
sub eax, 5
je 0x4d002a
mov eax, dword [esi + 4]
sub eax, 2
je 0x4cff9f
sub eax, 3
jne 0x4cffad
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [esi + 4]
add eax, 0xfffffff6
sub eax, 8
setb al
xor al, 1
mov byte [0x726e38], al
lea ecx, [esp + 8]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.00407538
cmp byte [0x726e38], 0
je 0x4cfff9
push 0
push 0xf010
push 0x112
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
jmp 0x4d0016
push 0
push 0xf000
push 0x112
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004d87a8
jmp case.0x4cdb1f.0
cmp dword [esi + 4], 2
jne 0x4d00bd
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
je 0x4d00bd
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x24]
cmp byte [eax + 6], 0
je 0x4d00bd
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4d00bd
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x24]
cmp byte [eax + 8], 0xff
je 0x4d00bd
cmp byte [ebx + 0x94], 0
je 0x4d00bd
cmp byte [ebx + 0x24c], 0
jne 0x4d00a0
mov byte [ebx + 0x24c], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SetFocus
mov eax, ebx
call fcn.004c88d8
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22e], 0
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0xc4]
jmp case.0x4cdb1f.0
mov eax, dword [esi + 4]
sub eax, 3
jne 0x4d020c
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004d3eb8
mov byte [0x6f12fc], 0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
jne 0x4d0184
mov eax, dword [0x725068]
cmp dword [eax], 0
je case.0x4cdb1f.0
lea edx, [esp + 8]
mov eax, ebx
call fcn.004d7520
mov dl, 1
mov eax, ebx
call fcn.004caa44
mov ecx, eax
add ecx, dword [esp + 0xc]
add ecx, 4
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004d762c
jmp case.0x4cdb1f.0
lea edx, [esp + 0x84]
mov eax, ebx
call fcn.004d7520
mov esi, dword [esp + 0x88]
mov dl, 1
mov eax, ebx
call fcn.004ca89c
add esi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.00550370
add esi, eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
xor ecx, ecx
mov edx, dword [ebx + 0x270]
call fcn.004c8f54
add esi, eax
push esi
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
mov cl, 1
mov edx, dword [ebx + 0x270]
call fcn.004c8f00
mov esi, eax
lea edx, [esp + 0x90]
mov eax, ebx
call fcn.004d7520
add esi, dword [esp + 0x90]
mov edx, esi
mov eax, ebx
pop ecx
call fcn.004d762c
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
cmp dword [esi + 4], 0x2f
jne 0x4d0280
cmp dword [ebx + 0x224], 0
je 0x4d0280
mov eax, dword [ebx + 0x224]
mov edx, dword [0x4c78b8]
call fcn.00404018
test al, al
je 0x4d0280
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov edi, dword [ebx + 0x224]
mov eax, edi
call fcn.004e600c
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 + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [0x724dec]
cmp dword [eax], 0
je 0x4d02c6
mov eax, dword [0x724dec]
mov eax, dword [eax]
test byte [eax + 0x1c], 0x10
jne 0x4d02c6
mov eax, dword [0x724dec]
mov eax, dword [eax]
xor edx, edx
call fcn.0052b4d4
cmp byte [ebx + 0x54], 1
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je case.0x4cdb1f.0
lea ecx, [esp + 0x84]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.00407538
lea edx, [esp + 0x84]
lea ecx, [esp + 8]
mov eax, dword [ebx + 0x254]
call fcn.00475e18
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
mov edi, dword [esp + 0xc]
cmp byte [0x726e38], 0
je 0x4d0397
cmp byte [0x6f12ec], 0
je 0x4d0332
mov byte [0x6f12ec], 0
cmp byte [0x6f12e8], 0
je case.0x4cdb1f.0
mov ecx, dword [0x726e44]
mov edx, dword [0x726e48]
mov eax, ebx
call fcn.004d89a8
mov eax, dword [esp + 4]
sub eax, dword [0x726e54]
add dword [0x726e48], eax
mov eax, edi
sub eax, dword [0x726e58]
add dword [0x726e44], eax
mov dword [0x726e58], edi
mov eax, dword [esp + 4]
mov dword [0x726e54], eax
mov ecx, dword [0x726e44]
mov edx, dword [0x726e48]
mov eax, ebx
call fcn.004d89a8
jmp case.0x4cdb1f.0
cmp byte [0x6f12ec], 0
je 0x4d03b6
mov eax, dword [esp + 4]
mov dword [0x726e54], eax
mov dword [0x726e58], edi
mov byte [0x6f12ec], 0
cmp byte [0x6f12e8], 0
je case.0x4cdb1f.0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004d89a8
mov eax, dword [0x726e5c]
add eax, 0xfffffff6
cmp eax, 6
ja case.default.0x4d03df
jmp dword [eax*4 + 0x4d03e6]
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x40]
add eax, dword [esp + 4]
sub eax, dword [0x726e54]
mov dword [0x726e48], eax
mov eax, dword [0x726e50]
sub eax, dword [0x726e48]
cmp eax, dword [0x726e64]
jge 0x4d0747
mov eax, dword [0x726e50]
sub eax, dword [0x726e64]
mov dword [0x726e48], eax
jmp 0x4d0747
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x254]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x726e54]
mov dword [0x726e50], eax
mov eax, dword [0x726e50]
sub eax, dword [0x726e48]
cmp eax, dword [0x726e64]
jge 0x4d0747
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x40]
add eax, dword [0x726e64]
mov dword [0x726e50], eax
jmp 0x4d0747
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x254]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x726e58]
mov dword [0x726e4c], edi
mov eax, dword [0x726e4c]
sub eax, dword [0x726e44]
cmp eax, dword [0x726e60]
jge 0x4d0747
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x44]
add eax, dword [0x726e60]
mov dword [0x726e4c], eax
jmp 0x4d0747
mov eax, dword [ebx + 0x254]
add edi, dword [eax + 0x44]
sub edi, dword [0x726e58]
mov dword [0x726e44], edi
mov eax, dword [0x726e4c]
sub eax, dword [0x726e44]
cmp eax, dword [0x726e60]
jge 0x4d0747
mov eax, dword [0x726e4c]
sub eax, dword [0x726e60]
mov dword [0x726e44], eax
jmp 0x4d0747
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x254]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x726e58]
mov dword [0x726e4c], edi
mov eax, dword [0x726e4c]
sub eax, dword [0x726e44]
cmp eax, dword [0x726e60]
jge 0x4d056f
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x44]
add eax, dword [0x726e60]
mov dword [0x726e4c], eax
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x40]
add eax, dword [esp + 4]
sub eax, dword [0x726e54]
mov dword [0x726e48], eax
mov eax, dword [0x726e50]
sub eax, dword [0x726e48]
cmp eax, dword [0x726e64]
jge 0x4d0747
mov eax, dword [0x726e50]
sub eax, dword [0x726e64]
mov dword [0x726e48], eax
jmp 0x4d0747
mov eax, dword [ebx + 0x254]
add edi, dword [eax + 0x44]
sub edi, dword [0x726e58]
mov dword [0x726e44], edi
mov eax, dword [0x726e4c]
sub eax, dword [0x726e44]
cmp eax, dword [0x726e60]
jge 0x4d05eb
mov eax, dword [0x726e4c]
sub eax, dword [0x726e60]
mov dword [0x726e44], eax
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x254]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x726e54]
mov dword [0x726e50], eax
mov eax, dword [0x726e50]
sub eax, dword [0x726e48]
cmp eax, dword [0x726e64]
jge 0x4d0747
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x40]
add eax, dword [0x726e64]
mov dword [0x726e50], eax
jmp 0x4d0747
mov eax, dword [ebx + 0x254]
add edi, dword [eax + 0x44]
sub edi, dword [0x726e58]
mov dword [0x726e44], edi
mov eax, dword [0x726e4c]
sub eax, dword [0x726e44]
cmp eax, dword [0x726e60]
jge 0x4d0674
mov eax, dword [0x726e4c]
sub eax, dword [0x726e60]
mov dword [0x726e44], eax
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x40]
add eax, dword [esp + 4]
sub eax, dword [0x726e54]
mov dword [0x726e48], eax
mov eax, dword [0x726e50]
sub eax, dword [0x726e48]
cmp eax, dword [0x726e64]
jge 0x4d0747
mov eax, dword [0x726e50]
sub eax, dword [0x726e64]
mov dword [0x726e48], eax
jmp 0x4d0747
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x44]
mov edx, dword [ebx + 0x254]
add eax, dword [edx + 0x4c]
add edi, eax
sub edi, dword [0x726e58]
mov dword [0x726e4c], edi
mov eax, dword [0x726e4c]
sub eax, dword [0x726e44]
cmp eax, dword [0x726e60]
jge 0x4d06ff
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x44]
add eax, dword [0x726e60]
mov dword [0x726e4c], eax
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x40]
mov edx, dword [ebx + 0x254]
add eax, dword [edx + 0x48]
add eax, dword [esp + 4]
sub eax, dword [0x726e54]
mov dword [0x726e50], eax
mov eax, dword [0x726e50]
sub eax, dword [0x726e48]
cmp eax, dword [0x726e64]
jge 0x4d0747
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x40]
add eax, dword [0x726e64]
mov dword [0x726e50], eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004d89a8
jmp case.0x4cdb1f.0
mov eax, dword [esi + 4]
add eax, 0xfffffffe
sub eax, 2
jb case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov eax, ebx
call fcn.004c9b44
test al, al
je 0x4d07e6
cmp dword [ebx + 0x270], 0
je 0x4d07a5
cmp dword [esi + 4], 0xffffffff
jne 0x4d07a5
mov edx, esi
mov eax, dword [ebx + 0x270]
call fcn.004e2020
mov dword [esi + 4], eax
jmp 0x4d07b1
mov edx, esi
mov eax, ebx
call fcn.004cc378
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
add eax, 0xfffffffe
sub eax, 2
jae case.0x4cdb1f.0
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004d3eb8
mov byte [0x6f12fc], 0
movsx ecx, word [esi + 0xa]
movsx edx, word [esi + 8]
mov eax, ebx
call fcn.004d762c
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, ebx
call fcn.004ddd54
jmp case.0x4cdb1f.0
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
cmp dword [ebx + 0x230], 0
je 0x4d0833
lea eax, [ebx + 0x230]
call fcn.0040fee4
mov eax, dword [ebx + 0x50]
call fcn.00519300
push eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
mov edx, 3
pop ecx
call fcn.004bbeb0
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
test byte [eax + 0x2f4], 1
jne 0x4d08b9
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x57], 0
je 0x4d08b9
mov eax, ebx
call fcn.004c92ac
test al, al
jne 0x4d08b9
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x4a]
and ax, 0x800
cmp ax, 0x800
je 0x4d08a6
mov dword [ebx + 0x258], 0xffffffff
mov byte [ebx + 0x23e], 1
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
test byte [ebx + 0x1c], 1
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
test byte [eax + 0x2f4], 1
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
test byte [eax + 0x1c], 8
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
xor ecx, ecx
mov dl, 1
call fcn.004c91f8
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
jne 0x4d0975
mov eax, dword [0x725068]
cmp dword [eax], 0
je 0x4d0975
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
call fcn.004690ec
test eax, eax
je 0x4d0975
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
call fcn.004690ec
cmp byte [eax + 0x22b], 2
jne 0x4d0975
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
call fcn.004690ec
cmp eax, dword [ebx + 0x254]
jne case.0x4cdb1f.0
cmp byte [ebx + 0xc5], 0
jne 0x4d0990
mov eax, ebx
call fcn.004d8308
test al, al
je 0x4d0990
mov byte [ebx + 0xc5], 1
mov eax, dword [esi + 8]
and eax, 8
cmp eax, 8
jne 0x4d09b3
mov eax, dword [esi + 8]
push eax
mov ecx, dword [esi + 4]
mov edx, 0x14
mov eax, ebx
call fcn.004db498
jmp case.0x4cdb1f.0
mov ebp, dword [esi + 4]
mov eax, dword [ebx + 0x50]
mov dword [eax + 0x50], ebp
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 0
cmp dword [ebx + 0x270], 0
je 0x4d0ac4
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x35], 0
je 0x4d09e0
mov eax, ebx
call fcn.004d5738
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
call fcn.0042f954
call fcn.0042ac50
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
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.004d7b3c
push eax
mov eax, ebx
call fcn.004d7aac
mov edx, eax
mov eax, ebp
pop ecx
call fcn.00474c3c
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_GetClientRect
lea eax, [esp + 0x34]
xor edx, edx
call fcn.00550370
push eax
lea eax, [esp + 0x38]
xor edx, edx
call fcn.0055035c
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
je 0x4d0cf5
lea ecx, [esp + 0x84]
xor edx, edx
xor eax, eax
call fcn.00407538
lea eax, [esp + 0x84]
push eax
push 0
mov eax, dword [ebx + 0x238]
and eax, 0x200
cmp eax, 0x200
sete al
xor al, 1
push eax
mov cl, 1
mov edx, dword [ebx + 0x254]
mov eax, ebp
call fcn.004bb72c
jmp 0x4d0cf5
cmp byte [ebx + 0x78], 0
je 0x4d0c07
mov eax, ebx
call fcn.004c9b44
test al, al
jne 0x4d0bfe
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
call fcn.004c9b2c
test al, al
je 0x4d0bfe
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x35], 0
je 0x4d0b05
mov eax, ebx
call fcn.004d5738
mov eax, dword [ebx + 0x254]
mov edi, dword [eax + 0x16c]
add edi, 3
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
call fcn.0042f954
call fcn.0042ac50
push eax
push edi
mov eax, dword [ebx + 0x254]
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 + 0x40]
call fcn.0042f954
call fcn.0042ac50
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
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 + 0x254]
mov eax, dword [eax + 0x4c]
sub eax, edi
push eax
push edi
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
call fcn.0042f954
call fcn.0042ac50
push eax
push edi
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x48]
sub eax, edi
push eax
mov eax, dword [ebx + 0x254]
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 + 0x40]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, edi
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
call fcn.0042f954
call fcn.0042ac50
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
push edi
push edi
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, edi
push eax
push ebp
call sub.gdi32.dll_BitBlt
jmp 0x4d0c07
mov edx, ebp
mov eax, ebx
call fcn.004d3664
mov eax, ebx
call fcn.004d7b3c
push eax
mov eax, ebx
call fcn.004d7aac
mov edx, eax
mov eax, ebp
pop ecx
call fcn.00474c3c
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_GetClientRect
lea eax, [esp + 0x34]
xor edx, edx
call fcn.00550370
push eax
lea eax, [esp + 0x38]
xor edx, edx
call fcn.0055035c
push eax
push 0
push 0
push ebp
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x4a]
and ax, 1
cmp ax, 1
je 0x4d0c76
mov cl, 1
mov edx, ebp
mov eax, ebx
call fcn.004d393c
jmp 0x4d0cf5
push ebp
call sub.gdi32.dll_SaveDC
mov dword [esp], eax
push 0
push 0
xor ecx, ecx
mov edx, dword [ebx + 0x254]
mov eax, ebp
call fcn.004eb280
mov cl, 1
mov edx, ebp
mov eax, ebx
call fcn.004d393c
mov eax, dword [esp]
push eax
push ebp
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
je 0x4d0cf5
lea ecx, [esp + 0x84]
xor edx, edx
xor eax, eax
call fcn.00407538
lea eax, [esp + 0x84]
push eax
push 0
mov eax, dword [ebx + 0x238]
and eax, 0x200
cmp eax, 0x200
sete al
xor al, 1
push eax
mov cl, 1
mov edx, dword [ebx + 0x254]
mov eax, ebp
call fcn.004bb72c
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
jne 0x4d0d1e
push 0
push ebp
push 0x317
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x254]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x50]
xor edx, edx
mov dword [eax + 0x50], edx
mov eax, dword [ebx + 0x254]
cmp word [eax + 0x2ba], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
call fcn.004692d4
mov edx, ebp
call fcn.0042acd0
mov esi, dword [ebx + 0x254]
mov edx, dword [ebx + 0x254]
mov eax, dword [esi + 0x2bc]
call dword [esi + 0x2b8]
mov eax, dword [ebx + 0x254]
call fcn.004692d4
xor edx, edx
call fcn.0042acd0
jmp case.0x4cdb1f.0
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4cdb1f.0
cmp dword [ebx + 0x25c], 0
jne 0x4d0d95
mov eax, ebx
call fcn.004d932c
cmp byte [ebx + 0x78], 0
je 0x4d0dfc
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x4a]
and ax, 0x800
cmp ax, 0x800
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x4a]
and ax, 0x400
cmp ax, 0x400
je case.0x4cdb1f.0
mov eax, ebx
call fcn.004c8ea4
test al, al
je 0x4d0de6
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x248]
cmp dword [eax + 0x38], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x238]
and eax, 0x200
cmp eax, 0x200
je case.0x4cdb1f.0
cmp byte [ebx + 0x228], 0
je 0x4d0e13
mov byte [ebx + 0x228], 0
mov eax, ebx
call fcn.004db298
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x30], 0
je 0x4d0e3a
mov eax, dword [ebx + 0x50]
call fcn.00519314
mov edx, dword [ebx + 0x50]
mov byte [edx + 0x1c], al
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4cdb1f.0
cmp byte [ebx + 0x78], 0
je 0x4d0f50
mov eax, dword [0x724a68]
cmp byte [eax], 0
je 0x4d0e61
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
je 0x4d0f50
cmp byte [ebx + 0x22f], 0
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x1a6], 0
je case.0x4cdb1f.0
test byte [ebx + 0x1c], 1
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
test byte [eax + 0x55], 2
jne case.0x4cdb1f.0
cmp dword [ebx + 0x25c], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4d0ec6
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
jmp 0x4d0f10
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_GetWindowRect
lea eax, [esp + 0x24]
xor edx, edx
call fcn.0055035c
mov edx, dword [ebx + 0x254]
cmp eax, dword [edx + 0x48]
jne case.0x4cdb1f.0
lea eax, [esp + 0x24]
xor edx, edx
call fcn.00550370
mov edx, dword [ebx + 0x254]
cmp eax, dword [edx + 0x4c]
jne case.0x4cdb1f.0
cmp dword [ebx + 0x234], 0
jne 0x4d0f20
mov eax, ebx
call fcn.004d97e0
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x40], 0
jne 0x4d0f3f
mov eax, dword [ebx + 0x50]
call fcn.00519300
call fcn.0052bfb4
mov edx, eax
mov eax, ebx
call fcn.004dad48
mov eax, ebx
call fcn.004d9dc0
xor eax, eax
mov dword [esi + 0xc], eax
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x1a6], 0
je 0x4d12d0
cmp byte [ebx + 0xa6], 0
je 0x4d12d0
mov eax, dword [ebx + 0x50]
mov ax, word [eax + 0x4a]
and ax, 0x800
cmp ax, 0x800
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
test byte [eax + 0x54], 0x80
jne 0x4d1217
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4d1217
mov eax, dword [ebx + 0x50]
call fcn.0051760c
test al, al
je 0x4d100b
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
jne 0x4d1143
mov eax, dword [ebx + 0x254]
call fcn.004690ec
test eax, eax
je 0x4d1143
mov eax, dword [ebx + 0x254]
call fcn.004690ec
cmp byte [eax + 0x22b], 2
jne 0x4d1143
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
jne 0x4d1107
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x40], 0
je 0x4d1107
mov eax, dword [0x725068]
cmp dword [eax], 0
je 0x4d1107
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_GetClientRect
lea edx, [esp + 0x94]
mov eax, dword [ebx + 0x254]
call fcn.00475ca0
lea edx, [esp + 0x94]
lea eax, [esp + 0x34]
call fcn.00407540
test al, al
je 0x4d1107
lea edx, [esp + 0x94]
mov eax, dword [ebx + 0x254]
call fcn.00475ca0
lea edx, [esp + 0x9c]
lea eax, [esp + 0x34]
call fcn.00407540
test al, al
je 0x4d1107
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
mov cl, 1
mov edx, dword [ebx + 0x270]
call fcn.004c8f54
mov edi, eax
mov dl, 1
mov eax, ebx
call fcn.004caa44
add edi, eax
mov eax, ebx
call fcn.004d7c30
mov ebp, eax
mov eax, ebx
call fcn.004d82ec
imul ebp, eax
add edi, ebp
inc edi
push edi
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
mov edx, dword [eax]
call dword [edx + 0x20]
pop edx
call fcn.00431d1c
mov edx, eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov edx, dword [esi + 4]
mov eax, ebx
call fcn.004d9b64
cmp byte [0x6f1300], 0
je 0x4d12c4
mov byte [0x6f1300], 0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
jne 0x4d12c4
mov dword [0x6f1304], ebx
jmp 0x4d12c4
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x1c], 0
jne 0x4d12c4
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x40], 0
je 0x4d1207
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x35], 0
jne 0x4d1207
mov eax, dword [ebx + 0x254]
call fcn.00475d48
push eax
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x254]
call fcn.00475d04
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040751c
lea eax, [esp + 0x94]
push eax
mov eax, dword [esi + 4]
push eax
push 0
push 0
push 0
mov eax, ebx
call fcn.004d7b3c
mov edi, eax
mov eax, dword [ebx + 0x254]
call fcn.00475d48
add edi, eax
push edi
lea eax, [esp + 0xbc]
push eax
mov eax, ebx
call fcn.004d7aac
mov edi, eax
mov eax, dword [ebx + 0x254]
call fcn.00475d04
add edi, eax
push edi
mov eax, ebx
call fcn.004d7b3c
push eax
mov eax, ebx
call fcn.004d7aac
pop edx
pop ecx
call fcn.0040751c
lea ecx, [esp + 0xb8]
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x254]
call fcn.0051ae04
mov eax, dword [ebx + 0x254]
call fcn.004bb4d8
jmp 0x4d12c4
cmp dword [esi + 4], 0
je 0x4d12c4
mov eax, dword [ebx + 0x50]
cmp byte [eax + 0x35], 0
jne 0x4d12c4
mov eax, dword [ebx + 0x50]
call fcn.0051760c
test al, al
je 0x4d1283
push 0xcc0020
mov eax, ebx
call fcn.004d7b3c
push eax
mov eax, ebx
call fcn.004d7aac
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
call fcn.0042f954
call fcn.0042ac50
push eax
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4d12c4
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x50]
call fcn.00517fbc
push eax
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x4c]
push eax
lea eax, [esp + 0x9c]
push eax
mov eax, dword [ebx + 0x254]
mov ecx, dword [eax + 0x48]
xor edx, edx
xor eax, eax
call fcn.0040751c
lea edx, [esp + 0x98]
mov eax, dword [esi + 4]
pop ecx
call fcn.004eafe4
mov dword [esi + 0xc], 1
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
cmp byte [ebx + 0xa6], 0
je 0x4d14b1
mov eax, dword [ebx + 0x254]
test byte [eax + 0x54], 0x80
jne case.0x4cdb1f.0
cmp dword [ebx + 0x270], 0
je 0x4d1347
mov eax, ebx
call fcn.004c92ac
test al, al
jne 0x4d1347
mov eax, dword [ebx + 0x270]
cmp dword [eax + 0x18], 0
je 0x4d1338
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047cd04
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4d1347
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x270]
call fcn.004e2d54
mov eax, dword [ebx + 0x50]
call fcn.0051760c
test al, al
je 0x4d140a
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x1a6], 0
je 0x4d13fa
mov edx, esi
mov eax, ebx
call fcn.004da530
cmp byte [0x6f1300], 0
je 0x4d1383
mov byte [0x6f1300], 0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
jne 0x4d13f3
cmp dword [esi + 4], 0
jne 0x4d13ad
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_GetDC
mov ebp, eax
jmp 0x4d13b0
mov ebp, dword [esi + 4]
lea ecx, [esp + 0x84]
xor edx, edx
xor eax, eax
call fcn.00407538
lea eax, [esp + 0x84]
push eax
push 0
push 1
mov cl, 1
mov edx, dword [ebx + 0x254]
mov eax, ebp
call fcn.004bb72c
cmp dword [esi + 4], 0
jne 0x4d13f3
push ebp
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_ReleaseDC
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4d1475
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp 0x4d1475
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x1a6], 0
je 0x4d1467
test byte [ebx + 0x1c], 8
jne 0x4d1434
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_InvalidateRect
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_BeginPaint
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_EndPaint
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4d1475
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
cmp byte [ebx + 0x78], 0
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x248], 0
je case.0x4cdb1f.0
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, ebx
call fcn.004dcfd4
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, ebx
call fcn.004dd648
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [0x724eec]
cmp dword [eax], 0
je 0x4d1524
mov eax, dword [0x724eec]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x4d1524
mov eax, dword [0x724eec]
mov eax, dword [eax]
call fcn.0046ba10
cmp dword [esi + 4], 1
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x238]
and eax, 0x100
cmp eax, 0x100
je case.0x4cdb1f.0
cmp dword [ebx + 0x270], 0
je 0x4d1579
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x270]
call fcn.004e2d54
jmp case.0x4cdb1f.0
mov eax, dword [0x724f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x254]
jne case.0x4cdb1f.0
cmp dword [esi + 4], 1
jne case.0x4cdb1f.0
mov eax, dword [0x724f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp byte [eax + 0x22b], 1
jne case.0x4cdb1f.0
mov eax, dword [0x724f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne case.0x4cdb1f.0
cmp dword [ebx + 0x224], 0
je 0x4d15e9
mov eax, dword [ebx + 0x224]
cmp byte [eax + 0xec], 0
jne case.0x4cdb1f.0
mov eax, dword [0x724f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
xor edx, edx
call fcn.00469794
push 0xffffffffffffffff
push 0
mov eax, dword [0x724f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0047cd04
push eax
call sub.user32.dll_InvalidateRect
push 0x585
push 0
push 0
mov eax, dword [0x724f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
jne 0x4d1712
mov eax, dword [0x725068]
cmp dword [eax], 0
je 0x4d1712
mov eax, dword [0x725068]
mov eax, dword [eax]
test byte [eax + 0x1c], 8
jne 0x4d1712
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 2
je 0x4d16dc
mov byte [ebx + 0xc5], 0
mov eax, dword [0x725068]
mov eax, dword [eax]
mov byte [eax + 0x23e], 1
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x35], 1
mov eax, dword [0x725068]
mov eax, dword [eax]
mov dword [eax + 0x258], 0xffffffff
push 0
push 0
push 0x85
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
jmp 0x4d1712
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x35], 1
push 0
push 0
push 0x85
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
mov al, 1
call fcn.004ccb90
mov dword [0x6f1304], ebx
jmp case.0x4cdb1f.0
cmp byte [ebx + 0x228], 0
je 0x4d1750
cmp dword [esi + 4], 1
jne 0x4d1750
mov byte [ebx + 0x228], 0
mov eax, ebx
call fcn.004db298
mov eax, dword [ebx + 0x50]
call fcn.00519300
call fcn.0052bfb4
mov edx, eax
mov eax, ebx
call fcn.004dad48
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
cmp dword [esi + 4], 0
jne 0x4d17a5
cmp dword [ebx + 0x50], 0
je 0x4d1799
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x40], 0
je 0x4d1799
mov eax, dword [ebx + 0x254]
test byte [eax + 0x1c], 8
jne 0x4d1799
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x40]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, ebx
call fcn.004daf70
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x30], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
call fcn.004bb4d8
jmp case.0x4cdb1f.0
cmp byte [ebx + 0x54], 1
jne 0x4d1819
cmp byte [0x6f12e8], 0
je 0x4d1819
lea ecx, [esp + 0x84]
movsx edx, word [esi + 0xa]
movsx eax, word [esi + 8]
call fcn.00407538
lea edx, [esp + 0x84]
lea ecx, [esp + 8]
mov eax, dword [ebx + 0x254]
call fcn.00475e18
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004d88a8
call sub.user32.dll_ReleaseCapture
mov byte [0x6f12e8], 0
mov eax, dword [esi + 4]
sub eax, 2
je 0x4d184d
dec eax
jne 0x4d1952
mov eax, dword [ebx + 0x50]
call fcn.00519300
cmp byte [eax + 0x58], 0
jne 0x4d183d
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x1c], 1
mov eax, dword [ebx + 0x254]
call fcn.0046ba10
jmp case.0x4cdb1f.0
mov eax, ebx
call fcn.004d8114
test al, al
je 0x4d1876
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4d189a
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x58]
test al, al
jne 0x4d189a
mov eax, ebx
call fcn.004c9b44
test al, al
jne 0x4d1909
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4d1909
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 2
je 0x4d18be
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4d18dd
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
jmp 0x4d18fa
push 0
push 0xf030
push 0x112
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [ebx + 0x25c]
call fcn.004df260
jmp 0x4d1948
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4d1948
push 0
push 0xf120
push 0x112
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
xor edx, edx
mov eax, dword [ebx + 0x25c]
call fcn.004df260
xor eax, eax
mov dword [esi + 4], eax
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 2
jne 0x4d1984
mov eax, dword [0x725068]
cmp ebx, dword [eax]
jne 0x4d1984
mov eax, dword [0x725068]
mov dword [eax], ebx
mov eax, ebx
call fcn.004c8ea4
test al, al
je 0x4d19d6
mov eax, dword [ebx + 0x50]
call fcn.00519300
test eax, eax
je 0x4d19d6
mov eax, dword [esi + 8]
cmp dword [eax], 1
jne 0x4d19d6
mov eax, dword [esi + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x254]
mov eax, dword [eax + 0x248]
xor ecx, ecx
call fcn.00487078
mov edi, eax
test edi, edi
je 0x4d19d6
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x44]
mov cl, 1
mov edx, edi
call fcn.00530e94
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
je 0x4d1c3f
mov ax, word [esi + 4]
sub ax, 0xf012
je 0x4d1a25
sub ax, 0xe
je 0x4d1a9b
sub ax, 0x10
je 0x4d1a38
sub ax, 0xf0
je 0x4d1afc
jmp 0x4d1c3f
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x80]
jmp 0x4d1c3f
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x30], 0
jne 0x4d1c3f
cmp dword [ebx + 0x224], 0
je 0x4d1c3f
mov eax, dword [ebx + 0x224]
cmp byte [eax + 0xec], 0
je 0x4d1c3f
call fcn.00550230
mov byte [esp + 0x12], al
xor eax, eax
call fcn.00550260
mov eax, ebx
call fcn.004c83b8
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov al, byte [esp + 0x12]
call fcn.00550260
jmp case.0x4cdb1f.0
mov eax, dword [0x724f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x254]
je 0x4d1c3f
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4d1c3f
call fcn.00550230
mov byte [esp + 0x12], al
xor eax, eax
call fcn.00550260
mov eax, ebx
call fcn.004c81a4
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov al, byte [esp + 0x12]
call fcn.00550260
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x238]
and eax, 0x200
cmp eax, 0x200
jne 0x4d1b57
and dword [ebx + 0x238], 0xfffffdff
cmp dword [ebx + 0x270], 0
je 0x4d1b2b
mov eax, dword [ebx + 0x270]
mov byte [eax + 0x28], 0
call fcn.00550230
mov byte [esp + 0x12], al
xor eax, eax
call fcn.00550260
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov al, byte [esp + 0x12]
call fcn.00550260
jmp case.0x4cdb1f.0
mov eax, dword [0x724f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x254]
je 0x4d1c3f
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4d1bf0
call fcn.00550230
mov byte [esp + 0x12], al
xor eax, eax
call fcn.00550260
mov eax, ebx
call fcn.004c83b8
cmp dword [ebx + 0x270], 0
je 0x4d1bd4
mov eax, dword [ebx + 0x270]
cmp dword [eax + 0x18], 0
jne 0x4d1bd4
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov byte [ebx + 0x22c], 0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x270]
call fcn.004e2d54
jmp 0x4d1be2
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov al, byte [esp + 0x12]
call fcn.00550260
jmp case.0x4cdb1f.0
cmp dword [ebx + 0x270], 0
je 0x4d1c05
mov eax, dword [ebx + 0x270]
cmp dword [eax + 0x18], 0
je 0x4d1c19
cmp dword [ebx + 0x270], 0
jne 0x4d1c3f
mov eax, ebx
call fcn.004cce10
test al, al
je 0x4d1c3f
cmp dword [ebx + 0x270], 0
je 0x4d1c2d
lea eax, [ebx + 0x270]
call fcn.0040fee4
mov dl, 1
mov eax, ebx
call fcn.004dad48
xor edx, edx
mov eax, ebx
call fcn.004c9b8c
cmp byte [ebx + 0x54], 1
jne 0x4d1cc2
mov eax, dword [ebx + 0x254]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4d1cc2
cmp byte [0x6f12e8], 0
jne 0x4d1cc2
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf010
jne 0x4d1c8d
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SetCapture
mov byte [0x6f12ec], 1
mov byte [0x726e38], 1
jmp 0x4d1cc2
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf000
jne 0x4d1cc2
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SetCapture
xor eax, eax
mov dword [0x726e5c], eax
mov byte [0x6f12ec], 1
mov byte [0x726e38], 0
mov eax, dword [ebx + 0x254]
mov al, byte [eax + 0x22f]
dec al
je 0x4d1cdf
dec al
je 0x4d20a0
jmp 0x4d212f
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 2
jne 0x4d1d06
cmp dword [esi + 4], 0xf030
je 0x4d1d06
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 0
jne 0x4d1d0a
xor eax, eax
jmp 0x4d1d0c
mov al, 1
mov byte [esp + 0x10], al
cmp byte [esp + 0x10], 0
je 0x4d1d30
mov eax, dword [0x725068]
cmp dword [eax], 0
je 0x4d1d30
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
call fcn.005190a4
mov eax, dword [esi + 4]
and eax, 0xfff0
cmp eax, 0xf060
jg 0x4d1d5a
je 0x4d1d73
sub eax, 0xf020
je 0x4d1f79
sub eax, 0x10
je 0x4d1fb5
jmp 0x4d206e
sub eax, 0xf100
je 0x4d207c
sub eax, 0x20
je 0x4d1e29
jmp 0x4d206e
mov eax, dword [0x725068]
cmp dword [eax], 0
je 0x4d207c
mov eax, dword [0x725068]
cmp dword [eax], 0
je 0x4d1da9
mov eax, dword [0x725068]
mov eax, dword [eax]
cmp dword [eax + 0x248], 0
je 0x4d1da9
cmp byte [esp + 0x10], 0
je 0x4d1da9
mov al, 1
call fcn.004ccb90
mov eax, dword [0x725068]
mov eax, dword [eax]
mov byte [eax + 0x22b], 1
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [ebx + 0x254]
test byte [eax + 0x1c], 8
jne 0x4d1de2
test byte [ebx + 0x1c], 8
jne 0x4d1de2
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004d3eb8
mov eax, dword [0x725068]
mov eax, dword [eax]
mov byte [eax + 0x22b], 0
mov eax, dword [0x725068]
cmp dword [eax], 0
je case.0x4cdb1f.0
mov eax, dword [0x725068]
mov eax, dword [eax]
cmp dword [eax + 0x248], 0
je case.0x4cdb1f.0
cmp byte [esp + 0x10], 0
je case.0x4cdb1f.0
mov al, 1
call fcn.004ccb90
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22b], 1
jne 0x4d1e3d
mov byte [esp + 0x10], 1
cmp byte [0x6f1300], 0
jne case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
cmp byte [ebx + 0x78], 0
je 0x4d1e91
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xfff7ffff
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowLongA
push 0x505
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [0x725068]
cmp dword [eax], 0
je 0x4d1f59
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
call fcn.00469120
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4d1f59
inc ebp
xor edi, edi
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
mov edx, edi
call fcn.0046916c
cmp eax, dword [ebx + 0x254]
je 0x4d1f55
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
mov edx, edi
call fcn.0046916c
cmp byte [eax + 0x22b], 2
jne 0x4d1f2d
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
mov edx, edi
call fcn.0046916c
xor edx, edx
call fcn.00469794
push 0x506
push 0
push 0
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
mov edx, edi
call fcn.0046916c
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
inc edi
dec ebp
jne 0x4d1ed9
cmp byte [esp + 0x10], 0
je 0x4d1f67
mov al, 1
call fcn.004ccb90
mov dl, 1
mov eax, dword [ebx + 0x25c]
call fcn.004df260
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
cmp byte [esp + 0x10], 0
je 0x4d1f95
mov al, 1
call fcn.004ccb90
mov dl, 1
mov eax, dword [ebx + 0x25c]
call fcn.004df260
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov al, 1
call fcn.004ccb90
jmp case.0x4cdb1f.0
mov dword [0x6f1304], ebx
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xefffffff
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowLongA
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowLongA
push 0x506
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [0x725068]
cmp dword [eax], 0
je 0x4d205c
mov eax, dword [0x725068]
mov eax, dword [eax]
cmp dword [eax + 0x248], 0
je 0x4d205c
mov al, 1
call fcn.004ccb90
mov dl, 1
mov eax, dword [ebx + 0x25c]
call fcn.004df260
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [0x725068]
cmp dword [eax], 0
je 0x4d238e
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
xor edx, edx
call fcn.00519274
jmp 0x4d238e
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [esi + 4]
sub eax, 0xf020
je 0x4d20c8
sub eax, 0x10
je 0x4d20c8
sub eax, 0xf0
jne 0x4d238e
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov byte [eax + 0x35], 1
mov eax, dword [0x725068]
mov eax, dword [eax]
mov dword [eax + 0x258], 0xffffffff
push 0
push 0
push 0x85
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
cmp dword [esi + 4], 0xf030
jne 0x4d238e
cmp dword [ebx + 0x270], 0
je 0x4d238e
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x270]
call fcn.004e2d54
jmp 0x4d238e
mov eax, dword [esi + 4]
sub eax, 0xf030
jne 0x4d2160
cmp dword [ebx + 0x270], 0
je 0x4d2160
mov eax, dword [0x72497c]
cmp byte [eax], 0
jne 0x4d2155
cmp dword [esi + 4], 0xf120
jne 0x4d2160
lea eax, [ebx + 0x270]
call fcn.0040fee4
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [esi + 4]
sub eax, 0xf030
je 0x4d22ae
sub eax, 0xd0
je 0x4d2191
sub eax, 0x20
je 0x4d22ae
jmp 0x4d238e
cmp word [esi + 8], 0x20
jne 0x4d238e
mov eax, ebx
call fcn.004d8114
test al, al
je 0x4d238e
mov eax, ebx
call fcn.004c9b44
test al, al
je 0x4d238e
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4d2240
lea edx, [esp + 0x84]
mov eax, ebx
call fcn.004d7520
mov edi, dword [esp + 0x88]
mov dl, 1
mov eax, ebx
call fcn.004ca89c
add edi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.00550370
add edi, eax
sub edi, 0x10
push edi
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
mov cl, 1
mov edx, dword [ebx + 0x270]
call fcn.004c8f00
mov edi, eax
lea edx, [esp + 0x90]
mov eax, ebx
call fcn.004d7520
add edi, dword [esp + 0x90]
mov edx, edi
mov eax, ebx
pop ecx
call fcn.004d762c
jmp 0x4d238e
lea edx, [esp + 0x84]
mov eax, ebx
call fcn.004d7520
mov edi, dword [esp + 0x88]
mov dl, 1
mov eax, ebx
call fcn.004ca89c
add edi, eax
lea eax, [ebx + 0x96]
xor edx, edx
call fcn.00550370
add edi, eax
push edi
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
mov cl, 1
mov edx, dword [ebx + 0x270]
call fcn.004c8f00
mov edi, eax
lea edx, [esp + 0x90]
mov eax, ebx
call fcn.004d7520
add edi, dword [esp + 0x90]
mov edx, edi
mov eax, ebx
pop ecx
call fcn.004d762c
jmp 0x4d238e
mov eax, dword [ebx + 0x25c]
mov edx, dword [eax]
call dword [edx + 0x48]
test al, al
je 0x4d22c4
mov dword [ebx + 0x38], 9
mov cl, 1
xor edx, edx
mov eax, ebx
call fcn.004d3eb8
cmp dword [esi + 4], 0xf120
jne 0x4d238e
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov eax, ebx
call fcn.004c9b44
test al, al
jne 0x4d2308
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowRgn
jmp 0x4d238e
mov eax, dword [ebx + 0x50]
call fcn.00519300
test eax, eax
je 0x4d2374
mov eax, dword [ebx + 0x50]
call fcn.00519300
call fcn.0052bfb4
test al, al
je 0x4d2374
cmp byte [ebx + 0x79], 0
je 0x4d2374
cmp byte [ebx + 0x78], 0
je 0x4d2374
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x30], 0
jne 0x4d2374
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
je 0x4d2374
mov dl, 1
mov eax, ebx
call fcn.004dad48
cmp dword [ebx + 0x270], 0
je 0x4d2374
mov byte [ebx + 0x22c], 0
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x270]
call fcn.004e2d54
push 0x481
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
mov ax, word [esi + 4]
sub ax, 0xf020
jne case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4d23b7
mov byte [ebx + 0x22f], 0
cmp dword [ebx + 0x270], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x270]
cmp dword [eax + 0x18], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x238]
and eax, 0x100
cmp eax, 0x100
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x270]
mov byte [eax + 0x28], 1
mov eax, dword [ebx + 0x270]
add eax, 0x18
call fcn.0040fee4
mov eax, dword [ebx + 0x270]
mov byte [eax + 0x28], 0
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, ebx
call fcn.004dd700
jmp case.0x4cdb1f.0
mov eax, dword [0x725250]
mov byte [eax], 1
mov eax, dword [0x724f40]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4d244f
jmp 0x4d2445
mov eax, dword [0x724f40]
mov eax, dword [eax]
call fcn.0046f1bc
mov eax, dword [0x724e60]
cmp dword [eax], 0
jg 0x4d2439
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
call fcn.00519300
test eax, eax
je 0x4d27d3
call fcn.004e69d4
test al, al
je 0x4d27d3
cmp byte [ebx + 0x78], 0
je 0x4d27d3
cmp dword [ebx + 0x270], 0
je 0x4d24cb
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4d24cb
mov eax, ebx
call fcn.004dcdb0
mov edi, eax
mov eax, dword [ebx + 0x254]
call fcn.004c8f68
add eax, 4
cmp edi, eax
setg al
mov byte [ebx + 0x214], al
jmp 0x4d24d2
mov byte [ebx + 0x214], 0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x80
cmp eax, 0x80
jne 0x4d2687
cmp byte [ebx + 0x22e], 0
jne 0x4d2687
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x40], 0
je 0x4d2687
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4d2687
mov eax, dword [ebx + 0x50]
call fcn.00519300
cmp byte [eax + 0xcc], 2
jne 0x4d2570
mov eax, dword [0x724f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x254]
jne 0x4d2570
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x20]
cmp byte [eax + 6], 0
je 0x4d2687
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov byte [ebx + 0x22f], 0
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x50]
call fcn.00519300
cmp byte [eax + 0xcc], 2
je 0x4d2664
cmp byte [ebx + 0x95], 0
je 0x4d263f
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4d263f
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x30], 0
jne 0x4d263f
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
je 0x4d263f
call fcn.004c9164
test al, al
je 0x4d25e6
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
mov cl, 1
mov dl, 1
call fcn.004ccd1c
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov byte [ebx + 0x22e], 1
mov eax, ebx
call fcn.004b93a4
mov eax, dword [0x724f40]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne case.0x4cdb1f.0
call fcn.004c9164
test al, al
je 0x4d2633
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
mov cl, 1
xor edx, edx
call fcn.004ccd1c
mov byte [ebx + 0x22e], 0
jmp case.0x4cdb1f.0
cmp dword [ebx + 0x270], 0
je 0x4d2687
mov eax, dword [ebx + 0x270]
cmp dword [eax + 0x18], 0
je 0x4d2687
mov eax, dword [ebx + 0x270]
add eax, 0x18
call fcn.0040fee4
jmp 0x4d2687
cmp dword [ebx + 0x270], 0
je 0x4d2687
mov eax, dword [ebx + 0x270]
cmp dword [eax + 0x18], 0
je 0x4d2687
mov eax, dword [ebx + 0x270]
add eax, 0x18
call fcn.0040fee4
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
cmp byte [ebx + 0x22c], 0
jne case.0x4cdb1f.0
cmp dword [ebx + 0x270], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x57], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne case.0x4cdb1f.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 8
cmp eax, 8
je case.0x4cdb1f.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x20
cmp eax, 0x20
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x238]
and eax, 0x80
cmp eax, 0x80
je case.0x4cdb1f.0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 3
cmp eax, 3
jne 0x4d27bf
mov eax, dword [ebx + 0x270]
cmp dword [eax + 0x18], 0
je 0x4d27bf
call fcn.004c9164
test al, al
je 0x4d278d
mov eax, dword [0x724f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [ebx + 0x254]
jne 0x4d278d
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
mov esi, eax
call sub.user32.dll_GetActiveWindow
cmp esi, eax
jne 0x4d278d
push 0x65b
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4cdb1f.0
push 0x65b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x254]
call fcn.0047cd04
push eax
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4cdb1f.0
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x270]
call fcn.004e2d54
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
cmp byte [ebx + 0x95], 0
je 0x4d295a
mov eax, dword [ebx + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4d295a
cmp byte [ebx + 0x78], 0
je 0x4d295a
mov eax, dword [ebx + 0x238]
and eax, 0x200
cmp eax, 0x200
je 0x4d295a
mov eax, dword [ebx + 0x254]
cmp dword [eax + 0x30], 0
jne 0x4d295a
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [ebx + 0x254]
test byte [eax + 0x1c], 8
jne case.0x4cdb1f.0
or dword [ebx + 0x238], 0x200
mov dl, 1
mov eax, ebx
call fcn.004c8c8c
mov edx, dword [ebx + 0x50]
mov dword [edx + 0x40], eax
and dword [ebx + 0x238], 0xfffffdff
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 0
cmp dword [ebx + 0x270], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x270]
cmp dword [eax + 0x18], 0
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047d008
test al, al
je case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x2e0], 0
je 0x4d28d4
mov eax, dword [ebx + 0x254]
movzx edi, byte [eax + 0x2e1]
jmp 0x4d28d9
mov edi, 0xff
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x270]
call fcn.004e3ddc
push eax
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowRgn
push 0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047cd04
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x40]
mov ecx, edi
call fcn.004c7e80
push 0x65b
push 0
push 0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x40]
push eax
push 0
mov eax, dword [ebx + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowPos
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
jne 0x4d29e7
mov eax, dword [0x725068]
cmp dword [eax], 0
jne 0x4d299c
mov eax, dword [0x724f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.0047cd04
xor edx, edx
call fcn.004bd4b4
mov eax, dword [0x725068]
cmp dword [eax], 0
je 0x4d29e0
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
call fcn.004690ec
test eax, eax
je 0x4d29e0
mov eax, dword [0x725068]
mov eax, dword [eax]
mov eax, dword [eax + 0x254]
call fcn.004690ec
cmp byte [eax + 0x22b], 2
jne 0x4d29e0
mov byte [0x6f1300], 1
jmp 0x4d29e7
mov byte [0x6f1300], 0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [ebx + 0x254]
cmp byte [eax + 0x22f], 1
je case.0x4cdb1f.0
mov eax, ebx
call fcn.004d932c
jmp case.0x4cdb1f.0
cmp dword [ebx + 0x254], 0
je 0x4d2afe
test byte [ebx + 0x1c], 1
jne 0x4d2afe
mov eax, dword [ebx + 0x254]
test byte [eax + 0x1c], 1
jne 0x4d2afe
cmp word [esi + 4], 1
je 0x4d2a4d
cmp word [esi + 4], 2
jne 0x4d2afe
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
cmp dword [ebx + 0x234], 0
je 0x4d2ab0
cmp word [esi + 4], 1
jne 0x4d2ab0
cmp dword [esi + 8], 0
je 0x4d2aa3
mov edx, dword [0x724f40]
mov edx, dword [edx]
mov eax, dword [esi + 8]
call fcn.004cce60
test eax, eax
jne 0x4d2a94
xor edx, edx
mov eax, dword [ebx + 0x234]
call fcn.004dfea8
jmp 0x4d2ab0
mov edx, eax
mov eax, dword [ebx + 0x234]
call fcn.004df950
jmp 0x4d2ab0
xor edx, edx
mov eax, dword [ebx + 0x234]
call fcn.004dfea8
push 0
lea eax, [esp + 0x18]
push eax
mov dx, 0x24
xor eax, eax
call fcn.00408648
mov edx, eax
mov ecx, 1
mov eax, 0xa100
call fcn.0055014c
lea edx, [esp + 0x14]
mov eax, dword [ebx + 0x254]
call fcn.004bc05c
cmp byte [ebx + 0x78], 0
je case.0x4cdb1f.0
mov dl, 1
mov eax, dword [ebx + 0x230]
call fcn.004f5f74
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
sub eax, 0xfffffdd9
jne case.0x4cdb1f.0
cmp dword [ebx + 0x234], 0
je case.0x4cdb1f.0
xor edx, edx
mov eax, dword [ebx + 0x234]
call fcn.004dfea8
jmp case.0x4cdb1f.0
cmp dword [esi + 4], 0
je 0x4d2bdd
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov eax, dword [esi + 4]
mov edx, dword [0x47208c]
call fcn.00404018
test al, al
je 0x4d2bbf
cmp dword [ebx + 0x234], 0
je 0x4d2b90
mov edx, dword [esi + 4]
mov eax, dword [ebx + 0x234]
call fcn.004df950
push 0
lea eax, [esp + 0x18]
push eax
mov dx, 0x24
xor eax, eax
call fcn.00408648
mov edx, eax
mov ecx, 1
mov eax, 0xa100
call fcn.0055014c
lea edx, [esp + 0x14]
mov eax, dword [esi + 4]
call fcn.004bc05c
push 1
mov dx, 0x24
xor eax, eax
call fcn.00408648
mov ecx, eax
mov eax, dword [esi + 4]
mov edx, 0xa100
call fcn.004774dc
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
jmp case.0x4cdb1f.0
mov edx, esi
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
add esp, 0xb4
pop ebp
pop edi
pop esi
pop ebx
ret