https://bugs.winehq.org/show_bug.cgi?id=51988
--- Comment #20 from Volker S. volker.schlegel@tutanota.com --- (In reply to Etaash Mathamsetty from comment #19)
some kernel drivers make the registry key point to a certain path, without putting C:\windows\ in front, this would usually result in a c0000142 error which is what you are seeing, maybe try modifying the registry key? (open regedit and go to HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services and look for your driver, after that change the path like I described (unless it's already correct, in that case something else is the issue))
Sorry for not replying for over 6 months, I thought I'd automatically get an email when someone replies, fixed that now, so I should respond a lot quicker :'D
Running Manjaro again, just verified that the bug still happens with both wine 8.9 (32bit only, built from the source tarball) and wine-staging 8.6.
For the sake of this bug report I will only use wine 8.9 from now on for testing since wine-staging doesn't seem to have any patches that fix it and no patches for ntoskrnl were added or updated since wine-staging 8.6. The registry key HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Secdrv/ImagePath contains C:\windows\system32\drivers\SECDRV.SYS, so it's something else. While the second backslash before SECDRV.SYS is odd removing it doesn't fix it.