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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 1], cl
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x694928
push dword fs:[eax]
mov dword fs:[eax], esp
cmp word [ebp + 0xe], 0
je 0x69472e
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x18], eax
jmp 0x694733
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xc]
movzx edx, byte [ebp + 0x14]
mov edx, dword [edx*4 + 0x766e38]
call fcn.00409d3c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
dec eax
test eax, eax
jl 0x6948f6
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.006921f4
mov ebx, dword [eax]
call fcn.0068fb10
mov edi, eax
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x1c]
and al, byte [ebp + 0x1c]
je 0x694850
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp edi, dword [ebp - 0x1c]
jle 0x694850
mov eax, dword [ebp - 0x1c]
cmp word [ebx + eax*2], 0x1a
jae 0x694844
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebx + eax*2]
dec eax
sub al, 4
jb 0x6947b8
sub al, 0x10
jne 0x694844
mov esi, dword [ebp - 0x1c]
inc esi
jmp 0x6947bf
inc esi
cmp edi, esi
jle 0x6947e4
cmp word [ebx + esi*2], 0x1a
jae 0x6947e4
movzx eax, byte [ebx + esi*2]
dec eax
sub al, 4
jb 0x6947d7
sub al, 0x10
jne 0x6947e4
mov eax, dword [ebp - 0x1c]
movzx eax, word [ebx + eax*2]
cmp ax, word [ebx + esi*2]
jne 0x6947be
cmp edi, esi
jle 0x69483f
mov eax, dword [ebp - 0x1c]
movzx eax, word [ebx + eax*2]
cmp ax, word [ebx + esi*2]
jne 0x69483f
cmp byte [ebp - 0x1d], 0
jne 0x694808
mov eax, ebx
call fcn.0044a8f4
mov ebx, eax
mov byte [ebp - 0x1d], 1
mov eax, esi
sub eax, dword [ebp - 0x1c]
dec eax
mov ecx, eax
add ecx, ecx
mov eax, dword [ebp - 0x1c]
lea edx, [ebx + eax*2]
mov eax, dword [ebp - 0x1c]
lea eax, [ebx + eax*2 + 2]
call fcn.0040690c
mov eax, edi
sub eax, esi
dec eax
mov ecx, eax
add ecx, ecx
lea edx, [ebx + esi*2 - 2]
lea eax, [ebx + esi*2 + 2]
call fcn.0040690c
sub edi, 2
jmp 0x694847
inc dword [ebp - 0x1c]
jmp 0x694847
inc dword [ebp - 0x1c]
cmp edi, dword [ebp - 0x1c]
jg 0x694796
cmp byte [ebp + 0x18], 0
je 0x69486f
jmp 0x694859
dec edi
test edi, edi
jle 0x69486f
movzx eax, word [ebx + edi*2 - 2]
call fcn.0068f770
sub al, 9
je 0x694858
sub al, 0x17
je 0x694858
push ebp
mov edx, edi
mov eax, ebx
call fcn.00694670
pop ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
dec eax
cmp eax, dword [ebp - 0x14]
jle 0x6948a3
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x694892
sub esi, 4
mov esi, dword [esi]
push ebp
mov eax, dword [ebp - 0xc]
call fcn.0040a944
mov edx, esi
call fcn.00694670
pop ecx
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x1c]
and al, byte [ebp + 0x1c]
je 0x6948bc
cmp byte [ebp - 0x1d], 0
je 0x6948bc
mov eax, ebx
call fcn.0044a920
cmp word [ebp + 0xe], 0
je 0x6948ea
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
jbe 0x6948ea
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x50], edx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
call dword [ebp + 0xc]
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x18], eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x24]
jne 0x694760
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x50], eax
cmp word [ebp + 0xe], 0
je 0x694912
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
call dword [ebp + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69492f
lea eax, [ebp - 0xc]
call fcn.00409914
ret