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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e175a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4e173a
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4e1715
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, dword [0x5bcd44]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, ebx
mov eax, dword [0x5bcd44]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0xc]
mov edx, 0x4e1770
call fcn.00403d9c
je 0x4e1644
mov eax, dword [ebp - 0xc]
mov edx, 0x4e177c
call fcn.00403d9c
je 0x4e1644
jmp 0x4e1608
inc ebx
inc dword [ebp - 8]
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, dword [0x5bcd44]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp dword [ebp - 0xc], 0
je 0x4e15ac
mov eax, dword [ebp - 0xc]
mov edx, 0x4e1788
call fcn.00403d9c
jne 0x4e15b5
mov eax, dword [0x5bcd44]
mov byte [eax + 0x1a], 1
mov edx, ebx
mov eax, dword [0x5bcd44]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ecx, eax
mov eax, ecx
sub eax, dword [ebp - 0x18]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jle 0x4e1608
mov dword [ebp - 0x18], ecx
mov cl, 1
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004b89c0
mov eax, dword [ebp - 4]
call fcn.004b8a68
cmp byte [0x5b8804], 0
je 0x4e1608
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e1744
mov eax, dword [ebp - 0xc]
call fcn.00403c8c
cmp eax, 2
jne 0x4e1644
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
call fcn.004b694c
test al, al
jne 0x4e1644
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004bd13c
test al, al
je 0x4e1644
mov eax, dword [0x5bcd44]
mov eax, dword [eax + 0x10]
sub eax, 4
cmp ebx, eax
jl 0x4e1584
call sub.kernel32.dll_GetTickCount
mov ecx, eax
mov eax, ecx
sub eax, dword [ebp - 0x18]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jle 0x4e1689
mov dword [ebp - 0x18], ecx
mov cl, 1
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004b89c0
mov eax, dword [ebp - 4]
call fcn.004b8a68
cmp byte [0x5b8804], 0
je 0x4e1689
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e1744
cmp dword [ebp - 8], 0
je 0x4e16d2
cmp dword [ebp - 8], 8
jl 0x4e16c2
xor eax, eax
mov dword [ebp - 0x14], eax
push 0
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004e3ab4
test al, al
je 0x4e16c2
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jge 0x4e16c2
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
sub dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004dfa9c
jmp 0x4e16d3
inc ebx
call sub.kernel32.dll_GetTickCount
mov ecx, eax
mov eax, ecx
sub eax, dword [ebp - 0x18]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x3e8
jle 0x4e1715
mov dword [ebp - 0x18], ecx
mov cl, 1
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004b89c0
mov eax, dword [ebp - 4]
call fcn.004b8a68
cmp byte [0x5b8804], 0
je 0x4e1715
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e1744
mov eax, dword [0x5bcd44]
mov eax, dword [eax + 0x10]
sub eax, 4
cmp ebx, eax
jl 0x4e1534
mov eax, dword [ebp - 4]
call fcn.004cac30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e1744
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1761
lea eax, [ebp - 0xc]
call fcn.00403a10
ret