Function at 0x1002020
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
cmp eax, 0x12
push ebx
push esi
push edi
mov ebx, ecx
jbe 0x100edc2
sub eax, 0x15
jne 0x101fb9f
call sub.SHELL32.dll_Ordinal_733
pop edi
pop esi
pop ebx
leave
ret 4
je 0x102599d
dec eax
dec eax
je 0x10258cd
dec eax
je 0x1025855
sub eax, 5
jne 0x10257ee
push 8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0
push 0x559
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1002047
dec eax
je 0x1021ca4
dec eax
jne 0x1021c87
lea esi, [ebx + 0x540]
xor edi, edi
cmp dword [esi], edi
jne 0x10259d1
push 0x17
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [ebx + 0x544], edi
jmp 0x1002047
dec eax
jne 0x10259be
call dword [sym.imp.ole32.dll_CoFreeUnusedLibraries]
push 0x18
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x1002047
mov ecx, ebx
call fcn.0102ff12
jmp 0x1002047
sub eax, 4
je 0x1025813
sub eax, 5
jne 0x1002047
push 0x11
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, ebx
call fcn.010316ab
jmp 0x1002047
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0xc
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov esi, dword [sym.imp.SHELL32.dll_DAD_ShowDragImage]
push 0
call esi
push 0
push 1
push 0xf3
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
call esi
jmp 0x1002047
cmp dword [ebx + 0x414], 0
jne 0x1002047
test byte [ebx + 0x44], 1
je 0x1002047
push 3
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, 0xfffff001
mov dword [ebx + 0x444], eax
mov dword [ebx + 0x448], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
test byte [ebx + 0x44], 2
je 0x1002047
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1002047
mov ecx, ebx
call fcn.0101f76a
jmp 0x1002047
cmp dword [ebx + 0x414], 0
jne 0x1002047
mov eax, dword [ebx + 0x44]
test al, 1
je 0x1002047
test al, 2
jne 0x1002047
push dword [ebx + 0x40]
call fcn.010309f1
test eax, eax
je 0x1002047
cmp dword [ebx + 0x20], 0
jne 0x1002047
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, dword [ebx + 0x484]
mov eax, dword [0x1046738]
add esi, 5
shl esi, 4
add esi, ebx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
shl eax, 2
push eax
mov eax, dword [0x10460c0]
movsd dword es:[edi], dword [esi]
shl eax, 2
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x18]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1002047
mov ecx, ebx
call fcn.01018b45
test eax, eax
jne 0x1002047
cmp dword [ebx + 0x4dc], 1
je 0x1002047
push eax
push eax
push 0x439
push dword [ebx + 0x3b8]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1002047
mov ecx, ebx
call fcn.010327fd
jmp 0x1002047
push 0x12
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, ebx
call fcn.010309ac
mov dword [ebx + 0x428], 1
jmp 0x1002047
dec eax
jne 0x1002047
mov ecx, ebx
call fcn.0100ef99
jmp 0x1002047
call sub.SHELL32.dll_Ordinal_753
mov dword [esi], edi
jmp 0x1002047