Function at 0x4365b0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x4c0074]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x14], eax
cmp edi, 1
jne 0x4366ab
neg ecx
lea eax, [esi - 0x24]
sbb ecx, ecx
and ecx, eax
xor eax, eax
mov dword [esp + 0x10], ecx
add ecx, 0x24
mov dword [esp + 0x20], ecx
cmp byte [ecx], al
sete al
add eax, 0x7f84
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x30], eax
test byte [ecx + 0x4c], 0x10
jne 0x436629
xor eax, eax
cmp byte [ecx], al
sete al
add eax, 0x20
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x10]
xor edx, edx
test ecx, ecx
push 0xffffffffffffffec
cmove eax, edx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x200
mov eax, dword [esp + 0x20]
mov cl, byte [eax]
je 0x43666b
xor eax, eax
test cl, cl
sete al
add eax, 0x2d
push eax
mov eax, dword [sym.imp.USER32.dll_GetSystemMetrics]
call eax
mov ecx, dword [esp + 0x20]
add eax, eax
mov dword [ecx + 0x38], eax
xor ecx, ecx
jmp 0x436688
mov dword [eax + 0x38], 0
xor eax, eax
test cl, cl
sete al
add eax, 0x2d
push eax
mov eax, dword [sym.imp.USER32.dll_GetSystemMetrics]
call eax
mov ecx, eax
add ecx, ecx
mov eax, dword [esp + 0x20]
push 0
mov dword [eax + 0x34], ecx
add eax, 0x3c
push eax
push 0
push 0x26
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0x14]
mov dword [ecx], 1
jmp 0x4366e2
cmp edi, 0xf
jne 0x4366da
sub esp, 8
push dword [ebp + 0x10]
push ecx
call fcn.004375c0
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x318
je 0x4366b0
mov eax, dword [esi + 0x4c]
shr eax, 1
not al
test al, 1
je 0x436c41
cmp edi, 0x20
jne 0x43677b
test esi, esi
lea ecx, [esi - 0x20]
mov eax, 4
mov edi, 1
cmove ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], ecx
cmp eax, dword [ecx]
jne 0x436756
cmp word [ebp + 0x14], di
jne 0x436756
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
push dword [eax]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [esp + 0x1c]
mov ecx, esi
push dword [esp + 0x1c]
call fcn.004379a0
test al, al
jne 0x436758
xor edi, edi
mov eax, dword [esp + 0x14]
mov dword [eax], edi
test edi, edi
jne 0x436854
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x200
jne 0x4368a4
mov eax, dword [ebp + 0x14]
mov ecx, 4
movsx edi, ax
shr eax, 0x10
test esi, esi
cwde
mov dword [esp + 0x20], eax
lea eax, [esi - 0x20]
cmove eax, ecx
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx]
jne 0x43686c
cmp byte [esi], 0
mov eax, dword [esi + 0x40]
je 0x4367c5
sub edi, dword [esi + 0xc]
jmp 0x4367cc
mov edi, dword [esp + 0x20]
sub edi, dword [esi + 0x10]
sub edi, eax
mov eax, 0xfffffffe
cmp edi, 0xffffffff
cmove edi, eax
cmp dword [esi + 0x1c], edi
je case.0x436b1d.14
test esi, esi
mov eax, esi
mov ecx, 0x24
cmove eax, ecx
cmp byte [esi + 0x3c], 0
mov dword [esp + 0x20], eax
je 0x436830
push 1
push edi
mov ecx, eax
call fcn.00437bc0
test al, al
je case.0x436b1d.14
mov eax, dword [esp + 0x10]
push dword [eax]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
mov ecx, esi
call fcn.00437820
mov ecx, dword [esp + 0x20]
push 0
push edi
call fcn.00437bc0
mov ecx, esi
call fcn.00437820
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
push dword [esp + 0x20]
mov ecx, esi
push edi
call fcn.004379a0
test al, al
je 0x436885
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0x14]
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x201
jne 0x4369d1
mov eax, dword [ebp + 0x14]
mov ecx, 4
movsx edi, ax
shr eax, 0x10
test esi, esi
cwde
mov dword [esp + 0x10], eax
lea eax, [esi - 0x20]
cmove eax, ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx]
je 0x436986
push dword [esp + 0x10]
mov ecx, esi
push edi
call fcn.004379a0
test al, al
je 0x436986
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x20]
push dword [eax]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esp + 0x20]
push dword [eax]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [esi + 0x30]
mov dword [esi + 0x24], eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp byte [esi + 0x3c], 0
jne 0x43692c
mov ecx, esi
call fcn.00437820
cmp byte [esi], 0
mov eax, dword [esi + 0x1c]
je 0x43695b
sub edi, dword [esi + 0xc]
sub edi, eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x40], edi
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
mov edi, dword [esp + 0x10]
sub edi, dword [esi + 0x10]
sub edi, eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x40], edi
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx]
jne 0x436c7b
push dword [esp + 0x10]
mov ecx, esi
push edi
call fcn.004379a0
test al, al
jne 0x436c7b
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x14]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x202
jne 0x436a1f
call dword [sym.imp.USER32.dll_GetCapture]
test esi, esi
lea ecx, [esi - 0x20]
mov edx, 4
cmove ecx, edx
cmp eax, dword [ecx]
jne 0x436c7b
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x14]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x203
jne 0x436a5e
test esi, esi
mov eax, 0x24
push 1
cmove esi, eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.00437bc0
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x215
jne 0x436ae0
cmp byte [esi + 0x3c], 0
jne 0x436a73
mov ecx, esi
call fcn.00437820
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
je 0x436aac
cmp byte [esi + 0x3c], 0
je 0x436a86
cmp dword [esi + 0x1c], eax
je 0x436aac
mov ecx, esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
call fcn.00436440
test esi, esi
lea eax, [esi - 0x20]
mov ecx, 4
cmove eax, ecx
push dword [eax]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x24]
test eax, eax
je case.0x436b1d.14
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x100
jne 0x436c41
call dword [sym.imp.USER32.dll_GetCapture]
test esi, esi
lea ecx, [esi - 0x20]
mov edx, 4
cmove ecx, edx
cmp eax, dword [ecx]
jne 0x436885
mov edi, dword [ebp + 0x10]
lea eax, [edi - 0xd]
cmp eax, 0x1b
ja case.0x436b1d.14
movzx eax, byte [eax + 0x436dcc]
jmp dword [eax*4 + 0x436db8]
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x436b1d.14
cmp byte [esi], 0
je case.0x436b1d.14
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x1c]
cmp edi, 0x25
mov edi, dword [esi + 0x38]
mov ecx, 0xfffffff6
mov edx, 0xa
mov dword [esp + 0x10], eax
cmove edx, ecx
mov ecx, dword [esi + 0x34]
add edx, eax
lea eax, [ecx + edi]
cmp edx, eax
jl 0x436b93
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x2c]
sub eax, dword [esi + 0xc]
sub eax, ecx
mov ecx, edx
sub eax, edi
cmp edx, eax
cmovg ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, dword [esp + 0x10]
push dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x24], eax
push eax
jmp 0x436c19
cmp byte [esi], 0
jne case.0x436b1d.14
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x1c]
cmp edi, 0x26
mov edi, dword [esi + 0x38]
mov ecx, 0xfffffff6
mov edx, 0xa
mov dword [esp + 0x10], eax
cmove edx, ecx
mov ecx, dword [esi + 0x34]
add edx, eax
lea eax, [ecx + edi]
cmp edx, eax
jl 0x436c06
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x10]
sub eax, ecx
mov ecx, edx
sub eax, edi
cmp edx, eax
cmovg ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, dword [esp + 0x10]
add eax, ecx
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 7
jne 0x436c9a
call dword [sym.imp.USER32.dll_GetCapture]
test esi, esi
lea ecx, [esi - 0x20]
mov edx, 4
cmove ecx, edx
cmp eax, dword [ecx]
je 0x436c7b
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
jne 0x436c71
mov eax, dword [esi + 0x28]
test eax, eax
je 0x436c71
cmp eax, 1
jne 0x436c7b
push dword [esi + eax*4 + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x14]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x21
jne 0x436d7c
push dword [ebp + 0x14]
test esi, esi
lea edi, [esi - 0x20]
push dword [ebp + 0x10]
mov eax, 4
mov ecx, 0x20
cmove edi, eax
lea eax, [esi - 4]
push 0x21
cmove eax, ecx
push dword [edi]
push dword [eax]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov dword [esp + 0x10], eax
cmp eax, 1
je 0x436cdb
cmp eax, 2
jne 0x436d5a
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push dword [edi]
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
xorps xmm0, xmm0
xor edi, edi
movaps xmmword [esp + 0x20], xmm0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
push edi
call fcn.00437480
test al, al
je 0x436d2f
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x436d57
inc edi
cmp edi, 2
jl 0x436d07
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
mov dword [esi + 0x28], edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x1a
jne 0x436766
mov eax, 0x24
test esi, esi
push 1
cmove esi, eax
mov ecx, esi
call fcn.00437790
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov dword [eax], 0
lea eax, [edi - 0x19]
pop edi
pop esi
xor ecx, esp
call fcn.0046c8db
mov esp, ebp
pop ebp
ret 0x18