Function at 0x140215efc
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 r14, rdx
mov rsi, rcx
mov r15, qword [r8 + 0x10]
mov r9, r8
cmp qword [r8 + 0x18], 8
jb 0x140215f3b
mov r9, qword [r8]
movabs rax, 0xcbf29ce484222325
mov r8, r9
lea rdx, [r15 + r15]
lea rcx, [rdx + r9]
xor r11d, r11d
cmp r9, rcx
cmova rdx, r11
test rdx, rdx
je 0x140215f82
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 0x140215f5f
mov r8, qword [rsi + 0x30]
and r8, rax
add r8, r8
mov r12, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
cmp rdi, qword [r12 + r8*8]
je 0x140216034
mov rdi, qword [r12 + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r12 + r8*8]
je 0x140216034
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140215fc5
mov rcx, qword [rax]
mov r9, r10
cmp qword [r10 + 0x18], 8
jb 0x140215fd2
mov r9, qword [r10]
cmp r15, qword [rax + 0x10]
jne 0x140215fa6
mov r11, r15
test r15, r15
je 0x140216010
movzx eax, word [r9]
movzx edx, word [rcx]
cmp ax, dx
jb 0x140215fa6
sub r9, rcx
cmp ax, dx
ja 0x140215fa6
cmp r11, 1
je 0x140216010
dec r11
add rcx, 2
movzx eax, word [r9 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x140215ff2
jmp 0x140215fa6
mov r8, rbx
lea rdx, [rsp + 0x90]
lea rcx, [rsi + 8]
call fcn.14020d8d8
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140216159
mov qword [rsp + 0x90], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x140216071
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 0x14021608e
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1402160bd
cmp rax, rdi
jne 0x140216099
mov qword [rdx + r8*8], rbx
jmp 0x1402160bd
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x1402160bd
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 0x1402160de
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x1402160ef
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x14021614e
cmp rdx, 0x200
jae 0x140216107
shl rdx, 3
jmp 0x140216119
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140216119
add rdx, rdx
mov rcx, rsi
call fcn.14005e790
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x14021614e
mov r15, 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.140215efc
cmp rdi, r15
jne 0x14021612e
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret