Function at 0x45fcf0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x704], edi
je 0x45fd49
cmp dword [esi + 0x710], edi
je 0x45fd49
mov eax, dword [esi + 0x70c]
mov dword [esi + 0x714], 1
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x704]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45fd43
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov dword [esi + 0x710], edi
mov eax, dword [esi + 0x704]
cmp eax, edi
je 0x45fd60
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x704], edi
mov edx, dword [esi + 0x50]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45fdaa
mov eax, dword [esi + 0x50]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0x400
push 0x400
lea ecx, [esp + 0x2c]
push eax
push ecx
call edi
test eax, eax
je 0x45fdaa
mov edx, dword [esi + 0x50]
push 1
push 0x400
push 0x400
lea eax, [esp + 0x2c]
push edx
push eax
call edi
test eax, eax
jne 0x45fd8f
mov ebx, dword [esp + 0x44]
mov ebp, dword [esi + 0x30]
mov edi, dword [esp + 0x40]
test bl, 8
je 0x45fdc1
mov ecx, edi
call fcn.0045b110
cmp edi, ebp
jne 0x45fddd
shr ebx, 2
and ebx, 1
pop edi
mov dword [esi + 0x34], ebx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret 8
lea ecx, [esi + 0x6ec]
mov dword [esi + 0x30], edi
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x6e0], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov eax, 0x7fff
mov dword [esi + 0x6e8], eax
mov dword [esi + 0x6e4], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x50]
jne 0x45fe29
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, dword [esi + 0x50]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x45fe46
test ebp, ebp
je 0x45fe46
push 0
mov ecx, ebp
call fcn.0045c940
mov eax, ebx
mov dword [esi + 0x6c4], 0
and eax, 2
mov dword [esp + 0x44], eax
jne 0x45fe69
mov eax, dword [esi + 0x50]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
test edi, edi
je 0x45fea7
mov ecx, edi
call fcn.0045aeb0
test eax, eax
jne 0x45fe85
push 0xffffffffffffffff
mov ecx, edi
call fcn.0045b0c0
test eax, eax
je 0x45fea7
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
mov ecx, esi
call fcn.00460a80
test ebp, ebp
je 0x45fef9
mov ecx, dword [esi + 0x6d0]
push ecx
mov ecx, ebp
call fcn.0045af40
test eax, eax
je 0x45feed
mov edx, dword [esi + 0x50]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0xf
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [esi + 0x50]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
test bl, 1
jne 0x45fef9
mov ecx, ebp
call fcn.0045b110
mov eax, dword [esi + 0x34]
test eax, eax
je 0x45ff14
test ebp, ebp
je 0x45ff14
mov ecx, ebp
call fcn.00459f00
push ebp
call fcn.004be975
add esp, 4
shr ebx, 2
mov ebp, 1
lea ecx, [esp + 0x10]
and ebx, ebp
push ecx
mov dword [esi + 0x34], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x50]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
xor edi, edi
push edi
push eax
push ecx
mov ecx, esi
call dword [edx + 0x10]
cmp dword [esp + 0x44], edi
jne 0x45ff5f
mov edx, dword [esi + 0x50]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x6c8], edi
je 0x45fff6
mov ecx, dword [esi + 0x30]
cmp ecx, edi
je 0x45fff6
push 0xffffffffffffffff
call fcn.0045b0c0
test eax, eax
je 0x45fff0
mov ecx, dword [esi + 0x30]
cmp ecx, edi
je 0x45fff6
call fcn.0045a980
cmp eax, ebp
jne 0x45fff6
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x6c4], ebp
mov dword [esi + 0x6d0], edi
call fcn.0045cb80
cmp eax, edi
je 0x45fff6
mov ecx, dword [esi + 0x6d0]
mov edx, dword [eax + 0x14]
cmp ecx, edx
jge 0x45ffcc
cmp ecx, edi
jl 0x45ffcc
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + ecx*4]
cmp ecx, edi
je 0x45ffcc
xor eax, eax
mov ax, word [ecx + 2]
jmp 0x45ffd1
mov eax, 0xa
mov ecx, dword [esi + 0x50]
push edi
push eax
push ebp
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x6c4], edi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
mov dword [esi + 0x6c4], ebp
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8