Function at 0x140066c10
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, 0x90
mov rax, qword [0x1400e5040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
xor ebx, ebx
mov dword [rbp - 1], ebx
mov eax, dword [0x1401834cc]
test eax, eax
je 0x140066ebe
cmp eax, 6
ja 0x140066c70
jb 0x140066ebe
cmp dword [0x1401834d0], 2
jb 0x140066ebe
call fcn.140053820
mov r14, rax
cmp qword [rdi + 0x18], 7
jbe 0x140066c82
mov rdi, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x19], rbx
mov r8d, shutdown
lea rdx, str.RtlInitUnicodeString
lea rcx, [rbp - 0x31]
call fcn.140047e40
nop
call fcn.14006dbc0
lea rax, [r14 + 0x40]
mov qword [rbp - 0x39], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rbp - 0x31]
mov rsi, qword [rbp - 0x31]
mov r13, qword [rbp - 0x19]
cmp r13, 0xf
cmova rdx, rsi
movabs r12, 0xcbf29ce484222325
mov r9, r12
mov rcx, rbx
movabs r15, 0x100000001b3
mov r8, qword [rbp - 0x21]
test r8, r8
je 0x140066d13
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, r8
jb 0x140066d00
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x11]
mov rcx, r14
call fcn.140054560
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140066d51
cmp rdx, qword [r14 + 8]
je 0x140066d51
mov r14, qword [rdx + 0x30]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14, r14
je 0x140066d5c
mov rdx, rdi
lea rcx, [rbp + 7]
call r14
jmp 0x140066d5c
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp r13, 0xf
jbe 0x140066d93
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140066d8b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066e7f
mov rcx, rsi
call fcn.140086344
call fcn.140053820
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x19], rbx
mov r8d, shutdown
lea rdx, str.RtlHashUnicodeString
lea rcx, [rbp - 0x31]
call fcn.140047e40
nop
call fcn.14006dbc0
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbp - 0x31]
mov rdi, qword [rbp - 0x31]
mov rsi, qword [rbp - 0x19]
cmp rsi, 0xf
cmova rcx, rdi
mov rdx, qword [rbp - 0x21]
test rdx, rdx
je 0x140066e03
nop dword [rax]
movzx eax, byte [rcx + rbx]
xor r12, rax
imul r12, r15
inc rbx
cmp rbx, rdx
jb 0x140066df0
mov r9, r12
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x11]
mov rcx, r13
call fcn.140054560
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140066e49
cmp rdx, qword [r13 + 8]
je 0x140066e49
mov rbx, qword [rdx + 0x30]
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140066e54
lea r9, [rbp - 1]
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 7]
call rbx
jmp 0x140066e54
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp rsi, 0xf
jbe 0x140066e8e
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140066e86
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066e86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140086344
mov eax, dword [rbp - 1]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140085f80
lea r11, [rsp + 0x90]
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
mov rcx, rdi
cmp qword [rdx + 0x18], 7
jbe 0x140066ece
mov rcx, qword [rdx]
mov rdx, rcx
mov rsi, rcx
mov rax, qword [rdi + 0x10]
lea rax, [rdx + rax*2]
mov qword [rbp - 0x39], rax
cmp rcx, rax
je 0x140066e8e
movabs r12, 0xcbf29ce484222325
movabs r15, 0x100000001b3
call fcn.140053820
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rbx
mov qword [rbp + 0x1f], rbx
mov r8d, shutdown
lea rdx, str.RtlUpcaseUnicodeChar
lea rcx, [rbp + 7]
call fcn.140047e40
nop
call fcn.14006dbc0
lea r13, [r14 + 0x40]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rbp + 7]
mov rdi, qword [rbp + 7]
cmp qword [rbp + 0x1f], 0xf
cmova rdx, rdi
mov r9, r12
mov rcx, rbx
mov r8, qword [rbp + 0x17]
test r8, r8
je 0x140066f73
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, r8
jb 0x140066f60
lea r8, [rbp + 7]
lea rdx, [rbp - 0x11]
mov rcx, r14
call fcn.140054560
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140066fac
cmp rdx, qword [r14 + 8]
je 0x140066fac
mov r14, qword [rdx + 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14, r14
je 0x140066fb5
movzx ecx, word [rsi]
call r14
jmp 0x140066fb7
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
movzx eax, ax
imul ecx, eax, 0x1003f
add dword [rbp - 1], ecx
mov rax, qword [rbp + 0x1f]
cmp rax, 0xf
jbe 0x140066ffa
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140066ff2
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006700d
mov rcx, rdi
call fcn.140086344
add rsi, 2
cmp rsi, qword [rbp - 0x39]
jne 0x140066ef6
jmp 0x140066e8e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3