Function at 0x47f820
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x5e1040]
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 0x47f887
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 0x47f88e
xor eax, eax
jmp 0x480045
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 0x47f8ce
cmp dword [ebp + 8], 0x200
jb 0x47f8ce
cmp dword [ebp + 8], 0x20d
ja 0x47f8ce
xor eax, eax
jmp 0x480045
cmp dword [ebp + 8], 0x20a
jne 0x47f8ef
mov ecx, dword [ebp + 0xc]
and ecx, 0xffff
movzx edx, cx
and edx, 8
jne 0x47f8ef
xor eax, eax
jmp 0x480045
mov byte [ebp - 0x91], 1
cmp dword [ebp + 8], 0x200
jb 0x47f908
cmp dword [ebp + 8], 0x20d
jbe 0x47f912
cmp dword [ebp + 8], 0x20
jne 0x47fbe1
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 4]
call fcn.0047f5d0
test eax, eax
jne case.default.0x47f956
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.0x47f956
mov eax, dword [ebp - 0x98]
jmp dword [eax*4 + 0x480058]
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.00425430
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x90]
sub eax, 0x698
cmp dword [ebp - 0xc4], eax
je case.default.0x47f956
mov byte [ebp - 0x91], 0
xor eax, eax
jmp 0x480045
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx + 4]
call fcn.0047f5d0
test eax, eax
je 0x47f9fa
mov dword [ebp - 0xb0], 3
jmp 0x47fa04
mov dword [ebp - 0xb0], 0
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x9c], edx
cmp dword [ebp - 0x9c], 0
jne 0x47fb29
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x90]
mov ecx, dword [ecx + 4]
call fcn.0047ee60
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 0x47fa9d
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.00425ee0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
jmp 0x47fad8
cmp dword [ebp + 8], 0x20a
jne 0x47fad8
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.00425ee0
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 0x47fb29
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.00426280
movzx ecx, al
test ecx, ecx
jne 0x47fb29
mov dword [ebp - 0x9c], 3
cmp dword [ebp - 0x9c], 3
je 0x47fb39
xor eax, eax
jmp 0x480045
cmp dword [ebp + 8], 0x20
jne 0x47fb4b
mov byte [ebp - 0x91], 0
jmp 0x47fbdc
cmp dword [ebp + 8], 0x201
je 0x47fb66
cmp dword [ebp + 8], 0x203
je 0x47fb66
cmp dword [ebp + 8], 0x204
jne 0x47fbdc
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.00426310
movzx eax, al
test eax, eax
jne 0x47fbbc
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.00425ee0
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 0x47ff86
cmp dword [ebp + 8], 0x100
jb 0x47fc26
cmp dword [ebp + 8], 0x108
ja 0x47fc26
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 0x47fc21
xor eax, eax
jmp 0x480045
jmp 0x47ff86
cmp dword [ebp + 8], 0x10d
jne 0x47fd73
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 0x47fd60
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.00425ee0
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.0043afc0
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.00425910
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.00425ee0
push eax
call sub.IMM32.dll_ImmReleaseContext
mov byte [ebp - 0x91], 0
xor eax, eax
jmp 0x480045
cmp dword [ebp + 8], 0x7b
jne 0x47ff62
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 0x47ff60
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.00425ee0
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.00425430
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
cmp dword [ebp - 0xcc], ecx
je 0x47fe5f
mov byte [ebp - 0x91], 0
xor eax, eax
jmp 0x480045
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 0x5871b4
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.00425ee0
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.00425ee0
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 0x47ff43
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
call fcn.0047d8f0
jmp 0x47ff60
cmp dword [ebp - 0xb4], 0x3e9
jne 0x47ff60
mov ecx, dword [ebp - 0x90]
sub ecx, 0x698
call fcn.00480780
jmp 0x47ff86
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xd0], ecx
cmp dword [ebp - 0xd0], 0x53
je 0x47ff76
jmp 0x47ff7f
mov byte [ebp - 0x91], 0
jmp 0x47ff86
xor eax, eax
jmp 0x480045
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 0x47ffdf
mov ecx, dword [ebp + 0x14]
mov dl, byte [ebp - 0x91]
mov byte [ecx], dl
jmp 0x48003f
cmp dword [ebp + 8], 0x100
jb 0x47fff1
cmp dword [ebp + 8], 0x108
jbe 0x480003
cmp dword [ebp + 8], 0x102
je 0x480003
cmp dword [ebp + 8], 0x286
jne 0x480010
mov eax, dword [ebp + 0x14]
mov cl, byte [ebp - 0x91]
mov byte [eax], cl
jmp 0x48003f
cmp dword [ebp + 8], 0x200
jb 0x48003f
cmp dword [ebp + 8], 0x20d
ja 0x48003f
mov edx, dword [ebp - 0x90]
mov ecx, dword [edx + 4]
call fcn.0047f5d0
test eax, eax
je 0x48003f
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.004224b5
mov esp, ebp
pop ebp
ret 0x10