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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebx]
sub eax, 5
je 0x6d443f
sub eax, 0xa0fb
jne 0x6d44b8
movzx eax, word [ebx + 6]
sub ax, 7
je 0x6d43f3
sub ax, 0x17
je 0x6d43ff
sub ax, 0x26
je 0x6d442b
jmp 0x6d44b8
mov dword [ebx + 0xc], 1
jmp 0x6d52ce
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006dca28
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
call fcn.006fcf38
test al, al
jne 0x6d44b8
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov byte [eax + 0x2a], 0
jmp 0x6d44b8
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006d5754
test al, al
jne 0x6d52ce
jmp 0x6d44b8
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x6d44a9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
mov edx, 0xfffffff0
call fcn.00416be8
test eax, 0x10000000
jne 0x6d44a9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0xa0], 0
je 0x6d44a9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
cmp byte [eax + 0x69], 0
je 0x6d44a9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp byte [eax + 0x2d], 0xe7
jne 0x6d44a9
mov eax, dword [ebp - 0x44]
mov edx, dword [0x6cd070]
call fcn.00408c18
test al, al
je 0x6d52ce
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006dca28
jmp 0x6d52ce
mov eax, dword [ebp - 0x44]
mov esi, dword [eax + 0x68]
test esi, esi
je 0x6d44cf
mov eax, esi
xor edx, edx
call fcn.0070f104
test al, al
jne 0x6d44de
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006dca28
jmp 0x6d52ce
mov esi, dword [ebx]
mov eax, esi
cmp eax, 0x85
jg 0x6d453a
je 0x6d4cac
add eax, 0xfffffff9
cmp eax, 0xd
ja case.0x6d44fb.9
jmp dword [eax*4 + 0x6d4502]
sub eax, 0x317
je 0x6d4578
sub eax, 0x9de9
je 0x6d4561
sub eax, 0xf0c
je case.0x6d44fb.12
sub eax, 2
je case.0x6d44fb.12
jmp case.0x6d44fb.9
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006d5754
test al, al
jne 0x6d52ce
jmp case.0x6d44fb.9
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, esi
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x44]
call fcn.006dfbe8
mov edi, eax
mov dword [ebx + 0xc], edi
cmp edi, 2
je 0x6d52ce
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.006cde10
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov byte [eax + 0x29], 0
mov byte [eax + 0x98], 1
mov eax, dword [ebx + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
cmp byte [eax + 9], 0
jne 0x6d45f2
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 0x6d52ce
cmp byte [eax + 0x98], 0
je 0x6d461b
mov edx, dword [ebp - 0x44]
movzx ecx, byte [edx + 4]
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 0x38]
call fcn.006cebec
mov eax, dword [ebp - 0x44]
cmp byte [eax + 4], 0
jne 0x6d4634
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov ecx, dword [ebp - 0x44]
xor edx, edx
call fcn.006ce514
test byte [ebx + 8], 4
je 0x6d469a
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.0055aaf4
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x4c]
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 + 0x4c]
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 0x6d471c
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.00535ff0
call fcn.0052fb1c
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.0076b7d4
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.006d1248
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.0055aaf4
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x6d47fa
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x7c], 0
je 0x6d47fa
xor esi, esi
cmp byte [eax + 0x24], 0
je 0x6d478b
xor ecx, ecx
mov edx, 1
call fcn.006cf8e8
mov esi, eax
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x78], 0
je 0x6d478b
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x48]
call fcn.0055aaf4
mov eax, dword [ebp - 0x44]
mov edi, dword [eax + 0x7c]
mov eax, edi
xor ecx, ecx
mov edx, 1
call fcn.006cf8e8
movzx edx, byte [edi + 0x24]
imul edx
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x4c]
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 + 0x4c]
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]
mov esi, dword [eax + 0x4c]
test byte [ebx + 8], 4
je 0x6d483e
push 0xcc0020
push 0
push 0
mov eax, esi
call fcn.00535ff0
call fcn.0052fb1c
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, esi
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 0x6d4881
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, esi
call fcn.00535ff0
call fcn.0052fb1c
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, esi
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 esi, dword [ebp - 0x48]
mov ecx, esi
mov edx, 0xf
call fcn.00703648
push 0x24
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
mov ecx, esi
mov edx, 0x318
call fcn.00703648
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
movzx eax, byte [eax + 0x2d]
sub al, 0xa
jne 0x6d52ce
jmp case.0x6d44fb.9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov byte [eax + 0x98], 1
test byte [eax + 0x75], 0x20
jne case.0x6d44fb.9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp byte [eax + 0x29], 0
jne case.0x6d44fb.9
cmp dword [eax + 0x44], 0
jg case.0x6d44fb.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.0x6d44fb.9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je case.0x6d44fb.9
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x7a], 0
jne case.0x6d44fb.9
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp esi, dword [eax + 0x48]
je 0x6d4963
lea eax, [ebp - 0x5c]
push eax
push esi
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x6d4963
mov dword [ebx + 0xc], 1
jmp 0x6d52ce
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
xor edx, edx
call fcn.0070bc34
test al, al
jne 0x6d52ce
mov eax, dword [ebp - 0x44]
movzx edx, byte [0x6d52d8]
not edx
and byte [eax + 0xac], dl
mov eax, dword [ebp - 0x44]
cmp byte [eax + 9], 0
jne 0x6d499b
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xae], 0
je 0x6d49c3
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
jne 0x6d49c3
mov dword [ebx + 0xc], 1
jmp 0x6d52ce
call fcn.0042e494
cmp eax, 6
jl case.0x6d44fb.9
mov eax, dword [0x801588]
cmp byte [eax], 0
je case.0x6d44fb.9
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x44]
mov edx, dword [edx + 0x68]
cmp eax, dword [edx + 0x48]
je case.0x6d44fb.9
mov dword [ebx + 0xc], 1
jmp 0x6d52ce
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je case.0x6d44fb.9
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x7a], 0
jne case.0x6d44fb.9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
test byte [eax + 0x76], 4
je 0x6d4a4c
and dword [eax + 0x74], 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 + 0x48]
je 0x6d4a73
lea eax, [ebp - 0x5c]
push eax
push esi
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x6d4a73
push ebp
call fcn.006d4384
pop ecx
jmp 0x6d52ce
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xae], 0
je 0x6d4b4f
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
jne 0x6d4b4f
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 0x6d4b33
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 + 0x4c]
call fcn.00535ff0
call fcn.0052fb1c
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 0x6d4b3a
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]
mov eax, dword [eax + 0x68]
xor edx, edx
call fcn.0070bc34
test al, al
jne 0x6d4b76
mov eax, dword [0x801588]
cmp byte [eax], 0
je 0x6d4b82
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0x48], 0
jne 0x6d4b82
push ebp
call fcn.006d4384
pop ecx
jmp 0x6d52ce
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
mov edx, 0xffffffec
call fcn.00416be8
test ah, 0x20
jne 0x6d4c46
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.006d1248
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 eax, dword [eax + 0x68]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.00535ff0
call fcn.0052fb1c
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.004b879c
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.0076b7d4
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 [0x6d52d8]
not edx
and byte [eax + 0xac], dl
mov eax, dword [ebp - 0x44]
cmp byte [eax + 9], 0
jne case.0x6d44fb.9
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x18]
jmp case.0x6d44fb.9
cmp dword [ebx + 4], 1
jne case.0x6d44fb.9
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xaf], 0
je case.0x6d44fb.9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
call fcn.006fd0cc
mov eax, dword [ebp - 0x44]
mov byte [eax + 0xaf], 0
jmp case.0x6d44fb.9
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je case.0x6d44fb.9
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x7a], 0
jne case.0x6d44fb.9
mov eax, dword [0x801588]
cmp byte [eax], 0
jne 0x6d4f37
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0xad], 0
jne 0x6d4f37
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.006cde10
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
xor edx, edx
call fcn.0070bc34
test al, al
jne 0x6d52ce
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 + 0x48]
cmp eax, dword [ebp - 0x48]
je 0x6d4d6e
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x6d4d6e
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 0x6d52ce
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp byte [eax + 0x98], 0
je 0x6d4da6
mov eax, dword [ebp - 0x44]
cmp byte [eax + 9], 0
jne 0x6d4d8e
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.006cebec
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x4c], eax
xor eax, eax
push ebp
push 0x6d4f30
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x44]
call fcn.006d59d0
test al, al
je 0x6d4e53
mov eax, dword [ebp - 0x44]
mov byte [eax + 0xad], 1
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x84], 0
jle 0x6d4e12
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.006dfbe8
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x84], 0
jle 0x6d4e49
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.006d1248
mov dword [ebx + 0xc], eax
cmp dword [ebp - 0x48], 0
je 0x6d4f05
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x68], 0
je 0x6d4f05
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x84], 0
jge 0x6d4e9b
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x84], 2
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.00535ff0
call fcn.0052fb1c
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.0076b7d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6d4f37
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 [0x6d52dc]
not edx
and byte [eax + 0xac], dl
jmp 0x6d52ce
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
xor edx, edx
call fcn.006cdcb0
test al, al
je 0x6d502b
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
mov edx, dword [0x553bf0]
call fcn.00408c18
test al, al
je 0x6d502b
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
mov si, 0xffb3
call fcn.00408d04
test al, al
je 0x6d502b
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
cmp byte [eax + 0x20c], 0
je 0x6d502b
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov byte [eax + 0x98], 1
cmp dword [ebx], 7
sete dl
mov byte [eax + 0x28], dl
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006dca28
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x18]
mov eax, dword [ebp - 0x44]
test byte [eax + 0xac], 1
je 0x6d5002
push 0x501
push 0
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_RedrawWindow
jmp 0x6d52ce
mov eax, dword [ebp - 0x44]
test byte [eax + 0xac], 2
je 0x6d52ce
push 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
xor ecx, ecx
mov edx, 0x85
call fcn.00703648
jmp 0x6d52ce
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.006dfbe8
mov dword [ebx + 0xc], eax
jmp 0x6d52ce
mov edx, ebx
mov eax, dword [ebp - 0x44]
call fcn.006dca28
mov eax, dword [ebx]
cmp eax, 0x197
jg 0x6d50be
je 0x6d51b6
cmp eax, 0x100
jge 0x6d508d
sub eax, 5
je 0x6d51fd
sub eax, 0x2b
je 0x6d51c5
sub eax, 0x92
je 0x6d51b6
jmp 0x6d52ce
add eax, 0xffffff00
sub eax, 2
jb 0x6d51c5
add eax, 0xffffff82
sub eax, 2
jb 0x6d51b6
sub eax, 4
je 0x6d51a7
sub eax, 8
je 0x6d5153
jmp 0x6d52ce
cmp eax, 0xb013
jge 0x6d50e1
sub eax, 0x200
je 0x6d5237
dec eax
je 0x6d51c5
sub eax, 0xf
je 0x6d5121
jmp 0x6d52ce
add eax, 0xffff4fed
sub eax, 2
jb 0x6d51e1
sub eax, 0x17
je 0x6d5112
sub eax, 0xc22
je 0x6d52aa
add eax, 0xffffff4e
sub eax, 2
jb 0x6d51c5
jmp 0x6d52ce
mov eax, dword [ebp - 0x44]
mov byte [eax + 0xaf], 1
jmp 0x6d52ce
cmp word [ebx + 4], 1
jne 0x6d52ce
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
call fcn.0070e420
test byte [eax + 0xac], 4
je 0x6d52ce
mov eax, dword [ebp - 0x44]
mov byte [eax + 0xaf], 1
jmp 0x6d52ce
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
mov edx, dword [0x5761a0]
call fcn.00408c18
test al, al
je 0x6d52ce
cmp dword [ebx + 0xc], 0
jne 0x6d52ce
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + 0x2b0]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x6d52ce
mov dword [ebx + 0xc], 0xffffffff
jmp 0x6d52ce
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.006ceb18
jmp 0x6d52ce
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.006ceb18
jmp 0x6d52ce
mov eax, dword [ebp - 0x44]
cmp byte [eax + 6], 0
jne 0x6d52ce
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.006ceb18
jmp 0x6d52ce
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x6d52ce
mov edx, eax
mov eax, ebx
call fcn.007105ac
jmp 0x6d52ce
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x6d52ce
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
cmp dword [eax + 0x44], 0
jg 0x6d52ce
push 0
xor ecx, ecx
mov edx, 0x85
mov eax, dword [ebp - 0x44]
call fcn.006df368
jmp 0x6d52ce
mov eax, dword [0x801908]
cmp dword [eax], 0
je 0x6d52ce
mov eax, dword [0x801908]
mov eax, dword [eax]
test byte [eax + 0x1c], 0x10
jne 0x6d52ce
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
je 0x6d52ce
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x38]
mov edx, dword [0x801908]
mov edx, dword [edx]
cmp eax, dword [edx + 0x88]
je 0x6d5286
mov edx, eax
mov eax, dword [0x801908]
mov eax, dword [eax]
call fcn.007593bc
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
call fcn.0070e434
test al, al
jne 0x6d52ce
call sub.user32.dll_GetCapture
test eax, eax
je 0x6d52ce
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.006ceb18
jmp 0x6d52ce
mov eax, dword [ebx + 8]
mov eax, dword [eax + 8]
sub eax, 0xffffff9a
jne 0x6d52ce
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
call fcn.0070e434
test al, al
jne 0x6d52ce
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.006ceb18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret