Function at 0x140040460
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov rsi, rdx
mov r14, rcx
cmp rdx, r8
je 0x1400406d7
cmp qword [rdx + 0x28], 0xf
lea r8, [rdx + 0x10]
mov rax, qword [rcx + 8]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rsp + 0x70], rbx
mov rbx, rdx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x80], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x20], r10
jbe 0x1400404c7
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x140040504
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x1400404f0
mov r12, qword [r14 + 0x30]
and r12, rdx
shl r12, 4
add r12, r10
mov rax, qword [r12 + 8]
mov r13, qword [r12]
mov qword [rsp + 0x88], rax
mov rdi, rbx
mov r15, rbx
mov rbx, qword [rbx]
mov rdx, qword [rdi + 0x28]
cmp rdx, 0xf
jbe 0x140040567
mov rcx, qword [rdi + 0x10]
inc rdx
cmp rdx, 0x1000
jb 0x140040562
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400406fd
mov rcx, r8
call fcn.1400a7890
mov edx, 0x38
mov qword [rdi + 0x20], 0
mov rcx, rdi
mov qword [rdi + 0x28], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rdi + 0x10], 0
call fcn.1400a7890
dec qword [r14 + 0x10]
cmp r15, qword [rsp + 0x88]
je 0x1400405b5
cmp rbx, rbp
jne 0x140040523
cmp r13, rsi
jne 0x1400405a4
mov qword [r12], rbx
mov rax, qword [rsp + 0x78]
mov qword [rax], rbx
mov qword [rbx + 8], rax
jmp 0x1400406be
cmp r13, rsi
mov r13, qword [rsp + 0x78]
jne 0x1400405cd
mov rax, qword [rsp + 0x80]
mov qword [r12], rax
jmp 0x1400405d0
mov rax, r13
mov qword [r12 + 8], rax
cmp rbx, rbp
je 0x1400406b6
nop
cmp qword [rbx + 0x28], 0xf
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
jbe 0x1400405f2
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x140040629
movabs r13, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x140040610
mov r13, qword [rsp + 0x78]
and rcx, qword [r14 + 0x30]
mov r15, qword [rsp + 0x20]
shl rcx, 4
add r15, rcx
mov r12, qword [r15 + 8]
nop dword [rax]
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
mov rdx, qword [rdi + 0x28]
cmp rdx, 0xf
jbe 0x140040684
mov rcx, qword [rdi + 0x10]
inc rdx
cmp rdx, 0x1000
jb 0x14004067f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400406fd
mov rcx, r8
call fcn.1400a7890
mov edx, 0x38
mov qword [rdi + 0x20], 0
mov rcx, rdi
mov qword [rdi + 0x28], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rdi + 0x10], 0
call fcn.1400a7890
dec qword [r14 + 0x10]
cmp rsi, r12
je 0x1400406e3
cmp rbx, rbp
jne 0x140040640
mov qword [r15], rbx
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x30]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x80]
mov qword [r15], rcx
mov qword [r15 + 8], rcx
cmp rbx, rbp
jne 0x1400405e0
jmp 0x1400406b6
call fcn.1400ae980
int3