Function at 0x6acce550
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [ebp + 8]
mov dword [esp + 8], 0x38
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
xor edx, edx
mov word [eax + 0x20], dx
mov ebx, eax
sub esp, 0xc
lea edx, [ebp - 0x20]
mov dword [eax], sym._SAC_QueryInterface_12
mov dword [eax + 4], 0x6acd0140
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], 0x10003
mov dword [eax + 0x14], 0xbb80
mov dword [eax + 0x18], 0x2ee00
mov dword [eax + 0x1c], 0x200004
mov eax, dword [esi]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x6acd4470
mov dword [esp], esi
call dword [eax + 0xc]
sub esp, 0x14
test eax, eax
js 0x6acce740
lea eax, [ebx + 0x10]
lea edi, [ebp - 0x1c]
mov edx, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [esp + 0xc], edi
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [ecx + 0x1c]
mov edi, eax
mov eax, dword [ebp - 0x20]
sub esp, 0x10
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
sub esp, 4
cmp edi, 1
je 0x6acce658
test edi, edi
jne 0x6acce7f0
mov eax, dword [esi]
mov dword [ebx + 8], esi
xor edi, edi
mov dword [esp], esi
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
sub esp, 4
mov dword [eax], ebx
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp - 0x1c]
movzx ecx, byte [0x6acd0204]
movzx eax, word [edi + 0x10]
mov byte [ebp - 0x2d], cl
add eax, 0x12
cmp eax, 0x28
ja 0x6acce861
movzx ecx, word [edi]
cmp cx, 3
je 0x6acce708
cmp cx, 0xfffe
jne 0x6acce698
lea ecx, [edi + 0x18]
mov edx, ecx
mov ecx, dword [0x6acd44a0]
cmp dword [edi + 0x18], ecx
je 0x6acce6e0
test byte [ebp - 0x2d], 2
jne 0x6acce82a
mov dword [esp], edi
mov edi, 0x88890008
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6acce649
mov ecx, dword [0x6acd44a4]
cmp dword [edx + 4], ecx
jne 0x6acce698
mov ecx, dword [0x6acd44a8]
cmp dword [edx + 8], ecx
jne 0x6acce698
mov ecx, dword [0x6acd44ac]
cmp dword [edx + 0xc], ecx
jne 0x6acce698
lea esi, [esi]
cmp word [edi + 0xe], 0x20
jne 0x6acce698
test byte [ebp - 0x2d], 4
jne 0x6acce7b0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._memcpy
mov dword [esp], edi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
jmp 0x6acce634
mov edi, eax
test byte [0x6acd0204], 4
jne 0x6acce780
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, edi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Activate_failed:__08lx_n
mov dword [esp + 8], str.SpatialAudioClient_Create
mov dword [esp + 4], 0x6acd0204
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x6acce74b
mov eax, edi
call sym._debugstr_fmtex
mov dword [esp + 0xc], str.The_audio_stack_doesnt_support_48kHz_32bit_float._Using_the_closest_match._Audio_may_be_glitchy.__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.SpatialAudioClient_Create
mov dword [esp + 4], 0x6acd0204
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
mov edi, dword [ebp - 0x1c]
movzx eax, word [edi + 0x10]
add eax, 0x12
jmp 0x6acce719
test byte [0x6acd0204], 4
je 0x6acce74b
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Checking_supported_formats_failed:__08lx_n
mov dword [esp + 8], str.SpatialAudioClient_Create
mov dword [esp + 4], 0x6acd0204
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_3
jmp 0x6acce74b
mov eax, edi
call sym._debugstr_fmtex
mov dword [esp + 0xc], str.Returned_format_not_32_bit_float:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.SpatialAudioClient_Create
mov dword [esp + 4], 0x6acd0204
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_3
mov edi, dword [ebp - 0x1c]
jmp 0x6acce6a2
and ecx, 2
je 0x6acce6a2
mov eax, edi
call sym._debugstr_fmtex
mov dword [esp + 0xc], str.Returned_format_too_large:__s_n
mov dword [esp + 0x10], eax
jmp 0x6acce83d