Function at 0x462420
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x53ba20]
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 0x462613
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 0x462522
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 0x4624b3
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 0x4624eb
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 0x462504
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 0x46258a
cmp ecx, 0xf
jne 0x462553
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov ecx, esi
call fcn.004616d0
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x318
jne 0x462587
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ecx
mov ecx, esi
call fcn.004616d0
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
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 0x4629eb
cmp ecx, 0x20
jne 0x462628
test esi, esi
lea edi, [esi - 0x20]
mov eax, 4
cmove edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi]
jne 0x46260d
cmp dx, 1
jne 0x46260d
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.00460670
test al, al
je 0x46260d
pop edi
pop esi
mov dword [ebx], 1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
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.004c3287
mov esp, ebp
pop ebp
ret 0x18
movzx eax, dx
lea ebx, [esi - 0x20]
movsx edi, ax
cmp ecx, 0x200
jne 0x4626f3
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 0x4626bc
cmp byte [esi], 0
mov eax, dword [esi + 0x40]
je 0x46266e
sub edi, dword [esi + 0xc]
jmp 0x462674
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 0x4626db
cmp byte [esi + 0x3c], 0
mov ecx, esi
je 0x4626a4
push 1
push edi
call fcn.004655c0
test al, al
je 0x4626db
push dword [ebx]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x4626db
call fcn.0045f240
push 0
push edi
mov ecx, esi
call fcn.004655c0
mov ecx, esi
call fcn.0045f240
jmp 0x4626db
push dword [ebp - 0x18]
mov ecx, esi
push edi
call fcn.00460670
test al, al
je 0x4626d4
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 0x46289f
jmp 0x462613
cmp ecx, 0x201
jne 0x4627c6
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 0x462791
push dword [ebp - 0x18]
mov ecx, esi
push edi
call fcn.00460670
test al, al
je 0x462791
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 0x46275a
mov ecx, esi
call fcn.0045f240
cmp byte [esi], 0
mov eax, dword [esi + 0x1c]
je 0x462778
sub edi, dword [esi + 0xc]
sub edi, eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x40], edi
mov dword [eax], 1
jmp 0x462613
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 0x462613
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebx]
jne 0x462a25
push dword [ebp - 0x18]
mov ecx, esi
push edi
call fcn.00460670
test al, al
jne 0x462a25
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 1
jmp 0x462613
cmp ecx, 0x202
jne 0x462800
call dword [sym.imp.USER32.dll_GetCapture]
test esi, esi
mov ecx, 4
cmove ebx, ecx
cmp eax, dword [ebx]
jne 0x462a25
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 0x462613
lea edi, [esi - 0x24]
cmp ecx, 0x203
jne 0x46283f
xor eax, eax
test esi, esi
push 1
cmove edi, eax
push 0xffffffffffffffff
lea ecx, [edi + 0x24]
call fcn.004655c0
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.004c3287
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x215
jne 0x4628b7
cmp byte [esi + 0x3c], 0
jne 0x462854
mov ecx, esi
call fcn.0045f240
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
je 0x462888
cmp byte [esi + 0x3c], 0
je 0x462867
cmp dword [esi + 0x1c], eax
je 0x462888
mov ecx, esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
call fcn.00465f40
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.0x4628eb.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.004c3287
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x100
jne 0x4629ee
call dword [sym.imp.USER32.dll_GetCapture]
xor ecx, ecx
test esi, esi
cmove edi, ecx
cmp eax, dword [edi + 4]
jne 0x4629e1
mov edi, dword [ebp + 0x10]
lea eax, [edi - 0xd]
cmp eax, 0x1b
ja case.0x4628eb.14
movzx eax, byte [eax + 0x462c2c]
jmp dword [eax*4 + 0x462c18]
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x4628eb.14
cmp byte [esi], cl
je case.0x4628eb.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 0x46294c
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 0x4629ba
cmp byte [esi], cl
jne case.0x4628eb.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 0x4629ac
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.004c3287
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x462613
lea ebx, [esi - 0x20]
cmp ecx, 7
jne 0x462a33
call dword [sym.imp.USER32.dll_GetCapture]
test esi, esi
mov ecx, 4
cmove ebx, ecx
cmp eax, dword [ebx]
je 0x462a25
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
jne 0x462a1b
mov eax, dword [esi + 0x28]
test eax, eax
je 0x462a1b
cmp eax, 1
jne 0x462a25
push dword [esi + eax*4 + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 1
jmp 0x462613
cmp ecx, 0x21
jne 0x462b78
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 0x462a71
cmp eax, 2
jne 0x462b58
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 0x462ab6
cmp edi, eax
jne 0x462b2b
movups xmm0, xmmword [esi + 0xc]
movups xmmword [ebp - 0x14], xmm0
jmp 0x462b17
test edi, edi
jne 0x462ae0
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 0x462ad5
add eax, edx
mov dword [ebp - 0xc], eax
jmp 0x462b11
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [edx + ecx]
jmp 0x462b14
cmp edi, 1
jne 0x462b2b
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 0x462b09
add eax, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jmp 0x462b11
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 0x462b55
inc edi
cmp edi, 2
jl 0x462aa0
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.004c3287
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.004c3287
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x1a
jne 0x462613
mov ebx, dword [ebp - 0x18]
xor eax, eax
test esi, esi
cmove edi, eax
test byte [edi + 0x70], 0x10
jne 0x462ba0
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 0x462bc8
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 0x462bde
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.00465f40
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.004c3287
mov esp, ebp
pop ebp
ret 0x18