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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ae158
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 1
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4ae129
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x28], 0
jle 0x4ae11f
mov eax, 0x64
call fcn.00402b78
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x40]
jge 0x4ae063
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
add eax, eax
inc eax
call fcn.00402b78
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov ecx, dword [ebp - 8]
sub edx, dword [ecx + 0x2c]
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
add eax, eax
inc eax
call fcn.00402b78
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x14]
mov ecx, dword [ebp - 8]
sub edx, dword [ecx + 0x2c]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x4ae11f
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 0
mov eax, 0x14
call fcn.00402b78
mov edx, dword [ebp - 0x20]
sub edx, 0xa
add eax, edx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
push eax
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
add edx, 0x18
call fcn.00403e70
mov eax, dword [ebp - 0x30]
push eax
mov eax, 0x14
call fcn.00402b78
mov edx, dword [ebp - 0x1c]
sub edx, 0xa
add eax, edx
push eax
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 8]
call fcn.00403e70
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004ad56c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4ae037
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x28]
call fcn.00411558
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x24]
mov edx, dword [0x4e9fd4]
cmp eax, dword [edx]
jbe 0x4ae052
mov byte [ebp - 0xd], 0
jmp 0x4ae11f
inc dword [ebp - 0x14]
dec dword [ebp - 0x2c]
jne 0x4adfca
jmp 0x4ae11f
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x4ae11f
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
add eax, eax
inc eax
call fcn.00402b78
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x14]
mov ecx, dword [ebp - 8]
sub edx, dword [ecx + 0x2c]
add eax, edx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
push eax
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 8]
add edx, 0x18
call fcn.00403e70
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
add eax, eax
inc eax
call fcn.00402b78
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov ecx, dword [ebp - 8]
sub edx, dword [ecx + 0x2c]
add eax, edx
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 8]
call fcn.00403e70
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004ad56c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4ae0fb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x28]
call fcn.00411558
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x24]
mov edx, dword [0x4e9fd4]
cmp eax, dword [edx]
jbe 0x4ae113
mov byte [ebp - 0xd], 0
jmp 0x4ae11f
inc dword [ebp - 0x14]
dec dword [ebp - 0x2c]
jne 0x4ae07a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ae13d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae15f
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00403c70
ret