Function at 0x140005260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14007b498]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xa0], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x64], 0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400621e0]
lea r9, [0x1400621d0]
xor edx, edx
mov r8d, 0x17
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000560d
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
lea r9, [rsp + 0xc0]
xor edx, edx
xor r8d, r8d
call qword [0x140084008]
test eax, eax
js 0x140005616
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
lea rdx, [rsp + 0xb8]
mov qword [rsp + 0x20], rdx
lea rdx, [0x140062210]
mov r8d, 0x17
xor r9d, r9d
call qword [0x140084008]
test eax, eax
js 0x14000561f
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
lea rdx, [rsp + 0xb0]
call qword [0x140084008]
test eax, eax
js 0x140005628
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
lea rdx, [rsp + 0x64]
call qword [0x140084008]
test eax, eax
js 0x140005631
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
lea r8, [rsp + 0x68]
xor edx, edx
call qword [0x140084008]
test eax, eax
js 0x14000563a
cmp dword [rsp + 0x64], 1
jne 0x140005648
mov rax, qword [rsp + 0x68]
cmp word [rax], 3
jne 0x140005648
cmp word [rax + 0xe], 0x20
jne 0x140005648
cmp word [rax + 2], 1
jne 0x140005648
cmp dword [rax + 4], 0xbb80
jne 0x140005648
cmp word [rax + 0xc], 4
jne 0x140005648
cmp dword [rax + 8], 0x2ee00
jne 0x140005648
xor ebx, ebx
lea r12, [rsp + 0x34]
lea r14, [rsp + 0x3c]
lea r15, [rsp + 0x38]
mov edx, 2
mov ecx, ebx
shl edx, cl
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x20], r12
mov r8, r14
mov r9, r15
call qword [0x140084008]
test eax, eax
js 0x14000574e
mov eax, dword [rsp + 0x3c]
xchg dword [rsi + rbx*4 + 0x40], eax
mov eax, dword [rsp + 0x38]
xchg dword [rsi + rbx*4 + 0x84], eax
mov eax, dword [rsp + 0x34]
xchg dword [rsi + rbx*4 + 0xc8], eax
add rbx, 1
cmp rbx, 0x11
jne 0x140005471
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x70], rcx
movaps xmm0, xmmword [0x1400621c0]
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x40], 0x41
mov dword [rsp + 0x48], 0x28
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
lea r8, [0x140062220]
lea rdx, [rsp + 0x40]
lea r9, [rsp + 0xa8]
call qword [0x140084008]
test eax, eax
js 0x14000575a
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
lea r8, [rsp + 0xa0]
mov edx, 8
call qword [0x140084008]
test eax, eax
js 0x140005766
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov rcx, qword [rax + 0x30]
xor eax, eax
sub rcx, rdi
cmovb ecx, eax
xchg dword [rsi + 0x28], ecx
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x40]
sub rcx, rdi
cmovb ecx, eax
xchg dword [rsi + 0x2c], ecx
mov rcx, qword [rsp + 0xa8]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x48]
sub rcx, rdi
cmovb ecx, eax
xchg dword [rsi + 0x30], ecx
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x18]
sub rcx, rdi
cmovb ecx, eax
xchg dword [rsi + 0x34], ecx
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x38]
sub rcx, rdi
cmovb ecx, eax
xchg dword [rsi + 0x38], ecx
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x40]
sub rcx, rdi
cmovb ecx, eax
xchg dword [rsi + 0x3c], ecx
mov al, 1
xchg byte [rsi + 0x24], al
jmp 0x140005648
lea rcx, str.COM_call_failed:_CoCreateInstance___uuidof_MMDeviceEnumerator___nullptr__CLSCTX_ALL____uuidof_IMMDeviceEnumerator___deviceEnum.Receive_void_____HR:__08X
jmp 0x140005641
lea rcx, str.COM_call_failed:_deviceEnum__GetDefaultAudioEndpoint_eRender__eConsole__device.Receive____HR:__08X
jmp 0x140005641
lea rcx, str.COM_call_failed:_device__Activate___uuidof_ISpatialAudioClient___CLSCTX_ALL__nullptr__client.Receive_void_____HR:__08X
jmp 0x140005641
lea rcx, str.COM_call_failed:_client__GetSupportedAudioObjectFormatEnumerator_formatEnum.Receive____HR:__08X
jmp 0x140005641
lea rcx, str.COM_call_failed:_formatEnum__GetCount_formatCount__HR:__08X
jmp 0x140005641
lea rcx, str.COM_call_failed:_formatEnum__GetFormat_0__format__HR:__08X
mov edx, eax
call fcn.140001be0
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14000566e
mov qword [rsp + 0xa0], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140084008]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x140005694
mov qword [rsp + 0xa8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140084008]
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x1400056ba
mov qword [rsp + 0xb0], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140084008]
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x1400056e0
mov qword [rsp + 0xb8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140084008]
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140005706
mov qword [rsp + 0xc0], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140084008]
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x14000572c
mov qword [rsp + 0xc8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140084008]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14000ea90
nop
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, str.COM_call_failed:_client__GetStaticObjectPosition_static_cast_AudioObjectType__2____i___x__y__z__HR:__08X
jmp 0x140005641
lea rcx, str.COM_call_failed:_client__ActivateSpatialAudioStream__activationParams____uuidof_ISpatialAudioObjectRenderStream___renderStream.Receive_void_____HR:__08X
jmp 0x140005641
lea rcx, str.COM_call_failed:_renderStream__ActivateSpatialAudioObject_AudioObjectType_FrontCenter__object.Receive____HR:__08X
jmp 0x140005641