Function at 0x10005688
Capabilities:
Get process heap flags

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x48
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov ebx, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [edi + 0x10]
test byte [0x100100a0], 8
jne 0x10005348
cmp ebx, 0xa
jbe 0x10005240
lea eax, [ebx - 0x6001]
cmp eax, 0x51
ja case.0x10005232.24578
jmp dword [eax*4 + 0x10013174]
test ebx, ebx
jne 0x10005270
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], esi
mov dword [edi + 8], ebx
mov eax, dword [ebp - 0x1c]
mov dword [edi], edx
mov dword [edi + 4], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
jmp dword [sym.imp.winmm.dll_DefDriverProc]
sub ebx, 3
cmp ebx, 7
ja case.0x10005278.5
jmp dword [ebx*4 + 0x100132bc]
test byte [0x100100a0], 8
jne 0x10005c20
lea esi, [esi]
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret 0x14
lea esp, [ebp - 0xc]
mov eax, 2
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret 0x14
test byte [0x100100a0], 8
jne 0x10005f30
mov ebx, dword [esi + 0x18]
and ebx, 2
mov dword [ebp - 0x1c], ebx
jne 0x100061f4
mov eax, dword [esi + 4]
movzx edx, word [eax + 0xe]
cmp dx, 0x10
je 0x10005f60
cmp dx, 0x18
je 0x10005b88
cmp dx, 8
je 0x10005a30
test byte [0x100100a0], 1
je case.0x10005232.24596
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Unsupported_source_bit_depth:__u_n
mov dword [esp + 8], str.PCM_StreamOpen
mov dword [esp + 4], 0x100100a0
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_5
lea esp, [ebp - 0xc]
mov eax, 8
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret 0x14
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.__08Ix__p__u__08Ix__08Ix___n
mov dword [esp + 8], str.PCM_DriverProc
mov dword [esp + 4], 0x100100a0
mov dword [esp], 3
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
call sym._wine_dbg_log.constprop.0_5
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
jmp 0x10005222
test byte [0x100100a0], 8
jne 0x10005c58
test ecx, ecx
je case.0x10005278.5
xor eax, eax
cmp dword [ecx + 4], 0x63647561
jne 0x10005295
mov edx, dword [ecx + 8]
test edx, edx
je case.0x10005278.5
jmp 0x10005295
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.Wine_Driver
mov dword [esp + 4], str.MSACM_PCM_filter__
mov dword [esp], 0
call dword [sym.imp.user32.dll_MessageBoxA]
mov eax, 1
sub esp, 0x10
jmp 0x10005295
test byte [0x100100a0], 8
jne 0x10005e68
lea eax, [esi + 0x28]
mov dword [esi + 4], 0x63647561
mov ebx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x260001
mov dword [esi + 0x10], 0x1000000
mov dword [esi + 0x14], 0x1000000
mov dword [esi + 0x18], 2
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esp + 0x14], 0x20
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.MS_PCM
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
lea eax, [esi + 0x68]
sub esp, 0x18
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.Wine_PCM_converter
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
lea eax, [esi + 0x168]
sub esp, 0x18
mov dword [esp + 0x14], 0x50
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.Brought_to_you_by_the_Wine_team...
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
lea eax, [esi + 0x208]
sub esp, 0x18
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.Refer_to_LICENSE_file
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
xor eax, eax
mov word [esi + 0x308], ax
sub esp, 0x18
xor eax, eax
jmp 0x10005295
test byte [0x100100a0], 8
jne 0x10005be0
test ecx, ecx
je 0x100059b0
cmp ecx, 1
je 0x100058d0
test byte [0x100100a0], 4
je case.0x10005232.24596
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.Unsupported_query__08lx_n
mov dword [esp + 8], str.PCM_FormatDetails
mov dword [esp + 4], 0x100100a0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_5
mov eax, 8
jmp 0x10005295
test byte [0x100100a0], 8
jne 0x10005e98
cmp dword [esi + 0xc], 0xf
jbe 0x10005f80
cmp dword [esi + 0x14], 0xf
jbe 0x10005f80
mov eax, dword [esi + 8]
call sym._PCM_GetFormatIndex
cmp eax, 0xffffffff
je 0x10005f80
mov eax, dword [esi + 4]
test eax, 0x20000
jne 0x100055ed
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
movzx edx, word [edx + 2]
mov word [eax + 2], dx
mov eax, dword [esi + 4]
test eax, 0x40000
jne 0x10005603
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
mov edx, dword [edx + 4]
mov dword [eax + 4], edx
mov eax, dword [esi + 4]
test eax, 0x80000
jne 0x1000561b
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
movzx edx, word [edx + 0xe]
mov word [eax + 0xe], dx
mov eax, dword [esi + 4]
test eax, 0x10000
jne 0x10005fd0
mov eax, dword [esi + 8]
movzx eax, word [eax]
cmp ax, 1
jne 0x100060f2
mov eax, dword [esi + 0x10]
mov edx, 1
mov word [eax], dx
mov eax, dword [esi + 0x10]
call sym._PCM_GetFormatIndex
cmp eax, 0xffffffff
je 0x10005f80
mov ecx, dword [esi + 0x10]
movzx eax, word [ecx + 2]
movzx edx, word [ecx + 0xe]
imul edx, eax
test edx, edx
lea eax, [edx + 7]
cmovns eax, edx
sar eax, 3
mov word [ecx + 0xc], ax
mov eax, dword [esi + 0x10]
movzx edx, word [eax + 0xc]
imul edx, dword [eax + 4]
mov dword [eax + 8], edx
xor eax, eax
jmp 0x10005295
test byte [0x100100a0], 8
jne 0x10005f00
mov edx, dword [esi + 0x20]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
jmp 0x10005295
mov eax, dword [esi + 4]
movzx edi, word [eax + 0xc]
mov eax, dword [esi + 8]
movzx ebx, word [eax + 0xc]
neg edi
neg ebx
test byte [0x100100a0], 8
jne 0x10005ec8
mov eax, dword [ecx + 4]
test eax, eax
je 0x10005a78
cmp eax, 1
je 0x10005908
test byte [0x100100a0], 4
je case.0x10005232.24596
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported_query__08lx_n
mov dword [esp + 8], str.PCM_StreamSize
mov dword [esp + 4], 0x100100a0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_5
mov eax, 8
jmp 0x10005295
mov eax, dword [esi + 4]
xor edx, edx
mov ebx, dword [esi + 0x20]
movzx edi, word [eax + 0xc]
mov eax, dword [ecx + 0x10]
div edi
xor edx, edx
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 8]
movzx edi, word [eax + 0xc]
mov eax, dword [ecx + 0x20]
div edi
mov dword [ebp - 0x14], eax
test byte [0x100100a0], 8
jne 0x10005cd0
mov eax, dword [ecx + 0x2c]
test eax, 0xffffffcb
je 0x100057b8
test byte [0x100100a0], 1
je 0x100057b8
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported_fdwConvert___08lx___ignoring_it_n
mov dword [esp + 8], str.PCM_StreamConvert
mov dword [esp + 4], 0x100100a0
mov dword [esp], 0
mov dword [ebp - 0x1c], ecx
call sym._wine_dbg_log.constprop.0_5
mov ecx, dword [ebp - 0x1c]
lea esi, cs:[esi]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0xc]
test byte [esi + 0x1c], 1
jne 0x10005890
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x14]
cmp dword [ebp - 0x1c], edi
jae 0x10005fc0
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [ebx]
mov ecx, dword [ebp - 0x20]
mov eax, dword [esi + 4]
movzx eax, word [eax + 0xc]
imul eax, dword [ebp - 0x18]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 8]
movzx eax, word [eax + 0xc]
imul eax, dword [ebp - 0x14]
mov dword [ecx + 0x24], eax
xor eax, eax
jmp 0x10005295
test byte [0x100100a0], 8
jne 0x10005c90
cmp ecx, 1
je 0x10005f70
cmp ecx, 2
je 0x10005b60
test ecx, ecx
je 0x10005b20
test byte [0x100100a0], 4
je case.0x10005232.24596
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.Unsupported_query__08lx_n
mov dword [esp + 8], str.PCM_FormatTagDetails
mov dword [esp + 4], 0x100100a0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_5
mov eax, 8
jmp 0x10005295
lea edi, [ebp - 0x14]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
mov edx, dword [esi + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [edx + 4]
mov dword [esp + 4], eax
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x18]
mov dword [esp + 8], edx
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov dword [esp], eax
call dword [ebx]
mov ecx, dword [ebp - 0x1c]
jmp 0x100057f6
mov eax, dword [esi + 0x10]
call sym._PCM_GetFormatIndex
cmp eax, 0xffffffff
je 0x10006170
xor ecx, ecx
mov dword [esi + 8], 1
xor eax, eax
mov dword [esi + 0xc], 2
mov word [esi + 0x18], cx
mov dword [esi + 0x14], 0x10
jmp 0x10005295
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
and ebx, dword [ecx + 0xc]
mov eax, dword [eax + 8]
mov edx, dword [edx + 8]
test eax, eax
je 0x10006211
add eax, 0x80000000
pxor xmm1, xmm1
add ebx, 0x80000000
movsd xmm3, qword [0x100132e0]
cvtsi2sd xmm1, eax
pxor xmm0, xmm0
lea eax, [edx - 0x80000000]
movapd xmm6, xmmword [0x100132f0]
pxor xmm2, xmm2
cvtsi2sd xmm0, ebx
pxor xmm4, xmm4
cvtsi2sd xmm2, eax
movapd xmm7, xmm6
addsd xmm1, xmm3
addsd xmm0, xmm3
addsd xmm2, xmm3
mulsd xmm0, xmm2
addsd xmm0, xmm1
subsd xmm0, qword [0x100132e8]
divsd xmm0, xmm1
movsd xmm4, xmm0
cmplepd xmm6, xmm4
andpd xmm7, xmm6
pslld xmm6, 0x1f
subpd xmm4, xmm7
cvttpd2dq xmm4, xmm4
pxor xmm4, xmm6
movd eax, xmm4
and edi, eax
xor eax, eax
mov dword [ecx + 8], edi
jmp 0x10005295
cmp dword [esi + 4], 0x23
ja 0x1000622e
mov eax, dword [esi + 0x10]
mov ebx, 1
mov word [eax], bx
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x10013760]
mov word [edx + 2], ax
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x10013768]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x10013764]
mov word [edx + 0xe], ax
mov ecx, dword [esi + 0x10]
movzx eax, word [ecx + 2]
movzx edx, word [ecx + 0xe]
imul edx, eax
test edx, edx
lea eax, [edx + 7]
cmovns eax, edx
sar eax, 3
mov word [ecx + 0xc], ax
mov eax, dword [esi + 0x10]
movzx edx, word [eax + 0xc]
imul edx, dword [eax + 4]
mov dword [eax + 8], edx
jmp 0x100058e1
xor edi, edi
mov ecx, dword [esi + 8]
movzx edx, word [ecx + 0xe]
cmp dx, 0x10
je 0x100060db
cmp dx, 0x18
je 0x100060a8
cmp dx, 8
je 0x10006020
test byte [0x100100a0], 1
je case.0x10005232.24596
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.Unsupported_destination_bit_depth:__u_n
jmp 0x10005316
mov eax, dword [esi + 4]
mov edx, dword [esi + 8]
and edi, dword [ecx + 8]
mov eax, dword [eax + 8]
mov edx, dword [edx + 8]
test eax, eax
je 0x10006211
add edi, 0x80000000
pxor xmm0, xmm0
add edx, 0x80000000
movsd xmm3, qword [0x100132e0]
pxor xmm2, xmm2
cvtsi2sd xmm0, edi
add eax, 0x80000000
movapd xmm6, xmmword [0x100132f0]
cvtsi2sd xmm2, edx
pxor xmm1, xmm1
pxor xmm5, xmm5
cvtsi2sd xmm1, eax
movapd xmm7, xmm6
addsd xmm0, xmm3
addsd xmm2, xmm3
addsd xmm1, xmm3
mulsd xmm0, xmm2
addsd xmm0, xmm1
subsd xmm0, qword [0x100132e8]
divsd xmm0, xmm1
movsd xmm5, xmm0
cmplepd xmm6, xmm5
andpd xmm7, xmm6
pslld xmm6, 0x1f
subpd xmm5, xmm7
cvttpd2dq xmm5, xmm5
pxor xmm5, xmm6
movd eax, xmm5
and ebx, eax
xor eax, eax
mov dword [ecx + 0xc], ebx
jmp 0x10005295
mov eax, dword [esi + 4]
test eax, eax
jne 0x10005b66
xor edi, edi
mov dword [esi + 4], 0
xor eax, eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], 0x10
mov dword [esi + 0x10], 2
mov dword [esi + 0x14], 0x24
mov word [esi + 0x18], di
jmp 0x10005295
cmp dword [esi + 8], 1
jbe 0x10005b27
test byte [0x100100a0], 4
jne 0x10006110
lea esi, cs:[esi]
mov eax, 0x200
jmp 0x10005295
movzx edx, word [eax + 2]
movzx ecx, word [eax + 0xc]
mov edi, 0x18
lea edx, [edx + edx*2]
cmp ecx, edx
je 0x10005a32
test byte [0x100100a0], 1
je case.0x10005232.24596
mov dword [esp + 0xc], str.Source:_24_bit_samples_must_be_packed_n
mov dword [esp + 8], str.PCM_StreamOpen
mov dword [esp + 4], 0x100100a0
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_5
jmp case.0x10005232.24596
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p___08lx__n
mov dword [esp + 8], str.PCM_FormatDetails
mov dword [esp + 4], 0x100100a0
mov dword [esp], 3
mov dword [ebp - 0x1c], ecx
call sym._wine_dbg_log.constprop.0_5
mov ecx, dword [ebp - 0x1c]
jmp 0x1000554d
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.__ld__n
mov dword [esp + 8], str.PCM_drvClose
mov dword [esp + 4], 0x100100a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
mov eax, 1
jmp 0x10005295
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p___p__n
mov dword [esp + 8], str.PCM_drvOpen
mov dword [esp + 4], 0x100100a0
mov dword [esp], 3
mov dword [ebp - 0x1c], ecx
call sym._wine_dbg_log.constprop.0_5
mov ecx, dword [ebp - 0x1c]
jmp 0x100053a5
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p___08lx__n
mov dword [esp + 8], str.PCM_FormatTagDetails
mov dword [esp + 4], 0x100100a0
mov dword [esp], 3
mov dword [ebp - 0x1c], ecx
call sym._wine_dbg_log.constprop.0_5
mov ecx, dword [ebp - 0x1c]
jmp 0x1000582d
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p___p__n
mov dword [esp + 8], str.PCM_StreamConvert
mov dword [esp + 4], 0x100100a0
mov dword [esp], 3
mov dword [ebp - 0x1c], ecx
call sym._wine_dbg_log.constprop.0_5
test byte [0x100100a0], 8
mov ecx, dword [ebp - 0x1c]
je 0x10005772
mov eax, dword [ecx + 0x10]
mov dword [esp + 0xc], str.nsrc_ld_adsh__cbSrcLength_ld_n
mov dword [esp + 8], str.PCM_StreamConvert
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], 0x100100a0
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
test byte [0x100100a0], 8
mov ecx, dword [ebp - 0x1c]
je 0x10005772
mov eax, dword [ecx + 0x20]
mov dword [esp + 0xc], str.ndst_ld_adsh__cbDstLength_ld_n
mov dword [esp + 8], str.PCM_StreamConvert
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], 0x100100a0
mov dword [esp + 0x10], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
test byte [0x100100a0], 8
mov ecx, dword [ebp - 0x1c]
je 0x10005772
mov eax, dword [esi + 4]
movzx edx, word [eax + 0x10]
mov dword [esp + 0x28], edx
movzx edx, word [eax + 0xe]
mov dword [esp + 0x24], edx
movzx edx, word [eax + 0xc]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
movzx edx, word [eax + 2]
mov dword [esp + 0x14], edx
movzx eax, word [eax]
mov dword [esp + 0xc], 0x1001304c
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.PCM_StreamConvert
mov dword [esp + 4], 0x100100a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
test byte [0x100100a0], 8
mov ecx, dword [ebp - 0x1c]
je 0x10005772
mov eax, dword [esi + 8]
movzx edx, word [eax + 0x10]
mov dword [esp + 0x28], edx
movzx edx, word [eax + 0xe]
mov dword [esp + 0x24], edx
movzx edx, word [eax + 0xc]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
movzx edx, word [eax + 2]
mov dword [esp + 0x14], edx
movzx eax, word [eax]
mov dword [esp + 0xc], 0x100130c8
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.PCM_StreamConvert
mov dword [esp + 4], 0x100100a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
mov ecx, dword [ebp - 0x1c]
jmp 0x10005772
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x10012d8e
mov dword [esp + 8], str.PCM_DriverDetails
mov dword [esp + 4], 0x100100a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x10005415
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x10012d8e
mov dword [esp + 8], str.PCM_FormatSuggest
mov dword [esp + 4], 0x100100a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x100055ad
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p___p__n
mov dword [esp + 8], str.PCM_StreamSize
mov dword [esp + 4], 0x100100a0
mov dword [esp], 3
mov dword [ebp - 0x1c], ecx
call sym._wine_dbg_log.constprop.0_5
mov ecx, dword [ebp - 0x1c]
jmp 0x100056e7
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x10012d8e
mov dword [esp + 8], str.PCM_StreamClose
mov dword [esp + 4], 0x100100a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x10005695
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x10012d8e
mov dword [esp + 8], str.PCM_StreamOpen
mov dword [esp + 4], 0x100100a0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x100052cd
mov edi, 0xc
jmp 0x10005a32
cmp dword [esi + 8], 1
je 0x10005b27
jmp 0x10005b66
test byte [0x100100a0], 4
je 0x10005b78
mov dword [esp + 0xc], str.not_possible_n
mov dword [esp + 8], str.PCM_FormatSuggest
mov dword [esp + 4], 0x100100a0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_5
mov eax, 0x200
jmp 0x10005295
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
jmp 0x100057e0
mov eax, dword [esi + 0x10]
movzx edx, word [eax]
cmp dx, 1
je 0x10005644
test byte [0x100100a0], 4
je 0x10005b78
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.destination_format_0x_x_not_supported_n
mov dword [esp + 8], str.PCM_FormatSuggest
mov dword [esp + 4], 0x100100a0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_5
jmp 0x10005b78
movzx edx, word [ecx + 2]
cmp word [eax + 2], 1
jne 0x1000602e
add edi, 2
xor eax, eax
cmp dx, 1
mov dword [esp + 8], 4
sete al
mov dword [esp + 4], 0
add edi, eax
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_HeapAlloc]
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x100061ea
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov ebx, dword [ecx + 4]
cmp dword [eax + 4], ebx
je 0x100060e7
mov edi, dword [edi*4 + 0x10013620]
mov dword [ebp - 0x1c], 1
mov dword [edx], edi
test edi, edi
je 0x10006139
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x20], edx
mov dword [esi + 0x1c], eax
xor eax, eax
jmp 0x10005295
movzx edx, word [ecx + 2]
movzx ebx, word [ecx + 0xc]
add edi, 8
movzx ecx, dx
lea ecx, [ecx + ecx*2]
cmp ebx, ecx
je 0x10006024
test byte [0x100100a0], 1
je case.0x10005232.24596
mov dword [esp + 0xc], str.Destination:_24_bit_samples_must_be_packed_n
jmp 0x10005bb5
movzx edx, word [ecx + 2]
add edi, 4
jmp 0x10006024
mov edi, dword [edi*4 + 0x100136c0]
mov dword [edx], edi
jmp 0x10006089
test byte [0x100100a0], 4
je 0x10005b78
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.source_format_0x_x_not_supported_n
jmp 0x10005ff9
mov dword [esp + 0xc], str.not_possible_n
mov dword [esp + 8], str.PCM_FormatTagDetails
mov dword [esp + 4], 0x100100a0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_5
jmp 0x10005b78
test byte [0x100100a0], 1
jne 0x100061ab
mov dword [esp + 8], edx
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, 8
sub esp, 0xc
jmp 0x10005295
test byte [0x100100a0], 4
je 0x10005b78
mov dword [esp + 0xc], str.not_possible_n
mov dword [esp + 8], str.PCM_FormatDetails
mov dword [esp + 4], 0x100100a0
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_5
mov eax, 0x200
jmp 0x10005295
movzx ecx, word [ecx + 0xe]
mov dword [ebp - 0x1c], edx
mov dword [esp + 0x14], ecx
movzx eax, word [eax + 0xe]
mov dword [esp + 0xc], str.Unimplemented_conversion_from__u_____u_bps_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.PCM_StreamOpen
mov dword [esp + 4], 0x100100a0
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_5
mov edx, dword [ebp - 0x1c]
jmp 0x10006142
mov eax, 7
jmp 0x10005295
mov dword [esp + 8], 0x47a
mov dword [esp + 4], str..._src_wine_dlls_msacm32_pcmconverter.c
mov dword [esp], str.__adsi__fdwOpen__ACM_STREAMOPENF_ASYNC_
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x4d1
mov dword [esp + 4], str..._src_wine_dlls_msacm32_pcmconverter.c
mov dword [esp], 0x10013008
call dword [sym.imp.ucrtbase.dll__assert]
mov dword [esp + 8], 0x421
mov dword [esp + 4], str..._src_wine_dlls_msacm32_pcmconverter.c
mov dword [esp], str.afd__dwFormatIndex___ARRAY_SIZE_PCM_Formats_
call dword [sym.imp.ucrtbase.dll__assert]
nop
nop
nop
nop
nop