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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r9
mov r15, r8
mov r12, rdx
mov r14, rcx
mov qword [rsp + 0x20], rcx
mov rsi, qword [r8 + 0x10]
mov r9, r8
mov r13, qword [r8 + 0x18]
cmp r13, 8
jb 0x1400402cd
mov r9, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r8, [rsi + rsi]
xor ecx, ecx
test r8, r8
je 0x140040304
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r9]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r8
jb 0x1400402f0
mov r11, qword [r14 + 0x30]
and r11, rdx
add r11, r11
mov rcx, qword [r14 + 0x18]
mov rbx, qword [r14 + 8]
mov rax, qword [rcx + r11*8]
cmp rbx, rax
je 0x1400403d0
mov rbx, qword [rcx + r11*8 + 8]
mov rbx, qword [rbx]
nop dword [rax + rax]
cmp rbx, rax
je 0x1400403d0
mov rbx, qword [rbx + 8]
lea rcx, [rbx + 0x10]
mov rdx, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x14004034f
mov rcx, qword [rcx]
mov r10, r15
cmp r13, 8
jb 0x14004035b
mov r10, qword [r15]
cmp rsi, rdx
jne 0x140040330
mov r9, rsi
test rsi, rsi
je 0x14004039d
movzx edx, word [r10]
movzx r8d, word [rcx]
cmp dx, r8w
jb 0x140040330
sub r10, rcx
cmp dx, r8w
ja 0x140040330
cmp r9, 1
je 0x14004039d
dec r9
add rcx, 2
movzx edx, word [r10 + rcx]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x14004037d
jmp 0x140040330
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi]
mov qword [rdx], rcx
mov rdx, qword [rdi]
mov rcx, qword [rdi + 8]
mov qword [rdx + 8], rcx
dec qword [r14 + 0x10]
mov rdx, rdi
call fcn.1400400f0
mov qword [r12], rbx
mov byte [r12 + 8], 0
mov rax, r12
jmp 0x1400404fd
mov qword [rsp + 0x40], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x14004040a
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + r11*8]
cmp rax, qword [r14 + 8]
jne 0x140040427
mov qword [rdx + r11*8], rdi
mov rax, qword [r14 + 0x18]
mov qword [rax + r11*8 + 8], rdi
jmp 0x140040456
cmp rax, rbx
jne 0x140040432
mov qword [rdx + r11*8], rdi
jmp 0x140040456
mov rax, qword [rdx + r11*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r11*8 + 8], rcx
cmp rcx, rdi
je 0x140040456
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + r11*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r11*8 + 8], rcx
mov rax, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x1400846c8]
test rax, rax
jns 0x140040477
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140040488
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [r14]
jbe 0x1400404f0
cmp rdx, 0x200
jae 0x1400404a5
lea rdx, [rdx*8]
jmp 0x1400404b7
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x1400404b7
add rdx, rdx
mov rcx, r14
call fcn.1400104d0
mov rax, qword [r14 + 8]
cmp qword [rax], rax
je 0x1400404f0
mov rsi, qword [rax + 8]
nop dword [rax]
mov rbx, qword [r14 + 8]
mov rbx, qword [rbx]
lea r8, [rbx + 0x10]
mov r9, rbx
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140040280
cmp rbx, rsi
jne 0x1400404d0
mov qword [r12], rdi
mov byte [r12 + 8], 1
mov rax, r12
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140045ef0
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret