Function at 0x10001c70
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x1001a018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], 0
push edi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x80], 0xffffffff
cmp dword [esi + 0xc], 0
mov dword [ebp - 0x7c], 0xffffffff
je 0x100023c0
mov eax, dword [esi]
cmp dword [eax + 0x428], 0
jne 0x10001cd6
mov eax, dword [esi + 0x48]
lea edx, [ebp - 0xcc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, dword [esi]
mov eax, dword [ebp - 0xc4]
mov dword [ecx + 0x428], eax
mov eax, dword [esi]
cmp dword [eax + 0x42c], 0
je 0x10001ce8
mov ecx, esi
call fcn.100016b0
mov eax, dword [esi + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x100023c0
mov eax, dword [esi + 0xc]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
jns 0x10001d30
mov eax, dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi + 0xc]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x100023b4
mov eax, dword [esi]
xor edx, edx
xor ebx, ebx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], ebx
cmp dword [eax + 0x44c], edx
je 0x10001d70
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, dword [eax + 0x444]
mov eax, dword [eax + 0x448]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
xor edx, edx
mov dword [ebp - 0x88], ebx
mov ecx, dword [esi]
cmp dword [ecx + 0x480], 0
je 0x10002384
movss xmm1, dword [0x100187c0]
xor edi, edi
movss xmm3, dword [0x100187c4]
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x84], 0x488
mov eax, dword [esi]
mov eax, dword [edi + eax + 0x480]
sub eax, 2
je 0x10001fe3
dec eax
jne 0x10002354
mov eax, dword [esi]
mov ecx, dword [edi + eax + 0x4a4]
cmp ecx, dword [esi + 8]
jge 0x10002354
mov eax, dword [esi + 4]
shl ecx, 4
mov dword [ebp - 0xa4], ecx
cmp dword [ecx + eax], 0
je 0x10002354
cmp dword [ebp - 0x14], 0
jne 0x10001df8
mov eax, dword [esi + 0x48]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
test ebx, ebx
jne 0x10001e20
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, dword [eax + 0x444]
mov eax, dword [eax + 0x448]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
mov dword [ebp - 0x88], ebx
mov eax, dword [esi]
mov ecx, dword [ebp - 0x84]
movss xmm5, dword [0x100187c0]
mov dword [ebp - 0xac], 0
movss xmm1, dword [edi + eax + 0x484]
mov eax, dword [esi]
movss xmm3, dword [ecx + eax]
mov eax, dword [esi]
mov ecx, dword [edi + eax + 0x4a4]
mov eax, dword [esi]
shl ecx, 4
add ecx, dword [esi + 4]
ucomiss xmm1, xmm5
mov ebx, dword [edi + eax + 0x49c]
mov eax, dword [edi + eax + 0x4a0]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x90], ebx
lahf
test ah, 0x44
jp 0x10001f2d
mov ecx, ebx
xorps xmm1, xmm1
xorps xmm2, xmm2
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001e90
sub ecx, edx
xor edx, edx
test ecx, ecx
jle 0x10001ef6
mov esi, dword [ebp - 0x98]
mov edi, dword [ebp - 0x90]
jmp 0x10001eb0
mov al, byte [edx + edi]
cmp al, 0x20
jl 0x10001ed0
movsx ebx, al
cmp ebx, 0x80
jge 0x10001ed0
mov eax, dword [esi + 0xc]
addss xmm1, dword [eax + ebx*8 - 0xf4]
jmp 0x10001ed7
cmp al, 0xa
jne 0x10001ed7
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x10001edf
movaps xmm2, xmm1
inc edx
cmp edx, ecx
jl 0x10001eb0
mov esi, dword [ebp - 0xa8]
mov edi, dword [ebp - 0x94]
mov ebx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x14]
movss xmm4, dword [0x100187b8]
mov ecx, dword [ebp - 0x98]
mulss xmm2, xmm4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100187d0]
cvtpd2ps xmm1, xmm0
mulss xmm1, xmm4
subss xmm1, xmm2
jmp 0x10001f35
movss xmm4, dword [0x100187b8]
ucomiss xmm3, xmm5
lahf
test ah, 0x44
jp 0x10001f6c
mov eax, dword [ebp - 0x10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100187d0]
mov eax, dword [ecx + 0xc]
cvtpd2ps xmm3, xmm0
movss xmm0, dword [eax]
mulss xmm3, xmm4
mulss xmm0, xmm4
subss xmm3, xmm0
cvttss2si eax, xmm1
mov ecx, ebx
lea edx, [ecx + 1]
movd xmm0, eax
cvttss2si eax, xmm3
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xb4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xb0], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001f97
mov eax, dword [esi]
sub ecx, edx
push ecx
movss xmm0, dword [edi + eax + 0x48c]
mov eax, dword [esi + 4]
add eax, dword [ebp - 0xa4]
movss dword [esp], xmm0
movq xmm0, qword [ebp - 0xb4]
push ecx
push ebx
push eax
mov eax, dword [ebp - 0xac]
sub esp, 0xc
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.10001500
jmp 0x1000233e
mov eax, dword [esi]
mov ebx, dword [edi + eax + 0x4a4]
cmp ebx, dword [esi + 8]
jge 0x10002354
mov eax, dword [esi + 4]
add ebx, ebx
cmp dword [eax + ebx*8], 0
je 0x10002354
mov eax, dword [esi]
cmp dword [edi + eax + 0x49c], 0xffffffff
jne 0x10002054
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1000203a
mov eax, dword [esi + 0x48]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [ebp - 0x14]
movss xmm1, dword [0x100187c0]
movss xmm3, dword [0x100187c4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100187d0]
cvtpd2ps xmm0, xmm0
jmp 0x10002064
mov eax, dword [esi]
mov eax, dword [edi + eax + 0x49c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [esi + 4]
divss xmm0, dword [eax + ebx*8 + 4]
mov eax, dword [esi]
movss dword [ebp - 0xa0], xmm0
mov eax, dword [edi + eax + 0x4a0]
movd xmm0, eax
mov eax, dword [esi + 4]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [eax + ebx*8 + 8]
mov eax, dword [esi]
movss dword [ebp - 0x9c], xmm0
movss xmm0, dword [edi + eax + 0x484]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x100020e3
mov eax, dword [ebp - 0x80]
cmp eax, 0xffffffff
jne 0x100020da
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x80]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x428]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x80]
movss xmm3, dword [0x100187c4]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x10002139
mov eax, dword [esi]
movss xmm0, dword [edi + eax + 0x484]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10002164
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10002119
mov eax, dword [esi + 0x48]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [ebp - 0x14]
movss xmm3, dword [0x100187c4]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100187d0]
cvtpd2ps xmm1, xmm0
mulss xmm1, dword [0x100187b8]
mov eax, dword [esi]
mov eax, dword [edi + eax + 0x49c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100187b8]
subss xmm1, xmm0
movss dword [ebp - 0x78], xmm1
movss xmm1, dword [0x100187c0]
jmp 0x10002174
mov eax, dword [esi]
movss xmm0, dword [edi + eax + 0x484]
movss dword [ebp - 0x78], xmm0
mov eax, dword [esi]
mov ecx, dword [ebp - 0x84]
movss xmm0, dword [ecx + eax]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x100021b7
cmp dword [ebp - 0x80], 0xffffffff
jne 0x100021ad
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x80]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x428]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
movd xmm1, dword [ebp - 0x7c]
cvtdq2ps xmm1, xmm1
jmp 0x10002200
mov eax, dword [esi]
movss xmm0, dword [ecx + eax]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1000221e
cmp dword [ebp - 0x14], 0
jne 0x100021dd
mov eax, dword [esi + 0x48]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [ebp - 0x10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100187d0]
cvtpd2ps xmm1, xmm0
mulss xmm1, dword [0x100187b8]
mov eax, dword [esi]
mov eax, dword [edi + eax + 0x4a0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x100187b8]
subss xmm1, xmm0
jmp 0x10002225
mov eax, dword [esi]
movss xmm1, dword [ecx + eax]
cvttss2si eax, dword [ebp - 0x78]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
movd xmm0, eax
cvttss2si eax, xmm1
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x78], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x74], xmm0
cvttss2si eax, dword [ecx + ebx*8 + 8]
mov dword [ebp - 0x20], eax
cvttss2si eax, dword [ecx + ebx*8 + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
movss xmm0, dword [edi + eax + 0x490]
mov eax, dword [esi]
movss dword [ebp - 0xbc], xmm0
movss xmm0, dword [edi + eax + 0x494]
mov eax, dword [esi]
movss dword [ebp - 0xb8], xmm0
movss xmm0, dword [edi + eax + 0x490]
movss xmm1, dword [ebp - 0x78]
mov eax, dword [esi]
subss xmm1, xmm0
movss dword [ebp - 0x78], xmm1
movss xmm0, dword [edi + eax + 0x494]
lea eax, [ebp - 0x78]
movss xmm1, dword [ebp - 0x74]
push eax
mov eax, dword [esi]
subss xmm1, xmm0
push ecx
movss dword [ebp - 0x74], xmm1
movss xmm0, dword [edi + eax + 0x498]
lea eax, [ebp - 0xbc]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0xa0]
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x70]
push 0
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixTransformation2D]
mov eax, dword [esi + 0xc]
lea edx, [ebp - 0x70]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov eax, dword [esi]
movss xmm0, dword [edi + eax + 0x48c]
mulss xmm0, dword [0x100187bc]
cvttss2si eax, xmm0
shl eax, 0x18
or eax, 0xffffff
push eax
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi + 4]
push dword [eax + ebx*8]
push dword [esi + 0xc]
call dword [ecx + 0x24]
mov edx, dword [ebp - 0x8c]
movss xmm3, dword [0x100187c4]
movss xmm1, dword [0x100187c0]
mov eax, dword [esi]
inc edx
add dword [ebp - 0x84], 0x28
mov ebx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
lea edi, [edx + edx*4]
shl edi, 3
mov dword [ebp - 0x94], edi
cmp dword [edi + eax + 0x480], 0
jne 0x10001da1
cmp dword [ebp - 0x88], 0
je 0x100023a2
mov eax, dword [esi]
mov ecx, dword [eax + 0x444]
mov eax, dword [eax + 0x448]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [esi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100042a6
mov esp, ebp
pop ebp
ret