Function at 0x6f259940
Capabilities:
Get process heap flags

Disassembly:
push ebp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x6c
test byte [0x6f266438], 8
jne 0x6f259b38
mov ebp, dword [sym.imp.kernel32.dll_EnterCriticalSection]
lea edi, [ebx + 0xcc]
mov dword [esp], edi
call ebp
mov ecx, dword [ebx + 0x14]
sub esp, 4
test ecx, ecx
je 0x6f25997a
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x6f259990
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0xa0]
mov dword [esp + 0x40], 0
movq xmm0, qword [ebx]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x58], 0
movq qword [esp + 0x4c], xmm0
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 8]
shl eax, 0x10
or eax, 9
mov dword [esp + 0x54], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x24], eax
test esi, esi
jne 0x6f259b70
call fcn.6f259120
test eax, eax
jne 0x6f259b7d
mov eax, dword [ebx + 0x1c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x2c]
sub esp, 4
test eax, eax
js 0x6f259bc0
mov eax, dword [ebx + 0x28]
lea ecx, [esp + 0x30]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 8
test eax, eax
js 0x6f259c40
mov eax, dword [ebx + 0x28]
lea ecx, [esp + 0x38]
mov edx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0xc
test eax, eax
js 0x6f259c00
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_MulDiv]
sub eax, dword [ebx + 0xc0]
mov edx, dword [ebx + 0x10]
sub esp, 0xc
mov dword [ebx + 0xb8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x40], edx
shl eax, 0x10
or eax, 8
mov dword [esp + 0x54], eax
mov eax, edx
test esi, esi
je 0x6f259c80
call fcn.6f259860
mov eax, dword [0x6f27af24]
mov dword [esp], 0x6f266420
mov dword [esp + 0x2c], eax
call ebp
mov ebp, dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp], 0x6f266420
mov dword [esp + 0x2c], eax
call ebp
sub esp, 4
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0xe4], eax
mov eax, dword [esp + 0x24]
call fcn.6f259430
test eax, eax
jne 0x6f259cdc
mov edx, dword [esp + 0x48]
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]
sub esp, 0xc
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x6f259b23
test esi, esi
jne 0x6f259cd0
mov eax, ebx
call fcn.6f256eb0
mov dword [esp], edi
call ebp
sub esp, 4
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc], str.rerouting_device__p_n
mov dword [esp + 8], str.reroute_mapper_device
mov dword [esp + 4], 0x6f266438
mov dword [esp], 3
mov dword [esp + 0x10], eax
call fcn.6f255f70
jmp 0x6f259958
call fcn.6f259430
test eax, eax
je 0x6f2599ed
test byte [0x6f266438], 8
je 0x6f25997a
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xc], str.New_default_device_doesnt_support_this_stream:__p_n
mov dword [esp + 8], str.reroute_mapper_device
mov dword [esp + 4], 0x6f266438
mov dword [esp], 3
mov dword [esp + 0x10], eax
call fcn.6f255f70
jmp 0x6f25997a
test byte [0x6f266438], 4
je 0x6f259a03
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Stop_failed:__08lx_n
mov dword [esp + 8], str.reroute_mapper_device
mov dword [esp + 4], 0x6f266438
mov dword [esp], 2
call fcn.6f255f70
jmp 0x6f259a03
test byte [0x6f266438], 4
je 0x6f25997a
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.GetPosition_failed:__08lx_n
mov dword [esp + 8], str.reroute_mapper_device
mov dword [esp + 4], 0x6f266438
mov dword [esp], 2
call fcn.6f255f70
jmp 0x6f25997a
test byte [0x6f266438], 4
je 0x6f25997a
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.GetFrequency_failed:__08lx_n
mov dword [esp + 8], str.reroute_mapper_device
mov dword [esp + 4], 0x6f266438
mov dword [esp], 2
call fcn.6f255f70
jmp 0x6f25997a
call fcn.6f259370
mov eax, dword [0x6f27ab04]
mov dword [esp], 0x6f266420
mov dword [esp + 0x2c], eax
call ebp
mov ebp, dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp], 0x6f266420
mov dword [esp + 0x2c], eax
call ebp
sub esp, 4
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0xe4], eax
mov eax, dword [esp + 0x24]
call fcn.6f259120
jmp 0x6f259adc
mov eax, ebx
call fcn.6f2581f0
jmp 0x6f259b1c
test byte [0x6f266438], 2
je 0x6f259b23
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Opening_new_default_device_failed___u_n
mov dword [esp + 8], str.reroute_mapper_device
mov dword [esp + 4], 0x6f266438
mov dword [esp], 1
call fcn.6f255f70
jmp 0x6f259b23