Function at 0x6c5419d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
mov esi, eax
push ebx
mov edx, dword fs:[0x18]
sub esp, 0x2cc
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2b4], edx
mov dword [eax], 0
mov dword [esp + 8], 0x34
mov dword [esp + 4], 8
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x2b0], eax
call eax
sub esp, 0xc
test eax, eax
je 0x6c541c82
mov dword [eax], 0x6c5484fc
mov ebx, eax
mov ecx, dword [ebp - 0x2ac]
mov dword [eax + 4], 1
mov dword [eax + 8], 0xffffffff
mov eax, dword [esi]
mov dword [ebx + 0x1c], edi
mov edi, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x24], 0
test ecx, ecx
jne 0x6c541c20
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], 0
test eax, eax
jne 0x6c541b28
mov eax, dword [0x6c54ef34]
cmp dword [esi], eax
je 0x6c541b7f
mov eax, 1
lea edi, [ebx + 0x30]
test eax, eax
je 0x6c541bb0
mov edx, esi
lea eax, [ebp - 0x2a0]
lea esi, [ebp - 0x220]
call fcn.6c541420
mov dword [esp + 8], str.DirectShowMediaObjectsCategories_s
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x104
mov dword [esp], esi
call fcn.6c5413d0
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test byte [0x6c546018], 8
jne 0x6c541be9
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
shl edi, 5
mov dword [esp + 8], edi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x2b0]
call eax
mov dword [ebx + 0x2c], eax
sub esp, 0xc
test eax, eax
je 0x6c541c6a
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.ucrtbase.dll_memcpy
mov eax, dword [0x6c54ef34]
cmp dword [esi], eax
jne 0x6c541aa1
mov eax, dword [0x6c54ef38]
cmp dword [esi + 4], eax
jne 0x6c541aa1
mov eax, dword [0x6c54ef3c]
cmp dword [esi + 8], eax
jne 0x6c541aa1
mov eax, dword [0x6c54ef40]
cmp dword [esi + 0xc], eax
jne 0x6c541aa1
xor eax, eax
jmp 0x6c541aa6
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.DirectShowMediaObjects
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test byte [0x6c546018], 8
je 0x6c541b15
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.returning__p_n
mov dword [esp + 8], str.IEnumDMO_Constructor
mov dword [esp + 4], 0x6c546018
mov dword [esp], 3
call fcn.6c541730
jmp 0x6c541b15
mov edx, dword [ebp - 0x2b4]
mov edi, ecx
mov dword [esp + 4], 0
shl edi, 5
mov dword [esp + 8], edi
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x2b0]
call eax
mov dword [ebx + 0x24], eax
sub esp, 0xc
test eax, eax
je 0x6c541c6a
mov edx, dword [ebp + 8]
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.ucrtbase.dll_memcpy
jmp 0x6c541a82
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 8]
mov eax, 0x8007000e
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x8007000e
jmp 0x6c541b1c