Function at 0x46db19
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
dec eax
push esi
dec eax
push edi
mov esi, ecx
je 0x46dcd9
dec eax
je 0x46dc63
dec eax
je 0x46dc36
dec eax
jne 0x46dd8a
cmp byte [esi + 0xa0], 0
je 0x46dd8a
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x46db77
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0046a439
call dword [sym.imp.USER32.dll_GetMessageTime]
lea edx, [esi + 0xac]
mov ecx, eax
xor ebx, ebx
sub ecx, dword [edx]
cmp dword [esi + 0xb0], ebx
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
mov dword [edx], eax
je 0x46dbce
mov eax, dword [esi + 0xb8]
mov edx, ecx
cmp ecx, eax
jb 0x46dbc8
mov ebx, dword [esi + 0xb4]
mov edi, ecx
sub edi, eax
xor edx, edx
mov eax, edi
mov dword [esi + 0xb8], ebx
div ebx
xor edx, edx
inc eax
mov dword [ebp + 8], eax
mov eax, edi
div ebx
mov ebx, dword [ebp - 4]
sub dword [esi + 0xb8], edx
cmp dword [esi + 0xbc], 0
je 0x46dc11
mov eax, dword [esi + 0xc4]
mov edx, ecx
cmp ecx, eax
jb 0x46dc00
mov edi, dword [esi + 0xc0]
sub ecx, eax
mov eax, ecx
xor edx, edx
div edi
xor edx, edx
mov dword [esi + 0xc4], edi
mov ebx, eax
mov eax, ecx
inc ebx
div edi
sub dword [esi + 0xc4], edx
cmp dword [esi + 0xbc], 0
jge 0x46dc11
neg ebx
cmp dword [esi + 0xb0], 0
mov eax, dword [ebp + 8]
jge 0x46dc1f
neg eax
mov edx, dword [esi + 0x3c]
lea ecx, [esi + 0x3c]
push ebx
push eax
call dword [edx + 8]
mov ecx, esi
call fcn.0046c02a
jmp 0x46dd8a
mov edi, dword [esi + 0xe8]
mov bl, byte [esi + 0xec]
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0x40]
push edi
test bl, bl
mov eax, dword [ecx]
push esi
je 0x46dc5b
call dword [eax + 0x1c]
jmp 0x46dd8a
call dword [eax + 0x18]
jmp 0x46dd8a
cmp byte [esi + 0x84], 0
jne 0x46dd8a
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0050143c
test eax, eax
jne 0x46dc9d
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 4]
mov edi, dword [esi + 0x1c]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, edi
je 0x46dca9
mov ecx, esi
call fcn.0046a84b
jmp 0x46dd8a
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00508c83
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x46dd8a
jmp 0x46dc9d
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0050143c
xor ebx, ebx
cmp eax, ebx
je 0x46dcef
cmp eax, esi
jne 0x46dd36
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 4]
mov edi, dword [esi + 0x1c]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, edi
jne 0x46dd36
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00508c83
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x46dd3c
mov byte [esi + 0x8c], bl
cmp byte [esi + 0x8c], bl
jne 0x46dd8a
push 2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x48]
call fcn.00429e1b
mov ecx, dword [esi + 0x48]
mov edi, eax
call fcn.00429e1b
mov ecx, dword [esi + 0x90]
mov ebx, dword [esi + 0x94]
lea edx, [esi + 0x90]
cmp eax, ecx
jne 0x46dd7b
cmp edi, ebx
je 0x46dd8a
mov ecx, dword [esi + 0x40]
mov dword [edx], eax
mov dword [edx + 4], edi
push edx
mov eax, dword [ecx]
push esi
call dword [eax + 8]
mov ecx, esi
call fcn.005013a3
pop edi
pop esi
pop ebx
leave
ret 4