fix: restore online verify, NOP BADF3300 exit for offline path

- Restore sub_1401581D0 to original (let it run, server will reject)
- NOP jz at 0xF911A to skip BADF3300 error exit
- After online verify fails, code continues to offline registration path
- Offline path writes registry data using the product key itself
- 7 patches: 1x return 1 + 5x NOP + 1x jz->jmp
This commit is contained in:
2026-07-31 07:43:46 +08:00
parent 697e7175e8
commit 45d16cfcde
+2 -2
View File
@@ -69,8 +69,6 @@ BACKUP_PATH = (EXE_PATH + '.bak') if EXE_PATH else None
PATCHES = [ PATCHES = [
(0x154EB0, b'\x48\x89\x54\x24\x10\x53', b'\xB0\x01\xC3', (0x154EB0, b'\x48\x89\x54\x24\x10\x53', b'\xB0\x01\xC3',
'sub_1401558B0 (Edition read -> return 1)'), 'sub_1401558B0 (Edition read -> return 1)'),
(0x1577D0, b'\x4C\x89\x4C\x24\x20\x4C', b'\xB0\x01\xC3',
'sub_1401581D0 (online verify -> return 1)'),
(0x0F8F09, b'\x0F\x85\x51\x05\x00\x00', b'\x90\x90\x90\x90\x90\x90', (0x0F8F09, b'\x0F\x85\x51\x05\x00\x00', b'\x90\x90\x90\x90\x90\x90',
'NOP: key length check'), 'NOP: key length check'),
(0x0F8F16, b'\x0F\x8C\x44\x05\x00\x00', b'\x90\x90\x90\x90\x90\x90', (0x0F8F16, b'\x0F\x8C\x44\x05\x00\x00', b'\x90\x90\x90\x90\x90\x90',
@@ -81,6 +79,8 @@ PATCHES = [
'NOP: @ position check'), 'NOP: @ position check'),
(0x0F8F54, b'\x74\x1B', b'\xEB\x1B', (0x0F8F54, b'\x74\x1B', b'\xEB\x1B',
'jz -> jmp (skip lm.dll key validation)'), 'jz -> jmp (skip lm.dll key validation)'),
(0x0F911A, b'\x0F\x84\x9A\x02\x00\x00', b'\x90\x90\x90\x90\x90\x90',
'NOP: BADF3300 error exit (continue offline path)'),
] ]