Function at 0x18002c1f0
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 0x18002c4de
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.18002b9a0
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 0x18002c4cd
mov r11, rbx
mov r10, rdi
movabs rsi, 0xcbf29ce484222325
movabs r12, 0x100000001b3
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
jmp 0x18002c2a1
mov qword [r15 + r8*8], r13
mov qword [r15 + rax*8], r13
cmp r9, r11
je 0x18002c4cd
mov r13, r9
cmp qword [r9 + 0x28], 0x10
jb 0x18002c2c0
mov rbx, qword [r13 + 0x10]
mov r14, qword [r13 + 0x20]
mov rdx, rsi
test r14, r14
jne 0x18002c2d4
jmp 0x18002c367
lea rbx, [r13 + 0x10]
mov r14, qword [r13 + 0x20]
mov rdx, rsi
test r14, r14
je 0x18002c367
cmp r14, 4
jae 0x18002c2f0
xor eax, eax
mov rcx, rsi
jmp 0x18002c33a
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 0x18002c300
mov r8d, r14d
mov rdx, rcx
and r8d, 3
je 0x18002c367
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 0x18002c350
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 0x18002c290
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 0x18002c426
cmp qword [rsi + 0x28], 0x10
jb 0x18002c3b4
mov rdx, qword [rsi + 0x10]
jmp 0x18002c3b8
lea rdx, [rsi + 0x10]
mov rcx, rbx
mov r8, r14
call fcn.1800d8950
test eax, eax
mov r8, rbp
jne 0x18002c426
mov rax, qword [rsi]
cmp rax, r13
mov r9, qword [rsp + 0x38]
je 0x18002c3f8
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 0x18002c4b0
mov rdx, qword [rsi + 0x10]
mov rcx, rbx
mov r8, r14
call fcn.1800d8950
test eax, eax
mov r8, rbp
je 0x18002c47c
cmp rdi, rsi
je 0x18002c450
mov rsi, qword [rsi + 8]
cmp r14, qword [rsi + 0x20]
jne 0x18002c426
cmp qword [rsi + 0x28], 0x10
jae 0x18002c410
lea rdx, [rsi + 0x10]
jmp 0x18002c414
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 0x18002c4b0
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 0x18002c2a1
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.1800ab8c8
int3