Function at 0x1800215f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x18011c040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r14d, r14d
mov eax, dword [0x18011dd38]
cmp eax, 0xc
jl 0x180021e2a
cmp eax, 0x1c
jge 0x180021e2a
movups xmm0, xmmword [0x1800f41e8]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [0x1800f41f8]
movups xmmword [rbp - 0x59], xmm1
movups xmm0, xmmword [0x1800f4208]
movups xmmword [rbp - 0x49], xmm0
movsd xmm0, qword [0x1800f4218]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x1800f4220]
mov dword [rbp - 0x31], eax
mov r8d, r14d
mov edi, dword [0x18011c018]
cmp edi, 2
jl 0x1800217cd
movdqa xmm5, xmmword [0x1801063b0]
movdqa xmm4, xmmword [0x1801065a0]
movdqa xmm6, xmmword [0x1801063f0]
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x65]
mov edx, dword [rbp - 0x79]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180106490]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180106490]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x38
jl 0x1800216c0
cmp r8d, 0x3c
jge 0x180021813
movsxd rax, r8d
lea r9, [rbp - 0x69]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3c
jl 0x1800217e0
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], r14
mov qword [rbp + 0x27], r14
lea rax, [rbp - 0x69]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], r14b
jne 0x180021830
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 0xf]
call fcn.18001d4b0
nop
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov qword [rbp + 7], r14
mov eax, dword [0x1800f41dc]
mov dword [rbp - 0x79], eax
movzx eax, word [0x1800f41e0]
mov word [rbp - 0x75], ax
mov byte [rbp - 0x79], 0x38
xor byte [rbp - 0x78], 0x3a
xor byte [rbp - 0x77], 0x3b
xor byte [rbp - 0x76], 0x3c
xor al, 0x3d
mov byte [rbp - 0x75], al
xor byte [rbp - 0x74], 0x3e
movups xmmword [rbp - 0x29], xmm0
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x79]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x180021893
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x29]
call fcn.18001d4b0
nop
mov rdx, qword [rbp - 1]
cmp rdx, qword [rbp + 7]
je 0x1800218dc
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x180106330]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
add qword [rbp - 1], 0x20
jmp 0x1800218ea
lea r8, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.1800222e0
nop
lea rcx, [rbp - 0x29]
call fcn.18001f9d0
movsd xmm0, qword [0x1800f41d0]
movsd qword [rbp - 0x79], xmm0
mov eax, dword [0x1800f41d8]
mov dword [rbp - 0x71], eax
cmp byte [0x1800f41db], 0
je 0x180021a73
mov r8d, r14d
cmp edi, 2
jl 0x180021a29
movdqa xmm4, xmmword [0x1801065a0]
movdqa xmm2, xmmword [0x1801063b0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801063f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180106490]
packuswb xmm2, xmm2
mov eax, dword [str.9999999999999999]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1800f41d0]
xorps xmm2, xmm0
movd dword [rbp - 0x79], xmm2
movdqa xmm3, xmmword [0x1801063c0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801063f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180106490]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x75]
xorps xmm2, xmm1
movd dword [rbp - 0x75], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x180021a40
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x79]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180021a90
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x29]
call fcn.18001d4b0
nop
mov rdx, qword [rbp - 1]
cmp rdx, qword [rbp + 7]
je 0x180021ad9
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x180106330]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
add qword [rbp - 1], 0x20
jmp 0x180021ae7
lea r8, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.1800222e0
nop
lea rcx, [rbp - 0x29]
call fcn.18001f9d0
movsd xmm0, qword [0x1800f41c0]
movsd qword [rbp - 0x79], xmm0
mov eax, dword [0x1800f41c8]
mov dword [rbp - 0x71], eax
cmp byte [0x1800f41cb], 0
je 0x180021c63
mov r8d, r14d
cmp edi, 2
jl 0x180021c26
movdqa xmm4, xmmword [0x1801065a0]
movdqa xmm2, xmmword [0x1801063b0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801063f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180106490]
packuswb xmm2, xmm2
mov eax, dword [str.9999999999999999]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1800f41c0]
xorps xmm2, xmm0
movd dword [rbp - 0x79], xmm2
movdqa xmm3, xmmword [0x1801063c0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801063f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180106490]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x75]
xorps xmm2, xmm1
movd dword [rbp - 0x75], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x180021c30
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x79]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180021c76
mov r8, rbx
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x29]
call fcn.18001d4b0
nop
mov rdx, qword [rbp - 1]
cmp rdx, qword [rbp + 7]
je 0x180021cc1
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x180106330]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
add qword [rbp - 1], 0x20
jmp 0x180021ccf
lea r8, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.1800222e0
nop
lea rcx, [rbp - 0x29]
call fcn.18001f9d0
cmp dword [0x18011dd38], 0x1a
jl 0x180021d25
mov rdi, qword [rbp - 9]
mov rsi, qword [rbp - 1]
lea rbx, [rdi + 0x20]
cmp rbx, rsi
je 0x180021d0e
mov rdx, rbx
mov rcx, rdi
call fcn.18001f5c0
add rdi, 0x20
add rbx, 0x20
cmp rbx, rsi
jne 0x180021cf2
mov rsi, qword [rbp - 1]
lea rcx, [rsi - 0x20]
call fcn.18001f9d0
mov rdi, qword [rbp - 1]
sub rdi, 0x20
mov qword [rbp - 1], rdi
jmp 0x180021d29
mov rdi, qword [rbp - 1]
mov rbx, qword [rbp - 9]
cmp rbx, rdi
je 0x180021e17
movabs r15, 0x7fffffffffffffff
lea r12, [0x1800f3b30]
nop word [rax + rax]
mov rax, r15
mov rcx, qword [rbp + 0x1f]
sub rax, rcx
cmp rax, 1
jb 0x180021e7c
lea r9, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova r9, qword [rbp + 0xf]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x69]
call fcn.18001e460
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180021d9c
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x69]
call fcn.18001f4d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x69]
call fcn.18001f9d0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
xor r8d, r8d
lea rcx, [rbp - 0x79]
call fcn.18001e840
mov rsi, qword [rax]
lea rcx, [rbp - 0x29]
call fcn.18001f9d0
test rsi, rsi
jne 0x180021e5c
add rbx, 0x20
cmp rbx, rdi
jne 0x180021d50
lea rcx, [rbp - 9]
call fcn.18001f040
nop
lea rcx, [rbp + 0xf]
call fcn.18001f9d0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800c8b10
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [0x18011ddb8]
lea rdx, [0x1800b0dc0]
mov rcx, rsi
call fcn.1800c3930
mov rcx, rsi
call fcn.1800c3bc8
jmp 0x180021e17
call fcn.18001f7b0
int3