Function at 0x4d4be0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], eax
cmp dword [ebx + 0xc], 1
je 0x4d4e35
cmp dword [ebx + 0x20], 1
je 0x4d4e35
cmp dword [ebx + 0x34], 1
je 0x4d4e35
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetTouchInputInfo
push str.User32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.CloseTouchInputHandle
push str.User32.dll
mov dword [ebp - 0x10], eax
call edi
push eax
call esi
cmp dword [ebp - 0x10], 0
mov dword [ebp - 8], eax
je 0x4d4e33
test eax, eax
je 0x4d4e33
movzx esi, word [ebp + 8]
xor ecx, ecx
mov eax, esi
mov edx, 0x28
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004fe6cf
add esp, 4
mov edi, eax
push 0x28
push edi
push esi
mov esi, dword [ebp - 0x14]
push esi
call dword [ebp - 0x10]
test eax, eax
je 0x4d4e2a
push esi
call dword [ebp - 8]
test eax, eax
je 0x4d4e2a
mov eax, dword [edi + 0x10]
test al, 2
je 0x4d4d11
mov eax, 0x51eb851f
lea esi, [ebx + 0x68]
imul dword [edi]
mov eax, 0x51eb851f
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul dword [edi + 4]
push esi
push dword [ebx + 8]
sar edx, 5
mov eax, edx
mov dword [esi], ecx
shr eax, 0x1f
add eax, edx
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebx + 0x6c]
mov eax, dword [ebx]
mov ecx, ebx
push dword [esi]
call dword [eax + 0xc]
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetCapture]
cmp dword [0x592ad4], 1
jne 0x4d4d03
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x58], eax
jmp 0x4d4e2a
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebx + 0x58], eax
jmp 0x4d4e2a
test al, 4
je 0x4d4da8
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [ebx + 0x70], 0
jne 0x4d4d95
cmp dword [0x592ad4], 1
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
jne 0x4d4d3c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4d4d3e
call esi
sub eax, dword [ebx + 0x58]
cmp eax, 0x1f4
jb 0x4d4d51
mov dword [ebx + 0x50], 1
jmp 0x4d4d58
mov dword [ebx + 0x4c], 1
cmp dword [0x592ad4], 1
jne 0x4d4d7d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x70], 0
jmp 0x4d4e2a
call esi
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x70], 0
jmp 0x4d4e2a
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x70], 0
jmp 0x4d4e2a
test al, 1
je 0x4d4e2a
mov eax, 0x51eb851f
imul dword [edi]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, 0x51eb851f
imul dword [edi + 4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 8]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0xc]
call dword [eax + 0xc]
cmp dword [ebx + 0x70], 0
jne 0x4d4e2a
mov eax, dword [ebx + 0x68]
sub eax, dword [ebp - 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jg 0x4d4e15
mov eax, dword [ebx + 0x6c]
sub eax, dword [ebp - 8]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jle 0x4d4e2a
mov dword [ebx + 0x70], 1
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x4c], 0
push edi
call fcn.004fe6d8
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004fe27d
mov esp, ebp
pop ebp
ret 8