Function at 0x4288d0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f61c3
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x65b500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xd0], 0
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xdc]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [edi + 0x45c]
lea eax, [ebp - 0xcc]
xor esi, esi
push eax
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xcc], esi
call fcn.0047bc00
mov ebx, dword [ebp - 0xcc]
test ebx, ebx
je 0x428d40
cmp ebx, dword [edi + 0x460]
je 0x428a98
cmp ebx, dword [edi + 0x464]
je 0x428a98
mov ecx, dword [edi + 0x468]
cmp ebx, ecx
jne 0x428c02
mov eax, dword [ecx + 0x5b8]
add ecx, 0x5b8
call dword [eax + 4]
mov edx, eax
test edx, edx
js 0x428d40
mov ecx, dword [edi + 0x468]
add ecx, 0x558
push edx
mov eax, dword [ecx]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x428c02
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
mov esi, dword [sym.imp.USER32.dll_CopyRect]
push eax
lea eax, [ebp - 0x20]
push eax
call esi
mov ecx, dword [edi + 0x468]
mov eax, dword [ecx]
call dword [eax + 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call esi
push dword [ebp - 0xd8]
mov esi, dword [sym.imp.USER32.dll_PtInRect]
lea eax, [ebp - 0x20]
push dword [ebp - 0xdc]
push eax
call esi
test eax, eax
je 0x428c00
push dword [ebp - 0xd8]
lea eax, [ebp - 0x30]
push dword [ebp - 0xdc]
push eax
call esi
test eax, eax
je 0x428c00
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x100]
mov ecx, eax
call fcn.0045f8c0
push eax
lea ecx, [ebp - 0xd4]
call fcn.00406060
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 4], 2
cmp dword [eax - 0xc], 0
jne 0x428a4f
lea ecx, [ebp - 0xd4]
call fcn.00406220
jmp 0x428d40
lea eax, [ebp - 0xd4]
push eax
lea ecx, [edi + 0x410]
call fcn.0040fc30
push dword [ebp - 0xd4]
call fcn.0043d690
add esp, 4
mov ecx, edi
push eax
push 0
call fcn.0041ef50
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xe0], esi
call fcn.00406220
jmp 0x428bf6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push dword [ebp - 0xd8]
lea eax, [ebp - 0x40]
push dword [ebp - 0xdc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x428c02
lea eax, [ebp - 0xdc]
mov ecx, ebx
push eax
call fcn.0040a3e0
mov dword [ebp - 0xd4], eax
test eax, eax
je 0x428b16
mov edx, dword [eax]
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, eax
call dword [edx + 8]
push str.TileItem
mov ecx, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xd0], 1
call fcn.0045f800
mov byte [ebp - 0xc5], 1
test al, al
jne 0x428b1d
mov byte [ebp - 0xc5], 0
test byte [ebp - 0xd0], 1
mov dword [ebp - 4], 0xffffffff
je 0x428b38
lea ecx, [ebp - 0xc4]
call fcn.004328a0
cmp byte [ebp - 0xc5], 0
je 0x428bdf
mov esi, dword [ebp - 0xd4]
mov ecx, ebx
push esi
call fcn.0040b100
lea eax, [ebp - 0xd0]
push esi
push eax
call fcn.0040a270
add esp, 8
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 4], 1
cmp dword [eax - 0xc], 0
jne 0x428b86
lea ecx, [ebp - 0xd0]
call fcn.00406220
jmp 0x428d40
lea eax, [ebp - 0xd0]
push eax
lea ecx, [edi + 0x410]
call fcn.0040fc30
push dword [ebp - 0xd0]
call fcn.0043d690
add esp, 4
mov ecx, ebx
mov esi, eax
call fcn.0040a3c0
xor eax, eax
mov ecx, edi
cmp ebx, dword [edi + 0x460]
push esi
sete al
push eax
call fcn.0041ef50
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xe0], esi
call fcn.00406220
jmp 0x428bf6
cmp ebx, dword [edi + 0x460]
jne 0x428c02
mov ecx, edi
call fcn.0041f1c0
mov esi, eax
mov dword [ebp - 0xe0], eax
test esi, esi
jne 0x428cfb
jmp 0x428c02
xor esi, esi
push dword [ebp - 0xd8]
lea ecx, [edi + 0x30]
push dword [ebp - 0xdc]
call fcn.00462890
test eax, eax
je 0x428d40
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x100]
mov ecx, eax
call fcn.0045f8c0
push eax
lea ecx, [ebp - 0xcc]
call fcn.00406060
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 4], 3
cmp dword [eax - 0xc], 0
jl 0x428cd8
push str.btn_
push eax
call fcn.005c561e
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xcc]
test ecx, ecx
je 0x428cd8
sub ecx, eax
sar ecx, 1
jne 0x428cd8
mov edx, str.btn_more
mov ecx, eax
nop dword [eax]
mov si, word [ecx]
cmp si, word [edx]
jne 0x428ca6
test si, si
je 0x428ca2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x428ca6
add ecx, 4
add edx, 4
test si, si
jne 0x428c80
xor ecx, ecx
jmp 0x428cab
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x428cd2
lea eax, [ebp - 0xcc]
push eax
lea ecx, [edi + 0x48c]
call fcn.0040fc30
mov ecx, edi
call fcn.0041f5a0
mov esi, eax
mov eax, dword [ebp - 0xcc]
jmp 0x428cd8
mov esi, dword [ebp - 0xe0]
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428cf7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x428d40
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
push dword [edi + 4]
push 0
push dword [ebp - 0xe4]
push dword [ebp - 0xe8]
push 0x142
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
je 0x428d39
push 0
push 0
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004da36e
mov esp, ebp
pop ebp
ret 0x10