Function at 0x140085f20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
add rcx, 0x18
call fcn.140089de0
nop
lea r14, [rbx + 8]
lea rsi, [rbx + 0x10]
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.2.0
mov qword [rbx], rax
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.0
mov qword [r14], rax
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.1.0
mov qword [rsi], rax
xor ebp, ebp
mov dword [rbx + 0x20], ebp
mov qword [rbx + 0x28], rbp
mov qword [rbx + 0x38], rbp
mov dword [rbx + 0x40], ebp
call fcn.14000b2a0
movzx ecx, byte [rax + 0x12f]
and ecx, 1
mov dword [rbx + 0x20], ecx
call fcn.14000b2a0
test dword [rax + 0x1a4], 0x400
je 0x140086022
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetSystemPowerStatus]
mov r8d, ebp
cmp byte [rsp + 0x40], bpl
setne r8b
mov dword [rbx + 0x40], r8d
lea rdx, str.CRtkAudioDriverHelperForNormalUser::CRtkAudioDriverHelperForNormalUser
lea rcx, str._s_PowerState_d
call fcn.14005b9a0
mov qword [rsp + 0x38], rbx
call fcn.1400141e0
mov rdi, rax
lea rcx, [rax + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rdi + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x14008600e
nop dword [rax]
cmp qword [rax + 0x10], rbx
je 0x140086018
mov rax, qword [rax]
test rax, rax
jne 0x140086000
lea rdx, [rsp + 0x38]
call fcn.140006520
lea rcx, [rdi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
cmp dword [rbx + 0x20], ebp
je 0x1400860c4
call fcn.1400868c0
mov qword [rsp + 0x38], rsi
call fcn.14000b740
mov rdi, rax
test rsi, rsi
je 0x14008607a
lea rcx, [rax + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rdi + 0x50]
mov rax, qword [rcx]
test rax, rax
je 0x140086066
cmp qword [rax + 0x10], rsi
je 0x140086070
mov rax, qword [rax]
test rax, rax
jne 0x140086058
lea rdx, [rsp + 0x38]
call fcn.140006520
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rsp + 0x38], r14
call fcn.14000b5c0
mov rdi, rax
test r14, r14
je 0x1400860c4
lea rcx, [rax + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rdi + 0x38]
mov rax, qword [rcx]
test rax, rax
je 0x1400860b0
cmp qword [rax + 0x10], r14
je 0x1400860ba
mov rax, qword [rax]
test rax, rax
jne 0x1400860a2
lea rdx, [rsp + 0x38]
call fcn.140006520
lea rcx, [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rbx + 0x30], rbp
call fcn.14000b2a0
test byte [rax + 0x1c0], 4
je 0x1400860f7
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x140086700]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x50], rax
call fcn.14000b2a0
test byte [rax + 0xb8], 1
jne 0x140086124
call fcn.14000b2a0
test byte [rax + 0xb8], 8
jne 0x140086124
call fcn.14000b2a0
test dword [rax + 0x1f4], 0x1000
je 0x14008614a
mov ecx, 0x20
call fcn.1400c1b88
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rcx, rax
call fcn.1400b20b0
nop
mov qword [rbx + 0x28], rax
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c17f0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret