Function at 0x140052170
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 [0x1400c7100]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
xor ebx, ebx
mov dword [rbp - 0x20], ebx
mov eax, dword [0x1400cb15c]
test eax, eax
je 0x14005238b
cmp eax, 6
ja 0x1400521cb
jb 0x14005238b
cmp dword [0x1400cb160], 2
jb 0x14005238b
call fcn.140027440
mov r13, rax
cmp qword [rdi + 0x18], 7
jbe 0x1400521dd
mov rdi, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov ecx, 0x20
call fcn.14006c698
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 [0x1400b4eb0]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], bl
call fcn.140048a20
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 0x140052250
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
mov rcx, r13
call fcn.1400288c0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400522a3
cmp rdx, qword [r13 + 8]
je 0x1400522a3
mov r12, qword [rdx + 0x30]
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r12, r12
je 0x1400522ae
mov rdx, rdi
lea rcx, [rbp - 0x18]
call r12
jmp 0x1400522ae
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov edx, 0x20
mov rcx, r15
call fcn.14006c690
call fcn.140027440
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov ecx, 0x20
call fcn.14006c698
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 [0x1400b5578]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
call fcn.140048a20
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 0x140052311
mov r9, r14
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
mov rcx, r13
call fcn.1400288c0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14005236b
cmp rdx, qword [r13 + 8]
je 0x14005236b
mov rbx, qword [rdx + 0x30]
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140052376
lea r9, [rbp - 0x20]
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x18]
call rbx
jmp 0x140052376
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov edx, 0x20
mov rcx, rdi
call fcn.14006c690
mov eax, dword [rbp - 0x20]
jmp 0x1400524b8
mov rcx, rdi
cmp qword [rdx + 0x18], 7
jbe 0x14005239b
mov rcx, qword [rdx]
mov rdx, rcx
mov r12, rcx
mov rax, qword [rdi + 0x10]
lea rax, [rdx + rax*2]
mov qword [rbp - 0x18], rax
cmp rcx, rax
je 0x1400524b6
movabs rsi, 0x100000001b3
movabs r14, 0xcbf29ce484222325
call fcn.140027440
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov ecx, 0x20
call fcn.14006c698
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 [0x1400b55e0]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
call fcn.140048a20
lea r13, [r15 + 0x40]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r9, r14
mov rax, rbx
nop word [rax + rax]
movzx ecx, byte [rax + rdi]
xor r9, rcx
imul r9, rsi
inc rax
cmp rax, 0x14
jb 0x140052430
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
mov rcx, r15
call fcn.1400288c0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14005247f
cmp rdx, qword [r15 + 8]
je 0x14005247f
mov r15, qword [rdx + 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r15, r15
je 0x140052488
movzx ecx, word [r12]
call r15
jmp 0x14005248a
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.14006c690
add r12, 2
cmp r12, qword [rbp - 0x18]
jne 0x1400523c7
mov eax, dword [rbp - 0x20]
jmp 0x1400524b8
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14006c670
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