有没有人知道为什么重装系统了软件试用期还是不能重置! - 『悬赏问答区』 - 吾爱破解
求助软件解包问题 - 『脱壳破解讨论求助区』
简单分析
image-20240915102529-xbongum.png (64.89 KB, 下载次数: 0)
下载附件
2024-9-15 12:42 上传
image-20240915102745-55ap35o.png (111.54 KB, 下载次数: 0)
下载附件
2024-9-15 12:42 上传
image-20240915103101-8g8r7a4.png (604.99 KB, 下载次数: 0)
下载附件
2024-9-15 12:43 上传
image-20240915104442-9u13p1a.png (21.96 KB, 下载次数: 0)
下载附件
2024-9-15 12:43 上传
image-20240915104500-8tbm7q4.png (118.68 KB, 下载次数: 0)
下载附件
2024-9-15 12:43 上传
方法一:使用ida修改汇编代码,强制绕过许可检测
image-20240915110253-hfs2r8r.png (37.25 KB, 下载次数: 0)
下载附件
2024-9-15 12:43 上传
pixpix2024_1.png (22.21 KB, 下载次数: 0)
下载附件
2024-9-15 14:54 上传
image-20240915110956-cwd4jf9.png (105.35 KB, 下载次数: 0)
下载附件
2024-9-15 12:44 上传
image-20240915111226-17cqq1e.png (47.43 KB, 下载次数: 0)
下载附件
2024-9-15 12:44 上传
int __thiscall sub_401350(const WCHAR *this) { __int64 v2; // kr00_8 DWORD (__stdcall *v3)(); // esi HANDLE v4; // eax char *v5; // edi __int16 v6; // ax char *v7; // edi __int16 v8; // ax HWND v9; // eax HANDLE v10; // ecx HANDLE v11; // eax BOOL Wow64Process; // [esp+10h] [ebp-3D8h] BYREF LPCWSTR lpParameters; // [esp+14h] [ebp-3D4h] __int64 v14; // [esp+18h] [ebp-3D0h] BYREF struct _NOTIFYICONDATAW Filename; // [esp+20h] [ebp-3C8h] BYREF lpParameters = this; if ( !sub_409180() ) { sub_402810( &off_430C48, 4, L"d:\\project\\surrealcapture\\surrealcapture\\surrealcapture\\360gamecapture.cpp", 78, L"ASSERT"); return 0; } v2 = qword_431D58; sub_40E084(&v14); if ( (v14 - v2) / 86400 >= 15 || v14 <= v2 ) // 计算当前时间与安装日期的时间差,如果超过15天或者当前时间早于安装时间,则提示试用期已过期 { sub_408BC0(1u); sub_402810( &off_430C48, 3, L"d:\\project\\surrealcapture\\surrealcapture\\surrealcapture\\360gamecapture.cpp", 84, L"Surreal Capture trial period has expired."); goto LABEL_42; } if ( !sub_409180() ) // 再次许可检查,如果 sub_409180() 再次返回 false,则显示一个错误消息 { sub_402810( &off_430C48, 4, L"d:\\project\\surrealcapture\\surrealcapture\\surrealcapture\\360gamecapture.cpp", 101, L"ASSERT"); MessageBoxW( 0, L"The data for install date was corrupted. Please purchase Windows 10 Movies & TV Codec Pack.", L"Surreal Capture", 0x10u); return 0; } if ( sub_409240() ) // 如果 sub_409240() 返回 true,则表示试用期已过期 { sub_402810( &off_430C48, 3, L"d:\\project\\surrealcapture\\surrealcapture\\surrealcapture\\360gamecapture.cpp", 108, L"Surreal Capture trial period has expired."); ...
image-20240915115540-kybiz35.png (33.84 KB, 下载次数: 0)
下载附件
2024-9-15 12:44 上传
image-20240915121438-j7vd7nz.png (69.35 KB, 下载次数: 0)
下载附件
2024-9-15 12:45 上传
image-20240915121607-rfm8joh.png (54.47 KB, 下载次数: 0)
下载附件
2024-9-15 12:45 上传
image-20240915121721-ukt729x.png (29.82 KB, 下载次数: 0)
下载附件
2024-9-15 12:45 上传
image-20240915121925-irbjgig.png (51.79 KB, 下载次数: 0)
下载附件
2024-9-15 12:45 上传
image-20240915122022-yt62hxy.png (154.69 KB, 下载次数: 1)
下载附件
2024-9-15 12:45 上传
方法二:Hook GetSystemTimeAsFileTime
__int64 __cdecl sub_40E084(__int64 *a1) { __int64 result; // rax struct _FILETIME SystemTimeAsFileTime; // [esp+0h] [ebp-8h] BYREF SystemTimeAsFileTime = 0i64; GetSystemTimeAsFileTime(&SystemTimeAsFileTime);// 调用GetSystemTimeAsFileTime if ( *(_QWORD *)&SystemTimeAsFileTime - 116444736000000000i64 >= 325368000000000000i64 ) result = -1i64; else result = (*(_QWORD *)&SystemTimeAsFileTime - 116444736000000000i64) / 10000000; if ( a1 ) *a1 = result; return result; }
#include <windows.h> #include <detours.h> #include <iostream> static void (WINAPI* Real_GetSystemTimeAsFileTime)(LPFILETIME) = GetSystemTimeAsFileTime; void WINAPI My_GetSystemTimeAsFileTime(LPFILETIME lpSystemTimeAsFileTime) { SYSTEMTIME st; // 2024年9月14日20:00:00 st.wYear = 2024; st.wMonth = 9; st.wDay = 14; st.wHour = 20; st.wMinute = 0; st.wSecond = 0; st.wMilliseconds = 0; SystemTimeToFileTime(&st, lpSystemTimeAsFileTime); } BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break; } return TRUE; } // 安装 Hook extern "C" __declspec(dllexport) void hooknew() { DetourTransactionBegin(); DetourUpdateThread(GetCurrentThread()); if (DetourAttach(&(PVOID&)Real_GetSystemTimeAsFileTime, My_GetSystemTimeAsFileTime) == NO_ERROR) { std::cout << "Hook attached successfully." << std::endl; } else { std::cerr << "Failed to attach hook." << std::endl; } if (DetourTransactionCommit() == NO_ERROR) { std::cout << "Hook successfully installed.\n" << std::endl; } else { std::cerr << "Hook installation failed.\n" << std::endl; } } // 卸载 Hook extern "C" __declspec(dllexport) void unhooknew() { DetourTransactionBegin(); DetourUpdateThread(GetCurrentThread()); if (DetourDetach(&(PVOID&)Real_GetSystemTimeAsFileTime, My_GetSystemTimeAsFileTime) == NO_ERROR) { std::cout << "Hook detached successfully." << std::endl; } else { std::cerr << "Failed to detach hook." << std::endl; } DetourTransactionCommit(); }
PixPin_2024-09-15_13-03-19.png (232.24 KB, 下载次数: 0)
下载附件
2024-9-15 13:13 上传
PixPin_2024-09-15_13-05-53.png (77.78 KB, 下载次数: 1)
下载附件
2024-9-15 13:13 上传
PixPin_2024-09-15_13-11-34.png (199.58 KB, 下载次数: 0)
下载附件
2024-9-15 13:14 上传
查看全部评分