Function at 0x6906d890
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x48
test byte [0x6907a138], 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ecx + 4]
mov dword [ebp - 8], esi
mov esi, dword [ecx]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
jne 0x6906da70
test esi, esi
je 0x6906da50
test ebx, ebx
je 0x6906da50
mov edx, 0x60
mov ecx, 8
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov dword [ebx], eax
sub esp, 0xc
test eax, eax
je 0x6906db23
xor edx, edx
mov ecx, dword [esi + edx]
mov dword [eax + edx], ecx
add edx, 4
cmp edx, 0x60
jb 0x6906d906
mov dword [eax + 0x18], 0
add eax, 0x38
mov dword [eax - 0x1c], 0
mov dword [eax], 0
mov dword [eax - 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [esi + 0x38]
mov dword [esp], eax
call sym.gdiplus.dll_GdipCloneBrush
sub esp, 8
test eax, eax
mov edx, eax
jne 0x6906daa8
mov eax, dword [esi + 0x18]
test eax, eax
je 0x6906d977
mov dword [ebp - 0x1c], edx
mov edx, dword [ebx]
mov dword [esp], eax
lea ecx, [edx + 0x18]
mov dword [esp + 4], ecx
call sym.gdiplus.dll_GdipCloneCustomLineCap
mov edx, dword [ebp - 0x1c]
sub esp, 8
test eax, eax
jne 0x6906db00
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x6906d9a0
mov dword [ebp - 0x1c], edx
mov edx, dword [ebx]
mov dword [esp], eax
lea ecx, [edx + 0x1c]
mov dword [esp + 4], ecx
call sym.gdiplus.dll_GdipCloneCustomLineCap
mov edx, dword [ebp - 0x1c]
sub esp, 8
test eax, eax
jne 0x6906db00
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x6906da09
mov dword [ebp - 0x20], edx
mov eax, dword [ebx]
mov edx, dword [esi + 0x30]
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x1c], eax
lea eax, [edx*4]
mov dword [esp + 8], eax
mov eax, 8
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebx]
mov dword [edi + 0x2c], eax
sub esp, 0xc
mov edi, dword [ecx + 0x2c]
test edi, edi
je 0x6906dac8
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0x20]
mov esi, dword [esi + 0x2c]
lea ecx, [eax*4]
cmp ecx, 8
jae 0x6906dad0
rep movsb byte es:[edi], byte [esi]
test byte [0x6907a138], 8
je 0x6906da55
mov dword [ebp - 0x1c], edx
mov eax, dword [ebx]
mov edx, str.GdipClonePen
mov dword [esp + 8], edx
mov ecx, 0x6907a138
mov dword [esp + 4], ecx
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov eax, 0x690851c3
mov dword [esp + 0xc], eax
call sym._wine_dbg_log.constprop.0_11
mov edx, dword [ebp - 0x1c]
jmp 0x6906da55
mov edx, 2
mov ecx, dword [ebp - 0x10]
mov eax, edx
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 8
mov dword [esp + 0x14], ebx
mov eax, str.GdipClonePen
mov edi, 0x690851e6
mov dword [esp + 8], eax
mov eax, 0x6907a138
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_11
jmp 0x6906d8be
mov ecx, dword [ebx]
mov dword [esp], ecx
mov dword [ebp - 0x1c], edx
call sym.gdiplus.dll_GdipDeletePen
mov edx, dword [ebp - 0x1c]
mov dword [ebx], 0
sub esp, 4
jmp 0x6906da55
mov edx, 3
jmp 0x6906daaa
test edi, 1
jne 0x6906db18
test edi, 2
jne 0x6906db06
test edi, 4
je 0x6906da07
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
jmp 0x6906da07
mov ecx, dword [ebx]
mov edx, eax
jmp 0x6906daaa
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x6906dae0
movzx eax, byte [esi]
inc edi
inc esi
dec ecx
mov byte [edi - 1], al
jmp 0x6906dad8
mov edx, 3
jmp 0x6906da55