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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx]
test rdi, rdi
je 0x18001f974
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x18001f974
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x18001f906
mov rdx, qword [rdi + 8]
mov r8, rdx
mov rdx, qword [rdx]
mov rcx, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp 0x180020380
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rsi, qword [rcx]
test rsi, rsi
je 0x18001f941
nop dword [rax]
mov rbx, qword [rsi]
lea rcx, [rsi + 0x10]
call fcn.1800295d0
mov edx, 0x98
mov rcx, rsi
call fcn.1800f2580
mov rsi, rbx
test rbx, rbx
jne 0x18001f920
mov rax, qword [rdi + 8]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x20]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
call fcn.180023300
nop
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov r14, r8
mov rbp, rdx
mov r10, rcx
mov qword [rsp + 0x48], rcx
cmp rdx, r8
je 0x1800205a9
lea r12, [rcx + 8]
mov qword [rsp + 0x40], r12
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
mov r11, qword [rcx + 0x18]
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x60], r12
mov rax, qword [rdx + 8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rax
mov rsi, rdx
mov qword [rsp + 0x70], rdx
mov rax, qword [rdx + 8]
mov qword [rsp + 0x38], rax
lea r8, [rdx + 0x10]
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
jb 0x180020407
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
movabs rbx, 0x100000001b3
test r9, r9
je 0x180020444
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, r9
jb 0x180020430
mov r13, qword [r10 + 0x30]
and r13, rdx
shl r13, 4
add r13, r11
mov rax, qword [r13]
mov qword [rsp + 0x20], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x30], rax
nop dword [rax]
nop dword [rax + rax]
cmp rsi, rax
sete dil
mov rbx, rsi
mov r15, qword [rsi]
mov rsi, r15
mov qword [rsp + 0x70], r15
lea rcx, [rbx + 0x10]
call fcn.1800295d0
mov edx, 0x98
mov rcx, rbx
call fcn.1800f2580
dec qword [r12 + 8]
test dil, dil
jne 0x1800204c3
cmp r15, r14
mov rax, qword [rsp + 0x30]
jne 0x180020470
cmp qword [rsp + 0x20], rbp
jne 0x18002059d
mov qword [r13], r15
jmp 0x18002059d
cmp qword [rsp + 0x20], rbp
jne 0x1800204d5
mov rax, qword [rsp + 0x28]
mov qword [r13], rax
jmp 0x1800204da
mov rax, qword [rsp + 0x38]
mov qword [r13 + 8], rax
cmp r15, r14
je 0x18002059d
lea r8, [rsi + 0x10]
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
jb 0x1800204f9
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor eax, eax
test r9, r9
je 0x180020539
movabs r12, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax + r8]
xor rdx, rcx
imul rdx, r12
inc rax
cmp rax, r9
jb 0x180020520
mov r12, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov r15, qword [rax + 0x30]
and r15, rdx
shl r15, 4
add r15, qword [rsp + 0x50]
mov r13, qword [r15 + 8]
nop dword [rax]
nop word [rax + rax]
cmp rsi, r13
sete dil
mov rbx, rsi
mov rbp, qword [rsi]
mov rsi, rbp
mov qword [rsp + 0x70], rbp
lea rcx, [rbx + 0x10]
call fcn.1800295d0
mov edx, 0x98
mov rcx, rbx
call fcn.1800f2580
dec qword [r12 + 8]
test dil, dil
jne 0x1800205cd
cmp rbp, r14
jne 0x180020560
mov qword [r15], rbp
mov rax, qword [rsp + 0x58]
mov qword [rax], rsi
mov qword [rsi + 8], rax
mov rax, r14
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, qword [rsp + 0x28]
mov qword [r15], rcx
mov qword [r15 + 8], rcx
cmp rbp, r14
jmp 0x1800204e1