“I so much as look” doesn't make any sense to me
I found the following in a book:
Goyle reached toward the Chocolate Frogs next to Ron ---- Ron leapt forward, but before he'd so much as touched Goyle, Goyle let out a horrible yell.
I can't make sense of the part in italic. Could someone explain what it means and how is it constructed?