Complex electronic structure evolution of NdSb across the magnetic transition