Sweden's done for, IMO. I can't see them doing anything. And I still think Portugal is out -- with a remote chance if they can Queiroz on his ass ASAP and call up a competent replacement. Hell, even Scolari at this stage would be a step up over Queiroz.
The next match will be do or die for Portugal. They play away to Denmark. It's a very tough place to play and Portugal must win.
I don't think that Sweden has less chances than Portugal. On Wednesday the Swedes will play against Malta (in Sweden). With a win Sweden will have the same number of pts as Portugal, with the same number of matches played. Everything will be open.
Assuming that Sweden will beat Malta on Wednesday and make everything equal, these will be the remaining 4 matches for SWE and POR
Hungary-Sweden
Malta-Sweden
Denmark-Sweden
Sweden-Albania
Denmark-Portugal
Hungary-Portugal
Portugal-Hungary
Portugal-Malta
Their schedule is just as hard, but the advantage for Sweden is that they will play vs Denmark 2 rounds till the end, when Denmark will probably have the first place secured (and then the Scandinavian friendship might work against Portugal).
Edit: And Hungary has a nightmare of a schedule. They play twice against Portugal, once vs Sweden and once vs Denmark.