Function at 0x4f03ca
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x616008
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x2c]
push edi
mov eax, dword [esi + 0x40]
cmp ecx, dword [eax + 8]
je 0x4f03e1
xor eax, eax
jmp 0x4f073d
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4f073d
mov edi, dword [esp + 0x34]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push ecx
push 0x541
push eax
call ebp
test eax, eax
jne 0x4f0738
and edi, 0xffff
sub edi, 0x7b
je 0x4f052b
sub edi, 0x188
je 0x4f042d
sub edi, 2
je 0x4f052b
jmp 0x4f0738
mov ecx, dword [esi + 0x68]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4f0515
mov ebx, vtable.CMenu.0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov edx, dword [esi + 0x40]
mov dword [esp + 0x28], 5
mov edi, dword [edx + 8]
call fcn.005fc162
mov eax, dword [eax + 0xc]
and edi, 0xffff
push edi
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
lea ecx, [esp + 0x14]
call fcn.005f22d2
test eax, eax
jne 0x4f04a1
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 6
call fcn.005f2329
xor eax, eax
jmp 0x4f073d
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.005f229f
test eax, eax
jne 0x4f04d4
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 7
call fcn.005f2329
xor eax, eax
jmp 0x4f073d
mov ecx, dword [esi + 0x54]
push ecx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemID]
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.005f2329
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 8
call fcn.005f2329
mov edx, dword [esi + 0x68]
push 0
push edi
push 0x111
push edx
call ebp
jmp 0x4f0738
mov edi, dword [esi + 0x54]
mov edx, dword [esi + 0x68]
push 0
push edi
push 0x111
push edx
call ebp
jmp 0x4f0738
mov eax, dword [0x6a20f0]
mov ebp, dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4f0638
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x4f0638
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call ebp
mov ecx, dword [esi + 0x68]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push str.g_OnSystemTrayMenu
push edi
call fcn.00563060
push 0xffffd8ef
push edi
call fcn.005631e0
push 0xffffffffffffffff
push edi
call fcn.00562c20
add esp, 0x18
cmp eax, 6
jne 0x4f062d
fild dword [esp + 0x18]
sub esp, 8
fstp qword [esp]
push edi
call fcn.00562fe0
fild dword [esp + 0x28]
add esp, 4
fstp qword [esp]
push edi
call fcn.00562fe0
push 0
push 0
push 2
push edi
call fcn.00563550
add esp, 0x1c
test eax, eax
je 0x4f0738
push 0xffffffffffffffff
push edi
call fcn.00562e40
add esp, 8
lea ecx, [esp + 0x30]
push eax
call fcn.005eba4f
push 0xfffffffffffffffe
push edi
mov dword [esp + 0x30], 0
call fcn.00562a30
mov edx, dword [esp + 0x38]
push str.__NOREPORT__
push edx
call fcn.005cf4d3
add esp, 0x10
test eax, eax
je 0x4f0617
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.005eb756
mov ecx, dword [0x6a20f0]
add ecx, 0x60
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005eb9e1
jmp 0x4f0738
push 0xffffffffffffffff
push edi
call fcn.00562a80
add esp, 8
mov ebx, vtable.CMenu.0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x40]
mov dword [esp + 0x28], 1
mov edi, dword [eax + 8]
call fcn.005fc162
mov eax, dword [eax + 0xc]
and edi, 0xffff
push edi
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
lea ecx, [esp + 0x14]
call fcn.005f22d2
test eax, eax
jne 0x4f0697
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 2
call fcn.005f2329
xor eax, eax
jmp 0x4f073d
mov ecx, dword [esp + 0x14]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.005f229f
mov edi, eax
test edi, edi
jne 0x4f06c9
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 3
call fcn.005f2329
xor eax, eax
jmp 0x4f073d
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x54]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
lea edx, [esp + 0x18]
push edx
call ebp
mov eax, dword [esi + 0x68]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esi + 0x68]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [edi + 4]
push 0
push edx
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov edx, dword [esi + 0x68]
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x10]
call fcn.005f2329
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 4
call fcn.005f2329
mov eax, 1
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8