Markus Guptill's rapid 36 off 12 balls and Quincy de Kock's rampant 19-ball 47 helped their side on Day 2.