Function at 0x5db794
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 eax, dword [ebx + 0x284]
call fcn.005daa00
test al, al
je 0x5dbb75
mov esi, dword [ebx + 0x284]
mov eax, esi
call fcn.005d9a30
test al, al
je 0x5db7e6
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
call fcn.0041e758
mov eax, ebx
call fcn.005e7c18
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.005e40dc
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 + 0x228]
mov edx, dword [ebp - 4]
mov byte [edx + 0x3c], al
lea ecx, [ebp - 0x4c]
xor edx, edx
xor eax, eax
call fcn.0041e758
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.0041e758
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 + 0x284]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
call fcn.005d9a30
test al, al
je 0x5db9b2
mov eax, dword [ebp - 0x24]
call fcn.005e7c18
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.005d9a44
call fcn.0046fb3c
push eax
call sub.user32.dll_ClientToScreen
push 0
mov eax, dword [ebp - 0x28]
call fcn.005d9a14
push eax
mov eax, dword [ebp - 0x28]
call fcn.005d9a44
xor ecx, ecx
pop edx
call fcn.005de9b0
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.005d9a44
mov edx, dword [ebp - 0x28]
mov cl, byte [edx + 0x7a]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x7c]
call fcn.005df24c
mov eax, dword [ebp - 0x28]
call fcn.005d9a14
call fcn.005e4080
test al, al
je 0x5db8fa
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3d], eax
jmp 0x5db906
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.005d9a14
call fcn.005e7868
xor eax, eax
push ebp
push 0x5db958
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x28]
call fcn.005d9a14
push eax
mov eax, dword [ebp - 0x28]
call fcn.005d9a44
lea ecx, [ebp - 0x20]
pop edx
call fcn.005de604
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5db95f
mov eax, dword [ebp - 0x28]
call fcn.005d9a14
call fcn.005e7870
ret
call fcn.005ca008
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005d5618
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetCapture
xor edx, edx
push ebp
push 0x5dbb6e
push dword fs:[edx]
mov dword fs:[edx], esp
jmp 0x5dbaf5
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call sub.user32.dll_GetMessageA
sub eax, 0xffffffff
je 0x5dbb03
dec eax
je 0x5db9fe
jmp 0x5dba0c
mov eax, dword [ebp - 0x3c]
push eax
call sub.user32.dll_PostQuitMessage
jmp 0x5dbb03
mov ebx, dword [ebp - 0x40]
cmp ebx, 0x100
je 0x5dba1f
cmp ebx, 0x101
jne 0x5dba53
cmp dword [ebp - 0x3c], 0x11
jne 0x5dba53
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.00408530
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x10]
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041e758
mov eax, dword [ebp - 0x40]
add eax, 0xffffff00
sub eax, 2
jb 0x5dba72
sub eax, 0xfe
je 0x5dba7e
sub eax, 2
je 0x5dbb03
jmp 0x5dbae3
cmp dword [ebp - 0x3c], 0x1b
je 0x5dbb03
jmp 0x5dbaf5
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x38]
call fcn.0040851c
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 0x5dbaa6
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xc]
je 0x5dbaf5
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.005db2c0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
jmp 0x5dbaf5
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 0x5db9e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dbb75
cmp dword [0x6c2670], 0
jbe 0x5dbb34
mov eax, dword [0x6c2670]
push eax
push 0
call sub.user32.dll_KillTimer
xor eax, eax
mov dword [0x6c2670], eax
xor eax, eax
mov dword [0x6c2674], eax
call sub.user32.dll_GetCapture
cmp eax, dword [ebp - 8]
jne 0x5dbb43
call sub.user32.dll_ReleaseCapture
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, eax
xor edx, edx
call fcn.005e40dc
cmp byte [ebx + 0x228], 0
je 0x5dbb66
mov eax, dword [ebx + 0x224]
call fcn.005deaf4
mov eax, dword [ebp - 4]
mov byte [eax + 0x35], 0
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret