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

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18001783c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x1800177ca
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x180017850
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x18001780a
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x30
call fcn.18004317c
mov rcx, rbx
test rbx, rbx
jne 0x1800177f0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
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 rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.180002a00
add rsp, 0x30
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x60
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x180017a0e
mov r10, qword [rcx + 0x18]
movabs r11, 0x100000001b3
movups xmm0, xmmword [rdx + 0x10]
mov qword [rax + 0x10], rbx
mov rbx, rdx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov qword [rax - 0x20], r13
mov r8, qword [rbx + 0x18]
mov qword [rax - 0x28], r15
mov rax, qword [rcx + 8]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 8]
movabs rdx, 0xcbf29ce484222325
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], r10
movaps xmmword [rsp + 0x40], xmm0
test r8, r8
je 0x1800178e4
mov r9, qword [rsp + 0x40]
nop dword [rax]
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r8
jb 0x1800178d0
mov r15, qword [rsi + 0x30]
and r15, rdx
shl r15, 4
add r15, r10
mov r13, qword [r15]
mov r12, qword [r15 + 8]
nop dword [rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x30
call fcn.18004317c
dec qword [rsi + 0x10]
cmp rdi, r12
je 0x18001793a
cmp rbx, rbp
jne 0x180017900
cmp r13, r14
jne 0x180017929
mov qword [r15], rbx
mov rax, qword [rsp + 0x20]
mov qword [rax], rbx
mov qword [rbx + 8], rax
jmp 0x1800179ec
mov r12, qword [rsp + 0x28]
cmp r13, r14
mov r13, qword [rsp + 0x20]
jne 0x180017951
mov qword [r15], r12
mov rax, r12
jmp 0x180017954
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x1800179e4
movups xmm0, xmmword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
movaps xmmword [rsp + 0x40], xmm0
test r8, r8
je 0x1800179a9
mov r9, qword [rsp + 0x40]
movabs r13, 0x100000001b3
nop
movzx eax, byte [rdx + r9]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r8
jb 0x180017990
mov r13, qword [rsp + 0x20]
mov r15, qword [rsi + 0x30]
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x30
call fcn.18004317c
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x180017a1a
cmp rbx, rbp
jne 0x1800179c0
mov qword [r15], rbx
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov r15, qword [rsp + 0x50]
mov rax, rbp
add rsp, 0x60
pop r14
pop rsi
pop rbp
ret
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x180017961
jmp 0x1800179e4