Function at 0x6900cfa0
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 0x6900d150
test ebx, ebx
je 0x6900d130
test esi, esi
je 0x6900d130
test edx, edx
je 0x6900d130
mov eax, dword [ebp - 0x1c]
cmp eax, 1
jle 0x6900d130
cmp dword [ebx], 4
jne 0x6900d130
pxor xmm0, xmm0
ucomiss xmm0, dword [edx]
jp 0x6900d130
jne 0x6900d130
movss xmm0, dword [0x6907d020]
mov dword [ebp - 0x2c], edx
lea ecx, [eax*4 - 4]
ucomiss xmm0, dword [edx + eax*4 - 4]
jp 0x6900d130
jne 0x6900d130
lea eax, [ecx + 4]
mov edi, 8
mov dword [esp + 4], edi
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], eax
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x28], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
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 eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
sub esp, 0xc
test edx, edx
je 0x6900d23d
test eax, eax
mov edx, dword [ebp - 0x2c]
je 0x6900d23d
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
cmp eax, 8
mov ecx, eax
jae 0x6900d198
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 0x6900d1d0
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword fs:[0x18]
mov eax, dword [ebx + 0x30]
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 + 0x34]
xor edx, edx
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x28]
sub esp, 0xc
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x38], eax
xor eax, eax
jmp 0x6900d135
mov eax, 2
mov ecx, dword [ebp - 0x10]
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.GdipSetLinePresetBlend
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 0x6900cfd7
test edi, 1
jne 0x6900d22a
test edi, 2
jne 0x6900d1fb
test edi, 4
je 0x6900d0b9
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
jmp 0x6900d0b9
test al, 1
jne 0x6900d21f
test edi, 2
jne 0x6900d20d
test edi, 4
je 0x6900d0ce
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
jmp 0x6900d0ce
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x6900d1ac
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x6900d1dc
movzx eax, byte [edx]
inc edi
inc esi
dec ecx
mov byte [edi - 1], al
jmp 0x6900d1d4
movzx eax, byte [esi]
inc edi
inc esi
mov byte [edi - 1], al
mov eax, dword [ebp - 0x24]
lea ecx, [eax - 1]
jmp 0x6900d1a4
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
mov eax, 3
sub esp, 0xc
jmp 0x6900d135