Function at 0x180020480
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x18050b500]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov qword [rbp - 0x48], rcx
xor r12d, r12d
lea rcx, [rbp - 0x40]
call fcn.18002ff50
nop
lea rax, [rbp - 0x40]
mov rbx, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x28]
cmp rsi, 0xf
cmova rax, rbx
mov eax, dword [rax]
mov dword [rbp - 0x48], eax
mov r8d, r12d
lea r9, [0x1804c41b4]
nop
movzx edx, byte [r8 + r9]
xor dl, byte [rbp + r8 - 0x48]
movsx eax, r8b
imul ecx, eax, 0x29
sub dl, cl
mov byte [rbp + r8 - 0x48], dl
inc r8
cmp r8, 4
jb 0x1800204e0
mov rdx, r12
mov r14, qword [rbp - 0x30]
test r14, r14
je 0x180020546
mov r8, r12
mov rax, rdx
and eax, 3
movsx rcx, byte [rbp + rax - 0x48]
add rcx, r8
lea rax, [rbp - 0x40]
cmp rsi, 0xf
cmova rax, rbx
xor byte [rax + rdx], cl
inc rdx
add r8, 0x29
mov r14, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x40]
cmp rdx, r14
jb 0x180020510
lea rcx, [rbp - 0x40]
cmp rsi, 0xf
cmova rcx, rbx
mov rdx, r14
call fcn.1800925c0
xorps xmm0, xmm0
cmp eax, dword [rbp - 0x48]
je 0x180020584
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
xor r8d, r8d
lea rdx, [0x1804bd52a]
mov rcx, rdi
call fcn.180015d20
jmp 0x1800206b9
lea rax, [rbp - 0x40]
cmp rsi, 0xf
cmova rax, rbx
movsxd rax, dword [rax + 4]
mov r15, rax
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
test eax, eax
je 0x18002061d
movabs rax, 0x7fffffffffffffff
cmp r15, rax
ja 0x1800206f0
cmp r15, 0x1000
jb 0x1800205ec
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x1800206f6
call fcn.180313d50
mov rcx, rax
test rax, rax
je 0x1800206ea
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800205f4
mov rcx, r15
call fcn.180313d50
mov qword [rbp - 0x20], rax
lea rbx, [rax + r15]
mov qword [rbp - 0x10], rbx
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.1803bc5c0
mov qword [rbp - 0x18], rbx
mov rsi, qword [rbp - 0x28]
mov r14, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x40]
lea r9, [r14 - 8]
lea r8, [rbp - 0x40]
cmp rsi, 0xf
cmova r8, rbx
add r8, 8
mov rdx, r15
mov rcx, qword [rbp - 0x20]
call sym.SolaraV3.dll_ZSTD_decompress
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x18]
cmp rcx, r8
jne 0x180020669
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
jmp 0x18002067b
sub r8, rcx
mov rdx, rcx
mov rcx, rdi
call fcn.180015d20
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1800206b9
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800206a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800206ea
call fcn.180313c20
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
lea rcx, [rbp - 0x40]
call fcn.180034e00
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180313c00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.180329f88
nop
call fcn.1800346d0
int3
call fcn.18000b8f0
int3