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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rdi, r9
mov r9, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x1400353c6
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r10, [r15 + r15]
xor ecx, ecx
test r10, r10
je 0x1400353f9
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs r11, 0x100000001b3
imul rdx, r11
inc rcx
cmp rcx, r10
jb 0x1400353db
mov r8, qword [rsi + 0x30]
and r8, rdx
mov rax, r8
add rax, rax
mov rcx, qword [rsi + 0x18]
mov rbx, qword [rsi + 8]
mov r13, qword [rcx + rax*8]
cmp rbx, r13
je 0x1400354ad
mov rbx, qword [rcx + rax*8 + 8]
mov rbx, qword [rbx]
cmp rbx, r13
je 0x1400354ad
mov rbx, qword [rbx + 8]
lea rax, [rbx + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140035442
mov rax, qword [rax]
mov r10, r9
cmp qword [r9 + 0x18], 8
jb 0x14003544f
mov r10, qword [r9]
cmp r15, rcx
jne 0x140035423
mov r11, r15
test r15, r15
je 0x14003548c
movzx ecx, word [r10]
movzx edx, word [rax]
cmp cx, dx
jb 0x140035423
sub r10, rax
cmp cx, dx
ja 0x140035423
cmp r11, 1
je 0x14003548c
dec r11
add rax, 2
movzx ecx, word [rax + r10]
movzx edx, word [rax]
cmp cx, dx
jae 0x14003546e
jmp 0x140035423
mov r8, rdi
lea rdx, [rsp + 0x70]
lea rcx, [rsi + 8]
call fcn.140035920
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x1400355d5
mov qword [rsp + 0x80], rdi
mov rdx, qword [rdi]
cmp rbx, rdx
je 0x1400354ea
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx + 8]
mov rax, qword [rdx + 8]
mov qword [rbx + 8], rax
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
mov qword [rdi + 8], rcx
add r8, r8
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x14003550a
mov qword [rdx + r8*8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rdi
jmp 0x140035539
cmp rax, rbx
jne 0x140035515
mov qword [rdx + r8*8], rdi
jmp 0x140035539
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rdi
je 0x140035539
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 [0x140195be0]
test rax, rax
jns 0x14003555a
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14003556b
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x1400355ca
cmp rdx, 0x200
jae 0x140035583
shl rdx, 3
jmp 0x140035595
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140035595
add rdx, rdx
mov rcx, rsi
call fcn.140032944
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x1400355ca
mov r15, qword [rax + 8]
mov rbx, qword [rsi + 8]
mov rbx, qword [rbx]
lea r8, [rbx + 0x10]
mov r9, rbx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140035388
cmp rbx, r15
jne 0x1400355aa
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret