Function at 0x64a77480
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, 0x58
fld dword [ecx + 8]
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
fst dword [ebp - 0x24]
test byte [0x64ab50c0], 8
jne 0x64a77700
fstp st(0)
test edi, edi
je 0x64a77738
mov eax, dword [edi + 4]
test eax, eax
jne 0x64a774d0
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
test byte [0x64ab50c0], 8
jne 0x64a777c0
mov edx, dword [edi + 8]
test eax, eax
je 0x64a77508
test ebx, ebx
je 0x64a77508
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ebx
call sym.gdiplus.dll_GdipTransformMatrixPoints
sub esp, 0xc
test eax, eax
jne 0x64a774bf
mov edx, dword [edi + 8]
lea esi, [esi]
fld dword [edx]
mov eax, dword fs:[0x18]
mov dword [ebp - 0x34], eax
fstp dword [ebp - 0x1c]
fld dword [edx + 4]
fstp dword [ebp - 0x20]
mov dword [esp + 8], 0x10
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x38], eax
call eax
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x64a777a3
fld dword [ebp - 0x1c]
mov byte [eax + 8], 0
mov dword [eax + 0xc], 0
fstp dword [eax]
fld dword [ebp - 0x20]
fstp dword [eax + 4]
cmp dword [edi + 4], 1
jle 0x64a777f4
mov dword [ebp - 0x20], eax
mov esi, 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], edi
jmp 0x64a77670
test bl, 6
je 0x64a776a0
fstp st(0)
fstp st(0)
cmp byte [eax + esi + 1], 0
lea ebx, [esi + 1]
js 0x64a77750
lea edx, [esi + 2]
mov dword [ebp - 0x30], edx
mov ebx, edx
lea edx, [ecx + edi + 0x10]
fld dword [edx]
fstp dword [ebp - 0x28]
fld dword [edx + 4]
fstp dword [ebp - 0x2c]
movzx esi, byte [eax + ebx]
mov dword [esp + 8], 0x10
mov dword [esp + 4], 8
mov eax, dword [ebp - 0x34]
and esi, 0xfffffff8
mov eax, dword [eax + 0x30]
or esi, 1
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x64a77770
fld dword [ebp - 0x28]
lea ecx, [ebx*8 - 8]
fstp dword [eax]
fld dword [ebp - 0x2c]
fstp dword [eax + 4]
mov eax, esi
mov esi, dword [ebp - 0x20]
fld dword [ebp - 0x24]
mov byte [edi + 8], al
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], edi
mov edx, dword [eax + 8]
fstp dword [esp + 0x10]
lea eax, [edx + ecx]
lea edx, [edx + ecx - 8]
fld dword [eax + 4]
fstp dword [esp + 0xc]
fld dword [eax]
mov eax, esi
fstp dword [esp + 8]
fld dword [edx + 4]
fstp dword [esp + 4]
fld dword [edx]
mov edx, edi
fstp dword [esp]
call sym._flatten_bezier
test eax, eax
je 0x64a77770
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x20], edi
add esi, 1
mov eax, dword [ebp - 0x1c]
cmp esi, dword [eax + 4]
jge 0x64a77890
mov ecx, dword [ebp - 0x1c]
lea edi, [esi*8]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
movzx ebx, byte [eax + esi]
lea edx, [ecx + edi]
fld dword [edx]
fld dword [edx + 4]
test bl, 7
jne 0x64a77590
fxch st(1)
mov dword [ebp - 0x3c], esi
jmp 0x64a776a8
fxch st(1)
lea esi, [esi]
fstp dword [ebp - 0x2c]
fstp dword [ebp - 0x28]
mov dword [esp + 8], 0x10
mov dword [esp + 4], 8
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
sub esp, 0xc
test eax, eax
je 0x64a77770
fld dword [ebp - 0x2c]
mov byte [eax + 8], bl
add esi, 1
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
fstp dword [eax]
fld dword [ebp - 0x28]
fstp dword [eax + 4]
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
mov dword [ebx + 0xc], eax
jmp 0x64a77664
fstp qword [esp + 0x18]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.__p___p___.2f__n
mov dword [esp + 8], str.GdipFlattenPath
mov dword [esp + 4], 0x64ab50c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
test edi, edi
jne 0x64a774b6
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], ebx
lea edx, [ecx + edx*8]
fld dword [edx]
fstp dword [ebp - 0x28]
fld dword [edx + 4]
fstp dword [ebp - 0x2c]
jmp 0x64a775c2
mov ebx, dword [ebp - 0x40]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword fs:[0x18]
mov eax, ebx
mov ebx, dword [ebx + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
test ebx, ebx
jne 0x64a77780
lea esp, [ebp - 0x10]
mov eax, 3
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x64abae0b
mov dword [esp + 8], str.GdipTransformPath
mov dword [esp + 4], 0x64ab50c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
mov eax, dword [edi + 4]
jmp 0x64a774dd
mov dword [esp + 4], 1
mov esi, 1
mov dword [esp], edi
call sym._lengthen_path
test eax, eax
je 0x64a77773
lea esi, [esi]
mov dword [edi + 4], esi
mov edx, ebx
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea esi, [esi]
mov esi, dword [edx + 4]
mov ecx, dword [edi + 8]
mov ebx, dword [edx]
mov dword [ecx + eax*8 + 4], esi
mov dword [ecx + eax*8], ebx
movzx ecx, byte [edx + 8]
mov esi, dword [edi + 0xc]
mov byte [esi + eax], cl
add eax, 1
mov edx, dword [edx + 0xc]
cmp dword [edi + 4], eax
jg 0x64a77828
mov ebx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword fs:[0x18]
lea esi, [esi]
mov eax, ebx
mov ebx, dword [ebx + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
test ebx, ebx
jne 0x64a77860
jmp 0x64a774bd
mov ebx, dword [ebp - 0x40]
mov edi, eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x64a777f4
mov esi, 1
lea esi, [esi]
mov eax, dword [eax + 0xc]
add esi, 1
test eax, eax
jne 0x64a778a8
mov dword [esp + 4], esi
mov dword [esp], edi
call sym._lengthen_path
test eax, eax
jne 0x64a77818
jmp 0x64a77773