This forum is for shaders, not for fixed function effects.

Anyway: If the effect does not use a vertex shader, it doesn't make much sens. The code calculates the dot-product between the value stored in the diffuse-lighting channel (normally the diffuse lightin ) and the first texture (the normal map). It than multiplies the result with the base texture.