Function at 0x488c50
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e8a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x590cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [ebp + 0xc], eax
jne 0x488e6c
mov ecx, dword [ebp + 0x10]
mov edx, 0x205
cmp cx, dx
jne 0x488d96
cmp dword [esi + 0x410], 0
jne 0x488e6c
movzx eax, ax
push eax
mov eax, dword [0x596690]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_LoadMenuW]
mov edi, eax
mov dword [ebp + 0xc], edi
test edi, edi
je 0x488e6c
push 0
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00488c20
mov ebx, dword [ebp + 0x10]
mov ecx, esi
mov edx, dword [ecx]
mov eax, dword [edx]
push ebx
mov byte [ebp - 4], 1
call eax
xor eax, eax
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi - 0x28]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esi + 0x3c4]
test eax, eax
jne 0x488d11
push 1
push eax
jmp 0x488d19
cmp eax, 0xffffffff
je 0x488d20
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x40c], 1
mov eax, dword [esi - 0x28]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
push ecx
mov dword [ebp + 0x10], eax
call fcn.00488b70
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add esp, 8
push 0
push edx
push 0
push ecx
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov edx, dword [esi - 0x28]
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebx, dword [sym.imp.USER32.dll_DestroyMenu]
test edi, edi
je 0x488d7c
push edi
call ebx
test eax, eax
je 0x488d7c
xor edi, edi
mov dword [esi + 0x40c], 0
test edi, edi
je 0x488e6c
push edi
call ebx
jmp 0x488e6c
mov eax, 0x200
cmp cx, ax
jne 0x488db2
add esi, 0x404
push esi
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x488e6c
mov edx, 0x203
cmp cx, dx
jne 0x488e33
mov eax, dword [esi - 0x28]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
movzx eax, word [esi + 0x10]
mov ecx, dword [0x596690]
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadMenuW]
mov dword [ebp + 0xc], eax
lea ecx, [ebp + 0xc]
test eax, eax
je 0x488e2c
push 0
lea edx, [ebp + 0x10]
push edx
call fcn.00488c20
mov eax, dword [esi + 0x3c4]
push 0
test eax, eax
je 0x488e05
push eax
mov eax, dword [esi - 0x28]
push 0x111
push eax
jmp 0x488e1b
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemID]
mov edx, dword [esi - 0x28]
push 0
push eax
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp + 0xc]
call fcn.00488b50
lea ecx, [ebp + 0xc]
call fcn.00488c00
jmp 0x488e6c
mov eax, 0x201
cmp cx, ax
je 0x488e6c
mov edx, 0x405
cmp cx, dx
jne 0x488e6c
mov ecx, esi
call fcn.00488b00
test eax, eax
jne 0x488e6c
mov eax, dword [esi + 0x414]
test eax, eax
je 0x488e6c
mov ecx, dword [esi + 0x41c]
mov edx, dword [esi + 0x418]
push ecx
push edx
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10