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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov byte [rax + 0x10], dl
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x110
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x180195240]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov r14, rcx
mov qword [rbp - 0x80], rcx
mov rcx, qword [rcx]
lea rdx, [rbp - 0x38]
add rcx, 0x10
mov rdi, r8
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_class_UE::FInheritedContextScope___cdecl_UE::FInheritedContextBase::RestoreInheritedContext_void____ptr64]
call qword [sym.imp.FactoryGameEGS_Core.dll_private:_static_unsigned_int____ptr64___cdecl_TThreadSingleton_class_FMemStack_::GetTlsSlot_void_]
lea rdx, [rsp + 0x41]
mov rbx, rax
lea rcx, [rbp - 0x58]
call fcn.180001cf0
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_class_FTlsAutoCleanup____ptr64___cdecl_FThreadSingletonInitializer::Get_class_TFunctionRef_class_FTlsAutoCleanup____ptr64____cdecl___void____unsigned_int____ptr64_]
add rax, 0x10
lea r13, str.Array_index_out_of_bounds:__lld_from_an_array_of_size__lld
mov qword [rsp + 0x58], rax
mov rcx, qword [rax]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x70], 0
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x78], rcx
lea rcx, [rsp + 0x58]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x58]
inc dword [rax + 0x20]
xor eax, eax
test rdi, rdi
jne 0x180030619
movsxd rbx, dword [r14 + 8]
mov rdi, qword [r14]
mov ecx, ebx
not ecx
shr ecx, 0x1f
movsxd rdx, dword [rdi + 0x68]
cmp ebx, edx
cmovl eax, ecx
test eax, eax
jne 0x1800305f9
mov r9, qword [rbp + 0x48]
lea rcx, str._Index___0____Index___ArrayNum_
mov qword [rsp + 0x30], rdx
mov r8d, 0x303
mov qword [rsp + 0x28], rbx
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeCorePublicContainersArray.h
mov qword [rsp + 0x20], r13
call qword [sym.imp.FactoryGameEGS_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 0x1800305f9
nop
int3
mov rax, qword [rdi + 0x60]
lea rcx, [rbx + rbx*8]
mov rdi, qword [rax + rcx*8 + 0x38]
movabs rax, 0x1fffffffffffff
shr rdi, 6
and rdi, rax
xor eax, eax
movzx r12d, byte [rbp + 0x58]
mov qword [rbp - 0x78], 0xffffffffffffffff
test r12b, r12b
jne 0x180030699
movsxd rbx, dword [r14 + 8]
mov rsi, qword [r14]
mov r9d, ebx
not r9d
shr r9d, 0x1f
movsxd r10, dword [rsi + 0x68]
cmp ebx, r10d
cmovl eax, r9d
test eax, eax
jne 0x18003067e
mov r9, qword [rbp + 0x48]
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeCorePublicContainersArray.h
mov qword [rsp + 0x30], r10
lea rcx, str._Index___0____Index___ArrayNum_
mov qword [rsp + 0x28], rbx
mov r8d, 0x303
mov qword [rsp + 0x20], r13
call qword [sym.imp.FactoryGameEGS_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 0x18003067e
nop
int3
mov rax, qword [rsi + 0x60]
lea rcx, [rbx + rbx*8]
mov rbx, qword [rax + rcx*8 + 0x40]
nop
mov rcx, rbx
mov qword [rbp - 0x78], rbx
call qword [sym.imp.FactoryGameEGS_Core.dll_void___cdecl_TaskTrace::Started_unsigned_long_long_unsigned___int64__]
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_class_UE::Trace::FChannel____ptr64___ptr64_CpuChannel]
mov rdx, qword [rax]
mov eax, dword [rdx + 0x18]
test eax, eax
js 0x1800306c4
mov r8d, 0x12d
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeCorePublicAsyncParallelFor.h
mov rcx, rdi
mov bl, 1
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputBeginDynamicEvent_wchar_t_const____ptr64__char_const____ptr64__unsigned_int_]
jmp 0x1800306c6
xor bl, bl
movsd xmm6, qword [0x180170ee8]
xor r15d, r15d
movsd xmm7, qword [0x180170f00]
movabs rdi, 0x8000000000000000
mov esi, r15d
test r12b, r12b
jne 0x18003075b
cmp byte [r14 + 0xc], 3
jl 0x18003075b
lea rcx, [rbp - 0x70]
mov byte [rsp + 0x40], 1
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_double_FGenericPlatformTime::SecondsPerCycle]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rbp - 0x70]
mulsd xmm1, qword [rax]
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_int_GParallelForBackgroundYieldingTimeoutMs]
mov ecx, dword [rax]
test ecx, ecx
mulsd xmm1, xmm6
cmovs ecx, r15d
addsd xmm1, xmm7
roundpd xmm0, xmm1, 1
xorps xmm1, xmm1
cvtsi2sd xmm1, ecx
cvttsd2si rdi, xmm0
mulsd xmm1, qword [0x180170ed0]
addsd xmm1, qword [0x180170e30]
roundpd xmm0, xmm1, 1
cvttsd2si rsi, xmm0
jmp 0x180030760
mov byte [rsp + 0x40], sil
mov rax, qword [r14]
mov edx, dword [rax + 0x38]
mov r8d, dword [rax + 0x3c]
mov ecx, dword [rax + 0x40]
mov r13, qword [rax + 0x50]
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x4c], r8d
mov dword [rsp + 0x48], ecx
nop
mov rax, qword [r14]
mov r15d, 1
lock xadd dword [rax + 0x30], r15d
cmp edx, ecx
jle 0x1800307a7
lea eax, [rcx - 1]
cmp r15d, eax
jl 0x1800307a7
test r12b, r12b
je 0x18003088f
mov r15d, eax
imul r15d, r8d
mov r12d, edx
mov r14d, r15d
lea eax, [r15 + r8]
cmp eax, edx
cmovl r12d, eax
cmp r15d, r12d
jge 0x1800307e3
mov rcx, qword [r13 + 8]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], r14d
call qword [r13]
inc r14d
cmp r14d, r12d
jl 0x1800307c0
mov edx, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x4c]
mov r14, qword [rbp - 0x80]
cmp r15d, edx
jge 0x1800307fe
mov rcx, qword [r14]
mov eax, 0xffffffff
lock xadd dword [rcx + 0x34], eax
cmp eax, 1
je 0x180030866
cmp r12d, edx
jge 0x18003088f
cmp byte [rsp + 0x40], 0
movzx r12d, byte [rbp + 0x58]
mov ecx, dword [rsp + 0x48]
je 0x180030780
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_double_FGenericPlatformTime::SecondsPerCycle]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rbp - 0x68]
mulsd xmm1, qword [rax]
mulsd xmm1, xmm6
addsd xmm1, xmm7
roundpd xmm0, xmm1, 1
cvttsd2si rax, xmm0
sub rax, rdi
cmp rax, rsi
jg 0x180030885
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x4c]
jmp 0x180030780
movzx r15d, byte [rbp + 0x58]
test r15b, r15b
jne 0x180030880
mov rax, qword [r14]
mov rcx, qword [rax + 0x58]
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov sil, 1
jmp 0x180030897
movzx r15d, byte [rbp + 0x58]
xor sil, sil
jmp 0x1800308a7
movzx r15d, byte [rbp + 0x58]
xor sil, sil
mov eax, 8
mov r12, 0xffffffffffffffff
mov dword [rax + r14], r12d
test bl, bl
je 0x1800308b1
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputEndEvent_void_]
test r15b, r15b
jne 0x1800308c0
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.FactoryGameEGS_Core.dll_void___cdecl_TaskTrace::Completed_unsigned_long_long_unsigned___int64__]
cmp byte [rsp + 0x70], 0
jne 0x180030952
mov rax, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
cmp qword [rax + 0x18], rcx
je 0x18003090b
mov r9, qword [rbp + 0x48]
lea rax, [0x18016f144]
mov r8d, 0x1fd
mov qword [rsp + 0x20], rax
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeCorePublicMiscMemStack.h
lea rcx, str.Mem.TopMark__this
call qword [sym.imp.FactoryGameEGS_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 0x18003090b
nop
int3
mov rax, qword [rsp + 0x58]
mov byte [rsp + 0x70], 1
dec dword [rax + 0x20]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
cmp rdx, qword [rcx + 0x10]
je 0x180030933
call qword [sym.imp.FactoryGameEGS_Core.dll_private:_void___cdecl_FMemStackBase::FreeChunks_struct_FMemStackBase::FTaggedMemory____ptr64____ptr64]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x78]
mov qword [rcx + 0x18], rax
mov qword [rsp + 0x60], 0
lea rcx, [rbp - 0x1c]
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FMetadataRestoreScope::destructor_void____ptr64]
lea rcx, [rbp - 0x24]
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FMemScope::destructor_void____ptr64]
mov edi, dword [rbp - 0x2c]
lea rbx, [rbp - 0x38]
test edi, edi
je 0x180030989
cmp byte [rbx + 1], 0
je 0x180030980
mov rcx, rbx
call qword [sym.imp.FactoryGameEGS_Core.dll_protected:_void___cdecl_FLLMScope::Destruct_void____ptr64]
add rbx, 3
sub edi, 1
jne 0x180030971
movzx eax, sil
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.180169100
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret