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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x130
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x180323178]
xor rax, rsp
mov qword [rbp], rax
mov r14, rcx
mov qword [rbp - 0x78], rcx
mov rcx, qword [rcx]
movzx r12d, dl
mov byte [rsp + 0x40], dl
add rcx, 0x10
lea rdx, [rbp - 0x20]
mov rsi, r8
call qword [sym.imp.FactoryServer_Core.dll_public:_class_UE::FInheritedContextScope___cdecl_UE::FInheritedContextBase::RestoreInheritedContext_void____ptr64]
call qword [sym.imp.FactoryServer_Core.dll_private:_static_unsigned_int____ptr64___cdecl_TThreadSingleton_class_FMemStack_::GetTlsSlot_void_]
lea rdx, [rsp + 0x42]
mov rbx, rax
lea rcx, [rbp - 0x40]
call fcn.180001a60
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.FactoryServer_Core.dll_public:_static_class_FTlsAutoCleanup____ptr64___cdecl_FThreadSingletonInitializer::Get_class_TFunctionRef_class_FTlsAutoCleanup____ptr64____cdecl___void____unsigned_int____ptr64_]
xor r13d, r13d
lea r15, str.Array_index_out_of_bounds:__lld_from_an_array_of_size__lld
add rax, 0x10
mov qword [rsp + 0x60], rax
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x78], 0
mov rcx, qword [rax + 0x18]
mov qword [rbp - 0x80], rcx
lea rcx, [rsp + 0x60]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x60]
inc dword [rax + 0x20]
lea rax, [r14 + 8]
mov qword [rsp + 0x58], rax
test rsi, rsi
jne 0x1800489cd
movsxd rbx, dword [rax]
mov eax, r13d
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 0x1800489a9
mov r9, qword [rbp + 0x68]
lea rcx, str._Index___0____Index___ArrayNum_
mov qword [rsp + 0x30], rdx
mov r8d, 0x303
mov qword [rsp + 0x28], rbx
lea rdx, str.C:BuildAgentwork78a794e88763017dUE4EngineSourceRuntimeCorePublicContainersArray.h
mov qword [rsp + 0x20], r15
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 0x1800489a9
nop
int3
mov rax, qword [rdi + 0x60]
lea rcx, [rbx + rbx*8]
mov rsi, qword [rax + rcx*8 + 0x38]
movabs rax, 0x1fffffffffffff
shr rsi, 6
and rsi, rax
lea rax, [r14 + 8]
jmp 0x1800489d2
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x70], 0xffffffffffffffff
test r12b, r12b
jne 0x180048a4f
movsxd rdi, dword [rax]
mov eax, r13d
mov rbx, qword [r14]
mov r9d, edi
not r9d
shr r9d, 0x1f
movsxd r10, dword [rbx + 0x68]
cmp edi, r10d
cmovl eax, r9d
test eax, eax
jne 0x180048a34
mov r9, qword [rbp + 0x68]
lea rdx, str.C:BuildAgentwork78a794e88763017dUE4EngineSourceRuntimeCorePublicContainersArray.h
mov qword [rsp + 0x30], r10
lea rcx, str._Index___0____Index___ArrayNum_
mov qword [rsp + 0x28], rdi
mov r8d, 0x303
mov qword [rsp + 0x20], r15
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 0x180048a34
nop
int3
mov rax, qword [rbx + 0x60]
lea rcx, [rdi + rdi*8]
mov rbx, qword [rax + rcx*8 + 0x40]
nop
mov rcx, rbx
mov qword [rbp - 0x70], rbx
call qword [sym.imp.FactoryServer_Core.dll_void___cdecl_TaskTrace::Started_unsigned_long_long_unsigned___int64__]
mov rax, qword [sym.imp.FactoryServer_Core.dll_class_UE::Trace::FChannel____ptr64___ptr64_CpuChannel]
mov rdx, qword [rax]
mov eax, dword [rdx + 0x18]
test eax, eax
js 0x180048a7b
mov r8d, 0x12d
lea rdx, str.C:BuildAgentwork78a794e88763017dUE4EngineSourceRuntimeCorePublicAsyncParallelFor.h
mov rcx, rsi
mov dil, 1
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputBeginDynamicEvent_wchar_t_const____ptr64__char_const____ptr64__unsigned_int_]
jmp 0x180048a7e
xor dil, dil
movsd xmm6, qword [0x1802b0190]
movabs rbx, 0x8000000000000000
movsd xmm7, qword [0x1802b01a0]
mov rsi, r13
test r12b, r12b
jne 0x180048b10
cmp byte [r14 + 0xc], 3
jl 0x180048b10
lea rcx, [rbp - 0x68]
mov byte [rsp + 0x41], 1
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [sym.imp.FactoryServer_Core.dll_double_FGenericPlatformTime::SecondsPerCycle]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rbp - 0x68]
mulsd xmm1, qword [rax]
mov rax, qword [sym.imp.FactoryServer_Core.dll_int_GParallelForBackgroundYieldingTimeoutMs]
mov ecx, dword [rax]
test ecx, ecx
mulsd xmm1, xmm6
cmovs ecx, r13d
addsd xmm1, xmm7
roundpd xmm0, xmm1, 1
xorps xmm1, xmm1
cvtsi2sd xmm1, ecx
cvttsd2si rbx, xmm0
mulsd xmm1, qword [0x1802b0180]
addsd xmm1, qword [0x1802b00a8]
roundpd xmm0, xmm1, 1
cvttsd2si rsi, xmm0
jmp 0x180048b15
mov byte [rsp + 0x41], 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 dword [rax]
nop word [rax + rax]
mov rax, qword [r14]
mov r15d, 1
lock xadd dword [rax + 0x30], r15d
cmp edx, ecx
jle 0x180048b67
lea eax, [rcx - 1]
cmp r15d, eax
jl 0x180048b67
test r12b, r12b
je 0x180048c52
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 0x180048ba3
mov rcx, qword [r13 + 8]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], r14d
call qword [r13]
inc r14d
cmp r14d, r12d
jl 0x180048b80
mov edx, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x4c]
mov r14, qword [rbp - 0x78]
cmp r15d, edx
jge 0x180048bbe
mov rcx, qword [r14]
mov eax, 0xffffffff
lock xadd dword [rcx + 0x34], eax
cmp eax, 1
je 0x180048c2b
cmp r12d, edx
jge 0x180048c52
cmp byte [rsp + 0x41], 0
movzx r12d, byte [rsp + 0x40]
mov ecx, dword [rsp + 0x48]
je 0x180048b40
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [sym.imp.FactoryServer_Core.dll_double_FGenericPlatformTime::SecondsPerCycle]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rbp - 0x60]
mulsd xmm1, qword [rax]
mulsd xmm1, xmm6
addsd xmm1, xmm7
roundpd xmm0, xmm1, 1
cvttsd2si rax, xmm0
sub rax, rbx
cmp rax, rsi
jg 0x180048c49
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x4c]
jmp 0x180048b40
movzx ebx, byte [rsp + 0x40]
test bl, bl
jne 0x180048c44
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 0x180048c5a
xor sil, sil
movzx ebx, r12b
jmp 0x180048c65
movzx ebx, byte [rsp + 0x40]
xor sil, sil
mov rax, qword [rsp + 0x58]
mov dword [rax], 0xffffffff
test dil, dil
je 0x180048c70
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputEndEvent_void_]
test bl, bl
jne 0x180048c7e
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.FactoryServer_Core.dll_void___cdecl_TaskTrace::Completed_unsigned_long_long_unsigned___int64__]
cmp byte [rsp + 0x78], 0
jne 0x180048d0f
mov rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
cmp qword [rax + 0x18], rcx
je 0x180048cc9
mov r9, qword [rbp + 0x68]
lea rax, [0x1802aabc0]
mov r8d, 0x1fd
mov qword [rsp + 0x20], rax
lea rdx, str.C:BuildAgentwork78a794e88763017dUE4EngineSourceRuntimeCorePublicMiscMemStack.h
lea rcx, str.Mem.TopMark__this
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 0x180048cc9
nop
int3
mov rax, qword [rsp + 0x60]
mov byte [rsp + 0x78], 1
dec dword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
cmp rdx, qword [rcx + 0x10]
je 0x180048cf1
call qword [sym.imp.FactoryServer_Core.dll_private:_void___cdecl_FMemStackBase::FreeChunks_struct_FMemStackBase::FTaggedMemory____ptr64____ptr64]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rbp - 0x80]
mov qword [rcx + 0x18], rax
mov qword [rsp + 0x68], 0
lea rcx, [rbp - 4]
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FMetadataRestoreScope::destructor_void____ptr64]
lea rcx, [rbp - 0xc]
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FMemScope::destructor_void____ptr64]
mov edi, dword [rbp - 0x14]
lea rbx, [rbp - 0x20]
test edi, edi
je 0x180048d48
nop
cmp byte [rbx + 1], 0
je 0x180048d3f
mov rcx, rbx
call qword [sym.imp.FactoryServer_Core.dll_protected:_void___cdecl_FLLMScope::Destruct_void____ptr64]
add rbx, 3
sub edi, 1
jne 0x180048d30
movzx eax, sil
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.18029bff0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x48]
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