Function at 0x49d52a
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5b1dc8
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 0x49d541
xor eax, eax
jmp 0x49d898
mov eax, dword [esi + 0x68]
test eax, eax
je 0x49d898
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 0x49d893
and edi, 0xffff
sub edi, 0x7b
je 0x49d588
sub edi, 0x188
je 0x49d68a
sub edi, 2
jne 0x49d893
mov eax, dword [0x62cf08]
mov ebp, dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x49d793
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x49d793
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.00508ae0
push 0xffffd8ef
push edi
call fcn.00508c60
push 0xffffffffffffffff
push edi
call fcn.005086a0
add esp, 0x18
cmp eax, 6
jne 0x49d788
fild dword [esp + 0x18]
sub esp, 8
fstp qword [esp]
push edi
call fcn.00508a60
fild dword [esp + 0x28]
add esp, 4
fstp qword [esp]
push edi
call fcn.00508a60
push 0
push 0
push 2
push edi
call fcn.00508fd0
add esp, 0x1c
test eax, eax
je 0x49d893
push 0xffffffffffffffff
push edi
call fcn.005088c0
add esp, 8
lea ecx, [esp + 0x30]
push eax
call fcn.0058f74d
push 0xfffffffffffffffe
push edi
mov dword [esp + 0x30], 0
call fcn.005084b0
mov edx, dword [esp + 0x38]
push str.__NOREPORT__
push edx
call fcn.00574123
add esp, 0x10
test eax, eax
je 0x49d674
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0058f454
mov ecx, dword [0x62cf08]
add ecx, 0x60
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.0058f6df
jmp 0x49d893
mov ecx, dword [esi + 0x68]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esi + 0x58]
test eax, eax
je 0x49d772
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.0059f9bd
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.00595a1b
test eax, eax
jne 0x49d6fe
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 6
call fcn.00595a72
xor eax, eax
jmp 0x49d898
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.005959e8
test eax, eax
jne 0x49d731
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 7
call fcn.00595a72
xor eax, eax
jmp 0x49d898
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.00595a72
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 8
call fcn.00595a72
mov edx, dword [esi + 0x68]
push 0
push edi
push 0x111
push edx
call ebp
jmp 0x49d893
mov edi, dword [esi + 0x54]
mov edx, dword [esi + 0x68]
push 0
push edi
push 0x111
push edx
call ebp
jmp 0x49d893
push 0xffffffffffffffff
push edi
call fcn.00508500
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.0059f9bd
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.00595a1b
test eax, eax
jne 0x49d7f2
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 2
call fcn.00595a72
xor eax, eax
jmp 0x49d898
mov ecx, dword [esp + 0x14]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.005959e8
mov edi, eax
test edi, edi
jne 0x49d824
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 3
call fcn.00595a72
xor eax, eax
jmp 0x49d898
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.00595a72
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 4
call fcn.00595a72
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