Semi-infinite flags. II: Local and global intersection cohomology of quasimaps spaces Algebraic local cohomologies and local \(b\)-functions attached to semiquasihomogeneous singularities with \(L(f)=2\) 