Function at 0x4627e0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x90], esi
push edi
mov edi, dword [ebp + 0x14]
sub eax, 0
je 0x462b80
sub eax, 1
jne 0x462864
mov eax, dword [ebp + 0xc]
cmp eax, 0x201
jne 0x462879
test byte [ebx + 0xb4], 0x40
jne 0x46285e
push 0
push 0
push 0x1304
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jle 0x46285e
push dword [ebx + 0x24]
or byte [ebx + 0xb5], 2
call dword [sym.imp.USER32.dll_SetCapture]
movsx eax, di
shr edi, 0x10
mov dword [ebx + 0x58], eax
movsx eax, di
mov dword [ebx + 0x5c], eax
mov dword [esi], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x202
jne 0x4628b8
mov al, byte [ebx + 0xb5]
test al, 2
je 0x46285e
test al, 4
je 0x4628b0
movsx ecx, di
shr edi, 0x10
movsx eax, di
push eax
push ecx
mov ecx, ebx
call fcn.0045ec30
cmp eax, 0xffffffff
je 0x4628b0
push eax
push dword [ebx + 0x50]
mov ecx, ebx
call fcn.00460640
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x46285e
cmp eax, 0x215
jne 0x462931
mov al, byte [ebx + 0xb5]
test al, 2
je 0x46285e
and al, 0xfd
mov byte [ebx + 0xb5], al
test al, 4
je 0x46285e
and al, 0xfb
cmp byte [ebx + 0xb4], 0
mov byte [ebx + 0xb5], al
jl 0x4628fb
push 0x10e1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [ebx + 0x7c], 0
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0045f730
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_DragLeave]
call dword [sym.imp.COMCTL32.dll_ImageList_EndDrag]
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x462925
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov dword [ebx + 0x78], 0
jmp 0x46285e
cmp eax, 0x200
jne 0x46296b
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 1
push eax
push edi
push dword [ebp + 0x10]
push 0x200
call fcn.00461440
cmp dword [ebp - 0x90], 0
mov dword [esi], eax
jne 0x46327c
jmp 0x462864
cmp eax, 0x2a3
jne 0x4629d6
cmp dword [ebx + 0x88], 0
je 0x46285e
lea eax, [ebp - 0xc]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push dword [ebx + 0x88]
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 8]
lea eax, [ebp - 0x30]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x463276
mov ecx, ebx
mov dword [ebx + 0xb0], 0xffffffff
call fcn.0045ea20
jmp 0x46285e
cmp eax, 0x4e
jne 0x462a70
cmp dword [edi + 4], 0xe152
jne 0x462864
cmp dword [edi + 8], 0xfffffd18
jne 0x462864
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x10]
push eax
push 0
push 0x130d
push dword [ebx + 0x24]
call esi
cmp eax, 0xffffffff
jne 0x4631dd
push 0
push 0
push 0x2a3
push dword [ebx + 0x24]
call esi
mov eax, dword [ebp - 0x90]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x462864
mov eax, dword [ebp + 0x10]
mov ecx, 0xe152
cmp cx, ax
jne 0x462864
shr eax, 0x10
xor ecx, ecx
cmp cx, ax
jne 0x462864
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xb0]
push ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xfffffd19
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0x4e
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
test eax, eax
jne 0x462b4e
push dword [ebx + 0xb0]
mov ecx, ebx
call fcn.00464d10
cmp dword [ebx + 0x88], 0
mov dword [ebx + 0xb0], 0xffffffff
je 0x4631dd
push dword [ebx + 0xac]
call dword [sym.imp.USER32.dll_IsWindow]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x462b22
push dword [ebx + 0xac]
call esi
mov dword [ebx + 0xac], 0
push dword [ebx + 0x88]
call esi
mov eax, dword [ebp - 0x90]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
push 0
push 0
push 0x2a3
push dword [ebx + 0x24]
call esi
mov eax, dword [ebp - 0x90]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x462cf2
mov eax, dword [ebx + 4]
lea edi, [ebx + 0x24]
mov ecx, edi
mov dword [ebp - 0x94], eax
call fcn.00464980
movzx eax, ax
mov dword [ebp - 8], eax
test ax, ax
je 0x462bcd
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x462c5a
call fcn.004c17e4
mov dword [edi + 0x10], eax
test eax, eax
jne 0x462c5a
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [edi], 0
je 0x4631dd
push 0x5c
lea eax, [ebp - 0x8c]
push 0
push eax
call fcn.004c53a0
add esp, 0xc
lea eax, [ebp - 0x8c]
push 0
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push dword [edi]
call esi
or byte [ebx + 0xb5], 8
push 0
push 0xc
push 0x130e
push dword [edi]
call esi
mov ecx, ebx
call fcn.0045e1d0
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 0x90]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
push 0
push 0
push eax
call fcn.004c18e6
lea esi, [edi + 4]
test esi, esi
je 0x4632d9
test edi, edi
je 0x4632d9
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x530324
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x53033c]
mov dword [esi + 8], eax
push 0x530324
mov dword [0x53033c], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x530350]
mov eax, dword [0x530358]
mov edx, dword [0x53034c]
sub eax, ecx
push 0
push dword [0x56a3d4]
push 0x521
push dword [ebp - 0x94]
push eax
mov eax, dword [0x530354]
sub eax, edx
push eax
mov eax, dword [ebp - 8]
push ecx
push edx
push 0x46004000
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x462bcd
cmp eax, 2
jne 0x462d85
call fcn.00464b40
test byte [ebx + 0xb4], 2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x462d28
push 0
push 0
push 0x1303
push dword [ebx + 0x24]
call edi
test eax, eax
je 0x462d28
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
test byte [ebx + 0xb5], 8
je 0x462d5d
push 0
push 0
push 0x31
push dword [ebx + 0x24]
call edi
push 0
push 0
push 0x30
push dword [ebx + 0x24]
mov esi, eax
call edi
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
and byte [ebx + 0xb5], 0xf7
mov esi, dword [ebp - 0x90]
mov dword [ebx + 0x80], 0
mov eax, 1
mov dword [esi], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 5
jne 0x462dad
call fcn.004656e0
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 7
jne 0x462e31
mov eax, dword [ebx + 0x50]
cmp eax, 0xffffffff
je 0x4631dd
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb8], 8
push ecx
push eax
xorps xmm0, xmm0
push 0x133c
push dword [ebx + 0x24]
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x9c], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0xa0]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x90]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x31
jne 0x462e5e
push 0
push 0
push eax
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x30
jne 0x462eec
test byte [ebx + 0xb5], 8
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
je 0x462ea4
push 0
push 0
push 0x31
push dword [ebx + 0x24]
call eax
push 0
push 0
push 0x30
push dword [ebx + 0x24]
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
and byte [ebx + 0xb5], 0xf7
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push dword [ebp + 0x10]
push 0x30
push dword [ebx + 0x24]
call eax
mov ecx, ebx
call fcn.0045e1d0
mov dword [ebx + 0x4c], eax
test edi, edi
je 0x4631dd
mov ecx, ebx
call fcn.004656e0
mov eax, dword [ebp - 0x90]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 0x10]
cmp eax, 0x113
jne 0x462ff1
cmp ecx, 0x10e1
jne 0x463294
push 0
push 0
push 0x466
push dword [ebx + 0x80]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov edi, eax
push 0x468
push dword [ebx + 0x80]
movsx eax, di
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_SendMessageW]
movsx ecx, ax
mov eax, dword [ebx + 0x7c]
cmp eax, 0xffffffff
jne 0x462f54
shr edi, 0x10
movsx eax, di
cmp ecx, eax
jle 0x463276
dec ecx
jmp 0x462f67
cmp eax, 1
jne 0x463276
cmp ecx, dword [ebp - 8]
jge 0x463276
inc ecx
cmp ecx, 0xffffffff
je 0x463276
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, cx
push 0
shl eax, 0x10
or eax, 4
push eax
push 0x114
push dword [ebx + 0x24]
call edi
push 0
push 8
push 0x114
push dword [ebx + 0x24]
call edi
lea eax, [ebp - 0xc]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 8]
movzx eax, word [ebp - 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [ebx + 0x24]
call edi
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x7b
jne 0x463121
mov esi, dword [ebx + 0x50]
mov eax, edi
shr eax, 0x10
movsx edx, di
cwde
mov dword [ebp - 0x94], esi
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp ecx, dword [ebx + 0x24]
jne 0x463294
cmp edx, 0xffffffff
jne 0x46306c
cmp eax, edx
jne 0x46306c
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x94]
xorps xmm0, xmm0
push 0x130a
push dword [ebx + 0x24]
movups xmmword [ebp - 0x30], xmm0
call edi
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0x94]
jmp 0x4630b3
push eax
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, dword [ebx + 0x24]
jne 0x463294
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 4]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x20]
push eax
push 0
push 0x130d
push dword [ebx + 0x24]
call edi
mov edx, dword [ebx + 4]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xc]
push edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xa0], 0xfffffd1a
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ecx
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [ebp - 0xa8]
push ecx
push eax
push 0x4e
push esi
call edi
mov eax, dword [ebp - 0x90]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x4e
jne 0x46329a
cmp dword [edi + 4], 0x521
jne 0x463201
cmp dword [edi + 8], 0xfffffdd9
jne 0x4631dd
test byte [ebx + 0xb5], 1
je 0x463192
cmp dword [ebx + 0x88], 0
je 0x463192
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xb0]
mov ecx, ebx
movups xmmword [ebp - 0x14], xmm0
call fcn.0045e130
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x14
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [ebx + 0x88]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x130b
push dword [ebx + 0x24]
call edi
push eax
mov ecx, ebx
call fcn.00464e90
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x50]
push ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xfffffd1b
call dword [sym.imp.USER32.dll_GetParent]
push dword [ebx + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [ebp - 0x20]
push ecx
push eax
push 0x4e
push esi
call edi
mov eax, dword [ebp - 0x90]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp dword [edi + 8], 0xfffffdee
jne 0x46329a
push 0
push 0
push 0x132d
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi], eax
jne 0x463294
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], 8
push eax
push dword [edi + 4]
xorps xmm0, xmm0
push 0x133c
push dword [ebx + 0x24]
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x9c], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x9c]
mov dword [edi + 0xc], eax
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
mov dword [esi], 0
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 1
push eax
push edi
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.0045fd80
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor eax, eax
cmp dword [ebp - 0x90], eax
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
push 1
push 0xc0000005
call fcn.00445580
int3