"factory resetting my iphone 11 pro max: i need help fixing this thing, i got it from a friend and its permanently disabled. I've been trying to restore it on my windows 10 laptop but it always freezes and says the download is corrupted is there anyway i can get past this without having to pay any money to get it fixed???"
-------
Did your Friend Sign Out of iCloud on this?
Enter the passcode incorrectly too many times, and you'd likely be locked out for good. So, hold it right there, and have your friend reset this to Factory Settings. He/Shee needs to perform as instructed here, inclosing the iCloud sign out: If you Forgot the Passcode on your iPhone, or your iPhone is Disabled - Apple Support.
Fixing this:
Connected this to a computer using a cable, and Force Restart it while it is connected with iTunes open. Use my User Tip: How to Fix an iPhone in a Boot Loop - User Tip