From eebf60323a074aab995f003843a93f23a958edcd Mon Sep 17 00:00:00 2001 From: cypherpunk Date: Wed, 18 Dec 2013 15:53:28 +0100 Subject: [PATCH] you can now set UE_SECTIONNAME doestn just return false. lazy RL guys ^^ --- TitanEngine/TitanEngine.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TitanEngine/TitanEngine.cpp b/TitanEngine/TitanEngine.cpp index c6e7907..207b1e4 100644 --- a/TitanEngine/TitanEngine.cpp +++ b/TitanEngine/TitanEngine.cpp @@ -5697,7 +5697,8 @@ __declspec(dllexport) bool TITCALL SetPE32DataForMappedFile(ULONG_PTR FileMapVA, PESections = (PIMAGE_SECTION_HEADER)((ULONG_PTR)PESections + WhichSection * IMAGE_SIZEOF_SECTION_HEADER); if(WhichData == UE_SECTIONNAME) { - return(false); + memcpy(PESections->Name, (void*)NewDataValue, 8); + return(true); } else if(WhichData == UE_SECTIONVIRTUALOFFSET) {