Function at 0x140023cf0
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
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140093020]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rdx
xor ebx, ebx
mov dword [rbp - 1], ebx
mov eax, dword [0x1400962bc]
test eax, eax
je 0x140023f46
cmp eax, 6
ja 0x140023d50
jb 0x140023f46
cmp dword [0x1400962c0], 2
jb 0x140023f46
call fcn.140012290
mov r13, rax
mov rcx, rdi
call fcn.140002c00
mov qword [rbp - 0x31], rax
lea rdx, str.RtlInitUnicodeString
lea rcx, [rbp - 0x51]
call fcn.140003040
nop
call fcn.14002b010
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbp - 0x51]
call fcn.140002bf0
mov rsi, rax
lea rcx, [rbp - 0x51]
call fcn.140002ee0
movabs r15, 0xcbf29ce484222325
mov r9, r15
mov rdx, rbx
movabs rdi, 0x100000001b3
test rsi, rsi
je 0x140023dd3
nop dword [rax + rax]
movzx ecx, byte [rax + rdx]
xor r9, rcx
imul r9, rdi
inc rdx
cmp rdx, rsi
jb 0x140023dc0
lea r8, [rbp - 0x51]
lea rdx, [rbp + 0xf]
mov rcx, r13
call fcn.140012ae0
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140023df0
mov rcx, qword [r13 + 8]
mov qword [rbp + 7], rcx
lea rdx, [r13 + 8]
lea rcx, [rbp + 7]
call fcn.140001650
mov rax, qword [r13 + 8]
mov qword [rbp + 0xf], rax
lea rdx, [r13 + 8]
lea rcx, [rbp + 0xf]
call fcn.140001650
mov rax, qword [rbp + 7]
lea rcx, [r13 + 0x40]
cmp rax, qword [rbp + 0xf]
je 0x140023e3f
mov rsi, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x140023e46
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp + 0x1f]
call rsi
jmp 0x140023e46
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp - 0x51]
call fcn.140002f90
call fcn.140012290
mov r13, rax
mov byte [rbp - 0x59], 1
lea rdx, str.RtlHashUnicodeString
lea rcx, [rbp - 0x51]
call fcn.140003040
nop
call fcn.14002b010
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbp - 0x51]
call fcn.140002bf0
mov r14, rax
lea rcx, [rbp - 0x51]
call fcn.140002ee0
test r14, r14
je 0x140023eb3
nop word [rax + rax]
movzx ecx, byte [rax + rbx]
xor r15, rcx
imul r15, rdi
inc rbx
cmp rbx, r14
jb 0x140023ea0
mov r9, r15
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x31]
mov rcx, r13
call fcn.140012ae0
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140023ed3
mov rcx, qword [r13 + 8]
mov qword [rbp + 0xf], rcx
lea rdx, [r13 + 8]
lea rcx, [rbp + 0xf]
call fcn.140001650
mov rax, qword [r13 + 8]
mov qword [rbp + 7], rax
lea rdx, [r13 + 8]
lea rcx, [rbp + 7]
call fcn.140001650
mov rax, qword [rbp + 0xf]
lea rcx, [r13 + 0x40]
cmp rax, qword [rbp + 7]
je 0x140023f31
mov rbx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140023f38
lea rcx, [rbp - 0x59]
call fcn.140002ed0
lea r9, [rbp - 1]
xor r8d, r8d
movzx edx, byte [rax]
lea rcx, [rbp + 0x1f]
call rbx
jmp 0x140023f38
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
lea rcx, [rbp - 0x51]
call fcn.140002f90
jmp 0x14002408c
mov rcx, rdi
call fcn.140002960
mov rsi, rax
mov rcx, rdi
call fcn.140002960
mov rcx, qword [rdi + 0x10]
lea rax, [rax + rcx*2]
mov qword [rbp + 0x1f], rax
cmp rsi, rax
je 0x14002408c
movabs rdi, 0x100000001b3
movabs r15, 0xcbf29ce484222325
call fcn.140012290
mov r14, rax
mov qword [rbp - 0x31], rax
lea rdx, str.RtlUpcaseUnicodeChar
lea rcx, [rbp - 0x21]
call fcn.140003040
nop
call fcn.14002b010
lea r13, [r14 + 0x40]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbp + 7], rbx
lea r12, [r14 + 8]
lea rcx, [rbp - 0x21]
call fcn.140002bf0
mov r14, rax
lea rcx, [rbp - 0x21]
call fcn.140002ee0
mov r9, r15
mov rdx, rbx
test r14, r14
je 0x140023ff3
nop dword [rax]
movzx ecx, byte [rax + rdx]
xor r9, rcx
imul r9, rdi
inc rdx
cmp rdx, r14
jb 0x140023fe0
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x51]
mov rcx, qword [rbp - 0x31]
call fcn.140012ae0
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140024011
mov rcx, qword [r12]
mov qword [rbp + 7], rcx
mov rdx, r12
lea rcx, [rbp + 7]
call fcn.140001650
mov rax, qword [r12]
mov qword [rbp + 0xf], rax
mov rdx, r12
lea rcx, [rbp + 0xf]
call fcn.140001650
mov rax, qword [rbp + 7]
mov rcx, r13
cmp rax, qword [rbp + 0xf]
je 0x140024061
mov r14, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14, r14
je 0x140024067
mov rcx, rsi
call fcn.140002ed0
movzx ecx, word [rax]
call r14
jmp 0x140024069
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
movzx eax, ax
imul ecx, eax, 0x1003f
add dword [rbp - 1], ecx
lea rcx, [rbp - 0x21]
call fcn.140002f90
add rsi, 2
cmp rsi, qword [rbp + 0x1f]
jne 0x140023f82
mov eax, dword [rbp - 1]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400433a0
lea r11, [rsp + 0xb0]
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