Function at 0x67c1b090
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [eax + 8]
push esi
push ebx
mov ebx, eax
sub esp, 0x7c
mov dword [ebp - 0x4c], ecx
test byte [0x67c213e0], 8
jne 0x67c1b370
mov eax, dword [0x67c3d3d8]
cmp dword [ebx + 8], eax
je 0x67c1b2f8
call fcn.67c0ead0
lea esi, [ebp - 0x28]
mov dword [esp], edi
lea edi, [ebp - 0x40]
mov dword [esp + 4], esi
call sym.dsound.dll_GetDeviceID
sub esp, 8
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], 0
call fcn.67c0f460
test eax, eax
js 0x67c1b450
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0xc
mov esi, eax
test eax, eax
js 0x67c1b478
mov eax, dword [ebp - 0x3c]
lea edi, [ebp - 0x38]
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x67c29508
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0xc
mov esi, eax
test eax, eax
js 0x67c1b510
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x67c1b59c
cmp word [ecx], 0
je 0x67c1b590
mov eax, ecx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x67c1b160
sub eax, ecx
add eax, 2
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x50]
mov dword [esp + 4], 0
mov esi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x67c1b1bf
mov ecx, dword [ebp - 0x50]
mov dword [esp], eax
mov dword [ebp - 0x50], eax
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x54]
mov dword [esp + 4], ecx
call sub.ucrtbase.dll_memcpy
mov edx, dword [ebp - 0x50]
cmp word [str.winemm.vxd], 0
mov dword [ebx + 0x18], edx
je 0x67c1b580
mov eax, str.winemm.vxd
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x67c1b1d8
sub eax, 0x67c266e6
mov edx, eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x67c1b22e
mov edx, dword [ebp - 0x50]
mov dword [esp + 4], str.winemm.vxd
mov dword [esp], eax
mov dword [esp + 8], edx
mov dword [ebp - 0x50], eax
call sub.ucrtbase.dll_memcpy
mov ecx, dword [ebp - 0x50]
cmp word [str.Interface], 0
mov dword [ebx + 0x1c], ecx
je 0x67c1b570
mov eax, str.Interface
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x67c1b248
sub eax, 0x67c213ca
mov edx, eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x67c1b298
mov edx, dword [ebp - 0x50]
mov dword [esp + 4], str.Interface
mov dword [esp], eax
mov dword [esp + 8], edx
call sub.ucrtbase.dll_memcpy
mov dword [ebx + 0x20], esi
mov dword [ebx], 1
mov dword [esp], edi
call sub.ole32.dll_PropVariantClear
mov eax, dword [ebp - 0x3c]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x40]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x4c]
sub esp, 4
test eax, eax
je 0x67c1b2e5
mov eax, dword [ebp - 0x4c]
mov dword [eax], 0x28
test byte [0x67c213e0], 8
jne 0x67c1b4c0
xor esi, esi
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x67c3d3dc]
cmp dword [edi + 4], eax
jne 0x67c1b0bc
mov eax, dword [0x67c3d3e0]
cmp dword [edi + 8], eax
jne 0x67c1b0bc
mov eax, dword [0x67c3d3e4]
cmp dword [edi + 0xc], eax
jne 0x67c1b0bc
mov edx, dword [ebx + 4]
movzx eax, byte [0x67c213e0]
cmp edx, 1
je 0x67c1b5a9
test edx, edx
jne 0x67c1b631
test al, 8
jne 0x67c1b5d8
mov eax, dword [0x67c36790]
mov dword [ebx + 8], eax
mov eax, dword [0x67c36794]
mov dword [ebx + 0xc], eax
mov eax, dword [0x67c36798]
mov dword [ebx + 0x10], eax
mov eax, dword [0x67c3679c]
mov dword [ebx + 0x14], eax
jmp 0x67c1b0bc
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.pPropData_p_cbPropData_ld_pcbReturned_p__n
mov dword [esp + 8], str.DSPROPERTY_DescriptionW
mov dword [esp + 4], 0x67c213e0
mov dword [esp], 3
call fcn.67c1a330
test byte [0x67c213e0], 8
je 0x67c1b0ae
mov eax, edi
shr eax, 0x10
je 0x67c1b4f8
movzx eax, byte [ebx + 0x17]
mov dword [esp], 0x67c33940
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0x16]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0x15]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0x14]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0x13]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0x12]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 0x11]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 0x10]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 0xe]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 8]
mov dword [esp + 4], eax
call fcn.67c19fd0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.DeviceId_s_n
mov dword [esp + 8], str.DSPROPERTY_DescriptionW
mov dword [esp + 4], 0x67c213e0
mov dword [esp], 3
call fcn.67c1a330
jmp 0x67c1b0ae
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], 1
call fcn.67c0f460
mov esi, eax
test eax, eax
jns 0x67c1b0f2
jmp 0x67c1b2e7
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test byte [0x67c213e0], 4
je 0x67c1b2e7
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.OpenPropertyStore_failed:__08lx_n
mov dword [esp + 8], str.DSPROPERTY_DescriptionW
mov dword [esp + 4], 0x67c213e0
mov dword [esp], 2
call fcn.67c1a330
jmp 0x67c1b2e7
mov dword [esp + 0x10], 0x28
mov dword [esp + 0xc], str.pcbReturned_ld_n
mov dword [esp + 8], str.DSPROPERTY_DescriptionW
mov dword [esp + 4], 0x67c213e0
mov dword [esp], 3
call fcn.67c1a330
jmp 0x67c1b2e5
movzx eax, di
mov dword [esp], 0x67c33930
mov dword [esp + 4], eax
call fcn.67c19fd0
jmp 0x67c1b41b
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x40]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test byte [0x67c213e0], 4
je 0x67c1b2e7
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.GetValue_FriendlyName__failed:__08lx_n
mov dword [esp + 8], str.DSPROPERTY_DescriptionW
mov dword [esp + 4], 0x67c213e0
mov dword [esp], 2
call fcn.67c1a330
jmp 0x67c1b2e7
mov edx, 2
jmp 0x67c1b258
mov edx, 2
jmp 0x67c1b1e8
mov dword [ebp - 0x50], 2
jmp 0x67c1b171
mov esi, dword [sym.imp.kernel32.dll_HeapAlloc]
xor edx, edx
jmp 0x67c1b1bf
test al, 8
jne 0x67c1b608
mov eax, dword [0x67c36780]
mov dword [ebx + 8], eax
mov eax, dword [0x67c36784]
mov dword [ebx + 0xc], eax
mov eax, dword [0x67c36788]
mov dword [ebx + 0x10], eax
mov eax, dword [0x67c3678c]
mov dword [ebx + 0x14], eax
jmp 0x67c1b0bc
mov dword [esp + 0xc], str.DataFlowDIRECTSOUNDDEVICE_DATAFLOW_RENDER_n
mov dword [esp + 8], str.DSPROPERTY_DescriptionW
mov dword [esp + 4], 0x67c213e0
mov dword [esp], 3
call fcn.67c1a330
jmp 0x67c1b345
mov dword [esp + 0xc], str.DataFlowDIRECTSOUNDDEVICE_DATAFLOW_CAPTURE_n
mov dword [esp + 8], str.DSPROPERTY_DescriptionW
mov dword [esp + 4], 0x67c213e0
mov dword [esp], 3
call fcn.67c1a330
jmp 0x67c1b5ad
mov esi, 0x80070490
test al, 4
je 0x67c1b2e7
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.DataFlowUnknown__d__n
mov dword [esp + 8], str.DSPROPERTY_DescriptionW
mov dword [esp + 4], 0x67c213e0
mov dword [esp], 2
call fcn.67c1a330
jmp 0x67c1b2e7