Function at 0x45a6ef
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
and dword [ebp - 0xc], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
cmp edi, 0x100
je 0x45a935
cmp edi, 0x104
je 0x45a91d
cmp edi, 0x1ff
jbe 0x45a914
mov ebx, 0x201
cmp edi, ebx
jbe 0x45a81a
cmp edi, 0x203
jbe 0x45a914
add ebx, 4
cmp edi, ebx
ja 0x45a914
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov edx, eax
test edx, edx
je 0x45a92f
mov ax, word [0x469bb8]
mov ecx, 0x81
mov word [ebp - 0x21c], ax
xor eax, eax
lea edi, [ebp - 0x21a]
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x21c]
push eax
push edx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x21c]
push 0x4122e8
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
jne 0x45a92f
cmp dword [ebp + 0xc], ebx
jne 0x45a914
mov ecx, dword [esi + 0x420]
test ecx, ecx
je 0x45a7d7
mov eax, dword [esi + 0x424]
sub eax, ecx
sar eax, 2
lea edi, [eax - 1]
test edi, edi
jl 0x45a9b0
push dword [ebp - 4]
mov eax, dword [esi + 0x420]
push dword [ebp - 8]
push dword [eax + edi*4]
push 0
call dword [sym.imp.USER32.dll_MenuItemFromPoint]
cmp eax, 0xffffffff
jne 0x45a806
dec edi
jns 0x45a7e2
jmp 0x45a9b0
mov ecx, dword [esi + 0x420]
push dword [ecx + edi*4]
push eax
push 0x122
jmp 0x45a9a7
mov eax, dword [ebp + 0x14]
movzx ecx, ax
shr eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], ecx
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 4]
mov ecx, esi
push dword [ebp - 8]
call fcn.00465bf4
cmp edi, ebx
mov dword [ebp + 0x10], eax
jne 0x45a85e
test eax, eax
jl 0x45a910
cmp eax, dword [esi + 0x410]
jge 0x45a910
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WindowFromPoint]
and word [ebp - 0x21c], 0
mov edx, eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x21c]
push eax
push edx
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x21c]
push 0x4122e8
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x45a914
cmp dword [ebp + 0xc], 0x200
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
jne 0x45a8d9
cmp dword [esi + 0x404], edx
jne 0x45a8d9
cmp dword [esi + 0x408], ecx
je 0x45a914
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x45a90b
cmp dword [esi + 0x58], eax
je 0x45a900
mov dword [esi + 0x58], eax
mov dword [ebp - 0xc], 1
mov dword [esi + 0x404], edx
mov dword [esi + 0x408], ecx
jmp 0x45a997
cmp dword [ebp + 0xc], ebx
jne 0x45a8ef
or dword [esi + 0x58], 0xffffffff
jmp 0x45a8e8
cmp dword [ebp + 0xc], ebx
jne 0x45a8ef
or dword [esi + 0x58], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0x10], 0x12
je 0x45a92f
cmp dword [ebp + 0x10], 0x5a
jbe 0x45a914
cmp dword [ebp + 0x10], 0x5c
ja 0x45a914
or dword [esi + 0x58], 0xffffffff
jmp 0x45a9a1
mov eax, dword [ebp + 0x10]
cmp eax, 0xd
je 0x45a993
cmp eax, 0x12
je 0x45a92f
cmp eax, 0x25
je 0x45a977
cmp eax, 0x27
je 0x45a958
cmp eax, 0x5a
jbe 0x45a914
cmp eax, 0x5c
jbe 0x45a92f
jmp 0x45a914
mov ecx, esi
call fcn.0045a9b8
test eax, eax
je 0x45a914
inc dword [esi + 0x58]
mov eax, dword [esi + 0x58]
cmp eax, dword [esi + 0x414]
jne 0x45a9a1
and dword [esi + 0x58], 0
jmp 0x45a9a1
mov ecx, esi
call fcn.0045a9b8
test eax, eax
je 0x45a914
dec dword [esi + 0x58]
jns 0x45a9a1
mov eax, dword [esi + 0x414]
dec eax
mov dword [esi + 0x58], eax
jmp 0x45a9a1
or dword [esi + 0x58], 0xffffffff
cmp dword [ebp - 0xc], 0
je 0x45a914
push 0
push 0
push 0x1f
push dword [esi + 0x74]
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
pop eax
jmp 0x45a916