Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ int _cdecl main()
return EXIT_FAILURE;
}

Name = L"RobloxPlayerBeta.exe";
Name = NULL;
DebugMode = FALSE;
DecryptFactor = 0.00f;
DecryptFactor = 0.60f;
OutputPath = L".";

for (int i = 1; i < nArgs; i++)
Expand Down
11 changes: 10 additions & 1 deletion src/sections.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ ResolveSections(_In_ PDUMPER Dumper, _In_ PBYTE *OriginalImage)
//
SectionHeader->Misc.VirtualSize = ALIGN_UP(SectionHeader->Misc.VirtualSize, PAGE_SIZE);

//
// We wan't to skip the vmp0 section as it prvents our dump from being loaded in IDA.
//
if (lstrcmpA((PCHAR)SectionHeader->Name, ".vmp0") == 0)
{
info("Skipping section %s", SectionHeader->Name);
continue;
}

//
// Calculate the base address of the section.
//
Expand All @@ -71,7 +80,7 @@ ResolveSections(_In_ PDUMPER Dumper, _In_ PBYTE *OriginalImage)
//
if (IsPossiblyEncrypted(SectionHeader))
{
if (!DecryptSection(Dumper, SectionHeader, ImageBase))
if (Dumper->DecryptionFactor && !DecryptSection(Dumper, SectionHeader, ImageBase))
{
return FALSE;
}
Expand Down