Function at 0x140020e00
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, 0xc0
mov rax, qword [0x1402acd18]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
xor edi, edi
mov dword [rbp + 0xf], edi
mov eax, dword [0x1402b4a1c]
test eax, eax
je 0x14002117b
cmp eax, 6
ja 0x140020e60
jb 0x14002117b
cmp dword [0x1402b4a20], 2
jb 0x14002117b
call fcn.14000bbf0
mov r12, rax
cmp qword [rsi + 0x18], 8
jb 0x140020e72
mov rsi, qword [rsi]
mov qword [rbp - 1], rdi
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], dil
mov r8d, 0x14
lea rdx, str.RtlInitUnicodeString
lea rcx, [rbp - 0x11]
call fcn.14000c3c0
nop
call fcn.140028cd0
lea rax, [r12 + 0x40]
mov qword [rbp - 0x61], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rbp - 0x11]
mov r15, qword [rbp - 0x11]
mov r13, qword [rbp + 7]
cmp r13, 0x10
cmovae r8, r15
movabs rax, 0xcbf29ce484222325
mov qword [rbp - 0x59], rax
mov rcx, rax
mov rdx, rdi
movabs r9, 0x100000001b3
mov r14, qword [rbp - 1]
test r14, r14
je 0x140020f04
nop dword [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r9
inc rdx
cmp rdx, r14
jb 0x140020ef0
mov rax, qword [r12 + 0x30]
and rax, rcx
add rax, rax
mov rcx, qword [r12 + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
mov rdx, qword [r12 + 8]
mov qword [rbp - 0x69], rdx
cmp rbx, rdx
je 0x140020f74
mov r12, qword [rcx + rax*8]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140020f42
mov rdx, qword [rdx]
lea rcx, [rbp - 0x11]
cmp r13, 0x10
cmovae rcx, r15
cmp r14, rax
jne 0x140020f5f
mov r8, r14
call fcn.1400bd4b0
test eax, eax
je 0x140020f6a
cmp rbx, r12
je 0x140020f70
mov rbx, qword [rbx + 8]
jmp 0x140020f30
mov rdx, qword [rbp - 0x69]
jmp 0x140020f77
mov rdx, qword [rbp - 0x69]
mov rbx, rdi
test rbx, rbx
cmove rbx, rdx
mov rcx, qword [rbp - 0x61]
cmp rbx, rdx
je 0x140020fa1
mov rbx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140020fa8
mov rdx, rsi
lea rcx, [rbp + 0x17]
call rbx
jmp 0x140020fa8
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp r13, 0x10
jb 0x140020fdf
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140020fd7
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021450
mov rcx, r15
call fcn.1400a031c
call fcn.14000bbf0
mov r13, rax
mov qword [rbp - 0x41], rdi
mov qword [rbp - 0x39], 0xf
mov byte [rbp - 0x51], 0
mov r8d, 0x14
lea rdx, str.RtlHashUnicodeString
lea rcx, [rbp - 0x51]
call fcn.14000c3c0
nop
call fcn.140028cd0
lea rax, [r13 + 0x40]
mov qword [rbp - 0x61], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rbp - 0x51]
mov r14, qword [rbp - 0x51]
mov r15, qword [rbp - 0x39]
cmp r15, 0x10
cmovae rdx, r14
mov rcx, rdi
mov rsi, qword [rbp - 0x41]
test rsi, rsi
je 0x14002107b
movabs r15, 0xcbf29ce484222325
movabs r8, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r15, rax
imul r15, r8
inc rcx
cmp rcx, rsi
jb 0x140021060
mov qword [rbp - 0x59], r15
mov r15, qword [rbp - 0x39]
mov rax, qword [r13 + 0x30]
and rax, qword [rbp - 0x59]
add rax, rax
mov r12, qword [r13 + 0x18]
mov rbx, qword [r12 + rax*8 + 8]
mov r13, qword [r13 + 8]
cmp rbx, r13
je 0x1400210dd
mov r12, qword [r12 + rax*8]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400210b2
mov rdx, qword [rdx]
lea rcx, [rbp - 0x51]
cmp r15, 0x10
cmovae rcx, r14
cmp rsi, rax
jne 0x1400210cf
mov r8, rsi
call fcn.1400bd4b0
test eax, eax
je 0x1400210da
cmp rbx, r12
je 0x1400210dd
mov rbx, qword [rbx + 8]
jmp 0x1400210a0
mov rdi, rbx
test rdi, rdi
cmove rdi, r13
mov rcx, qword [rbp - 0x61]
cmp rdi, r13
je 0x14002110d
mov rbx, qword [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140021114
lea r9, [rbp + 0xf]
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x17]
call rbx
jmp 0x140021114
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp r15, 0x10
jb 0x14002114b
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140021143
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021450
mov rcx, r14
call fcn.1400a031c
mov eax, dword [rbp + 0xf]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400a02c0
lea r11, [rsp + 0xc0]
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, rsi
cmp qword [rdx + 0x18], 8
jb 0x14002118b
mov rcx, qword [rdx]
mov rdx, rcx
mov qword [rbp - 0x69], rcx
mov rax, qword [rsi + 0x10]
lea rax, [rdx + rax*2]
mov qword [rbp - 0x59], rax
cmp rcx, rax
je 0x14002114b
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov qword [rbp - 0x61], rax
lea rsi, [0x1402b49a0]
movabs r14, 0x100000001b3
movabs rbx, 0xcbf29ce484222325
mov ecx, 4
mov eax, dword [rcx + rax]
cmp dword [0x1402b4994], eax
jg 0x14002135b
mov qword [rbp - 0x21], rdi
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
mov r8d, 0x14
lea rdx, str.RtlUpcaseUnicodeChar
lea rcx, [rbp - 0x31]
call fcn.14000c3c0
nop
call fcn.140028cd0
lea rcx, [0x1402b49e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
setae r13b
mov r15, qword [rbp - 0x31]
cmovae r8, r15
mov rcx, rbx
mov rdx, rdi
mov rsi, qword [rbp - 0x21]
test rsi, rsi
je 0x140021254
nop dword [rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r14
inc rdx
cmp rdx, rsi
jb 0x140021240
and rcx, qword [0x1402b49d0]
add rcx, rcx
mov rax, qword [0x1402b49b8]
mov rbx, qword [rax + rcx*8 + 8]
mov r12, qword [0x1402b49a8]
cmp rbx, r12
je 0x1400212b9
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140021292
mov rdx, qword [rdx]
lea rcx, [rbp - 0x31]
test r13b, r13b
cmovne rcx, r15
cmp rsi, rax
jne 0x1400212ae
mov r8, rsi
call fcn.1400bd4b0
test eax, eax
je 0x1400212bc
cmp rbx, r14
je 0x1400212b9
mov rbx, qword [rbx + 8]
jmp 0x140021280
mov rbx, rdi
mov rax, r12
test rbx, rbx
cmovne rax, rbx
lea rcx, [0x1402b49e0]
cmp rax, r12
je 0x1400212ed
mov rbx, qword [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400212f3
mov r14, qword [rbp - 0x69]
movzx ecx, word [r14]
call rbx
jmp 0x1400212f9
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov r14, qword [rbp - 0x69]
movzx eax, ax
imul ecx, eax, 0x1003f
add dword [rbp + 0xf], ecx
mov rax, qword [rbp - 0x19]
cmp rax, 0x10
jb 0x140021340
lea rdx, [rax + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140021338
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002144a
mov rcx, r15
call fcn.1400a031c
add r14, 2
mov qword [rbp - 0x69], r14
cmp r14, qword [rbp - 0x59]
je 0x14002114b
mov rax, qword [rbp - 0x61]
jmp 0x1400211b0
lea rcx, [0x1402b4994]
call fcn.1400a04e4
cmp dword [0x1402b4994], 0xffffffff
jne 0x1400211df
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1402b49a0], xmm0
movups xmmword [0x1402b49b0], xmm0
movups xmmword [0x1402b49c0], xmm0
movups xmmword [0x1402b49d0], xmm0
movups xmmword [0x1402b49e0], xmm0
movups xmmword [0x1402b49f0], xmm0
mov qword [0x1402b4a00], rax
mov qword [rbp + 0x17], rsi
mov dword [0x1402b49a0], eax
mov qword [0x1402b49a8], rdi
mov qword [0x1402b49b0], rdi
lea ecx, [rax + 0x38]
call fcn.1400a02e0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x1402b49a8], rax
mov qword [0x1402b49b8], rdi
xorps xmm0, xmm0
movdqa xmmword [0x1402b49c0], xmm0
mov qword [0x1402b49d0], 7
mov qword [0x1402b49d8], 8
mov dword [0x1402b49a0], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [0x1402b49b8]
call fcn.14000ab80
nop
lea rcx, [0x1402b49e0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x1400fbbf0]
call fcn.1400a0794
nop
lea rcx, [0x1402b4994]
call fcn.1400a0478
jmp 0x1400211df
call fcn.1400d0a24
int3
call fcn.1400d0a24
int3