WildBill Posted May 26, 2013 Author Share Posted May 26, 2013 I updated the file and the link. Bear in mind that it's a split archive: you only have to extract from Windows2000-KB2393802-v17-x86-ENU.zip and it will extract from both files. Link to comment Share on other sites More sharing options...
WildBill Posted May 27, 2013 Author Share Posted May 27, 2013 Below is the link to v1 of my kernel32 rewrite. It includes a VS2005 project, full source, and a compiled DLL.DO NOT INSTALL THIS ON YOUR MAIN SYSTEMI'm posting this because I've hit a wall on a bug and I need help Windows2000-kernel32-rewrite-v1.zip Link to comment Share on other sites More sharing options...
WildBill Posted May 27, 2013 Author Share Posted May 27, 2013 There appear to be multiple problems downloading and unpacking the split archive files for KB2393802-v17. I crawled through MediaFire's knowledge base and found something that is letting me upload the standard .exe installer again. Apparently my browser doesn't like their HTML5 uploader, and there is a setting to disable it. I updated the link on the main listing, and it should let you download a standard installer like earlier versions. Link to comment Share on other sites More sharing options...
Dubby Posted June 19, 2013 Share Posted June 19, 2013 I have tried your kernel... and I was unable to debug anything using ollydbg... so I pick another way... I'm attaching the olly to explorer process.here is the LOG file produced by olly.. there are two LOGs files.. the name of the file should be obvious... I have no idea whether this is useful or not... btw you have done such an impressive work... hope this helps...log.zip Link to comment Share on other sites More sharing options...
WildBill Posted June 23, 2013 Author Share Posted June 23, 2013 Thanks! Every little bit helps. Lately I've been crawling through backup.cpp tp try to fix some reported bugs. I definitely found one, but I haven't finished going through it. I tried fixing the bug when trying to install software and I really need help there. One thing I need to check is all calls to FsRtlxxx routines to make sure I'm using the right structures.On another note, I just posted KB2479628-v8. It adds stub support for these routines in user32.dll:RegisterRawInputDevicesGetRawInputDataGetRawInputDeviceInfoAGetRawInputDeviceInfoWGetRawInputDeviceListGetRawInputBufferDefRawInputProcThey're just stubs and return zero and/or failure where appropriate, but they let you use programs that import them, like the latest version of FreeCAD. Link to comment Share on other sites More sharing options...
WildBill Posted June 27, 2013 Author Share Posted June 27, 2013 I have tried your kernel... and I was unable to debug anything using ollydbg... so I pick another way... I'm attaching the olly to explorer process.here is the LOG file produced by olly.. there are two LOGs files.. the name of the file should be obvious... I have no idea whether this is useful or not... btw you have done such an impressive work... hope this helps...Do you still have those logs? I tried unzipping the file and I can't extract them. 7-zip can't extract it at all and ZipGenius only creates zero-length files Link to comment Share on other sites More sharing options...
tomasz86 Posted June 27, 2013 Share Posted June 27, 2013 @WildBill 7-Zip works for me. Are you using the newest version? Mine is 7-Zip 9.30 alpha. Link to comment Share on other sites More sharing options...
dencorso Posted June 27, 2013 Share Posted June 27, 2013 I confirm WildBill's finding: both WinRAR 4.20 and 7-zip 9.20 are unable to open the zip in post # 635.Since you can do it, please do repack it as a normal zip or a cab and attach it, please. Link to comment Share on other sites More sharing options...
Dubby Posted June 27, 2013 Share Posted June 27, 2013 l'm really sorry, currently I'm away from my development PC, where I store the logs. I have also confirmed that the file is indeed corrupt. I managed to extract only a single file. here the log I managed to extract.. the log produced while I'm attaching olly into explorer processes.. Loading function descriptions from 'common.arg' File 'C:\WINNT\explorer.exe' New process with ID 000003AC created Main thread with ID 000002D4 created New thread with ID 0000036C created New thread with ID 000003B0 created New thread with ID 000003EC created New thread with ID 00000450 created New thread with ID 000002F0 created New thread with ID 000004A0 created New thread with ID 000002F4 created New thread with ID 00000120 created New thread with ID 000003B4 created New thread with ID 000003C8 created New thread with ID 000004A4 created New thread with ID 00000424 created New thread with ID 00000278 created New thread with ID 000002C8 created New thread with ID 000003E8 created New thread with ID 0000031C created New thread with ID 000003A8 created77F91A76 Debug string: [757500] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC00001357C584A20 New thread with ID 00000294 created00400000 Module C:\WINNT\explorer.exe CRC changed, discarding .udd data00DC0000 Module C:\WINNT\system32\SHDOCVW.DLL01080000 Module C:\WINNT\System32\vmhgfs.dll024D0000 Module C:\WINNT\system32\MSI.DLL1A400000 Module C:\WINNT\system32\urlmon.dll23000000 Module C:\WINNT\AppPatch\AcLayers.DLL63000000 Module C:\WINNT\system32\WININET.dll63580000 Module C:\WINNT\system32\mshtml.dll658F0000 Module C:\WINNT\system32\webvw.dll66650000 Module C:\WINNT\system32\USP10.DLL6A8F0000 Module C:\WINNT\system32\MSVFW32.DLL6DE80000 Module C:\WINNT\system32\TxfAux.Dll70020000 Module C:\WINNT\system32\faxshell.dll70340000 Module C:\WINNT\system32\webcheck.dll70440000 Module C:\WINNT\system32\mlang.dll70510000 Module C:\WINNT\system32\imgutil.dll70A70000 Module C:\WINNT\system32\SHLWAPI.dll70F30000 Module C:\WINNT\system32\mshtmled.dll71500000 Module C:\WINNT\system32\browseui.dll71710000 Module C:\WINNT\system32\COMCTL32.dll718C0000 Module C:\WINNT\system32\shdoclc.dll71960000 Module C:\WINNT\system32\browselc.dll71F00000 Module C:\WINNT\system32\docprop2.dll732E0000 Module C:\WINNT\system32\shim.dll74870000 Module C:\WINNT\system32\AVIFIL32.DLL75020000 Module C:\WINNT\system32\WS2HELP.DLL75030000 Module C:\WINNT\system32\WS2_32.DLL75050000 Module C:\WINNT\system32\WSOCK32.dll75150000 Module C:\WINNT\system32\SAMLIB.dll75160000 Module C:\WINNT\System32\ntlanman.dll751C0000 Module C:\WINNT\system32\NETRAP.dll751D0000 Module C:\WINNT\System32\NETUI1.dll75210000 Module C:\WINNT\System32\NETUI0.dll759B0000 Module C:\WINNT\system32\LZ32.DLL75AC0000 Module C:\WINNT\system32\MSLS31.DLL75D40000 Module C:\WINNT\system32\msadp32.acm75E60000 Module C:\WINNT\system32\IMM32.DLL76290000 Module C:\WINNT\system32\es.dll76620000 Module C:\WINNT\system32\MPR.DLL766D0000 Module C:\WINNT\system32\stobject.dll766F0000 Module C:\WINNT\system32\POWRPROF.DLL76710000 Module C:\WINNT\system32\LINKINFO.DLL76740000 Module C:\WINNT\system32\BATMETER.DLL76DF0000 Module C:\WINNT\system32\mydocs.dll76F20000 Module C:\WINNT\system32\NETSHELL.dll76FA0000 Module C:\WINNT\system32\ntshrui.dll770B0000 Module C:\WINNT\system32\CfgMgr32.dll770C0000 Module C:\WINNT\system32\CSCDLL.dll773E0000 Module C:\WINNT\system32\ATL.DLL77400000 Module C:\WINNT\system32\msacm32.drv77410000 Module C:\WINNT\system32\MSACM32.dll77430000 Module C:\WINNT\system32\MSASN1.dll77560000 Module C:\WINNT\system32\wdmaud.drv77570000 Module C:\WINNT\system32\WINMM.DLL77820000 Module C:\WINNT\system32\VERSION.dll77840000 Module C:\WINNT\system32\cscui.dll77880000 Module C:\WINNT\system32\SETUPAPI.DLL77950000 Module C:\WINNT\system32\WLDAP32.DLL77980000 Module C:\WINNT\system32\DNSAPI.DLL779B0000 Module C:\WINNT\system32\OLEAUT32.dll77BF0000 Module C:\WINNT\system32\NTDSAPI.dll77D30000 Module C:\WINNT\system32\RPCRT4.dll77E10000 Module C:\WINNT\system32\USER32.dll77F40000 Module C:\WINNT\system32\GDI32.dll77F80000 Module C:\WINNT\system32\ntdll.dll78000000 Module C:\WINNT\system32\msvcrt.dll7C0F0000 Module C:\WINNT\system32\USERENV.DLL7C2D0000 Module C:\WINNT\system32\ADVAPI32.dll7C340000 Module C:\WINNT\system32\Secur32.dll7C570000 Module C:\WINNT\system32\KERNEL32.dll7C740000 Module C:\WINNT\system32\CRYPT32.dll7C950000 Module C:\WINNT\system32\CLBCATQ.DLL7CDC0000 Module C:\WINNT\system32\NETAPI32.DLL7CE20000 Module C:\WINNT\system32\OLE32.DLL7CF30000 Module C:\WINNT\system32\SHELL32.dll77F9193C Attached process paused at ntdll.DbgBreakPoint77F91A76 Debug string: [762593] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [762593] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [762593] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [762609] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC0000135 Thread 000003C8 terminated, exit code 0 Thread 00000294 terminated, exit code 077F91A76 Debug string: [763515] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [764531] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [764593] FileTimeToDosDateTime(): Year is less than 198077F91A76 Debug string: [764593] FileTimeToDosDateTime(): Year is less than 198077F91A76 Debug string: [764593] FileTimeToDosDateTime(): Year is less than 198077F91A76 Debug string: [764593] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764593] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764593] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764593] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764593] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764593] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764609] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764609] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764609] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764609] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764609] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764609] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764609] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764609] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764609] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764609] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764609] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764625] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764625] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [764625] CloseHandle(): NtClose failed, status = 0xC000000877F91A76 Debug string: [765546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [766546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [767546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [768546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [769546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [770546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [771546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [772546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [773546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [774546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [775546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [776546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [777546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [778546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [779546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [780546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [781546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [782546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [783546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [784546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [785546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [786546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [787546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [788546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [789546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [790546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [791546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [792546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [793546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [794546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [795546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [796546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [797546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [798546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [799546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC0000135 Thread 000004A0 terminated, exit code 077F91A76 Debug string: [800546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [801546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [802546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [803546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [804546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [805546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [806546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [807546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [808546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [809546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [810546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [811546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC000013577F91A76 Debug string: [812546] GetModuleHandleForUnicodeString(): LdrGetDllHandle failed, status = 0xC0000135 Log file closedhope this helps.. Link to comment Share on other sites More sharing options...
Dubby Posted June 29, 2013 Share Posted June 29, 2013 I found Bug in your SearchPathA function.. please examine carefully at "result variable" at line 28898, kernel32.cpp, the "result" is initialized with zero thus causes the last param for RtlUnicodeToMultiByteN to zero... maybe you intended to put something else there? Link to comment Share on other sites More sharing options...
WildBill Posted July 20, 2013 Author Share Posted July 20, 2013 Good catch! I'm going to test it right now and see if this fixes some problems. Link to comment Share on other sites More sharing options...
WildBill Posted July 21, 2013 Author Share Posted July 21, 2013 That seems to have solved several problems, so here is a link to v3 of my kernel32 rewrite. Please keep the feedback coming!http://www.mediafire.com/download/aybbhy8pjzlyw8q/Windows2000-kernel32-rewrite-v3.zip Link to comment Share on other sites More sharing options...
MacLover Posted July 22, 2013 Share Posted July 22, 2013 (edited) It seems that the rewritten kernel32 causes mshta.exe to consistently crash when running Add/Remove Programs. It also seems to make the Windows Post-install Wizard really unstable and sometimes crash in mshta.exe. Edited July 22, 2013 by MacLover Link to comment Share on other sites More sharing options...
WildBill Posted September 14, 2013 Author Share Posted September 14, 2013 I finally got sick of Dependency Walker complaining about that one missing 9x API call in mpr.dll and decided to do something about it. Up now is KB2508429 v10, which adds the routine (it actually maps it to an existing one that appears to do the same thing).I'm still occasionally working on fixing my kernel32 rewrite; I found one tiny bug but that wasn't the one I'm looking for. I captured a big log yesterday from my VM and I'll take a look at it to see what it tells me. Link to comment Share on other sites More sharing options...
leonidij Posted October 8, 2013 Share Posted October 8, 2013 Hello WildBill.You like forgot to update the link ofWindows2000-KB2508429-v10-x86-ENU.exein your 3rd post here.It still goes to the v9 download from 2012.And I seems have found 3 bugs in user32.You can see details in this thread:http://www.msfn.org/board/topic/149233-kernelex-for-win2000/page-19from post #464 and onward. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now