Function at 0x18004b340
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 0x18004b62e
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.180049e40
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 0x18004b61d
mov r11, rbx
mov r10, rdi
movabs rsi, 0xcbf29ce484222325
movabs r12, 0x100000001b3
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
jmp 0x18004b3f1
mov qword [r15 + r8*8], r13
mov qword [r15 + rax*8], r13
cmp r9, r11
je 0x18004b61d
mov r13, r9
cmp qword [r9 + 0x28], 0x10
jb 0x18004b410
mov rbx, qword [r13 + 0x10]
jmp 0x18004b414
lea rbx, [r13 + 0x10]
mov r14, qword [r13 + 0x20]
mov rdx, rsi
test r14, r14
je 0x18004b4b7
cmp r14, 4
jae 0x18004b440
xor eax, eax
mov rcx, rsi
jmp 0x18004b48a
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 0x18004b450
mov r8d, r14d
mov rdx, rcx
and r8d, 3
je 0x18004b4b7
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 0x18004b4a0
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 0x18004b3e0
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 0x18004b576
cmp qword [rsi + 0x28], 0x10
jb 0x18004b504
mov rdx, qword [rsi + 0x10]
jmp 0x18004b508
lea rdx, [rsi + 0x10]
mov rcx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov r8, rbp
jne 0x18004b576
mov rax, qword [rsi]
cmp rax, r13
mov r9, qword [rsp + 0x38]
je 0x18004b548
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 0x18004b600
mov rdx, qword [rsi + 0x10]
mov rcx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov r8, rbp
je 0x18004b5cc
cmp rdi, rsi
je 0x18004b5a0
mov rsi, qword [rsi + 8]
cmp r14, qword [rsi + 0x20]
jne 0x18004b576
cmp qword [rsi + 0x28], 0x10
jae 0x18004b560
lea rdx, [rsi + 0x10]
jmp 0x18004b564
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 0x18004b600
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 0x18004b3f1
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 sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3