Function at 0x18000f330
Capabilities:
Check for time delay via queryperformancecounter
Get thread local storage value

Disassembly:
push rbp
push r13
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp - 0x48], r9
mov r15d, r8d
mov dword [rbp - 0x7c], edx
mov r13d, edx
mov qword [rbp - 0x78], rcx
test edx, edx
jne 0x18000f36f
lea rax, [0x18016a200]
mov qword [r9 + 0x10], rax
add rsp, 0x170
pop r15
pop r13
pop rbp
ret
mov rcx, qword [sym.imp.FactoryServer_Core.dll_struct_FThreadSafeStaticStat_struct_FStat_STAT_ParallelFor__StatPtr_STAT_ParallelFor]
mov qword [rsp + 0x198], rbx
mov qword [rsp + 0x160], rdi
mov qword [rsp + 0x158], r12
mov rdi, qword [rcx]
mov qword [rsp + 0x150], r14
xor r14d, r14d
test rdi, rdi
jne 0x18000f3f8
mov dword [rsp + 0x58], r14d
lea rax, str.Task_Graph_Tasks
mov byte [rsp + 0x50], r14b
lea r9, str.STATGROUP_TaskGraphTasks
mov byte [rsp + 0x48], 1
lea r8, [0x18016a550]
mov dword [rsp + 0x40], 2
lea rdx, str.STAT_ParallelFor
mov byte [rsp + 0x38], 1
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
lea rax, str.STATCAT_Advanced
mov qword [rsp + 0x20], rax
call qword [sym.imp.FactoryServer_Core.dll_protected:_struct_TStatIdData_const____ptr64___cdecl_FThreadSafeStaticStatBase::DoSetup_char_const____ptr64__wchar_t_const____ptr64__char_const____ptr64__char_const____ptr64__wchar_t_const____ptr64__bool__bool__enum_EStatDataType::Type__bool__bool__enum_FWindowsPlatformMemory::EMemoryCounterRegion_const___ptr64]
mov rdi, rax
mov rbx, qword [rdi]
xor r12b, r12b
mov qword [rsp + 0x168], rsi
mov edx, r14d
mov dword [rbp - 0x80], edx
mov dword [rbp - 0x28], edx
mov dword [rbp - 0x24], r14d
mov byte [rsp + 0x61], r12b
test ebx, ebx
jne 0x18000f42b
mov rcx, rbx
shr rcx, 0x20
test ecx, ecx
je 0x18000f5b6
mov rax, qword [sym.imp.FactoryServer_Core.dll_int_GCycleStatsShouldEmitNamedEvents]
cmp dword [rax], edx
je 0x18000f48d
mov rdx, qword [rdi + 0x10]
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], r14d
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FWindowsPlatformMisc::BeginNamedEvent_struct_FColor_const____ptr64__char_const____ptr64_]
mov rax, qword [sym.imp.FactoryServer_Core.dll_class_UE::Trace::FChannel____ptr64___ptr64_CpuChannel]
mov r12b, 1
mov byte [rsp + 0x61], r12b
mov rcx, qword [rax]
mov eax, dword [rcx + 0x18]
test eax, eax
js 0x18000f48d
mov rdx, qword [rdi + 8]
mov rax, rbx
shr rax, 0x20
xor r9d, r9d
mov dword [rsp + 0x7c], eax
xor r8d, r8d
mov dword [rsp + 0x78], ebx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputBeginDynamicEventWithId_class_FName__wchar_t_const____ptr64__char_const____ptr64__unsigned_int_]
mov r12b, 3
mov byte [rsp + 0x61], r12b
mov rax, qword [sym.imp.FactoryServer_Core.dll_bool_FThreadStats::bPrimaryEnable]
cmp byte [rax], r14b
je 0x18000f5b6
mov dword [rsp + 0x78], ebx
mov rax, rbx
shr rax, 0x20
mov dword [rsp + 0x7c], eax
mov rax, qword [sym.imp.FactoryServer_Core.dll_unsigned_int_FThreadStats::TlsSlot]
mov rdi, qword [rsp + 0x78]
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x28], rdi
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
test rax, rax
jne 0x18000f4e3
call qword [sym.imp.FactoryServer_Core.dll_public:_static_struct_FThreadStatsPool____ptr64___cdecl_FThreadStatsPool::Get_void_]
mov rcx, rax
call qword [sym.imp.FactoryServer_Core.dll_public:_class_FThreadStats____ptr64___cdecl_FThreadStatsPool::GetFromPool_void____ptr64]
mov rsi, rax
inc dword [rsi + 0x44]
lea rcx, [rbp - 0x18]
mov rax, rdi
mov qword [rbp + 0x48], rdi
shr rax, 0x20
and eax, 0xffff4fff
mov dword [rbp + 0x20], ebx
bts eax, 0xe
mov dword [rbp + 0x24], eax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rbp - 0x18]
mov qword [rbp + 0x18], rax
mov rax, qword [sym.imp.FactoryServer_Core.dll_bool_FLowLevelMemTracker::bIsDisabled]
mov word [rsp + 0x68], r14w
cmp byte [rax], r14b
jne 0x18000f540
mov byte [rsp + 0x28], 1
lea rcx, [rsp + 0x68]
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor r8d, r8d
mov dl, 0x2d
call qword [sym.imp.FactoryServer_Core.dll_protected:_void___cdecl_FLLMScope::Init_enum_ELLMTag__bool__enum_ELLMTagSet__enum_ELLMTracker__bool____ptr64]
mov r8b, 1
lea rcx, [rbp - 0x10]
mov dl, 0x2d
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FMemScope::constructor_enum_ELLMTag__bool____ptr64]
inc dword [rsi + 0x4c]
lea rdx, [rsi + 0x18]
mov ecx, 0x10
call fcn.180002060
test rax, rax
je 0x18000f56c
movups xmm0, xmmword [rbp + 0x18]
movups xmmword [rax], xmm0
dec dword [rsi + 0x4c]
lea rcx, [rbp - 0x10]
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FMemScope::destructor_void____ptr64]
cmp byte [rsp + 0x69], r14b
je 0x18000f58b
lea rcx, [rsp + 0x68]
call qword [sym.imp.FactoryServer_Core.dll_protected:_void___cdecl_FLLMScope::Destruct_void____ptr64]
mov rax, qword [sym.imp.FactoryServer_Core.dll_bool_FThreadStats::bIsRawStatsActive]
cmp byte [rax], r14b
je 0x18000f5a5
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FThreadStats::FlushRawStats_bool__bool____ptr64]
mov eax, dword [rbp - 0x28]
or r12b, 4
mov byte [rsp + 0x61], r12b
mov dword [rbp - 0x80], eax
jmp 0x18000f5bf
mov rdi, qword [rbp - 0x28]
mov qword [rsp + 0x78], rdi
mov rax, qword [sym.imp.FactoryServer_Core.dll_class_UE::Trace::FChannel____ptr64___ptr64_CpuChannel]
mov rcx, qword [rax]
mov eax, dword [rcx + 0x18]
test eax, eax
js 0x18000f60e
mov eax, dword [0x180190814]
mov sil, 1
mov byte [rsp + 0x62], sil
test eax, eax
jne 0x18000f600
lea r8d, [rax + 0x7a]
lea rdx, str.C:BuildAgentwork78a794e88763017dUE4EngineSourceRuntimeCorePublicAsyncParallelFor.h
lea rcx, str.ParallelFor
call qword [sym.imp.FactoryServer_Core.dll_public:_static_unsigned_int___cdecl_FCpuProfilerTrace::OutputEventType_char_const____ptr64__char_const____ptr64__unsigned_int_]
mov dword [0x180190814], eax
mov ecx, dword [0x180190814]
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputBeginEvent_unsigned_int_]
jmp 0x18000f616
xor sil, sil
mov byte [rsp + 0x62], sil
lea rax, [0x18016a184]
test r13d, r13d
jns 0x18000f64e
mov r9, qword [rbp + 0x88]
lea rdx, str.C:BuildAgentwork78a794e88763017dUE4EngineSourceRuntimeCorePublicAsyncParallelFor.h
mov r8d, 0x7b
mov qword [rsp + 0x20], rax
lea rcx, str.Num___0
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 0x18000f64e
nop
int3
mov ebx, r14d
call qword [sym.imp.FactoryServer_Core.dll_public:_static_bool___cdecl_FApp::ShouldUseThreadingForPerformance_void_]
test al, al
jne 0x18000f665
call qword [sym.imp.FactoryServer_Core.dll_public:_static_bool___cdecl_FForkProcessHelper::IsForkedMultithreadInstance_void_]
test al, al
je 0x18000f667
mov al, 1
mov ecx, dword [rbp + 0xb8]
mov dword [rbp - 0x5c], ecx
cmp r13d, 1
jle 0x18000f6a2
test cl, 1
jne 0x18000f6a2
test al, al
je 0x18000f6a2
mov rax, qword [sym.imp.FactoryServer_Core.dll_class_LowLevelTasks::FScheduler_LowLevelTasks::FScheduler::Singleton]
mov ecx, dword [rax + 0x5b58]
mov eax, r15d
cdq
sub eax, edx
sar eax, 1
add eax, r13d
cdq
idiv r15d
cmp ecx, eax
mov ebx, eax
cmovl ebx, ecx
mov rcx, qword [sym.imp.FactoryServer_Core.dll_class_LowLevelTasks::FScheduler_LowLevelTasks::FScheduler::Singleton]
call qword [sym.imp.FactoryServer_Core.dll_public:_bool___cdecl_LowLevelTasks::FSchedulerTls::IsWorkerThread_void_const___ptr64]
test al, al
jne 0x18000f6b5
inc ebx
call qword [sym.imp.FactoryServer_Core.dll_public:_static_int___cdecl_FWindowsPlatformMisc::NumberOfCoresIncludingHyperthreads_void_]
mov r15, qword [rbp + 0xc0]
mov r12d, 1
cmp ebx, eax
cmovl eax, ebx
cmp eax, r12d
cmovg r12d, eax
mov eax, dword [r15 + 8]
test eax, eax
je 0x18000f6e6
cmp r12d, eax
cmovl eax, r12d
mov r12d, eax
cmp r12d, 1
jg 0x18000f86e
mov r15, qword [rbp - 0x48]
test r13d, r13d
jle 0x18000f717
nop dword [rax]
mov rcx, qword [r15 + 8]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], r14d
call qword [r15]
inc r14d
cmp r14d, r13d
jl 0x18000f700
test sil, sil
je 0x18000f722
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputEndEvent_void_]
movzx ebx, byte [rsp + 0x61]
test bl, 1
je 0x18000f732
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FWindowsPlatformMisc::EndNamedEvent_void_]
test bl, 2
je 0x18000f73d
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputEndEvent_void_]
test bl, 4
je 0x18000f85e
mov rax, qword [sym.imp.FactoryServer_Core.dll_unsigned_int_FThreadStats::TlsSlot]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x18000f76f
call qword [sym.imp.FactoryServer_Core.dll_public:_static_struct_FThreadStatsPool____ptr64___cdecl_FThreadStatsPool::Get_void_]
mov rcx, rax
call qword [sym.imp.FactoryServer_Core.dll_public:_class_FThreadStats____ptr64___cdecl_FThreadStatsPool::GetFromPool_void____ptr64]
mov rbx, rax
mov eax, dword [rbx + 0x48]
cmp dword [rbx + 0x44], eax
jle 0x18000f85e
mov eax, dword [rbp - 0x80]
lea rcx, [rbp - 8]
shr rdi, 0x20
and edi, 0xffff5fff
mov dword [rbp + 0x30], eax
or edi, 0x5000
mov dword [rbp + 0x34], edi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rbp - 8]
mov qword [rbp + 0x28], rax
mov rax, qword [sym.imp.FactoryServer_Core.dll_bool_FLowLevelMemTracker::bIsDisabled]
mov word [rsp + 0x6c], 0
cmp byte [rax], 0
jne 0x18000f7d5
mov byte [rsp + 0x28], 1
lea rcx, [rsp + 0x6c]
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor r8d, r8d
mov dl, 0x2d
call qword [sym.imp.FactoryServer_Core.dll_protected:_void___cdecl_FLLMScope::Init_enum_ELLMTag__bool__enum_ELLMTagSet__enum_ELLMTracker__bool____ptr64]
mov r8b, 1
lea rcx, [rbp]
mov dl, 0x2d
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FMemScope::constructor_enum_ELLMTag__bool____ptr64]
inc dword [rbx + 0x4c]
lea rdx, [rbx + 0x18]
mov ecx, 0x10
call fcn.180002060
test rax, rax
je 0x18000f801
movups xmm0, xmmword [rbp + 0x28]
movups xmmword [rax], xmm0
dec dword [rbx + 0x4c]
lea rcx, [rbp]
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FMemScope::destructor_void____ptr64]
cmp byte [rsp + 0x6d], 0
je 0x18000f820
lea rcx, [rsp + 0x6c]
call qword [sym.imp.FactoryServer_Core.dll_protected:_void___cdecl_FLLMScope::Destruct_void____ptr64]
sub dword [rbx + 0x44], 1
jne 0x18000f844
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FThreadStats::Flush_bool__bool____ptr64]
lea rax, [0x18016a200]
mov qword [r15 + 0x10], rax
jmp 0x18001003d
mov rax, qword [sym.imp.FactoryServer_Core.dll_bool_FThreadStats::bIsRawStatsActive]
cmp byte [rax], 0
je 0x18000f85e
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FThreadStats::FlushRawStats_bool__bool____ptr64]
lea rax, [0x18016a200]
mov qword [r15 + 0x10], rax
jmp 0x18001003d
mov ebx, dword [rbp - 0x5c]
mov eax, ebx
shr eax, 1
mov dword [rbp - 0x68], 1
mov dword [rbp - 0x64], r13d
test al, 1
jne 0x18000f8c2
lea ecx, [r12 + r12*2]
mov r8d, 6
add ecx, ecx
lea r9d, [r13 - 1]
cmp r13d, ecx
jl 0x18000f8b9
lea eax, [r9 + rcx]
cdq
idiv ecx
mov r15d, eax
mov dword [rbp - 0x68], eax
lea eax, [r13 - 1]
add eax, r15d
cdq
idiv r15d
mov dword [rbp - 0x64], eax
cmp eax, r12d
jge 0x18000f8c2
sub ecx, r12d
sub r8d, 1
jne 0x18000f894
dec r12d
shr ebx, 3
mov dword [rbp - 0x60], r12d
and bl, 1
mov byte [rsp + 0x60], 6
call qword [sym.imp.FactoryServer_Core.dll_public:_static_enum_ETaskTag___cdecl_FTaskTagScope::GetCurrentTag_void_]
test al, 0x37
je 0x18000f8e9
test bl, bl
jne 0x18000f8ed
mov byte [rsp + 0x60], r14b
jmp 0x18000f8f2
test bl, bl
je 0x18000f8f2
mov byte [rsp + 0x60], 3
mov edx, 1
lea rcx, [rbp - 0x70]
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FEventRef::constructor_enum_EEventMode____ptr64]
mov ecx, dword [0x18019362c]
mov rax, qword gs:[0x58]
mov edi, dword [0x18019362c]
mov r8d, 0x20
mov esi, 0x20
mov rdx, qword [rax + rcx*8]
mov r13d, 0x18
mov r12d, 0x10
cmp qword [r8 + rdx], r14
je 0x18000f9aa
nop word [rax + rax]
mov rax, qword gs:[0x58]
mov ecx, edi
mov r8, qword [rax + rcx*8]
add r8, rsi
mov rax, qword [r8]
mov rbx, qword [rax + 0x40]
lea rcx, [rax + 0x10000]
add rbx, 0x3f
and rbx, 0xffffffffffffffc0
lea rdx, [rbx + 0x80]
cmp rdx, rcx
jbe 0x18000fa8e
mov qword [rax + 0x40], rcx
mov rcx, qword [r8]
mov edx, dword [rcx + 0x48]
not edx
mov eax, edx
neg eax
lock xadd dword [rcx], eax
cmp eax, edx
jne 0x18000f9aa
mov rcx, qword [r8]
lea rax, [rcx + 0x58]
mov dword [rcx], 0xffffffff
mov qword [rcx + 0x40], rax
mov dword [rcx + 0x48], r14d
mov qword [r8], rcx
jmp 0x18000f940
mov rax, qword gs:[0x58]
mov ecx, edi
mov ebx, r12d
mov rdx, qword [rax + rcx*8]
mov ecx, r13d
add rbx, rdx
mov eax, dword [rcx + rdx]
test al, 1
jne 0x18000f9de
or eax, 1
mov qword [rbx], r14
mov dword [rcx + rdx], eax
lea rcx, [0x1801662c0]
call fcn.180163a0c
mov r15, qword [rbx]
mov qword [rbx], r14
test r15, r15
jne 0x18000fa4b
mov edx, 0x10000
mov ecx, edx
call qword [sym.imp.FactoryServer_Core.dll_void____ptr64___cdecl_AnsiMalloc_unsigned_long_long_unsigned___int64___unsigned_int_]
mov r15, rax
test ax, ax
je 0x18000fa37
mov r9, qword [rbp + 0x88]
lea rax, [0x18016a184]
mov r8d, 0x43
mov qword [rsp + 0x20], rax
lea rdx, str.C:BuildAgentwork78a794e88763017dUE4EngineSourceRuntimeCorePublicExperimentalConcurrentLinearAllocator.h
lea rcx, str.IsAligned_Pointer__Alignment_
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 0x18000fa37
nop
int3
mov edx, 0x10000
xor r9d, r9d
mov r8d, edx
mov rcx, r15
call qword [sym.imp.FactoryServer_Core.dll_void___cdecl_MemoryTrace_Alloc_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___unsigned_int__unsigned_int_]
mov edx, edi
lea rax, [r15 + 0x58]
mov qword [r15 + 0x40], rax
xor r8d, r8d
mov rax, qword gs:[0x58]
mov rcx, r15
mov dword [r15], 0xffffffff
mov dword [r15 + 0x48], r14d
mov rbx, qword [rax + rdx*8]
xor edx, edx
add rbx, rsi
mov qword [rbx], r15
call qword [sym.imp.FactoryServer_Core.dll_void___cdecl_MemoryTrace_MarkAllocAsHeap_unsigned_long_long_unsigned___int64___unsigned_int__enum_EMemoryTraceHeapAllocationFlags_]
mov rcx, rbx
call fcn.1800335c0
jmp 0x18000f940
mov qword [rax + 0x40], rdx
xor r9d, r9d
mov rax, qword [r8]
mov edx, 0x80
mov rcx, rbx
lea r8d, [r9 + 0x40]
inc dword [rax + 0x48]
call qword [sym.imp.FactoryServer_Core.dll_void___cdecl_MemoryTrace_Alloc_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___unsigned_int__unsigned_int_]
mov rax, qword [sym.imp.FactoryServer_Core.dll_bool_FLowLevelMemTracker::bIsDisabled]
mov r13d, dword [rbp - 0x7c]
mov r12d, dword [rbp - 0x60]
cmp byte [rax], r14b
jne 0x18000fafc
mov rax, qword [sym.imp.FactoryServer_Core.dll_class_FLowLevelMemTracker____ptr64___ptr64_FLowLevelMemTracker::TrackerInstance]
mov rax, qword [rax]
test rax, rax
jne 0x18000fad6
call qword [sym.imp.FactoryServer_Core.dll_public:_static_class_FLowLevelMemTracker____ptr64___cdecl_FLowLevelMemTracker::Construct_void_]
mov byte [rsp + 0x30], 1
mov r9d, 0x80
mov dword [rsp + 0x28], 1
mov r8, rbx
mov dl, 1
mov byte [rsp + 0x20], 0x1b
mov rcx, rax
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FLowLevelMemTracker::OnLowLevelAlloc_enum_ELLMTracker__void_const____ptr64__unsigned_long_long_unsigned___int64___enum_ELLMTag__enum_ELLMAllocType__bool____ptr64]
test rbx, rbx
je 0x18000fc36
mov rcx, qword [rbp + 0xc0]
lea rax, [0x18016a288]
mov qword [rbx], rax
lea rax, [0x18016ae78]
mov qword [rbx], rax
mov eax, dword [rbp - 0x68]
mov dword [rbx + 0x3c], eax
mov eax, dword [rbp - 0x64]
mov qword [rbx + 0x48], rcx
mov rcx, qword [rbp - 0x48]
mov dword [rbx + 0x40], eax
mov qword [rbx + 0x50], rcx
lea rcx, [rbp - 0x70]
mov dword [rbx + 0x38], r13d
mov dword [rbx + 8], r14d
mov qword [rbx + 0x30], r14
mov qword [rbx + 0x58], rcx
mov qword [rbx + 0x60], r14
mov qword [rbx + 0x68], r14
mov dword [rbx + 0x34], eax
movsxd rdx, dword [rbx + 0x68]
mov r13, rdx
lea eax, [rdx + r12]
mov dword [rbx + 0x68], eax
mov eax, dword [rbx + 0x6c]
sub eax, edx
cmp r12d, eax
jbe 0x18000fb78
lea rcx, [rbx + 0x60]
call fcn.180049d00
mov rax, qword [rbx + 0x60]
lea rcx, [r13*8]
add rcx, r13
mov edx, r12d
movabs r8, 0xe800000000000020
mov r13, 0xffffffffffffffff
lea rax, [rax + rcx*8]
add rax, 0x28
lea rcx, [0x18016a810]
nop word [rax + rax]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov qword [rax + 0x10], r8
mov qword [rax + 0x18], r13
lea rax, [rax + 0x48]
sub edx, 1
jne 0x18000fbb0
lea r12, [rbx + 0x10]
mov r15d, r14d
nop
mov rax, qword [sym.imp.FactoryServer_Core.dll_bool_FLowLevelMemTracker::bIsDisabled]
cmp byte [rax], r14b
je 0x18000fbe1
mov rax, r14
jmp 0x18000fc05
mov rax, qword [sym.imp.FactoryServer_Core.dll_class_FLowLevelMemTracker____ptr64___ptr64_FLowLevelMemTracker::TrackerInstance]
mov rax, qword [rax]
test rax, rax
jne 0x18000fbf6
call qword [sym.imp.FactoryServer_Core.dll_public:_static_class_FLowLevelMemTracker____ptr64___cdecl_FLowLevelMemTracker::Construct_void_]
movzx r8d, r15b
mov dl, 1
mov rcx, rax
call qword [sym.imp.FactoryServer_Core.dll_public:_class_UE::LLMPrivate::FTagData_const____ptr64___cdecl_FLowLevelMemTracker::GetActiveTagData_enum_ELLMTracker__enum_ELLMTagSet____ptr64]
mov qword [r12], rax
inc r15d
add r12, 8
cmp r15d, 3
jl 0x18000fbd0
call qword [sym.imp.FactoryServer_Core.dll_int___cdecl_MemoryTrace_GetActiveTag_void_]
mov dword [rbx + 0x28], eax
call qword [sym.imp.FactoryServer_Core.dll_public:_static_unsigned_int___cdecl_FMetadataTrace::SaveStack_void_]
mov dword [rbx + 0x2c], eax
lea r15, [rbx + 8]
lock inc dword [r15]
mov r12d, dword [rbp - 0x60]
jmp 0x18000fc43
mov r15d, 8
mov rbx, r14
lea r13, [r15 - 9]
mov qword [rbp - 0x38], rbx
test rbx, rbx
je 0x18000fc50
lock inc dword [r15]
movzx r9d, byte [rsp + 0x60]
lea rdx, [rbp - 0x38]
mov rcx, qword [rbp - 0x78]
mov r8d, r14d
call fcn.180043930
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x18000fc8a
mov ecx, r13d
lock xadd dword [rax + 8], ecx
cmp ecx, 1
jne 0x18000fc8a
mov rcx, qword [rbp - 0x38]
mov edx, 1
mov rax, qword [rcx]
call qword [rax]
inc r14d
cmp r14d, r12d
jl 0x18000fc43
movzx eax, byte [rsp + 0x60]
lea rcx, [rbp - 0x58]
mov r8, qword [rbp - 0x78]
mov dl, 1
mov byte [rbp - 0x4c], al
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x50], r12d
call fcn.18002fb40
mov rcx, qword [sym.imp.FactoryServer_Core.dll_class_UE::Trace::FChannel____ptr64___ptr64_CpuChannel]
mov byte [rsp + 0x64], al
mov rdx, qword [rcx]
mov ecx, dword [rdx + 0x18]
test ecx, ecx
js 0x18000fd03
mov ecx, dword [0x180190818]
mov byte [rsp + 0x60], 1
test ecx, ecx
jne 0x18000fcf5
mov r8d, 0x19f
lea rdx, str.C:BuildAgentwork78a794e88763017dUE4EngineSourceRuntimeCorePublicAsyncParallelFor.h
lea rcx, str.ParallelFor.Cancel
call qword [sym.imp.FactoryServer_Core.dll_public:_static_unsigned_int___cdecl_FCpuProfilerTrace::OutputEventType_char_const____ptr64__char_const____ptr64__unsigned_int_]
mov dword [0x180190818], eax
mov ecx, dword [0x180190818]
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputBeginEvent_unsigned_int_]
jmp 0x18000fd09
xor bl, bl
mov byte [rsp + 0x60], bl
mov r12, qword [rbp - 0x58]
movabs rbx, 0x7ffffffffffffc0
mov r15, qword [r12 + 0x60]
movsxd rdi, dword [r12 + 0x68]
lea rcx, [rdi + rdi*8]
lea r14, [r15 + rcx*8]
mov qword [rbp - 0x78], r14
lea r14, [r15 + 0x38]
mov rsi, qword [rbp - 0x78]
cmp dword [r12 + 0x68], edi
je 0x18000fd51
lea rcx, [rsp + 0x63]
mov byte [rsp + 0x63], 0
call fcn.180167380
test al, al
je 0x18000fd51
nop
int3
cmp r15, rsi
je 0x18000fdb3
mov rax, qword [r14]
mov rdx, rax
mov r8, rax
shr r8, 0x3b
and rax, rbx
and r8d, 7
shr rdx, 0x3e
lea rcx, [rdx*8]
or r8, rcx
shl r8, 0x3b
or r8, rax
mov r9, r8
or r9, 2
cmp dl, 2
jb 0x18000fda9
mov rcx, r8
mov rax, r8
or rcx, 1
lock cmpxchg qword [r14], rcx
je 0x18000fda9
or r8, 3
mov rax, r9
lock cmpxchg qword [r14], r8
add r15, 0x48
add r14, 0x48
jmp 0x18000fd35
cmp byte [rsp + 0x60], 0
mov rdi, qword [rsp + 0x78]
movzx esi, byte [rsp + 0x62]
je 0x18000fdca
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputEndEvent_void_]
cmp byte [rsp + 0x64], 0
jne 0x18000fea8
mov eax, dword [rbp - 0x5c]
shr eax, 2
test al, 1
je 0x18000fe35
call qword [sym.imp.FactoryServer_Core.dll_bool___cdecl_IsInActualRenderingThread_void_]
test al, al
je 0x18000fe35
mov rcx, qword [rbp - 0x70]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x20]
test al, al
jne 0x18000fea8
call qword [sym.imp.FactoryServer_Core.dll_public:_static_class_FTaskGraphInterface____ptr64___cdecl_FTaskGraphInterface::Get_void_]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x48]
mov rcx, qword [sym.imp.FactoryServer_Core.dll_class_TAtomic_enum_ENamedThreads::Type__ENamedThreads::FRenderThreadStatics::RenderThread_Local]
mov edx, dword [rcx]
mov rcx, rax
call r8
mov rcx, qword [rbp - 0x70]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x20]
test al, al
je 0x18000fe02
jmp 0x18000fea8
mov rax, qword [sym.imp.FactoryServer_Core.dll_class_UE::Trace::FChannel____ptr64___ptr64_CpuChannel]
mov rcx, qword [rax]
mov eax, dword [rcx + 0x18]
test eax, eax
js 0x18000fe96
mov eax, dword [0x18019081c]
test eax, eax
jne 0x18000fe70
mov r8d, 0x1b6
lea rdx, str.C:BuildAgentwork78a794e88763017dUE4EngineSourceRuntimeCorePublicAsyncParallelFor.h
lea rcx, str.ParallelFor.Wait
call qword [sym.imp.FactoryServer_Core.dll_public:_static_unsigned_int___cdecl_FCpuProfilerTrace::OutputEventType_char_const____ptr64__char_const____ptr64__unsigned_int_]
mov dword [0x18019081c], eax
mov ecx, dword [0x18019081c]
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputBeginEvent_unsigned_int_]
mov rcx, qword [rbp - 0x70]
xor r8d, r8d
mov edx, 0xffffffff
mov rax, qword [rcx]
call qword [rax + 0x20]
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputEndEvent_void_]
jmp 0x18000fea8
mov rcx, qword [rbp - 0x70]
xor r8d, r8d
mov edx, 0xffffffff
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x18000feeb
mov r8d, dword [rbp - 0x50]
test r8d, r8d
js 0x18000fece
movzx r9d, byte [rbp - 0x4c]
lea rdx, [rbp - 0x58]
xor ecx, ecx
call fcn.180043930
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x18000feeb
lock xadd dword [rax + 8], r13d
cmp r13d, 1
jne 0x18000feeb
mov rcx, qword [rbp - 0x58]
mov edx, r13d
mov rax, qword [rcx]
call qword [rax]
lea rcx, [rbp - 0x70]
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FEventRef::destructor_void____ptr64]
test sil, sil
je 0x18000ff00
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputEndEvent_void_]
movzx ebx, byte [rsp + 0x61]
test bl, 1
je 0x18000ff10
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FWindowsPlatformMisc::EndNamedEvent_void_]
test bl, 2
je 0x18000ff1b
call qword [sym.imp.FactoryServer_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputEndEvent_void_]
test bl, 4
je 0x18001002e
mov rax, qword [sym.imp.FactoryServer_Core.dll_unsigned_int_FThreadStats::TlsSlot]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x18000ff4d
call qword [sym.imp.FactoryServer_Core.dll_public:_static_struct_FThreadStatsPool____ptr64___cdecl_FThreadStatsPool::Get_void_]
mov rcx, rax
call qword [sym.imp.FactoryServer_Core.dll_public:_class_FThreadStats____ptr64___cdecl_FThreadStatsPool::GetFromPool_void____ptr64]
mov rbx, rax
mov eax, dword [rbx + 0x48]
cmp dword [rbx + 0x44], eax
jle 0x18001002e
mov eax, dword [rbp - 0x80]
lea rcx, [rbp + 8]
shr rdi, 0x20
and edi, 0xffff5fff
mov dword [rbp + 0x40], eax
or edi, 0x5000
mov dword [rbp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rbp + 8]
mov qword [rbp + 0x38], rax
mov rax, qword [sym.imp.FactoryServer_Core.dll_bool_FLowLevelMemTracker::bIsDisabled]
mov word [rsp + 0x70], 0
cmp byte [rax], 0
jne 0x18000ffb3
mov byte [rsp + 0x28], 1
lea rcx, [rsp + 0x70]
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor r8d, r8d
mov dl, 0x2d
call qword [sym.imp.FactoryServer_Core.dll_protected:_void___cdecl_FLLMScope::Init_enum_ELLMTag__bool__enum_ELLMTagSet__enum_ELLMTracker__bool____ptr64]
mov r8b, 1
lea rcx, [rbp + 0x10]
mov dl, 0x2d
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FMemScope::constructor_enum_ELLMTag__bool____ptr64]
inc dword [rbx + 0x4c]
lea rdx, [rbx + 0x18]
mov ecx, 0x10
call fcn.180002060
test rax, rax
je 0x18000ffdf
movups xmm0, xmmword [rbp + 0x38]
movups xmmword [rax], xmm0
dec dword [rbx + 0x4c]
lea rcx, [rbp + 0x10]
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FMemScope::destructor_void____ptr64]
cmp byte [rsp + 0x71], 0
je 0x18000fffe
lea rcx, [rsp + 0x70]
call qword [sym.imp.FactoryServer_Core.dll_protected:_void___cdecl_FLLMScope::Destruct_void____ptr64]
sub dword [rbx + 0x44], 1
jne 0x180010014
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FThreadStats::Flush_bool__bool____ptr64]
jmp 0x18001002e
mov rax, qword [sym.imp.FactoryServer_Core.dll_bool_FThreadStats::bIsRawStatsActive]
cmp byte [rax], 0
je 0x18001002e
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.FactoryServer_Core.dll_public:_void___cdecl_FThreadStats::FlushRawStats_bool__bool____ptr64]
mov rcx, qword [rbp - 0x48]
lea rax, [0x18016a200]
mov qword [rcx + 0x10], rax
mov rsi, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x160]
mov r12, qword [rsp + 0x158]
mov rbx, qword [rsp + 0x198]
mov r14, qword [rsp + 0x150]
add rsp, 0x170
pop r15
pop r13
pop rbp
ret