Function at 0x66f9d8
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 - 4], eax
cmp dword [ebx], 0xa100
jne 0x66fa04
movzx eax, word [ebx + 6]
sub ax, 7
jne 0x66fa04
mov dword [ebx + 0xc], 1
jmp 0x6705c1
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x6c]
test esi, esi
je 0x66fa1b
mov eax, esi
xor edx, edx
call fcn.006de388
test al, al
jne 0x66fa2a
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.006773a4
jmp 0x6705c1
mov esi, dword [ebx]
mov eax, esi
cmp eax, 0x85
jg 0x66fa86
je 0x67010e
add eax, 0xfffffff9
cmp eax, 0xd
ja case.0x66fa47.9
jmp dword [eax*4 + 0x66fa4e]
sub eax, 0x317
je 0x66fac4
sub eax, 0x9de9
je 0x66faad
sub eax, 0xf0c
je case.0x66fa47.12
sub eax, 2
je case.0x66fa47.12
jmp case.0x66fa47.9
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00670a14
test al, al
jne 0x6705c1
jmp case.0x66fa47.9
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, esi
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x54]
mov eax, dword [ebp - 4]
call fcn.0067a5b4
mov edi, eax
mov dword [ebx + 0xc], edi
cmp edi, 2
je 0x6705c1
mov eax, dword [ebp - 4]
add eax, 0x2c
push eax
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0xc]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.006697dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov byte [eax + 0x28], 0
mov byte [eax + 0x80], 1
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5d], 0
jne 0x66fb3e
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x6705c1
mov edx, dword [ebp - 4]
movzx ecx, byte [edx + 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.0066a660
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0x66fb77
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov ecx, dword [ebp - 4]
xor edx, edx
call fcn.00669f28
mov eax, dword [ebx + 8]
and eax, 4
cmp eax, 4
jne 0x66fbd8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
neg eax
mov ecx, eax
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00523ee0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x88]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x88]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_IntersectClipRect
jmp 0x66fc41
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
call fcn.005072ac
call fcn.00501678
push eax
push 0
push 0
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.006705c8
mov eax, dword [ebp - 0x68]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.006109e0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x54]
or ecx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.0066cdac
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov ecx, eax
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00523ee0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x80], 0
je 0x66fd03
mov eax, dword [ebp - 4]
cmp dword [eax + 0x7c], 0
je 0x66fd03
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x7c]
mov eax, edi
xor ecx, ecx
mov edx, 1
call fcn.0066b2e4
movzx edx, byte [edi + 0x24]
imul edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x88]
add edx, edx
sub eax, edx
pop edx
sub eax, edx
push eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x80]
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.0066b2e4
movzx edx, byte [esi + 0x24]
imul edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x88]
add edx, edx
sub eax, edx
pop edx
sub eax, edx
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_IntersectClipRect
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.006db5cc
test al, al
je 0x66fdbc
mov eax, dword [ebx + 8]
and eax, 4
cmp eax, 4
jne 0x66fd6b
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
call fcn.005072ac
call fcn.00501678
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x66fdea
push 0xcc0020
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x88]
push esi
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
call fcn.005072ac
call fcn.00501678
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x66fdea
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
xor edx, edx
xor eax, eax
call fcn.0040ffe0
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xb4]
mov eax, dword [ebp - 8]
call fcn.0061080c
push 0
mov esi, dword [ebp - 8]
push esi
push 0xf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_SendMessageW
push 0x24
push esi
push 0x318
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_SendMessageW
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x50]
sub eax, 0xa
jne 0x6705c1
jmp case.0x66fa47.9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov byte [eax + 0x80], 1
cmp byte [eax + 0x28], 0
jne case.0x66fa47.9
push 0x405
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_RedrawWindow
jmp case.0x66fa47.9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je case.0x66fa47.9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x98], 0
jne case.0x66fa47.9
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
cmp esi, dword [eax + 0x5c]
je 0x66feb2
lea eax, [ebp - 0x5c]
push eax
push esi
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x66feb2
mov dword [ebx + 0xc], 1
jmp 0x6705c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor edx, edx
call fcn.006db650
test al, al
jne 0x6705c1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5d], 0
jne 0x66fed8
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 4]
cmp byte [eax + 0xb0], 0
je 0x66ff00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
jne 0x66ff00
mov dword [ebx + 0xc], 1
jmp 0x6705c1
mov eax, dword [0x762880]
cmp dword [eax], 6
jl case.0x66fa47.9
mov eax, dword [0x7626b8]
cmp byte [eax], 0
je case.0x66fa47.9
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x6c]
cmp eax, dword [edx + 0x5c]
je case.0x66fa47.9
mov dword [ebx + 0xc], 1
jmp 0x6705c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je case.0x66fa47.9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x98], 0
jne case.0x66fa47.9
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
cmp esi, dword [eax + 0x5c]
je 0x66ff7d
lea eax, [ebp - 0x5c]
push eax
push esi
call sub.gdi32.dll_GetClipBox
dec eax
je 0x6705c1
mov eax, dword [ebp - 4]
cmp byte [eax + 0xb0], 0
je 0x670059
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
jne 0x670059
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_BeginPaint
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x67003d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
call fcn.005072ac
call fcn.00501678
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x670044
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_ReleaseDC
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor edx, edx
call fcn.006db650
test al, al
jne 0x670080
mov eax, dword [0x7626b8]
cmp byte [eax], 0
je 0x6700a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
cmp dword [eax + 0x5c], 0
jne 0x6700a5
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_BeginPaint
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_EndPaint
jmp 0x6705c1
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x54]
or ecx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.0066cdac
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5d], 0
jne case.0x66fa47.9
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x10]
jmp case.0x66fa47.9
cmp dword [ebx + 4], 1
jne case.0x66fa47.9
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc0], 0
je case.0x66fa47.9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x44]
call fcn.0065a074
mov eax, dword [ebp - 4]
mov byte [eax + 0xc0], 0
jmp case.0x66fa47.9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je case.0x66fa47.9
mov eax, dword [ebp - 4]
cmp byte [eax + 0x98], 0
jne case.0x66fa47.9
mov eax, dword [0x7626b8]
cmp byte [eax], 0
jne 0x6705c1
mov eax, dword [ebp - 4]
add eax, 0x2c
push eax
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0xc]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.006697dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor edx, edx
call fcn.006db650
test al, al
jne 0x6705c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x5c]
cmp eax, dword [ebp - 8]
je 0x6701c3
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x6701c3
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_ReleaseDC
jmp 0x6705c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
cmp byte [eax + 0x80], 0
je 0x6701fb
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5d], 0
jne 0x6701e3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.0066a660
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x6702b8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x54]
or ecx, 0xffffffff
mov eax, dword [ebp - 4]
call fcn.0066cdac
mov dword [ebx + 0xc], eax
cmp dword [ebp - 8], 0
je 0x67028d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x6c], 0
je 0x67028d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x4c]
call fcn.005072ac
call fcn.00501678
push eax
push 0
push 0
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.006705c8
mov eax, dword [ebp - 0x68]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.006109e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6705c1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_ReleaseDC
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor edx, edx
call fcn.006696cc
test al, al
je 0x670366
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
cmp dword [eax + 0x44], 0
je 0x670366
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x44]
mov edx, dword [0x51d5fc]
call fcn.004078ac
test al, al
je 0x670366
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x44]
mov si, 0xffb5
call fcn.00407930
test al, al
je 0x670366
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x44]
cmp byte [eax + 0x1f4], 0
je 0x670366
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov byte [eax + 0x80], 1
cmp dword [ebx], 7
sete dl
mov byte [eax + 0x54], dl
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.006773a4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x10]
push 0x501
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_RedrawWindow
jmp 0x6705c1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.006773a4
jmp 0x6705c1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.006773a4
mov eax, dword [ebx]
cmp eax, 0x197
jg 0x6703e8
je 0x6704e5
cmp eax, 0x100
jge 0x6703b7
sub eax, 5
je 0x67052c
sub eax, 0x2b
je 0x6704f4
sub eax, 0x92
je 0x6704e5
jmp 0x6705c1
add eax, 0xffffff00
sub eax, 2
jb 0x6704f4
add eax, 0xffffff82
sub eax, 2
jb 0x6704e5
sub eax, 4
je 0x6704d6
sub eax, 8
je 0x67047e
jmp 0x6705c1
cmp eax, 0xb013
jge 0x67040b
sub eax, 0x200
je 0x670557
dec eax
je 0x6704f4
sub eax, 0xf
je 0x670440
jmp 0x6705c1
add eax, 0xffff4fed
sub eax, 2
jb 0x670510
sub eax, 0x17
je 0x670431
add eax, 0xfffff32c
sub eax, 2
jb 0x6704f4
jmp 0x6705c1
mov eax, dword [ebp - 4]
mov byte [eax + 0xc0], 1
jmp 0x6705c1
movzx eax, word [ebx + 4]
dec eax
sub ax, 2
jae 0x6705c1
cmp word [ebx + 4], 1
jne 0x6705c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.006dd8ac
test byte [eax + 0x7d], 4
je 0x6705c1
mov eax, dword [ebp - 4]
mov byte [eax + 0xc0], 1
jmp 0x6705c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov esi, dword [eax + 0x44]
test esi, esi
je 0x6705c1
mov eax, esi
mov edx, dword [0x53f968]
call fcn.004078ac
test al, al
je 0x6705c1
cmp dword [ebx + 0xc], 0
jne 0x6705c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x44]
mov eax, dword [eax + 0x298]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x6705c1
mov dword [ebx + 0xc], 0xffffffff
jmp 0x6705c1
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0066a598
jmp 0x6705c1
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0066a598
jmp 0x6705c1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5c], 0
jne 0x6705c1
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0066a598
jmp 0x6705c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x6705c1
mov edx, eax
mov eax, ebx
call fcn.006deed8
jmp 0x6705c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x6705c1
push 0
push 0
push 0x85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_SendMessageW
jmp 0x6705c1
mov eax, dword [0x762adc]
cmp dword [eax], 0
je 0x6705c1
mov eax, dword [0x762adc]
mov eax, dword [eax]
test byte [eax + 0x1c], 0x10
jne 0x6705c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
push eax
call sub.user32.dll_IsWindowEnabled
test eax, eax
je 0x6705c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov edx, dword [0x762adc]
mov edx, dword [edx]
cmp eax, dword [edx + 0x78]
je 0x67059f
mov edx, eax
mov eax, dword [0x762adc]
mov eax, dword [eax]
call fcn.006cfe8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.006dd8c0
test al, al
jne 0x6705c1
call sub.user32.dll_GetCapture
test eax, eax
je 0x6705c1
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0066a598
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret