Function at 0x4effba
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x615608
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 0x4effd1
xor eax, eax
jmp 0x4f032d
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4f032d
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 0x4f0328
and edi, 0xffff
sub edi, 0x7b
je 0x4f011b
sub edi, 0x188
je 0x4f001d
sub edi, 2
je 0x4f011b
jmp 0x4f0328
mov ecx, dword [esi + 0x68]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4f0105
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.005fb8cb
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.005f19e3
test eax, eax
jne 0x4f0091
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 6
call fcn.005f1a3a
xor eax, eax
jmp 0x4f032d
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.005f19b0
test eax, eax
jne 0x4f00c4
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 7
call fcn.005f1a3a
xor eax, eax
jmp 0x4f032d
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.005f1a3a
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 8
call fcn.005f1a3a
mov edx, dword [esi + 0x68]
push 0
push edi
push 0x111
push edx
call ebp
jmp 0x4f0328
mov edi, dword [esi + 0x54]
mov edx, dword [esi + 0x68]
push 0
push edi
push 0x111
push edx
call ebp
jmp 0x4f0328
mov eax, dword [0x6a1210]
mov ebp, dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4f0228
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x4f0228
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.00562750
push 0xffffd8ef
push edi
call fcn.005628d0
push 0xffffffffffffffff
push edi
call fcn.00562310
add esp, 0x18
cmp eax, 6
jne 0x4f021d
fild dword [esp + 0x18]
sub esp, 8
fstp qword [esp]
push edi
call fcn.005626d0
fild dword [esp + 0x28]
add esp, 4
fstp qword [esp]
push edi
call fcn.005626d0
push 0
push 0
push 2
push edi
call fcn.00562c40
add esp, 0x1c
test eax, eax
je 0x4f0328
push 0xffffffffffffffff
push edi
call fcn.00562530
add esp, 8
lea ecx, [esp + 0x30]
push eax
call fcn.005eb163
push 0xfffffffffffffffe
push edi
mov dword [esp + 0x30], 0
call fcn.00562120
mov edx, dword [esp + 0x38]
push str.__NOREPORT__
push edx
call fcn.005cebb3
add esp, 0x10
test eax, eax
je 0x4f0207
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.005eae6a
mov ecx, dword [0x6a1210]
add ecx, 0x60
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.005eb0f5
jmp 0x4f0328
push 0xffffffffffffffff
push edi
call fcn.00562170
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.005fb8cb
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.005f19e3
test eax, eax
jne 0x4f0287
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 2
call fcn.005f1a3a
xor eax, eax
jmp 0x4f032d
mov ecx, dword [esp + 0x14]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.005f19b0
mov edi, eax
test edi, edi
jne 0x4f02b9
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 3
call fcn.005f1a3a
xor eax, eax
jmp 0x4f032d
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.005f1a3a
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 4
call fcn.005f1a3a
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