Function at 0x1800211e0
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 [0x18011f040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r14d, r14d
mov eax, dword [0x180120d50]
cmp eax, 0xc
jl 0x1800219ea
cmp eax, 0x1c
jge 0x1800219ea
movups xmm0, xmmword [0x1800f6358]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [0x1800f6368]
movups xmmword [rbp - 0x59], xmm1
movups xmm0, xmmword [0x1800f6378]
movups xmmword [rbp - 0x49], xmm0
movsd xmm0, qword [0x1800f6388]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x1800f6390]
mov dword [rbp - 0x31], eax
mov r8d, r14d
mov edi, dword [0x18011f018]
cmp edi, 2
jl 0x1800213b5
movdqa xmm5, xmmword [0x180108e50]
movdqa xmm4, xmmword [0x180108f40]
movdqa xmm6, xmmword [0x180108e70]
movdqa xmm0, xmmword [0x180108f50]
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
psrad xmm1, 1
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 [0x180108f30]
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
psrad xmm1, 1
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 [0x180108f30]
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 0x1800212b0
cmp r8d, 0x3c
jge 0x1800213ef
movsxd rax, r8d
lea r9, [rbp - 0x69]
add r9, rax
nop
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3c
jl 0x1800213c0
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
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x180021410
lea rdx, [rbp - 0x69]
lea rcx, [rbp + 0xf]
call fcn.18001d0a0
nop
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov qword [rbp + 7], r14
mov eax, dword [0x1800f634c]
mov dword [rbp - 0x79], eax
movzx eax, word [0x1800f6350]
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 0x180021473
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x29]
call fcn.18001d0a0
nop
mov rdx, qword [rbp - 1]
cmp rdx, qword [rbp + 7]
je 0x1800214bc
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x180108dd0]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
add qword [rbp - 1], 0x20
jmp 0x1800214ca
lea r8, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.180021ea0
nop
lea rcx, [rbp - 0x29]
call fcn.18001f2b0
movsd xmm0, qword [0x1800f6340]
movsd qword [rbp - 0x79], xmm0
mov eax, dword [0x1800f6348]
mov dword [rbp - 0x71], eax
cmp byte [0x1800f634b], 0
je 0x18002163f
mov r8d, r14d
cmp edi, 2
jl 0x180021601
movdqa xmm4, xmmword [0x180108f40]
movdqa xmm2, xmmword [0x180108e50]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180108e70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180108f30]
packuswb xmm2, xmm2
mov eax, dword [0x180108f50]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1800f6340]
xorps xmm2, xmm0
movd dword [rbp - 0x79], xmm2
movdqa xmm3, xmmword [0x180108e60]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180108e70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180108f30]
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 + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x180021610
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x79]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x180021655
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x29]
call fcn.18001d0a0
nop
mov rdx, qword [rbp - 1]
cmp rdx, qword [rbp + 7]
je 0x18002169e
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x180108dd0]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
add qword [rbp - 1], 0x20
jmp 0x1800216ac
lea r8, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.180021ea0
nop
lea rcx, [rbp - 0x29]
call fcn.18001f2b0
movsd xmm0, qword [0x1800f6330]
movsd qword [rbp - 0x79], xmm0
mov eax, dword [0x1800f6338]
mov dword [rbp - 0x71], eax
cmp byte [0x1800f633b], 0
je 0x18002181f
mov r8d, r14d
cmp edi, 2
jl 0x1800217e3
movdqa xmm4, xmmword [0x180108f40]
movdqa xmm2, xmmword [0x180108e50]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180108e70]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180108f30]
packuswb xmm2, xmm2
mov eax, dword [0x180108f50]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1800f6330]
xorps xmm2, xmm0
movd dword [rbp - 0x79], xmm2
movdqa xmm3, xmmword [0x180108e60]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180108e70]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180108f30]
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]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x1800217f0
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 0x180021832
mov r8, rbx
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x29]
call fcn.18001d0a0
nop
mov rdx, qword [rbp - 1]
cmp rdx, qword [rbp + 7]
je 0x18002187d
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x180108dd0]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
add qword [rbp - 1], 0x20
jmp 0x18002188b
lea r8, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.180021ea0
nop
lea rcx, [rbp - 0x29]
call fcn.18001f2b0
cmp dword [0x180120d50], 0x1a
jl 0x1800218e3
mov rdi, qword [rbp - 9]
mov rsi, qword [rbp - 1]
lea rbx, [rdi + 0x20]
cmp rbx, rsi
je 0x1800218cc
nop
mov rdx, rbx
mov rcx, rdi
call fcn.18001f1b0
add rdi, 0x20
add rbx, 0x20
cmp rbx, rsi
jne 0x1800218b0
mov rsi, qword [rbp - 1]
lea rcx, [rsi - 0x20]
call fcn.18001f2b0
mov rdi, qword [rbp - 1]
sub rdi, 0x20
mov qword [rbp - 1], rdi
jmp 0x1800218e7
mov rdi, qword [rbp - 1]
mov rbx, qword [rbp - 9]
cmp rbx, rdi
je 0x1800219d7
movabs r15, 0x7fffffffffffffff
lea r12, [0x1800f5c70]
nop word [rax + rax]
mov rax, r15
mov rcx, qword [rbp + 0x1f]
sub rax, rcx
cmp rax, 1
jb 0x180021a3c
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.18001e050
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18002195c
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x69]
call fcn.18001f0c0
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.18001f2b0
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
xor r8d, r8d
lea rcx, [rbp - 0x79]
call fcn.18001e430
mov rsi, qword [rax]
lea rcx, [rbp - 0x29]
call fcn.18001f2b0
test rsi, rsi
jne 0x180021a1c
add rbx, 0x20
cmp rbx, rdi
jne 0x180021910
lea rcx, [rbp - 9]
call fcn.18001ec30
nop
lea rcx, [rbp + 0xf]
call fcn.18001f2b0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800cb0c0
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, [0x180120dd8]
lea rdx, [0x1800b2760]
mov rcx, rsi
call fcn.1800c5ee0
mov rcx, rsi
call fcn.1800c6178
jmp 0x1800219d7
call fcn.18001f3a0
int3