Function at 0x4625e0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x1c], ebx
jne 0x4627d3
mov eax, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov dword [ebp - 0x2c], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x34], eax
cmp ecx, 1
jne 0x4626e2
xor ecx, ecx
lea edi, [esi - 0x24]
test esi, esi
mov eax, edi
cmove eax, ecx
mov dword [ebp - 0x24], eax
lea ecx, [eax + 0x24]
xor eax, eax
cmp byte [ecx], al
mov dword [ebp - 0x20], ecx
sete al
add eax, 0x7f84
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x30], eax
test byte [ecx + 0x4c], 0x10
jne 0x462673
xor eax, eax
cmp byte [ecx], al
sete al
add eax, 0x20
push eax
call dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x24]
xor edx, edx
test ecx, ecx
push 0xffffffffffffffec
cmove eax, edx
push dword [eax + 4]
call dword [ebp - 0x34]
and eax, 0x200
mov eax, dword [ebp - 0x20]
mov cl, byte [eax]
je 0x4626ab
xor eax, eax
test cl, cl
sete al
add eax, 0x2d
push eax
call dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add eax, eax
mov dword [ecx + 0x38], eax
xor ecx, ecx
jmp 0x4626c4
mov dword [eax + 0x38], 0
xor eax, eax
test cl, cl
sete al
add eax, 0x2d
push eax
call dword [ebp - 0x18]
mov ecx, eax
add ecx, ecx
mov eax, dword [ebp - 0x20]
push 0
mov dword [eax + 0x34], ecx
add eax, 0x3c
push eax
push 0
push 0x26
call dword [ebp - 0x2c]
mov ecx, dword [ebp + 0xc]
mov dword [ebx], 1
jmp 0x46274a
cmp ecx, 0xf
jne 0x462713
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov ecx, esi
call fcn.00460050
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x318
jne 0x462747
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov ecx, esi
call fcn.00460050
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 0x18
lea edi, [esi - 0x24]
mov eax, dword [esi + 0x4c]
mov edx, dword [ebp + 0x14]
shr eax, 1
not al
test al, 1
je 0x462bab
cmp ecx, 0x20
jne 0x4627e8
test esi, esi
lea edi, [esi - 0x20]
mov eax, 4
cmove edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi]
jne 0x4627cd
cmp dx, 1
jne 0x4627cd
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push dword [edi]
mov dword [ebp - 0x28], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x24]
mov ecx, esi
push dword [ebp - 0x28]
call fcn.0045b0d0
test al, al
je 0x4627cd
pop edi
pop esi
mov dword [ebx], 1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 0x18
mov dword [ebx], 0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 0x18
movzx eax, dx
lea ebx, [esi - 0x20]
movsx edi, ax
cmp ecx, 0x200
jne 0x4628b3
shr edx, 0x10
test esi, esi
movsx eax, dx
mov dword [ebp - 0x18], eax
mov eax, 4
mov dword [ebp - 0x20], 1
cmove ebx, eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebx]
jne 0x46287c
cmp byte [esi], 0
mov eax, dword [esi + 0x40]
je 0x46282e
sub edi, dword [esi + 0xc]
jmp 0x462834
mov edi, dword [ebp - 0x18]
sub edi, dword [esi + 0x10]
sub edi, eax
mov eax, 0xfffffffe
cmp edi, 0xffffffff
cmove edi, eax
cmp dword [esi + 0x1c], edi
je 0x46289b
cmp byte [esi + 0x3c], 0
mov ecx, esi
je 0x462864
push 1
push edi
call fcn.00466c80
test al, al
je 0x46289b
push dword [ebx]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x46289b
call fcn.00457000
push 0
push edi
mov ecx, esi
call fcn.00466c80
mov ecx, esi
call fcn.00457000
jmp 0x46289b
push dword [ebp - 0x18]
mov ecx, esi
push edi
call fcn.0045b0d0
test al, al
je 0x462894
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jne 0x462a5f
jmp 0x4627d3
cmp ecx, 0x201
jne 0x462986
shr edx, 0x10
test esi, esi
movsx eax, dx
mov dword [ebp - 0x18], eax
mov eax, 4
cmove ebx, eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebx]
je 0x462951
push dword [ebp - 0x18]
mov ecx, esi
push edi
call fcn.0045b0d0
test al, al
je 0x462951
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
push dword [ebx]
call dword [sym.imp.USER32.dll_SetCapture]
push dword [ebx]
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 0x46291a
mov ecx, esi
call fcn.00457000
cmp byte [esi], 0
mov eax, dword [esi + 0x1c]
je 0x462938
sub edi, dword [esi + 0xc]
sub edi, eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x40], edi
mov dword [eax], 1
jmp 0x4627d3
mov edi, dword [ebp - 0x18]
sub edi, dword [esi + 0x10]
sub edi, eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x40], edi
mov dword [eax], 1
jmp 0x4627d3
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebx]
jne 0x462be5
push dword [ebp - 0x18]
mov ecx, esi
push edi
call fcn.0045b0d0
test al, al
jne 0x462be5
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 1
jmp 0x4627d3
cmp ecx, 0x202
jne 0x4629c0
call dword [sym.imp.USER32.dll_GetCapture]
test esi, esi
mov ecx, 4
cmove ebx, ecx
cmp eax, dword [ebx]
jne 0x462be5
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 1
jmp 0x4627d3
lea edi, [esi - 0x24]
cmp ecx, 0x203
jne 0x4629ff
xor eax, eax
test esi, esi
push 1
cmove edi, eax
push 0xffffffffffffffff
lea ecx, [edi + 0x24]
call fcn.00466c80
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x215
jne 0x462a77
cmp byte [esi + 0x3c], 0
jne 0x462a14
mov ecx, esi
call fcn.00457000
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
je 0x462a48
cmp byte [esi + 0x3c], 0
je 0x462a27
cmp dword [esi + 0x1c], eax
je 0x462a48
mov ecx, esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
call fcn.00468700
xor eax, eax
test esi, esi
cmove edi, eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x24]
test eax, eax
je case.0x462aab.14
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x100
jne 0x462bae
call dword [sym.imp.USER32.dll_GetCapture]
xor ecx, ecx
test esi, esi
cmove edi, ecx
cmp eax, dword [edi + 4]
jne 0x462ba1
mov edi, dword [ebp + 0x10]
lea eax, [edi - 0xd]
cmp eax, 0x1b
ja case.0x462aab.14
movzx eax, byte [eax + 0x462dec]
jmp dword [eax*4 + 0x462dd8]
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x462aab.14
cmp byte [esi], cl
je case.0x462aab.14
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x34]
cmp edi, 0x25
mov edi, dword [esi + 0x38]
mov eax, 0xfffffff6
mov ebx, dword [esi + 0x1c]
mov edx, 0xa
cmove edx, eax
add edx, ebx
lea eax, [ecx + edi]
cmp edx, eax
jl 0x462b0c
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 [ebp - 0x28]
sub ecx, ebx
push dword [ebp - 0x24]
add eax, ecx
mov dword [ebp - 0x28], eax
push eax
jmp 0x462b7a
cmp byte [esi], cl
jne case.0x462aab.14
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x34]
cmp edi, 0x26
mov edi, dword [esi + 0x38]
mov eax, 0xfffffff6
mov ebx, dword [esi + 0x1c]
mov edx, 0xa
cmove edx, eax
add edx, ebx
lea eax, [ecx + edi]
cmp edx, eax
jl 0x462b6c
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 [ebp - 0x2c]
sub ecx, ebx
add eax, ecx
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x4627d3
lea ebx, [esi - 0x20]
cmp ecx, 7
jne 0x462bf3
call dword [sym.imp.USER32.dll_GetCapture]
test esi, esi
mov ecx, 4
cmove ebx, ecx
cmp eax, dword [ebx]
je 0x462be5
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
jne 0x462bdb
mov eax, dword [esi + 0x28]
test eax, eax
je 0x462bdb
cmp eax, 1
jne 0x462be5
push dword [esi + eax*4 + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 1
jmp 0x4627d3
cmp ecx, 0x21
jne 0x462d38
push edx
push dword [ebp + 0x10]
test esi, esi
mov eax, 4
push ecx
cmove ebx, eax
mov ecx, 0x20
lea eax, [esi - 4]
cmove eax, ecx
push dword [ebx]
push dword [eax]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov dword [ebp - 0x24], eax
cmp eax, 1
je 0x462c31
cmp eax, 2
jne 0x462d18
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebx]
mov dword [ebp - 0x30], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
xorps xmm0, xmm0
xor edi, edi
movups xmmword [ebp - 0x14], xmm0
nop dword [eax]
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
je 0x462c76
cmp edi, eax
jne 0x462ceb
movups xmm0, xmmword [esi + 0xc]
movups xmmword [ebp - 0x14], xmm0
jmp 0x462cd7
test edi, edi
jne 0x462ca0
cmp byte [esi], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
je 0x462c95
add eax, edx
mov dword [ebp - 0xc], eax
jmp 0x462cd1
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [edx + ecx]
jmp 0x462cd4
cmp edi, 1
jne 0x462ceb
mov eax, dword [esi + 0x38]
add eax, dword [esi + 0x2c]
add eax, dword [esi + 0x1c]
cmp byte [esi], 0
mov ebx, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [ebp - 0xc], ebx
je 0x462cc9
add eax, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jmp 0x462cd1
add eax, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 8], eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
push dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x462d15
inc edi
cmp edi, 2
jl 0x462c60
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
pop edi
pop esi
mov dword [eax], ecx
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 0x18
mov dword [esi + 0x28], edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
pop edi
pop esi
mov dword [eax], ecx
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x1a
jne 0x4627d3
mov ebx, dword [ebp - 0x18]
xor eax, eax
test esi, esi
cmove edi, eax
test byte [edi + 0x70], 0x10
jne 0x462d60
cmp byte [edi + 0x24], al
sete al
add eax, 0x20
push eax
call ebx
mov dword [edi + 0x50], eax
push 0xffffffffffffffec
push dword [edi + 4]
call dword [ebp - 0x34]
mov cl, byte [edi + 0x24]
and eax, 0x200
je 0x462d88
xor eax, eax
test cl, cl
sete al
add eax, 0x2d
push eax
call ebx
add eax, eax
mov dword [edi + 0x5c], eax
xor eax, eax
jmp 0x462d9e
xor eax, eax
mov dword [edi + 0x5c], 0
test cl, cl
sete al
add eax, 0x2d
push eax
call ebx
add eax, eax
push 0
mov dword [edi + 0x58], eax
lea eax, [edi + 0x60]
push eax
push 0
push 0x26
call dword [ebp - 0x2c]
lea ecx, [edi + 0x24]
call fcn.00468700
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], 0
xor ecx, ebp
xor eax, eax
mov al, 1
pop ebx
call fcn.0047df69
mov esp, ebp
pop ebp
ret 0x18