Function at 0x6b6d3b70
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x58
mov eax, dword [ecx]
mov esi, dword [ecx + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x24], eax
test byte [0x6b6d7138], 8
jne 0x6b6d3cf0
mov edi, dword [ebp - 0x28]
test edi, edi
sete dl
test esi, esi
sete al
or dl, al
jne 0x6b6d3e4a
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x6b6d3e4a
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x6b6d3be3
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x6b6d3e4a
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax + 0x3c]
lea edx, [eax + 0x3c]
cmp edx, ebx
je 0x6b6d3c50
mov eax, dword [ebp - 0x1c]
mov ecx, dword [esi]
mov dword [ebp - 0x20], eax
jmp 0x6b6d3c06
mov ebx, dword [ebx]
cmp edx, ebx
je 0x6b6d3c50
cmp ecx, dword [ebx + 8]
jne 0x6b6d3c00
mov edi, dword [ebx + 0xc]
cmp dword [esi + 4], edi
jne 0x6b6d3c00
mov edi, dword [ebx + 0x10]
cmp dword [esi + 8], edi
jne 0x6b6d3c00
mov eax, dword [ebx + 0x14]
cmp dword [esi + 0xc], eax
jne 0x6b6d3c00
mov edi, dword [ebp - 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [edi], eax
jne 0x6b6d3c00
mov eax, dword [ebx + 0x1c]
cmp dword [edi + 4], eax
jne 0x6b6d3c00
lea esp, [ebp - 0x10]
mov eax, 0x80040506
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
mov dword [esp + 8], 0x28
mov ecx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x6b6d3e7c
mov eax, dword [esi]
mov ecx, dword [ebp - 0x20]
mov dword [edi + 0x20], 0
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x1c], edx
mov edx, dword [ebp - 0x34]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x6b6d3dd8
mov esi, dword [ebp - 0x2c]
mov dword [edi + 4], ebx
mov eax, dword [esi + 0x3c]
mov dword [edi], eax
mov dword [eax + 4], edi
xor eax, eax
mov dword [esi + 0x3c], edi
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x18
mov edx, eax
mov eax, dword [ebp - 0x30]
call sym._wine_dbgstr_wn_1
mov edx, eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x6b6d3e37
mov ebx, dword [eax + 4]
mov edi, dword [eax]
test esi, esi
je 0x6b6d3e40
mov eax, esi
mov dword [ebp - 0x20], edx
shr eax, 0x10
je 0x6b6d3e1c
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [esi + 4]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_9
mov edx, dword [ebp - 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x20], ebx
sub eax, 8
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p___lx__s___x__x___s_n
mov dword [esp + 8], 0x6b6dca2c
mov dword [esp + 4], 0x6b6d7138
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_9
jmp 0x6b6d3bb1
mov esi, dword [ebp - 0x24]
mov dword [esp + 4], 0
mov dword [ebp - 0x1c], edx
add esi, esi
mov dword [esp + 8], esi
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
mov dword [edi + 0x20], eax
je 0x6b6d3e54
mov dword [esp + 8], esi
mov esi, dword [ebp - 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call sym._memcpy
jmp 0x6b6d3cce
movzx eax, si
mov dword [esp], str._guid_0x_04hx_
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_9
mov edx, dword [ebp - 0x20]
jmp 0x6b6d3d87
xor ebx, ebx
xor edi, edi
jmp 0x6b6d3d0c
mov eax, str._null_
jmp 0x6b6d3d87
mov eax, 0x80070057
jmp 0x6b6d3ce1
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, 0x8007000e
sub esp, 0xc
jmp 0x6b6d3ce1
mov eax, 0x8007000e
jmp 0x6b6d3ce1