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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x18002cd5e
mov rdi, rcx
dec rdx
or rdx, 1
bsr rcx, rdx
xor ecx, 0x3f
neg cl
mov esi, 1
shl rsi, cl
lea rax, [rdi + 0x18]
mov rbx, qword [rdi + 8]
mov edx, 2
shl rdx, cl
mov rcx, rax
mov r8, rbx
call fcn.18002c220
lea rax, [rsi - 1]
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rsi
mov rax, qword [rdi + 8]
mov r9, qword [rax]
cmp r9, rbx
je 0x18002cd4d
mov r11, rbx
mov r10, rdi
movabs rsi, 0xcbf29ce484222325
movabs r12, 0x100000001b3
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
jmp 0x18002cb21
mov qword [r15 + r8*8], r13
mov qword [r15 + rax*8], r13
cmp r9, r11
je 0x18002cd4d
mov r13, r9
cmp qword [r9 + 0x28], 0x10
jb 0x18002cb40
mov rbx, qword [r13 + 0x10]
mov r14, qword [r13 + 0x20]
mov rdx, rsi
test r14, r14
jne 0x18002cb54
jmp 0x18002cbe7
lea rbx, [r13 + 0x10]
mov r14, qword [r13 + 0x20]
mov rdx, rsi
test r14, r14
je 0x18002cbe7
cmp r14, 4
jae 0x18002cb70
xor eax, eax
mov rcx, rsi
jmp 0x18002cbba
mov rdx, r14
and rdx, 0xfffffffffffffffc
xor eax, eax
mov rcx, rsi
nop dword [rax]
movzx r8d, byte [rbx + rax]
xor r8, rcx
imul r8, r12
movzx ecx, byte [rbx + rax + 1]
xor rcx, r8
imul rcx, r12
movzx r8d, byte [rbx + rax + 2]
xor r8, rcx
imul r8, r12
movzx ecx, byte [rbx + rax + 3]
xor rcx, r8
imul rcx, r12
add rax, 4
cmp rdx, rax
jne 0x18002cb80
mov r8d, r14d
mov rdx, rcx
and r8d, 3
je 0x18002cbe7
add rax, rbx
xor r9d, r9d
nop dword [rax]
movzx edx, byte [rax + r9]
xor rdx, rcx
imul rdx, r12
inc r9
mov rcx, rdx
cmp r8, r9
jne 0x18002cbd0
mov r9, qword [r13]
and rdx, qword [r10 + 0x30]
mov r15, qword [r10 + 0x18]
lea r8, [rdx + rdx]
lea rax, [rdx*2 + 1]
shl rdx, 4
mov rdi, qword [r15 + rdx]
cmp rdi, r11
je 0x18002cb10
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], rax
mov rsi, qword [r15 + rax*8]
cmp r14, qword [rsi + 0x20]
mov rbp, r8
jne 0x18002cca6
cmp qword [rsi + 0x28], 0x10
jb 0x18002cc34
mov rdx, qword [rsi + 0x10]
jmp 0x18002cc38
lea rdx, [rsi + 0x10]
mov rcx, rbx
mov r8, r14
call fcn.1800d5df0
test eax, eax
mov r8, rbp
jne 0x18002cca6
mov rax, qword [rsi]
cmp rax, r13
mov r9, qword [rsp + 0x38]
je 0x18002cc78
mov rcx, qword [r13 + 8]
mov qword [rcx], r9
mov rdx, qword [r9 + 8]
mov qword [rdx], rax
mov r8, qword [rax + 8]
mov qword [r8], r13
mov qword [rax + 8], rdx
mov qword [r9 + 8], rcx
mov qword [r13 + 8], r8
mov rax, qword [rsp + 0x40]
mov qword [r15 + rax*8], r13
jmp 0x18002cd30
mov rdx, qword [rsi + 0x10]
mov rcx, rbx
mov r8, r14
call fcn.1800d5df0
test eax, eax
mov r8, rbp
je 0x18002ccfc
cmp rdi, rsi
je 0x18002ccd0
mov rsi, qword [rsi + 8]
cmp r14, qword [rsi + 0x20]
jne 0x18002cca6
cmp qword [rsi + 0x28], 0x10
jae 0x18002cc90
lea rdx, [rsi + 0x10]
jmp 0x18002cc94
mov rax, qword [r13 + 8]
mov r9, qword [rsp + 0x38]
mov qword [rax], r9
mov rcx, qword [r9 + 8]
mov qword [rcx], rdi
mov rdx, qword [rdi + 8]
mov qword [rdx], r13
mov qword [rdi + 8], rcx
mov qword [r9 + 8], rax
mov qword [r13 + 8], rdx
mov qword [r15 + r8*8], r13
jmp 0x18002cd30
mov rax, qword [rsi]
mov rcx, qword [r13 + 8]
mov r9, qword [rsp + 0x38]
mov qword [rcx], r9
mov rdx, qword [r9 + 8]
mov qword [rdx], rax
mov r8, qword [rax + 8]
mov qword [r8], r13
mov qword [rax + 8], rdx
mov qword [r9 + 8], rcx
mov qword [r13 + 8], r8
nop word cs:[rax + rax]
mov r10, qword [rsp + 0x30]
mov r11, qword [rsp + 0x28]
movabs rsi, 0xcbf29ce484222325
cmp r9, r11
jne 0x18002cb21
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800a8c98
int3