This is a Nema17 Stepper Motor Holder. I have attached a short Nema 17 stepper to it. However it should also fit the longer version (length of 48mm).
The slotted holes have a bevelled edge so countersunk screws fit into it. If your screw should be bigger then please drill them bigger with a countersink-drill.