Function at 0x1400a06e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
add rcx, 0x20
call fcn.1400a4be0
nop
lea r14, [rbx + 8]
lea rdi, [rbx + 0x10]
lea rsi, [rbx + 0x18]
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.3.0
mov qword [rbx], rax
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.0
mov qword [r14], rax
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.1.0
mov qword [rdi], rax
lea rax, vtable.CRtkAudioDriverHelperForNormalUser.2.0
mov qword [rsi], rax
xor r15d, r15d
mov qword [rbx + 0x28], r15
mov qword [rbx + 0x30], r15
mov qword [rbx + 0x40], r15
mov dword [rbx + 0x48], r15d
call fcn.140014310
movzx ecx, byte [rax + 0x12f]
and ecx, 1
mov dword [rbx + 0x28], ecx
call fcn.140014310
test dword [rax + 0x2ec], 0x100000
je 0x1400a0802
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetSystemPowerStatus]
mov r8d, r15d
cmp byte [rsp + 0x40], r15b
setne r8b
mov dword [rbx + 0x2c], r8d
lea rdx, str.CRtkAudioDriverHelperForNormalUser::CRtkAudioDriverHelperForNormalUser
lea rcx, str._s_PowerState_d
call fcn.140075db0
mov qword [rsp + 0x38], rdi
call fcn.1400440c0
mov rbp, rax
test rdi, rdi
je 0x1400a0802
lea rcx, [rax + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rbp + 0x30]
mov rax, qword [rcx]
test rax, rax
je 0x1400a07ee
nop dword [rax]
cmp qword [rax + 0x10], rdi
je 0x1400a07f8
mov rax, qword [rax]
test rax, rax
jne 0x1400a07e0
lea rdx, [rsp + 0x38]
call fcn.14000ecc0
lea rcx, [rbp + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
call fcn.140014310
test dword [rax + 0x1a4], 0x400
je 0x1400a0886
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_GetSystemPowerStatus]
mov r8d, r15d
cmp byte [rsp + 0x40], r15b
setne r8b
mov dword [rbx + 0x48], r8d
lea rdx, str.CRtkAudioDriverHelperForNormalUser::CRtkAudioDriverHelperForNormalUser
lea rcx, str._s_PowerState_d
call fcn.140075db0
mov qword [rsp + 0x38], rbx
call fcn.14001d830
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 0x1400a0872
cmp qword [rax + 0x10], rbx
je 0x1400a087c
mov rax, qword [rax]
test rax, rax
jne 0x1400a0864
lea rdx, [rsp + 0x38]
call fcn.14000ecc0
lea rcx, [rdi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
cmp dword [rbx + 0x28], r15d
je 0x1400a0932
call fcn.1400a12e0
mov qword [rsp + 0x38], rsi
call fcn.1400147e0
mov rdi, rax
test rsi, rsi
je 0x1400a08e2
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 0x1400a08ce
nop dword [rax]
cmp qword [rax + 0x10], rsi
je 0x1400a08d8
mov rax, qword [rax]
test rax, rax
jne 0x1400a08c0
lea rdx, [rsp + 0x38]
call fcn.14000ecc0
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.140014660
mov rdi, rax
test r14, r14
je 0x1400a0932
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 0x1400a091e
nop word [rax + rax]
cmp qword [rax + 0x10], r14
je 0x1400a0928
mov rax, qword [rax]
test rax, rax
jne 0x1400a0910
lea rdx, [rsp + 0x38]
call fcn.14000ecc0
lea rcx, [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov qword [rbx + 0x38], r15
call fcn.140014310
test byte [rax + 0x1c0], 4
je 0x1400a0966
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
mov r9, rbx
lea r8, [0x1400a1120]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x58], rax
call fcn.140014310
test byte [rax + 0xb8], 1
jne 0x1400a0993
call fcn.140014310
test byte [rax + 0xb8], 8
jne 0x1400a0993
call fcn.140014310
test dword [rax + 0x1f4], 0x1000
je 0x1400a09b9
mov ecx, 0x20
call fcn.1400f47a0
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rcx, rax
call fcn.1400df1b0
nop
mov qword [rbx + 0x30], rax
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400f4410
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret