Function at 0x4206d0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638638
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x6eed24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x3eb
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
push 0x1012
push dword [ebx + 0x48]
call esi
push 0
push 0
push 0x1004
push dword [ebx + 0x48]
mov edi, eax
call esi
cmp edi, eax
jge 0x420975
cmp edi, 0xffffffff
jle 0x420975
mov dword [ebp - 0x30], 0
push edi
lea ecx, [ebx + 0x48]
mov dword [ebp - 4], 0
call fcn.004203c0
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, 0x6f50d0
call fcn.0043d280
test al, al
je 0x420961
mov ecx, ebx
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0xe1
push dword [0x6f8c64]
call dword [sym.imp.USER32.dll_LoadMenuW]
mov esi, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 0x20
mov ecx, 0x6f50d0
call fcn.0043d920
mov edi, dword [sym.imp.USER32.dll_ModifyMenuW]
push eax
push 0x8015
push 0
push 0x8015
push esi
call edi
lea eax, [ebp - 0x1c]
mov ecx, 0x6f50d0
push eax
push 0x21
call fcn.0043d920
push eax
push 0x8016
push 0
push 0x8016
push esi
call edi
lea eax, [ebp - 0x1c]
mov ecx, 0x6f50d0
push eax
push 0x22
call fcn.0043d920
push eax
push 0x8017
push 0
push 0x8017
push esi
call edi
mov eax, dword [ebp - 0x30]
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
mov ebx, dword [eax + 0xa4]
mov eax, 0
shr ebx, 1
not bl
and bl, 1
setne al
dec eax
and eax, 3
push eax
push 0x8015
push esi
call edi
movzx eax, bl
neg eax
sbb eax, eax
and eax, 3
push eax
push 0x8016
push esi
call edi
mov eax, dword [ebp - 0x2c]
mov ebx, 1
push 2
push 0xffffffffffffffff
push 0x100c
push dword [eax + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4208d9
mov esi, dword [ebp - 0x2c]
push 0xf000
push edi
push 0x102c
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push edi
shr eax, 0xc
push 0x100c
push dword [esi + 0x48]
dec eax
and ebx, eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4208a4
mov esi, dword [ebp - 0x3c]
neg ebx
sbb ebx, ebx
and ebx, 3
push ebx
push 0x8017
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
push esi
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ecx, dword [ebp - 0x2c]
push 0
push dword [ecx + 4]
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 2
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov edi, dword [sym.imp.USER32.dll_DestroyMenu]
test esi, esi
je 0x420931
push esi
call edi
neg eax
sbb eax, eax
not eax
and esi, eax
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
test eax, eax
je 0x420945
push eax
call fcn.00446420
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
test esi, esi
je 0x420961
push esi
call edi
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], 4
test eax, eax
je 0x420975
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b2558
mov esp, ebp
pop ebp
ret 0x10