Function at 0x4a3440
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b385
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x567e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0x10]
cmp dword [ebp + 0xc], ecx
jne 0x4a3709
movzx eax, word [ebp + 0x10]
mov edx, 0x205
cmp ax, dx
jne 0x4a3603
cmp dword [ebx + 0x410], 0
jne 0x4a3709
movzx eax, cx
push eax
push dword [0x56d9e4]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_LoadMenuW]
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
je 0x4a3709
push 0
push esi
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
mov dword [ebp - 0x40], edi
mov eax, 0x2c
mov byte [ebp - 4], 1
test ebx, ebx
mov ecx, ebx
push edi
cmove ecx, eax
mov eax, dword [ecx]
call dword [eax]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
mov dword [ebp - 0x44], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 4
lea eax, [ebx - 0x28]
test ebx, ebx
cmove eax, ecx
mov dword [ebp - 0x40], eax
push dword [eax]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebx + 0x3c4]
test eax, eax
jne 0x4a351e
push 1
push eax
jmp 0x4a3526
cmp eax, 0xffffffff
je 0x4a352d
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
push 0
mov dword [ebx + 0x40c], 1
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
push ecx
push eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
jne 0x4a35b5
push 2
push dword [ebp - 0x4c]
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
test eax, eax
je 0x4a35b5
xor ecx, ecx
mov dword [ebp - 0x38], 0x28
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ecx, dword [ebp - 0x3c]
test eax, eax
je 0x4a35b8
mov eax, dword [ebp - 0x24]
cmp ecx, eax
jge 0x4a35ac
mov ecx, eax
jmp 0x4a35b8
cmp ecx, dword [ebp - 0x1c]
cmovg ecx, dword [ebp - 0x1c]
jmp 0x4a35b8
mov ecx, dword [ebp - 0x3c]
push 0
push dword [ebp - 0x50]
push 0
push dword [ebp - 0x4c]
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov eax, dword [ebp - 0x40]
push 0
push 0
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.USER32.dll_DestroyMenu]
push esi
call edi
xor ecx, ecx
test eax, eax
mov dword [ebx + 0x40c], ecx
cmovne esi, ecx
test esi, esi
je 0x4a3709
push esi
call edi
jmp 0x4a3709
mov ecx, 0x200
cmp ax, cx
jne 0x4a361f
lea eax, [ebx + 0x404]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
jmp 0x4a3709
mov ecx, 0x203
cmp ax, cx
jne 0x4a369a
mov eax, 4
lea edi, [ebx - 0x28]
test ebx, ebx
cmove edi, eax
push dword [edi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
movzx eax, word [ebx + 0x10]
push eax
push dword [0x56d9e4]
call dword [sym.imp.USER32.dll_LoadMenuW]
mov esi, eax
test esi, esi
je 0x4a3709
push 0
push esi
call dword [sym.imp.USER32.dll_GetSubMenu]
mov ecx, dword [ebx + 0x3c4]
push 0
test ecx, ecx
je 0x4a3671
push ecx
jmp 0x4a367b
push eax
call dword [sym.imp.USER32.dll_GetMenuItemID]
push 0
push eax
push 0x111
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.USER32.dll_DestroyMenu]
push esi
call edi
test eax, eax
jne 0x4a3709
push esi
call edi
jmp 0x4a3709
mov ecx, 0x201
cmp ax, cx
jne 0x4a36be
test ebx, ebx
lea eax, [ebx + 0x440]
mov ecx, 0x46c
cmove eax, ecx
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
jmp 0x4a3709
mov ecx, 0x405
cmp ax, cx
jne 0x4a3709
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebx + 0x404]
jne 0x4a36f1
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebx + 0x408]
jne 0x4a36f1
cmp dword [ebx + 0x40c], 0
je 0x4a3709
mov eax, dword [ebx + 0x414]
test eax, eax
je 0x4a3709
push dword [ebx + 0x41c]
push dword [ebx + 0x418]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f8b
mov esp, ebp
pop ebp
ret 0x10