Generalized moonshine, II: Borcherds products