Function at 0x6c946c
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 0x6c94a4
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
jne 0x6c94a4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
xor edx, edx
push ebp
push 0x6c9677
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 0x6c95ff
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 [0x6c4b5c]
call fcn.006c9070
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x6c95ec
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.006c9418
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x6c95a5
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.006cd998
xor edx, edx
push ebp
push 0x6c9596
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.006c9418
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.006c8d38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c959d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
call fcn.006cd9b8
pop eax
jmp eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 0
jle 0x6c95cf
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.006c91e8
mov byte [ebp - 5], 1
call fcn.004099c8
call fcn.004099c8
jmp 0x6c967e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c95f3
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 0x6c967e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0xc0], 0
je 0x6c9674
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
jne 0x6c9636
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x1c], 0
jne 0x6c9640
cmp dword [ebp - 0x20], 0
je 0x6c9674
cmp dword [ebp - 0x24], 0
jne 0x6c964c
cmp dword [ebp - 0x28], 0
je 0x6c9674
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, 0x6c9694
mov eax, dword [0x6c72d0]
call fcn.006d2db8
pop eax
jmp eax
movzx eax, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret