Function at 0x4136e0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x465944]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
jne 0x413bec
mov esi, dword [ebp + 0xc]
cmp esi, 2
jne 0x41377c
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x24], 1
mov dword [ebp - 0x38], eax
test eax, eax
je 0x413748
mov ecx, dword [eax]
test ecx, ecx
je 0x413736
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x38]
push 0x24
push eax
call fcn.0042a10a
add esp, 8
mov dword [edi + 0x5c], 0
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x413773
mov ecx, dword [eax]
test ecx, ecx
je 0x413761
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x38]
push 0x24
push eax
call fcn.0042a10a
add esp, 8
mov dword [edi + 0x60], 0
mov dword [edi + 0x58], 0
jmp 0x413796
cmp esi, 0xf
jne 0x41382c
push ecx
mov eax, esp
mov dword [edi + 0x24], 1
mov dword [eax], edx
call fcn.00413040
mov dword [ebx], 0
cmp dword [edi + 0x24], 0
jne 0x413bd4
mov eax, dword [ebp - 0x44]
movzx ecx, ax
mov edx, ecx
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x48]
cmp esi, 0x2a3
jne 0x413855
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x24], 1
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 0x44], 0
test eax, eax
je 0x4137ea
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, dword [edi + 0x60]
test eax, eax
je 0x4137ff
mov dword [eax + 4], 0
mov dword [eax + 8], 0
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 0x68]
test eax, eax
je 0x413bc8
push 0
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x413bc8
cmp esi, 0x200
jne 0x4137a9
movsx ecx, ax
shr eax, 0x10
cwde
push eax
push ecx
push edx
mov ecx, edi
mov dword [edi + 0x24], 1
call fcn.00412e30
jmp 0x413bc8
cmp esi, 0x201
jne 0x413968
mov ecx, dword [ebp - 0x38]
shr eax, 0x10
cwde
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
movsx ecx, cx
push eax
mov dword [edi + 0x24], 1
mov dword [ebp - 0x40], ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x40], ecx
test ecx, ecx
js 0x4138bc
mov eax, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
sub eax, edx
sar eax, 2
cmp ecx, eax
jge 0x4138bc
mov ecx, dword [edx + ecx*4]
test ecx, ecx
je 0x4138bc
mov eax, dword [ecx]
lea edx, [ebp - 0x40]
push edx
push dword [ebp - 0x48]
push ecx
call dword [eax + 0x3c]
mov esi, dword [edi + 0x5c]
mov eax, dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [sym.imp.USER32.dll_PtInRect]
mov dword [edi + 0x44], 1
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
test esi, esi
je 0x413915
cmp dword [esi + 0x20], 0
je 0x413915
push dword [ebp - 0x3c]
mov eax, dword [esi + 8]
push dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
lea eax, [esi + 0xc]
push eax
call ecx
neg eax
sbb eax, eax
neg eax
mov dword [esi + 8], eax
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x413912
cmp eax, dword [ebp - 0x38]
je 0x413912
push 0
lea eax, [esi + 0xc]
push eax
push ecx
call dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov esi, dword [edi + 0x60]
test esi, esi
je 0x413bc8
cmp dword [esi + 0x20], 0
je 0x413bc8
push dword [ebp - 0x3c]
mov eax, dword [esi + 8]
push dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
lea eax, [esi + 0xc]
push eax
call ecx
neg eax
sbb eax, eax
neg eax
mov dword [esi + 8], eax
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x413bc8
cmp eax, dword [ebp - 0x38]
je 0x413bc8
push 0
lea eax, [esi + 0xc]
push eax
push ecx
call dword [ebp - 0x48]
jmp 0x413bc8
cmp esi, 0x202
jne 0x41398d
shr eax, 0x10
cwde
movsx ecx, cx
push eax
push ecx
push edx
mov ecx, edi
mov dword [edi + 0x24], 1
call fcn.00412ca0
jmp 0x413bc8
cmp esi, 0x14
jne 0x4139a4
mov dword [edi + 0x24], 1
mov dword [ebx], 1
jmp 0x413bce
cmp esi, 5
jne 0x4139b5
mov dword [edi + 0x24], 1
jmp 0x413bc8
cmp esi, 0x20
jne 0x413a36
lea eax, [ebp - 0x40]
mov dword [edi + 0x24], 1
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00412b30
test eax, eax
js 0x413a17
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
sub ecx, edx
sar ecx, 2
cmp eax, ecx
jge 0x413a17
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x413a17
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
cmp eax, 2
jne 0x413a17
push 0x7f89
jmp 0x413a1c
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebx], 1
jmp 0x413bce
cmp esi, 0x2a1
jne 0x413b20
lea eax, [ebp - 0x40]
mov dword [edi + 0x24], 1
push eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00412b30
test eax, eax
js 0x413a91
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
sub ecx, edx
sar ecx, 2
cmp eax, ecx
jge 0x413a91
mov ecx, dword [edx + eax*4]
jmp 0x413a93
xor ecx, ecx
test ecx, ecx
je 0x41380c
mov eax, dword [ecx]
push ecx
call dword [eax + 0x50]
cmp dword [edi + 0x68], 0
je 0x413bc8
mov ecx, dword [eax]
mov esi, dword [edi + 4]
push dword [ecx - 8]
mov ecx, eax
call fcn.0040d240
push 0
push eax
push 0
push 0
push esi
push 0
lea ecx, [ebp - 0x34]
call fcn.00412490
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x34]
push eax
push 0
push 0x439
push dword [edi + 0x68]
call esi
push 0
push 1
push 0x401
push dword [edi + 0x68]
call esi
mov eax, dword [edi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0x407
push dword [edi + 0x68]
mov dword [ebp - 0x60], 0x200
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
call esi
jmp 0x413bc8
cmp esi, 0x113
jne 0x413bec
mov dword [edi + 0x24], 1
cmp edx, 0x1d596
jne 0x413bc8
mov esi, dword [edi + 0x74]
mov eax, 0x88888889
inc esi
imul esi
add edx, esi
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
shl eax, 4
sub eax, ecx
sub esi, eax
mov dword [edi + 0x74], esi
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x44f418]
divsd xmm0, qword [0x44f590]
call fcn.00434180
mulsd xmm0, qword [0x44f598]
mov eax, 0x30
cvttsd2si ecx, xmm0
sub eax, ecx
mov dword [edi + 0x70], ecx
cmp eax, 2
jg 0x413bb6
push 0x1d596
push dword [edi + 4]
mov dword [edi + 0x70], 0x30
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi + 0x74], 0
push 0x105
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov dword [ebx], 0
cmp dword [edi + 0x24], 0
je 0x413bec
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a853
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a853
mov esp, ebp
pop ebp
ret 0x18