Function at 0x140065ae0
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 [0x1400f1b7c]
test eax, eax
je 0x140065cfb
cmp eax, 6
ja 0x140065b3b
jb 0x140065cfb
cmp dword [0x1400f1b80], 2
jb 0x140065cfb
call fcn.140052730
mov r13, rax
cmp qword [rdi + 0x18], 7
jbe 0x140065b4d
mov rdi, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov ecx, 0x20
call fcn.140084afc
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 [0x14009dc88]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], bl
call fcn.14006cb10
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 0x140065bc0
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
mov rcx, r13
call fcn.140053020
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140065c13
cmp rdx, qword [r13 + 8]
je 0x140065c13
mov r12, qword [rdx + 0x30]
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r12, r12
je 0x140065c1e
mov rdx, rdi
lea rcx, [rbp - 0x18]
call r12
jmp 0x140065c1e
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov edx, 0x20
mov rcx, r15
call fcn.140084d80
call fcn.140052730
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov ecx, 0x20
call fcn.140084afc
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 [0x14009de48]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
call fcn.14006cb10
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 0x140065c81
mov r9, r14
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
mov rcx, r13
call fcn.140053020
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140065cdb
cmp rdx, qword [r13 + 8]
je 0x140065cdb
mov rbx, qword [rdx + 0x30]
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140065ce6
lea r9, [rbp - 0x20]
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x18]
call rbx
jmp 0x140065ce6
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov edx, 0x20
mov rcx, rdi
call fcn.140084d80
mov eax, dword [rbp - 0x20]
jmp 0x140065e28
mov rcx, rdi
cmp qword [rdx + 0x18], 7
jbe 0x140065d0b
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 0x140065e26
movabs rsi, 0x100000001b3
movabs r14, 0xcbf29ce484222325
call fcn.140052730
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov ecx, 0x20
call fcn.140084afc
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 [0x14009de70]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
call fcn.14006cb10
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 0x140065da0
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.140053020
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140065def
cmp rdx, qword [r12 + 8]
je 0x140065def
mov r12, qword [rdx + 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r12, r12
je 0x140065df8
movzx ecx, word [r15]
call r12
jmp 0x140065dfa
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.140084d80
add r15, 2
cmp r15, qword [rbp - 0x18]
jne 0x140065d37
mov eax, dword [rbp - 0x20]
jmp 0x140065e28
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140085040
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