⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unmorphine.dpr

📁 very useful codes by uall,very useful codes by uall,very useful codes by uall,very useful codes by u
💻 DPR
字号:
program unmorphine;

uses
  windows,
  uallUtil,
  uallHook,
  sysutils;


procedure exemain(s: string);
var
  SUInfo: TStartupInfo;
  ProcInfo: TProcessInformation;
begin
  FillChar(SUInfo.cb,sizeof(SUInfo),#0);
  CreateProcess(pchar(s), nil, NIL, NIL, FALSE, CREATE_SUSPENDED, NIL, NIL, SUInfo, ProcInfo);
  uallHook.InjectLibrary(ProcInfo.dwProcessId,pchar(uallUtil.GetExeDirectory+'dump.dll'));
  Sleep(100);
  ResumeThread(ProcInfo.hThread);
end;

const unm = 'unmorphine';
begin
  if (paramcount > 0) and fileexists(paramstr(1)) then
  begin
    if MessageBox(0,'try to unmorph (programm will started!)',unm,MB_OKCANCEL) = idok then
      exemain(paramstr(1)) else
      MessageBox(0,'arborted by user',unm,MB_OK);
  end else
    MessageBox(0,'no file selected',unm,MB_OK);
end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -