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

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x18009a8a0]
xorps xmm0, xmm0
add rcx, 1
js 0x18001619b
cvtsi2ss xmm0, rcx
jmp 0x1800161b0
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x18009a890]
call fcn.18005ec3c
movss xmm1, dword [0x18008be30]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1800161e2
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1800161e2
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x18009a8c8]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x18001621b
cmp rdx, 0x200
jae 0x180016218
lea rdx, [rdx*8]
cmp rdx, rcx
jae 0x18001621b
mov rdx, rcx
add rsp, 0x28
jmp 0x180016230
push rbx
sub rsp, 0x50
movabs rax, 0xfffffffffffffff
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x180016455
lea rax, [rdx - 1]
mov qword [rsp + 0x70], rsi
mov rsi, qword [0x18009a898]
or rax, rbx
bsr rcx, rax
mov r8, rsi
mov qword [rsp + 0x78], rdi
inc ecx
shl rbx, cl
lea rcx, [0x18009a8a8]
lea rdx, [rbx + rbx]
call fcn.1800023b0
lea r10, [rbx - 1]
mov qword [0x18009a8c8], rbx
mov rbx, qword [0x18009a898]
mov qword [0x18009a8c0], r10
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rsi
je 0x180016445
mov qword [rsp + 0x60], rbp
movabs r11, 0x100000001b3
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
movups xmm0, xmmword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
xor edx, edx
mov rdi, qword [rdi]
movabs rax, 0xcbf29ce484222325
movaps xmmword [rsp + 0x20], xmm0
mov rcx, rax
test r8, r8
je 0x180016314
mov r9, qword [rsp + 0x20]
nop
movzx eax, byte [rdx + r9]
inc rdx
xor rcx, rax
imul rcx, r11
cmp rdx, r8
jb 0x180016300
mov r12, qword [0x18009a8a8]
and rcx, r10
shl rcx, 4
add r12, rcx
mov r15, qword [r12]
cmp r15, rsi
jne 0x18001633c
mov qword [r12], rbx
mov qword [r12 + 8], rbx
jmp 0x1800163f2
mov r14, qword [r12 + 8]
cmp r8, qword [r14 + 0x18]
jne 0x180016389
mov rdx, qword [r14 + 0x10]
movq rcx, xmm0
call fcn.180062a10
test eax, eax
jne 0x180016389
mov r8, qword [r14]
cmp r8, rbx
je 0x180016382
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + 8], rbx
jmp 0x1800163e8
cmp r15, r14
je 0x1800163c3
movups xmm0, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0x20], xmm0
mov rbp, qword [rsp + 0x28]
mov r13, qword [rsp + 0x20]
mov r14, qword [r14 + 8]
cmp rbp, qword [r14 + 0x18]
jne 0x1800163be
mov rdx, qword [r14 + 0x10]
mov r8, rbp
mov rcx, r13
call fcn.180062a10
test eax, eax
je 0x180016406
cmp r15, r14
jne 0x1800163a1
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rbx
mov qword [r14 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12], rbx
movabs r11, 0x100000001b3
mov rbx, rdi
cmp rdi, rsi
je 0x18001642c
mov r10, qword [0x18009a8c0]
jmp 0x1800162d6
mov r8, qword [r14]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x1800163e8
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbx
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.18003f04c
int3