Function at 0x10031f7
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 0x100e51f
sub eax, 0x15
jne 0x1008f19
call sub.SHELL32.dll_Ordinal_733
pop edi
pop esi
pop ebx
leave
ret 4
dec eax
je 0x1008f49
dec eax
jne 0x1026406
lea esi, [ebx + 0x53c]
xor edi, edi
cmp dword [esi], edi
jne 0x1026432
push 0x17
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [ebx + 0x540], edi
jmp 0x100321e
mov ecx, ebx
call fcn.01030ed8
jmp 0x100321e
je 0x10263e5
dec eax
dec eax
je 0x1026316
dec eax
je 0x102629e
sub eax, 5
jne 0x1026237
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 0x100321e
sub eax, 4
je 0x102625c
sub eax, 5
jne 0x100321e
push 0x11
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, ebx
call fcn.01032648
jmp 0x100321e
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 + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
call esi
jmp 0x100321e
cmp dword [ebx + 0x410], 0
jne 0x100321e
test byte [ebx + 0x40], 1
je 0x100321e
push 3
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, 0xfffff001
mov dword [ebx + 0x440], eax
mov dword [ebx + 0x444], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
test byte [ebx + 0x40], 2
je 0x100321e
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 0x100321e
mov ecx, ebx
call fcn.01006a2b
jmp 0x100321e
cmp dword [ebx + 0x410], 0
jne 0x100321e
mov eax, dword [ebx + 0x40]
test al, 1
je 0x100321e
test al, 2
jne 0x100321e
push dword [ebx + 0x3c]
call fcn.01031a81
test eax, eax
je 0x100321e
cmp dword [ebx + 0x20], 0
jne 0x100321e
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebx + 0x480]
shl eax, 4
lea esi, [eax + ebx + 0x4c]
mov eax, dword [0x10466ec]
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
shl eax, 2
push eax
mov eax, dword [0x10460a4]
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 0x100321e
mov ecx, ebx
call fcn.01014f2d
test eax, eax
jne 0x100321e
cmp dword [ebx + 0x4d8], 1
je 0x100321e
push eax
push eax
push 0x439
push dword [ebx + 0x3b4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x100321e
mov ecx, ebx
call fcn.01033b89
jmp 0x100321e
push 0x12
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, ebx
call fcn.01031a3a
mov dword [ebx + 0x424], 1
jmp 0x100321e
dec eax
je 0x102641c
dec eax
jne 0x100321e
mov ecx, ebx
call fcn.0100e865
jmp 0x100321e
call dword [sym.imp.ole32.dll_CoFreeUnusedLibraries]
push 0x18
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x100321e
call sub.SHELL32.dll_Ordinal_753
mov dword [esi], edi
jmp 0x100321e