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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x18
push 0
push 0
dec ecx
jne 0x67971c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
call fcn.00405960
xor eax, eax
push ebp
push 0x67a0c5
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x679ff8
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 4], 0
jne 0x679764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x67a056
mov eax, dword [ebp - 4]
test eax, eax
je 0x679770
sub eax, 4
mov eax, dword [eax]
mov ebx, dword [0x7070f8]
mov ebx, dword [ebx + 0x1a64]
cmp eax, ebx
jle 0x6797ae
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x7070f8]
mov ecx, ebx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004059d8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0040a73c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.00405568
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x14]
sub eax, dword [edx + 0xd90]
mov edx, dword [0x7070f8]
cmp eax, dword [edx + 0x1a68]
jae 0x679853
mov eax, dword [ebp - 0x14]
inc dword [eax + 0xd8c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xd8c]
mov edx, dword [0x7070f8]
cmp eax, dword [edx + 0x1a6c]
jl 0x67986c
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xd94], 1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x7070f8]
add eax, dword [edx + 0x1a70]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xd98], eax
push 1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x7070f8]
mov eax, dword [eax + 0x1a70]
mov ecx, 0xea60
xor edx, edx
div ecx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
mov eax, dword [0x707ec8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0040bf74
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.006a6c7c
jmp 0x67986c
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xd90], eax
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + 0xd8c], edx
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 0x14]
cmp eax, dword [edx + 0xd98]
jb 0x679886
mov eax, dword [ebp - 0x14]
mov byte [eax + 0xd94], 0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0xd94]
mov byte [ebp - 0x15], al
mov eax, dword [0x7078e8]
mov eax, dword [eax]
call fcn.004d8144
xor eax, eax
push ebp
push 0x6798ec
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add edx, 0x15
call fcn.00405744
mov edx, dword [ebp - 0x30]
mov eax, dword [0x7078e8]
mov eax, dword [eax]
call fcn.004d7a48
test eax, eax
jl 0x6798d2
mov byte [ebp - 0x15], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6798f3
mov eax, dword [0x7078e8]
mov eax, dword [eax]
call fcn.004d8154
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67a0cc
lea eax, [ebp - 0xc4]
mov edx, 9
call fcn.004054f4
lea eax, [ebp - 0x98]
mov edx, 4
call fcn.004054f4
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004054f4
lea eax, [ebp - 0x6c]
mov edx, 5
call fcn.004054f4
lea eax, [ebp - 0x40]
mov edx, 5
call fcn.004054f4
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004054f4
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004054f4
ret