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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebx]
sub eax, 3
je 0x6d7671
sub eax, 2
je 0x6d75cf
sub eax, 0xa0fb
jne 0x6d7715
movzx eax, word [ebx + 6]
sub ax, 7
je 0x6d7532
sub ax, 0x17
je 0x6d753e
sub ax, 0xd
je 0x6d7584
sub ax, 0x19
je 0x6d756d
jmp 0x6d7715
mov dword [ebx + 0xc], 1
jmp 0x6d865a
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006dfef4
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
call fcn.006f80ac
test al, al
jne 0x6d7715
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov byte [eax + 0xac], 0
jmp 0x6d7715
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006d8ae0
test al, al
jne 0x6d865a
jmp 0x6d7715
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xc4], 0
je 0x6d7715
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x44]
add eax, 0x3c
call fcn.0072f978
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0xc0]
call fcn.004e79fc
mov ecx, eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
call fcn.006f84a8
mov eax, dword [ebp - 0x44]
mov byte [eax + 0xc4], 0
jmp 0x6d7715
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x6d7639
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
mov edx, 0xfffffff0
call fcn.00413114
test eax, 0x10000000
jne 0x6d7639
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0xb4], 0
je 0x6d7639
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
cmp byte [eax + 0x69], 0
je 0x6d7639
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp byte [eax + 0x39], 0xe7
jne 0x6d7639
mov eax, dword [ebp - 0x44]
mov edx, dword [0x6cff08]
call fcn.00406d30
test al, al
je 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0x3c], 0
jl 0x6d7662
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006dfef4
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x3c]
call fcn.006c0128
jmp 0x6d865a
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006dfef4
jmp 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x6d76db
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
mov edx, 0xfffffff0
call fcn.00413114
test eax, 0x10000000
jne 0x6d76db
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0xb4], 0
je 0x6d76db
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
cmp byte [eax + 0x69], 0
je 0x6d76db
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp byte [eax + 0x39], 0xe7
jne 0x6d76db
mov eax, dword [ebp - 0x44]
mov edx, dword [0x6cff08]
call fcn.00406d30
test al, al
je 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0x3c], 0
jl 0x6d7706
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006dfef4
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
add eax, 0x3c
xor edx, edx
call fcn.006bfe2c
jmp 0x6d865a
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006dfef4
jmp 0x6d865a
mov eax, dword [ebp - 0x44]
mov esi, dword [eax + 0x68]
test esi, esi
je 0x6d772c
mov eax, esi
xor edx, edx
call fcn.00752988
test al, al
jne 0x6d773b
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006dfef4
jmp 0x6d865a
mov eax, dword [ebx]
cmp eax, 0x85
jg 0x6d7795
je 0x6d8038
add eax, 0xfffffff9
cmp eax, 0xd
ja case.0x6d7756.9
jmp dword [eax*4 + 0x6d775d]
cmp eax, 0xb00c
jg 0x6d77b5
je case.0x6d7756.12
sub eax, 0x317
je 0x6d77e8
sub eax, 0x9de9
je 0x6d77d1
jmp case.0x6d7756.9
sub eax, 0xb00e
je case.0x6d7756.12
add eax, 0xfffffffb
sub eax, 2
jb 0x6d7fef
jmp case.0x6d7756.9
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006d8ae0
test al, al
jne 0x6d865a
jmp case.0x6d7756.9
mov eax, dword [ebp - 0x44]
mov esi, dword [eax + 0x68]
cmp byte [esi + 0x39], 7
jne 0x6d7843
cmp byte [esi + 0x3a], 1
jne 0x6d7843
call fcn.00789ae4
test al, al
jne 0x6d7843
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0xb4], 0
je 0x6d7843
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
cmp byte [eax + 0x290], 0
jne 0x6d7843
call fcn.0072f08c
test al, al
je 0x6d7843
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov dl, 1
call fcn.0051b610
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x44]
call fcn.006e3220
mov esi, eax
mov dword [ebx + 0xc], esi
cmp esi, 2
je 0x6d865a
mov eax, dword [ebp - 0x44]
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x44]
add eax, 0x3c
push eax
mov eax, dword [ebp - 0x44]
add eax, 0x44
push eax
mov eax, dword [ebp - 0x44]
lea ecx, [eax + 0xc]
mov eax, dword [ebp - 0x44]
lea edx, [eax + 0x34]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
call fcn.006d0ca8
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov byte [eax + 0x35], 0
mov byte [eax + 0xad], 1
mov eax, dword [ebx + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
cmp byte [eax + 9], 0
jne 0x6d78bd
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x6d865a
cmp byte [eax + 0xad], 0
je 0x6d78e6
mov edx, dword [ebp - 0x44]
movzx ecx, byte [edx + 4]
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 0x38]
call fcn.006d1a98
mov eax, dword [ebp - 0x44]
cmp byte [eax + 4], 0
jne 0x6d78ff
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov ecx, dword [ebp - 0x44]
xor edx, edx
call fcn.006d13c0
test byte [ebx + 8], 4
je 0x6d7965
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x8c]
neg ecx
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x84]
neg edx
mov eax, dword [ebp - 0x48]
call fcn.00511f00
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp - 0x44]
sub eax, dword [edx + 0x90]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 0x44]
sub eax, dword [edx + 0x88]
push eax
push 0
push 0
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_IntersectClipRect
jmp 0x6d79e7
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
call fcn.004efc64
call fcn.004e9e78
push eax
push 0
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x84]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x8c]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x88]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x90]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x48]
call fcn.00706500
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x38]
or ecx, 0xffffffff
mov eax, dword [ebp - 0x44]
call fcn.006d415c
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x8c]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x84]
mov eax, dword [ebp - 0x48]
call fcn.00511f00
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x6d7ac5
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x7c], 0
je 0x6d7ac5
xor esi, esi
cmp byte [eax + 0x24], 0
je 0x6d7a56
xor ecx, ecx
mov edx, 1
call fcn.006d2714
mov esi, eax
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x78], 0
je 0x6d7a56
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x48]
call fcn.00511f00
mov eax, dword [ebp - 0x44]
mov edi, dword [eax + 0x7c]
mov eax, edi
xor ecx, ecx
mov edx, 1
call fcn.006d2714
movzx edx, byte [edi + 0x24]
imul edx
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp - 0x44]
sub eax, dword [edx + 0x8c]
mov edx, dword [ebp - 0x44]
sub eax, dword [edx + 0x90]
pop edx
sub eax, edx
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 0x44]
sub eax, dword [edx + 0x84]
mov edx, dword [ebp - 0x44]
sub eax, dword [edx + 0x88]
sub eax, esi
push eax
push 0
push 0
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp byte [eax + 0x3a], 1
jne 0x6d7b45
call fcn.00789ae4
test al, al
jne 0x6d7aec
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
movzx eax, byte [eax + 0x39]
sub al, 0xa
je 0x6d7b45
sub al, 4
je 0x6d7b45
call fcn.0072f08c
test al, al
je 0x6d7b45
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov esi, dword [eax + 0xb4]
mov eax, esi
mov edx, dword [0x50b034]
call fcn.00406d30
test al, al
je 0x6d7b1b
cmp byte [esi + 0x290], 0
jne 0x6d7b45
lea eax, [ebp - 0x48]
push eax
push 0
push 2
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
call fcn.0072f938
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.uxtheme.dll_BeginBufferedPaint
mov esi, eax
jmp 0x6d7b47
xor esi, esi
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov edi, dword [eax + 0x5c]
test byte [ebx + 8], 4
je 0x6d7b8b
push 0xcc0020
push 0
push 0
mov eax, edi
call fcn.004efc64
call fcn.004e9e78
push eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x6d7bce
push 0xcc0020
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x8c]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x84]
push eax
mov eax, edi
call fcn.004efc64
call fcn.004e9e78
push eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_BitBlt
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
mov ecx, dword [ebp - 0x48]
mov edx, 0xf
call fcn.006fcd74
push 0x24
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
mov ecx, dword [ebp - 0x48]
mov edx, 0x318
call fcn.006fcd74
test esi, esi
je 0x6d7c0d
call fcn.0072f08c
test al, al
je 0x6d7c0d
push 0
push esi
call sub.uxtheme.dll_EndBufferedPaint
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
movzx eax, byte [eax + 0x39]
sub al, 0xa
jne 0x6d865a
jmp case.0x6d7756.9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov byte [eax + 0xad], 1
test byte [eax + 0xa9], 0x20
jne case.0x6d7756.9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp byte [eax + 0x35], 0
jne case.0x6d7756.9
cmp dword [eax + 0x54], 0
jg case.0x6d7756.9
mov eax, dword [0x8028d0]
cmp byte [eax], 0
jne case.0x6d7756.9
push 0x405
push 0
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x6d7756.9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je case.0x6d7756.9
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x7a], 0
jne case.0x6d7756.9
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp esi, dword [eax + 0x58]
je 0x6d7cd5
lea eax, [ebp - 0x5c]
push eax
push esi
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x6d7cd5
mov dword [ebx + 0xc], 1
jmp 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
xor edx, edx
call fcn.0074f004
test al, al
jne 0x6d865a
mov eax, dword [ebp - 0x44]
movzx edx, byte [0x6d8664]
not edx
and byte [eax + 0xac], dl
mov eax, dword [ebp - 0x44]
cmp byte [eax + 9], 0
jne 0x6d7d0d
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xae], 0
je 0x6d7d35
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
jne 0x6d7d35
mov dword [ebx + 0xc], 1
jmp 0x6d865a
call fcn.0072f08c
test al, al
je case.0x6d7756.9
mov eax, dword [0x8028d0]
cmp byte [eax], 0
je case.0x6d7756.9
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 0x68]
cmp eax, dword [edx + 0x58]
je case.0x6d7756.9
mov dword [ebx + 0xc], 1
jmp 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je case.0x6d7756.9
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x7a], 0
jne case.0x6d7756.9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
test byte [eax + 0xaa], 4
je 0x6d7dc3
and dword [eax + 0xa8], 0xfffbffff
push 0x737
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_SetWindowPos
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp esi, dword [eax + 0x58]
je 0x6d7dea
lea eax, [ebp - 0x5c]
push eax
push esi
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x6d7dea
push ebp
call fcn.006d74b0
pop ecx
jmp 0x6d865a
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xae], 0
je 0x6d7ec6
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
jne 0x6d7ec6
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_BeginPaint
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x4c], eax
xor eax, eax
push ebp
push 0x6d7eaa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
call fcn.004efc64
call fcn.004e9e78
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x3c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d7eb1
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
xor edx, edx
call fcn.0074f004
test al, al
jne 0x6d7eed
mov eax, dword [0x8028d0]
cmp byte [eax], 0
je 0x6d7ef9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0x58], 0
jne 0x6d7ef9
push ebp
call fcn.006d74b0
pop ecx
jmp 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
mov edx, 0xffffffec
call fcn.00413114
test ah, 0x20
jne 0x6d7fc3
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x38]
or ecx, 0xffffffff
mov eax, dword [ebp - 0x44]
call fcn.006d415c
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov esi, dword [eax + 0x68]
cmp byte [esi + 0x39], 0xe8
je 0x6d7fb3
mov eax, dword [esi + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
call fcn.004efc64
call fcn.004e9e78
push eax
push 0
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x84]
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x8c]
mov eax, 3
call fcn.0048eaec
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x88]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x90]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x48]
call fcn.00706500
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 0x44]
movzx edx, byte [0x6d8664]
not edx
and byte [eax + 0xac], dl
mov eax, dword [ebp - 0x44]
cmp byte [eax + 9], 0
jne case.0x6d7756.9
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x18]
jmp case.0x6d7756.9
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006dfef4
jmp 0x6d865a
cmp dword [ebx + 4], 1
jne case.0x6d7756.9
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xaf], 0
je case.0x6d7756.9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
call fcn.006f8248
mov eax, dword [ebp - 0x44]
mov byte [eax + 0xaf], 0
jmp case.0x6d7756.9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je case.0x6d7756.9
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x7a], 0
jne case.0x6d7756.9
mov eax, dword [0x8028d0]
cmp byte [eax], 0
jne 0x6d82c3
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xad], 0
jne 0x6d82c3
mov eax, dword [ebp - 0x44]
add eax, 0x1c
push eax
mov eax, dword [ebp - 0x44]
add eax, 0x3c
push eax
mov eax, dword [ebp - 0x44]
add eax, 0x44
push eax
mov eax, dword [ebp - 0x44]
lea ecx, [eax + 0xc]
mov eax, dword [ebp - 0x44]
lea edx, [eax + 0x34]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
call fcn.006d0ca8
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
xor edx, edx
call fcn.0074f004
test al, al
jne 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x58]
cmp eax, dword [ebp - 0x48]
je 0x6d80fa
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x6d80fa
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_ReleaseDC
jmp 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp byte [eax + 0xad], 0
je 0x6d8132
mov eax, dword [ebp - 0x44]
cmp byte [eax + 9], 0
jne 0x6d811a
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x44]
movzx ecx, byte [eax + 4]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
call fcn.006d1a98
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x4c], eax
xor eax, eax
push ebp
push 0x6d82bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x44]
call fcn.006d8d60
test al, al
je 0x6d81df
mov eax, dword [ebp - 0x44]
mov byte [eax + 0xad], 1
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x84], 0
jle 0x6d819e
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x40]
sub eax, 2
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x3c]
sub eax, 2
push eax
push 2
push 2
call sub.gdi32.dll_CreateRectRgn
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x44]
call fcn.006e3220
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x84], 0
jle 0x6d81d5
push 0
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x44]
mov byte [eax + 0xad], 0
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x38]
or ecx, 0xffffffff
mov eax, dword [ebp - 0x44]
call fcn.006d415c
mov dword [ebx + 0xc], eax
cmp dword [ebp - 0x48], 0
je 0x6d8291
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x68], 0
je 0x6d8291
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x84], 0
jge 0x6d8227
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x84], 2
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x5c]
call fcn.004efc64
call fcn.004e9e78
push eax
push 0
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x84]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x8c]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x88]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x90]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x48]
call fcn.00706500
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d82c3
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_ReleaseDC
ret
mov eax, dword [ebp - 0x44]
movzx edx, byte [0x6d8668]
not edx
and byte [eax + 0xac], dl
jmp 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
xor edx, edx
call fcn.006d0b48
test al, al
je 0x6d83b7
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov edx, dword [0x50b034]
call fcn.00406d30
test al, al
je 0x6d83b7
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov si, 0xffb3
call fcn.00406dd0
test al, al
je 0x6d83b7
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
cmp byte [eax + 0x20c], 0
je 0x6d83b7
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov byte [eax + 0xad], 1
cmp dword [ebx], 7
sete dl
mov byte [eax + 0x34], dl
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006dfef4
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x44]
test byte [eax + 0xac], 1
je 0x6d838e
push 0x501
push 0
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_RedrawWindow
jmp 0x6d865a
mov eax, dword [ebp - 0x44]
test byte [eax + 0xac], 2
je 0x6d865a
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
xor ecx, ecx
mov edx, 0x85
call fcn.006fcd74
jmp 0x6d865a
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x44]
call fcn.006e3220
mov dword [ebx + 0xc], eax
jmp 0x6d865a
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006dfef4
mov eax, dword [ebx]
cmp eax, 0x197
jg 0x6d844a
je 0x6d8542
cmp eax, 0x100
jge 0x6d8419
sub eax, 5
je 0x6d8589
sub eax, 0x2b
je 0x6d8551
sub eax, 0x92
je 0x6d8542
jmp 0x6d865a
add eax, 0xffffff00
sub eax, 2
jb 0x6d8551
add eax, 0xffffff82
sub eax, 2
jb 0x6d8542
sub eax, 4
je 0x6d8533
sub eax, 8
je 0x6d84df
jmp 0x6d865a
cmp eax, 0xb013
jge 0x6d846d
sub eax, 0x200
je 0x6d85c3
dec eax
je 0x6d8551
sub eax, 0xf
je 0x6d84ad
jmp 0x6d865a
add eax, 0xffff4fed
sub eax, 2
jb 0x6d856d
sub eax, 0x17
je 0x6d849e
sub eax, 0xc22
je 0x6d8636
add eax, 0xffffff4e
sub eax, 2
jb 0x6d8551
jmp 0x6d865a
mov eax, dword [ebp - 0x44]
mov byte [eax + 0xaf], 1
jmp 0x6d865a
cmp word [ebx + 4], 1
jne 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
call fcn.00751b1c
test byte [eax + 0xac], 4
je 0x6d865a
mov eax, dword [ebp - 0x44]
mov byte [eax + 0xaf], 1
jmp 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov edx, dword [0x52dbac]
call fcn.00406d30
test al, al
je 0x6d865a
cmp dword [ebx + 0xc], 0
jne 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xb4]
mov eax, dword [eax + 0x2b0]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x6d865a
mov dword [ebx + 0xc], 0xffffffff
jmp 0x6d865a
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.006d19c4
jmp 0x6d865a
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.006d19c4
jmp 0x6d865a
mov eax, dword [ebp - 0x44]
cmp byte [eax + 6], 0
jne 0x6d865a
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.006d19c4
jmp 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x6d865a
mov edx, eax
mov eax, ebx
call fcn.007540dc
jmp 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0x54], 0
jg 0x6d865a
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, dword [ebp - 0x44]
call fcn.006e28b4
jmp 0x6d865a
mov eax, dword [0x802d38]
cmp dword [eax], 0
je 0x6d865a
mov eax, dword [0x802d38]
mov eax, dword [eax]
test byte [eax + 0x1c], 0x10
jne 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
je 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
mov edx, dword [0x802d38]
mov edx, dword [edx]
cmp eax, dword [edx + 0x88]
je 0x6d8612
mov edx, eax
mov eax, dword [0x802d38]
mov eax, dword [eax]
call fcn.007411e8
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
call fcn.00751b30
test al, al
jne 0x6d865a
call sub.user32.dll_GetCapture
test eax, eax
je 0x6d865a
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.006d19c4
jmp 0x6d865a
mov eax, dword [ebx + 8]
mov eax, dword [eax + 8]
sub eax, 0xffffff9a
jne 0x6d865a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
call fcn.00751b30
test al, al
jne 0x6d865a
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.006d19c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret