The ability grants you control of all creatures that are blocking it as the ability resolves. This will include any creatures that were put onto the battlefield blocking it.

Artwork
Loading artwork…
The Wretched
Fifth Edition · #197 · EN
Nonfoil—Foil—
Card rules
At end of combat, gain control of all creatures blocking this creature for as long as you control this creature.
2/5
Once I had the strength but no wisdom; now I have the wisdom but no strength. —Persian proverb
Rare · Illustrated by Christopher Rush
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Old School Legal
PreDH Legal
Premodern Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Any blocking creatures that regenerated during combat will have been removed from combat. Since such creatures are no longer in combat, they cannot be blocking The Wretched, which means you won’t be able to gain control of them.
If The Wretched itself regenerated during combat, then it will have been removed from combat. Since it is no longer in combat, there cannot be any creatures blocking it, which means you won’t be able to gain control of any creatures.
The Wretched’s ability triggers only if it’s still on the battlefield when the end of combat step begins (after the combat damage step). For example, if it’s blocked by a 7/7 creature and is destroyed, its ability won’t trigger at all.
If The Wretched leaves the battlefield, you no longer control it, so the duration of its control-change effect ends.
If you lose control of The Wretched before its ability resolves, you won’t gain control of the creatures blocking it at all.
Once the ability resolves, it doesn’t care whether the permanents you gained control of remain creatures, only that they remain on the battlefield.