Function at 0x140021990
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140156808]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r13, r8
mov r12, rdx
mov r15, rcx
mov rax, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400219c9
mov rax, qword [r8]
mov qword [r8 + 0x10], 0
mov byte [rax], 0
cmp qword [rdx + 8], 0
je 0x140021bde
cmp qword [rcx + 0x1e8], 0
je 0x140021ae1
mov r14, qword [rdx]
mov rbx, qword [r14]
cmp rbx, r14
je 0x140021ae1
nop dword [rax]
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140022cf0
nop
lea rdx, [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
cmp rsi, 0x10
cmovae rdx, rdi
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x140021a68
movabs rsi, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, rsi
inc rcx
cmp rcx, r8
jb 0x140021a50
mov rsi, qword [rsp + 0x48]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [r15 + 0x1d8]
call fcn.14000a940
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x140021a8e
mov rdx, qword [r15 + 0x1e0]
cmp rdx, qword [r15 + 0x1e0]
jne 0x140021c05
cmp rsi, 0x10
jb 0x140021ad2
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140021aca
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021c61
mov rcx, rdi
call fcn.14004a8a8
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r14
jne 0x140021a00
cmp qword [r15 + 0x110], 0
je 0x140021bde
mov rdi, qword [r12]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140021bde
nop
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140022cf0
nop
lea rdx, [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
cmp rbp, 0x10
cmovae rdx, rsi
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x140021b68
movabs rbp, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, rbp
inc rcx
cmp rcx, r8
jb 0x140021b50
mov rbp, qword [rsp + 0x48]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [r15 + 0x100]
call fcn.14000a940
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140021b8e
mov rcx, qword [r15 + 0x108]
cmp rcx, qword [r15 + 0x108]
jne 0x140021c77
cmp rbp, 0x10
jb 0x140021bd2
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140021bca
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021ccb
mov rcx, rsi
call fcn.14004a8a8
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140021b00
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14004ac10
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, qword [rdx + 0x30]
add rdx, 0x50
cmp r13, rdx
je 0x140021c32
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140021c20
mov rdx, qword [rdx]
mov rcx, r13
call fcn.1400062b0
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x30]
cmp rsi, 0x10
jb 0x140021cda
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140021c68
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021c68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14004a8a8
mov al, 1
jmp 0x140021be0
lea rdx, [rcx + 0x50]
cmp r13, rdx
je 0x140021ca0
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140021c8e
mov rdx, qword [rdx]
mov rcx, r13
call fcn.1400062b0
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x30]
cmp rbp, 0x10
jb 0x140021cda
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140021cd2
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021cd2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14004a8a8
mov al, 1
jmp 0x140021be0