#include <stdio.h> int main(void) { long addr=0; __asm { mov eax,fs:0x30; mov eax,[eax+0x0c]; mov ebx,[eax+0x1c]; mov eax,[ebx]; mov ebx,[eax+0x08]; mov addr,ebx; } printf("Kernel32.dll的基址:0x%p/n", addr); return 0; }