Function at 0x1400c1940
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14d, r8d
mov dword [rsp + 0x30], r8d
mov rdi, rdx
test rdx, rdx
jne 0x1400c19a6
lea r8d, [rdx + 0x57]
lea rdx, str.CSilencePlayerMgr::PlayASlience
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140065460
xor eax, eax
jmp 0x1400c1e1e
xor esi, esi
lea edx, [rsi + 2]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
mov ebx, eax
mov qword [rsp + 0x50], rsi
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 0x10]
call fcn.140098290
mov edi, eax
cmp ebx, 1
jbe 0x1400c19eb
mov r9d, ebx
lea r8d, [rsi + 0x62]
lea rdx, str.CSilencePlayerMgr::PlayASlience
lea rcx, str._s__d_CoInitializeEx_hr_x
call fcn.140065460
jmp 0x1400c19f1
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
test edi, edi
jns 0x1400c1a0a
mov r9d, edi
mov r8d, 0x63
lea rcx, str._s__d_RETURN_FALSE_ON_ERROR_0x_X_
jmp 0x1400c1dff
lea rdx, [0x140106701]
mov ecx, 0x90
call fcn.1400d3ef0
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400c1a9a
mov rax, qword [rsp + 0x50]
lea rcx, vtable.CWASAPIRenderer.1.0
mov qword [rbx], rcx
lea rcx, vtable.CWASAPIRenderer.0
mov qword [rbx + 8], rcx
mov dword [rbx + 0x10], 1
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x58], rsi
mov byte [rbx + 0x60], 0
mov dword [rbx + 0x64], esi
mov qword [rbx + 0x68], rsi
mov qword [rbx + 0x70], rsi
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x80], rsi
mov byte [rbx + 0x88], 0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov rcx, qword [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c1a9d
mov rbx, rsi
mov r9d, r14d
mov r8d, 0x69
lea rdx, str.CSilencePlayerMgr::PlayASlience
lea rcx, str._s__d_Start__d_ms_
call fcn.140065460
test rbx, rbx
jne 0x1400c1ada
lea r8d, [rbx + 0x6d]
lea rdx, str.CSilencePlayerMgr::PlayASlience
lea rcx, [0x140119e10]
call fcn.140065460
jmp 0x1400c1e0c
mov rcx, rbx
call fcn.1400ce430
test al, al
je 0x1400c1dde
mov edi, dword [rbx + 0x50]
mov r13d, edi
shr r13d, 2
imul r13d, dword [rbx + 0x48]
mov rax, qword [rbx + 0x40]
mov ecx, dword [rax + 4]
imul ecx, dword [rbx + 0x48]
lea eax, [rcx + rcx*4]
lea eax, [rax*2 - 1]
add eax, r13d
mov ecx, r13d
xor edx, edx
div rcx
mov r12, rax
mov rcx, rsi
mov qword [rsp + 0x40], rcx
lea r15, [rsp + 0x40]
xorps xmm6, xmm6
mov rbp, rsi
test rax, rax
je 0x1400c1c6d
movsd xmm7, qword [0x14016daf0]
lea rdx, [0x140106701]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400d3ef0
mov r14, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400c1e0c
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov dword [rax + 8], r13d
lea rdx, [0x140106701]
mov ecx, r13d
call fcn.1400d3e10
mov rdx, rax
mov qword [r14 + 0x10], rax
test rax, rax
je 0x1400c1c99
mov ecx, dword [rbx + 0x4c]
test ecx, ecx
je 0x1400c1bf3
sub ecx, 1
jne 0x1400c1c4e
mov rax, qword [rbx + 0x40]
movzx ecx, word [rax + 2]
mov r11d, dword [r14 + 8]
mov eax, dword [rax + 4]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
movaps xmm1, xmm7
divsd xmm1, xmm0
mov r9, rsi
shr r11, 1
je 0x1400c1c4e
movzx r8d, cx
lea r10, [r8 + r8]
nop
test r8, r8
je 0x1400c1be2
movsx rax, si
mov rdi, rdx
mov rcx, r8
rep stosw word [rdi], ax
addsd xmm6, xmm1
add r9, r8
add rdx, r10
cmp r9, r11
jb 0x1400c1bd0
jmp 0x1400c1c4e
mov rax, qword [rbx + 0x40]
movzx ecx, word [rax + 2]
mov r10d, dword [r14 + 8]
mov eax, dword [rax + 4]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
movaps xmm1, xmm7
divsd xmm1, xmm0
mov r9, rsi
shr r10, 2
test r10, r10
je 0x1400c1c4e
movzx r8d, cx
lea r11, [r8*4]
nop dword [rax]
test r8, r8
je 0x1400c1c3f
mov rdi, rdx
xor eax, eax
mov rcx, r8
rep stosd dword [rdi], eax
addsd xmm6, xmm1
add r9, r8
add rdx, r11
cmp r9, r10
jb 0x1400c1c30
mov qword [r15], r14
mov r15, r14
inc rbp
cmp rbp, r12
jb 0x1400c1b40
mov edi, dword [rbx + 0x50]
mov rcx, qword [rsp + 0x40]
mov r14d, dword [rsp + 0x30]
mov qword [rbx + 0x58], rcx
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
mov edx, edi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jns 0x1400c1cb3
mov edx, eax
lea rcx, str.Failed_to_get_buffer:__x._n
call fcn.1400ceeb0
jmp 0x1400c1def
mov rcx, rax
call fcn.1400d37cc
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r14
call fcn.1400d37cc
jmp 0x1400c1e0c
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx]
mov r8d, 2
mov edx, dword [rbx + 0x50]
call qword [rax + 0x20]
test eax, eax
jns 0x1400c1cdd
mov edx, eax
lea rcx, str.Failed_to_release_buffer:__x._n
call fcn.1400ceeb0
jmp 0x1400c1def
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x1400ce830]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x1400c1d1c
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.1400ceeb0
jmp 0x1400c1def
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
jns 0x1400c1d3d
mov edx, eax
lea rcx, str.Unable_to_start_render_client:__x._n
call fcn.1400ceeb0
jmp 0x1400c1def
mov ecx, r14d
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400c1d55
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x58]
test eax, eax
jns 0x1400c1d71
mov edx, eax
lea rcx, str.Unable_to_stop_audio_client:__x_n
call fcn.1400ceeb0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400c1d93
mov edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x30], rsi
mov rdi, qword [rbx + 0x58]
test rdi, rdi
je 0x1400c1dc6
nop dword [rax]
mov rax, qword [rdi]
mov qword [rbx + 0x58], rax
mov rcx, qword [rdi + 0x10]
call fcn.1400d37cc
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.1400d37cc
mov rdi, qword [rbx + 0x58]
test rdi, rdi
jne 0x1400c1da0
mov rcx, rbx
call fcn.1400ce6e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov esi, 1
jmp 0x1400c1def
mov rcx, rbx
call fcn.1400ce6e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov r9d, r14d
mov r8d, 0xbd
lea rcx, str._s__d_End__d_ms_
lea rdx, str.CSilencePlayerMgr::PlayASlience
call fcn.140065460
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400c1e1c
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d37a0
mov rbx, qword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret