Function at 0x18003e000
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x10], 0
mov rax, rcx
je 0x18003ec20
movdqa xmm2, xmmword [0x180164c10]
xor r9d, r9d
movdqa xmm3, xmmword [0x180164b70]
mov r8d, r9d
movdqa xmm4, xmmword [0x180164bb0]
mov qword [rsp + 0x38], rbp
mov ebp, dword [0x180182290]
movaps xmmword [rsp], xmm7
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
cmp ebp, 5
jl 0x18003e17a
movdqa xmm5, xmmword [0x180168310]
lea r8, [rcx + 4]
mov rbx, 0xfffffffffffffffe
mov rsi, rcx
mov edi, 2
sub rbx, rcx
neg rsi
sub rdi, rcx
mov r11, 0xfffffffffffffffc
mov rdx, r8
sub r11, rcx
nop word [rax + rax]
lea rcx, [r11 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 4]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm5, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rbx + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm5, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
lea rcx, [rsi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm5, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
lea rdx, [rdx + 8]
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm5, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 6], cx
lea rcx, [r11 + rdx]
cmp rcx, 0x10
jb 0x18003e090
jmp 0x18003e1d3
movabs r10, 0x7e7f7efefefe7ffe
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r10
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0x10
jb 0x18003e190
mov rbx, 0xfffffffffffffffe
lea r8, [rax + 4]
mov rsi, rax
mov edi, 2
sub rbx, rax
neg rsi
sub rdi, rax
mov r11, 0xfffffffffffffffc
sub r11, rax
xor byte [r8], 0xdf
mov r10, r9
movzx edx, byte [r8]
xor byte [rax], 0x3d
xor dl, 0x9e
xor byte [rax + 1], 8
xor dl, 0xeb
xor byte [rax + 2], 0xd8
xor byte [rax + 3], 0x2e
xor byte [rax + 5], 0xbc
xor byte [rax + 6], 9
xor byte [rax + 7], 0xbc
xor byte [rax + 8], 0x28
xor byte [rax + 9], 0x9b
xor byte [rax + 0xa], 0x2f
xor byte [rax + 0xb], 0xc9
xor byte [rax + 0xc], 0xbc
xor byte [rax + 0xd], 8
xor byte [rax + 0xe], 0x9c
xor byte [rax + 0xf], 0x4b
movdqa xmm5, xmmword [0x180164be0]
mov qword [rsp + 0x20], r14
movaps xmmword [rsp + 0x10], xmm6
mov byte [r8], dl
cmp ebp, 5
jl 0x18003e33a
movdqa xmm6, xmmword [0x18016da90]
mov rdx, r8
nop dword [rax + rax]
lea rcx, [rdx + r11]
movq xmm0, rcx
movzx ecx, word [rdx - 4]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + rbx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
lea rcx, [rdx + rsi]
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rdi]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
lea rdx, [rdx + 8]
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 6], cx
lea rcx, [rdx + r11]
cmp rcx, 0x10
jb 0x18003e250
jmp 0x18003e36d
movabs r14, 0xff9fbdb9fbffbfb9
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r10b
mov rdx, r14
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r10], dl
inc r10
cmp r10, 0x10
jb 0x18003e350
movdqa xmm1, xmmword [0x18016ab00]
mov r10, r9
movdqa xmm7, xmmword [0x180164b80]
movdqu xmm0, xmmword [rax]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
cmp ebp, 5
jl 0x18003e48a
movdqa xmm6, xmmword [0x18016c960]
mov rdx, r8
nop
lea rcx, [rdx + r11]
movq xmm0, rcx
movzx ecx, word [rdx - 4]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + rbx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
lea rcx, [rdx + rsi]
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rdi]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
lea rdx, [rdx + 8]
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 6], cx
lea rcx, [rdx + r11]
cmp rcx, 0x10
jb 0x18003e3a0
jmp 0x18003e4bd
movabs r14, 0xf7f7fff7ff7f7fff
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r10b
mov rdx, r14
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r10], dl
inc r10
cmp r10, 0x10
jb 0x18003e4a0
xor byte [rax], 0xfe
mov r10, r9
xor byte [rax + 1], 0xee
xor byte [rax + 2], 0xee
xor byte [rax + 3], 0xfe
xor byte [r8], 0xee
xor byte [rax + 5], 0xee
xor byte [rax + 6], 0xfe
xor byte [rax + 7], 0xee
xor byte [rax + 8], 0xee
xor byte [rax + 9], 0xfe
xor byte [rax + 0xa], 0xee
xor byte [rax + 0xb], 0xee
xor byte [rax + 0xc], 0xfe
xor byte [rax + 0xd], 0xee
xor byte [rax + 0xe], 0xee
xor byte [rax + 0xf], 0xfe
cmp ebp, 5
jl 0x18003e5fd
movdqa xmm6, xmmword [0x18016c450]
mov rdx, r8
lea rcx, [r11 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 4]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rbx + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
lea rcx, [rsi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
lea rdx, [rdx + 8]
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 6], cx
lea rcx, [r11 + rdx]
cmp rcx, 0x10
jb 0x18003e513
jmp 0x18003e62d
movabs r14, 0xf57ff5ddd75d5d7d
nop word [rax + rax]
movzx ecx, r10b
mov rdx, r14
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r10], dl
inc r10
cmp r10, 0x10
jb 0x18003e610
xor byte [r8], 0x6e
mov r10, r9
movzx ecx, byte [r8]
xor byte [rax], 0x93
xor cl, 0x7b
xor byte [rax + 1], 0xe
xor cl, 0x7e
xor byte [rax + 2], 0x69
xor byte [rax + 3], 0x3e
xor byte [rax + 5], 0x42
xor byte [rax + 6], 0xd6
xor byte [rax + 7], 0x60
xor byte [rax + 8], 0xe7
xor byte [rax + 9], 0x72
xor byte [rax + 0xa], 0xd7
xor byte [rax + 0xb], 0xc7
xor byte [rax + 0xc], 0xbd
xor byte [rax + 0xd], 0xbf
xor byte [rax + 0xe], 0x33
xor byte [rax + 0xf], 0xc6
mov byte [r8], cl
cmp ebp, 5
jl 0x18003e77a
movdqa xmm6, xmmword [0x180164ef0]
mov rdx, r8
lea rcx, [r11 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 4]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rbx + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
lea rcx, [rsi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
lea rdx, [rdx + 8]
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 6], cx
lea rcx, [r11 + rdx]
cmp rcx, 0x10
jb 0x18003e690
jmp 0x18003e7ad
movabs r14, 0x11d7755ff11dbddd
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r10b
mov rdx, r14
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r10], dl
inc r10
cmp r10, 0x10
jb 0x18003e790
movdqa xmm1, xmmword [0x18016bf00]
mov r10, r9
movdqu xmm0, xmmword [rax]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
cmp ebp, 5
jl 0x18003e8ca
movdqa xmm6, xmmword [0x180166fc0]
mov rdx, r8
nop word [rax + rax]
lea rcx, [rdx + r11]
movq xmm0, rcx
movzx ecx, word [rdx - 4]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + rbx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
lea rcx, [rdx + rsi]
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rdi]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
lea rdx, [rdx + 8]
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 6], cx
lea rcx, [rdx + r11]
cmp rcx, 0x10
jb 0x18003e7e0
jmp 0x18003e8fd
movabs r14, 0x6ac2e0dd51fbcf5f
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r10b
mov rdx, r14
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [r10 + rax], dl
inc r10
cmp r10, 0x10
jb 0x18003e8e0
xor byte [rax], 0xef
mov r10, r9
xor byte [rax + 1], 0xa9
xor byte [rax + 2], 0x39
xor byte [rax + 3], 0xef
xor byte [r8], 0xa9
xor byte [rax + 5], 0x39
xor byte [rax + 6], 0xef
xor byte [rax + 7], 0xa9
xor byte [rax + 8], 0x39
xor byte [rax + 9], 0xef
xor byte [rax + 0xa], 0xa9
xor byte [rax + 0xb], 0x39
xor byte [rax + 0xc], 0xef
xor byte [rax + 0xd], 0xa9
xor byte [rax + 0xe], 0x39
xor byte [rax + 0xf], 0xef
movaps xmm7, xmmword [rsp]
cmp ebp, 5
jl 0x18003ea4a
movdqa xmm6, xmmword [0x18016b590]
mov rdx, r8
nop word [rax + rax]
lea rcx, [rdx + r11]
movq xmm0, rcx
movzx ecx, word [rdx - 4]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + rbx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
lea rcx, [rdx + rsi]
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rdi]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
lea rdx, [rdx + 8]
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm6, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 6], cx
lea rcx, [rdx + r11]
cmp rcx, 0x10
jb 0x18003e960
jmp 0x18003ea7d
movabs r14, 0xdb143219b231b637
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r10b
mov rdx, r14
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [r10 + rax], dl
inc r10
cmp r10, 0x10
jb 0x18003ea60
xor byte [r8], 0xd8
movzx ecx, byte [r8]
xor byte [rax], 0xaa
xor cl, 0xce
xor byte [rax + 1], 0xc8
xor cl, 0x87
xor byte [rax + 2], 0x6c
xor byte [rax + 3], 0x47
xor byte [rax + 5], 2
xor byte [rax + 6], 0x6e
xor byte [rax + 7], 0xe4
xor byte [rax + 8], 1
xor byte [rax + 9], 0x8f
xor byte [rax + 0xa], 0x1d
xor byte [rax + 0xb], 0x8f
xor byte [rax + 0xc], 0xc6
xor byte [rax + 0xd], 0x34
xor byte [rax + 0xe], 0xdd
xor byte [rax + 0xf], 0xf2
movaps xmm6, xmmword [rsp + 0x10]
cmp ebp, 5
mov rbp, qword [rsp + 0x38]
mov r14, qword [rsp + 0x20]
mov byte [r8], cl
jl 0x18003ebe2
movdqa xmm4, xmmword [0x180169e10]
nop dword [rax]
lea rcx, [r8 + r11]
movq xmm0, rcx
movzx ecx, word [r8 - 4]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [r8 - 4], cx
lea rcx, [r8 + rbx]
movq xmm0, rcx
movzx ecx, word [r8 - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [r8 - 2], cx
lea rcx, [r8 + rsi]
movq xmm0, rcx
movzx ecx, word [r8]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [r8], cx
lea rcx, [r8 + rdi]
movq xmm0, rcx
movzx ecx, word [r8 + 2]
punpcklqdq xmm0, xmm0
lea r8, [r8 + 8]
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [r8 - 6], cx
lea rcx, [r8 + r11]
cmp rcx, 0x10
jb 0x18003eaf0
jmp 0x18003ec0d
movabs r8, 0xb129a74f0b2f6bcb
nop dword [rax]
movzx ecx, r9b
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r9 + rax], dl
inc r9
cmp r9, 0x10
jb 0x18003ebf0
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 0x10], 0
add rsp, 0x28
ret