![]() |
|
#1
|
|||
|
|||
|
Winlicense loader proplem
Hello,
I have protected a crackme with themida winlicense with All protecting options then i have tried to make a loader to reverse a jnz in the code section but after making the loader it says no opcode found,also i used patching using the VA once and the RVA but it is still shows the same proplem. Any one has done it before? |
|
#2
|
|||
|
|||
|
If the target is a dll then the dll's base addresses are usually loaded on different offsets so you need to calculate the offset of the patch dynamically based on the base address of the target.
HMODULE hTarget = GetModuleHandle(TargetName); uintptr_t patch_VA = (uintptr_t)hTarget + 0x1000 + patch_RVA; or better use pattern search to directly find the patch VA: uintptr_t patch_VA = (uintptr_t)find_pattern(TargetName, pattern); |
![]() |
| Thread Tools | |
| Display Modes | |
|
|