Function at 0x41f320
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x41f522
lea eax, [ebp - 0x70]
push eax
push 0x54
push ebx
call sub.user32.dll_DrawIconEx
test eax, eax
je 0x41f522
mov eax, ebx
call fcn.0041e814
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41f51b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call fcn.00406308
call fcn.0041d220
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_CallNextHookEx
call fcn.0041d220
mov dword [ebp - 0x10], eax
push 0
push 1
push 1
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.user32.dll_CharLowerA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41f4ed
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetClientRect
mov dword [ebp - 0x1c], eax
cmp edi, 0x1fffffff
jne 0x41f3e3
push 0x42
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_FrameRect
jmp 0x41f4da
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_CallNextHookEx
call fcn.0041d220
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41f4d3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x5c], 0
je 0x41f426
mov byte [ebp - 0x11], 1
xor eax, eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x70]
push eax
push 0
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.0041ec58
mov ebx, eax
jmp 0x41f42a
mov byte [ebp - 0x11], 0
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetClientRect
mov dword [ebp - 0x18], eax
test esi, esi
je 0x41f465
push 0
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetCursor
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetActiveWindow
push 0
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetCursor
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetActiveWindow
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetCursorPos
mov esi, eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_CharToOemA
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetCursorPos
cmp dword [ebp - 0x18], 0
je 0x41f4b0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetClientRect
cmp byte [ebp - 0x11], 0
je 0x41f4bc
push ebx
call sub.user32.dll_DefWindowProcA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f4da
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_DefMDIChildProcA
ret
cmp dword [ebp - 0x1c], 0
je 0x41f4ed
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetClientRect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f522
cmp dword [ebp - 0x10], 0
je 0x41f509
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_DefMDIChildProcA
cmp dword [ebp - 8], 0
je 0x41f51a
mov eax, dword [ebp - 8]
push eax
push 0
call fcn.00406540
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret