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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x18003a85c
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
or rax, rbx
bsr rcx, rax
inc ecx
shl rbx, cl
mov rbp, qword [0x1800a2548]
lea rdx, [rbx + rbx]
mov r8, rbp
lea rcx, [0x1800a2558]
call fcn.180031d00
lea rax, [rbx - 1]
mov qword [0x1800a2570], rax
mov qword [0x1800a2578], rbx
lea rax, [0x1800a2540]
mov qword [rsp + 0x50], rax
mov rdi, qword [0x1800a2548]
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x18003aa4f
movabs rax, 0xcbf29ce484222325
movabs r10, 0x100000001b3
nop
mov rsi, qword [rsi]
mov r15, qword [rdi + 0x20]
lea r8, [rdi + 0x10]
mov r9, qword [rdi + 0x28]
cmp r9, 0x10
jb 0x18003a8e9
mov r8, qword [rdi + 0x10]
mov rcx, rax
xor edx, edx
test r15, r15
je 0x18003a914
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r10
inc rdx
cmp rdx, r15
jb 0x18003a900
and rcx, qword [0x1800a2570]
shl rcx, 4
mov r13, qword [0x1800a2558]
add r13, rcx
mov r12, qword [r13]
cmp r12, rbp
jne 0x18003a93f
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x18003aa39
mov rbx, qword [r13 + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18003a955
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
cmp r9, 0x10
jb 0x18003a963
mov rcx, qword [rdi + 0x10]
cmp r15, rax
jne 0x18003a9aa
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18003a9a6
mov rax, qword [rbx]
cmp rax, rdi
je 0x18003a99d
mov r8, qword [rdi + 8]
mov qword [r8], rsi
mov rdx, qword [rsi + 8]
mov qword [rdx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov qword [rax + 8], rdx
mov qword [rsi + 8], r8
mov qword [rdi + 8], rcx
mov qword [r13 + 8], rdi
jmp 0x18003aa2f
mov r9, qword [rdi + 0x28]
cmp r12, rbx
je 0x18003aa0a
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18003a9c5
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
cmp r9, 0x10
jb 0x18003a9d3
mov rcx, qword [rdi + 0x10]
cmp r15, rax
jne 0x18003a9aa
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18003a9a6
mov rax, qword [rbx]
mov r8, qword [rdi + 8]
mov qword [r8], rsi
mov rdx, qword [rsi + 8]
mov qword [rdx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov qword [rax + 8], rdx
mov qword [rsi + 8], r8
mov qword [rdi + 8], rcx
jmp 0x18003aa2f
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rbx
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov qword [rbx + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
movabs r10, 0x100000001b3
mov rdi, rsi
cmp rsi, rbp
movabs rax, 0xcbf29ce484222325
jne 0x18003a8d0
mov qword [rsp + 0x50], 0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret