Blend or process cooked beans. Force them through a strainer to obtain a smooth puree. Set aside covered.
On a flat baking dish bake onions coarsely chopped with garlic cloves in oven (300ş F, 175ş C) until golden. Blend or process them.
Fry chopped bacon until crispy. Drain in papel towel.
In the same fat, pour ˝ cup oil and heat. Place processed onions, garlic, nuts, oregano, salt, pepper and half of chili. Incorporate ham and bacon. If necessary add of oil. Mix well.
Place half of mixture in a pan and incorporate the bean puree. Heat puree, stirring constantly with wooden spoon. Incorporate milk until the desired consistency is achieved.
Season with salt, pepper, oregano and more chili, if necessary.
Place puree in a serving dish and sprinkle the other half of mixture.
Force hard boiled egg through a strainer and drizzle on top.
Serve with white rice.
To grind the ají mirasol soak in cold water for 5 hours. Then cut and remove seeds and veins. Boil for 2 hours, changing the water after 1 hour to decrease hotness. Blend with oil until a puree consistency is obtained.