Function at 0x64a73f70
Capabilities:
Get process heap flags
Get process heap force 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]
fld dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 4]
fst dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
test byte [0x64ab50c0], 8
jne 0x64a74228
fstp st(0)
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
test ecx, ecx
sete al
test esi, esi
sete dl
or al, dl
jne 0x64a74210
cmp ebx, 1
jle 0x64a74210
lea esi, [ebx + 1]
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
lea eax, [esi + esi*2]
mov dword [ebp - 0x4c], eax
sub eax, 2
mov dword [ebp - 0x48], eax
shl eax, 3
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x30], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
lea edx, [esi*8]
sub esp, 0xc
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], edx
mov dword [esp + 8], edx
mov dword [esp + 4], 8
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
sub esp, 0xc
test edx, edx
je 0x64a74268
test eax, eax
je 0x64a74268
mov edi, dword [ebp - 0x44]
mov esi, eax
lea eax, [edi - 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._memcpy
mov eax, dword [esi]
fld qword [str.333333]
fmul dword [ebp - 0x2c]
mov edx, dword [esi + 4]
mov dword [esi + edi - 8], eax
lea eax, [ebx - 1]
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + edi - 4], edx
fstp dword [ebp - 0x2c]
lea edi, [eax + 0x10]
lea esi, [esi]
lea esi, [esi]
lea eax, [ebp - 0x1c]
add ebx, 1
add edi, 0x18
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x24]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x28]
mov dword [esp + 8], eax
fld dword [ebp - 0x2c]
mov dword [esp], esi
add esi, 8
fstp dword [esp + 4]
call sym._calc_curve_bezier
fld dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
fstp dword [edi - 0x18]
fld dword [ebp - 0x20]
fstp dword [edi - 0x14]
fld dword [esi]
fstp dword [edi - 0x10]
fld dword [esi + 4]
fstp dword [edi - 0xc]
fld dword [ebp - 0x24]
fstp dword [edi - 8]
fld dword [ebp - 0x1c]
fstp dword [edi - 4]
cmp ebx, eax
jl 0x64a74090
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
mov edx, dword [ecx + eax - 0xc]
mov eax, dword [ecx + eax - 0x10]
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x1c]
mov dword [ebx + 0x14], edx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x24]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x28]
mov dword [esp + 8], eax
fld dword [ebp - 0x2c]
mov dword [esp], ebx
fstp dword [esp + 4]
call sym._calc_curve_bezier
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x3c]
fld dword [ebp - 0x28]
lea eax, [eax*8 - 0x20]
lea edx, [ecx + eax]
lea eax, [ecx + eax + 8]
fstp dword [edx]
fld dword [ebp - 0x20]
fstp dword [edx + 4]
fld dword [ebx + 8]
mov edx, ecx
fst dword [ecx]
fld dword [ebx + 0xc]
fstp dword [ecx + 4]
fld dword [ebp - 0x24]
fstp dword [ecx + 8]
fld dword [ebp - 0x1c]
fstp dword [ecx + 0xc]
fstp dword [eax]
fld dword [ecx + 4]
fstp dword [eax + 4]
mov dword [esp], 3
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
mov eax, esi
call sym._extend_current_figure
mov ebx, eax
test eax, eax
jne 0x64a741b2
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
or byte [edx + eax - 1], 0x80
mov dword [esi + 0x10], 1
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x3c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
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
fstp qword [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0xc], str.__p___p___d___.2f__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipAddPathClosedCurve2
mov dword [esp + 4], 0x64ab50c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x64a73fa7
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x40]
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
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10