Damnation Posted June 29, 2017 Share Posted June 29, 2017 1 hour ago, Dibya said: See with Cff explorer it is creating export table after rsc section. If it do next bit up first optimization then fine other wise not . I do not know whether it do so what sort of problems would this cause for XP? Link to comment Share on other sites More sharing options...
Dibya Posted June 29, 2017 Author Share Posted June 29, 2017 9 minutes ago, Damnation said: what sort of problems would this cause for XP? Some apps may crash! !! But I think it do the optimization so I hope it will not cause problems Link to comment Share on other sites More sharing options...
Damnation Posted June 29, 2017 Share Posted June 29, 2017 (edited) observed an error in shell32.dll reboot fine though. Edited June 29, 2017 by Damnation Link to comment Share on other sites More sharing options...
Dibya Posted June 29, 2017 Author Share Posted June 29, 2017 This shell32 api exist only in 98/ME Link to comment Share on other sites More sharing options...
Damnation Posted June 29, 2017 Share Posted June 29, 2017 I tried the patched dlls (renamed tmp files as you suggested) got a STOP c0000021a BSOD error Link to comment Share on other sites More sharing options...
Dibya Posted June 29, 2017 Author Share Posted June 29, 2017 47 minutes ago, Damnation said: I tried the patched dlls (renamed tmp files as you suggested) got a STOP c0000021a BSOD error It always occur I informed earlier . May be I have to end up patching manually. Link to comment Share on other sites More sharing options...
Damnation Posted June 29, 2017 Share Posted June 29, 2017 15 hours ago, Dibya said: It always occur I informed earlier . May be I have to end up patching manually. I'm going to try something, I'll let you know if it works. Link to comment Share on other sites More sharing options...
Dibya Posted June 29, 2017 Author Share Posted June 29, 2017 Okay Link to comment Share on other sites More sharing options...
Damnation Posted June 29, 2017 Share Posted June 29, 2017 (edited) I'm trying to find the part of the code that calls the section it creates "KernelEx" and change it, but I can't seem to find it. edit: found it in common.h Edited June 29, 2017 by Damnation Link to comment Share on other sites More sharing options...
Damnation Posted June 29, 2017 Share Posted June 29, 2017 This code adds a second .data section to dll files instead of the existing .data section. If anyone knows how to fix it would be appreciated. https://ufile.io/6am9o Link to comment Share on other sites More sharing options...
Dibya Posted June 30, 2017 Author Share Posted June 30, 2017 I will see it when I will get time. Link to comment Share on other sites More sharing options...
roytam1 Posted June 30, 2017 Share Posted June 30, 2017 10 hours ago, Damnation said: This code adds a second .data section to dll files instead of the existing .data section. If anyone knows how to fix it would be appreciated. https://ufile.io/6am9o in patch.cpp: /** Processes patches and integrates them into the PE file. * @param PEfile PE file. * @param patches Table of patches for selected PE file. */ void apply_patches(CPEFile& PEfile, abstract_patch* patches[]) { /* ... */ //create new section int UpdateRVA; char * UpdateOfs = NULL; if (total_code_size) { UpdateOfs = (char *) PEfile.AddSection(UPDT_SEC_NAME, total_code_size, &UpdateRVA, IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_CNT_CODE); //check if section creation/increase was successful if ((!UpdateOfs) || (!UpdateRVA)) { throw patch_exception("Failed to create '" UPDT_SEC_NAME "' section"); } memset(UpdateOfs, 0, total_code_size); } Link to comment Share on other sites More sharing options...
piotrhn Posted July 2, 2017 Share Posted July 2, 2017 Does somebody know how customize Engine of KEX to insert new section before ".rsrsc" On 17.04.2017 at 10:30 AM, blackwingcat said: You Should insert extend table before ".rsrc" Move "KernelEx" table after ".data" Link to comment Share on other sites More sharing options...
Damnation Posted July 3, 2017 Share Posted July 3, 2017 On 02/07/2017 at 11:15 PM, piotrhn said: Does somebody know how customize Engine of KEX to insert new section before ".rsrsc" @piotrhnThanks, Whilst I was experimenting with the code I noticed that the patched ws2_32.dll and uxtheme.dll were showing up as garbage in CFF explorer whereas the other patched DLLs seemed to be fine. Link to comment Share on other sites More sharing options...
Dibya Posted July 14, 2017 Author Share Posted July 14, 2017 Please give me some link of land & wlan driver needed to run on xp ? Officially they not provided driver, I wish to run them on xp. Realtek lan driver from Win7 working on developement version of ExtendedXP with addition of ndis.sys from win vista. Link to comment Share on other sites More sharing options...
Recommended Posts