Function at 0x4f0c90
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x428
cmp eax, 0x10
push esi
push edi
jne 0x4f0cb8
push 0
push 0x8e
call fcn.004fa580
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
jmp 0x4f0cc3
mov eax, dword [0x63ad78]
mov dword [esp + 0x18], eax
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x4f0cff
mov ecx, dword [0x63b64c]
push ecx
call fcn.00502a60
add esp, 4
test eax, eax
jne 0x4f0ce6
call fcn.00502b30
mov dword [0x63b64c], eax
cmp dword [0x63b64c], edi
je 0x4f0cff
push esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov esi, eax
cmp esi, edi
mov dword [esp + 0x40], esi
jg 0x4f0d0a
pop edi
xor eax, eax
pop esi
add esp, 0x428
ret
mov edx, dword [0x645324]
push ebx
push ebp
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
cmp ebx, edi
jne 0x4f0d2c
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x428
ret
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x48
mov dword [esp + 0x50], eax
call fcn.00584cb0
push 0x47
mov dword [esp + 0x20], eax
call fcn.00584cb0
add esp, 8
test esi, esi
mov ebp, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], edi
jle 0x4f0de2
mov ecx, dword [esp + 0x20]
push 0x400
push 0x62
lea eax, [esp + 0x58]
push eax
push edi
push ecx
call dword [sym.imp.USER32.dll_GetMenuStringA]
test eax, eax
jg 0x4f0d94
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x4f0ddd
push 0
push 0
push 0
push eax
lea edx, [esp + 0x60]
push edx
push ebx
call fcn.00522d60
add esp, 0x18
mov esi, eax
mov eax, dword [esp + 0x20]
push edi
push eax
add esi, ebp
call dword [sym.imp.USER32.dll_GetSubMenu]
test eax, eax
je 0x4f0dbf
add esi, ebp
cmp esi, dword [esp + 0x34]
jle 0x4f0dc9
mov dword [esp + 0x34], esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x48]
lea eax, [ecx + edx + 4]
mov dword [esp + 0x1c], eax
inc edi
cmp edi, esi
jl 0x4f0d63
mov ecx, dword [esp + 0x4c]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [0x645324]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x440]
mov dword [0x609c58], eax
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [esp + 0x43c]
push esi
mov dword [esp + 0x1c], eax
call fcn.005827d0
push 0x6370d0
push 0x3e7
push 0x63ad88
mov ebp, eax
xor ebx, ebx
call fcn.00423900
mov ecx, dword [0x6374b8]
mov edi, dword [esp + 0x454]
add esp, 0x10
mov dword [0x63b170], ecx
lea ecx, [esp + 0x10]
movzx edx, di
mov eax, edi
push ecx
shr eax, 0x10
push esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x64532c]
test eax, eax
jne 0x4f0e8b
mov edx, dword [0x645324]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x645324]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x609c58]
add eax, 0xfffffff6
cmp eax, 0x15
ja case.0x4f0ea3.11
movzx ecx, byte [eax + 0x4f10c4]
jmp dword [ecx*4 + 0x4f10b4]
mov eax, dword [0x644110]
mov edx, dword [0x64410c]
mov ecx, dword [0x644114]
push 2
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], edx
mov edx, dword [0x644118]
push 0
push esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [0x60a1f4]
test eax, eax
jne 0x4f0ef1
mov ebx, 0x20
jmp 0x4f0f2f
cmp eax, 1
jne 0x4f0f0b
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jmp 0x4f101a
cmp eax, 2
jne 0x4f0f21
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], edx
jmp 0x4f1016
cmp eax, 3
jne 0x4f0d1f
mov ebx, 8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
jmp 0x4f101a
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x4f102d
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
jmp 0x4f1024
test edi, edi
jne 0x4f101a
test ebp, ebp
je 0x4f0fa4
mov eax, dword [ebp + 0x88c]
test eax, eax
je 0x4f0fa4
cmp dword [esp + 0x18], eax
jne 0x4f0fa4
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp + 0x88c]
mov dword [ebp + 0x8a4], edx
jmp 0x4f0fb0
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
sub eax, ecx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0
push esi
mov dword [esp + 0x24], eax
mov ebx, 4
call fcn.005028a0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
lea edx, [ecx + edi]
add esp, 0x10
cmp edx, eax
jl 0x4f100e
sub eax, edi
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jge 0x4f101a
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push esi
call fcn.005029d0
add esp, 0xc
mov edx, dword [0x645324]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push edx
mov edx, dword [esp + 0x28]
push 0
push eax
push ecx
push ebx
push edx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
je 0x4f0d1f
push ebp
call fcn.00582ac0
add esp, 4
test eax, eax
je 0x4f1095
mov esi, dword [ebp]
call fcn.00582a20
cmp esi, eax
jne 0x4f1095
mov eax, dword [ebp + 0x8a4]
test eax, eax
jne 0x4f108e
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4f1085
mov eax, esi
jmp 0x4f108e
push eax
call fcn.00582af0
add esp, 4
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x440]
pop ebp
pop ebx
pop edi
mov dword [0x609c58], eax
mov eax, 1
pop esi
add esp, 0x428
ret