Function at 0x6900b4f0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ecx + 0xc]
test byte [0x6907a018], 8
mov dword [ebp - 0xc], ebx
mov edx, dword [ecx + 8]
mov dword [ebp - 8], esi
mov ebx, dword [ecx]
mov dword [ebp - 0x10], ecx
mov esi, dword [ecx + 4]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], eax
jne 0x6900b6a8
test ebx, ebx
je 0x6900b688
test esi, esi
je 0x6900b688
test edx, edx
je 0x6900b688
mov eax, dword [ebp - 0x1c]
cmp eax, 1
jle 0x6900b688
mov edi, dword [ebx]
cmp edi, 3
jne 0x6900b688
pxor xmm0, xmm0
ucomiss xmm0, dword [edx]
jp 0x6900b688
jne 0x6900b688
movss xmm0, dword [0x6907d020]
mov dword [ebp - 0x2c], edx
lea ecx, [eax*4 - 4]
ucomiss xmm0, dword [edx + eax*4 - 4]
jp 0x6900b688
jne 0x6900b688
lea eax, [ecx + 4]
mov dword [esp + 8], eax
mov dword [ebp - 0x24], eax
mov eax, 8
mov dword [esp + 4], eax
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x30], ecx
mov eax, dword [ecx + 0x30]
mov ecx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x28], ecx
mov dword [esp], eax
call ecx
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
sub esp, 0xc
mov eax, 8
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x30]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub esp, 0xc
test edx, edx
je 0x6900b797
test eax, eax
mov edx, dword [ebp - 0x2c]
je 0x6900b797
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
cmp eax, 8
mov ecx, eax
jae 0x6900b6f0
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
cmp ecx, 8
mov edi, eax
jae 0x6900b728
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword fs:[0x18]
mov eax, dword [ebx + 0x38]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebx + 0x3c]
xor edx, edx
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [edi + 0x30]
xor edi, edi
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x28]
sub esp, 0xc
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x40], eax
jmp 0x6900b68d
mov edi, 2
mov ecx, dword [ebp - 0x10]
mov eax, edi
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x1c], eax
mov ecx, str.__p__p__p__i__n
mov eax, 0x6907a018
mov dword [esp + 0x18], edx
mov edi, str.GdipSetPathGradientPresetBlend
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], 3
mov dword [ebp - 0x20], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x20]
jmp 0x6900b527
test edi, 1
jne 0x6900b784
test edi, 2
jne 0x6900b753
test edi, 4
je 0x6900b611
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
jmp 0x6900b611
test al, 1
jne 0x6900b777
test edi, 2
jne 0x6900b765
test edi, 4
je 0x6900b626
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
jmp 0x6900b626
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x6900b704
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x6900b734
movzx eax, byte [esi]
lea edi, [edi + 1]
inc esi
dec ecx
mov byte [edi - 1], al
jmp 0x6900b72c
movzx eax, byte [esi]
inc edi
inc esi
mov byte [edi - 1], al
mov eax, dword [ebp - 0x24]
lea ecx, [eax - 1]
jmp 0x6900b6fc
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x20]
mov esi, dword fs:[0x18]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x28]
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 ebx
sub esp, 0xc
jmp 0x6900b68d