Function at 0x5f14e0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov esi, dword [ebx + 0x264]
mov al, byte [0x5f18c0]
cmp al, byte [esi + 0x68]
je 0x5f18ba
mov eax, esi
call fcn.005ef948
test al, al
je 0x5f152d
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
call fcn.0041d6bc
mov eax, ebx
call fcn.005fce44
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x48]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x35], 1
mov dl, 1
mov eax, ebx
call fcn.005f8304
lea eax, [ebp - 0x10]
push eax
call sub.user32.dll_GetCursorPos
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov al, byte [eax + 0x224]
mov edx, dword [ebp - 4]
mov byte [edx + 0x3c], al
lea ecx, [ebp - 0x4c]
xor edx, edx
xor eax, eax
call fcn.0041d6bc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0x3d], edx
mov edx, dword [ebp - 0x48]
mov dword [eax + 0x41], edx
lea ecx, [ebp - 0x4c]
xor edx, edx
xor eax, eax
call fcn.0041d6bc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0x45], edx
mov edx, dword [ebp - 0x48]
mov dword [eax + 0x49], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x264]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
call fcn.005ef948
test al, al
je 0x5f16f9
mov eax, dword [ebp - 0x24]
call fcn.005fce44
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x28]
call fcn.005ef95c
call fcn.00456c34
push eax
call sub.user32.dll_ClientToScreen
push 0
mov eax, dword [ebp - 0x28]
call fcn.005ef92c
push eax
mov eax, dword [ebp - 0x28]
call fcn.005ef95c
xor ecx, ecx
pop edx
call fcn.005f41b0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x28]
call fcn.005ef95c
mov edx, dword [ebp - 0x28]
mov cl, byte [edx + 0x6a]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x6c]
call fcn.005f4a18
mov eax, dword [ebp - 0x28]
call fcn.005ef92c
call fcn.005f82a8
test al, al
je 0x5f1641
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3d], eax
jmp 0x5f164d
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x41], eax
mov eax, dword [ebp - 0x28]
call fcn.005ef92c
call fcn.005fcaf8
xor eax, eax
push ebp
push 0x5f169f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x28]
call fcn.005ef92c
push eax
mov eax, dword [ebp - 0x28]
call fcn.005ef95c
lea ecx, [ebp - 0x20]
pop edx
call fcn.005f3e08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f16a6
mov eax, dword [ebp - 0x28]
call fcn.005ef92c
call fcn.005fcb00
ret
call fcn.005e2274
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005ebccc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetCapture
xor edx, edx
push ebp
push 0x5f18b3
push dword fs:[edx]
mov dword fs:[edx], esp
jmp 0x5f183a
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call sub.user32.dll_GetMessageA
sub eax, 0xffffffff
je 0x5f1848
dec eax
je 0x5f1745
jmp 0x5f1753
mov eax, dword [ebp - 0x3c]
push eax
call sub.user32.dll_PostQuitMessage
jmp 0x5f1848
mov eax, dword [ebp - 0x40]
cmp eax, 0x100
je 0x5f1764
cmp eax, 0x101
jne 0x5f1798
cmp dword [ebp - 0x3c], 0x11
jne 0x5f1798
mov dword [ebp - 0x40], 0x200
xor eax, eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebp - 0x20]
call fcn.0040834c
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x10]
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041d6bc
mov eax, dword [ebp - 0x40]
add eax, 0xffffff00
sub eax, 2
jb 0x5f17b7
sub eax, 0xfe
je 0x5f17c3
sub eax, 2
je 0x5f1848
jmp 0x5f1828
cmp dword [ebp - 0x3c], 0x1b
je 0x5f1848
jmp 0x5f183a
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x38]
call fcn.00408338
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x44]
push eax
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x10]
jne 0x5f17eb
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xc]
je 0x5f183a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.005f10a4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
jmp 0x5f183a
lea eax, [ebp - 0x44]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x44]
push eax
call sub.user32.dll_DispatchMessageA
call sub.user32.dll_GetCapture
cmp eax, dword [ebp - 8]
je 0x5f1728
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f18ba
cmp dword [0x65d608], 0
jbe 0x5f1879
mov eax, dword [0x65d608]
push eax
push 0
call sub.user32.dll_KillTimer
xor eax, eax
mov dword [0x65d608], eax
xor eax, eax
mov dword [0x65d60c], eax
call sub.user32.dll_GetCapture
cmp eax, dword [ebp - 8]
jne 0x5f1888
call sub.user32.dll_ReleaseCapture
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, eax
xor edx, edx
call fcn.005f8304
cmp byte [ebx + 0x224], 0
je 0x5f18ab
mov eax, dword [ebx + 0x220]
call fcn.005f42cc
mov eax, dword [ebp - 4]
mov byte [eax + 0x35], 0
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret