Function at 0x408b60
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push 0xffffffffffffffff
push 0x5c7b5a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x1c]
xor edi, edi
mov esi, ecx
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ebp, dword [esp + 0x64]
cmp ebp, edi
je 0x408b9b
xor eax, eax
jmp 0x408b9e
mov eax, dword [esi + 0x2c]
push 1
push eax
push 0xc8
mov ecx, esi
call fcn.00408430
cmp ebp, edi
je 0x408bc3
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call fcn.00409190
add esp, 8
call fcn.00408f80
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x30]
cmp ecx, edi
mov dword [esp + 0x14], eax
mov dword [esi + 0x30], edi
je 0x408be0
mov edx, dword [ecx]
push 1
call dword [edx + 4]
push 0x1a5c
call fcn.00596900
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
xor edx, edx
cmp ebx, edx
mov dword [esp + 0x5c], edx
je 0x408c11
push edx
mov ecx, esi
call fcn.00406fe0
push eax
mov ecx, ebx
call fcn.004015a0
xor edx, edx
jmp 0x408c13
xor eax, eax
mov dword [esi + 0x78], eax
mov dword [eax + 0x1a28], edx
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x34]
cmp ebp, edx
mov dword [esp + 0x5c], 0xffffffff
mov dword [eax + 0x44], edx
mov dword [eax + 0x19fc], ecx
mov dword [eax + 0x1a2c], edx
mov ecx, dword [esi + 0x78]
jne 0x408c56
call fcn.00402c60
test eax, eax
jne 0x408c5d
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax + 0x58]
jmp 0x408f1d
call fcn.00402270
jmp 0x408c68
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x78]
push 0
push edx
push eax
call fcn.004044e0
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x24]
mov edi, eax
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x24]
push edx
push edi
call dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_ClientToScreen]
push ebx
lea ecx, [esp + 0x28]
push ebp
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x408cc7
lea edx, [esp + 0x24]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub ebx, ecx
mov ecx, dword [esi + 0x78]
sub ebp, eax
mov dword [ecx + 0x1a10], eax
mov edx, dword [esp + 0x28]
mov dword [ecx + 0x1a14], edx
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x1a18], ecx
mov edx, dword [esp + 0x30]
mov dword [eax + 0x1a1c], edx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
call fcn.00407020
mov ecx, dword [esi + 0x78]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0x58]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x408d4b
push 0x2328
push 0x2328
call dword [sym.imp.USER32.dll_SetCursorPos]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408d6b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00408f80
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
call fcn.00407020
push ebx
push ebp
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0x40]
push edi
push eax
call fcn.004091d0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ecx, eax
add esp, 0x14
sub ecx, edx
cmp ecx, 3
jl 0x408dc3
mov ecx, dword [esp + 0x40]
mov edx, ecx
sub edx, dword [esp + 0x38]
cmp edx, 3
jge 0x408e6a
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x408dd2
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
push 0
push 0
push 0
push 0
push 2
call dword [sym.imp.USER32.dll_mouse_event]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00408f80
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
call fcn.00407020
push ebx
push ebp
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0x50]
push edi
push eax
call fcn.004091d0
add esp, 0x14
push 0x2328
push 0x2328
call dword [sym.imp.USER32.dll_SetCursorPos]
xor ebp, ebp
push ebp
push ebp
push ebp
push ebp
push 4
call dword [sym.imp.USER32.dll_mouse_event]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
jmp 0x408e74
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
xor ebp, ebp
sub edx, dword [esi + 0x10]
mov dword [esp + 0x38], edx
jns 0x408e81
mov dword [esp + 0x38], ebp
sub ebx, dword [esi + 8]
mov dword [esp + 0x34], ebx
jns 0x408e8e
mov dword [esp + 0x34], ebp
add ecx, dword [esi + 0xc]
mov dword [esp + 0x40], ecx
mov edx, dword [edi + 0x28]
cmp ecx, edx
jle 0x408ea0
mov dword [esp + 0x40], edx
add eax, dword [esi + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [edi + 0x24]
cmp eax, ecx
jle 0x408eb2
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x34]
call fcn.005aa0a2
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
push 0x2ffffff
lea eax, [ecx + edx]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x40]
sub eax, ecx
mov ecx, dword [esp + 0x44]
sub ecx, edx
lea edx, [esp + 0x38]
push edx
xor edx, edx
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], ecx
mov dx, word [edi + 0x2e]
push edx
push 1
push ecx
push eax
mov ecx, edi
call fcn.004e6960
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
call dword [eax + 0x58]
mov ecx, dword [esi + 0x78]
cmp ecx, ebp
je 0x408f1a
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0x78], ebp
xor eax, eax
mov ecx, esi
test edi, edi
setne al
push eax
call fcn.00408530
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test ecx, ecx
mov dword [esi + 0x30], eax
je 0x408f52
mov edx, dword [ecx]
push 1
call dword [edx + 4]
test edi, edi
je 0x408f62
mov eax, dword [esi + 0x5c]
mov esi, dword [esi + 0x60]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], esi
mov ecx, dword [esp + 0x54]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4