Function at 0x1001d0f0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp eax, dword [edi + 0x2c]
jne 0x1001d3a8
xor ebx, ebx
cmp dword [edi + 0xcc], ebx
je 0x1001d1c0
mov esi, 1
add dword [edi + 0xbc], esi
cmp dword [edi + 0xbc], ebx
jle 0x1001d148
cmp dword [0x100c67d8], ebx
jne 0x1001d148
mov dword [edi + 0xbc], ebx
mov dword [0x100c67d8], esi
call fcn.1003e950
mov edx, dword [edi + 0x2c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [edi + 0xc8]
cmp eax, ebx
jne 0x1001d16c
cmp dword [edi + 0xc0], ebx
jl 0x1001d1e1
cmp dword [0x100c67d8], ebx
jne 0x1001d16c
cmp dword [edi + 0x5c], 5
je 0x1001d1e1
add dword [edi + 0xc0], esi
cmp dword [edi + 0xc0], 0x2a
jle 0x1001d1ac
mov dword [edi + 0xc0], ebx
cmp eax, ebx
jne 0x1001d19e
cmp dword [edi + 0xd0], ebx
jne 0x1001d19e
call fcn.1003e950
mov edx, dword [edi + 0x2c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp dword [edi + 0xc0], ebx
jne 0x1001d1ac
mov dword [edi + 0xd0], ebx
fld dword [edi + 0xc4]
fadd qword [0x100b03d8]
fstp dword [edi + 0xc4]
jmp 0x1001d1e1
mov dword [edi + 0xbc], ebx
mov dword [0x100c67d8], 1
call fcn.1003e950
mov edx, dword [edi + 0x2c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [edi + 0x24]
push ecx
mov ecx, esp
mov dword [esp + 0x18], ebx
mov dword [ecx], eax
cmp eax, ebx
je 0x1001d1f9
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x18]
call fcn.1000b2b0
cmp eax, ebx
jge 0x1001d213
cmp eax, 0x80004002
je 0x1001d213
push eax
call fcn.100830f0
mov ebp, dword [esp + 0x14]
cmp ebp, ebx
jne 0x1001d225
push 0x80004003
call fcn.100830f0
mov eax, dword [ebp]
mov edx, dword [eax + 0xac]
lea ecx, [esp + 0x14]
push ecx
push ebp
mov dword [esp + 0x1c], ebx
call edx
mov eax, dword [esp + 0x14]
mov ebx, eax
test eax, eax
jne 0x1001d248
xor esi, esi
jmp 0x1001d25c
mov ecx, dword [eax]
mov edx, dword [ecx + 0x64]
push 0x10000000
push eax
call edx
mov esi, eax
neg esi
sbb esi, esi
inc esi
test ebx, ebx
je 0x1001d268
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
test esi, esi
je 0x1001d5b2
mov edx, dword [ebp]
mov ecx, dword [edx + 0x40]
lea eax, [esp + 0x28]
push eax
push ebp
call ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.DLL_CopyRect]
mov ecx, dword [ebp]
mov eax, dword [ecx + 0xa4]
lea edx, [esp + 0x14]
push edx
push ebp
call eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov ebx, esi
mov dword [esp + 0x2c], esi
mov dword [eax + 0xc], edx
call fcn.1001dea0
lea eax, [esp + 0x20]
xor ebx, ebx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.DLL_GetCursorPos]
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.USER32.DLL_ScreenToClient]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.USER32.DLL_PtInRect]
test eax, eax
jne 0x1001d30e
mov dword [edi + 0xc8], ebx
push esi
call dword [sym.imp.USER32.DLL_GetDC]
mov ecx, eax
lea eax, [esp + 0x38]
lea esi, [esp + 0x48]
mov dword [esp + 0x28], ecx
call fcn.1005e3f0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.DLL_CreateRectRgn]
mov ebx, dword [esp + 0x4c]
mov esi, eax
push esi
push ebx
call dword [sym.imp.GDI32.DLL_SelectClipRgn]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
neg eax
push eax
neg ecx
push ecx
push ebx
call dword [sym.imp.GDI32.DLL_OffsetClipRgn]
mov edx, dword [edi]
mov ecx, dword [edx + 0x14]
lea eax, [esp + 0x38]
push eax
push ebx
push edi
call ecx
test esi, esi
je 0x1001d37e
push esi
call dword [sym.imp.GDI32.DLL_DeleteObject]
lea ecx, [esp + 0x48]
call fcn.1005e520
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.DLL_ReleaseDC]
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp eax, dword [edi + 0x30]
jne 0x1001d3fb
call fcn.1003e950
mov edx, dword [edi + 0x30]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov dword [edi + 0x30], 0
call fcn.1003f020
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call edx
fldz
fcomp qword [edi + 0x60]
mov ecx, eax
fnstsw ax
test ah, 0x44
jp 0x1001d3ec
cmp ecx, 1
jle 0x1001d3ec
call fcn.1001cfd0
fstp qword [edi + 0x60]
mov ebx, edi
call fcn.1001dcf0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp eax, dword [edi + 0x34]
jne 0x1001d427
call fcn.1003e950
mov edx, dword [edi + 0x34]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov ebx, edi
mov dword [edi + 0x34], 0
call fcn.1001dcf0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp eax, dword [edi + 0x38]
jne 0x1001d5bb
call fcn.1003e950
mov edx, dword [edi + 0x38]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
lea eax, [edi + 0x24]
lea ecx, [esp + 0x1c]
call fcn.1000b210
mov ebp, dword [esp + 0x1c]
test ebp, ebp
jne 0x1001d45f
push 0x80004003
call fcn.100830f0
lea esi, [esp + 0x1c]
mov eax, ebp
call fcn.10009c00
mov eax, dword [eax]
test eax, eax
jne 0x1001d474
xor esi, esi
jmp 0x1001d488
mov ecx, dword [eax]
mov edx, dword [ecx + 0x64]
push 0x10000000
push eax
call edx
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1001d498
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
je 0x1001d5b2
mov eax, dword [ebp]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x28]
push ecx
push ebp
call edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.USER32.DLL_CopyRect]
mov eax, ebp
call fcn.1001e1d0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
sub esp, 0x10
mov ebx, eax
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.1001dea0
lea edx, [esp + 0x20]
xor esi, esi
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.USER32.DLL_GetCursorPos]
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.USER32.DLL_ScreenToClient]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.DLL_PtInRect]
test eax, eax
jne 0x1001d52c
mov dword [edi + 0xc8], esi
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.DLL_GetDC]
mov ecx, eax
lea eax, [esp + 0x38]
lea esi, [esp + 0x48]
mov dword [esp + 0x14], ecx
call fcn.1005e3f0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.DLL_CreateRectRgn]
mov esi, dword [esp + 0x4c]
push eax
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.DLL_SelectClipRgn]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
neg edx
push edx
neg eax
push eax
push esi
call dword [sym.imp.GDI32.DLL_OffsetClipRgn]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x14]
lea edx, [esp + 0x38]
push edx
push esi
push edi
call eax
lea esi, [esp + 0x1c]
call fcn.1001e000
lea ecx, [esp + 0x48]
call fcn.1005e520
lea esi, [esp + 0x14]
call fcn.10019900
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret