Need some help on how I can pass the following test:

00AA10A4  lea         ecx,[eax-1]  
00AA10A7  test        eax,ecx  
00AA10A9  je          LockFunc2+27h (0AA10B1h) 

From my understanding, lea in this case is simply doing ecx = eax - 1 (at least thats what I can observe from debugging) However I keep failing the test/je which leads to program termination. I'm trying my best to reverse engineer the function, however I would like to ask for advice only and not solutions. Still would like to figure it out myself but growing a bit frustrated :)

I answered my own question. Is looking for a power of 2 ^_^