int __declspec(naked) t()
{__asm
{
push ebp
mov ebp,esp
push ss //反跟踪指令序列
;junk
pop ss //反跟踪指令序列
pushf //反跟踪指令序列
;junk
pop eax //反跟踪指令序列
and eax,0x00000100
jnz rt_label
xor eax,eax
mov esp,ebp
pop ebp
retn
rt_label:
xor eax,eax
inc eax
mov esp,ebp
pop ebp
retn
}}
int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hInstNULL, LPSTR lpszCmdLine, int nCmdShow)
{
MessageBox(0,t()?"1":"0",0,0);
}