Function at 0x140020890
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, 0x80
mov rax, qword [0x1402a2cf8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rdx
xor r12d, r12d
mov dword [rbp - 0x28], r12d
mov eax, dword [0x1402aab7c]
test eax, eax
je 0x140020be8
cmp eax, 6
ja 0x1400208f0
jb 0x140020be8
cmp dword [0x1402aab80], 2
jb 0x140020be8
call fcn.14000b930
mov r13, rax
cmp qword [rdi + 0x18], 8
jb 0x140020902
mov rdi, qword [rdi]
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], r12b
mov r8d, 0x14
lea rdx, str.RtlInitUnicodeString
lea rcx, [rbp - 0x58]
call fcn.14000c110
nop
call fcn.1400287c0
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rbp - 0x58]
mov r14, qword [rbp - 0x58]
mov r15, qword [rbp - 0x40]
cmp r15, 0x10
cmovae r8, r14
movabs rax, 0xcbf29ce484222325
mov qword [rbp - 0x60], rax
mov rcx, rax
mov rdx, r12
movabs r9, 0x100000001b3
mov rsi, qword [rbp - 0x48]
test rsi, rsi
je 0x140020994
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r9
inc rdx
cmp rdx, rsi
jb 0x140020980
mov rax, qword [r13 + 0x30]
and rax, rcx
add rax, rax
mov r12, qword [r13 + 0x18]
mov rbx, qword [r12 + rax*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x140020a14
mov r12, qword [r12 + rax*8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400209c3
mov rdx, qword [rdx]
lea rcx, [rbp - 0x58]
cmp r15, 0x10
cmovae rcx, r14
cmp rsi, rax
jne 0x1400209e0
mov r8, rsi
call fcn.1400b75e0
test eax, eax
je 0x1400209eb
cmp rbx, r12
je 0x140020a14
mov rbx, qword [rbx + 8]
jmp 0x1400209b1
test rbx, rbx
je 0x140020a14
cmp rbx, qword [r13 + 8]
je 0x140020a14
mov rbx, qword [rbx + 0x30]
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140020a1f
mov rdx, rdi
lea rcx, [rbp - 0x20]
call rbx
jmp 0x140020a1f
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp r15, 0x10
jb 0x140020a56
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140020a4e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020ebc
mov rcx, r14
call fcn.14009aa1c
call fcn.14000b930
mov r15, rax
xor ebx, ebx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], bl
lea r8d, [rbx + 0x14]
lea rdx, str.RtlHashUnicodeString
lea rcx, [rbp - 0x58]
call fcn.14000c110
nop
call fcn.1400287c0
lea r12, [r15 + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbp - 0x58]
mov rsi, qword [rbp - 0x58]
mov r14, qword [rbp - 0x40]
cmp r14, 0x10
cmovae rcx, rsi
mov rdi, qword [rbp - 0x48]
test rdi, rdi
je 0x140020aeb
movabs rdx, 0x100000001b3
movabs r14, 0xcbf29ce484222325
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
xor r14, rax
imul r14, rdx
inc rbx
cmp rbx, rdi
jb 0x140020ad0
mov qword [rbp - 0x60], r14
mov r14, qword [rbp - 0x40]
mov rax, qword [r15 + 0x30]
and rax, qword [rbp - 0x60]
add rax, rax
mov rcx, qword [r15 + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
mov r13, qword [r15 + 8]
cmp rbx, r13
je 0x140020b77
mov r15, qword [rcx + rax*8]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140020b22
mov rdx, qword [rdx]
lea rcx, [rbp - 0x58]
cmp r14, 0x10
cmovae rcx, rsi
cmp rdi, rax
jne 0x140020b3f
mov r8, rdi
call fcn.1400b75e0
test eax, eax
je 0x140020b4a
cmp rbx, r15
je 0x140020b77
mov rbx, qword [rbx + 8]
jmp 0x140020b10
test rbx, rbx
je 0x140020b77
cmp rbx, r13
je 0x140020b77
mov rbx, qword [rbx + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140020b81
lea r9, [rbp - 0x28]
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x20]
call rbx
jmp 0x140020b81
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp r14, 0x10
jb 0x140020bb8
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140020bb0
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020ebc
mov rcx, rsi
call fcn.14009aa1c
mov eax, dword [rbp - 0x28]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14009a9c0
lea r11, [rsp + 0x80]
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], 8
jb 0x140020bf8
mov rcx, qword [rdx]
mov rdx, rcx
mov qword [rbp - 0x60], rcx
mov rax, qword [rdi + 0x10]
lea rax, [rdx + rax*2]
mov qword [rbp - 0x38], rax
cmp rcx, rax
je 0x140020bb8
mov rax, qword gs:[0x58]
mov rax, qword [rax]
mov qword [rbp - 0x30], rax
lea rdi, [0x1402aab00]
movabs rsi, 0x100000001b3
movabs rbx, 0xcbf29ce484222325
mov ecx, 4
mov eax, dword [rcx + rax]
cmp dword [0x1402aaaf4], eax
jg 0x140020dc7
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], 0
mov r8d, 0x14
lea rdx, str.RtlUpcaseUnicodeChar
lea rcx, [rbp - 0x58]
call fcn.14000c110
nop
call fcn.1400287c0
lea rcx, [0x1402aab40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rbp - 0x58]
mov r14, qword [rbp - 0x58]
mov r15, qword [rbp - 0x40]
cmp r15, 0x10
cmovae r8, r14
mov rcx, rbx
mov rdx, r12
mov rdi, qword [rbp - 0x48]
test rdi, rdi
je 0x140020cc4
nop dword [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, rsi
inc rdx
cmp rdx, rdi
jb 0x140020cb0
and rcx, qword [0x1402aab30]
add rcx, rcx
mov rax, qword [0x1402aab18]
mov rbx, qword [rax + rcx*8 + 8]
mov r13, qword [0x1402aab08]
cmp rbx, r13
je 0x140020d55
mov rsi, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140020d02
mov rdx, qword [rdx]
lea rcx, [rbp - 0x58]
cmp r15, 0x10
cmovae rcx, r14
cmp rdi, rax
jne 0x140020d1f
mov r8, rdi
call fcn.1400b75e0
test eax, eax
je 0x140020d2a
cmp rbx, rsi
je 0x140020d55
mov rbx, qword [rbx + 8]
jmp 0x140020cf0
test rbx, rbx
je 0x140020d55
cmp rbx, r13
je 0x140020d55
mov rbx, qword [rbx + 0x30]
lea rcx, [0x1402aab40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140020d62
mov rsi, qword [rbp - 0x60]
movzx ecx, word [rsi]
call rbx
jmp 0x140020d69
lea rcx, [0x1402aab40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, r12d
mov rsi, qword [rbp - 0x60]
movzx eax, ax
imul ecx, eax, 0x1003f
add dword [rbp - 0x28], ecx
cmp r15, 0x10
jb 0x140020dac
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140020da4
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020eb6
mov rcx, r14
call fcn.14009aa1c
add rsi, 2
mov qword [rbp - 0x60], rsi
cmp rsi, qword [rbp - 0x38]
je 0x140020bb8
mov rax, qword [rbp - 0x30]
jmp 0x140020c1d
lea rcx, [0x1402aaaf4]
call fcn.14009acc4
cmp dword [0x1402aaaf4], 0xffffffff
jne 0x140020c4c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1402aab00], xmm0
movups xmmword [0x1402aab10], xmm0
movups xmmword [0x1402aab20], xmm0
movups xmmword [0x1402aab30], xmm0
movups xmmword [0x1402aab40], xmm0
movups xmmword [0x1402aab50], xmm0
mov qword [0x1402aab60], rax
mov qword [rbp - 0x20], rdi
mov dword [0x1402aab00], eax
mov qword [0x1402aab08], r12
mov qword [0x1402aab10], r12
lea ecx, [rax + 0x38]
call fcn.14009a9e0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x1402aab08], rax
mov qword [0x1402aab18], r12
xorps xmm0, xmm0
movdqa xmmword [0x1402aab20], xmm0
mov qword [0x1402aab30], 7
mov qword [0x1402aab38], 8
mov dword [0x1402aab00], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [0x1402aab18]
call fcn.14000a740
nop
lea rcx, [0x1402aab40]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x1400f2090]
call fcn.14009b00c
nop
lea rcx, [0x1402aaaf4]
call fcn.14009ac64
jmp 0x140020c4c
call fcn.1400c88c8
int3
call fcn.1400c88c8
int3