Function at 0x6acc8520
Capabilities:
Get process heap flags

Disassembly:
mov eax, dword [0x6acdd0ac]
test eax, eax
je 0x6acc87a0
push ebp
mov ebp, esp
push edi
push esi
lea edx, [ebp - 0x34]
push ebx
sub esp, 0x5c
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x38]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x3c]
mov dword [esp + 8], edx
lea edx, [ebp - 0x40]
mov dword [esp + 4], edx
mov dword [esp], edi
call eax
sub esp, 0x14
test eax, eax
js 0x6acc8709
mov ecx, dword [ebp - 0x38]
xor ebx, ebx
test ecx, ecx
jne 0x6acc861d
jmp 0x6acc86c0
call dword [edx + 8]
mov eax, dword [ebp - 0x2c]
sub esp, 4
movzx edx, word [eax]
cmp dx, 0xfffe
je 0x6acc8718
cmp dx, 3
jne 0x6acc85c4
mov ecx, 1
mov edx, 0x10
mov word [eax], cx
mov eax, dword [ebp - 0x2c]
mov word [eax + 0xe], dx
movzx edx, word [eax + 2]
add edx, edx
mov word [eax + 0xc], dx
movzx edx, dx
imul edx, dword [eax + 4]
mov dword [eax + 8], edx
mov edx, 0x41
mov dword [ebp - 0x1c], eax
mov ecx, 0x6acd92e8
mov word [ebp - 0x28], dx
movzx edx, word [eax + 0x10]
lea eax, [ebp - 0x28]
add edx, 0x12
mov dword [ebp - 0x20], edx
mov edx, dword [esi + 0x24]
mov dword [esp], eax
mov eax, edi
call sym._MMDevice_SetPropValue
lea eax, [ebp - 0x28]
mov edx, dword [esi + 0x24]
mov ecx, 0x6acd92fc
mov dword [esp], eax
mov eax, edi
call sym._MMDevice_SetPropValue
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
inc ebx
cmp dword [ebp - 0x38], ebx
jbe 0x6acc86c0
mov edx, ebx
mov eax, dword [ebp - 0x40]
xor ecx, ecx
shl edx, 4
add edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x34], ebx
sete cl
mov eax, dword [eax + ebx*4]
mov dword [esp], 1
mov dword [esp + 4], ecx
mov ecx, dword [ebp + 8]
call sym._MMDevice_Create
mov dword [ebp - 0x28], 0
mov esi, eax
lea edi, [eax + 0x2c]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [0x6acdd0b0]
sub esp, 0xc
test eax, eax
js 0x6acc8613
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 8
test eax, eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov dword [esp], eax
jns 0x6acc8580
call dword [edx + 8]
inc ebx
sub esp, 4
cmp dword [ebp - 0x38], ebx
ja 0x6acc861d
lea esi, [esi]
nop
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x40]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
xor eax, eax
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [0x6acd44a0]
cmp dword [eax + 0x18], ecx
jne 0x6acc85c4
mov ecx, dword [0x6acd44a4]
cmp dword [eax + 0x1c], ecx
jne 0x6acc85c4
mov ecx, dword [0x6acd44a8]
cmp dword [eax + 0x20], ecx
jne 0x6acc85c4
mov ecx, dword [0x6acd44ac]
cmp dword [eax + 0x24], ecx
jne 0x6acc85c4
movzx edx, word [eax + 2]
mov ecx, 0x10
mov dword [eax + 0x18], 1
mov word [eax + 0xe], cx
add edx, edx
mov dword [eax + 0x1c], 0x100000
mov word [eax + 0xc], dx
movzx edx, dx
imul edx, dword [eax + 4]
mov dword [eax + 0x20], 0xaa000080
mov dword [eax + 0x24], 0x719b3800
mov dword [eax + 8], edx
mov edx, 0x10
mov word [eax + 0x12], dx
jmp 0x6acc85c4
xor eax, eax
ret