https://bugs.winehq.org/show_bug.cgi?id=40476
--- Comment #9 from S M compulsorylocales@gmail.com --- (In reply to Mokou from comment #5)
After some more poking around and MessageBox-driven debugging I've managed to find the issue. The IthInitSystemService() function fails when it tries to open the NT directory object \Sessions$session_id\BaseNamedObjects. On Wine \Sessions$session_id seems to be a symlink to \BaseNamedObjects, but on Windows the BaseNamedObjects directory obj is not linked to \Sessions$session_id, it's inside of it.
Here's a link to the ITHVNR build with a workaround and the modified source: https://a.pomf.cat/zbiwsf.zip (sha1 208bdb83126365ce53a5c70a8b3f221b22995e04, md5 835f91a38a4c63b6fbdc50a8f2ce2654)
I just tested your build of ITH, and well, it works just as it should. Or well, works wonderfully, haha.
Thank you so much for taking the time to go through this!