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

Disassembly:
sub rsp, 0x38
mov rcx, qword [0x18008c6f0]
test rcx, rcx
je 0x18000d46f
mov rax, qword [0x18008c718]
shr rax, 3
cmp rax, rcx
jbe 0x18000d3da
mov rdx, qword [0x18008c6e8]
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x38
jmp 0x18000d640
mov rcx, qword [0x18008c6e8]
mov qword [rsp + 0x30], rdi
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rdi, qword [rcx]
test rdi, rdi
je 0x18000d426
mov qword [rsp + 0x40], rbx
nop
mov rbx, qword [rdi]
lea rcx, [rdi + 0x10]
call fcn.180002f90
mov edx, 0x40
mov rcx, rdi
call fcn.18006e594
mov rdi, rbx
test rbx, rbx
jne 0x18000d400
mov rbx, qword [rsp + 0x40]
mov rax, qword [0x18008c6e8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [0x18008c6e8]
mov qword [rax + 8], rax
mov rax, qword [0x18008c6e8]
mov rdx, qword [0x18008c700]
mov rcx, qword [0x18008c6f8]
mov qword [rsp + 0x20], rax
mov qword [0x18008c6f0], 0
call fcn.180002d20
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rax, rsp
push rbp
push r14
sub rsp, 0x58
mov rbp, r8
mov r14, rdx
cmp rdx, r8
je 0x18000d82c
cmp qword [rdx + 0x28], 0xf
lea r8, [rdx + 0x10]
mov r10, qword [0x18008c6f8]
mov r9, qword [r8 + 0x10]
mov qword [rax + 8], rbx
mov rbx, rdx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax - 0x18], r12
mov qword [rax - 0x20], r13
mov qword [rax - 0x28], r15
mov rax, qword [0x18008c6e8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], r10
jbe 0x18000d6a7
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x18000d6e4
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r11
cmp rdx, r9
jb 0x18000d6d0
and rcx, qword [0x18008c710]
add rcx, rcx
mov r12, qword [r10 + rcx*8]
lea r15, [r10 + rcx*8]
mov r13, qword [r15 + 8]
nop word [rax + rax]
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.180002f90
mov edx, 0x40
mov rcx, rdi
call fcn.18006e594
dec qword [0x18008c6f0]
cmp rdi, r13
je 0x18000d749
cmp rbx, rbp
jne 0x18000d700
cmp r12, r14
jne 0x18000d738
mov qword [r15], rbx
mov rax, qword [rsp + 0x20]
mov qword [rax], rbx
mov qword [rbx + 8], rax
jmp 0x18000d80b
mov r13, qword [rsp + 0x20]
cmp r12, r14
mov r12, qword [rsp + 0x28]
jne 0x18000d760
mov qword [r15], r12
mov rax, r12
jmp 0x18000d763
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x18000d803
cmp qword [rbx + 0x28], 0xf
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
jbe 0x18000d782
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x18000d7b9
movabs r13, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x18000d7a0
mov r13, qword [rsp + 0x20]
and rcx, qword [0x18008c710]
mov r14, qword [rsp + 0x30]
shl rcx, 4
add r14, rcx
mov r15, qword [r14 + 8]
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.180002f90
mov edx, 0x40
mov rcx, rdi
call fcn.18006e594
dec qword [0x18008c6f0]
cmp rdi, r15
je 0x18000d837
cmp rbx, rbp
jne 0x18000d7d0
mov qword [r14], rbx
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x40]
mov rax, rbp
add rsp, 0x58
pop r14
pop rbp
ret
mov qword [r14], r12
mov qword [r14 + 8], r12
cmp rbx, rbp
jne 0x18000d770
jmp 0x18000d803