Function at 0x6554fd20
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 [0x6555e160], 8
jne 0x65550034
mov esi, dword [ebp - 0x28]
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x6554fd75
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 0x6554fdb1
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 0x6554fded
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 0x6554fe20
mov edx, dword [esi + 0x20]
test edx, edx
je 0x6554fe20
xor ebx, ebx
jmp 0x6554fe0e
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 0x6554fe08
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xbc]
test eax, eax
je 0x6554ff8b
lea esi, [esi]
mov edi, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x6554fe38
mov eax, dword [edi + 8]
test eax, eax
jne 0x6554fe38
mov eax, dword fs:[0x18]
mov dword [ebp - 0x24], eax
lea esi, [esi]
mov ebx, dword [edi]
test ebx, ebx
je 0x6554fe80
mov eax, dword [ebx + 8]
test eax, eax
je 0x6554fe80
cmp eax, edi
je 0x6554fe80
lea esi, [esi]
mov ebx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x6554fe70
mov eax, dword [ebx + 8]
test eax, eax
jne 0x6554fe70
lea eax, [edi - 8]
mov dword [ebp - 0x1c], eax
test byte [0x6555e160], 8
jne 0x6554ff5e
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x6554ff0a
mov eax, dword [edi + 0x28]
test eax, eax
je 0x6554fee6
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 0x6554fedd
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 0x6554feb0
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 0x6554ff8b
mov edi, ebx
jmp 0x6554fe58
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], 0x6555e160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6554fe93
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], 0x6555e160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6554fd39