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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, r9
mov r10, r8
mov r15, rdx
mov rsi, rcx
mov r12, qword [r8 + 0x10]
mov r9, r8
cmp qword [r8 + 0x18], 8
jb 0x1401f4e97
mov r9, qword [r8]
movabs rax, 0xcbf29ce484222325
mov r8, r9
lea rdx, [r12 + r12]
lea rcx, [rdx + r9]
xor r13d, r13d
cmp r9, rcx
cmova rdx, r13
test rdx, rdx
je 0x1401f4ede
movzx ecx, byte [r8]
xor rax, rcx
movabs r11, 0x100000001b3
imul rax, r11
inc r8
mov rcx, r8
sub rcx, r9
cmp rcx, rdx
jne 0x1401f4ebb
mov r8, qword [rsi + 0x30]
and r8, rax
add r8, r8
mov r14, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
cmp rdi, qword [r14 + r8*8]
je 0x1401f4fb3
mov rdi, qword [r14 + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r14 + r8*8]
je 0x1401f4fb3
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x1401f4f21
mov rcx, qword [rax]
mov r9, r10
cmp qword [r10 + 0x18], 8
jb 0x1401f4f2e
mov r9, qword [r10]
cmp r12, qword [rax + 0x10]
jne 0x1401f4f02
mov r11, r12
test r12, r12
je 0x1401f4f6c
movzx eax, word [r9]
movzx edx, word [rcx]
cmp ax, dx
jb 0x1401f4f02
sub r9, rcx
cmp ax, dx
ja 0x1401f4f02
cmp r11, 1
je 0x1401f4f6c
dec r11
add rcx, 2
movzx eax, word [r9 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x1401f4f4e
jmp 0x1401f4f02
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
lea rcx, [rbx + 0x30]
call fcn.140055f70
lea rcx, [rbx + 0x10]
call fcn.140055f70
mov edx, 0x50
mov rcx, rbx
call fcn.140356b5c
mov qword [r15], rdi
mov byte [r15 + 8], r13b
mov rax, r15
jmp 0x1401f50d8
mov qword [rsp + 0x90], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x1401f4ff0
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x1401f500d
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1401f503c
cmp rax, rdi
jne 0x1401f5018
mov qword [rdx + r8*8], rbx
jmp 0x1401f503c
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x1401f503c
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x1404202fc]
test rax, rax
jns 0x1401f505d
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x1401f506e
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x1401f50cd
cmp rdx, 0x200
jae 0x1401f5086
shl rdx, 3
jmp 0x1401f5098
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x1401f5098
add rdx, rdx
mov rcx, rsi
call fcn.14005e628
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x1401f50cd
mov r14, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1401f4e58
cmp rdi, r14
jne 0x1401f50ad
mov qword [r15], rbx
mov byte [r15 + 8], 1
mov rax, r15
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret