Function at 0x1400ae820
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 [0x140158010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14d, r8d
mov dword [rsp + 0x30], r8d
mov rdi, rdx
test rdx, rdx
jne 0x1400ae886
lea r8d, [rdx + 0x57]
lea rdx, str.CSilencePlayerMgr::PlayASlience
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14005dbf0
xor eax, eax
jmp 0x1400aecde
xor esi, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov qword [rsp + 0x50], rsi
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 0x10]
call fcn.14008f1c0
mov edi, eax
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
test edi, edi
jns 0x1400ae8c2
mov r9d, edi
lea r8d, [rsi + 0x63]
lea rcx, str._s__d_RETURN_FALSE_ON_ERROR_0x_X_
jmp 0x1400aecbf
lea rdx, [0x1400d24e1]
mov ecx, 0x90
call fcn.1400bf270
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400ae952
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 0x1400ae955
mov rbx, rsi
mov r9d, r14d
mov r8d, 0x69
lea rdx, str.CSilencePlayerMgr::PlayASlience
lea rcx, str._s__d_Start__d_ms_
call fcn.14005dbf0
test rbx, rbx
jne 0x1400ae992
lea r8d, [rbx + 0x6d]
lea rdx, str.CSilencePlayerMgr::PlayASlience
lea rcx, [0x1400e2bd0]
call fcn.14005dbf0
jmp 0x1400aeccc
mov rcx, rbx
call fcn.1400b9810
test al, al
je 0x1400aec9e
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 0x1400aeb2d
movsd xmm7, qword [0x140129d80]
nop dword [rax + rax]
lea rdx, [0x1400d24e1]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400bf270
mov r14, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400aeccc
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov dword [rax + 8], r13d
lea rdx, [0x1400d24e1]
mov ecx, r13d
call fcn.1400bf190
mov rdx, rax
mov qword [r14 + 0x10], rax
test rax, rax
je 0x1400aeb59
mov ecx, dword [rbx + 0x4c]
test ecx, ecx
je 0x1400aeab3
sub ecx, 1
jne 0x1400aeb0e
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 0x1400aeb0e
movzx r8d, cx
lea r10, [r8 + r8]
nop
test r8, r8
je 0x1400aeaa2
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 0x1400aea90
jmp 0x1400aeb0e
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 0x1400aeb0e
movzx r8d, cx
lea r11, [r8*4]
nop dword [rax]
test r8, r8
je 0x1400aeaff
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 0x1400aeaf0
mov qword [r15], r14
mov r15, r14
inc rbp
cmp rbp, r12
jb 0x1400aea00
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 0x1400aeb73
mov edx, eax
lea rcx, str.Failed_to_get_buffer:__x._n
call fcn.1400ba290
jmp 0x1400aecaf
mov rcx, rax
call fcn.1400beb4c
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, r14
call fcn.1400beb4c
jmp 0x1400aeccc
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 0x1400aeb9d
mov edx, eax
lea rcx, str.Failed_to_release_buffer:__x._n
call fcn.1400ba290
jmp 0x1400aecaf
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x1400b9c10]
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 0x1400aebdc
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.1400ba290
jmp 0x1400aecaf
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
jns 0x1400aebfd
mov edx, eax
lea rcx, str.Unable_to_start_render_client:__x._n
call fcn.1400ba290
jmp 0x1400aecaf
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 0x1400aec15
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 0x1400aec31
mov edx, eax
lea rcx, str.Unable_to_stop_audio_client:__x_n
call fcn.1400ba290
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400aec53
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 0x1400aec86
nop dword [rax]
mov rax, qword [rdi]
mov qword [rbx + 0x58], rax
mov rcx, qword [rdi + 0x10]
call fcn.1400beb4c
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.1400beb4c
mov rdi, qword [rbx + 0x58]
test rdi, rdi
jne 0x1400aec60
mov rcx, rbx
call fcn.1400b9ac0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov esi, 1
jmp 0x1400aecaf
mov rcx, rbx
call fcn.1400b9ac0
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.14005dbf0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400aecdc
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400beb20
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