format PE GUI at 0x40000000
entry  start
include 'win32w.inc'

section 'text' readable writeable data
wcCxRt4Win     du	'CxRt4Win.dll',0

section 'impt' readable writeable data import
library kernel32,	'kernel32.dll',\
	user32, 	'user32.dll'

import	kernel32,\
	LoadLibrary,	'LoadLibraryW',\
	ExitProcess,	'ExitProcess'

section 'code' readable writeable executable code
start:	;int3
	invoke	LoadLibrary,wcCxRt4Win
	jmp	.exit
	test	eax,eax
	jnz	@f
	int3
	@@:
	add	eax,4096
	call	eax
	.exit:
	invoke	ExitProcess,0