That's what I was thinking, Fancypants.
One turn of the wheel would lift the box, to feed 1 nail or rivet down to the punch mechanism at lower left ........ which would "drive it" into whatever material (cloth, leather, metal or wood) was placed on that platform ...... with the nail or rivet possibly being "clinched" (bent over) on the underside.