Function at 0x140059e60
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rdx
test rdx, rdx
jne 0x140059ec1
lea r8d, [rdx + 0x57]
lea rdx, str.CSilencePlayerMgr::PlayASlience
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140026f80
xor eax, eax
jmp 0x14005a251
xor esi, esi
lea rdx, [0x1400761f1]
mov ecx, 0x90
call fcn.140066638
mov rbx, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140059f49
mov rcx, qword [rdi + 0x1d8]
lea rax, vtable.CWASAPIRenderer.1.0
mov qword [rbx], rax
lea rax, vtable.CWASAPIRenderer.0
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
mov qword [rbx + 0x18], rcx
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], sil
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], sil
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140059f4c
mov rbx, rsi
test rbx, rbx
je 0x140059eba
mov rcx, rbx
call fcn.140060770
test al, al
je 0x14005a23e
mov edi, dword [rbx + 0x50]
mov r12d, edi
shr r12d, 2
imul r12d, dword [rbx + 0x48]
mov r8d, r12d
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, r12d
xor edx, edx
div r8
mov r13, rax
mov rcx, rsi
mov qword [rsp + 0x38], rcx
lea r15, [rsp + 0x38]
xorps xmm6, xmm6
mov rbp, rsi
test rax, rax
je 0x14005a0e8
movsd xmm7, qword [0x14009a9c0]
nop dword [rax + rax]
lea rdx, [0x1400761f1]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140066638
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140059eba
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov dword [rax + 8], r12d
lea rdx, [0x1400761f1]
mov ecx, r12d
call fcn.140066254
mov rdx, rax
mov qword [r14 + 0x10], rax
test rax, rax
je 0x140059eba
mov ecx, dword [rbx + 0x4c]
test ecx, ecx
je 0x14005a073
cmp ecx, 1
jne 0x14005a0ce
mov rcx, qword [rbx + 0x40]
mov r11d, dword [r14 + 8]
mov eax, dword [rcx + 4]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
movaps xmm1, xmm7
divsd xmm1, xmm0
mov r9, rsi
shr r11, 1
je 0x14005a0ce
movzx r8d, word [rcx + 2]
lea r10, [r8 + r8]
nop dword [rax + rax]
test r8, r8
je 0x14005a062
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 0x14005a050
jmp 0x14005a0ce
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 0x14005a0ce
movzx r8d, cx
lea r11, [r8*4]
nop dword [rax]
test r8, r8
je 0x14005a0bf
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 0x14005a0b0
mov qword [r15], r14
mov r15, r14
inc rbp
cmp rbp, r13
jb 0x140059fc0
mov edi, dword [rbx + 0x50]
mov rcx, qword [rsp + 0x38]
mov qword [rbx + 0x58], rcx
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, edi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jns 0x14005a114
mov edx, eax
lea rcx, str.Failed_to_get_buffer:__x._n
call fcn.14004fb20
jmp 0x14005a24f
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 0x14005a13e
mov edx, eax
lea rcx, str.Failed_to_release_buffer:__x._n
call fcn.14004fb20
jmp 0x14005a24f
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x140060b70]
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 0x14005a17d
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.14004fb20
jmp 0x14005a24f
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
jns 0x14005a19e
mov edx, eax
lea rcx, str.Unable_to_start_render_client:__x._n
call fcn.14004fb20
jmp 0x14005a24f
mov ecx, 0x64
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14005a1b8
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 0x14005a1d4
mov edx, eax
lea rcx, str.Unable_to_stop_audio_client:__x_n
call fcn.14004fb20
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14005a1f4
or 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 0x14005a226
nop dword [rax]
mov rax, qword [rdi]
mov qword [rbx + 0x58], rax
mov rcx, qword [rdi + 0x10]
call fcn.14006624c
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.14006624c
mov rdi, qword [rbx + 0x58]
test rdi, rdi
jne 0x14005a200
mov rcx, rbx
call fcn.140060a20
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov esi, 1
jmp 0x14005a24f
mov rcx, rbx
call fcn.140060a20
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
mov eax, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140065bd0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret