Function at 0x69032920
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, 0x78
mov eax, dword [ecx]
test byte [0x6907a0d8], 8
mov ebx, dword [ecx + 8]
movss xmm0, dword [ecx + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], eax
jne 0x69032c68
movss dword [ebp - 0x2c], xmm0
mov eax, dword [ebp - 0x38]
test eax, eax
mov eax, dword [ebp - 0x34]
sete dl
test eax, eax
sete al
or dl, al
jne 0x69032c50
cmp ebx, 1
jle 0x69032c50
lea eax, [ebx + ebx*2 + 3]
mov ecx, 8
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x4c], eax
lea esi, [ebx + 1]
sub eax, 2
mov dword [ebp - 0x48], eax
shl eax, 3
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov edx, dword fs:[0x18]
mov dword [ebp - 0x30], edx
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
lea edx, [esi*8]
mov esi, 8
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], eax
sub esp, 0xc
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x30]
mov dword [esp + 4], esi
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
sub esp, 0xc
test edi, edi
je 0x69032cec
movss xmm0, dword [ebp - 0x2c]
test eax, eax
je 0x69032cec
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x34]
sub eax, 8
cmp eax, 8
mov ecx, eax
mov edi, edx
jae 0x69032c18
rep movsb byte es:[edi], byte [esi]
cvtss2sd xmm0, xmm0
pxor xmm4, xmm4
mulsd xmm0, qword [str.333333]
cvtsd2ss xmm4, xmm0
movss dword [ebp - 0x2c], xmm4
mov edx, dword [ebp - 0x3c]
mov esi, dword [edx]
mov edi, dword [edx + 4]
mov dword [edx + eax], esi
mov dword [edx + eax + 4], edi
lea eax, [ebx - 1]
mov edi, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
xor ebx, ebx
lea esi, [eax + 0x10]
lea esi, [esi]
lea esi, [esi]
nop
movss xmm3, dword [ebp - 0x2c]
inc ebx
mov dword [esp], edi
lea eax, [ebp - 0x1c]
add edi, 8
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x24]
add esi, 0x18
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x20]
movss dword [esp + 4], xmm3
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x28]
mov dword [esp + 8], eax
call sym._calc_curve_bezier
movss xmm0, dword [ebp - 0x28]
movss dword [esi - 0x18], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esi - 0x14], xmm0
movss xmm0, dword [edi]
movss dword [esi - 0x10], xmm0
movss xmm0, dword [edi + 4]
movss dword [esi - 0xc], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [esi - 8], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [esi - 4], xmm0
cmp ebx, dword [ebp - 0x30]
jl 0x69032a60
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x3c]
movss xmm5, dword [ebp - 0x2c]
mov edx, dword [ecx + eax - 0xc]
mov eax, dword [ecx + eax - 0x10]
mov dword [ebx + 4], edx
mov edx, dword [ecx + 4]
mov dword [ebx], eax
mov eax, dword [ecx]
mov dword [ebx + 0xc], edx
mov edx, dword [ecx + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [ecx + 8]
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x24]
movss dword [esp + 4], xmm5
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x28]
mov dword [esp + 8], eax
mov dword [esp], ebx
call sym._calc_curve_bezier
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x40]
movss xmm0, dword [ebp - 0x28]
movss xmm2, dword [ebp - 0x24]
lea eax, [eax*8 - 0x20]
mov edi, dword [ebp - 0x38]
lea edx, [ecx + eax]
movss dword [edx], xmm0
lea eax, [ecx + eax + 8]
movss xmm0, dword [ebp - 0x20]
movss xmm1, dword [ebx + 8]
movss dword [edx + 4], xmm0
mov edx, ecx
movss dword [ecx + 8], xmm2
movss xmm0, dword [ebx + 0xc]
movss xmm2, dword [ebp - 0x1c]
movss dword [ecx], xmm1
movss dword [ecx + 4], xmm0
movss dword [ecx + 0xc], xmm2
mov ecx, dword [ebp - 0x48]
movss dword [eax], xmm1
movss dword [eax + 4], xmm0
mov eax, edi
mov dword [esp], 3
call sym._extend_current_figure
test eax, eax
mov ebx, eax
je 0x69032c00
mov eax, dword [ebp - 0x3c]
mov edi, dword fs:[0x18]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
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 [ebp - 0x40]
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
sub esp, 0xc
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [edi + 4]
mov edx, dword [edi + 0xc]
or byte [edx + eax - 1], 0x80
mov dword [edi + 0x10], 1
jmp 0x69032ba5
test dl, 1
jne 0x69032cbb
test edi, 2
jne 0x69032cd7
test edi, 4
je 0x69032a17
mov edx, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], edx
jmp 0x69032a17
lea esp, [ebp - 0x10]
mov ebx, 2
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x38]
pxor xmm1, xmm1
mov dword [esp + 0x18], ebx
cvtss2sd xmm1, xmm0
movsd qword [esp + 0x1c], xmm1
mov dword [esp], 3
movss dword [ebp - 0x2c], xmm0
mov dword [esp + 0x10], eax
mov eax, str.__p___p___d___.2f__n
mov dword [esp + 0xc], eax
mov eax, str.GdipAddPathClosedCurve2
mov dword [esp + 8], eax
mov eax, 0x6907a0d8
mov dword [esp + 4], eax
call sym._wine_dbg_log.constprop.0_5
movss xmm0, dword [ebp - 0x2c]
jmp 0x69032954
movzx edx, byte [esi]
lea edi, [edi + 1]
inc esi
mov byte [ebp - 0x2c], dl
movzx ecx, byte [ebp - 0x2c]
mov byte [edi - 1], cl
mov edx, dword [ebp - 0x44]
lea ecx, [edx - 9]
jmp 0x69032c21
movzx edx, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], dx
jmp 0x69032c2d
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x40]
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 - 0x3c]
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 ebx, 3
sub esp, 0xc
jmp 0x69032be8