Function at 0x14004fec0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400fb088]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, r9
mov r11, r8
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov r14, qword [r8 + 0x10]
mov r9, r8
mov r13, qword [r8 + 0x18]
cmp r13, 8
jb 0x14004ff14
mov r9, qword [r8]
movabs rax, 0xcbf29ce484222325
mov rdx, r9
lea r8, [r14 + r14]
lea rcx, [r8 + r9]
xor r10d, r10d
cmp r9, rcx
cmova r8, r10
test r8, r8
je 0x14004ff68
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx]
xor rax, rcx
imul rax, r10
inc rdx
mov rcx, rdx
sub rcx, r9
cmp rcx, r8
jne 0x14004ff50
mov r10, qword [rsi + 0x30]
and r10, rax
add r10, r10
mov r12, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov rax, qword [r12 + r10*8]
cmp rdi, rax
je 0x14005003a
mov rdi, qword [r12 + r10*8 + 8]
mov rdi, qword [rdi]
cmp rdi, rax
je 0x14005003a
nop dword [rax + rax]
mov rdi, qword [rdi + 8]
lea rcx, [rdi + 0x10]
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x14004ffb5
mov rax, qword [rcx]
mov r9, r11
cmp r13, 8
jb 0x14004ffc1
mov r9, qword [r11]
cmp r14, qword [rcx + 0x10]
jne 0x140050030
mov r8, r14
test r14, r14
je 0x14004ffff
movzx ecx, word [r9]
movzx edx, word [rax]
cmp cx, dx
jl 0x140050030
sub r9, rax
cmp cx, dx
jg 0x140050030
cmp r8, 1
je 0x14004ffff
dec r8
add rax, 2
movzx ecx, word [rax + r9]
movzx edx, word [rax]
cmp cx, dx
jge 0x14004ffe1
jmp 0x140050030
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
mov qword [rdx], rcx
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rdx + 8], rcx
dec qword [rsi + 0x10]
mov rdx, rbx
call fcn.14004f380
mov qword [r15], rdi
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14005016f
cmp rdi, qword [r12 + r10*8]
jne 0x14004ffa0
mov qword [rsp + 0x40], rbx
mov rdx, qword [rbx]
cmp rdi, rdx
je 0x140050074
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov rcx, qword [rdi + 8]
mov rax, qword [rdx + 8]
mov qword [rdi + 8], rax
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
mov qword [rbx + 8], rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r10*8]
cmp rax, qword [rsi + 8]
jne 0x140050091
mov qword [rdx + r10*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r10*8 + 8], rbx
jmp 0x1400500c0
cmp rax, rdi
jne 0x14005009c
mov qword [rdx + r10*8], rbx
jmp 0x1400500c0
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r10*8 + 8], rcx
cmp rcx, rbx
je 0x1400500c0
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x1400dbdd8]
test rax, rax
jns 0x1400500e1
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x1400500f2
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140050164
cmp rdx, 0x200
jae 0x14005010e
lea rdx, [rdx*8]
jmp 0x140050120
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140050120
add rdx, rdx
mov rcx, rsi
call fcn.140028fe0
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140050164
mov rdi, qword [rax + 8]
nop word [rax + rax]
mov r9, qword [rsi + 8]
mov r9, qword [r9]
cmp r9, rdi
sete r14b
lea r8, [r9 + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14004fec0
test r14b, r14b
je 0x140050140
mov qword [r15], rbx
mov byte [r15 + 8], 1
mov rax, r15
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006fa50
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret