Function at 0x1400cbe60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], r8d
mov rdi, rdx
test rdx, rdx
jne 0x1400cbeae
lea r8d, [rdx + 0x57]
lea rdx, str.CSilencePlayerMgr::PlayASlience
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14006dd20
xor eax, eax
jmp 0x1400cc333
xor ebx, ebx
lea edx, [rbx + 2]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
mov esi, eax
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 0x10]
call fcn.1400a4590
mov edi, eax
cmp esi, 1
jbe 0x1400cbef3
mov r9d, esi
lea r8d, [rbx + 0x62]
lea rdx, str.CSilencePlayerMgr::PlayASlience
lea rcx, str._s__d_CoInitializeEx_hr_x
call fcn.14006dd20
jmp 0x1400cbef9
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
test edi, edi
jns 0x1400cbf15
lfence
mov r9d, edi
mov r8d, 0x63
lea rcx, str._s__d_RETURN_FALSE_ON_ERROR_0x_X_
jmp 0x1400cc30d
lea rdx, [0x1400f57f0]
mov ecx, 0x90
call fcn.1400df7f4
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400cbfac
mov rax, qword [rsp + 0x50]
lea rcx, vtable.CWASAPIRenderer.0
mov qword [rdi], rcx
lea rcx, vtable.CWASAPIRenderer.1.0
mov qword [rdi + 8], rcx
mov dword [rdi + 0x10], 1
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rbx
mov qword [rdi + 0x28], rbx
mov qword [rdi + 0x30], rbx
mov qword [rdi + 0x38], rbx
mov qword [rdi + 0x40], rbx
mov qword [rdi + 0x58], rbx
mov byte [rdi + 0x60], 0
mov dword [rdi + 0x64], ebx
mov qword [rdi + 0x68], rbx
mov qword [rdi + 0x70], rbx
mov qword [rdi + 0x78], rbx
mov qword [rdi + 0x80], rbx
mov byte [rdi + 0x88], 0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov rcx, qword [rdi + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
jmp 0x1400cbfaf
mov rdi, rbx
mov esi, dword [rsp + 0x30]
mov r9d, esi
mov r8d, 0x69
lea rdx, str.CSilencePlayerMgr::PlayASlience
lea rcx, str._s__d_Start__d_ms_
call fcn.14006dd20
test rdi, rdi
jne 0x1400cbff0
lea r8d, [rdi + 0x6d]
lea rdx, str.CSilencePlayerMgr::PlayASlience
lea rcx, [0x140102ba8]
call fcn.14006dd20
jmp 0x1400cc31a
mov rcx, rdi
call fcn.1400d9a80
test al, al
je 0x1400cc2e5
mov r9d, dword [rdi + 0x50]
mov r12d, r9d
shr r12d, 2
imul r12d, dword [rdi + 0x48]
mov rax, qword [rdi + 0x40]
mov ecx, dword [rax + 4]
imul ecx, dword [rdi + 0x48]
lea eax, [rcx + rcx*4]
lea eax, [rax*2 - 1]
add eax, r12d
mov r13d, r12d
xor edx, edx
div r13
mov r15, rax
mov rcx, rbx
mov qword [rsp + 0x40], rbx
lea r14, [rsp + 0x40]
mov rbp, rbx
test rax, rax
je 0x1400cc145
lfence
nop
lea rdx, [0x1400f57f0]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400df7f4
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400cc31a
mov qword [rax], rbx
mov qword [rax + 0x10], rbx
mov dword [rax + 8], r12d
lea rdx, [0x1400f57f0]
mov rcx, r13
call fcn.1400df714
mov r10, rax
mov qword [rsi + 0x10], rax
test rax, rax
je 0x1400cc17c
mov ecx, dword [rdi + 0x4c]
test ecx, ecx
je 0x1400cc0e9
cmp ecx, 1
jne 0x1400cc126
mov rax, qword [rdi + 0x40]
mov r9d, dword [rsi + 8]
mov r8, rbx
shr r9, 1
je 0x1400cc126
movzx edx, word [rax + 2]
nop dword [rax]
mov rcx, rbx
test rdx, rdx
je 0x1400cc0df
lea rax, [r10 + r8*2]
nop dword [rax]
mov word [rax], bx
inc rcx
lea rax, [rax + 2]
cmp rcx, rdx
jb 0x1400cc0d0
add r8, rdx
cmp r8, r9
jb 0x1400cc0c0
jmp 0x1400cc126
mov rax, qword [rdi + 0x40]
mov r9d, dword [rsi + 8]
mov r8, rbx
shr r9, 2
test r9, r9
je 0x1400cc126
movzx edx, word [rax + 2]
mov rcx, rbx
test rdx, rdx
je 0x1400cc11e
lea rax, [r10 + r8*4]
nop dword [rax]
mov dword [rax], ebx
inc rcx
lea rax, [rax + 4]
cmp rcx, rdx
jb 0x1400cc110
add r8, rdx
cmp r8, r9
jb 0x1400cc101
mov qword [r14], rsi
mov r14, rsi
inc rbp
cmp rbp, r15
jb 0x1400cc050
mov r9d, dword [rdi + 0x50]
mov rcx, qword [rsp + 0x40]
mov esi, dword [rsp + 0x30]
mov qword [rdi + 0x58], rcx
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
mov edx, r9d
mov rax, qword [rax + 0x18]
call qword [case.0x140050923.0]
test eax, eax
jns 0x1400cc195
lfence
mov edx, eax
lea rcx, str.Failed_to_get_buffer:__x._n
call fcn.1400da650
jmp 0x1400cc2fd
xor ecx, ecx
call fcn.1400df368
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rsi
call fcn.1400df368
jmp 0x1400cc31a
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
mov r8d, 2
mov edx, dword [rdi + 0x50]
mov rax, qword [rax + 0x20]
call qword [case.0x140050923.0]
test eax, eax
jns 0x1400cc1c9
lfence
mov edx, eax
lea rcx, str.Failed_to_release_buffer:__x._n
call fcn.1400da650
jmp 0x1400cc2fd
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, [0x1400d9f10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rdi + 0x30], rax
test rax, rax
jne 0x1400cc208
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.Unable_to_create_transport_thread:__x.
call fcn.1400da650
jmp 0x1400cc2fd
mov rcx, qword [rdi + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
call qword [case.0x140050923.0]
test eax, eax
jns 0x1400cc233
lfence
mov edx, eax
lea rcx, str.Unable_to_start_render_client:__x._n
call fcn.1400da650
jmp 0x1400cc2fd
mov ecx, esi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400cc24a
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rcx, qword [rdi + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [case.0x140050923.0]
test eax, eax
jns 0x1400cc270
lfence
mov edx, eax
lea rcx, str.Unable_to_stop_audio_client:__x_n
call fcn.1400da650
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x1400cc292
mov edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rdi + 0x30], rbx
mov rbx, qword [rdi + 0x58]
test rbx, rbx
je 0x1400cc2c6
nop dword [rax + rax]
mov rax, qword [rbx]
mov qword [rdi + 0x58], rax
mov rcx, qword [rbx + 0x10]
call fcn.1400df368
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.1400df368
mov rbx, qword [rdi + 0x58]
test rbx, rbx
jne 0x1400cc2a0
mov rcx, rdi
call fcn.1400d9d80
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x140050923.0]
mov ebx, 1
jmp 0x1400cc2fd
mov rcx, rdi
call fcn.1400d9d80
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x140050923.0]
mov r9d, esi
mov r8d, 0xbd
lea rcx, str._s__d_End__d_ms_
lea rdx, str.CSilencePlayerMgr::PlayASlience
call fcn.14006dd20
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400cc331
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x140050923.0]
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400df340
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret