Function at 0x1800d3400
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x10], 0
mov rax, rcx
je 0x1800d4020
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 0x1800d357a
movdqa xmm5, xmmword [0x1801682f0]
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 0x1800d3490
jmp 0x1800d35d3
movabs r10, 0x7e7f7efe7f7ffefe
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 0x1800d3590
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
movzx edx, byte [r8]
mov r10, r9
movzx ecx, byte [rax + 0xe]
not dl
xor byte [rax], 0xdf
xor dl, 0xdf
xor byte [rax + 1], 0xa8
xor dl, 0xee
xor byte [rax + 2], 0xbf
not cl
xor byte [rax + 3], 0x7f
xor cl, 0xa0
xor byte [rax + 5], 0x59
xor byte [rax + 6], 0x3a
xor byte [rax + 7], 0x3d
xor byte [rax + 8], 0xca
xor byte [rax + 0xa], 0x5e
xor byte [rax + 0xb], 0xad
xor byte [rax + 0xc], 0xfb
xor byte [rax + 0xd], 0x58
xor byte [rax + 0xf], 0x2a
not byte [rax + 9]
movdqa xmm5, xmmword [0x180164be0]
mov qword [rsp + 0x20], r14
movaps xmmword [rsp + 0x10], xmm6
mov byte [r8], dl
mov byte [rax + 0xe], cl
cmp ebp, 5
jl 0x1800d373a
movdqa xmm6, xmmword [0x18016da40]
mov rdx, r8
nop dword [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 0x1800d3650
jmp 0x1800d376d
movabs r14, 0xff99bbd9dfdfdddd
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 0x1800d3750
movdqa xmm1, xmmword [0x18016a2e0]
mov r10, r9
movdqa xmm7, xmmword [0x180164b80]
movdqu xmm0, xmmword [rax]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
cmp ebp, 5
jl 0x1800d388a
movdqa xmm6, xmmword [0x180167ba0]
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 0x1800d37a0
jmp 0x1800d38bd
movabs r14, 0x77fff7f7777fff77
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 0x1800d38a0
xor byte [rax], 0x7f
mov r10, r9
xor byte [rax + 1], 0xee
xor byte [rax + 2], 0xee
xor byte [rax + 3], 0x7f
xor byte [r8], 0xee
xor byte [rax + 5], 0xee
xor byte [rax + 6], 0x7f
xor byte [rax + 7], 0xee
xor byte [rax + 8], 0xee
xor byte [rax + 9], 0x7f
xor byte [rax + 0xa], 0xee
xor byte [rax + 0xb], 0xee
xor byte [rax + 0xc], 0x7f
xor byte [rax + 0xd], 0xee
xor byte [rax + 0xe], 0xee
xor byte [rax + 0xf], 0x7f
cmp ebp, 5
jl 0x1800d39fd
movdqa xmm6, xmmword [0x18016c5a0]
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 0x1800d3913
jmp 0x1800d3a2d
movabs r14, 0xf75775d7ff5d755d
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 0x1800d3a10
xor byte [r8], 0xc5
mov r10, r9
movzx ecx, byte [r8]
xor byte [rax], 0x1d
xor cl, 0x33
xor byte [rax + 1], 0xb0
xor cl, 0x3a
xor byte [rax + 2], 0x60
xor byte [rax + 3], 0xaa
xor byte [rax + 5], 9
xor byte [rax + 6], 0x75
xor byte [rax + 7], 0xe9
xor byte [rax + 8], 0xf3
xor byte [rax + 9], 0x81
xor byte [rax + 0xa], 0xd8
xor byte [rax + 0xb], 0x2c
xor byte [rax + 0xc], 0x75
xor byte [rax + 0xd], 0xba
xor byte [rax + 0xe], 0x80
xor byte [rax + 0xf], 1
mov byte [r8], cl
cmp ebp, 5
jl 0x1800d3b7a
movdqa xmm6, xmmword [0x180165400]
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 0x1800d3a90
jmp 0x1800d3bad
movabs r14, 0x1fff5b3319b3bfb5
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 0x1800d3b90
movdqa xmm1, xmmword [0x1801693c0]
mov r10, r9
movdqu xmm0, xmmword [rax]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
cmp ebp, 5
jl 0x1800d3cca
movdqa xmm6, xmmword [0x18016bd80]
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 0x1800d3be0
jmp 0x1800d3cfd
movabs r14, 0xe049ed6265e4d5c0
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 0x1800d3ce0
xor byte [rax], 0xe4
mov r10, r9
xor byte [rax + 1], 0xe3
xor byte [rax + 2], 0x3a
xor byte [rax + 3], 0xe4
xor byte [r8], 0xe3
xor byte [rax + 5], 0x3a
xor byte [rax + 6], 0xe4
xor byte [rax + 7], 0xe3
xor byte [rax + 8], 0x3a
xor byte [rax + 9], 0xe4
xor byte [rax + 0xa], 0xe3
xor byte [rax + 0xb], 0x3a
xor byte [rax + 0xc], 0xe4
xor byte [rax + 0xd], 0xe3
xor byte [rax + 0xe], 0x3a
xor byte [rax + 0xf], 0xe4
movaps xmm7, xmmword [rsp]
cmp ebp, 5
jl 0x1800d3e4a
movdqa xmm6, xmmword [0x18016b060]
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 0x1800d3d60
jmp 0x1800d3e7d
movabs r14, 0xd57436dbb7f67936
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 0x1800d3e60
xor byte [r8], 0xdf
movzx ecx, byte [r8]
xor byte [rax], 0xea
xor cl, 0xa7
xor byte [rax + 1], 0x4a
xor cl, 0x17
xor byte [rax + 2], 0x3a
xor byte [rax + 3], 0xb5
xor byte [rax + 5], 0xd1
xor byte [rax + 6], 0x49
xor byte [rax + 7], 0xec
xor byte [rax + 8], 0xd2
xor byte [rax + 9], 0x63
xor byte [rax + 0xa], 0xcc
xor byte [rax + 0xb], 0x92
xor byte [rax + 0xc], 0x47
xor byte [rax + 0xd], 8
xor byte [rax + 0xe], 0x65
xor byte [rax + 0xf], 0x88
movaps xmm6, xmmword [rsp + 0x10]
cmp ebp, 5
mov rbp, qword [rsp + 0x38]
mov r14, qword [rsp + 0x20]
mov byte [r8], cl
jl 0x1800d3fe2
movdqa xmm4, xmmword [0x180169810]
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 0x1800d3ef0
jmp 0x1800d400d
movabs r8, 0x9da383577da329c7
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 0x1800d3ff0
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 0x10], 0
add rsp, 0x28
ret