Function at 0x556c89
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x34], edi
mov eax, dword [edi + 0x2c]
mov esi, dword [eax + 0x2c]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
cmp dword [esi + 0xa0], eax
je 0x556da9
cmp byte [esi + 0x96], al
jne 0x556d9f
push 2
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0x22
push ebx
push dword [esp + 0x38]
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetDCEx]
mov ebx, eax
mov eax, dword [esp + 0x28]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x5a0049
push 2
push dword [esi + 0xa0]
mov dword [esp + 0x2c], eax
push dword [esi + 0x9c]
push dword [esi + 0x98]
push ebx
call dword [sym.imp.GDI32.dll_PatBlt]
mov ecx, dword [esi + 0x9c]
mov eax, dword [esi + 0xa4]
add ecx, 0xfffffffe
push 0x5a0049
push 2
push dword [esi + 0xa0]
add eax, ecx
push eax
push dword [esi + 0x98]
push ebx
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esi + 0xa4]
push 0x5a0049
sub eax, 4
push eax
mov eax, dword [esi + 0x9c]
push 2
add eax, 2
push eax
push dword [esi + 0x98]
push ebx
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0xa0]
sub eax, 4
push 0x5a0049
push eax
mov eax, dword [esi + 0x9c]
add ecx, 0xfffffffe
push 2
add eax, 2
push eax
mov eax, dword [esi + 0x98]
add eax, ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_PatBlt]
mov dword [esi + 0xa0], 0
cmp byte [ebp + 0x18], 0
je 0x556e4b
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x38]
push eax
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x2c]
push dword [eax + 0x3c]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
cmp dword [esp + 0x38], ecx
jl 0x556e0b
mov edx, dword [ebp + 0xc]
cmp dword [esp + 0x3c], edx
jl 0x556e0b
lea eax, [ecx + esi]
cmp dword [esp + 0x38], eax
jg 0x556e0b
mov eax, dword [ebp + 0x14]
add eax, edx
cmp dword [esp + 0x3c], eax
jle 0x556e4e
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp + 0xc]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x2c]
push dword [eax + 0x3c]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call dword [sym.imp.USER32.dll_SetCursorPos]
jmp 0x556e4e
mov esi, dword [ebp + 0x10]
cmp esi, 4
jl 0x556f66
cmp dword [ebp + 0x14], 4
jl 0x556f66
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x2c]
cmp byte [eax + 0x96], 0
jne 0x556f1b
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x556e86
push 2
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, eax
test ebx, ebx
jne 0x556e99
push 0x22
push ebx
push dword [esp + 0x38]
call dword [sym.imp.USER32.dll_GetDCEx]
mov ebx, eax
cmp dword [esp + 0x20], 0
jne 0x556eac
push edi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
mov edi, dword [ebp + 8]
push 0x5a0049
push 2
push esi
push dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [ebp + 0xc]
push 0x5a0049
push 2
push esi
mov esi, dword [ebp + 0x14]
add eax, 0xfffffffe
add eax, esi
push eax
push edi
push ebx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 0xc]
add esi, 0xfffffffc
mov ecx, dword [ebp + 8]
add edi, 2
push 0x5a0049
push esi
push 2
push edi
push ecx
push ebx
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [ebp + 8]
push 0x5a0049
push esi
mov esi, dword [ebp + 0x10]
add eax, 0xfffffffe
push 2
push edi
add eax, esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x2c]
add eax, 0xa8
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov dword [eax + 0x98], ecx
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x2c]
mov dword [eax + 0x9c], ecx
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax + 0x2c]
mov dword [eax + 0xa0], esi
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [eax + 0xa4], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x556f76
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
test ebx, ebx
je 0x556f85
push ebx
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_ReleaseDC]
test esi, esi
je 0x5571d0
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x28]
push eax
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x2c]
push dword [eax + 0x3c]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [edi + 0x2c]
mov ebx, dword [esp + 0x28]
mov eax, dword [eax + 0x2c]
mov edi, dword [eax + 0x18]
mov dword [esp + 0x30], edi
test ebx, ebx
js 0x5571b4
mov ecx, dword [esp + 0x2c]
test ecx, ecx
js 0x5571b4
mov eax, dword [edi + 0x28]
cmp ebx, dword [eax + 0x2c]
jg 0x5571b4
cmp ecx, dword [eax + 0x30]
jg 0x5571b4
lea ecx, [ecx]
mov edx, dword [edi + 0x30]
test edx, edx
je 0x557050
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x557030
mov esi, dword [ecx + 0x24]
cmp ebx, esi
jl 0x557030
mov eax, dword [ecx + 0x2c]
add eax, esi
cmp ebx, eax
jg 0x557030
mov edi, dword [ecx + 0x28]
cmp dword [esp + 0x2c], edi
jl 0x557030
mov eax, dword [ecx + 0x30]
mov ecx, dword [esp + 0x2c]
add eax, edi
cmp ecx, eax
jle 0x557034
mov edx, dword [edx]
jmp 0x556ffc
mov edi, dword [edx + 0xc]
sub ebx, esi
mov dword [esp + 0x28], ebx
mov eax, dword [edx + 0xc]
mov dword [esp + 0x30], edi
mov eax, dword [eax + 0x28]
sub ecx, dword [eax + 0x28]
mov dword [esp + 0x2c], ecx
jmp 0x556ff9
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x20]
push ecx
fldz
push edi
mov eax, dword [edi]
fstp qword [esp + 0x28]
call dword [eax + 0x14]
mov eax, dword [edi + 0x2c]
mov ebx, dword [esp + 0x30]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0xb0]
cmp eax, ebx
je 0x5570e9
test eax, eax
je 0x5570d3
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x64]
mov esi, dword [eax + 0x80]
test esi, esi
je 0x5570d3
mov esi, dword [esi + 0x34]
test esi, esi
je 0x5570d3
jmp 0x557099
mov edx, dword [esi + 4]
test edx, edx
je 0x5570cd
mov eax, dword [edi + 0x2c]
mov ecx, dword [edx]
push 1
sub esp, 0x10
mov eax, dword [eax + 0x2c]
fld qword [eax + 0xc4]
fstp qword [esp + 8]
fld qword [eax + 0xbc]
fstp qword [esp]
push dword [eax + 0xb4]
push edx
call dword [ecx + 0xa4]
mov esi, dword [esi]
test esi, esi
jne 0x557099
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x30], 0
mov eax, dword [eax + 0x2c]
mov dword [eax + 0xb0], ebx
jmp 0x557109
mov dword [esp + 0x30], 1
test eax, eax
je 0x557109
push dword [ecx + 0xb8]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esp + 0x30], 1
fild dword [esp + 0x28]
fstp qword [esp + 0x38]
fld qword [esp + 0x38]
fdiv qword [esp + 0x20]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x64]
fmul qword [eax + 0x60]
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x2c]
fstp qword [eax + 0xbc]
fild dword [esp + 0x2c]
fstp qword [esp + 0x38]
fld qword [esp + 0x38]
fdiv qword [esp + 0x20]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x64]
fmul qword [eax + 0x68]
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x2c]
fstp qword [eax + 0xc4]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x64]
mov esi, dword [eax + 0x80]
test esi, esi
je 0x5571e0
mov esi, dword [esi + 0x34]
test esi, esi
je 0x5571e0
mov ebx, edi
mov edi, dword [esi + 4]
test edi, edi
je 0x5571a5
mov eax, dword [ebx + 0x2c]
mov edx, dword [edi]
mov ecx, dword [eax + 0x2c]
mov eax, dword [esp + 0x30]
add eax, eax
push eax
fld qword [ecx + 0xc4]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ecx + 0xbc]
fstp qword [esp]
push dword [ecx + 0xb4]
push edi
call dword [edx + 0xa4]
mov esi, dword [esi]
test esi, esi
jne 0x55716c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [0x58ac2c]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x5571e0
push eax
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x2c]
mov dword [eax + 0xb0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14