Function at 0x6f25c270
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 ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x6f266438], 8
jne 0x6f25c3c0
test esi, esi
je 0x6f25c3f4
mov eax, ebx
call fcn.6f255340
mov ebx, eax
test eax, eax
je 0x6f25c41f
lea eax, [eax + 0xcc]
mov dword [ebp - 0x2c], eax
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edx, dword [ebx + 0x14]
sub esp, 4
test edx, edx
je 0x6f25c410
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
test eax, eax
mov edi, eax
js 0x6f25c438
mov eax, dword [ebp - 0x1c]
mov edx, dword fs:[0x18]
mov dword [ebp - 0x30], edx
mov dword [esp + 4], 0
shl eax, 2
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 edi, eax
test eax, eax
je 0x6f25c4ed
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax]
mov dword [esp + 8], edi
mov ebx, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ebx
call dword [ecx + 0x1c]
mov ebx, eax
mov eax, dword [ebp - 0x2c]
sub esp, 0xc
test ebx, ebx
mov dword [esp], eax
js 0x6f25c460
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
movss xmm1, dword [edi]
movss xmm0, dword [0x6f26ee58]
sub esp, 4
cmp dword [ebp - 0x1c], 1
mulss xmm1, xmm0
cvttss2si eax, xmm1
movzx eax, ax
mov dword [esi], eax
jbe 0x6f25c387
mulss xmm0, dword [edi + 4]
cvttss2si ecx, xmm0
shl ecx, 0x10
or eax, ecx
mov dword [esi], eax
mov dword [esp + 8], edi
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]
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x6f26c690
mov dword [esp + 8], str.waveOutGetVolume
mov dword [esp + 4], 0x6f266438
mov dword [esp], 3
call fcn.6f255f70
test esi, esi
jne 0x6f25c29e
lea esp, [ebp - 0x10]
mov eax, 0xb
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, 5
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test byte [0x6f266438], 4
jne 0x6f25c4c0
mov eax, 1
jmp 0x6f25c3ad
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x30]
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 [0x6f266438], 4
je 0x6f25c450
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.GetAllVolumes_failed:__08lx_n
mov dword [esp + 8], str.waveOutGetVolume
mov dword [esp + 4], 0x6f266438
mov dword [esp], 2
call fcn.6f255f70
jmp 0x6f25c450
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.GetChannelCount_failed:__08lx_n
mov dword [esp + 8], str.waveOutGetVolume
mov dword [esp + 4], 0x6f266438
mov dword [esp], 2
call fcn.6f255f70
jmp 0x6f25c450
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push eax
mov eax, 7
jmp 0x6f25c3ad