Function at 0x6c9774
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 0x6c97ac
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
jne 0x6c97ac
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
xor edx, edx
push ebp
push 0x6c997f
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 0x6c9907
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 [0x6c4e64]
call fcn.006c9378
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x6c98f4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.006c9720
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x6c98ad
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.006cdca0
xor edx, edx
push ebp
push 0x6c989e
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 - 0x10]
call fcn.0049f5ec
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc]
mov edx, dword [ebp - 0x18]
call fcn.006c9040
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c98a5
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 - 0x18]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 0
jle 0x6c98d7
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.006c94f0
mov byte [ebp - 5], 1
call fcn.004099c8
call fcn.004099c8
jmp 0x6c9986
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c98fb
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 0x6c9986
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp byte [eax + 0xc0], 0
je 0x6c997c
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
jne 0x6c993e
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x1c], 0
jne 0x6c9948
cmp dword [ebp - 0x20], 0
je 0x6c997c
cmp dword [ebp - 0x24], 0
jne 0x6c9954
cmp dword [ebp - 0x28], 0
je 0x6c997c
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, 0x6c999c
mov eax, dword [0x6c75d8]
call fcn.006d30c0
pop eax
jmp eax
movzx eax, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret