https://bugs.winehq.org/show_bug.cgi?id=52441
Bug ID: 52441 Summary: Soft-Denchi DRM fails to register UCX.ocx Product: Wine Version: 7.0-rc5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: felineswift+wine@gmail.com Distribution: ---
This software is required by some games (e.g. Armored warrior iris).
To test it install MFC42 and MSVC 2008 SP1 runtime to 32-bit prefix and install Soft-denchi, then run "regsvr32 UCX.ocx" in C:/Program Files/Soft-Denchi.
I tried to understand why it fails. Maybe someone more knowledgeable can find/understand the root cause:
regsvr32 UCX.ocx
it starts loading UCOpgDlg.dll
... call some crypt functions ...
call crypt32.CryptBinaryToStringA with flag CRYPT_STRING_HEX 03e8:fixme:crypt:CryptBinaryToStringA Unimplemented type 4
call advapi32.CryptExportKey
... call some more crypt functions ...
call advapi32.CryptVerifySignatureA -> returns NTE_BAD_SIGNATURE and EXCEPTION_WINE_CXX_EXCEPTION is thrown
...
03e8:warn:module:process_attach Initialization of L"UCOpgDlg.dll" failed
...
regsvr32: loading UCX.ocx failed (it was localized error message)