Function at 0x6c9470
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 0x6c94a8
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
jne 0x6c94a8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
xor edx, edx
push ebp
push 0x6c967b
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 0x6c9603
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.0049f5f0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x6c4b60]
call fcn.006c9074
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x6c95f0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.006c941c
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x6c95a9
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.006cd99c
xor edx, edx
push ebp
push 0x6c959a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.006c941c
mov ebx, eax
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x10]
call fcn.0049f5f0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebp - 0x18]
call fcn.006c8d3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c95a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x44]
call fcn.006cd9bc
pop eax
jmp eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 0
jle 0x6c95d3
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.006c91ec
mov byte [ebp - 5], 1
call fcn.004099c8
call fcn.004099c8
jmp 0x6c9682
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c95f7
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 0x6c9682
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0xc0], 0
je 0x6c9678
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
jne 0x6c963a
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x1c], 0
jne 0x6c9644
cmp dword [ebp - 0x20], 0
je 0x6c9678
cmp dword [ebp - 0x24], 0
jne 0x6c9650
cmp dword [ebp - 0x28], 0
je 0x6c9678
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, 0x6c9698
mov eax, dword [0x6c72d4]
call fcn.006d2dbc
pop eax
jmp eax
movzx eax, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret