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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
cmp qword [r8 + 0x18], 8
mov r12, rdx
mov rdx, qword [r8 + 0x10]
mov rsi, r8
mov rbp, rcx
jb 0x140122c7d
mov r9, qword [r8]
jmp 0x140122c80
mov r9, rsi
xor ecx, ecx
movabs rbx, 0xcbf29ce484222325
mov qword [rsp + 0x90], rbx
add rdx, rdx
je 0x140122ccc
movabs r8, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
xor rbx, rax
imul rbx, r8
cmp rcx, rdx
jb 0x140122cb0
mov qword [rsp + 0x90], rbx
xor edx, edx
mov dword [rsp + 0x80], 0
mov rax, rbx
mov r15d, 1
div qword [rbp + 0x228]
mov rdi, rdx
mov r13, rdx
or rdi, 1
bsr rax, rdi
movzx ecx, al
mov dword [rsp + 0x80], eax
mov r8, qword [rbp + rcx*8 + 8]
test r8, r8
je 0x140122d27
mov edx, r15d
mov rax, r13
shl rdx, cl
and rdx, 0xfffffffffffffffe
sub rax, rdx
cmp qword [r8 + rax*8], 0
setne al
test al, al
jne 0x140122d32
mov rdx, r13
mov rcx, rbp
call fcn.140121ba0
lea rcx, [0x140208e70]
movzx eax, bl
mov r8, rsi
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x91]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x92]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x93]
mov dword [rsp + 0x90], 0
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x94]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x95]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x96]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x97]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x20], al
mov r14, qword [rsp + 0x20]
bsr rax, rdi
or r14, r15
movzx ecx, al
mov rdx, r14
mov dword [rsp + 0x90], eax
mov rax, r15
shl rax, cl
and rax, 0xfffffffffffffffe
mov rdi, qword [rbp + rcx*8 + 8]
sub r13, rax
mov rdi, qword [rdi + r13*8]
call fcn.140123600
mov rsi, rax
mov rbx, qword [rdi]
nop dword [rax]
test rbx, rbx
je 0x140122e4b
mov rax, qword [rbx + 0x40]
cmp rax, r14
ja 0x140122e4b
jne 0x140122e43
cmp qword [rsi + 0x20], 8
lea r8, [rsi + 8]
lea rcx, [rbx + 8]
lea r9, [r8 + 0x10]
jb 0x140122e26
mov r8, qword [r8]
cmp qword [rcx + 0x18], 8
lea rdx, [rcx + 0x10]
jb 0x140122e34
mov rcx, qword [rcx]
mov r9, qword [r9]
mov rdx, qword [rdx]
call fcn.1400c4840
test eax, eax
je 0x140122e6d
mov rdi, rbx
mov rbx, qword [rbx]
jmp 0x140122e00
mov qword [rsi], rbx
mov rax, rbx
lock cmpxchg qword [rdi], rsi
je 0x140122e81
cmp rax, rsi
je 0x140122e81
mov qword [rsp + 0x30], 0
mov byte [rsp + 0x38], 0
jmp 0x140122df9
mov rdx, rsi
call fcn.140121a80
mov qword [r12], rbx
mov byte [r12 + 8], 0
jmp 0x140122ef0
lock xadd dword [rbp + 0x218], r15d
mov rdx, qword [rbp + 0x228]
add r15d, 1
movss xmm2, dword [0x140236738]
xorps xmm0, xmm0
movsxd rax, r15d
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x38], 1
cvtsi2ss xmm0, rax
jns 0x140122eb8
addss xmm0, xmm2
xorps xmm1, xmm1
cvtsi2ss xmm1, rdx
test rdx, rdx
jns 0x140122ec9
addss xmm1, xmm2
divss xmm0, xmm1
comiss xmm0, dword [rbp + 0x230]
jbe 0x140122ee6
lea rcx, [rdx + rdx]
mov rax, rdx
lock cmpxchg qword [rbp + 0x228], rcx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r12], xmm0
mov rax, r12
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret