Function at 0x5d13bc
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.005d05e8
test al, al
je 0x5d179d
mov esi, dword [ebx + 0x284]
mov eax, esi
call fcn.005cf5cc
test al, al
je 0x5d140e
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
call fcn.0041ddec
mov eax, ebx
call fcn.005dda50
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.005d9db0
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.0041ddec
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.0041ddec
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.005cf5cc
test al, al
je 0x5d15da
mov eax, dword [ebp - 0x24]
call fcn.005dda50
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.005cf5e0
call fcn.00476d64
push eax
call sub.USER32.DLL_ClientToScreen
push 0
mov eax, dword [ebp - 0x28]
call fcn.005cf5b0
push eax
mov eax, dword [ebp - 0x28]
call fcn.005cf5e0
xor ecx, ecx
pop edx
call fcn.005d46a0
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.005cf5e0
mov edx, dword [ebp - 0x28]
mov cl, byte [edx + 0x7a]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x7c]
call fcn.005d4f3c
mov eax, dword [ebp - 0x28]
call fcn.005cf5b0
call fcn.005d9d54
test al, al
je 0x5d1522
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3d], eax
jmp 0x5d152e
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.005cf5b0
call fcn.005dd6a0
xor eax, eax
push ebp
push 0x5d1580
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x28]
call fcn.005cf5b0
push eax
mov eax, dword [ebp - 0x28]
call fcn.005cf5e0
lea ecx, [ebp - 0x20]
pop edx
call fcn.005d42e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d1587
mov eax, dword [ebp - 0x28]
call fcn.005cf5b0
call fcn.005dd6a8
ret
call fcn.005bf520
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005cb1a4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.USER32.DLL_SetCapture
xor edx, edx
push ebp
push 0x5d1796
push dword fs:[edx]
mov dword fs:[edx], esp
jmp 0x5d171d
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call sub.USER32.DLL_GetMessageA
sub eax, 0xffffffff
je 0x5d172b
dec eax
je 0x5d1626
jmp 0x5d1634
mov eax, dword [ebp - 0x3c]
push eax
call sub.USER32.DLL_PostQuitMessage
jmp 0x5d172b
mov ebx, dword [ebp - 0x40]
cmp ebx, 0x100
je 0x5d1647
cmp ebx, 0x101
jne 0x5d167b
cmp dword [ebp - 0x3c], 0x11
jne 0x5d167b
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.00408298
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x10]
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041ddec
mov eax, dword [ebp - 0x40]
add eax, 0xffffff00
sub eax, 2
jb 0x5d169a
sub eax, 0xfe
je 0x5d16a6
sub eax, 2
je 0x5d172b
jmp 0x5d170b
cmp dword [ebp - 0x3c], 0x1b
je 0x5d172b
jmp 0x5d171d
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x38]
call fcn.00408284
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 0x5d16ce
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xc]
je 0x5d171d
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.005d0eec
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
jmp 0x5d171d
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 0x5d1609
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d179d
cmp dword [0x744d98], 0
jbe 0x5d175c
mov eax, dword [0x744d98]
push eax
push 0
call sub.USER32.DLL_KillTimer
xor eax, eax
mov dword [0x744d98], eax
xor eax, eax
mov dword [0x744d9c], eax
call sub.USER32.DLL_GetCapture
cmp eax, dword [ebp - 8]
jne 0x5d176b
call sub.USER32.DLL_ReleaseCapture
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, eax
xor edx, edx
call fcn.005d9db0
cmp byte [ebx + 0x228], 0
je 0x5d178e
mov eax, dword [ebx + 0x224]
call fcn.005d47e4
mov eax, dword [ebp - 4]
mov byte [eax + 0x35], 0
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret