FASM encryption (UNICODE Example)

; encrypted with www.stringencrypt.com (v1.0.0) [FASM Assembler (32 bit)]
 
section '.data' data readable writable
 
	; szString = "FASM Assembler Encryption"
	szString dw 09B61h, 09B59h, 09B48h, 09B57h, 09B37h, 09B5Dh, 09B6Ch, 09B6Dh
                 dw 09B88h, 09B6Dh, 09B87h, 09B98h, 09B8Ch, 09B64h, 09B35h, 09B53h
                 dw 09B89h, 09B8Bh, 09B5Fh, 09B73h, 09B57h, 09B66h, 09B96h, 09B61h
                 dw 09B61h, 09B36h
 
section '.text' code readable executable
 
	mov	edx, szString
	mov	ebx, 26
	xor	ecx, ecx
 
@@:
	mov	ax, word [edx + ecx]
	dec	eax
	sub	eax, ecx
	dec	eax
	xor	eax, ecx
	add	eax, ecx
	xor	eax, ecx
	dec	eax
	xor	eax, ecx
	xor	eax, 064E7h
	not	eax
	mov	word [edx + ecx], ax
	inc	ecx
	dec	ebx
	jne	@b
 
	push	0
	push	edx
	push	edx
	push	0
	call	[MessageBoxW]

FASM encryption (ANSI Example)

; encrypted with www.stringencrypt.com (v1.0.0) [FASM Assembler (32 bit)]
 
section '.data' data readable writable
 
	; szString = "Encryption in FASM"
	szString db 065h, 03Ch, 047h, 038h, 031h, 03Ah, 036h, 041h
                 db 03Bh, 03Ch, 08Ah, 041h, 03Ch, 08Ah, 064h, 069h
                 db 057h, 05Dh, 0AAh
 
section '.text' code readable executable
 
	mov	eax, szString
	mov	ebx, 19
	mov	edx, 0
 
@@:
	mov	cl, byte [eax + edx]
	add	ecx, edx
	sub	ecx, 0DBh
	sub	ecx, edx
	sub	ecx, 0D1h
	not	ecx
	dec	ecx
	mov	byte [eax + edx], cl
	inc	edx
	dec	ebx
	jne	@b
 
	push	0
	push	eax
	push	eax
	push	0
	call	[MessageBoxA]