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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov r13, rcx
cmp byte [rcx + 0x20], 0
je 0x1400512e5
lea rbx, [rcx + 0xf0]
mov qword [rsp + 0xc8], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140051394
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
jne 0x140050f67
dec eax
mov dword [rbx + 0x4c], eax
jmp 0x140051377
lea r14, [r13 + 0x30]
mov r10, qword [r14 + 8]
mov r9, qword [r14]
mov rsi, r10
sub rsi, r9
sar rsi, 5
mov rdi, rsi
mov qword [rsp + 0xc0], rsi
cmp r9, r10
je 0x140051010
movsxd rcx, dword [r9 + 8]
mov rax, rdi
shr rax, 0x20
xor rcx, rax
mov rax, rdi
shl rax, 0x20
mov rdi, rcx
xor rdi, rax
mov qword [rsp + 0xc0], rdi
mov rdx, qword [r9]
test rdx, rdx
je 0x140051000
movzx r8d, byte [rdx]
test r8b, r8b
je 0x140051000
nop dword [rax]
nop dword [rax + rax]
mov rcx, rdi
shr rcx, 8
mov rax, rdi
shl rax, 8
mov rdi, rcx
xor rdi, rax
movsx rax, r8b
xor rdi, rax
lea rdx, [rdx + 1]
movzx r8d, byte [rdx]
test r8b, r8b
jne 0x140050fd0
mov qword [rsp + 0xc0], rdi
add r9, 0x20
cmp r9, r10
jne 0x140050f90
nop dword [rax]
movzx edx, dil
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rsp + 0xc1]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0xc2]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0xc3]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0xc4]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0xc5]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0xc6]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0xc7]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [r13 + 0x90]
and rcx, rdx
shl rcx, 4
add rcx, qword [r13 + 0x78]
mov rax, qword [rcx + 8]
mov rdx, qword [r13 + 0x68]
cmp rax, rdx
je 0x1400510d1
mov rcx, qword [rcx]
cmp rdi, qword [rax + 0x10]
je 0x1400510d3
cmp rax, rcx
je 0x1400510d1
mov rax, qword [rax + 8]
cmp rdi, qword [rax + 0x10]
jne 0x1400510c0
jmp 0x1400510d3
xor eax, eax
mov rcx, rdx
test rax, rax
cmovne rcx, rax
cmp rcx, rdx
jne 0x1400512b4
mov dword [rsp + 0x30], 1
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x38], xmm0
xor ebp, ebp
mov qword [rsp + 0x48], rbp
xor eax, eax
xor r15d, r15d
movabs rcx, 0x7ffffffffffffff
test rsi, rsi
je 0x1400511a5
cmp rsi, rcx
ja 0x140051382
shl rsi, 5
cmp rsi, 0x1000
jb 0x140051156
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140051388
call fcn.1400fcfc0
test rax, rax
je 0x1400512a0
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x140051166
test rsi, rsi
je 0x140051166
mov rcx, rsi
call fcn.1400fcfc0
mov r15, rax
mov r12, r15
mov qword [rsp + 0x38], r15
lea rbp, [rsi + r15]
mov qword [rsp + 0x48], rbp
mov rsi, qword [r14 + 8]
mov rdx, qword [r14]
sub rsi, rdx
mov r8, rsi
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
and rsi, 0xffffffffffffffe0
lea rax, [rsi + r15]
mov qword [rsp + 0x40], rax
movabs rcx, 0x7ffffffffffffff
jmp 0x1400511aa
mov r12, qword [rsp + 0x38]
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], 1
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
sub rax, r15
mov qword [rsp + 0xc0], rax
mov rsi, rax
sar rsi, 5
test rsi, rsi
je 0x14005121a
cmp rsi, rcx
ja 0x14005138e
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1400513a0
mov r8, qword [rsp + 0xc0]
mov rdx, r15
mov rcx, qword [rsp + 0x60]
call sub.VCRUNTIME140.dll_memmove
shl rsi, 5
add rsi, qword [rsp + 0x60]
mov qword [rsp + 0x68], rsi
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x20]
lea rcx, [r13 + 0x60]
call fcn.14004c5b0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140051272
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005126c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005126c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fcffc
nop
test r12, r12
je 0x1400512db
sub rbp, r12
and rbp, 0xffffffffffffffe0
mov rax, r12
cmp rbp, 0x1000
jb 0x1400512a7
add rbp, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400512a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rbp
mov rcx, r12
call fcn.1400fcffc
jmp 0x1400512db
inc dword [rcx + 0x18]
cmp byte [r13 + 0x21], 0
jne 0x1400512db
add rcx, 0x20
cmp rcx, r14
je 0x1400512db
mov rdx, qword [r14]
mov r8, qword [r14 + 8]
sub r8, rdx
sar r8, 5
call fcn.14004b6d0
nop
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
jmp 0x1400512e9
lea r14, [rcx + 0x30]
lea rcx, [r13 + 0xa0]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140051394
mov eax, dword [r13 + 0xec]
cmp eax, 0x7fffffff
je 0x14005136e
lea rdx, [r13 + 0x48]
cmp r14, rdx
je 0x140051340
mov rcx, qword [r14]
mov rax, qword [rdx]
mov qword [r14], rax
mov qword [rdx], rcx
mov rcx, qword [r14 + 8]
mov rax, qword [rdx + 8]
mov qword [r14 + 8], rax
mov qword [rdx + 8], rcx
mov rcx, qword [r14 + 0x10]
mov rax, qword [rdx + 0x10]
mov qword [r14 + 0x10], rax
mov qword [rdx + 0x10], rcx
mov dword [r13 + 0x28], 0
lea rcx, [r13 + 0xa0]
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp sub.MSVCP140.dll__Mtx_unlock
dec eax
mov dword [r13 + 0xec], eax
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
call fcn.14001b5f0
nop
call fcn.14001ae60
nop
call fcn.14001b5f0
nop
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3