Function at 0x480800
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x5df040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov eax, dword [ebp - 0x90]
mov edx, dword [eax - 0x698]
mov eax, dword [edx + 0xdc]
call eax
movzx ecx, al
test ecx, ecx
je 0x480867
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov edx, dword [ebp - 0x90]
mov eax, dword [edx - 0x698]
mov edx, dword [eax + 0xe8]
call edx
movzx eax, al
test eax, eax
jne 0x48086e
xor eax, eax
jmp 0x481025
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov edx, dword [ebp - 0x90]
mov eax, dword [edx - 0x698]
mov edx, dword [eax + 0xf0]
call edx
movzx eax, al
test eax, eax
jne 0x4808ae
cmp dword [ebp + 8], 0x200
jb 0x4808ae
cmp dword [ebp + 8], 0x20d
ja 0x4808ae
xor eax, eax
jmp 0x481025
cmp dword [ebp + 8], 0x20a
jne 0x4808cf
mov ecx, dword [ebp + 0xc]
and ecx, 0xffff
movzx edx, cx
and edx, 8
jne 0x4808cf
xor eax, eax
jmp 0x481025
mov byte [ebp - 0x91], 1
cmp dword [ebp + 8], 0x200
jb 0x4808e8
cmp dword [ebp + 8], 0x20d
jbe 0x4808f2
cmp dword [ebp + 8], 0x20
jne 0x480bc1
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 4]
call fcn.004805b0
test eax, eax
jne case.default.0x480936
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
sub edx, 0x200
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x98], 5
ja case.default.0x480936
mov eax, dword [ebp - 0x98]
jmp dword [eax*4 + 0x481038]
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
push edx
mov eax, dword [ebp - 0xdc]
push eax
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov edx, dword [ebp - 0x90]
mov eax, dword [edx - 0x698]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.00426410
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x90]
sub eax, 0x698
cmp dword [ebp - 0xc4], eax
je case.default.0x480936
mov byte [ebp - 0x91], 0
xor eax, eax
jmp 0x481025
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx + 4]
call fcn.004805b0
test eax, eax
je 0x4809da
mov dword [ebp - 0xb0], 3
jmp 0x4809e4
mov dword [ebp - 0xb0], 0
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x9c], edx
cmp dword [ebp - 0x9c], 0
jne 0x480b09
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx + 4]
call fcn.0047fe40
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0xa8], edx
cmp dword [ebp + 8], 0x20
jne 0x480a7d
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0xac]
push ecx
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov edx, dword [ebp - 0x90]
mov eax, dword [edx - 0x698]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.00426ec0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
jmp 0x480ab8
cmp dword [ebp + 8], 0x20a
jne 0x480ab8
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov edx, dword [ebp - 0x90]
mov eax, dword [edx - 0x698]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.00426ec0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x480b09
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov eax, dword [ebp - 0x90]
mov edx, dword [eax - 0x698]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00427260
movzx ecx, al
test ecx, ecx
jne 0x480b09
mov dword [ebp - 0x9c], 3
cmp dword [ebp - 0x9c], 3
je 0x480b19
xor eax, eax
jmp 0x481025
cmp dword [ebp + 8], 0x20
jne 0x480b2b
mov byte [ebp - 0x91], 0
jmp 0x480bbc
cmp dword [ebp + 8], 0x201
je 0x480b46
cmp dword [ebp + 8], 0x203
je 0x480b46
cmp dword [ebp + 8], 0x204
jne 0x480bbc
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov edx, dword [ebp - 0x90]
mov eax, dword [edx - 0x698]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.004272f0
movzx eax, al
test eax, eax
jne 0x480b9c
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov edx, dword [ebp - 0x90]
mov eax, dword [edx - 0x698]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.00426ec0
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov eax, dword [ebp - 0x90]
mov edx, dword [eax - 0x698]
mov eax, dword [edx + 0x104]
call eax
jmp 0x480f66
cmp dword [ebp + 8], 0x100
jb 0x480c06
cmp dword [ebp + 8], 0x108
ja 0x480c06
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov edx, dword [ebp - 0x90]
mov eax, dword [edx - 0x698]
mov edx, dword [eax + 0x100]
call edx
movzx eax, al
test eax, eax
jne 0x480c01
xor eax, eax
jmp 0x481025
jmp 0x480f66
cmp dword [ebp + 8], 0x10d
jne 0x480d53
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov edx, dword [ebp - 0x90]
mov eax, dword [edx - 0x698]
mov edx, dword [eax + 0x100]
call edx
movzx eax, al
test eax, eax
je 0x480d40
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.USER32.dll_GetCaretPos]
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov edx, dword [ebp - 0x90]
mov eax, dword [edx - 0x698]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.00426ec0
push eax
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x20], 0x20
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 4]
call fcn.0043bf90
add eax, dword [ebp - 0xe4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xa0]
push eax
call sub.IMM32.dll_ImmSetCompositionWindow
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 0x14]
push edx
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov eax, dword [ebp - 0x90]
mov edx, dword [eax - 0x698]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.004268f0
mov dword [ebp - 0xc8], eax
lea ecx, [ebp - 0x8c]
push ecx
push 0x5c
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
call sub.IMM32.dll_ImmSetCompositionFontW
mov edx, dword [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov eax, dword [ebp - 0x90]
mov edx, dword [eax - 0x698]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00426ec0
push eax
call sub.IMM32.dll_ImmReleaseContext
mov byte [ebp - 0x91], 0
xor eax, eax
jmp 0x481025
cmp dword [ebp + 8], 0x7b
jne 0x480f42
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov edx, dword [ebp - 0x90]
mov eax, dword [edx - 0x698]
mov edx, dword [eax + 0xc4]
call edx
movzx eax, al
test eax, eax
je 0x480f40
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0xbc], ecx
lea edx, [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov eax, dword [ebp - 0x90]
mov edx, dword [eax - 0x698]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00426ec0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov eax, dword [ebp - 0x90]
mov edx, dword [eax - 0x698]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00426410
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
cmp dword [ebp - 0xcc], ecx
je 0x480e3f
mov byte [ebp - 0x91], 0
xor eax, eax
jmp 0x481025
lea edx, [ebp - 0xec]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0xa4], eax
push str._rY6R_
push 0x3e8
push 0
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0x5881a4
push 0x3e9
push 0
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov edx, dword [ebp - 0x90]
mov eax, dword [edx - 0x698]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.00426ec0
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov eax, dword [ebp - 0x90]
mov edx, dword [eax - 0x698]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00426ec0
push eax
push 0
mov ecx, dword [ebp - 0xe8]
push ecx
mov edx, dword [ebp - 0xec]
push edx
push 0x100
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x3e8
jne 0x480f23
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
call fcn.0047e8d0
jmp 0x480f40
cmp dword [ebp - 0xb4], 0x3e9
jne 0x480f40
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
call fcn.00481760
jmp 0x480f66
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xd0], ecx
cmp dword [ebp - 0xd0], 0x53
je 0x480f56
jmp 0x480f5f
mov byte [ebp - 0x91], 0
jmp 0x480f66
xor eax, eax
jmp 0x481025
mov dword [ebp - 0xb8], 0
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
mov eax, dword [ebp - 0x90]
mov edx, dword [eax - 0x698]
mov eax, dword [edx + 0x1f4]
call eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jne 0x480fbf
mov ecx, dword [ebp + 0x14]
mov dl, byte [ebp - 0x91]
mov byte [ecx], dl
jmp 0x48101f
cmp dword [ebp + 8], 0x100
jb 0x480fd1
cmp dword [ebp + 8], 0x108
jbe 0x480fe3
cmp dword [ebp + 8], 0x102
je 0x480fe3
cmp dword [ebp + 8], 0x286
jne 0x480ff0
mov eax, dword [ebp + 0x14]
mov cl, byte [ebp - 0x91]
mov byte [eax], cl
jmp 0x48101f
cmp dword [ebp + 8], 0x200
jb 0x48101f
cmp dword [ebp + 8], 0x20d
ja 0x48101f
mov edx, dword [ebp - 0x90]
mov ecx, dword [edx + 4]
call fcn.004805b0
test eax, eax
je 0x48101f
mov eax, dword [ebp + 0x14]
mov cl, byte [ebp - 0x91]
mov byte [eax], cl
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00423495
mov esp, ebp
pop ebp
ret 0x10