Function at 0x1003a227
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100a3330]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor edx, edx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
inc edx
cmp edi, edx
jne 0x1003a257
push dword [ebp + 0x10]
mov eax, dword [ebx]
push dword [ebp + 0xc]
push edx
call dword [eax + 0x18]
jmp 0x1003a568
cmp edi, 0x10
jne 0x1003a2fd
mov ecx, dword [ebx + 0x32c]
test ecx, ecx
je 0x1003a2cc
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebx + 0x32c]
mov esi, eax
push 0
mov ecx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, dword [ebx + 0x32c]
push eax
call dword [edi + 0x20]
mov ecx, dword [ebx + 0x32c]
mov eax, dword [ecx]
call dword [eax + 0xf8]
mov ecx, dword [ebx + 0x32c]
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
test al, al
jne 0x1003a2f4
call dword [edx + 0x30]
mov ecx, dword [ebx + 0x32c]
sub esp, 0x10
mov esi, eax
mov edi, esp
mov eax, dword [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x38]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x10]
lea ecx, [ebx + 0x14]
push esi
push edi
call fcn.10017a7b
test al, al
je 0x1003a55c
mov eax, dword [ebp - 0x30]
jmp 0x1003a568
lea eax, [ebp - 0x14]
push eax
call dword [edx + 0x34]
jmp 0x1003a2b2
cmp edi, 0x201
je 0x1003a4f6
cmp edi, 0x203
je 0x1003a4f6
cmp edi, 0x202
jne 0x1003a398
cmp byte [ebx + 0x338], 0
je 0x1003a32f
mov byte [ebx + 0x338], 0
jmp 0x1003a2cc
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebx + 0x14]
call fcn.1000ed95
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x28]
lea ecx, [ebx + 0x14]
push dword [ebp - 0x2c]
call fcn.10016d46
test eax, eax
je 0x1003a2cc
mov edx, dword [eax]
mov ecx, eax
push str.ScrollBar
call dword [edx + 0xc]
push eax
call fcn.1006ab1b
pop ecx
pop ecx
test eax, eax
je 0x1003a2cc
push 0
push 0
push 8
mov ecx, ebx
call fcn.10051a2d
jmp 0x1003a2cc
cmp edi, 0x100
jne 0x1003a3fd
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x1003a386
mov ecx, dword [ebx + 0x32c]
cmp eax, 0x1b
je 0x1003a3d7
mov dword [ebp - 0x24], 3
mov word [ebp - 0x10], ax
test ecx, ecx
je 0x1003a4b1
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
call dword [eax + 0x110]
jmp 0x1003a488
test ecx, ecx
je 0x1003a3ee
add ecx, 0x4e8
push edx
push edx
push dword [ebx + 0x334]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebx + 0x334]
call dword [eax + 0x1c]
jmp 0x1003a386
cmp edi, 0x20a
jne 0x1003a4b8
mov esi, dword [ebx + 0x32c]
test esi, esi
je 0x1003a4b1
mov ecx, esi
call fcn.10028bc6
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
test cx, cx
jns 0x1003a453
test al, al
je 0x1003a443
lea ecx, [esi + 0x4e8]
mov esi, dword [esi]
mov edi, dword [ecx]
push 1
push 1
push 0
call dword [edi + 4]
inc eax
jmp 0x1003a46b
mov ecx, dword [ebx + 0x330]
mov eax, dword [ecx]
call dword [eax + 0x188]
jmp 0x1003a4b1
test al, al
je 0x1003a4a3
lea ecx, [esi + 0x4e8]
mov esi, dword [esi]
mov edi, dword [ecx]
push 1
push 1
push 0
call dword [edi + 4]
dec eax
mov ecx, dword [ebx + 0x32c]
push eax
call dword [esi + 0x174]
mov ecx, dword [ebx + 0x32c]
push eax
add ecx, 0x4e8
call dword [edi + 8]
mov ecx, dword [ebx + 0x32c]
mov esi, dword [ebx]
add ecx, 0x4e8
mov eax, dword [ecx]
call dword [eax + 4]
push eax
mov ecx, ebx
call dword [esi + 0x1c]
jmp 0x1003a4b1
mov ecx, dword [ebx + 0x330]
mov eax, dword [ecx]
call dword [eax + 0x184]
xor eax, eax
jmp 0x1003a568
mov esi, dword [ebp + 0xc]
cmp edi, 8
jne 0x1003a2cf
cmp dword [ebx + 4], esi
je 0x1003a2cf
call dword [sym.imp.USER32.dll_GetFocus]
jmp 0x1003a4de
cmp dword [ebx + 4], eax
je 0x1003a2cf
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x1003a4d5
push eax
push eax
push 0x10
mov ecx, ebx
call fcn.10051a2d
jmp 0x1003a4b1
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebx + 0x14]
call fcn.1000ed95
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x28]
lea ecx, [ebx + 0x14]
push dword [ebp - 0x2c]
call fcn.10016d46
test eax, eax
je 0x1003a2cc
mov edx, dword [eax]
mov ecx, eax
push str.ScrollBar
call dword [edx + 0xc]
push eax
call fcn.1006ab1b
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
test eax, eax
jne 0x1003a2cf
mov byte [ebx + 0x338], 1
jmp 0x1003a2cf
push dword [ebp + 0x10]
mov ecx, ebx
push esi
push edi
call fcn.10051a11
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056bff
leave
ret 0xc