Function at 0x6c9480
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0xc0], 0
je 0x6c94b8
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
jne 0x6c94b8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
xor edx, edx
push ebp
push 0x6c968b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x6c9613
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.0049f5ec
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x6c4b70]
call fcn.006c9084
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x6c9600
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.006c942c
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x6c95b9
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
call fcn.006cd9ac
xor edx, edx
push ebp
push 0x6c95aa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.006c942c
mov ebx, eax
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x10]
call fcn.0049f5ec
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebp - 0x18]
call fcn.006c8d4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c95b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
call fcn.006cd9cc
pop eax
jmp eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 0
jle 0x6c95e3
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.006c91fc
mov byte [ebp - 5], 1
call fcn.004099c8
call fcn.004099c8
jmp 0x6c9692
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c9607
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x18], edx
call fcn.00408510
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c9692
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0xc0], 0
je 0x6c9688
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
jne 0x6c964a
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x1c], 0
jne 0x6c9654
cmp dword [ebp - 0x20], 0
je 0x6c9688
cmp dword [ebp - 0x24], 0
jne 0x6c9660
cmp dword [ebp - 0x28], 0
je 0x6c9688
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
sbb edx, dword [ebp - 0x1c]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x40]
mov ecx, 0x6c96a8
mov eax, dword [0x6c72e4]
call fcn.006d2dcc
pop eax
jmp eax
movzx eax, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret