Function at 0x180022fc0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x10], 0
mov rax, rcx
je 0x180023bf0
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 0x18002313a
movdqa xmm5, xmmword [0x180168d70]
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 0x180023050
jmp 0x180023193
movabs r10, 0x7ffefefffefe7fff
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 0x180023150
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 ecx, byte [rax + 1]
movzx edx, byte [r8]
not cl
xor byte [rax], 0xbc
xor cl, 0x62
xor byte [rax + 2], 0x58
xor dl, 0x3d
xor byte [rax + 3], 0x28
xor dl, 0xba
xor byte [rax + 5], 0x6d
xor byte [rax + 7], 0x5c
xor byte [rax + 8], 0x1c
xor byte [rax + 9], 0x99
xor byte [rax + 0xa], 8
xor byte [rax + 0xc], 0xd
xor byte [rax + 0xd], 0x5c
xor byte [rax + 0xe], 0xfd
xor byte [rax + 0xf], 0xdd
movdqa xmm5, xmmword [0x180164be0]
mov byte [rax + 1], cl
movzx ecx, byte [rax + 6]
not cl
mov qword [rsp + 0x20], r14
xor cl, 0x63
movaps xmmword [rsp + 0x10], xmm6
mov byte [rax + 6], cl
movzx ecx, byte [rax + 0xb]
not cl
mov byte [r8], dl
xor cl, 0xe7
mov byte [rax + 0xb], cl
cmp ebp, 5
jl 0x18002330a
movdqa xmm6, xmmword [0x18016bc30]
mov rdx, r8
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 0x180023220
jmp 0x18002333d
movabs r14, 0xdfd9fdddbdbfbf9d
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 0x180023320
movdqa xmm1, xmmword [0x18016bf60]
mov r10, r9
movdqa xmm7, xmmword [0x180164b80]
movdqu xmm0, xmmword [rax]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
cmp ebp, 5
jl 0x18002345a
movdqa xmm6, xmmword [0x1801686d0]
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 0x180023370
jmp 0x18002348d
movabs r14, 0x7f7777ff77f7f7ff
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 0x180023470
xor byte [rax], 0x66
mov r10, r9
xor byte [rax + 1], 0x76
xor byte [rax + 3], 0x66
xor byte [r8], 0x76
xor byte [rax + 6], 0x66
xor byte [rax + 7], 0x76
xor byte [rax + 9], 0x66
xor byte [rax + 0xa], 0x76
xor byte [rax + 0xc], 0x66
xor byte [rax + 0xd], 0x76
xor byte [rax + 0xf], 0x66
not byte [rax + 2]
not byte [rax + 5]
not byte [rax + 8]
not byte [rax + 0xb]
not byte [rax + 0xe]
cmp ebp, 5
jl 0x1800235ca
movdqa xmm6, xmmword [0x1801686a0]
mov rdx, r8
nop
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 0x1800234e0
jmp 0x1800235fd
movabs r14, 0x7f75dff55f7d55d5
nop dword [rax]
nop dword [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 0x1800235e0
xor byte [r8], 0x7d
mov r10, r9
movzx ecx, byte [r8]
xor byte [rax], 0xb7
xor cl, 0x3b
xor byte [rax + 1], 0xfd
xor cl, 0xf7
xor byte [rax + 2], 0xde
xor byte [rax + 3], 0x7b
xor byte [rax + 5], 0xbf
xor byte [rax + 6], 0x25
xor byte [rax + 7], 0xc2
xor byte [rax + 8], 0xea
xor byte [rax + 9], 0x7d
xor byte [rax + 0xa], 0xae
xor byte [rax + 0xb], 0x21
xor byte [rax + 0xc], 0x8a
xor byte [rax + 0xd], 0x7a
xor byte [rax + 0xe], 0xed
xor byte [rax + 0xf], 0x73
mov byte [r8], cl
cmp ebp, 5
jl 0x18002374a
movdqa xmm6, xmmword [0x180165900]
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 0x180023660
jmp 0x18002377d
movabs r14, 0x39917df99d3733dd
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 0x180023760
movdqa xmm1, xmmword [0x18016a9f0]
mov r10, r9
movdqu xmm0, xmmword [rax]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
cmp ebp, 5
jl 0x18002389a
movdqa xmm6, xmmword [0x18016b180]
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 0x1800237b0
jmp 0x1800238cd
movabs r14, 0xd6f441655bcff07f
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 0x1800238b0
xor byte [rax], 0x37
mov r10, r9
xor byte [rax + 1], 0xea
xor byte [rax + 2], 0xb3
xor byte [rax + 3], 0x37
xor byte [r8], 0xea
xor byte [rax + 5], 0xb3
xor byte [rax + 6], 0x37
xor byte [rax + 7], 0xea
xor byte [rax + 8], 0xb3
xor byte [rax + 9], 0x37
xor byte [rax + 0xa], 0xea
xor byte [rax + 0xb], 0xb3
xor byte [rax + 0xc], 0x37
xor byte [rax + 0xd], 0xea
xor byte [rax + 0xe], 0xb3
xor byte [rax + 0xf], 0x37
movaps xmm7, xmmword [rsp]
cmp ebp, 5
jl 0x180023a1a
movdqa xmm6, xmmword [0x1801652c0]
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 0x180023930
jmp 0x180023a4d
movabs r14, 0x1cd8b253dc3e7d9a
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 0x180023a30
xor byte [r8], 0xbf
movzx ecx, byte [r8]
xor byte [rax], 0xeb
xor cl, 0x1e
xor byte [rax + 1], 0x5f
xor cl, 0x52
xor byte [rax + 2], 6
xor byte [rax + 3], 0x4f
xor byte [rax + 5], 0xd5
xor byte [rax + 6], 0x74
xor byte [rax + 7], 0xe1
xor byte [rax + 8], 0x85
xor byte [rax + 9], 0xcb
xor byte [rax + 0xa], 0xc9
xor byte [rax + 0xb], 0x82
xor byte [rax + 0xc], 0x2f
xor byte [rax + 0xd], 0xce
xor byte [rax + 0xe], 0x9d
xor byte [rax + 0xf], 0x69
movaps xmm6, xmmword [rsp + 0x10]
cmp ebp, 5
mov rbp, qword [rsp + 0x38]
mov r14, qword [rsp + 0x20]
mov byte [r8], cl
jl 0x180023bb2
movdqa xmm4, xmmword [0x18016b7b0]
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 0x180023ac0
jmp 0x180023bdd
movabs r8, 0xdd3955d9efbff58d
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 0x180023bc0
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 0x10], 0
add rsp, 0x28
ret