Wine literally copies both the Win32 UI -needed to respect that for interop- , some of the kernel functions and Win32 which is just an API implementation and not copyrighteable per se. If not, we woudn't have GNU. Or Microsoft services for Unix.