http://bugs.winehq.org/show_bug.cgi?id=17277
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-16 20:53:03 --- (In reply to comment #0)
Test.exe is compiled with the linker flags /base:"0x800000" /stack:0x800000,0x1000
That's your problem, put stack above. Wine needs lots of stack and it's not about to change any time soon if ever.