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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rbx, r9
mov r9, r8
mov r15, rdx
mov rsi, rcx
mov r14, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14004fc25
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r10, [r14 + r14]
xor ecx, ecx
test r10, r10
je 0x14004fc58
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs r11, 0x100000001b3
imul rdx, r11
inc rcx
cmp rcx, r10
jb 0x14004fc3a
mov r8, qword [rsi + 0x30]
and r8, rdx
mov rax, r8
add rax, rax
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov r12, qword [rcx + rax*8]
cmp rdi, r12
je 0x14004fd26
mov rdi, qword [rcx + rax*8 + 8]
mov rdi, qword [rdi]
cmp rdi, r12
je 0x14004fd26
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14004fca1
mov rax, qword [rax]
mov r10, r9
cmp qword [r9 + 0x18], 8
jb 0x14004fcae
mov r10, qword [r9]
cmp r14, rcx
jne 0x14004fc82
mov r11, r14
test r14, r14
je 0x14004fceb
movzx ecx, word [r10]
movzx edx, word [rax]
cmp cx, dx
jb 0x14004fc82
sub r10, rax
cmp cx, dx
ja 0x14004fc82
cmp r11, 1
je 0x14004fceb
dec r11
add rax, 2
movzx ecx, word [rax + r10]
movzx edx, word [rax]
cmp cx, dx
jae 0x14004fccd
jmp 0x14004fc82
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.14002e21c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r15], rdi
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14004fe4e
mov qword [rsp + 0x80], rbx
mov rdx, qword [rbx]
cmp rdi, rdx
je 0x14004fd63
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov rcx, qword [rdi + 8]
mov rax, qword [rdx + 8]
mov qword [rdi + 8], rax
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
mov qword [rbx + 8], rcx
add r8, r8
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x14004fd83
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14004fdb2
cmp rax, rdi
jne 0x14004fd8e
mov qword [rdx + r8*8], rbx
jmp 0x14004fdb2
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14004fdb2
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 0x14004fdd3
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14004fde4
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x14004fe43
cmp rdx, 0x200
jae 0x14004fdfc
shl rdx, 3
jmp 0x14004fe0e
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14004fe0e
add rdx, rdx
mov rcx, rsi
call fcn.140032944
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x14004fe43
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.14004fbec
cmp rdi, r14
jne 0x14004fe23
mov qword [r15], rbx
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret