Onomatopoeia or imitative. For “cough up” sense, compare hawk/hock (16th century), which are almost homophonous in non-rhotic accents. For “throw” sense, compare huck. The “foul up” sense is presumably influenced by bork (late 1990s), from broken.
- (computing, slang) To foul up; to be occupied with difficulty, tangle, or unpleasantness; to be broken.
- I downloaded the program, but something is horked and it won't load.
- (slang, regional) To steal, especially petty theft or misnomer in jest.
- Can I hork that code from you for my project?
- (slang) To throw.
- Let's go hork pickles at people from the back row of the movie theatre.
- (slang) To eat hastily or greedily; to gobble.
- I don't know what got into her, but she horked all those hoagies last night!
- (slang, transitive) To move; specifically in an egregious fashion
- Go hork the kegs from out back, and then go to the party across the street and hork some girls back.
Senses “eat quickly” and “vomit” can be ambiguous, particularly when applied to food – this is a contranym.