Function at 0x46b370
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x4c6184]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov esi, edx
mov dword [eax], edi
mov ebx, ecx
mov dword [esp + 0x14], eax
mov dword [esi], edi
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x10], esi
cmp eax, 1
jne 0x46b494
mov eax, dword [ebx + 0x3b8]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [esp + 0x18], eax
jne 0x46b42f
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push edx
lea edi, [esp + 0x2c]
xor esi, esi
call fcn.00419cc0
mov eax, dword [esp + 0x34]
sub eax, dword [ebx + 0x74]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esp + 0x14]
cwde
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
sub eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x30]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add esp, 4
add eax, ecx
movsx edx, ax
jmp 0x46b618
push 0x3c
lea ecx, [esp + 0x3c]
push edi
push ecx
call fcn.0048a470
mov eax, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x38]
push edx
push eax
mov dword [esp + 0x40], 0x3c
call dword [sym.imp.USER32.dll_GetWindowInfo]
test eax, eax
je 0x46b622
mov eax, dword [esp + 0x54]
sub eax, dword [ebx + 0x74]
mov ecx, dword [esp + 0x4c]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
movsx ecx, ax
mov eax, dword [esp + 0x58]
mov dword [esi], ecx
sub eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x50]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
movsx edx, ax
jmp 0x46b61c
mov ecx, dword [ebx + 0x3b8]
mov dword [esp + 0x18], ecx
cmp eax, 2
jne 0x46b536
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jne 0x46b4f2
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
lea edi, [esp + 0x2c]
xor esi, esi
call fcn.00419cc0
mov esi, dword [esp + 0x14]
jmp 0x46b4fe
push ecx
lea edx, [esp + 0x2c]
xor ecx, ecx
call fcn.00419e40
mov eax, dword [esp + 0x34]
sub eax, dword [ebx + 0x74]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
movsx ecx, ax
mov eax, dword [esp + 0x38]
mov dword [esi], ecx
sub eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x30]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add esp, 4
add eax, ecx
movsx edx, ax
jmp 0x46b61c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x46b595
cmp dword [ebx + 0x7c], 5
je 0x46b595
push 0x3c
lea edx, [esp + 0x3c]
push edi
push edx
call fcn.0048a470
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x40], 0x3c
call dword [sym.imp.USER32.dll_GetWindowInfo]
test eax, eax
je 0x46b622
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
add edx, 0xf
add eax, 0x1e
mov dword [esi], edx
mov dword [ecx], eax
jmp 0x46b622
push ecx
xor edx, edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.00419e40
mov eax, dword [esp + 0x24]
sub eax, dword [ebx + 0x74]
mov esi, dword [esp + 0x28]
sub esi, dword [ebx + 0x78]
mov ecx, dword [esp + 0x1c]
sub esi, dword [esp + 0x20]
sub eax, ecx
sub eax, 0x32
add esp, 4
sub esi, 0x32
cmp eax, edi
jge 0x46b5de
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
jmp 0x46b5f3
xor edi, edi
call fcn.00418520
mov ecx, dword [esp + 0x18]
lea edx, [eax + ecx + 0x19]
mov eax, dword [esp + 0x10]
mov dword [eax], edx
cmp esi, edi
jge 0x46b607
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov dword [ecx], edx
jmp 0x46b622
mov eax, esi
xor edi, edi
call fcn.00418520
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx + 0x19]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov ecx, dword [esi]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [edx]
xor edi, edi
lea esi, [esp + 0x2c]
call fcn.00419cc0
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, ecx
jge 0x46b64b
mov dword [edx], ecx
jmp 0x46b65d
mov ecx, dword [ebx + 0x74]
lea esi, [ecx + eax]
mov eax, dword [esp + 0x30]
cmp esi, eax
jle 0x46b65d
sub eax, ecx
mov dword [edx], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [esp + 0x2c]
cmp eax, edx
jge 0x46b681
mov dword [ecx], edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00486a8b
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebx + 0x78]
lea edx, [ebx + eax]
mov eax, dword [esp + 0x34]
cmp edx, eax
jle 0x46b693
sub eax, ebx
mov dword [ecx], eax
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00486a8b
mov esp, ebp
pop ebp
ret 4