Heat the grated corn, chopped basil, salt and butter in a large pot. Add the milk little by little. Stirring constantly until the mixture thickens. Cook over low heat for 5 minutes. Leave aside while you prepare the meat filling.
Fry the onions in oil until transparent, add the ground meat and stir to brown. Season with salt, pepper and ground cumin. To prepare the pie use an oven-proof dish that you can take to table. Spread over the bottom of the dish the onion-ground meat mixture. Arrange over this the hard-boiled egg slices, olives and raisins. Put the chicken pieces on top. Cover the filling with the corn mixture. Sprinkle the confectioner´s sugar over the top.
Bake in a hot oven 400ºF (205ºC) for 30-35 minutes until the crust is golden brown. Serve at once.