Function at 0x5401c0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x58], ecx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 4
call fcn.0043ffd0
mov edx, dword [ebp - 0x58]
movzx eax, byte [edx + 0x3670]
test eax, eax
je 0x54031b
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047ecb0
movzx ecx, al
test ecx, ecx
je 0x5402ce
mov dword [ebp - 0xc], 0
call fcn.004840a0
movzx edx, al
test edx, edx
je 0x5402a6
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx + 0x3674]
call fcn.00485f30
movzx eax, al
test eax, eax
je 0x54027e
push 1
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x3674]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047c4b0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x3674], 0
mov ecx, dword [ebp - 0x58]
mov byte [ecx + 0x3670], 0
mov edx, dword [ebp - 0x58]
mov byte [edx + 0x3671], 0
jmp 0x5402a4
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0x202
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x3674]
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x3674]
mov edx, dword [edx]
mov eax, dword [edx + 0x1c]
call eax
jmp 0x5402cc
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0x202
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x3674]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx + 0x3674]
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
jmp 0x540316
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x19a8
mov eax, dword [ebp - 0x58]
mov edx, dword [eax + 0x19a8]
mov eax, dword [edx + 8]
call eax
movzx ecx, al
test ecx, ecx
je 0x54030b
mov edx, dword [ebp - 0x58]
add edx, 0x19a8
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047b1d0
jmp 0x540316
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047beb0
jmp 0x54066a
mov eax, dword [ebp - 0x58]
movzx ecx, byte [eax + 0x3594]
test ecx, ecx
je 0x540426
mov edx, dword [ebp - 0x58]
cmp dword [edx + 0x35a0], 0
je 0x54041b
push 0
mov ecx, dword [0x5e1910]
add ecx, 4
call fcn.0042c4f0
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x35a0]
mov dword [ebp - 0x34], ecx
push 1
mov ecx, dword [ebp - 0x34]
call fcn.00487ae0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x34]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 4
call fcn.00453190
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x540400
mov ecx, dword [ebp - 0x34]
call fcn.00485b00
mov edx, dword [ebp - 0x58]
cmp eax, dword [edx + 0x35e8]
je 0x5403bf
push 0
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047cda0
jmp 0x5403ea
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047c850
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047c970
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x35e8]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047bd90
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x35a0]
push ecx
mov ecx, 0x5e1468
call fcn.00475c40
jmp 0x54041b
push 1
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047c4b0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x6c], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x54063a
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx + 0x3638]
test edx, edx
je 0x54049f
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x3610], 0
je 0x54049a
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x3610]
mov dword [ecx + 0x3620], eax
mov ecx, dword [ebp - 0x58]
mov byte [ecx + 0x3633], 0
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.00478840
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x35e8]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047bd90
push 0
push 0xf
push 0x1010
mov ecx, dword [ebp - 0x58]
add ecx, 4
call fcn.0042c510
mov ecx, dword [ebp - 0x58]
mov byte [ecx + 0x3630], 1
jmp 0x54063a
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047e1f0
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x540624
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x48]
mov edx, dword [eax + 0x20]
call edx
cmp eax, 5
jne 0x540551
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 4
call fcn.0043ffd0
call fcn.004840a0
movzx edx, al
test edx, edx
je 0x54053d
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00485f30
movzx edx, al
test edx, edx
je 0x54053d
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x6c], 0
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x35a0], 0
push 1
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047c4b0
jmp 0x54054c
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047b050
jmp 0x540622
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
jne 0x540576
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047b1d0
jmp 0x540622
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x48]
mov edx, dword [eax + 0x20]
call edx
cmp eax, 4
jne 0x54060d
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x3674], ecx
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x58]
add ecx, 4
call fcn.0043ffd0
call fcn.004840a0
movzx eax, al
test eax, eax
je 0x540600
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x3674]
call fcn.00485f30
movzx ecx, al
test ecx, ecx
je 0x540600
push 1
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x3674]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047c4b0
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x3674], 0
mov edx, dword [ebp - 0x58]
mov dword [edx + 0x6c], 0
jmp 0x54060b
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
call fcn.0047beb0
jmp 0x540622
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x28
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x28]
mov edx, dword [eax + 0x30]
call edx
jmp 0x54063a
call fcn.004840a0
movzx eax, al
test eax, eax
je 0x54063a
push 0
call fcn.00484090
add esp, 4
mov ecx, dword [ebp - 0x58]
mov dword [ecx + 0x35a0], 0
mov edx, dword [ebp - 0x58]
mov byte [edx + 0x3638], 0
mov eax, dword [ebp - 0x58]
mov byte [eax + 0x3594], 0
mov ecx, dword [ebp - 0x58]
mov byte [ecx + 0x365d], 0
call fcn.0048a8d0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret