Function at 0x1403013a0
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 0x1403013df
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 0x140301426
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 0x140301403
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 0x1403014d8
mov rdi, qword [r12 + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r12 + r8*8]
je 0x1403014d8
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140301469
mov rcx, qword [rax]
mov r9, r10
cmp qword [r10 + 0x18], 8
jb 0x140301476
mov r9, qword [r10]
cmp r15, qword [rax + 0x10]
jne 0x14030144a
mov r11, r15
test r15, r15
je 0x1403014b4
movzx eax, word [r9]
movzx edx, word [rcx]
cmp ax, dx
jb 0x14030144a
sub r9, rcx
cmp ax, dx
ja 0x14030144a
cmp r11, 1
je 0x1403014b4
dec r11
add rcx, 2
movzx eax, word [r9 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x140301496
jmp 0x14030144a
mov r8, rbx
lea rdx, [rsp + 0x90]
lea rcx, [rsi + 8]
call fcn.140301634
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x1403015fd
mov qword [rsp + 0x90], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x140301515
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 0x140301532
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140301561
cmp rax, rdi
jne 0x14030153d
mov qword [rdx + r8*8], rbx
jmp 0x140301561
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140301561
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 0x140301582
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140301593
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x1403015f2
cmp rdx, 0x200
jae 0x1403015ab
shl rdx, 3
jmp 0x1403015bd
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x1403015bd
add rdx, rdx
mov rcx, rsi
call fcn.14005e790
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x1403015f2
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.1403013a0
cmp rdi, r15
jne 0x1403015d2
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