Function at 0x47f014
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffc4
mov dword [esp], ecx
mov ebx, edx
mov esi, eax
mov byte [esi + 0x94], 1
lea eax, [esp + 0xc]
push eax
call sub.user32.dll_GetCursorPos
xor eax, eax
mov al, bl
lea eax, [eax + eax*4]
mov eax, dword [esi + eax*4 + 0xfc]
mov dword [esp + 0x18], eax
xor eax, eax
mov al, bl
mov edx, eax
shl eax, 3
sub eax, edx
mov eax, dword [esi + eax*4 + 0xac]
mov dword [esp + 0x14], eax
push 1
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x47f30c
mov eax, dword [esp + 0x24]
sub eax, 0xa0
je 0x47f09e
sub eax, 2
je 0x47f2d3
sub eax, 0x15e
je 0x47f09e
sub eax, 2
je 0x47f2d3
jmp 0x47f2f8
lea eax, [esp + 0x20]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [esp + 0x20]
push eax
call sub.user32.dll_DispatchMessageA
lea eax, [esp + 4]
push eax
call sub.user32.dll_GetCursorPos
cmp bl, 1
jne 0x47f0d3
mov eax, dword [esp + 0x18]
add eax, dword [esp + 8]
sub eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
jmp 0x47f0e3
mov eax, dword [esp + 0x18]
add eax, dword [esp + 4]
sub eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0
jge 0x47f0f0
xor eax, eax
mov dword [esp + 0x1c], eax
xor eax, eax
mov al, bl
mov edi, eax
shl edi, 3
sub edi, eax
cmp dword [esi + edi*4 + 0xa8], 0
jne 0x47f182
xor eax, eax
mov al, bl
lea eax, [eax + eax*4]
mov edx, dword [esi + eax*4 + 0xf4]
sub edx, dword [esi + eax*4 + 0xf8]
cmp edx, dword [esp + 0x1c]
jge 0x47f140
xor eax, eax
mov al, bl
lea eax, [eax + eax*4]
mov eax, dword [esi + eax*4 + 0xf4]
xor edx, edx
mov dl, bl
lea edx, [edx + edx*4]
sub eax, dword [esi + edx*4 + 0xf8]
mov dword [esp + 0x1c], eax
xor eax, eax
mov al, bl
lea eax, [eax + eax*4]
mov eax, dword [esi + eax*4 + 0xf4]
xor edx, edx
mov dl, bl
lea edx, [edx + edx*4]
sub eax, dword [esi + edx*4 + 0xf8]
push eax
mov eax, dword [esi + edi*4 + 0xa4]
sub eax, dword [esi + edi*4 + 0xa0]
inc eax
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.kernel32.dll_MulDiv
mov ebp, eax
add ebp, dword [esi + edi*4 + 0xa0]
jmp 0x47f1db
xor eax, eax
mov al, bl
lea eax, [eax + eax*4]
mov eax, dword [esi + eax*4 + 0xf4]
cmp eax, dword [esp + 0x1c]
jge 0x47f1a9
xor eax, eax
mov al, bl
lea eax, [eax + eax*4]
mov eax, dword [esi + eax*4 + 0xf4]
dec eax
mov dword [esp + 0x1c], eax
xor eax, eax
mov al, bl
lea eax, [eax + eax*4]
mov eax, dword [esi + eax*4 + 0xf4]
push eax
mov eax, dword [esi + edi*4 + 0xa4]
sub eax, dword [esi + edi*4 + 0xa0]
inc eax
push eax
mov eax, dword [esp + 0x24]
push eax
call sub.kernel32.dll_MulDiv
mov ebp, eax
add ebp, dword [esi + edi*4 + 0xa0]
cmp ebp, dword [esi + edi*4 + 0xa0]
jge 0x47f1f6
xor eax, eax
mov al, bl
mov edx, eax
shl eax, 3
sub eax, edx
mov ebp, dword [esi + eax*4 + 0xa0]
mov eax, ebp
cdq
push edx
push eax
mov eax, dword [esi + edi*4 + 0xa4]
cdq
push edx
push eax
mov eax, dword [esi + edi*4 + 0xa8]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
cmp edx, dword [esp + 4]
jne 0x47f226
cmp eax, dword [esp]
pop edx
pop eax
jae 0x47f24f
jmp 0x47f22a
pop edx
pop eax
jge 0x47f24f
xor eax, eax
mov al, bl
mov edx, eax
shl eax, 3
sub eax, edx
mov ebp, dword [esi + eax*4 + 0xa4]
xor eax, eax
mov al, bl
mov edx, eax
shl eax, 3
sub eax, edx
sub ebp, dword [esi + eax*4 + 0xa8]
inc ebp
cmp ebp, dword [esp + 0x14]
je 0x47f2cd
mov dword [esi + edi*4 + 0x9c], 4
mov dword [esi + edi*4 + 0xac], ebp
mov dword [esi + edi*4 + 0xb0], ebp
xor eax, eax
mov al, bl
lea eax, [eax + eax*4]
mov edx, dword [esp + 0x1c]
mov dword [esi + eax*4 + 0xfc], edx
cmp bl, 1
jne 0x47f29c
push 0
lea eax, [esi + edi*4 + 0x98]
push eax
push 1
mov eax, dword [esi + 0x4c]
push eax
call sub.user32.dll_SetScrollInfo
jmp 0x47f2b1
push 0
lea eax, [esi + edi*4 + 0x98]
push eax
push 0
mov eax, dword [esi + 0x4c]
push eax
call sub.user32.dll_SetScrollInfo
push 0
mov edx, ebp
mov ax, 5
call fcn.004079a4
push eax
mov eax, dword [esp + 8]
push eax
mov eax, dword [esi + 0x4c]
push eax
call sub.user32.dll_PostMessageA
mov dword [esp + 0x14], ebp
jmp 0x47f30c
mov byte [esi + 0x94], 0
push 0
mov edx, ebp
mov ax, 4
call fcn.004079a4
push eax
mov eax, dword [esp + 8]
push eax
mov eax, dword [esi + 0x4c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x47f30c
lea eax, [esp + 0x20]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [esp + 0x20]
push eax
call sub.user32.dll_DispatchMessageA
cmp byte [esi + 0x94], 0
jne 0x47f05b
add esp, 0x3c
pop ebp
pop edi
pop esi
pop ebx
ret