Function at 0x6f263740
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov dword [ebp - 0x2c], eax
test byte [0x6f266638], 8
jne 0x6f2638b8
mov eax, ebx
mov esi, 5
call sym._WINMM_GetDeviceFromHWAVE
mov ebx, eax
test eax, eax
je 0x6f2638a2
lea edi, [eax + 0xcc]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edx, dword [ebx + 0x14]
sub esp, 4
test edx, edx
je 0x6f263920
mov eax, dword [ebx + 0x2c]
lea ecx, [ebp - 0x1c]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 8
mov esi, eax
test eax, eax
js 0x6f2638f0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
shl eax, 2
mov dword [ebp - 0x30], edx
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x6f263a11
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax]
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0xc
test eax, eax
js 0x6f2639a8
mov ecx, dword [ebp - 0x2c]
pxor xmm0, xmm0
mov edx, dword [ebp - 0x1c]
movss xmm1, dword [0x6f275778]
movzx eax, cx
cvtsi2ss xmm0, eax
divss xmm0, xmm1
movss dword [esi], xmm0
cmp edx, 1
jbe 0x6f263850
mov eax, ecx
pxor xmm0, xmm0
shr eax, 0x10
cvtsi2ss xmm0, eax
divss xmm0, xmm1
movss dword [esi + 4], xmm0
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax]
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [ecx + 0x18]
sub esp, 0xc
mov ebx, eax
mov dword [esp], edi
test eax, eax
js 0x6f263940
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
mov dword [esp + 8], esi
xor esi, esi
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
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___08lx__n
mov dword [esp + 8], str.waveOutSetVolume
mov dword [esp + 4], 0x6f266638
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x6f263769
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test byte [0x6f266638], 4
jne 0x6f263a00
lea esp, [ebp - 0x10]
mov esi, 1
pop ecx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
mov dword [esp + 8], esi
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
test byte [0x6f266638], 4
je 0x6f263909
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.SetAllVolumes_failed:__08lx_n
mov dword [esp + 8], str.waveOutSetVolume
mov dword [esp + 4], 0x6f266638
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_7
jmp 0x6f263909
mov dword [ebp - 0x2c], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x30]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
test byte [0x6f266638], 4
je 0x6f263909
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.GetAllVolumes_failed:__08lx_n
jmp 0x6f263982
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.GetChannelCount_failed:__08lx_n
jmp 0x6f263982
mov dword [esp], edi
mov esi, 7
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push eax
jmp 0x6f2638a2