Hi Sine! I've been a huge fan of your marvel fic for ages and especially enjoy how well versed you are in the comics! Which is why I thought of you while my friend and I were trying to figure out what comic these panels of Tony were from. Do you happen to remember even somewhat vaguely what story this was from? Thank you so much!
I know the answer to this one!
This is from Matt Fraction's Iron Man run; specifically, this is Invincible Iron Man #20, the first issue of the arc Stark Disassembled, which is the arc right after World's Most Wanted. WMW ends with Tony deleting his brain to prevent Norman Osborn from being able to access the SHRA database of superhero identities.
Stark Disassembled is about Tony's remaining friends all coming together to try to bring Tony back, and toward the beginning of the first issue here, there's about four pages of this, which is a message that Tony has recorded prior to deleting his brain containing instructions for how his friends can bring him back to life if they decide he deserves to be alive, which says a lot about Tony's opinion of himself. (I sometimes class this as one of his suicide attempts although admittedly it's more ambiguous than the other two.)
The really weird thing about it is that even though he refers to Bucky earlier in the message, at this point in the message the Captain America he's talking about is obviously meant to be Steve. But Steve is dead at the time Tony records this message, so as far as Tony should know, the Captain America he's addressing wouldn't be Steve. (Steve is alive by the time everyone watches the message but Bucky is the Cap in the room of people who are actually watching the message.) IDK, maybe he's just speaking generally about Steve. Towards the end of WMW he definitely no longer remembers that Steve is dead, but that's way after he must have left this message, because at that point the brain deletion has clearly taken hold:
Steve does show up again in the issue after this, IIM #21, as one of the people who are helping bring Tony back to life.
IIM #20 here is actually the only issue of Fraction's run I own in comic-book form, and I bought it because of the Patrick Zircher variant cover, for obvious reasons:
I think this image is also used on the trade paperback of the arc? Anyway, yeah, if you're actually buying this issue, definitely get this cover, because we all love homages to that one splash page from The Confession.