Function at 0x605024
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.00604250
test al, al
je 0x605405
mov esi, dword [ebx + 0x284]
mov eax, esi
call fcn.00603204
test al, al
je 0x605076
lea ecx, [ebp - 0x4c]
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x38]
call fcn.0051bc50
mov eax, ebx
call fcn.0061179c
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.0060da84
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.0051bc50
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.0051bc50
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.00603204
test al, al
je 0x605242
mov eax, dword [ebp - 0x24]
call fcn.0061179c
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.00603218
call fcn.0056ef90
push eax
call sub.user32.dll_ClientToScreen
push 0
mov eax, dword [ebp - 0x28]
call fcn.006031e8
push eax
mov eax, dword [ebp - 0x28]
call fcn.00603218
xor ecx, ecx
pop edx
call fcn.00608310
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.00603218
mov edx, dword [ebp - 0x28]
mov cl, byte [edx + 0x7a]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x7c]
call fcn.00608bac
mov eax, dword [ebp - 0x28]
call fcn.006031e8
call fcn.0060da28
test al, al
je 0x60518a
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3d], eax
jmp 0x605196
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.006031e8
call fcn.006113ec
xor eax, eax
push ebp
push 0x6051e8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x28]
call fcn.006031e8
push eax
mov eax, dword [ebp - 0x28]
call fcn.00603218
lea ecx, [ebp - 0x20]
pop edx
call fcn.00607f50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6051ef
mov eax, dword [ebp - 0x28]
call fcn.006031e8
call fcn.006113f4
ret
call fcn.005f3158
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.005fed30
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetCapture
xor edx, edx
push ebp
push 0x6053fe
push dword fs:[edx]
mov dword fs:[edx], esp
jmp 0x605385
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call sub.user32.dll_GetMessageA
sub eax, 0xffffffff
je 0x605393
dec eax
je 0x60528e
jmp 0x60529c
mov eax, dword [ebp - 0x3c]
push eax
call sub.user32.dll_PostQuitMessage
jmp 0x605393
mov ebx, dword [ebp - 0x40]
cmp ebx, 0x100
je 0x6052af
cmp ebx, 0x101
jne 0x6052e3
cmp dword [ebp - 0x3c], 0x11
jne 0x6052e3
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.0050818c
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x10]
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0051bc50
mov eax, dword [ebp - 0x40]
add eax, 0xffffff00
sub eax, 2
jb 0x605302
sub eax, 0xfe
je 0x60530e
sub eax, 2
je 0x605393
jmp 0x605373
cmp dword [ebp - 0x3c], 0x1b
je 0x605393
jmp 0x605385
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x38]
call fcn.00508178
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 0x605336
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xc]
je 0x605385
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.00604b54
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
jmp 0x605385
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 0x605271
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x605405
cmp dword [0x64efbc], 0
jbe 0x6053c4
mov eax, dword [0x64efbc]
push eax
push 0
call sub.user32.dll_KillTimer
xor eax, eax
mov dword [0x64efbc], eax
xor eax, eax
mov dword [0x64efc0], eax
call sub.user32.dll_GetCapture
cmp eax, dword [ebp - 8]
jne 0x6053d3
call sub.user32.dll_ReleaseCapture
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, eax
xor edx, edx
call fcn.0060da84
cmp byte [ebx + 0x228], 0
je 0x6053f6
mov eax, dword [ebx + 0x224]
call fcn.00608454
mov eax, dword [ebp - 4]
mov byte [eax + 0x35], 0
ret
pop esi
pop ebx
mov esp, ebp
pop ebp
ret