Function at 0x4e8b90
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0x13a1
ja 0x4e8d9a
je 0x4e8d2e
mov eax, ecx
sub eax, 1
je 0x4e8cf0
sub eax, 0x110
je 0x4e8c58
sub eax, 0xf2
jne 0x4e8db5
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [edi + 0x84]
mov ebx, eax
shr ecx, 1
test cl, 1
je 0x4e8c10
cmp dword [ebp - 0x2c], 0
jmp 0x4e8c14
cmp dword [ebp - 0x28], 0
jge 0x4e8c1b
mov ecx, dword [edi + 0x10]
jmp 0x4e8c1e
mov ecx, dword [edi + 0x14]
push dword [ecx + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x416
push ebx
call esi
push 0
push 0xa029
push 0x111
push ebx
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0xc
movzx eax, word [ebp + 0xc]
sub eax, 0x7d0
je 0x4e8c82
sub eax, 1
jne 0x4e8cd8
mov eax, dword [edi + 0x84]
test al, 2
je 0x4e8c7a
xor eax, 2
or eax, 1
jmp 0x4e8cca
xor eax, 1
or eax, 2
jmp 0x4e8c92
mov eax, dword [edi + 0x84]
test al, 2
je 0x4e8cc4
xor eax, 2
or eax, 1
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x84], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 0x14], ecx
lea ecx, [edi + 0x18]
mov dword [edi + 0x10], eax
call fcn.004e8450
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0xc
xor eax, 1
or eax, 2
lea ecx, [edi + 0x18]
mov dword [edi + 0x84], eax
call fcn.004e8450
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x84]
fild dword [edi + 0x74]
sub esp, 8
lea ecx, [edi + 0x18]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fstp qword [esp]
push dword [edi + 0x70]
push dword [edi + 0xc]
push dword [edi + 4]
call fcn.004e7ce0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0xc
movzx eax, byte [edi + 0x88]
sub eax, 1
je 0x4e8d8d
sub eax, 1
je 0x4e8d54
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x24]
sub eax, esi
mov ecx, 0
pop edi
sets cl
dec ecx
and ecx, eax
movzx eax, cx
pop esi
or eax, 0x20000
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x4e8f57
mov eax, ecx
sub eax, 0x13a2
je 0x4e8f24
sub eax, 1
je 0x4e8e89
sub eax, 1
je 0x4e8dd8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0x7c]
add eax, edx
mov ecx, dword [edi + 0x78]
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0x18], esi
test byte [edi + 0x84], 2
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ebx
je 0x4e8e31
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4e8e4c
mov eax, dword [edi + 0x40]
add eax, ecx
mov dword [ebp - 0xc], edx
add eax, edx
sub ecx, eax
mov dword [ebp - 0x24], eax
add ebx, ecx
mov dword [ebp - 0x1c], ebx
jmp 0x4e8e4c
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4e8e4c
mov eax, dword [edi + 0x40]
add eax, edx
mov dword [ebp - 8], ecx
add eax, ecx
sub edx, eax
mov dword [ebp - 0x20], eax
add esi, edx
mov dword [ebp - 0x18], esi
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi + 0x14]
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
push 1
push 0
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [edi + 0x88]
cmp al, 1
je 0x4e8cd8
cmp al, 2
je 0x4e8cd8
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [edi + 0x80], 0
jne 0x4e8ef1
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov esi, dword [sym.imp.USER32.dll_InsertMenuW]
push str.Rotate_to_left
push 0x7d0
push 0x400
push 1
push eax
mov dword [edi + 0x80], eax
call esi
push str.Rotate_to_right
push 0x7d1
push 0x400
push 0
push dword [edi + 0x80]
call esi
push 0
push dword [edi + 0xc]
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0
push dword [edi + 0x80]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0xc
movzx eax, byte [edi + 0x88]
sub eax, 1
je 0x4e8f4f
sub eax, 1
jne 0x4e8d3f
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0x28]
jmp 0x4e8d65
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [ebp - 4]
pop edi
movzx eax, ax
xor ecx, ebp
pop esi
or eax, 0x10000
pop ebx
call fcn.0052c233
mov esp, ebp
pop ebp
ret 0xc