Based on my understanding of all of the rules, here are the scenarios where the 49ers will make it into the playoffs:
49ers win 3 games, AZ loses 2
49ers win 2 games, AZ loses 3
6 teams are vying for 2 wild card spots
First, the 49ers must win all of their remaining games.
Green Bay is already assured of having a spot before the 49ers. So that leaves the 49ers hoping for one spot. Since the best record that the 49ers can have is 9-7, and Philly currently has a 9-4 record, Philly only has to win one game to eliminate the 49ers from wild card contention. Even if Philly loses, the 49ers will still be eliminated if Dallas wins 2 or Giants win 3.
SIMPLE ELIMINATION SCENARIOS
49er loss combined with AZ win
49ers lose 2
AZ wins 2
Philadelphia wins 1
Dalls wins 2
Giants win 3
The bottom line is that the 49ers best chance of the playoffs is by beating AZ for the Division title, and that is highly unlikely. The 49ers playoff hopes would have been so much better if they had 1 more win right now.