Function at 0x64a72220
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
mov ebx, edx
sub esp, 0x4c
fld dword [ebx]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov eax, dword [edx + 0x20]
fstp dword [ebp - 0x20]
fld dword [edi]
fld dword [edi + 4]
fld dword [ebx + 4]
fstp dword [ebp - 0x1c]
test eax, eax
je 0x64a7224f
cmp eax, 3
jne 0x64a7227e
fld dword [ebp - 0x20]
fsub st(2)
fld dword [ecx + 4]
fld dword [ebp - 0x1c]
fsub st(3)
fld dword [ecx]
fld st(2)
fsub st(5)
fmul st(4)
fld st(1)
fsub st(7)
fmul st(3)
fxch st(1)
fcompi st(1)
fstp st(0)
ja 0x64a72350
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
mov edx, esi
mov eax, 1
fstp dword [esp + 0x10]
fstp dword [esp + 0xc]
fstp dword [esp + 8]
fld dword [ebp - 0x1c]
fstp dword [esp + 4]
fld dword [ebp - 0x20]
fstp dword [esp]
call sym._add_bevel_point.isra.0
fld dword [ebx]
fld dword [ebx + 4]
mov ecx, dword [ebp - 0x24]
fld st(0)
fsubr dword [ecx + 4]
fld dword [ecx]
fsub st(3)
fld st(1)
fmul st(2)
fld st(1)
fmul st(2)
faddp st(1)
fsqrt
fld dword [ebp + 0xc]
fmul dword [0x64abb52c]
fldz
fxch st(2)
fucomi st(2)
fstp st(2)
jp 0x64a722df
je 0x64a724e0
fld st(0)
mov ebx, dword [esi]
fchs
fmulp st(3)
fxch st(2)
mov eax, dword fs:[0x18]
fdiv st(1)
faddp st(4)
fxch st(3)
fstp dword [ebp - 0x1c]
fmulp st(1)
fdivrp st(1)
faddp st(1)
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
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x64a7233f
fld dword [ebp - 0x20]
fstp dword [eax]
fld dword [ebp - 0x1c]
mov byte [eax + 8], 1
fstp dword [eax + 4]
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
mov dword [ebx + 0xc], eax
mov dword [esi], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
fld dword [ebp + 0xc]
fmul dword [0x64abb52c]
fstp dword [ebp - 0x24]
fld st(3)
fmul st(4)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fxch st(1)
fsub dword [ebp - 0x20]
fxch st(3)
fsub dword [ebp - 0x1c]
fld st(0)
fst dword [ebp - 0x28]
fmulp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fld dword [ebp - 0x24]
fmul st(5), st(0)
fxch st(5)
fdiv st(2)
fxch st(3)
fmul st(5)
fdivrp st(2)
fld st(4)
fxch st(4)
fmulp st(5)
fdiv st(4), st(0)
fld dword [ebp - 0x28]
fmulp st(4)
fdivp st(3)
fld st(0)
fmul st(4)
fld st(2)
fmul st(4)
fsubp st(1)
fstp dword [ebp - 0x28]
fld st(1)
fmul st(4)
fld st(2)
fsub st(5)
fmulp st(1)
fld st(1)
fmul st(2)
fmul st(5)
faddp st(1)
fld st(3)
fmul st(4)
fmul st(3)
fsubp st(1)
fld dword [ebp - 0x28]
fdivp st(1)
fld st(1)
fmul st(4)
fstp dword [ebp - 0x2c]
fld st(1)
fsub st(4)
fmul dword [ebp - 0x2c]
fxch st(3)
fmul st(0)
fmulp st(4)
fxch st(3)
faddp st(2)
fxch st(3)
fmul st(0)
fmulp st(3)
fsubrp st(2)
fxch st(1)
fdiv dword [ebp - 0x28]
fld dword [edx + 0x24]
fld st(2)
fmul st(3)
fld st(2)
fmul st(3)
faddp st(1)
fxch st(1)
fmul st(0)
fld dword [ebp - 0x24]
fmul st(1), st(0)
fmulp st(1)
fcompi st(1)
fstp st(0)
ja 0x64a72480
fstp st(0)
fstp st(0)
test eax, eax
jne 0x64a7227e
mov eax, dword [0x64ac204c]
lea edx, [eax + 1]
mov dword [0x64ac204c], edx
test eax, eax
jne 0x64a7227e
test byte [0x64ab50c0], 1
je 0x64a7227e
fstp st(0)
fstp st(0)
mov dword [ebp - 0x24], ecx
mov dword [esp + 0xc], str.should_add_a_clipped_corner_n
mov dword [esp + 8], 0x64abb09c
mov dword [esp + 4], 0x64ab50c0
mov dword [esp], 0
call sym._wine_dbg_log.constprop.2
fld dword [ebx]
mov ecx, dword [ebp - 0x24]
fstp dword [ebp - 0x20]
fld dword [ebx + 4]
fstp dword [ebp - 0x1c]
fld dword [edi]
fld dword [edi + 4]
jmp 0x64a7227e
fstp st(2)
fstp st(2)
fadd dword [ebp - 0x1c]
mov ebx, dword [esi]
mov eax, dword fs:[0x18]
fstp dword [ebp - 0x1c]
fadd dword [ebp - 0x20]
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
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x64a7233f
fld dword [ebp - 0x20]
fstp dword [eax]
fld dword [ebp - 0x1c]
mov byte [eax + 8], 1
fstp dword [eax + 4]
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
mov dword [ebx + 0xc], eax
jmp 0x64a7233f
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
fstp dword [ebp - 0x20]
mov ebx, dword [esi]
fstp dword [ebp - 0x1c]
mov eax, dword fs:[0x18]
mov dword [esp + 8], 0x10
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x64a7233f
fld dword [ebp - 0x1c]
fstp dword [eax]
fld dword [ebp - 0x20]
mov byte [eax + 8], 1
fstp dword [eax + 4]
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
mov dword [ebx + 0xc], eax
mov dword [esi], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret