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

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x98]
sub rsp, 0x190
mov rax, qword [0x180123180]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_class_UE::Trace::FChannel____ptr64___ptr64_CpuChannel]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov r13, rcx
mov rcx, qword [rax]
mov qword [r11 - 0x20], r14
mov byte [rsp + 0x61], dl
mov eax, dword [rcx + 0x18]
test eax, eax
js 0x1800a5443
mov eax, dword [0x1801233ec]
mov r14b, 1
test eax, eax
jne 0x1800a5435
mov r8d, 0x154
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeCorePublicAsyncAsyncWork.h
lea rcx, str.FAsyncTask::SyncCompletion
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_unsigned_int___cdecl_FCpuProfilerTrace::OutputEventType_char_const____ptr64__char_const____ptr64__unsigned_int_]
mov dword [0x1801233ec], eax
mov ecx, dword [0x1801233ec]
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputBeginEvent_unsigned_int_]
jmp 0x1800a5446
xor r14b, r14b
sfence
xor r12d, r12d
lea rbx, [0x1800e6974]
cmp qword [r13 + 0x40], r12
je 0x1800a5b7f
mov qword [rsp + 0x1b0], rsi
mov qword [rsp + 0x1b8], rdi
mov rdi, qword [r13 + 0x60]
mov qword [rsp + 0x170], r15
xor r15b, r15b
mov dword [rbp - 0x80], r12d
mov qword [rbp - 0x70], r12
mov rbx, qword [rdi]
mov byte [rsp + 0x60], r15b
test ebx, ebx
jne 0x1800a549f
mov rax, rbx
shr rax, 0x20
test eax, eax
je 0x1800a5626
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_int_GCycleStatsShouldEmitNamedEvents]
cmp dword [rax], r12d
je 0x1800a5502
mov rdx, qword [rdi + 0x10]
lea rcx, [rbp - 0x7c]
mov dword [rbp - 0x7c], r12d
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FWindowsPlatformMisc::BeginNamedEvent_struct_FColor_const____ptr64__char_const____ptr64_]
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_class_UE::Trace::FChannel____ptr64___ptr64_CpuChannel]
mov r15b, 1
mov byte [rsp + 0x60], r15b
mov rcx, qword [rax]
mov eax, dword [rcx + 0x18]
test eax, eax
js 0x1800a5502
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.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputBeginDynamicEventWithId_class_FName__wchar_t_const____ptr64__char_const____ptr64__unsigned_int_]
mov r15b, 3
mov byte [rsp + 0x60], r15b
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_bool_FThreadStats::bPrimaryEnable]
cmp byte [rax], r12b
je 0x1800a5626
mov rax, rbx
mov dword [rsp + 0x78], ebx
shr rax, 0x20
mov dword [rsp + 0x7c], eax
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_unsigned_int_FThreadStats::TlsSlot]
mov rsi, qword [rsp + 0x78]
mov qword [rbp - 0x70], rsi
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x1800a5553
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_struct_FThreadStatsPool____ptr64___cdecl_FThreadStatsPool::Get_void_]
mov rcx, rax
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_class_FThreadStats____ptr64___cdecl_FThreadStatsPool::GetFromPool_void____ptr64]
mov rdi, rax
inc dword [rdi + 0x44]
lea rcx, [rbp - 0x50]
mov rax, rsi
mov qword [rbp + 0x30], rsi
shr rax, 0x20
and eax, 0xffff4fff
mov dword [rbp - 8], ebx
bts eax, 0xe
mov dword [rbp - 4], eax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rbp - 0x50]
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_bool_FLowLevelMemTracker::bIsDisabled]
mov word [rsp + 0x64], r12w
cmp byte [rax], r12b
jne 0x1800a55b0
mov byte [rsp + 0x28], 1
lea rcx, [rsp + 0x64]
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor r8d, r8d
mov dl, 0x2d
call qword [sym.imp.FactoryGameEGS_Core.dll_protected:_void___cdecl_FLLMScope::Init_enum_ELLMTag__bool__enum_ELLMTagSet__enum_ELLMTracker__bool____ptr64]
mov r8b, 1
lea rcx, [rbp - 0x48]
mov dl, 0x2d
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FMemScope::constructor_enum_ELLMTag__bool____ptr64]
inc dword [rdi + 0x4c]
lea rdx, [rdi + 0x18]
mov ecx, 0x10
call fcn.18006fd00
test rax, rax
je 0x1800a55dc
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rax], xmm0
dec dword [rdi + 0x4c]
lea rcx, [rbp - 0x48]
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FMemScope::destructor_void____ptr64]
cmp byte [rsp + 0x65], r12b
je 0x1800a55fb
lea rcx, [rsp + 0x64]
call qword [sym.imp.FactoryGameEGS_Core.dll_protected:_void___cdecl_FLLMScope::Destruct_void____ptr64]
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_bool_FThreadStats::bIsRawStatsActive]
cmp byte [rax], r12b
je 0x1800a5615
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FThreadStats::FlushRawStats_bool__bool____ptr64]
mov eax, dword [rbp - 0x70]
or r15b, 4
mov byte [rsp + 0x60], r15b
mov dword [rbp - 0x80], eax
jmp 0x1800a562a
mov rsi, qword [rbp - 0x70]
mov rax, qword gs:[0x58]
lea rdi, str.ThreadPool_Async_Tasks
mov ecx, dword [0x18012368c]
lea r15, str.STATCAT_Advanced
mov r8d, 0x38
mov rdx, qword [rax + rcx*8]
mov eax, dword [r8 + rdx]
cmp dword [0x1801233f8], eax
jg 0x1800a5c39
mov rbx, qword [0x1801233f0]
test rbx, rbx
jne 0x1800a56bd
mov dword [rsp + 0x58], r12d
lea r9, str.STATGROUP_ThreadPoolAsyncTasks
mov byte [rsp + 0x50], r12b
lea r8, [0x1800ed6a0]
mov byte [rsp + 0x48], 1
lea rdx, str.STAT_FAsyncTask_SyncCompletion
mov dword [rsp + 0x40], 2
lea rcx, [0x1801233f0]
mov byte [rsp + 0x38], 1
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
call qword [sym.imp.FactoryGameEGS_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 rbx, rax
mov rdi, qword [rbx]
mov r15d, r12d
mov qword [rbp - 0x60], r12
test edi, edi
jne 0x1800a56da
mov rcx, rdi
shr rcx, 0x20
test ecx, ecx
je 0x1800a5854
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_int_GCycleStatsShouldEmitNamedEvents]
cmp dword [rax], r15d
je 0x1800a5733
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x78]
mov dword [rbp - 0x78], r15d
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FWindowsPlatformMisc::BeginNamedEvent_struct_FColor_const____ptr64__char_const____ptr64_]
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_class_UE::Trace::FChannel____ptr64___ptr64_CpuChannel]
mov r12b, 1
mov rcx, qword [rax]
mov eax, dword [rcx + 0x18]
test eax, eax
js 0x1800a5733
mov rdx, qword [rbx + 8]
mov rax, rdi
shr rax, 0x20
xor r9d, r9d
mov dword [rsp + 0x7c], eax
xor r8d, r8d
mov dword [rsp + 0x78], edi
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputBeginDynamicEventWithId_class_FName__wchar_t_const____ptr64__char_const____ptr64__unsigned_int_]
mov r12b, 3
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_bool_FThreadStats::bPrimaryEnable]
cmp byte [rax], r15b
je 0x1800a5854
mov rax, rdi
mov dword [rsp + 0x78], edi
shr rax, 0x20
mov dword [rsp + 0x7c], eax
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_unsigned_int_FThreadStats::TlsSlot]
mov rbx, qword [rsp + 0x78]
mov qword [rbp - 0x60], rbx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r15, rax
test rax, rax
jne 0x1800a5784
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_struct_FThreadStatsPool____ptr64___cdecl_FThreadStatsPool::Get_void_]
mov rcx, rax
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_class_FThreadStats____ptr64___cdecl_FThreadStatsPool::GetFromPool_void____ptr64]
mov r15, rax
inc dword [r15 + 0x44]
lea rcx, [rbp - 0x40]
mov rax, rbx
mov qword [rbp + 0x38], rbx
shr rax, 0x20
and eax, 0xffff4fff
mov dword [rbp + 8], edi
bts eax, 0xe
mov dword [rbp + 0xc], eax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rbp - 0x40]
mov qword [rbp], rax
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_bool_FLowLevelMemTracker::bIsDisabled]
mov word [rsp + 0x68], 0
cmp byte [rax], 0
jne 0x1800a57e3
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.FactoryGameEGS_Core.dll_protected:_void___cdecl_FLLMScope::Init_enum_ELLMTag__bool__enum_ELLMTagSet__enum_ELLMTracker__bool____ptr64]
mov r8b, 1
lea rcx, [rbp - 0x38]
mov dl, 0x2d
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FMemScope::constructor_enum_ELLMTag__bool____ptr64]
inc dword [r15 + 0x4c]
lea rdx, [r15 + 0x18]
mov ecx, 0x10
call fcn.18006fd00
test rax, rax
je 0x1800a5810
movups xmm0, xmmword [rbp]
movups xmmword [rax], xmm0
dec dword [r15 + 0x4c]
lea rcx, [rbp - 0x38]
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FMemScope::destructor_void____ptr64]
cmp byte [rsp + 0x69], 0
je 0x1800a5830
lea rcx, [rsp + 0x68]
call qword [sym.imp.FactoryGameEGS_Core.dll_protected:_void___cdecl_FLLMScope::Destruct_void____ptr64]
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_bool_FThreadStats::bIsRawStatsActive]
cmp byte [rax], 0
je 0x1800a584a
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FThreadStats::FlushRawStats_bool__bool____ptr64]
mov r15d, dword [rbp - 0x60]
or r12b, 4
jmp 0x1800a5858
mov rbx, qword [rbp - 0x60]
mov rcx, qword [sym.imp.FactoryGameEGS_Core.dll_class_LowLevelTasks::FScheduler_LowLevelTasks::FScheduler::Singleton]
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_bool___cdecl_LowLevelTasks::FSchedulerTls::IsWorkerThread_void_const___ptr64]
xor edi, edi
test al, al
je 0x1800a58ad
cmp byte [rsp + 0x61], dil
jne 0x1800a58ad
mov rcx, qword [sym.imp.FactoryGameEGS_Core.dll_class_LowLevelTasks::FScheduler_LowLevelTasks::FScheduler::Singleton]
xor eax, eax
lock cmpxchg dword [r13 + 0x30], edi
je 0x1800a58ad
lea rax, [0x1800edba8]
mov qword [rbp + 0x50], r13
xor r8d, r8d
mov qword [rbp + 0x58], rax
lea rdx, [rbp + 0x50]
call qword [sym.imp.FactoryGameEGS_Core.dll_private:_void___cdecl_LowLevelTasks::FScheduler::BusyWaitInternal_class_LowLevelTasks::TTaskDelegate_bool____cdecl___void___16__const____ptr64__bool____ptr64]
lea rcx, [rbp + 0x58]
mov rax, qword [rcx]
lea rdx, [rbp + 0x50]
call qword [rax + 0x18]
cmp qword [r13 + 0x38], 0
jne 0x1800a58e7
mov r9, qword [rbp + 0x98]
lea rax, [0x1800e6974]
mov r8d, 0x161
mov qword [rsp + 0x20], rax
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeCorePublicAsyncAsyncWork.h
lea rcx, str.DoneEvent
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 0x1800a58e7
nop
int3
mov rcx, qword [r13 + 0x38]
xor r8d, r8d
mov edx, 0xffffffff
mov rax, qword [rcx]
call qword [rax + 0x20]
mov qword [r13 + 0x40], rdi
test r12b, 1
je 0x1800a5909
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FWindowsPlatformMisc::EndNamedEvent_void_]
test r12b, 2
je 0x1800a5915
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputEndEvent_void_]
test r12b, 4
je 0x1800a5a2b
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_unsigned_int_FThreadStats::TlsSlot]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x1800a5948
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_struct_FThreadStatsPool____ptr64___cdecl_FThreadStatsPool::Get_void_]
mov rcx, rax
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_class_FThreadStats____ptr64___cdecl_FThreadStatsPool::GetFromPool_void____ptr64]
mov rdi, rax
mov eax, dword [rdi + 0x48]
cmp dword [rdi + 0x44], eax
jle 0x1800a5a2b
mov qword [rbp + 0x40], rbx
lea rcx, [rbp - 0x30]
shr rbx, 0x20
and ebx, 0xffff5fff
mov dword [rbp + 0x18], r15d
or ebx, 0x5000
mov dword [rbp + 0x1c], ebx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rbp - 0x30]
mov qword [rbp + 0x10], rax
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_bool_FLowLevelMemTracker::bIsDisabled]
mov word [rsp + 0x6c], 0
cmp byte [rax], 0
jne 0x1800a59b0
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.FactoryGameEGS_Core.dll_protected:_void___cdecl_FLLMScope::Init_enum_ELLMTag__bool__enum_ELLMTagSet__enum_ELLMTracker__bool____ptr64]
mov r8b, 1
lea rcx, [rbp - 0x28]
mov dl, 0x2d
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FMemScope::constructor_enum_ELLMTag__bool____ptr64]
inc dword [rdi + 0x4c]
lea rdx, [rdi + 0x18]
mov ecx, 0x10
call fcn.18006fd00
test rax, rax
je 0x1800a59dc
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rax], xmm0
dec dword [rdi + 0x4c]
lea rcx, [rbp - 0x28]
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FMemScope::destructor_void____ptr64]
cmp byte [rsp + 0x6d], 0
je 0x1800a59fb
lea rcx, [rsp + 0x6c]
call qword [sym.imp.FactoryGameEGS_Core.dll_protected:_void___cdecl_FLLMScope::Destruct_void____ptr64]
sub dword [rdi + 0x44], 1
jne 0x1800a5a11
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FThreadStats::Flush_bool__bool____ptr64]
jmp 0x1800a5a2b
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_bool_FThreadStats::bIsRawStatsActive]
cmp byte [rax], 0
je 0x1800a5a2b
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FThreadStats::FlushRawStats_bool__bool____ptr64]
movzx ebx, byte [rsp + 0x60]
mov r15, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x1b8]
test bl, 1
je 0x1800a5a4b
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FWindowsPlatformMisc::EndNamedEvent_void_]
test bl, 2
je 0x1800a5a56
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputEndEvent_void_]
test bl, 4
je 0x1800a5b6d
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_unsigned_int_FThreadStats::TlsSlot]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x1800a5a88
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_struct_FThreadStatsPool____ptr64___cdecl_FThreadStatsPool::Get_void_]
mov rcx, rax
call qword [sym.imp.FactoryGameEGS_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 0x1800a5b6d
mov eax, dword [rbp - 0x80]
lea rcx, [rbp - 0x20]
mov qword [rbp + 0x48], rsi
shr rsi, 0x20
and esi, 0xffff5fff
mov dword [rbp + 0x28], eax
or esi, 0x5000
mov dword [rbp + 0x2c], esi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rbp - 0x20]
mov qword [rbp + 0x20], rax
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_bool_FLowLevelMemTracker::bIsDisabled]
mov word [rsp + 0x70], 0
cmp byte [rax], 0
jne 0x1800a5af2
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.FactoryGameEGS_Core.dll_protected:_void___cdecl_FLLMScope::Init_enum_ELLMTag__bool__enum_ELLMTagSet__enum_ELLMTracker__bool____ptr64]
mov r8b, 1
lea rcx, [rbp - 0x18]
mov dl, 0x2d
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FMemScope::constructor_enum_ELLMTag__bool____ptr64]
inc dword [rbx + 0x4c]
lea rdx, [rbx + 0x18]
mov ecx, 0x10
call fcn.18006fd00
test rax, rax
je 0x1800a5b1e
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [rax], xmm0
dec dword [rbx + 0x4c]
lea rcx, [rbp - 0x18]
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FMemScope::destructor_void____ptr64]
cmp byte [rsp + 0x71], 0
je 0x1800a5b3d
lea rcx, [rsp + 0x70]
call qword [sym.imp.FactoryGameEGS_Core.dll_protected:_void___cdecl_FLLMScope::Destruct_void____ptr64]
sub dword [rbx + 0x44], 1
jne 0x1800a5b53
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FThreadStats::Flush_bool__bool____ptr64]
jmp 0x1800a5b6d
mov rax, qword [sym.imp.FactoryGameEGS_Core.dll_bool_FThreadStats::bIsRawStatsActive]
cmp byte [rax], 0
je 0x1800a5b6d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_void___cdecl_FThreadStats::FlushRawStats_bool__bool____ptr64]
mov rsi, qword [rsp + 0x1b0]
lea rbx, [0x1800e6974]
xor r12d, r12d
xor eax, eax
lock cmpxchg dword [r13 + 0x30], r12d
mov r12, qword [rsp + 0x188]
je 0x1800a5bbd
mov r9, qword [rbp + 0x98]
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeCorePublicAsyncAsyncWork.h
mov r8d, 0x173
mov qword [rsp + 0x20], rbx
lea rcx, str.WorkNotFinishedCounter.GetValue____0
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 0x1800a5bbd
nop
int3
cmp qword [r13 + 0x40], 0
mov r13, qword [rsp + 0x180]
je 0x1800a5bf8
mov r9, qword [rbp + 0x98]
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeCorePublicAsyncAsyncWork.h
mov r8d, 0x174
mov qword [rsp + 0x20], rbx
lea rcx, str._QueuedPool
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 0x1800a5bf8
nop
int3
mov rbx, qword [rsp + 0x1a8]
test r14b, r14b
mov r14, qword [rsp + 0x178]
je 0x1800a5c13
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FCpuProfilerTrace::OutputEndEvent_void_]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1800de930
add rsp, 0x190
pop rbp
ret
lea rcx, [0x1801233f8]
call fcn.1800de668
jmp 0x1800a5661
lea rcx, [0x1801233f8]
call fcn.1800de6d0
cmp dword [0x1801233f8], 0xffffffff
jne 0x1800a5661
mov rax, qword [0x1801233f0]
test rax, rax
jne 0x1800a5c28
mov dword [rsp + 0x58], r12d
lea r9, str.STATGROUP_ThreadPoolAsyncTasks
mov byte [rsp + 0x50], r12b
lea r8, [0x1800ed6a0]
mov byte [rsp + 0x48], 1
lea rdx, str.STAT_FAsyncTask_SyncCompletion
mov dword [rsp + 0x40], 2
lea rcx, [0x1801233f0]
mov byte [rsp + 0x38], 1
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
call qword [sym.imp.FactoryGameEGS_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]
jmp 0x1800a5c28