Function at 0x64a61540
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0xfc
fld dword [ebp + 0x18]
fsub dword [ebp + 0x10]
fstp dword [esp + 4]
fld dword [ebp + 0x1c]
fsub dword [ebp + 0x14]
fstp dword [esp]
call sym._gdiplus_atan2
cmp edi, 0xff
jne 0x64a61640
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x64a61640
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x64a61700
fstp dword [ebp - 0xb0]
mov dword [esp], esi
call sym._CreateSolidBrush_4
mov dword [ebp - 0x78], esi
mov dword [ebp - 0xa4], eax
sub esp, 4
mov edi, eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x74], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], 0x12200
call sym._ExtCreatePen_20
sub esp, 0x14
mov dword [ebp - 0xb4], eax
mov esi, eax
mov dword [esp + 4], edi
mov eax, dword [ebx]
mov dword [esp], eax
call sym._SelectObject_8
sub esp, 8
mov dword [ebp - 0xa8], eax
mov dword [esp + 4], esi
mov eax, dword [ebx]
mov dword [esp], eax
call sym._SelectObject_8
fld dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
sub esp, 8
mov eax, dword [ebp + 0xc]
cmp dword [eax], 1
je 0x64a62123
nop
mov dword [ebp - 0xc0], 0
jmp 0x64a61732
fstp dword [ebp - 0xb0]
mov dword [esp], esi
call sym._CreateSolidBrush_4
mov dword [ebp - 0x78], esi
mov dword [ebp - 0xa4], eax
sub esp, 4
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x74], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], 0x12200
call sym._ExtCreatePen_20
mov ecx, dword [ebp - 0xa4]
sub esp, 0x14
mov dword [ebp - 0xb4], eax
mov esi, eax
mov dword [esp + 4], ecx
mov eax, dword [ebx]
mov dword [esp], eax
call sym._SelectObject_8
sub esp, 8
mov dword [ebp - 0xa8], eax
mov dword [esp + 4], esi
mov eax, dword [ebx]
mov dword [esp], eax
call sym._SelectObject_8
fld dword [ebp - 0xb0]
sub esp, 8
cmp edi, 0x14
mov dword [ebp - 0xb8], eax
ja 0x64a62090
test edi, edi
je 0x64a61a38
cmp edi, 0x14
ja case.default.0x64a616f2
jmp dword [edi*4 + 0x64ab9424]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0xa8], 0
mov eax, dword [ebp + 0xc]
fstp dword [ebp - 0xd4]
mov esi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword fs:[0x18]
mov edi, dword [eax + 4]
mov dword [ebp - 0xb0], edi
shl edi, 3
mov dword [esp + 8], edi
mov dword [esp + 4], 8
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0xcc], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
mov dword [ebp - 0xc8], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 8
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0xd0], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov ecx, dword [ebp - 0xb0]
sub esp, 0xc
mov dword [ebp - 0xcc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], 8
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov esi, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xcc]
sub esp, 0xc
mov dword [ebp - 0xd0], eax
mov ecx, eax
test esi, esi
sete al
test edx, edx
sete dl
or al, dl
jne 0x64a619bc
test ecx, ecx
je 0x64a619bc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 8], edi
mov dword [esp], esi
lea esi, [ebp - 0x70]
mov dword [esp + 4], eax
call sym._memcpy
mov dword [esp], esi
fldz
fst dword [esp + 0x18]
fst dword [esp + 0x14]
fld1
fst dword [esp + 0x10]
fxch st(1)
fst dword [esp + 0xc]
fstp dword [esp + 8]
fstp dword [esp + 4]
call sym.gdiplus.dll_GdipSetMatrixElements
sub esp, 0x1c
mov dword [esp + 0xc], 1
fld dword [ebp + 8]
mov dword [esp], esi
fst dword [esp + 8]
fstp dword [esp + 4]
call sym.gdiplus.dll_GdipScaleMatrix
fld qword [0x64ababe0]
sub esp, 0x10
mov dword [esp + 8], 1
fld dword [ebp - 0xd4]
mov dword [esp], esi
fsubrp st(1)
fmul qword [0x64abac08]
fstp dword [esp + 4]
call sym.gdiplus.dll_GdipRotateMatrix
sub esp, 0xc
mov dword [esp + 0xc], 1
fld dword [ebp + 0x1c]
fstp dword [esp + 8]
fld dword [ebp + 0x18]
mov dword [esp], esi
fstp dword [esp + 4]
call sym.gdiplus.dll_GdipTranslateMatrix
mov edi, dword [ebp - 0xb0]
sub esp, 0x10
mov dword [esp + 8], edi
mov ecx, dword [ebp - 0xc8]
mov dword [esp], esi
mov dword [esp + 4], ecx
call sym.gdiplus.dll_GdipTransformMatrixPoints
sub esp, 0xc
mov dword [esp + 0x10], edi
mov esi, dword [ebp - 0xc8]
mov dword [esp + 8], 0
mov dword [esp + 0xc], esi
mov dword [esp + 4], 4
mov dword [esp], ebx
call sym._gdip_transform_points
mov eax, dword [ebp - 0xcc]
mov edx, esi
mov ecx, edi
xor esi, esi
call sym._round_points
test edi, edi
jle 0x64a6195c
mov dword [ebp - 0xd4], ebx
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0xd0]
nop
mov eax, dword [edi + 0xc]
movzx edx, byte [eax + esi]
mov eax, edx
and eax, 7
cmp al, 1
je 0x64a620f8
cmp al, 3
je 0x64a620e0
test al, al
je 0x64a62108
test byte [0x64ab50b0], 2
jne 0x64a620b0
xor eax, eax
lea esi, [esi]
nop
mov byte [ebx + esi], al
add esi, 1
cmp dword [ebp - 0xb0], esi
jne 0x64a61910
mov ebx, dword [ebp - 0xd4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x64a62150
mov dword [esp], eax
call sym._BeginPath_4
mov eax, dword [ebp - 0xb0]
sub esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xd0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xcc]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sym._PolyDraw_16
mov eax, dword [ebx]
sub esp, 0x10
mov dword [esp], eax
call sym._EndPath_4
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], eax
call sym._StrokeAndFillPath_4
sub esp, 4
mov eax, dword [ebp - 0xc8]
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 - 0xcc]
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, dword [ebp - 0xd0]
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, dword [ebp - 0xc0]
sub esp, 0xc
test eax, eax
jne 0x64a61aa8
jmp 0x64a61a58
fstp st(0)
jmp 0x64a61a58
fstp st(0)
jmp 0x64a61a58
fstp st(0)
jmp 0x64a61a58
fstp st(0)
lea esi, [esi]
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sym._SelectObject_8
mov eax, dword [ebp - 0xb8]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sym._SelectObject_8
mov eax, dword [ebp - 0xa4]
sub esp, 8
mov dword [esp], eax
call sym._DeleteObject_4
mov eax, dword [ebp - 0xb4]
sub esp, 4
mov dword [esp], eax
call sym._DeleteObject_4
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
fld dword [ebp + 8]
test edi, 0x10
je 0x64a61abd
fadd st(0)
fmul dword [0x64ababb4]
lea eax, [ebp - 0x90]
lea edx, [ebp - 0x98]
fstp dword [ebp - 0xb0]
fld dword [ebp - 0xb0]
fstp qword [ebp - 0xb0]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
cmp edi, 0x13
je 0x64a62118
fadd qword [0x64ababe8]
fstp qword [esp]
lea edi, [ebp - 0x58]
call sym._sincos
fld qword [ebp - 0xb0]
lea esi, [ebp - 0x38]
fld qword [ebp - 0x98]
fmul st(1)
fstp dword [ebp - 0xb0]
fld dword [ebp - 0xb0]
fxch st(1)
fmul qword [ebp - 0x90]
fstp dword [ebp - 0xb0]
fld dword [ebp - 0xb0]
fld dword [ebp + 0x18]
fsub st(2)
fstp dword [ebp - 0x58]
fld dword [ebp + 0x18]
fadd st(1)
fstp dword [ebp - 0x50]
fld dword [ebp + 0x1c]
fsub st(1)
fstp dword [ebp - 0x54]
fld dword [ebp + 0x1c]
fadd st(2)
fstp dword [ebp - 0x3c]
fld dword [ebp + 0x1c]
fsub st(2)
fstp dword [ebp - 0x4c]
fld dword [ebp + 0x1c]
fadd st(1)
fstp dword [ebp - 0x44]
fsubr dword [ebp + 0x18]
fstp dword [ebp - 0x40]
fadd dword [ebp + 0x18]
fstp dword [ebp - 0x48]
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], ebx
call sym._gdip_transform_points
mov edx, edi
mov eax, esi
call sym._round_points.constprop.0
mov dword [esp + 8], 4
mov dword [esp + 4], esi
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Polygon_12
sub esp, 0xc
jmp 0x64a61a58
fld st(0)
lea esi, [ebp - 0x90]
lea edi, [ebp - 0x98]
fstp qword [ebp - 0xc0]
fstp qword [esp]
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
call sym._sincos
fld qword [ebp - 0x98]
fstp qword [ebp - 0xc8]
fld qword [ebp - 0x90]
fstp qword [ebp - 0xb0]
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
fld qword [ebp - 0xc0]
fadd qword [0x64ababe0]
fstp qword [esp]
call sym._sincos
fld dword [ebp + 8]
fmul dword [0x64ababb4]
fld qword [ebp - 0x98]
fmul st(1)
fstp dword [ebp - 0xc0]
fld dword [ebp - 0xc0]
fld qword [ebp - 0x90]
fmul st(2)
fstp dword [ebp - 0xc0]
fld dword [ebp - 0xc0]
fld dword [ebp + 0x18]
fsub st(2)
fstp dword [ebp - 0x58]
fld dword [ebp + 0x1c]
fsub st(1)
fstp dword [ebp - 0x54]
fxch st(1)
fadd dword [ebp + 0x18]
fstp dword [ebp - 0x50]
fadd dword [ebp + 0x1c]
fstp dword [ebp - 0x4c]
fld qword [ebp - 0xc8]
fmul st(1)
fstp dword [ebp - 0xc0]
fld dword [ebp - 0xc0]
fadd dword [ebp + 0x18]
fstp dword [ebp - 0x48]
fmul qword [ebp - 0xb0]
fstp dword [ebp - 0xb0]
fld dword [ebp - 0xb0]
fadd dword [ebp + 0x1c]
fstp dword [ebp - 0x44]
lea edi, [ebp - 0x58]
mov dword [esp], ebx
lea esi, [ebp - 0x38]
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 4
call sym._gdip_transform_points
mov edx, edi
mov eax, esi
call sym._round_points.constprop.2
mov dword [esp + 8], 3
jmp 0x64a61ba5
fld dword [ebp + 8]
fmul dword [0x64ababb4]
lea edx, [ebp - 0x98]
lea esi, [ebp - 0x58]
fld dword [ebp + 0x18]
lea eax, [ebp - 0x90]
fsub st(1)
fstp dword [ebp - 0x58]
fld dword [ebp + 0x1c]
fsub st(1)
fstp dword [ebp - 0x54]
fld dword [ebp + 0x18]
fadd st(1)
fstp dword [ebp - 0x50]
fadd dword [ebp + 0x1c]
fstp dword [ebp - 0x4c]
fld qword [0x64ababe0]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
faddp st(1)
fstp qword [esp]
call sym._sincos
fld qword [ebp - 0x98]
fchs
fmul dword [ebp + 8]
fstp dword [ebp - 0xb0]
fld dword [ebp - 0xb0]
fld qword [ebp - 0x90]
fchs
fmul dword [ebp + 8]
fstp dword [ebp - 0xb0]
fld dword [ebp - 0xb0]
fld dword [ebp + 0x18]
fsub st(2)
fstp dword [ebp - 0x48]
fld dword [ebp + 0x1c]
fsub st(1)
fstp dword [ebp - 0x44]
fxch st(1)
fadd dword [ebp + 0x18]
fstp dword [ebp - 0x40]
fadd dword [ebp + 0x1c]
fstp dword [ebp - 0x3c]
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], ebx
call sym._gdip_transform_points
mov edx, esi
lea eax, [ebp - 0x38]
call sym._round_points.constprop.0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Pie_36
sub esp, 0x24
jmp 0x64a61a58
fld dword [ebp + 8]
fmul dword [0x64ababf0]
lea esi, [ebp - 0x90]
lea edi, [ebp - 0x98]
fdiv qword [0x64ababf8]
fstp qword [ebp - 0xb0]
fld st(0)
fstp qword [ebp - 0xc8]
fld qword [0x64abac00]
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
faddp st(1)
fstp qword [esp]
call sym._sincos
fld qword [ebp - 0xb0]
fstp dword [ebp - 0xb0]
fld dword [ebp - 0xb0]
fld qword [ebp - 0x98]
fmul st(1)
fstp dword [ebp - 0xb0]
fld dword [ebp - 0xb0]
fsubr dword [ebp + 0x18]
fstp dword [ebp - 0x58]
fld st(0)
fstp qword [ebp - 0xc0]
fmul qword [ebp - 0x90]
fstp dword [ebp - 0xb0]
fld dword [ebp - 0xb0]
fsubr dword [ebp + 0x1c]
fstp dword [ebp - 0x54]
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
fld qword [ebp - 0xc8]
fsub qword [0x64abac00]
fstp qword [esp]
call sym._sincos
fld qword [ebp - 0xc0]
fld qword [ebp - 0x98]
fmul st(1)
fstp dword [ebp - 0xb0]
fld dword [ebp - 0xb0]
fsubr dword [ebp + 0x18]
fstp dword [ebp - 0x50]
fmul qword [ebp - 0x90]
fstp dword [ebp - 0xb0]
fld dword [ebp - 0xb0]
fsubr dword [ebp + 0x1c]
fstp dword [ebp - 0x4c]
fld dword [ebp + 0x18]
fstp dword [ebp - 0x48]
fld dword [ebp + 0x1c]
fstp dword [ebp - 0x44]
jmp 0x64a61c99
fstp st(0)
fld dword [ebp + 8]
lea edi, [ebp - 0x58]
lea esi, [ebp - 0x38]
fadd st(0)
fmul dword [0x64ababb4]
fstp dword [ebp - 0xb0]
fld dword [ebp - 0xb0]
fld dword [ebp + 0x18]
fsub st(1)
fstp dword [ebp - 0x58]
fld dword [ebp + 0x1c]
fsub st(1)
fstp dword [ebp - 0x54]
fld dword [ebp + 0x18]
fadd st(1)
fstp dword [ebp - 0x50]
fadd dword [ebp + 0x1c]
fstp dword [ebp - 0x4c]
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], ebx
call sym._gdip_transform_points
jmp 0x64a61fba
fld dword [0x64ababb4]
fadd dword [edi + 4]
add edi, 8
add esi, 8
fnstcw word [ebp - 0x9a]
movzx eax, word [ebp - 0x9a]
and ah, 0xf3
or ah, 4
mov word [ebp - 0x9c], ax
movzx eax, word [ebp - 0x9a]
fldcw word [ebp - 0x9c]
frndint
fldcw word [ebp - 0x9a]
or ah, 0xc
mov word [ebp - 0x9e], ax
lea eax, [ebp - 0x48]
fldcw word [ebp - 0x9e]
fistp dword [esi - 4]
fldcw word [ebp - 0x9a]
cmp eax, edi
je 0x64a62058
fld dword [edi]
fstp dword [esp]
call dword [sym.imp.ucrtbase.dll__fdclass]
mov edx, eax
xor eax, eax
cmp dx, 2
je 0x64a62028
fld dword [0x64ababb4]
fadd dword [edi]
fnstcw word [ebp - 0x9a]
movzx eax, word [ebp - 0x9a]
and ah, 0xf3
or ah, 4
mov word [ebp - 0x9c], ax
movzx eax, word [ebp - 0x9a]
fldcw word [ebp - 0x9c]
frndint
fldcw word [ebp - 0x9a]
or ah, 0xc
mov word [ebp - 0x9e], ax
fldcw word [ebp - 0x9e]
fistp dword [ebp - 0xb0]
fldcw word [ebp - 0x9a]
mov eax, dword [ebp - 0xb0]
fld dword [edi + 4]
mov dword [esi], eax
fstp dword [esp]
call dword [sym.imp.ucrtbase.dll__fdclass]
cmp ax, 2
jne 0x64a61f58
add edi, 8
lea eax, [ebp - 0x48]
mov dword [esi + 4], 0
add esi, 8
cmp eax, edi
jne 0x64a61fba
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sym._Ellipse_20
sub esp, 0x14
jmp 0x64a61a58
cmp edi, 0xff
jne 0x64a61a50
cmp dword [ebp + 0xc], 0
jne 0x64a61623
fstp st(0)
jmp 0x64a61a58
mov dword [esp + 0xc], str.Bad_point_type_n
mov dword [esp + 8], str.convert_path_point_type
mov dword [esp + 4], 0x64ab50b0
mov dword [esp], 1
call sym._wine_dbg_log.constprop.1_3
jmp 0x64a61941
mov ecx, 5
mov eax, 4
test dl, dl
cmovs eax, ecx
jmp 0x64a61948
mov ecx, 3
mov eax, 2
jmp 0x64a620ea
mov ecx, 7
mov eax, 6
jmp 0x64a620ea
fadd qword [0x64ababe0]
jmp 0x64a61af8
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x64a61732
mov eax, dword [ebp + 0xc]
fld dword [eax + 0x28]
fldz
fcompi st(1)
fstp st(0)
jb 0x64a61630
fstp st(0)
jmp 0x64a61a58
mov ecx, dword [ebp - 0xb0]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp - 0xd0]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0xcc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym._PolyDraw_16
sub esp, 0x10
jmp 0x64a619bc