Function at 0x6fb4fd40
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 [0x6fb5e160], 8
jne 0x6fb50054
mov esi, dword [ebp - 0x28]
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x6fb4fd95
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 0x6fb4fdd1
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 0x6fb4fe0d
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 0x6fb4fe40
mov edx, dword [esi + 0x20]
test edx, edx
je 0x6fb4fe40
xor ebx, ebx
jmp 0x6fb4fe2e
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 0x6fb4fe28
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xbc]
test eax, eax
je 0x6fb4ffab
lea esi, [esi]
mov edi, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x6fb4fe58
mov eax, dword [edi + 8]
test eax, eax
jne 0x6fb4fe58
mov eax, dword fs:[0x18]
mov dword [ebp - 0x24], eax
lea esi, [esi]
mov ebx, dword [edi]
test ebx, ebx
je 0x6fb4fea0
mov eax, dword [ebx + 8]
test eax, eax
je 0x6fb4fea0
cmp eax, edi
je 0x6fb4fea0
lea esi, [esi]
mov ebx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x6fb4fe90
mov eax, dword [ebx + 8]
test eax, eax
jne 0x6fb4fe90
lea eax, [edi - 8]
mov dword [ebp - 0x1c], eax
test byte [0x6fb5e160], 8
jne 0x6fb4ff7e
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x6fb4ff2a
mov eax, dword [edi + 0x28]
test eax, eax
je 0x6fb4ff06
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 0x6fb4fefd
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 0x6fb4fed0
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 0x6fb4ffab
mov edi, ebx
jmp 0x6fb4fe78
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], 0x6fb5e160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6fb4feb3
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], 0x6fb5e160
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x6fb4fd59