Function at 0x6a0cfd80
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [ebp - 0x28], eax
test byte [0x6a0de160], 8
jne 0x6a0d0094
mov esi, dword [ebp - 0x28]
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x6a0cfdd5
call sym._free_signature
mov edx, dword [esi + 0xa0]
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 esi, dword [ebp - 0x28]
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x6a0cfe11
call sym._free_signature
mov edx, dword [esi + 0xa4]
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 esi, dword [ebp - 0x28]
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x6a0cfe4d
call sym._free_signature
mov edx, dword [esi + 0xa8]
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 esi, dword [ebp - 0x28]
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x6a0cfe80
mov edx, dword [esi + 0x20]
test edx, edx
je 0x6a0cfe80
xor ebx, ebx
jmp 0x6a0cfe6e
mov eax, dword [esi + 0xb4]
mov edx, ebx
inc ebx
shl edx, 5
add eax, edx
call sym._free_constant_buffer
cmp dword [esi + 0x20], ebx
ja 0x6a0cfe68
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xbc]
test eax, eax
je 0x6a0cffeb
lea esi, [esi]
mov edi, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x6a0cfe98
mov eax, dword [edi + 8]
test eax, eax
jne 0x6a0cfe98
mov eax, dword fs:[0x18]
mov dword [ebp - 0x24], eax
lea esi, [esi]
mov ebx, dword [edi]
test ebx, ebx
je 0x6a0cfee0
mov eax, dword [ebx + 8]
test eax, eax
je 0x6a0cfee0
cmp eax, edi
je 0x6a0cfee0
lea esi, [esi]
mov ebx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x6a0cfed0
mov eax, dword [ebx + 8]
test eax, eax
jne 0x6a0cfed0
lea eax, [edi - 8]
mov dword [ebp - 0x1c], eax
test byte [0x6a0de160], 8
jne 0x6a0cffbe
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x6a0cff6a
mov eax, dword [edi + 0x28]
test eax, eax
je 0x6a0cff46
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x24]
xor esi, esi
lea esi, [esi]
lea eax, [esi + esi*2]
lea eax, [ecx + eax*4]
test eax, eax
je 0x6a0cff3d
mov eax, dword [eax]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [edi + 0x34]
sub esp, 0xc
inc esi
cmp esi, dword [edi + 0x28]
jb 0x6a0cff10
mov ebx, dword [ebp - 0x20]
mov dword [esp + 8], ecx
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
mov eax, dword [edi + 0x38]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
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_HeapFree]
mov eax, dword [ebp - 0x1c]
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 dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
test ebx, ebx
je 0x6a0cffeb
mov edi, ebx
jmp 0x6a0cfeb8
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.reflection_type__p._n
mov dword [esp + 8], str.d3dcompiler_shader_reflection_type_destroy
mov dword [esp + 4], 0x6a0de160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6a0cfef3
mov esi, dword [ebp - 0x28]
mov ebx, dword fs:[0x18]
mov dword [esi + 0xbc], 0
mov eax, dword [esi + 0xb4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0xb0]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0xac]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0x10]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Cleanup__p_n
mov dword [esp + 8], str.reflection_cleanup
mov dword [esp + 4], 0x6a0de160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6a0cfd99