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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4e1801
mov eax, dword [ebp - 4]
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x201c], ebx
mov ebx, ecx
xor eax, eax
push ebp
push 0x4e1b01
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jle 0x4e1ae8
xor eax, eax
push ebp
push 0x4e1aad
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x4e1a26
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.0041fbf0
mov edi, eax
lea edx, [ebp - 0x10]
mov eax, edi
mov ecx, 4
call fcn.004031fc
mov esi, edi
add esi, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2000
jl 0x4e197a
cmp dword [ebp - 0x14], 0
jle 0x4e18bb
lea edx, [ebp - 0x2018]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x14]
call fcn.0048529c
inc eax
je 0x4e1a38
inc dword [ebx + 0x64]
mov eax, dword [ebp - 0x14]
add dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x18], 0x2000
jle 0x4e18ee
mov edx, esi
mov eax, dword [ebx]
mov ecx, 0x2000
call fcn.0048529c
inc eax
je 0x4e190b
add esi, 0x2000
sub dword [ebp - 0x18], 0x2000
inc dword [ebx + 0x64]
add dword [ebx + 0x5c], 0x2000
jmp 0x4e18bb
mov edx, esi
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x18]
call fcn.0048529c
inc eax
je 0x4e190b
inc dword [ebx + 0x64]
mov eax, dword [ebp - 0x18]
add dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x4e1927
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.0041fa94
mov eax, edi
call fcn.00402fb0
jmp 0x4e1a26
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jge 0x4e1a38
mov eax, dword [ebp - 0x18]
add eax, 4
call fcn.00402f94
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x18]
mov ecx, 4
call fcn.004031fc
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0x18]
call fcn.004031fc
mov eax, edi
call fcn.00402fb0
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.0041fd4c
jmp 0x4e1a38
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, 0x2000
jle 0x4e19e3
cmp dword [ebp - 0x14], 0
jle 0x4e1a38
lea edx, [ebp - 0x2018]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x14]
call fcn.0048529c
inc eax
je 0x4e1a38
inc dword [ebx + 0x64]
mov eax, dword [ebp - 0x14]
add dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp + eax - 0x2018]
mov eax, esi
mov ecx, dword [ebp - 0x18]
call fcn.004031fc
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.0041fa94
mov eax, edi
call fcn.00402fb0
jmp 0x4e1a0e
mov eax, dword [ebp - 0x14]
lea edx, [ebp + eax - 0x2018]
mov eax, esi
mov ecx, dword [ebp - 0x18]
call fcn.004031fc
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.0041fa94
mov eax, edi
call fcn.00402fb0
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
mov edx, dword [0x6c0a30]
cmp eax, dword [edx]
jbe 0x4e1a26
mov byte [ebp - 1], 0
jmp 0x4e1a38
cmp dword [ebx], 0
je 0x4e1a38
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jg 0x4e185d
cmp dword [ebp - 0x14], 0
jle 0x4e1aa3
lea edx, [ebp - 0x2018]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x14]
call fcn.0048529c
inc eax
jne 0x4e1a9a
mov eax, dword [ebp - 0x14]
add eax, 4
call fcn.00402f94
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
mov ecx, 4
call fcn.004031fc
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
lea eax, [ebp - 0x2018]
mov ecx, dword [ebp - 0x14]
call fcn.004031fc
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp + 8]
call fcn.0041fc7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e1ae8
inc dword [ebx + 0x64]
mov eax, dword [ebp - 0x14]
add dword [ebx + 0x5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e1ae8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1b08
lea eax, [ebp - 0x201c]
call fcn.00405394
ret