Function at 0x476ace
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [eax], edi
push dword [esi + 0x4a4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x476b13
cmp dword [0x4b82b8], edi
je 0x476b13
mov eax, esi
lea ecx, [esi + 0x1c]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esi + 0x4a0]
push eax
call fcn.004145c7
cmp eax, edi
jne 0x476b92
mov ebx, dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x2c]
push eax
call ebx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x44]
push eax
push dword [esi + 0x270]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x28]
lea eax, [ebp - 0x44]
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x476ba8
lea eax, [ebp - 0x1c]
lea ebx, [esi + 0x22c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x1c]
push eax
push edi
push 0x445
push dword [ebx]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
call ebx
cmp eax, edi
mov dword [ebp - 0x10], eax
jl 0x476ba0
push edi
push edi
push 0x1f
push dword [esi + 4]
call ebx
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004765a5
push 1
pop eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 1
jmp 0x476e3e
push 1
pop eax
jmp 0x476e3e
lea ecx, [ebp - 0x78]
call fcn.00431ffa
lea eax, [ebp - 0x34]
push eax
call ebx
mov eax, dword [ebp - 0x34]
lea ebx, [esi + 0x2bc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push edi
push 9
push 0x110a
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x34]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0x1111
push dword [ebx]
call edi
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x476c4d
push eax
push 9
push 0x110a
push dword [ebx]
call edi
test eax, eax
mov dword [ebp + 0x14], eax
je 0x476e34
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x30], ecx
push dword [ebx]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.0043281a
test eax, eax
mov dword [ebp - 0x10], eax
je 0x476e34
mov ecx, dword [eax]
test ecx, ecx
jne 0x476c6e
mov ecx, dword [esi + 0x3b4]
cmp dword [eax + 8], 0
mov dword [ebp + 0x14], ecx
je 0x476e34
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
push dword [eax + 8]
push dword [ebp + 0x14]
call fcn.0048685a
test eax, eax
je 0x476e24
mov eax, dword [ebp - 0x2c]
push dword [esi + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x270]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x4c], eax
call fcn.004868ae
push 0x14
push 0x7fff
push 1
push 0
push dword [ebp - 4]
lea ecx, [ebp - 0x78]
call fcn.004863cb
push 0
mov eax, dword [esi + 0x270]
push dword [esi + 4]
mov dword [ebp - 0x4c], eax
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0x102
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push dword [esi + 4]
lea ecx, [ebp - 0x78]
push eax
call fcn.00486352
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x14]
call fcn.004038b5
lea ecx, [ebp + 0x14]
call fcn.00403cfb
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_CharLowerW]
cmp dword [ebp - 0xc], 0
je 0x476d50
push 0
push str.delete
lea ecx, [ebp + 0x14]
call fcn.00403d34
test eax, eax
jne 0x476d50
push eax
push 0x1f4
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x4b40dc
lea ecx, [ebp + 0x14]
call fcn.00403d34
test eax, eax
jne 0x476d6f
push eax
push 0x71
push 0x100
push dword [ebx]
call edi
push 0x4b1e10
lea ecx, [ebp - 0xc]
call fcn.00403927
push 0x4b89ec
lea ecx, [ebp - 8]
call fcn.00403927
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push 0x12
push eax
call fcn.00461770
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403b20
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0x28]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
xor ebx, ebx
push ebx
push ebx
push 0x409
push dword [esi + 0x270]
call edi
mov esi, dword [esi + 0x270]
push ebx
lea ecx, [ebp - 0x10]
call fcn.00403c58
push eax
push ebx
push 0x40b
push esi
call edi
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp + 0x14]
call fcn.004038fb
jmp 0x476e26
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x476e34
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_DestroyMenu]
lea ecx, [ebp - 0x78]
call fcn.00432058
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10