This is a 38mm x 38mm standoff for a small temperature controller board to give it a smooth surface for use with double-sided tape or adhesive. Specifically the HiLetgo W1701 12V DC Temperature Controller.
Designed for M4 nuts to be held captive in the bottom. The two small pegs in the corners keep the board from wobbling once mounted.
The author hasn't provided the model origin yet.