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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6c9e27
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x6c9e0a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0xc0], 0
je 0x6c9b9d
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
jne 0x6c9b9d
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
xor edx, edx
push ebp
push 0x6c9e03
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x6c4e64]
call fcn.006c9378
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.006c9720
mov eax, dword [eax + 8]
cmp dword [eax + 8], 0
jne 0x6c9bef
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 0x10]
call fcn.006caac8
jmp 0x6c9c7d
mov eax, dword [ebp - 4]
call fcn.006c9720
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x6c9c7d
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
call fcn.006cdca0
xor edx, edx
push ebp
push 0x6c9c6e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.006c9720
mov ebx, eax
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x14]
call fcn.0049f5ec
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x10]
call fcn.006c9040
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c9c75
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
call fcn.006cdcc0
pop eax
jmp eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 0
jle 0x6c9d7e
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x6c9d03
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x5c]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.006ce6e8
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov edx, dword [0x6c3e28]
call fcn.00408760
test eax, eax
je 0x6c9cfb
mov byte [eax + 0x30], 1
inc dword [ebp - 0x14]
dec dword [ebp - 0x2c]
jne 0x6c9cc0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x6c9d63
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.006ce6e8
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov edx, dword [0x6c3e28]
call fcn.00408760
test eax, eax
je 0x6c9d5b
mov byte [eax + 0x30], 0
inc dword [ebp - 0x14]
dec dword [ebp - 0x2c]
jne 0x6c9d20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
call fcn.0049f468
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 9], 1
jmp 0x6c9d8b
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x10], edx
call fcn.00408510
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c9e0a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0xc0], 0
je 0x6c9e00
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
jne 0x6c9dc2
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x1c], 0
jne 0x6c9dcc
cmp dword [ebp - 0x20], 0
je 0x6c9e00
cmp dword [ebp - 0x24], 0
jne 0x6c9dd8
cmp dword [ebp - 0x28], 0
je 0x6c9e00
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, 0x6c9e44
mov eax, dword [0x6c75d8]
call fcn.006d30c0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c9e2e
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0040a23c
pop eax
jmp eax