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

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
mov r9, qword [r8 + 0x10]
mov r10, qword [r8 + 0x18]
cmp r10, 7
jbe 0x1400518a8
mov r8, qword [r8]
movabs r15, 0xcbf29ce484222325
lea rdx, [r9 + r9]
xor ecx, ecx
test rdx, rdx
je 0x1400518e4
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor r15, rax
imul r15, r11
inc rcx
cmp rcx, rdx
jb 0x1400518d0
mov rax, qword [rbx + 0x30]
and rax, r15
add rax, rax
mov rcx, qword [rbx + 0x18]
mov rdi, qword [rcx + rax*8 + 8]
lea r12, [rbx + 8]
mov r14, qword [r12]
cmp rdi, r14
jne 0x14005190c
mov rdi, r14
mov rbp, r14
jmp 0x140051979
mov r11, qword [rcx + rax*8]
lea rcx, [rdi + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x140051922
mov rcx, qword [rcx]
mov r8, rsi
cmp r10, 7
jbe 0x14005192e
mov r8, qword [rsi]
cmp r9, rax
jne 0x140051964
mov rdx, r9
test r9, r9
je 0x140051954
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140051964
add rcx, 2
sub rdx, 1
jne 0x140051940
mov qword [rbp], rdi
mov byte [rbp + 8], 0
mov rax, rbp
jmp 0x140051b5b
cmp rdi, r11
je 0x14005196f
mov rdi, qword [rdi + 8]
jmp 0x140051910
mov r14, rdi
lea r12, [rbx + 8]
mov rbp, rdi
movabs rax, 0x38e38e38e38e38e
cmp qword [rbx + 0x10], rax
jne 0x140051997
lea rcx, [0x14009d940]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], 0
mov ecx, 0x48
call fcn.1400848ec
mov r13, rax
mov qword [rsp + 0x28], rax
lea rbx, [rax + 0x10]
mov qword [rsp + 0x80], rbx
mov rdx, rsi
mov rcx, rbx
call fcn.1400509d0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsi + 0x20]
call fcn.140052320
nop
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbx + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x1400519f6
cvtsi2ss xmm0, rcx
jmp 0x140051a0b
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbx + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140051a1e
cvtsi2ss xmm1, rcx
jmp 0x140051a33
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbx]
jbe 0x140051b03
mov rcx, rbx
call fcn.140051e00
mov rax, qword [rbx + 0x30]
and rax, r15
add rax, rax
mov rcx, qword [rbx + 0x18]
mov r9, qword [rcx + rax*8 + 8]
mov rdi, qword [r12]
cmp r9, rdi
jne 0x140051a71
mov qword [rsp + 0x20], rdi
mov rbp, rdi
jmp 0x140051af1
mov rbx, qword [rcx + rax*8]
mov rsi, qword [r13 + 0x28]
mov r10, qword [r13 + 0x20]
nop dword [rax]
mov rdi, r9
lea rcx, [r9 + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x140051a95
mov rcx, qword [rcx]
lea r8, [r13 + 0x10]
cmp rsi, 7
jbe 0x140051aa3
mov r8, qword [r13 + 0x10]
cmp r10, rax
jne 0x140051ad9
mov rdx, r10
test r10, r10
je 0x140051ac7
sub r8, rcx
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140051ad9
add rcx, 2
sub rdx, 1
jne 0x140051ab3
mov rdi, qword [r9]
mov qword [rsp + 0x20], rdi
mov rbp, rdi
mov rbx, qword [rsp + 0x70]
jmp 0x140051afa
cmp r9, rbx
je 0x140051ae4
mov r9, qword [r9 + 8]
jmp 0x140051a80
mov qword [rsp + 0x20], r9
mov rbp, r9
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 0x28], 0
lea r12, [rbx + 8]
mov r14, qword [rsp + 0x20]
mov rdx, qword [rdi + 8]
inc qword [rbx + 0x10]
mov qword [r13], r14
mov qword [r13 + 8], rdx
mov qword [rdx], r13
mov qword [rdi + 8], r13
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x30]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r12]
jne 0x140051b38
mov qword [rcx + rax*8], r13
jmp 0x140051b4a
cmp r8, rbp
jne 0x140051b43
mov qword [rcx + rax*8], r13
jmp 0x140051b4f
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140051b4f
mov qword [rcx + rax*8 + 8], r13
mov rax, qword [rsp + 0x78]
mov qword [rax], r13
mov byte [rax + 8], 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret