获取kernel32

来源:互联网 发布:验证算法 编辑:程序博客网 时间:2024/06/04 20:10
GetKernelBase proc
  assume fs:nothing
  
  mov eax, fs:[18h]
  mov eax, [eax+30h]
  mov eax, [eax+0ch]
  mov eax, [eax+0ch]
  mov eax, [eax]
  mov eax, [eax]

  mov eax, [eax+18h]

  ret

GetKernelBase proc