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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.0040a2d0
xor eax, eax
push ebp
push 0x6cdc3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0xc0], 0
je 0x6cd8e0
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
jne 0x6cd8e0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
xor edx, edx
push ebp
push 0x6cdc1c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
call fcn.006cdd34
xor edx, edx
push ebp
push 0x6cdb9d
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x6c15a8]
call fcn.006c1c10
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
xor edx, edx
push ebp
push 0x6cdaec
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x6cda07
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0xc0], 0
je 0x6cd96c
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
jne 0x6cd96c
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
xor eax, eax
push ebp
push 0x6cda00
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.006cde1c
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cda07
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
cmp byte [eax + 0xc0], 0
je 0x6cd9fd
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
jne 0x6cd9bf
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x24], 0
jne 0x6cd9c9
cmp dword [ebp - 0x28], 0
je 0x6cd9fd
cmp dword [ebp - 0x2c], 0
jne 0x6cd9d5
cmp dword [ebp - 0x30], 0
je 0x6cd9fd
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
sbb edx, dword [ebp - 0x24]
push edx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x40]
mov ecx, 0x6cdc5c
mov eax, dword [0x6c7a58]
call fcn.006d3540
pop eax
jmp eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0x18], 0
jne 0x6cda73
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
lea edx, [eax + 0x10]
mov eax, ebx
call fcn.006c9fc0
test al, al
jne 0x6cda73
mov eax, dword [ebp - 8]
lea edx, [eax + 0x10]
mov eax, ebx
call fcn.006c9bf4
test al, al
jne 0x6cda73
mov eax, dword [ebp - 8]
lea edx, [eax + 0x10]
mov eax, ebx
call fcn.006c9e50
test al, al
jne 0x6cda73
mov eax, dword [ebp - 8]
lea edx, [eax + 0x10]
mov eax, ebx
call fcn.006c9bb0
test al, al
jne 0x6cda73
mov eax, dword [ebp - 8]
call fcn.006cd87c
mov eax, dword [ebp - 8]
cmp byte [eax + 0x18], 0
je 0x6cd935
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6cdaf3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
mov ecx, dword [edx + 0x30]
mov dword [eax + 0xb0], ecx
mov ecx, dword [edx + 0x34]
mov dword [eax + 0xb4], ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [eax + 0xb8], edx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
mov edx, dword [edx + 0x3c]
mov dword [eax + 0xbc], edx
mov eax, dword [ebp - 8]
add eax, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov edx, dword [ebp - 0x34]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408510
pop eax
jmp eax