Preheat oven to 350°F and grease a 9x13-inch baking dish.
Bring a large pot of salted water to a boil. Add green beans and cook for 5 minutes until crisp-tender. Drain and set aside.
In a large skillet, melt butter over medium-high heat. Add mushrooms and cook for 5-7 minutes until golden and liquid has evaporated.
Add garlic and cook for 1 minute. Sprinkle flour over mushrooms and stir to coat. Cook for 1 minute.
Gradually whisk in broth and cream. Bring to a simmer and cook for 3-5 minutes until thickened. Stir in soy sauce, salt, and pepper.
Add green beans and 1 cup fried onions to the sauce. Stir to combine and transfer to prepared baking dish.
Bake for 20 minutes. Top with remaining fried onions and bake for an additional 5-10 minutes until onions are golden and casserole is bubbly.