Function at 0x4a0b6a
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5bb3d8
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 0x4a0b81
xor eax, eax
jmp 0x4a0edd
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4a0edd
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 0x4a0ed8
and edi, 0xffff
sub edi, 0x7b
je 0x4a0ccb
sub edi, 0x188
je 0x4a0bcd
sub edi, 2
je 0x4a0ccb
jmp 0x4a0ed8
mov ecx, dword [esi + 0x68]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4a0cb5
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.005a8b47
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.0059eb9b
test eax, eax
jne 0x4a0c41
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 6
call fcn.0059ebf2
xor eax, eax
jmp 0x4a0edd
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.0059eb68
test eax, eax
jne 0x4a0c74
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 7
call fcn.0059ebf2
xor eax, eax
jmp 0x4a0edd
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.0059ebf2
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 8
call fcn.0059ebf2
mov edx, dword [esi + 0x68]
push 0
push edi
push 0x111
push edx
call ebp
jmp 0x4a0ed8
mov edi, dword [esi + 0x54]
mov edx, dword [esi + 0x68]
push 0
push edi
push 0x111
push edx
call ebp
jmp 0x4a0ed8
mov eax, dword [0x638658]
mov ebp, dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4a0dd8
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x4a0dd8
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.005111b0
push 0xffffd8ef
push edi
call fcn.00511330
push 0xffffffffffffffff
push edi
call fcn.00510d70
add esp, 0x18
cmp eax, 6
jne 0x4a0dcd
fild dword [esp + 0x18]
sub esp, 8
fstp qword [esp]
push edi
call fcn.00511130
fild dword [esp + 0x28]
add esp, 4
fstp qword [esp]
push edi
call fcn.00511130
push 0
push 0
push 2
push edi
call fcn.005116a0
add esp, 0x1c
test eax, eax
je 0x4a0ed8
push 0xffffffffffffffff
push edi
call fcn.00510f90
add esp, 8
lea ecx, [esp + 0x30]
push eax
call fcn.005988cd
push 0xfffffffffffffffe
push edi
mov dword [esp + 0x30], 0
call fcn.00510b80
mov edx, dword [esp + 0x38]
push str.__NOREPORT__
push edx
call fcn.0057d2d3
add esp, 0x10
test eax, eax
je 0x4a0db7
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.005985d4
mov ecx, dword [0x638658]
add ecx, 0x60
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.0059885f
jmp 0x4a0ed8
push 0xffffffffffffffff
push edi
call fcn.00510bd0
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.005a8b47
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.0059eb9b
test eax, eax
jne 0x4a0e37
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 2
call fcn.0059ebf2
xor eax, eax
jmp 0x4a0edd
mov ecx, dword [esp + 0x14]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.0059eb68
mov edi, eax
test edi, edi
jne 0x4a0e69
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 3
call fcn.0059ebf2
xor eax, eax
jmp 0x4a0edd
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.0059ebf2
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 4
call fcn.0059ebf2
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