Function at 0x6f25c510
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 [0x6f266438], 8
jne 0x6f25c680
mov eax, ebx
call fcn.6f255340
mov ebx, eax
test eax, eax
je 0x6f25c6bd
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 0x6f25c760
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 esi, eax
js 0x6f25c6d0
mov eax, dword [ebp - 0x1c]
mov esi, dword fs:[0x18]
mov dword [ebp - 0x30], esi
mov dword [esp + 4], 0
shl eax, 2
mov dword [esp + 8], eax
mov eax, dword [esi + 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 0x6f25c815
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax]
mov dword [esp + 8], esi
mov ecx, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x1c]
sub esp, 0xc
test eax, eax
js 0x6f25c710
mov ecx, dword [ebp - 0x2c]
pxor xmm0, xmm0
movss xmm1, dword [0x6f26ee58]
mov edx, dword [ebp - 0x1c]
movzx eax, cx
cvtsi2ss xmm0, eax
divss xmm0, xmm1
movss dword [esi], xmm0
cmp edx, 1
jbe 0x6f25c61b
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
test eax, eax
mov ebx, eax
mov dword [esp], edi
js 0x6f25c780
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]
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 + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.__p___08lx__n
mov dword [esp + 8], str.waveOutSetVolume
mov dword [esp + 4], 0x6f266438
mov dword [esp], 3
call fcn.6f255f70
mov eax, ebx
call fcn.6f255340
mov ebx, eax
test eax, eax
jne 0x6f25c54a
mov eax, 5
lea esp, [ebp - 0x10]
pop ecx
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]
sub esp, 4
test byte [0x6f266438], 4
je 0x6f25c750
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.GetChannelCount_failed:__08lx_n
mov dword [esp + 8], str.waveOutSetVolume
mov dword [esp + 4], 0x6f266438
mov dword [esp], 2
call fcn.6f255f70
jmp 0x6f25c750
mov dword [ebp - 0x2c], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
mov dword [esp + 8], esi
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]
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
test byte [0x6f266438], 4
jne 0x6f25c7e8
mov eax, 1
jmp 0x6f25c66d
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, 5
sub esp, 4
jmp 0x6f25c6c2
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 [0x6f266438], 4
je 0x6f25c750
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.SetAllVolumes_failed:__08lx_n
mov dword [esp + 8], str.waveOutSetVolume
mov dword [esp + 4], 0x6f266438
mov dword [esp], 2
call fcn.6f255f70
jmp 0x6f25c750
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.GetAllVolumes_failed:__08lx_n
mov dword [esp + 8], str.waveOutSetVolume
mov dword [esp + 4], 0x6f266438
mov dword [esp], 2
call fcn.6f255f70
jmp 0x6f25c750
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push eax
mov eax, 7
jmp 0x6f25c66d