glad you posted, crazybones. it takes courage to admit we think we have a problem with booze and/or alcohol. it sounds like you can see where this is taking you and from my experience it only gets worse, imho. you seem to be looking for solutions and that is good.
first i'd get rid of that "friend". you may know that old expression, he who sleeps with dogs gets fleas. the same applies to those of us that can't predict the outcome when we drink and drug. hanging around ppl that use leads us right back from where we had come from. that "friend" just wants a drug or booze buddy. you don't have to go along for that deadly ride. i've witnessed good friends that decided to hang with their old buddies and i've gone to some of their funerals. that kept me sober tho i'm sad they made the choice they made.
many of us have gotten clean and sober using a 12 step program of recovery. for me that has been the best solution in my entire life. some ppl discover other ways but the programs are free for the taking....it's up to you to decide.
i wish you well, fellow traveler. hope you will keep us posted

and once again, i'm glad you are taking a hard look at your life and where it's taking you.
we don't have to live that way anymore...you still have a
choice. if you choose being clean and sober i can honestly promise you that you will never regret it.
sorry didn't see your update to cap until i posted. so glad you are taking that first step!!!
once again i hope you will let us know how you're doing. we are always here to support your efforts to stay clean. it's not easy but it's sure worth it.