https://bugs.winehq.org/show_bug.cgi?id=30344
--- Comment #3 from Austin English austinenglish@gmail.com --- (In reply to André H. from comment #1)
confirming it also wants ntdll.dll.NtQuerySystemEnvironmentValueEx i'll add a seperate bug for that.
Looks like you sent a patch for it instead, committed as 04201096a26dc85d4ef4b70c8df20e30790d9761.
MsiEnumClientsExW isn't implemented though, I sent https://source.winehq.org/patches/data/108909