Function at 0x64a74550
Capabilities:
Access peb ldr_data
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, 0x68
mov eax, dword [ecx]
fld dword [ecx + 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x38], eax
test byte [0x64ab50c0], 8
jne 0x64a74798
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
fstp dword [ebp - 0x2c]
test eax, eax
sete al
test edx, edx
sete cl
or al, cl
jne 0x64a74780
mov esi, dword [ebp - 0x38]
cmp esi, 1
jle 0x64a74780
lea eax, [esi + esi*2]
mov dword [ebp - 0x44], eax
sub eax, 2
mov edx, eax
mov dword [ebp - 0x3c], eax
lea ecx, [edx*8]
mov dword [esp + 4], 8
mov dword [esp + 8], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x40], eax
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x64a747e0
fld qword [str.333333]
fld dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
fmulp st(1)
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x10]
mov edx, dword [ebp - 0x30]
fld dword [edx + 0xc]
fstp dword [esp + 0xc]
fld dword [edx + 8]
fstp dword [esp + 8]
fld dword [edx + 4]
fstp dword [esp + 4]
fld dword [edx]
fstp dword [esp]
call sym._calc_curve_bezier_endp
mov edx, dword [ebp - 0x30]
fld dword [edx]
fstp dword [edi]
fld dword [edx + 4]
fstp dword [edi + 4]
fld dword [ebp - 0x28]
fstp dword [edi + 8]
fld dword [ebp - 0x20]
fstp dword [edi + 0xc]
cmp esi, 2
je 0x64a746c9
lea eax, [esi - 2]
mov dword [ebp - 0x48], edx
xor esi, esi
lea ebx, [edi + 0x10]
mov dword [ebp - 0x30], eax
mov edi, esi
mov esi, edx
lea esi, [esi]
lea eax, [ebp - 0x1c]
add edi, 1
add ebx, 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 [ebx - 0x18]
fld dword [ebp - 0x20]
fstp dword [ebx - 0x14]
fld dword [esi]
fstp dword [ebx - 0x10]
fld dword [esi + 4]
fstp dword [ebx - 0xc]
fld dword [ebp - 0x24]
fstp dword [ebx - 8]
fld dword [ebp - 0x1c]
fstp dword [ebx - 4]
cmp edi, eax
jne 0x64a74668
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x38]
lea ecx, [eax*8 - 0x10]
lea ebx, [edx + ecx + 8]
lea eax, [edx + ecx]
lea ecx, [ebp - 0x20]
mov dword [esp + 0x18], ecx
lea ecx, [ebp - 0x28]
mov dword [esp + 0x14], ecx
fld dword [ebp - 0x2c]
fstp dword [esp + 0x10]
fld dword [eax + 4]
fstp dword [esp + 0xc]
fld dword [eax]
fstp dword [esp + 8]
fld dword [ebx + 4]
fstp dword [esp + 4]
fld dword [ebx]
fstp dword [esp]
call sym._calc_curve_bezier_endp
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x40]
fld dword [ebp - 0x28]
lea eax, [eax*8 - 0x20]
lea edx, [edi + eax]
lea eax, [edi + eax + 8]
fstp dword [edx]
fld dword [ebp - 0x20]
fstp dword [edx + 4]
fld dword [ebx]
mov edx, edi
fstp dword [eax]
fld dword [ebx + 4]
fstp dword [eax + 4]
mov dword [esp], 3
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
call sym._extend_current_figure
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
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
fst qword [esp + 0x1c]
fstp dword [ebp - 0x30]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p___p___d___.2f__n
mov dword [esp + 8], str.GdipAddPathCurve2
mov dword [esp + 4], 0x64ab50c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
mov edx, dword [ebp - 0x2c]
fld dword [ebp - 0x30]
jmp 0x64a74582
lea esp, [ebp - 0x10]
mov ebx, 3
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10