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

Disassembly:
mov rax, rsp
push rbx
push rdi
sub rsp, 0xa8
mov qword [rax + 0x10], rbp
lea rbx, [rcx + 0x80]
mov qword [rax - 0x18], rsi
mov ebp, edx
mov qword [rax - 0x38], r15
mov r15, rcx
mov esi, r8d
lea rdi, [0x1800eb948]
test rbx, rbx
jne 0x1800ac08e
mov r9, qword [rsp + 0xb8]
lea r8d, [rbx + 0x26]
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeCorePublicMiscScopeLock.h
mov qword [rsp + 0x20], rdi
lea rcx, str.SynchObject
call qword [sym.imp.FactoryServer_Core.dll_public:_static_bool___cdecl_FDebug::CheckVerifyFailedImpl_char_const____ptr64__char_const____ptr64__int__void____ptr64__wchar_t_const____ptr64_]
test al, al
je 0x1800ac08e
nop
int3
mov qword [rsp + 0x98], r12
mov rcx, rbx
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x88], r14
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
movaps xmmword [rsp + 0x40], xmm9
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, r15
call fcn.180080db0
mov rcx, r15
call fcn.180081950
cmp dword [r15 + 0x78], 0
je 0x1800ac224
lea rcx, [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [sym.imp.FactoryServer_Core.dll_double_FGenericPlatformTime::SecondsPerCycle]
xorps xmm7, xmm7
cvtsi2sd xmm7, qword [rsp + 0xd8]
movsxd r13, dword [r15 + 0x78]
mov r14, qword [r15 + 0x70]
mov r12, r13
shl r12, 4
movsd xmm8, qword [0x1800f5e60]
xorps xmm0, xmm0
mulsd xmm7, qword [rax]
add r12, r14
movsd xmm9, qword [0x1800f5e48]
xorps xmm6, xmm6
cvtsi2sd xmm0, rsi
addsd xmm7, xmm8
mulsd xmm0, qword [0x1800f5de8]
addsd xmm7, xmm0
cmp dword [r15 + 0x78], r13d
je 0x1800ac167
lea rcx, [rsp + 0xc0]
mov byte [rsp + 0xc0], 0
call fcn.1800e9f00
test al, al
je 0x1800ac167
nop
int3
cmp r14, r12
je 0x1800ac224
cmp qword [r14], 0
jne 0x1800ac1a3
mov r9, qword [rsp + 0xb8]
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeCorePublicTemplatesSharedPointer.h
mov r8d, 0x473
mov qword [rsp + 0x20], rdi
lea rcx, str.IsValid__
call qword [sym.imp.FactoryServer_Core.dll_public:_static_bool___cdecl_FDebug::CheckVerifyFailedImpl_char_const____ptr64__char_const____ptr64__int__void____ptr64__wchar_t_const____ptr64_]
test al, al
je 0x1800ac1a3
nop
int3
mov rcx, qword [r14]
mov r8d, esi
mov edx, ebp
call sym.FactoryServer_SignalProcessing.dll_public:_bool___cdecl_Audio::FPatchOutput::WaitUntilNumSamplesAvailable_int__unsigned_int____ptr64
movzx edi, al
cmp esi, 0xffffffff
je 0x1800ac201
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [sym.imp.FactoryServer_Core.dll_double_FGenericPlatformTime::SecondsPerCycle]
xorps xmm0, xmm0
movaps xmm1, xmm7
cvtsi2sd xmm0, qword [rsp + 0x30]
mulsd xmm0, qword [rcx]
addsd xmm0, xmm8
subsd xmm1, xmm0
mulsd xmm1, xmm9
test dil, dil
jne 0x1800ac1f6
comisd xmm1, xmm6
ja 0x1800ac1fc
jmp 0x1800ac227
comisd xmm1, xmm6
jbe 0x1800ac212
cvttsd2si rsi, xmm1
test dil, dil
jne 0x1800ac214
lea rdi, [0x1800eb948]
jmp 0x1800ac170
xor esi, esi
add r14, 0x10
lea rdi, [0x1800eb948]
jmp 0x1800ac146
mov dil, 1
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov r13, qword [rsp + 0x90]
mov r12, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xc8]
test rbx, rbx
je 0x1800ac27b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, dil
add rsp, 0xa8
pop rdi
pop rbx
ret