Function at 0x4124c0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4716c8
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4934a4]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x4934a4]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
jmp 0x412514
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, 0x202
ja 0x412976
je 0x4128c1
cmp eax, 0x100
jb 0x412851
cmp eax, 0x101
jbe 0x4128ad
cmp eax, 0x200
jne 0x412851
cmp dword [esi + 0x32c], ebx
je 0x412851
push 0x7f86
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea ecx, [esp + 0x10]
call fcn.00409030
mov dword [esp + 0xb0], ebx
mov eax, dword [esi + 0x330]
push ebx
push eax
lea ecx, [esp + 0x4c]
lea edi, [esi + 0x17c]
push ecx
mov ecx, edi
call fcn.00427f3f
mov byte [esp + 0xb0], 1
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004022e0
mov byte [esp + 0xb0], bl
lea ecx, [esp + 0x44]
call fcn.00409190
push 0x480880
lea ecx, [esp + 0x14]
call fcn.0040d4e0
mov edx, dword [esi + 0x330]
push 1
push edx
lea eax, [esp + 0x50]
push eax
mov ecx, edi
call fcn.00427f3f
mov byte [esp + 0xb0], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004022e0
mov byte [esp + 0xb0], bl
lea ecx, [esp + 0x48]
call fcn.00409190
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0043b282
add esp, 8
cmp eax, ebx
jl 0x4128a3
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx - 8]
jg 0x4128a3
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov byte [eax + ecx], bl
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x19c]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
add dword [esp + 0x14], 0xa
push edi
lea ecx, [esp + 0x34]
call fcn.00425939
mov byte [esp + 0xb0], 3
mov edx, dword [esi + 0x20]
push ebx
push ebx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [esp + 0x1c], vtable.CGdiObject.0
mov dword [esp + 0x20], ebx
mov byte [esp + 0xb0], 4
mov dword [esp + 0x1c], vtable.CFont.0
mov byte [esp + 0xb0], 5
mov ecx, esi
call fcn.0040a020
mov edx, dword [eax + 4]
lea ecx, [esp + 0x64]
push ecx
push 0x3c
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x78], 0x2bc
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x20]
call fcn.00425b73
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4126f7
mov ecx, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x2c], eax
jmp 0x4126fb
mov dword [esp + 0x2c], ebx
push 1
lea ecx, [esp + 0x34]
call fcn.004251ea
push 0xc80000
lea ecx, [esp + 0x34]
call fcn.0042521c
mov edi, eax
mov dword [esp + 0x24], vtable.CGdiObject.0
mov dword [esp + 0x28], ebx
mov byte [esp + 0xb0], 6
mov dword [esp + 0x24], vtable.CBrush.0
mov byte [esp + 0xb0], 7
push 0x64f0c8
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x28]
call fcn.00425b73
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
call fcn.00409f80
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
add ebx, edx
add ecx, eax
mov dword [esp + 0x54], edx
lea edx, [esp + 0x24]
mov dword [esp + 0x58], eax
push edx
lea eax, [esp + 0x58]
mov dword [esp + 0x64], ecx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x64], ebx
call fcn.00415320
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
push 0x20
lea edx, [esp + 0x58]
push edx
push ecx
push eax
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 0x68]
lea ecx, [esp + 0x40]
call edx
push edi
lea ecx, [esp + 0x34]
call fcn.0042521c
mov eax, dword [esp + 0x2c]
xor ebx, ebx
cmp eax, ebx
je 0x4127d6
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x1c]
call fcn.00425bcb
lea ecx, [esp + 0x24]
call fcn.00425bcb
mov al, 5
mov byte [esp + 0xb0], al
mov dword [esp + 0x24], vtable.CBrush.0
mov byte [esp + 0xb0], al
lea ecx, [esp + 0x24]
call fcn.0040a160
mov al, 3
mov byte [esp + 0xb0], al
mov dword [esp + 0x1c], vtable.CFont.0
mov byte [esp + 0xb0], al
lea ecx, [esp + 0x1c]
call fcn.0040a160
mov byte [esp + 0xb0], bl
lea ecx, [esp + 0x30]
call fcn.0042598d
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00409190
mov edi, dword [ebp + 8]
jmp 0x412861
mov edx, dword [esi + 0x1f0]
push edi
push ebx
push 0x407
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov ecx, esi
call fcn.0042652c
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0043ae62
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00409620
mov eax, dword [edi + 8]
cmp eax, 0xd
je 0x4128ba
cmp eax, 0x1b
jne 0x412851
mov eax, 1
jmp 0x41287d
cmp dword [esi + 0x32c], ebx
je 0x412851
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x19c]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi + 0x19c]
push ebx
push ebx
push 0x1004
push ecx
xor edi, edi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x412959
push ebx
lea edx, [esp + 0x58]
push edx
push edi
lea ecx, [esi + 0x17c]
call fcn.004279fe
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x412946
mov eax, dword [esi + 0x19c]
push ebx
push ebx
push 0x1004
push eax
inc edi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
jl 0x412900
jmp 0x412959
mov eax, dword [esi + 0x330]
cmp edi, eax
je 0x412959
push eax
push edi
mov ecx, esi
call fcn.004129b0
mov ecx, dword [esi + 0x20]
push ebx
push ebx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0x32c], ebx
jmp 0x41284e
add eax, 0xfffffdfc
cmp eax, 1
ja 0x412851
mov eax, dword [edi]
cmp eax, ebx
je 0x412851
cmp eax, dword [0x4ae0d4]
je 0x4128ba
push eax
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, ebx
jne 0x41298e
jmp 0x412851