Function at 0x45d120
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 0x45d179
cmp dword [esi + 0x710], edi
je 0x45d179
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 0x45d173
push pe_nt_image_headers32
call dword [sym.imp.user32.dll_MessageBeep]
mov dword [esi + 0x710], edi
mov eax, dword [esi + 0x704]
cmp eax, edi
je 0x45d190
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 0x45d1da
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 0x45d1da
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 0x45d1bf
mov ebx, dword [esp + 0x44]
mov ebp, dword [esi + 0x30]
mov edi, dword [esp + 0x40]
test bl, 8
je 0x45d1f1
mov ecx, edi
call fcn.00454c10
cmp edi, ebp
jne 0x45d20d
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 0x45d259
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 0x45d276
test ebp, ebp
je 0x45d276
push 0
mov ecx, ebp
call fcn.00456440
mov eax, ebx
mov dword [esi + 0x6c4], 0
and eax, 2
mov dword [esp + 0x44], eax
jne 0x45d299
mov eax, dword [esi + 0x50]
push 1
push 0
push eax
call dword [sym.imp.user32.dll_InvalidateRect]
test edi, edi
je 0x45d2d7
mov ecx, edi
call fcn.004549b0
test eax, eax
jne 0x45d2b5
push 0xffffffffffffffff
mov ecx, edi
call fcn.00454bc0
test eax, eax
je 0x45d2d7
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.0045deb0
test ebp, ebp
je 0x45d329
mov ecx, dword [esi + 0x6d0]
push ecx
mov ecx, ebp
call fcn.00454a40
test eax, eax
je 0x45d31d
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 0x45d329
mov ecx, ebp
call fcn.00454c10
mov eax, dword [esi + 0x34]
test eax, eax
je 0x45d344
test ebp, ebp
je 0x45d344
mov ecx, ebp
call fcn.00453a10
push ebp
call fcn.004c7e56
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 0x45d38f
mov edx, dword [esi + 0x50]
push edx
call dword [sym.imp.user32.dll_UpdateWindow]
cmp dword [esi + 0x6c8], edi
je 0x45d426
mov ecx, dword [esi + 0x30]
cmp ecx, edi
je 0x45d426
push 0xffffffffffffffff
call fcn.00454bc0
test eax, eax
je 0x45d420
mov ecx, dword [esi + 0x30]
cmp ecx, edi
je 0x45d426
call fcn.00454480
cmp eax, ebp
jne 0x45d426
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x6c4], ebp
mov dword [esi + 0x6d0], edi
call fcn.00456670
cmp eax, edi
je 0x45d426
mov ecx, dword [esi + 0x6d0]
mov edx, dword [eax + 0x14]
cmp ecx, edx
jge 0x45d3fc
cmp ecx, edi
jl 0x45d3fc
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + ecx*4]
cmp ecx, edi
je 0x45d3fc
xor eax, eax
mov ax, word [ecx + 2]
jmp 0x45d401
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