Function at 0x48e7b0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x5f0524]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], edi
mov dword [edi], 0
cmp eax, 0x117
ja 0x48eb05
je 0x48eac1
cmp eax, 0x84
ja 0x48ea37
je 0x48e864
sub eax, 2
je 0x48e845
sub eax, 0xd
je 0x48e823
sub eax, 5
jne 0x48e84f
mov dword [edi], 1
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
call fcn.0048e080
mov dword [edi], 0
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
mov dword [esi + 0x98], 0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
push ecx
push 0x84
push dword [esi + 0x98]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi], eax
xorps xmm0, xmm0
lea eax, [esp + 0x20]
mov dword [esp + 0xc], 0
push eax
push dword [esi + 0x30]
mov dword [esp + 0x18], 0
movups xmmword [esp + 0x28], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x48e8c2
mov eax, dword [esp + 0x20]
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
sub dword [esp + 0x10], eax
jmp 0x48e8d2
mov dword [esp + 0x10], 0xffff8001
mov dword [esp + 0xc], 0xffff8001
cmp byte [esi + 0x37e], 0
lea ecx, [esi + 0x290]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
je 0x48e941
call eax
test eax, eax
je 0x48ea13
cmp dword [esp + 0xc], 0
jl 0x48ea13
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
cmp dword [esp + 0xc], eax
jg 0x48ea13
cmp dword [esp + 0x10], 0
jl 0x48ea13
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x2c]
call eax
cmp dword [esp + 0x10], eax
jg 0x48ea13
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
xor edi, edi
mov dword [esp + 0x1c], edi
call eax
test eax, eax
je 0x48ea0f
nop dword [eax]
nop word [eax + eax]
cmp byte [esi + 0x3b1], 0
mov eax, dword [esi + 0x2ac]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x14], eax
je 0x48e9da
mov eax, dword [esi + 0x290]
lea ecx, [esi + 0x290]
mov eax, dword [eax + 0x30]
call eax
dec eax
cmp edi, eax
mov eax, dword [esp + 0x14]
jne 0x48e9da
mov edi, dword [eax + 8]
mov ecx, esi
movups xmm0, xmmword [eax]
sub edi, dword [eax]
mov eax, dword [esi]
movups xmmword [esp + 0x30], xmm0
mov eax, dword [eax + 0x24]
call eax
sub eax, edi
mov ecx, esi
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
call eax
push dword [esp + 0x10]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x34]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x48f350
mov edi, dword [esp + 0x1c]
jmp 0x48e9f1
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x48f350
mov eax, dword [esi + 0x290]
lea ecx, [esi + 0x290]
inc edi
mov dword [esp + 0x1c], edi
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jb 0x48e960
mov edi, dword [esp + 0x18]
cmp dword [edi], 1
jne 0x48f350
mov dword [edi], 0xffffffff
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
sub eax, 0x111
je 0x48ea6f
sub eax, 2
jne 0x48e84f
push eax
push eax
push 0x200
push dword [esi + 0x98]
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
mov eax, ecx
shr eax, 0x10
test eax, eax
jne 0x48e84f
mov eax, dword [esi]
movzx ecx, cx
mov dword [esp + 0x18], ecx
push ecx
mov eax, dword [eax + 0x144]
mov ecx, esi
call eax
test al, al
je 0x48e84f
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x18]
call dword [eax + 0x158]
mov dword [edi], 0
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0x5cc6e8
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48eae1
mov dword [esi + 0x2f4], edi
push 0
push 0xa
push 1
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetTimer]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x202
ja 0x48f317
je 0x48f070
sub eax, 0x200
je 0x48edbe
sub eax, 1
jne 0x48e84f
mov dword [esp + 0xc], eax
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x30]
push eax
push dword [esi + 0x30]
movups xmmword [esp + 0x38], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x48eb69
mov eax, dword [esp + 0x30]
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
sub dword [esp + 0x10], eax
jmp 0x48eb79
mov dword [esp + 0x10], 0xffff8001
mov dword [esp + 0xc], 0xffff8001
mov eax, dword [esi + 0x290]
lea ecx, [esi + 0x290]
or edi, 0xffffffff
cmp byte [esi + 0x37e], 0
mov eax, dword [eax + 0x30]
je 0x48ebe1
call eax
test eax, eax
je 0x48eca6
cmp dword [esp + 0xc], 0
jl 0x48eca6
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
cmp dword [esp + 0xc], eax
jg 0x48eca6
cmp dword [esp + 0x10], 0
jl 0x48eca6
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x2c]
call eax
cmp dword [esp + 0x10], eax
jg 0x48eca6
xor edi, edi
jmp 0x48ecf8
xor edi, edi
mov dword [esp + 0x14], edi
call eax
test eax, eax
je 0x48eca3
nop dword [eax]
nop word [eax + eax]
cmp byte [esi + 0x3b1], 0
mov eax, dword [esi + 0x2ac]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x18], eax
je 0x48ec72
mov eax, dword [esi + 0x290]
lea ecx, [esi + 0x290]
mov eax, dword [eax + 0x30]
call eax
dec eax
cmp edi, eax
mov eax, dword [esp + 0x18]
jne 0x48ec72
mov edi, dword [eax + 8]
mov ecx, esi
movups xmm0, xmmword [eax]
sub edi, dword [eax]
mov eax, dword [esi]
movups xmmword [esp + 0x20], xmm0
mov eax, dword [eax + 0x24]
call eax
sub eax, edi
mov ecx, esi
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
call eax
push dword [esp + 0x10]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov edi, dword [esp + 0x14]
jmp 0x48ec81
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x48ecf0
mov eax, dword [esi + 0x290]
lea ecx, [esi + 0x290]
inc edi
mov dword [esp + 0x14], edi
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jb 0x48ec00
or edi, 0xffffffff
cmp byte [esi + 0x2f1], 0
je 0x48e84f
mov ecx, esi
mov byte [esi + 0x2f1], 0
call fcn.0048e750
push 1
push 0
push dword [esi + 0x30]
mov dword [esi + 0x2ec], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.0048e080
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
mov dword [esp + 0x14], edi
test edi, edi
js 0x48eca6
mov byte [esi + 0x2f0], 1
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004f4693
mov edx, esi
lea ecx, [esi + 0x10]
neg edx
sbb edx, edx
and edx, ecx
cmp eax, edx
je 0x48ed29
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004f4693
push 1
push 0
push dword [esi + 0x30]
mov dword [esi + 0x2ec], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.0048e080
cmp byte [esi + 0x2f1], 0
jne 0x48ed9b
call fcn.00437520
mov edi, dword [esi + 0x300]
mov ecx, dword [esi + 0x304]
add edi, 0x1f4
adc ecx, 0
cmp ecx, edx
jg 0x48e84f
jl 0x48ed78
cmp edi, eax
jae 0x48e84f
mov ecx, esi
mov byte [esi + 0x2f1], 1
call fcn.0048e530
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
mov ecx, esi
mov byte [esi + 0x2f1], 0
call fcn.0048e750
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x30]
mov dword [esp + 0xc], 0
push eax
push dword [esi + 0x30]
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
movups xmmword [esp + 0x38], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x48ee05
mov eax, dword [esp + 0x30]
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
sub dword [esp + 0x10], eax
jmp 0x48ee15
mov dword [esp + 0x10], 0xffff8001
mov dword [esp + 0xc], 0xffff8001
mov eax, dword [esi + 0x290]
lea ecx, [esi + 0x290]
or edi, 0xffffffff
cmp byte [esi + 0x37e], 0
mov eax, dword [eax + 0x30]
je 0x48ee7d
call eax
test eax, eax
je 0x48ef47
cmp dword [esp + 0xc], 0
jl 0x48ef47
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
cmp dword [esp + 0xc], eax
jg 0x48ef47
cmp dword [esp + 0x10], 0
jl 0x48ef47
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x2c]
call eax
cmp dword [esp + 0x10], eax
jg 0x48ef47
xor edi, edi
jmp 0x48efb8
xor edi, edi
mov dword [esp + 0x14], edi
call eax
test eax, eax
je 0x48ef44
nop dword [eax]
cmp byte [esi + 0x3b1], 0
mov eax, dword [esi + 0x2ac]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x18], eax
je 0x48ef0f
mov eax, dword [esi + 0x290]
lea ecx, [esi + 0x290]
mov eax, dword [eax + 0x30]
call eax
dec eax
cmp edi, eax
mov eax, dword [esp + 0x18]
jne 0x48ef0f
mov edi, dword [eax + 8]
mov ecx, esi
movups xmm0, xmmword [eax]
sub edi, dword [eax]
mov eax, dword [esi]
movups xmmword [esp + 0x20], xmm0
mov eax, dword [eax + 0x24]
call eax
sub eax, edi
mov ecx, esi
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
call eax
push dword [esp + 0x10]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x48ef26
mov eax, edi
mov dword [esp + 0x14], eax
jmp 0x48efb0
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x48efaa
mov eax, dword [esi + 0x290]
lea ecx, [esi + 0x290]
inc edi
mov dword [esp + 0x14], edi
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jb 0x48ee90
or edi, 0xffffffff
cmp byte [esi + 0x2f0], 0
jne 0x48ef7a
cmp byte [esi + 0x2f1], 0
jne 0x48ef7a
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004f4693
mov edx, esi
lea ecx, [esi + 0x10]
neg edx
sbb edx, edx
and edx, ecx
cmp eax, edx
jne 0x48ef7a
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0x2ec]
cmp ecx, edi
je 0x48e84f
cmp byte [esi + 0x2f1], 0
je 0x48ecc1
mov eax, dword [esi + 0x2dc]
cmp dword [eax + ecx*4], 0
jne 0x48e84f
jmp 0x48ecc1
mov eax, edi
mov dword [esp + 0x14], edi
test edi, edi
mov edi, dword [esp + 0x14]
js 0x48ef47
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004f4693
mov edx, esi
lea ecx, [esi + 0x10]
neg edx
sbb edx, edx
and edx, ecx
cmp eax, edx
je 0x48efe2
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004f4693
mov ecx, dword [esi + 0x2ec]
cmp ecx, edi
je 0x48e84f
cmp byte [esi + 0x2f1], 0
je 0x48f017
test ecx, ecx
js 0x48f017
mov eax, dword [esi + 0x2dc]
cmp dword [eax + ecx*4], 0
je 0x48f017
mov ecx, esi
call fcn.0048e750
mov byte [esi + 0x2f8], 1
push 1
push 0
push dword [esi + 0x30]
mov dword [esi + 0x2ec], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.0048e080
cmp byte [esi + 0x2f1], 0
jne 0x48f047
cmp byte [esi + 0x3b0], 0
je 0x48e84f
cmp byte [esi + 0x2f8], 0
jne 0x48e84f
mov ecx, esi
call fcn.0048e530
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
cmp byte [esi + 0x2f0], 0
je 0x48e84f
lea eax, [esp + 0x30]
mov dword [esp + 0xc], 0
push eax
push dword [esi + 0x30]
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
movups xmmword [esp + 0x38], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x48f0c4
mov eax, dword [esp + 0x30]
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
sub dword [esp + 0x10], eax
jmp 0x48f0d4
mov dword [esp + 0x10], 0xffff8001
mov dword [esp + 0xc], 0xffff8001
mov eax, dword [esi + 0x290]
lea ecx, [esi + 0x290]
or edi, 0xffffffff
cmp byte [esi + 0x37e], 0
mov eax, dword [eax + 0x30]
je 0x48f13c
call eax
test eax, eax
je 0x48f207
cmp dword [esp + 0xc], 0
jl 0x48f207
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
cmp dword [esp + 0xc], eax
jg 0x48f207
cmp dword [esp + 0x10], 0
jl 0x48f207
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x2c]
call eax
cmp dword [esp + 0x10], eax
jg 0x48f207
xor edi, edi
jmp 0x48f27d
xor edi, edi
mov dword [esp + 0x14], edi
call eax
test eax, eax
je 0x48f204
nop dword [eax]
cmp byte [esi + 0x3b1], 0
mov eax, dword [esi + 0x2ac]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x18], eax
je 0x48f1cf
mov eax, dword [esi + 0x290]
lea ecx, [esi + 0x290]
mov eax, dword [eax + 0x30]
call eax
dec eax
cmp edi, eax
mov eax, dword [esp + 0x18]
jne 0x48f1cf
mov edi, dword [eax + 8]
mov ecx, esi
movups xmm0, xmmword [eax]
sub edi, dword [eax]
mov eax, dword [esi]
movups xmmword [esp + 0x20], xmm0
mov eax, dword [eax + 0x24]
call eax
sub eax, edi
mov ecx, esi
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
call eax
push dword [esp + 0x10]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x48f1e6
mov eax, edi
mov dword [esp + 0x14], eax
jmp 0x48f275
push dword [esp + 0x10]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x48f26f
mov eax, dword [esi + 0x290]
lea ecx, [esi + 0x290]
inc edi
mov dword [esp + 0x14], edi
mov eax, dword [eax + 0x30]
call eax
cmp edi, eax
jb 0x48f150
or edi, 0xffffffff
cmp byte [esi + 0x2f1], 0
jne 0x48f231
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004f4693
mov edx, esi
lea ecx, [esi + 0x10]
neg edx
sbb edx, edx
and edx, ecx
cmp eax, edx
jne 0x48f231
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [esi + 0x2ec], edi
je 0x48f253
mov dword [esi + 0x2ec], edi
push 1
push 0
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.0048e080
mov byte [esi + 0x2f0], 0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
mov eax, edi
mov dword [esp + 0x14], edi
test edi, edi
mov edi, dword [esp + 0x14]
js 0x48f207
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004f4693
mov edx, esi
lea ecx, [esi + 0x10]
neg edx
sbb edx, edx
and edx, ecx
cmp eax, edx
je 0x48f2a7
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004f4693
cmp dword [esi + 0x2ec], edi
je 0x48f2c9
push 1
push 0
push dword [esi + 0x30]
mov dword [esi + 0x2ec], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.0048e080
mov ecx, dword [esi + 0x2ec]
mov eax, dword [esi + 0x2dc]
cmp dword [eax + ecx*4], 0
jne 0x48f253
mov byte [esi + 0x2f1], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0x2ec]
mov eax, dword [esi + 0x244]
mov edx, dword [esi]
mov eax, dword [eax + ecx*4]
mov ecx, esi
push dword [eax + 0x14]
call dword [edx + 0x158]
mov dword [esi + 0x2ec], 0xffffffff
jmp 0x48f23f
cmp eax, 0x40f
je 0x48f347
cmp eax, 0x8002
jne 0x48e84f
mov eax, dword [ecx]
push esi
call dword [eax + 0xc4]
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
call dword [eax + 0x60]
mov ecx, dword [esp + 0x4c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10