Preheat oven to 350 degrees F (175 degrees C). Grease a 2 quart casserole dish. In a large mixing bowl, combine eggs, cream style corn, sour cream and melted butter. Stir in whole kernel corn, cheese, onion and chilies. Stir in the corn muffin mix until just moistened. Bake in a preheated 350 degrees F (175 degrees C) oven for 75 minutes; or until an inserted knife comes out clean and the top is golden. Let stand 5 minutes before serving.