https://bugs.winehq.org/show_bug.cgi?id=40735
--- Comment #37 from Nikolay Sivov bunglehead@gmail.com --- Does it help to remove kernel32 and user32 fake dlls from system32? Looks indeed like a failure from bug 15437:
--- 005e:Call KERNEL32.GetFileAttributesA(05110a08 "C:\windows\system32\KERNEL32.dll") ret=00485c0f 005e:Ret KERNEL32.GetFileAttributesA() retval=00000020 ret=00485c0f 005e:Call KERNEL32.CreateFileA(05110a08 "C:\windows\system32\KERNEL32.dll",80000000,00000003,00000000,00000003,00000000,00000000) ret=00485c3d ... 005e:Ret KERNEL32.CreateFileA() retval=00000124 ret=00485c3d 005e:Call KERNEL32.CreateFileMappingA(00000124,00000000,00000002,00000000,00000000,00000000) ret=00485c58 005e:Ret KERNEL32.CreateFileMappingA() retval=00000128 ret=00485c58 005e:Call KERNEL32.MapViewOfFile(00000128,00000004,00000000,00000000,00000000) ret=00485c70 005e:Ret KERNEL32.MapViewOfFile() retval=05480000 ret=00485c70 005e:Call KERNEL32.IsBadReadPtr(05480000,00000002) ret=0047e34e 005e:Ret KERNEL32.IsBadReadPtr() retval=00000000 ret=0047e34e 005e:Call KERNEL32.UnmapViewOfFile(05480000) ret=00485d1f 005e:Ret KERNEL32.UnmapViewOfFile() retval=00000001 ret=00485d1f 005e:Call KERNEL32.CloseHandle(00000128) ret=00485d25 005e:Ret KERNEL32.CloseHandle() retval=00000001 ret=00485d25 005e:Call KERNEL32.CloseHandle(00000124) ret=00485d2b 005e:Ret KERNEL32.CloseHandle() retval=00000001 ret=00485d2b 005e:Call KERNEL32.GetFileAttributesA(05110be8 "C:\windows\system32\KERNEL32.map") ret=00482a7b 005e:Ret KERNEL32.GetFileAttributesA() retval=ffffffff ret=00482a7b 005e:Call KERNEL32.GetFileAttributesA(0510e6f8 "C:\windows\system32\KERNEL32.mad") ret=00482a7b 005e:Ret KERNEL32.GetFileAttributesA() retval=ffffffff ret=00482a7b ---