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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x140016fa9
cvtsi2ss xmm0, rdx
jmp 0x140016fbe
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_ceilf
movss xmm1, dword [0x140045ddc]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140016fec
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140016fec
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14001701a
cmp rbx, 0x200
jae 0x140017017
shl rbx, 3
cmp rbx, rcx
jae 0x14001701a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140017158
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov r12, rcx
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
ja 0x140017335
mov rsi, qword [r12 + 8]
lea rax, [rdx - 1]
or rax, 1
lea rdi, [r12 + 0x18]
bsr rcx, rax
mov ebx, 1
mov r8, rsi
inc ecx
shl rbx, cl
mov rcx, rdi
lea rdx, [rbx + rbx]
call fcn.14000d5e8
mov qword [r12 + 0x38], rbx
lea rax, [rbx - 1]
mov qword [r12 + 0x30], rax
mov r11, qword [r12 + 8]
mov r11, qword [r11]
mov rbx, r11
cmp r11, rsi
je 0x1400172f1
mov rbx, qword [rbx]
lea r15, [r11 + 0x10]
cmp qword [r15 + 0x18], 8
mov r8, r15
mov r9, qword [r15 + 0x10]
jb 0x1400171ff
mov r8, qword [r15]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r9, r9
je 0x14001722e
movzx eax, byte [rdx + r8]
movabs r10, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r10
cmp rdx, r9
jb 0x140017210
mov r14, qword [r12 + 0x30]
mov rbp, qword [rdi]
and r14, rcx
add r14, r14
cmp qword [rbp + r14*8], rsi
jne 0x140017252
mov qword [rbp + r14*8], r11
mov qword [rbp + r14*8 + 8], r11
jmp 0x1400172e5
mov rdi, qword [rbp + r14*8 + 8]
mov rcx, r15
lea rdx, [rdi + 0x10]
call fcn.1400178fc
test al, al
je 0x140017297
mov r8, qword [rdi]
cmp r8, r11
je 0x140017290
mov rdx, qword [r11 + 8]
mov qword [rdx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], r11
mov qword [r8 + 8], rcx
mov qword [rbx + 8], rdx
mov qword [r11 + 8], rax
mov qword [rbp + r14*8 + 8], r11
jmp 0x1400172e0
mov r13, rdi
jmp 0x1400172b3
mov rdi, qword [rdi + 8]
mov rcx, r15
mov r13, rdi
lea rdx, [rdi + 0x10]
call fcn.1400178fc
test al, al
jne 0x14001730f
cmp qword [rbp + r14*8], rdi
jne 0x14001729c
mov rdx, qword [r11 + 8]
mov qword [rdx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], r13
mov rax, qword [r13 + 8]
mov qword [rax], r11
mov qword [r13 + 8], rcx
mov qword [rbx + 8], rdx
mov qword [r11 + 8], rax
mov qword [rbp + r14*8], r11
lea rdi, [r12 + 0x18]
mov r11, rbx
cmp rbx, rsi
jne 0x1400171e7
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8, qword [rdi]
mov rdx, qword [r11 + 8]
mov qword [rdx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], r11
mov qword [r8 + 8], rcx
mov qword [rbx + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400172e0
lea rcx, str.invalid_hash_bucket_count
call fcn.14000fd9c
int3