Function at 0x41adc0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, edx
mov ecx, dword [edi]
cmp ecx, 0x80000000
je 0x41b0d1
mov eax, dword [ebp]
cmp eax, 0x80000000
je 0x41b0d1
cmp dword [0x4e9898], 2
jne 0x41ae2b
mov bl, byte [esp + 0x34]
xor edx, edx
push eax
push ecx
movzx ecx, bl
shl ecx, 0x1f
or ecx, 1
call fcn.0041b250
add esp, 8
call fcn.0041b710
test bl, bl
je 0x41b0d1
mov dword [edi], SysReAllocStringLen
mov dword [ebp], SysReAllocStringLen
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x2c]
mov ebx, dword [sym.imp.USER32.dll_GetCursorPos]
or dword [eax], 0x8001
cmp byte [esp + 0x34], 0
je 0x41ae85
cmp dword [0x4e9898], 1
jne 0x41ae6f
mov eax, dword [0x4e9890]
cmp eax, 0x80000000
jne 0x41ae63
push 0x4e9890
call ebx
mov eax, dword [0x4e9890]
add dword [edi], eax
mov eax, dword [0x4e9894]
add dword [ebp], eax
jmp 0x41ae91
lea eax, [esp + 0x20]
push eax
call ebx
mov eax, dword [esp + 0x20]
add dword [edi], eax
mov eax, dword [esp + 0x24]
add dword [ebp], eax
jmp 0x41ae91
push 2
mov ecx, edi
call fcn.00482be0
add esp, 4
cmp dword [0x4e9898], 1
jne 0x41aea9
mov eax, dword [edi]
mov dword [0x4e9890], eax
mov eax, dword [ebp]
mov dword [0x4e9894], eax
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov dword [esp + 0x18], eax
call esi
mov ecx, dword [edi]
mov esi, eax
mov eax, ecx
mov dword [esp + 0x18], esi
shl eax, 0x10
cdq
idiv dword [esp + 0x14]
sar ecx, 0x1f
and ecx, 0xfffffffe
inc ecx
add eax, ecx
mov dword [edi], eax
mov ecx, dword [ebp]
mov eax, ecx
shl eax, 0x10
cdq
idiv esi
sar ecx, 0x1f
and ecx, 0xfffffffe
lea esi, [ecx + 1]
mov ecx, dword [0x4e9898]
add esi, eax
mov eax, dword [esp + 0x30]
mov dword [ebp], esi
test eax, eax
js 0x41b071
cmp eax, 0x64
jle 0x41af12
mov dword [esp + 0x30], 0x64
jmp 0x41af1a
test eax, eax
je 0x41b071
cmp ecx, 1
je 0x41b071
lea eax, [esp + 0x20]
push eax
call ebx
mov eax, dword [edi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, ecx
shl eax, 0x10
cdq
idiv dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov esi, eax
mov ebp, dword [ebp]
xor eax, eax
test ecx, ecx
setns al
xor ecx, ecx
lea esi, [esi + eax*2]
mov eax, edi
shl eax, 0x10
dec esi
cdq
idiv dword [esp + 0x14]
test edi, edi
mov ebx, eax
setns cl
lea ebx, [ebx + ecx*2]
dec ebx
nop dword [eax]
mov ecx, dword [esp + 0x1c]
cmp ebx, ecx
jne 0x41af82
cmp esi, ebp
je 0x41b0d1
cmp ebx, ecx
mov edi, dword [esp + 0x30]
jge 0x41afa8
mov eax, ecx
sub eax, ebx
cdq
idiv edi
test eax, eax
je 0x41af98
cmp eax, 0x20
jge 0x41af9d
mov eax, 0x20
add eax, ebx
mov ebx, ecx
cmp eax, ecx
cmovle ebx, eax
jmp 0x41afc6
jle 0x41afc6
mov eax, ebx
sub eax, ecx
cdq
idiv edi
test eax, eax
je 0x41afba
cmp eax, 0x20
jge 0x41afbf
mov eax, 0x20
sub ebx, eax
cmp ebx, ecx
cmovl ebx, ecx
cmp esi, ebp
jge 0x41afea
mov eax, ebp
sub eax, esi
cdq
idiv edi
test eax, eax
je 0x41afda
cmp eax, 0x20
jge 0x41afdf
mov eax, 0x20
add eax, esi
mov esi, ebp
cmp eax, ebp
cmovle esi, eax
jmp 0x41b008
jle 0x41b008
mov eax, esi
sub eax, ebp
cdq
idiv edi
test eax, eax
je 0x41affc
cmp eax, 0x20
jge 0x41b001
mov eax, 0x20
sub esi, eax
cmp esi, ebp
cmovl esi, ebp
cmp dword [0x4e9898], 0
je 0x41b02c
push esi
push ebx
xor edx, edx
mov ecx, 0x8001
call fcn.0041b250
add esp, 8
call fcn.0041b710
jmp 0x41af70
mov eax, dword [0x4e37f8]
mov ecx, 0xffc3d44d
movzx eax, byte [eax + 0x99]
sub ecx, eax
mov eax, esi
push ecx
xor ecx, ecx
cmp esi, 0x80000000
push 0
cmove eax, ecx
cmp ebx, 0x80000000
push eax
mov eax, ebx
cmove eax, ecx
push eax
push 0x8001
call dword [sym.imp.USER32.dll_mouse_event]
call fcn.0041b710
jmp 0x41af70
mov edx, dword [edi]
test ecx, ecx
je 0x41b095
push esi
push edx
xor edx, edx
mov ecx, 0x8001
call fcn.0041b250
add esp, 8
call fcn.0041b710
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [0x4e37f8]
mov ecx, 0xffc3d44d
movzx eax, byte [eax + 0x99]
sub ecx, eax
xor eax, eax
push ecx
cmp esi, 0x80000000
push 0
cmove esi, eax
cmp edx, 0x80000000
push esi
cmove edx, eax
push edx
push 0x8001
call dword [sym.imp.USER32.dll_mouse_event]
call fcn.0041b710
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret