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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r13, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18023622e
lea rax, [rdx - 1]
or rax, rdi
bsr rcx, rax
inc ecx
shl rdi, cl
mov rbx, qword [r13 + 8]
lea rdx, [rdi + rdi]
mov r8, rbx
lea rcx, [r13 + 0x18]
call fcn.18002b5e0
lea rax, [rdi - 1]
mov qword [r13 + 0x30], rax
mov qword [r13 + 0x38], rdi
mov qword [rsp + 0x58], r13
mov rdx, qword [r13 + 8]
mov rdx, qword [rdx]
mov r8, rdx
cmp rdx, rbx
je 0x180236208
movabs rax, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax]
mov r8, qword [r8]
mov r10, qword [rdx + 0x20]
lea r11, [rdx + 0x10]
mov rsi, qword [rdx + 0x28]
cmp rsi, 7
jbe 0x180236079
mov r11, qword [rdx + 0x10]
mov r9, rax
lea rdi, [r10 + r10]
xor ecx, ecx
test rdi, rdi
je 0x1802360a4
nop word [rax + rax]
movzx eax, byte [rcx + r11]
xor r9, rax
imul r9, rbp
inc rcx
cmp rcx, rdi
jb 0x180236090
mov r15, qword [r13 + 0x30]
and r15, r9
shl r15, 4
add r15, qword [r13 + 0x18]
cmp qword [r15], rbx
jne 0x1802360c4
mov qword [r15], rdx
mov qword [r15 + 8], rdx
jmp 0x1802361e8
mov rax, qword [r15 + 8]
lea r9, [rax + 0x10]
mov rcx, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 7
jbe 0x1802360da
mov r9, qword [r9]
lea r11, [rdx + 0x10]
cmp rsi, 7
jbe 0x1802360e8
mov r11, qword [rdx + 0x10]
cmp r10, rcx
jne 0x18023613c
test r10, r10
je 0x18023610a
sub r11, r9
movzx ecx, word [r9 + r11]
cmp cx, word [r9]
jne 0x18023613c
add r9, 2
sub r10, 1
jne 0x1802360f5
mov rcx, qword [rax]
cmp rcx, rdx
je 0x180236133
mov r10, qword [rdx + 8]
mov qword [r10], r8
mov r9, qword [r8 + 8]
mov qword [r9], rcx
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov qword [rcx + 8], r9
mov qword [r8 + 8], r10
mov qword [rdx + 8], rax
mov qword [r15 + 8], rdx
jmp 0x1802361e8
mov rsi, qword [r15]
cmp rsi, rax
je 0x1802361c4
mov rbp, qword [rdx + 0x28]
mov rdi, qword [rdx + 0x20]
mov rax, qword [rax + 8]
lea rcx, [rax + 0x10]
mov r9, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x180236166
mov rcx, qword [rcx]
lea r11, [rdx + 0x10]
cmp rbp, 7
jbe 0x180236174
mov r11, qword [rdx + 0x10]
cmp rdi, r9
jne 0x1802361bf
mov r10, rdi
test rdi, rdi
je 0x180236199
sub r11, rcx
movzx r9d, word [r11 + rcx]
cmp r9w, word [rcx]
jne 0x1802361bf
add rcx, 2
sub r10, 1
jne 0x180236184
mov rax, qword [rax]
mov r10, qword [rdx + 8]
mov qword [r10], r8
mov r9, qword [r8 + 8]
mov qword [r9], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdx
mov qword [rax + 8], r9
mov qword [r8 + 8], r10
mov qword [rdx + 8], rcx
jmp 0x1802361e8
cmp rsi, rax
jne 0x180236150
mov r10, qword [rdx + 8]
mov qword [r10], r8
mov r9, qword [r8 + 8]
mov qword [r9], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdx
mov qword [rax + 8], r9
mov qword [r8 + 8], r10
mov qword [rdx + 8], rcx
mov qword [r15], rdx
mov rdx, r8
cmp r8, rbx
movabs rbp, 0x100000001b3
movabs rax, 0xcbf29ce484222325
jne 0x180236060
mov qword [rsp + 0x58], 0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.18027a608
int3