Those who don't have masm32
.386
.model flat, stdcall
option casemap:none
ExitProcess proto stdcall :dword
includelib kernel32.lib
printf proto cdecl :vararg
_getch proto cdecl
includelib msvcrt.lib
.data
sMsg db "Version %u.%u",13,10,0
sEnd db "Press any key to continue...",13,10,0
.code
mainCRTStartup proc c
mov edx,fs:[30h]
;mov eax,[edx+0A4h]
;mov ebx,[edx+0A8h]
;invoke printf, offset sMsg, eax, ebx
invoke printf, offset sMsg, [edx+0A4h], [edx+0A8h]
invoke printf, offset sEnd
invoke _getch
invoke ExitProcess, 0
mainCRTStartup endp
end mainCRTStartup