Function at 0x6decfd20
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 [0x6dede160], 8
jne 0x6ded0034
mov esi, dword [ebp - 0x28]
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x6decfd75
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 0x6decfdb1
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 0x6decfded
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 0x6decfe20
mov edx, dword [esi + 0x20]
test edx, edx
je 0x6decfe20
xor ebx, ebx
jmp 0x6decfe0e
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 0x6decfe08
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xbc]
test eax, eax
je 0x6decff8b
lea esi, [esi]
mov edi, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x6decfe38
mov eax, dword [edi + 8]
test eax, eax
jne 0x6decfe38
mov eax, dword fs:[0x18]
mov dword [ebp - 0x24], eax
lea esi, [esi]
mov ebx, dword [edi]
test ebx, ebx
je 0x6decfe80
mov eax, dword [ebx + 8]
test eax, eax
je 0x6decfe80
cmp eax, edi
je 0x6decfe80
lea esi, [esi]
mov ebx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x6decfe70
mov eax, dword [ebx + 8]
test eax, eax
jne 0x6decfe70
lea eax, [edi - 8]
mov dword [ebp - 0x1c], eax
test byte [0x6dede160], 8
jne 0x6decff5e
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x6decff0a
mov eax, dword [edi + 0x28]
test eax, eax
je 0x6decfee6
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 0x6decfedd
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 0x6decfeb0
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 0x6decff8b
mov edi, ebx
jmp 0x6decfe58
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], 0x6dede160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6decfe93
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], 0x6dede160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6decfd39