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

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xa0
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1400d3008]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
mov dword [rsp + 0x58], edx
lea rdx, str.Service::spawnProvider
mov ecx, 0x1000
call fcn.140006e40
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rax, str.Service::spawnProvider___line_582_:___d__Service::spawnProvider_n
lea rdx, str.__d__Service::spawnProvider_n
cmp byte [0x1400d91cd], 0
cmovne rdx, rax
mov ecx, 1
call fcn.140006e40
mov rcx, rdi
call fcn.140005ca0
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor eax, eax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x40], 1
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140006ac0
nop
lea r9, [rsp + 0x4c]
xor edx, edx
lea r8d, [rdx + 1]
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call fcn.14001bc20
test eax, eax
jns 0x140005b2d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rax, str.Service::spawnProvider___line_593_:___d__Service::spawnProvider_Failed_to_launch_PresentMon_consumer_process_n
lea rdx, str.__d__Service::spawnProvider_Failed_to_launch_PresentMon_consumer_process_n
jmp 0x140005b85
lea r9, [rsp + 0x48]
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call fcn.14001bc20
test eax, eax
jns 0x140005b5d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rax, str.Service::spawnProvider___line_598_:___d__Service::spawnProvider_Failed_to_launch_PresentMon_provider_process_n
lea rdx, str.__d__Service::spawnProvider_Failed_to_launch_PresentMon_provider_process_n
jmp 0x140005b85
lea r8, [rsp + 0x44]
mov rcx, rbx
call fcn.14001c9e0
test eax, eax
jns 0x140005ba4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rax, str.Service::spawnProvider___line_603_:___d__Service::spawnProvider_Failed_to_launch_nvrla_process_n
lea rdx, str.__d__Service::spawnProvider_Failed_to_launch_nvrla_process_n
cmp byte [0x1400d91cd], 0
cmovne rdx, rax
mov ecx, 0x10
call fcn.140006e40
mov edi, 0x80004005
jmp 0x140005c4d
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, qword [rsp + 0x68]
sub rax, qword [rsp + 0x70]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
mulss xmm1, dword [0x1400b7960]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x78]
divss xmm1, xmm0
cvtps2pd xmm6, xmm1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rax, str.Service::spawnProvider___line_611_:___d__Service::spawnProvider__lf__Consumer__d___Provider__d___RLA__d__n
lea rdx, str.__d__Service::spawnProvider__lf__Consumer__d___Provider__d___RLA__d__n
cmp byte [0x1400d91cd], 0
cmovne rdx, rax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
movaps xmm3, xmm6
movq r9, xmm3
mov ecx, 1
call fcn.140006e40
lea rcx, [rdi + 0x68]
lea rdx, [rsp + 0x60]
call fcn.140005dd0
mov eax, dword [rsp + 0x58]
xchg dword [rdi + 0x50], eax
xor edi, edi
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140005c67
mov rcx, rbx
call fcn.14001afe0
mov edx, 0x60
mov rcx, rbx
call fcn.14002dfd8
mov eax, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14002d9f0
mov rbx, qword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rdi
ret