[Bug 16365] Archlord Episode 3 Client crashes on startup (decrypting files with a RC4 session key derived from MD5 hash fails, only 40 bits are used, salt is dropped)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 5 18:59:11 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=16365

--- Comment #25 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

indeed fixed, thanks Bruno.

The content of the files is now properly decrypted:

--- snip ---
$ WINEDEBUG=+tid,+seh,+relay wine ./alefclient.exe >>log.txt 2>&1
...
0029:Call KERNEL32.CreateFileA(007ee634
"ini\\sysstr.txt",80000000,00000000,00000000,00000003,00000080,00000000)
ret=004ea20d
0029:Ret  KERNEL32.CreateFileA() retval=000000b4 ret=004ea20d
0029:Call
KERNEL32.CreateFileMappingA(000000b4,00000000,00000002,00000000,00000000,00000000)
ret=004ea225
0029:Ret  KERNEL32.CreateFileMappingA() retval=000000b8 ret=004ea225
0029:Call KERNEL32.MapViewOfFile(000000b8,00000004,00000000,00000000,00000000)
ret=004ea248
0029:Ret  KERNEL32.MapViewOfFile() retval=05d90000 ret=004ea248 
...
0029:Call advapi32.CryptSetProviderA(008038cc "Microsoft Base Cryptographic
Provider v1.0",00000001) ret=004e9781
0029:Ret  advapi32.CryptSetProviderA() retval=00000000 ret=004e9781
0029:Call advapi32.CryptAcquireContextA(0033f294,00000000,008038cc "Microsoft
Base Cryptographic Provider v1.0",00000001,f0000000) ret=004e9796 
...
0029:Ret  advapi32.CryptAcquireContextA() retval=00000001 ret=004e9796
0029:Call
advapi32.CryptCreateHash(019bcef8,00008003,00000000,00000000,0033f278)
ret=004e98cd
...
0029:Ret  advapi32.CryptCreateHash() retval=00000001 ret=004e98cd
0029:Call advapi32.CryptHashData(019bcda8,00802d18,00000004,00000000)
ret=004e98fe 
...
0029:Ret  advapi32.CryptHashData() retval=00000001 ret=004e98fe
0029:Call advapi32.CryptDeriveKey(019bcef8,00006801,019bcda8,00000004,0033f27c)
ret=004e991d 
...
0029:Ret  advapi32.CryptDeriveKey() retval=00000001 ret=004e991d 
...
0029:Call
advapi32.CryptDecrypt(019bcdc0,00000000,00000000,00000000,056dac18,0033f28c)
ret=004e994f
0029:Call
rsaenh.CPDecrypt(00000002,00000003,00000000,00000000,00000000,056dac18,0033f28c)
ret=7e9783e7
0029:Ret  rsaenh.CPDecrypt() retval=00000001 ret=7e9783e7
0029:Ret  advapi32.CryptDecrypt() retval=00000001 ret=004e994f 
...
0029:Call ntdll.strcspn(056dec40 "0=Option",00802f9c "=") ret=004e1c5c
0029:Ret  ntdll.strcspn() retval=00000001 ret=004e1c5c 
...
0029:Call ntdll.strcspn(056dec40 "1=Material",00802f9c "=") ret=004e1c5c
0029:Ret  ntdll.strcspn() retval=00000001 ret=004e1c5c 
...
--- snip ---

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list