Function at 0x4e039c
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
jmp 0x4e07e4
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x58]
push eax
call fcn.004e01d1
add esp, 8
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x4e088a
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
movzx eax, ax
or eax, 0x50000
push eax
push 0x111
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4e088a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [0x531e94], 0
je 0x4e0471
lea eax, [ebp - 0x84]
push eax
push 0
push 0x407
mov eax, dword [0x531e94]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x533388], 0
je 0x4e0483
jmp 0x4e088a
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x14], eax
test byte [ebp - 0x14], 2
je 0x4e04a1
jmp 0x4e088a
mov eax, dword [ebp + 8]
push eax
call fcn.004e02de
add esp, 4
mov dword [0x53338c], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [0x533388], 1
jmp 0x4e088a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [0x531e94], 0
je 0x4e0525
lea eax, [ebp - 0x84]
push eax
push 0
push 0x407
mov eax, dword [0x531e94]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x53338c], 0
je 0x4e0570
mov eax, dword [ebp + 8]
push eax
call fcn.004e02de
add esp, 4
mov dword [0x53338c], 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
movzx eax, ax
push eax
push 0x111
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [0x533388], 0
jmp 0x4e088a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [0x531e94], 0
je 0x4e05da
lea eax, [ebp - 0x84]
push eax
push 0
push 0x407
mov eax, dword [0x531e94]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x533388], 0
je 0x4e0669
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.004e5930
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4e0646
cmp dword [0x53338c], 0
jne 0x4e0641
mov eax, dword [ebp + 8]
push eax
call fcn.004e02de
add esp, 4
mov dword [0x53338c], 1
jmp 0x4e0669
cmp dword [0x53338c], 0
je 0x4e0669
mov eax, dword [ebp + 8]
push eax
call fcn.004e02de
add esp, 4
mov dword [0x53338c], 0
jmp 0x4e088a
push 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x4e06b6
push 4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 8
je 0x4e06b6
mov eax, dword [ebp - 0x68]
push eax
call fcn.0049c470
add esp, 4
mov eax, 1
jmp 0x4e088a
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
jmp 0x4e088a
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
movzx eax, ax
or eax, 0x20000
push eax
push 0x111
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xfffffffffffffffb
push 0xfffffffffffffffb
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x18], eax
mov eax, dword [0x533394]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x64], eax
push 0x5a0049
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.004df750
add esp, 0xc
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x4e088a
cmp dword [ebp + 0x10], 0xd
je 0x4e0789
cmp dword [ebp + 0x10], 0x20
jne 0x4e07bf
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.004e0323
add esp, 8
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
movzx eax, ax
push eax
push 0x111
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4e088a
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
jmp 0x4e088a
cmp dword [ebp - 0x88], 0xf
ja 0x4e0816
je 0x4e03b6
cmp dword [ebp - 0x88], 7
je 0x4e06d6
cmp dword [ebp - 0x88], 8
je 0x4e0703
jmp case.default.0x4e085b
cmp dword [ebp - 0x88], 0x100
ja 0x4e083e
je 0x4e0775
cmp dword [ebp - 0x88], 0x20
je 0x4e066e
jmp case.default.0x4e085b
sub dword [ebp - 0x88], 0x200
cmp dword [ebp - 0x88], 9
ja case.default.0x4e085b
mov eax, dword [ebp - 0x88]
jmp dword [eax*4 + 0x4e0862]
pop edi
pop esi
pop ebx
leave
ret 0x10