http://bugs.winehq.org/show_bug.cgi?id=18575
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com 2010-05-08 18:00:56 --- Created an attachment (id=27818) --> (http://bugs.winehq.org/attachment.cgi?id=27818) patch
It seems it doesn't like failure return code from RegCreateKeyExA:
--- 001c:Ret PE DLL (proc=0x2586bb4,module=0x2560000 L"IEFlash.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1 001c:Ret KERNEL32.LoadLibraryExA() retval=02560000 ret=0041a322 001c:Call KERNEL32.SetErrorMode(00000001) ret=0041a355 001c:Ret KERNEL32.SetErrorMode() retval=00000001 ret=0041a355 001c:Call KERNEL32.GetProcAddress(02560000,0041622c "DllRegisterServer") ret=004161e4 001c:Ret KERNEL32.GetProcAddress() retval=02579974 ret=004161e4 ... 001c:Call advapi32.RegCreateKeyExA(80000000,01990eac "CLSID\{E5A1691B-D188-4419-AD02-90002030B8EE}",00000000,025788cc,00000000,0002001f,00000000,0032fb78,0032fb74) ret=02578870 001c:Ret advapi32.RegCreateKeyExA() retval=00000006 ret=02578870 001c:Call user32.LoadStringA(02560000,0000ffad,0032f73c,00000400) ret=02566602 001c:Ret user32.LoadStringA() retval=00000024 ret=02566602 001c:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0032fb4c) ret=025788c2 ---
Attach a +reg with this patch applied.