Function at 0x4af200
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x5a83f8]
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 0x4af267
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 0x4af26e
xor eax, eax
jmp 0x4afa1b
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 0x4af2ae
cmp dword [ebp + 8], 0x200
jb 0x4af2ae
cmp dword [ebp + 8], 0x20d
ja 0x4af2ae
xor eax, eax
jmp 0x4afa1b
cmp dword [ebp + 8], 0x20a
jne 0x4af2cf
mov ecx, dword [ebp + 0xc]
and ecx, 0xffff
movzx edx, cx
and edx, 8
jne 0x4af2cf
xor eax, eax
jmp 0x4afa1b
mov byte [ebp - 0x91], 1
cmp dword [ebp + 8], 0x200
jb 0x4af2e8
cmp dword [ebp + 8], 0x20d
jbe 0x4af2f2
cmp dword [ebp + 8], 0x20
jne 0x4af5b7
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 4]
call fcn.004aef90
test eax, eax
jne 0x4af3b2
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xac], ecx
cmp dword [ebp - 0xac], 0x200
jb 0x4af3b2
cmp dword [ebp - 0xac], 0x205
jbe 0x4af332
jmp 0x4af3b2
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0xdc]
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.00472200
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x90]
sub eax, 0x698
cmp dword [ebp - 0xc4], eax
je 0x4af3b2
mov byte [ebp - 0x91], 0
xor eax, eax
jmp 0x4afa1b
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx + 4]
call fcn.004aef90
test eax, eax
je 0x4af3d0
mov dword [ebp - 0xb0], 3
jmp 0x4af3da
mov dword [ebp - 0xb0], 0
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x98], 0
jne 0x4af4ff
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx + 4]
call fcn.004ae820
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0xa4], edx
cmp dword [ebp + 8], 0x20
jne 0x4af473
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0xa8]
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.00472ca0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
jmp 0x4af4ae
cmp dword [ebp + 8], 0x20a
jne 0x4af4ae
lea eax, [ebp - 0xa8]
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.00472ca0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4af4ff
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.00473040
movzx ecx, al
test ecx, ecx
jne 0x4af4ff
mov dword [ebp - 0x98], 3
cmp dword [ebp - 0x98], 3
je 0x4af50f
xor eax, eax
jmp 0x4afa1b
cmp dword [ebp + 8], 0x20
jne 0x4af521
mov byte [ebp - 0x91], 0
jmp 0x4af5b2
cmp dword [ebp + 8], 0x201
je 0x4af53c
cmp dword [ebp + 8], 0x203
je 0x4af53c
cmp dword [ebp + 8], 0x204
jne 0x4af5b2
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.004730d0
movzx eax, al
test eax, eax
jne 0x4af592
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.00472ca0
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 0x4af95c
cmp dword [ebp + 8], 0x100
jb 0x4af5fc
cmp dword [ebp + 8], 0x108
ja 0x4af5fc
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 0x4af5f7
xor eax, eax
jmp 0x4afa1b
jmp 0x4af95c
cmp dword [ebp + 8], 0x10d
jne 0x4af749
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 0x4af736
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.00472ca0
push eax
call sub.IMM32.dll_ImmGetContext
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x20], 0x20
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 4]
call fcn.004c2c10
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 - 0x9c]
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.004726e0
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 - 0x9c]
push ecx
call sub.IMM32.dll_ImmSetCompositionFontW
mov edx, dword [ebp - 0x9c]
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.00472ca0
push eax
call sub.IMM32.dll_ImmReleaseContext
mov byte [ebp - 0x91], 0
xor eax, eax
jmp 0x4afa1b
cmp dword [ebp + 8], 0x7b
jne 0x4af938
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 0x4af936
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.00472ca0
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.00472200
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
cmp dword [ebp - 0xcc], ecx
je 0x4af835
mov byte [ebp - 0x91], 0
xor eax, eax
jmp 0x4afa1b
lea edx, [ebp - 0xec]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0xa0], eax
push str._rY6R_
push 0x3e8
push 0
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0x55ed94
push 0x3e9
push 0
mov ecx, dword [ebp - 0xa0]
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.00472ca0
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.00472ca0
push eax
push 0
mov ecx, dword [ebp - 0xe8]
push ecx
mov edx, dword [ebp - 0xec]
push edx
push 0x100
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x3e8
jne 0x4af919
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
call fcn.004ad2e0
jmp 0x4af936
cmp dword [ebp - 0xb4], 0x3e9
jne 0x4af936
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
call fcn.004b0160
jmp 0x4af95c
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xd0], ecx
cmp dword [ebp - 0xd0], 0x53
je 0x4af94c
jmp 0x4af955
mov byte [ebp - 0x91], 0
jmp 0x4af95c
xor eax, eax
jmp 0x4afa1b
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 0x4af9b5
mov ecx, dword [ebp + 0x14]
mov dl, byte [ebp - 0x91]
mov byte [ecx], dl
jmp 0x4afa15
cmp dword [ebp + 8], 0x100
jb 0x4af9c7
cmp dword [ebp + 8], 0x108
jbe 0x4af9d9
cmp dword [ebp + 8], 0x102
je 0x4af9d9
cmp dword [ebp + 8], 0x286
jne 0x4af9e6
mov eax, dword [ebp + 0x14]
mov cl, byte [ebp - 0x91]
mov byte [eax], cl
jmp 0x4afa15
cmp dword [ebp + 8], 0x200
jb 0x4afa15
cmp dword [ebp + 8], 0x20d
ja 0x4afa15
mov edx, dword [ebp - 0x90]
mov ecx, dword [edx + 4]
call fcn.004aef90
test eax, eax
je 0x4afa15
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.0046ec22
mov esp, ebp
pop ebp
ret 0x10