In a large pot, melt butter over medium heat. Add onion, carrots, and celery, and cook until softened, about 5 minutes. Stir in garlic, thyme, and oregano, and cook for another minute.
Sprinkle the flour over the vegetables and stir to coat. Cook for 2 minutes to remove the raw flour taste.
Gradually add vegetable broth while stirring continuously to avoid lumps. Add potatoes and bring to a boil. Reduce the heat and simmer until potatoes are tender, about 15 minutes.
Stir in heavy cream, broccoli, and corn. Simmer for another 5 minutes, or until the broccoli is tender. Season with salt and pepper to taste.