Function at 0x140216180
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 0x1402161bf
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 0x140216206
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 0x1402161e3
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 0x1402162d2
mov rdi, qword [r14 + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r14 + r8*8]
je 0x1402162d2
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140216249
mov rcx, qword [rax]
mov r9, r10
cmp qword [r10 + 0x18], 8
jb 0x140216256
mov r9, qword [r10]
cmp r12, qword [rax + 0x10]
jne 0x14021622a
mov r11, r12
test r12, r12
je 0x140216294
movzx eax, word [r9]
movzx edx, word [rcx]
cmp ax, dx
jb 0x14021622a
sub r9, rcx
cmp ax, dx
ja 0x14021622a
cmp r11, 1
je 0x140216294
dec r11
add rcx, 2
movzx eax, word [r9 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x140216276
jmp 0x14021622a
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 + 0x10]
call fcn.140055f70
mov edx, 0x38
mov rcx, rbx
call fcn.140356b5c
mov qword [r15], rdi
mov byte [r15 + 8], r13b
mov rax, r15
jmp 0x1402163f7
mov qword [rsp + 0x90], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x14021630f
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 0x14021632c
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14021635b
cmp rax, rdi
jne 0x140216337
mov qword [rdx + r8*8], rbx
jmp 0x14021635b
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14021635b
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 0x14021637c
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14021638d
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x1402163ec
cmp rdx, 0x200
jae 0x1402163a5
shl rdx, 3
jmp 0x1402163b7
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x1402163b7
add rdx, rdx
mov rcx, rsi
call fcn.14005e628
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x1402163ec
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.140216180
cmp rdi, r14
jne 0x1402163cc
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