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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push r14
sub rsp, 0x58
movabs rax, 0xfffffffffffffff
mov r14, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x1400506db
lea rax, [rdx - 1]
mov qword [rsp + 0x48], rsi
or rax, rbx
mov qword [rsp + 0x40], rdi
mov rdi, qword [r14 + 8]
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x88], rdi
inc ecx
shl rbx, cl
lea rcx, [r14 + 0x18]
lea rdx, [rbx + rbx]
call fcn.14004f990
mov qword [r14 + 0x38], rbx
lea rax, [rbx - 1]
mov qword [r14 + 0x30], rax
mov rsi, qword [r14 + 8]
mov rsi, qword [rsi]
cmp rsi, rdi
je 0x1400506a0
mov qword [rsp + 0x50], rbp
mov rdi, rsi
mov qword [rsp + 0x38], r12
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x30], r13
movabs rbx, 0x100000001b3
mov qword [rsp + 0x28], r15
movabs rbp, 0xc6a4a7935bd1e995
movabs r10, 0x35a98f4d286a90b9
mov r9d, 0xe6546b64
nop word [rax + rax]
mov r11, qword [rdi + 0x28]
lea r8, [rdi + 0x10]
mov rsi, qword [rsi]
mov r13, qword [rdi + 0x20]
cmp r11, 0x10
jb 0x140050349
mov r8, qword [rdi + 0x10]
xor edx, edx
mov rcx, rax
test r13, r13
je 0x14005037e
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, rbx
cmp rdx, r13
jb 0x140050360
movabs rax, 0xcbf29ce484222325
imul rcx, rbp
mov r8, rcx
shr r8, 0x2f
xor r8, rcx
imul r8, r10
mov r10, qword [rdi + 0x40]
add r8, r9
lea r9, [rdi + 0x30]
cmp qword [rdi + 0x48], 0x10
jb 0x1400503a6
mov r9, qword [rdi + 0x30]
xor edx, edx
mov rcx, rax
test r10, r10
je 0x1400503ce
movzx eax, byte [rdx + r9]
inc rdx
xor rcx, rax
imul rcx, rbx
cmp rdx, r10
jb 0x1400503b0
movabs rax, 0xcbf29ce484222325
mov r9, qword [rdi + 0x60]
imul rcx, rbp
mov r10, rcx
shr r10, 0x2f
xor r10, rcx
mov ecx, 0xe6546b64
imul r10, rbp
xor r10, r8
lea r8, [rdi + 0x50]
imul r10, rbp
add r10, rcx
cmp qword [rdi + 0x68], 0x10
jb 0x140050402
mov r8, qword [rdi + 0x50]
xor ecx, ecx
mov rdx, rax
test r9, r9
je 0x140050424
nop dword [rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, rbx
cmp rcx, r9
jb 0x140050410
movabs rax, 0xc6a4a7935bd1e995
mov r9d, 0xe6546b64
imul rdx, rax
mov rcx, rdx
shr rcx, 0x2f
xor rcx, rdx
imul rcx, rax
xor rcx, r10
imul rcx, rax
mov rax, qword [r14 + 0x18]
add rcx, r9
and rcx, qword [r14 + 0x30]
shl rcx, 4
add rax, rcx
mov qword [rsp + 0x80], rax
mov rcx, qword [rax]
mov qword [rsp + 0x78], rcx
cmp rcx, qword [rsp + 0x88]
jne 0x140050485
mov qword [rax], rdi
mov qword [rax + 8], rdi
jmp 0x14005065d
mov rbx, qword [rax + 8]
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
jb 0x140050498
mov rdx, qword [rbx + 0x10]
lea rcx, [rdi + 0x10]
cmp r11, 0x10
jb 0x1400504a6
mov rcx, qword [rdi + 0x10]
cmp r13, qword [rbx + 0x20]
jne 0x140050564
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140050560
cmp qword [rbx + 0x68], 0x10
lea rdx, [rbx + 0x50]
mov rax, qword [rdx + 0x10]
jb 0x1400504d2
mov rdx, qword [rdx]
cmp qword [rdi + 0x68], 0x10
lea rcx, [rdi + 0x50]
mov r8, qword [rdi + 0x60]
jb 0x1400504e5
mov rcx, qword [rdi + 0x50]
cmp r8, rax
jne 0x140050560
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140050560
cmp qword [rbx + 0x48], 0x10
lea rdx, [rbx + 0x30]
mov rax, qword [rdx + 0x10]
jb 0x140050505
mov rdx, qword [rdx]
cmp qword [rdi + 0x48], 0x10
lea rcx, [rdi + 0x30]
mov r8, qword [rdi + 0x40]
jb 0x140050518
mov rcx, qword [rdi + 0x30]
cmp r8, rax
jne 0x140050560
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140050560
mov r8, qword [rbx]
cmp r8, rdi
je 0x14005054f
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x80]
mov qword [rax + 8], rdi
jmp 0x140050648
mov r11, qword [rdi + 0x28]
cmp qword [rsp + 0x78], rbx
je 0x14005061c
nop
mov rbx, qword [rbx + 8]
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
jb 0x140050583
mov rdx, qword [rbx + 0x10]
lea rcx, [rdi + 0x10]
cmp r11, 0x10
jb 0x140050591
mov rcx, qword [rdi + 0x10]
cmp r13, qword [rbx + 0x20]
jne 0x140050611
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14005060d
cmp qword [rbx + 0x68], 0x10
lea rdx, [rbx + 0x50]
mov rax, qword [rdx + 0x10]
jb 0x1400505b5
mov rdx, qword [rdx]
cmp qword [rdi + 0x68], 0x10
lea rcx, [rdi + 0x50]
mov r8, qword [rdi + 0x60]
jb 0x1400505c8
mov rcx, qword [rdi + 0x50]
cmp r8, rax
jne 0x14005060d
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14005060d
cmp qword [rbx + 0x48], 0x10
lea rdx, [rbx + 0x30]
mov rax, qword [rdx + 0x10]
jb 0x1400505e8
mov rdx, qword [rdx]
cmp qword [rdi + 0x48], 0x10
lea rcx, [rdi + 0x30]
mov r8, qword [rdi + 0x40]
jb 0x1400505fb
mov rcx, qword [rdi + 0x30]
cmp r8, rax
jne 0x14005060d
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400506b2
mov r11, qword [rdi + 0x28]
cmp qword [rsp + 0x78], rbx
jne 0x140050570
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 rax, qword [rsp + 0x80]
mov qword [rax], rdi
mov r14, qword [rsp + 0x70]
movabs rbx, 0x100000001b3
mov r9d, 0xe6546b64
mov rdi, rsi
movabs rax, 0xcbf29ce484222325
movabs rbp, 0xc6a4a7935bd1e995
movabs r10, 0x35a98f4d286a90b9
cmp rsi, qword [rsp + 0x88]
jne 0x140050330
mov r15, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
add rsp, 0x58
pop r14
pop rbx
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x140050648
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3