format PE console
include 'win32a.inc'
invoke GetStdHandle,STD_OUTPUT_HANDLE
mov edi,sk
mov ecx,[qcsk]
mov edx,1
mMain:
push ecx
push edx
push edi
push eax
mov ebx,qcio
invoke WriteConsole,eax,edi,edx,ebx,0
pop eax
push eax
mov edi,snl
mov edx,1
mov ebx,qcio
invoke WriteConsole,eax,edi,edx,ebx,0
pop eax
pop edi
pop edx
pop ecx
inc edx
loop mMain
invoke ExitProcess,0
sk db 'KUDCS'
qcsk dd $-sk
qcio dd ?
snl db 10
include 'API\kernel32.inc'
data import
library kernel32,'KERNEL32.DLL'
end data