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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
xor ebx, ebx
mov dword [rbp - 0x20], ebx
mov eax, dword [0x1400f1d0c]
test eax, eax
je 0x140065aab
cmp eax, 6
ja 0x1400658eb
jb 0x140065aab
cmp dword [0x1400f1d10], 2
jb 0x140065aab
call fcn.1400524e0
mov r13, rax
cmp qword [rdi + 0x18], 7
jbe 0x1400658fd
mov rdi, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov ecx, 0x20
call fcn.1400848ec
mov r15, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], 0x14
mov qword [rbp - 0x38], 0x1f
movups xmm0, xmmword [str.RtlInitUnicodeString]
movups xmmword [rax], xmm0
mov ecx, dword [0x14009dc98]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], bl
call fcn.14006c8c0
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movabs r14, 0xcbf29ce484222325
mov r9, r14
mov rcx, rbx
movabs rsi, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r15]
xor r9, rax
imul r9, rsi
inc rcx
cmp rcx, 0x14
jb 0x140065970
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
mov rcx, r13
call fcn.140052dd0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400659c3
cmp rdx, qword [r13 + 8]
je 0x1400659c3
mov r12, qword [rdx + 0x30]
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r12, r12
je 0x1400659ce
mov rdx, rdi
lea rcx, [rbp - 0x18]
call r12
jmp 0x1400659ce
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov edx, 0x20
mov rcx, r15
call fcn.140084b70
call fcn.1400524e0
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov ecx, 0x20
call fcn.1400848ec
mov rdi, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], 0x14
mov qword [rbp - 0x38], 0x1f
movups xmm0, xmmword [str.RtlHashUnicodeString]
movups xmmword [rax], xmm0
mov ecx, dword [0x14009de70]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
call fcn.14006c8c0
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx eax, byte [rbx + rdi]
xor r14, rax
imul r14, rsi
inc rbx
cmp rbx, 0x14
jb 0x140065a31
mov r9, r14
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
mov rcx, r13
call fcn.140052dd0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140065a8b
cmp rdx, qword [r13 + 8]
je 0x140065a8b
mov rbx, qword [rdx + 0x30]
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140065a96
lea r9, [rbp - 0x20]
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x18]
call rbx
jmp 0x140065a96
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov edx, 0x20
mov rcx, rdi
call fcn.140084b70
mov eax, dword [rbp - 0x20]
jmp 0x140065bd8
mov rcx, rdi
cmp qword [rdx + 0x18], 7
jbe 0x140065abb
mov rcx, qword [rdx]
mov rdx, rcx
mov r15, rcx
mov rax, qword [rdi + 0x10]
lea rax, [rdx + rax*2]
mov qword [rbp - 0x18], rax
cmp rcx, rax
je 0x140065bd6
movabs rsi, 0x100000001b3
movabs r14, 0xcbf29ce484222325
call fcn.1400524e0
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov ecx, 0x20
call fcn.1400848ec
mov rdi, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], 0x14
mov qword [rbp - 0x38], 0x1f
movups xmm0, xmmword [str.RtlUpcaseUnicodeChar]
movups xmmword [rax], xmm0
mov ecx, dword [0x14009de58]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
call fcn.14006c8c0
lea r13, [r12 + 0x40]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r9, r14
mov rcx, rbx
nop word [rax + rax]
movzx eax, byte [rcx + rdi]
xor r9, rax
imul r9, rsi
inc rcx
cmp rcx, 0x14
jb 0x140065b50
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.140052dd0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140065b9f
cmp rdx, qword [r12 + 8]
je 0x140065b9f
mov r12, qword [rdx + 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r12, r12
je 0x140065ba8
movzx ecx, word [r15]
call r12
jmp 0x140065baa
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
movzx eax, ax
imul ecx, eax, 0x1003f
add dword [rbp - 0x20], ecx
mov edx, 0x20
mov rcx, rdi
call fcn.140084b70
add r15, 2
cmp r15, qword [rbp - 0x18]
jne 0x140065ae7
mov eax, dword [rbp - 0x20]
jmp 0x140065bd8
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140084e30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret