Function at 0x18001e7b0
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 [0x180085040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
xor ebx, ebx
mov dword [rbp - 0x20], ebx
mov eax, dword [0x180cb938c]
test eax, eax
je 0x18001ea48
cmp eax, 6
ja 0x18001e80b
jb 0x18001ea48
cmp dword [0x180cb9390], 2
jb 0x18001ea48
call fcn.18000ad50
mov r14, rax
cmp qword [rdi + 0x18], 7
jbe 0x18001e81d
mov rdi, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
mov r8d, 0x14
lea rdx, str.RtlInitUnicodeString
lea rcx, [rbp - 0x50]
call fcn.18000b580
nop
call fcn.180025cf0
lea r13, [r14 + 0x40]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rbp - 0x50]
mov rsi, qword [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, rsi
movabs r12, 0xcbf29ce484222325
mov r9, r12
mov rcx, rbx
movabs r15, 0x100000001b3
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x18001e8a3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, r8
jb 0x18001e890
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
mov rcx, r14
call fcn.18000b770
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x18001e8e0
cmp rdx, qword [r14 + 8]
je 0x18001e8e0
mov r14, qword [rdx + 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14, r14
je 0x18001e8ea
mov rdx, rdi
lea rcx, [rbp - 0x18]
call r14
jmp 0x18001e8ea
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rax, qword [rbp - 0x38]
cmp rax, 0xf
jbe 0x18001e925
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18001e91d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001eb8c
mov rcx, rsi
call fcn.180040cf8
call fcn.18000ad50
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
mov r8d, 0x14
lea rdx, str.RtlHashUnicodeString
lea rcx, [rbp - 0x50]
call fcn.18000b580
nop
call fcn.180025cf0
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbp - 0x50]
mov rdi, qword [rbp - 0x50]
mov rsi, qword [rbp - 0x38]
cmp rsi, 0xf
cmova rcx, rdi
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x18001e993
nop
movzx eax, byte [rcx + rbx]
xor r12, rax
imul r12, r15
inc rbx
cmp rbx, rdx
jb 0x18001e980
mov r9, r12
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
mov rcx, r13
call fcn.18000b770
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x18001e9d9
cmp rdx, qword [r13 + 8]
je 0x18001e9d9
mov rbx, qword [rdx + 0x30]
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x18001e9e4
lea r9, [rbp - 0x20]
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x18]
call rbx
jmp 0x18001e9e4
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
cmp rsi, 0xf
jbe 0x18001ea1b
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18001ea13
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001eb8c
mov rcx, rdi
call fcn.180040cf8
mov eax, dword [rbp - 0x20]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800410a0
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
mov rcx, rdi
cmp qword [rdx + 0x18], 7
jbe 0x18001ea58
mov rcx, qword [rdx]
mov rdx, rcx
mov rsi, rcx
mov rax, qword [rdi + 0x10]
lea rax, [rdx + rax*2]
mov qword [rbp - 0x18], rax
cmp rcx, rax
je 0x18001ea1b
movabs r12, 0xcbf29ce484222325
movabs r15, 0x100000001b3
call fcn.18000ad50
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
mov r8d, 0x14
lea rdx, str.RtlUpcaseUnicodeChar
lea rcx, [rbp - 0x50]
call fcn.18000b580
nop
call fcn.180025cf0
lea r13, [rdi + 0x40]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rbp - 0x50]
mov r14, qword [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, r14
mov r9, r12
mov rcx, rbx
mov r8, qword [rbp - 0x40]
test r8, r8
je 0x18001eaf3
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r15
inc rcx
cmp rcx, r8
jb 0x18001eae0
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.18000b770
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x18001eb2b
cmp rdx, qword [rdi + 8]
je 0x18001eb2b
mov rdi, qword [rdx + 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x18001eb34
movzx ecx, word [rsi]
call rdi
jmp 0x18001eb36
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 rax, qword [rbp - 0x38]
cmp rax, 0xf
jbe 0x18001eb79
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x18001eb71
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001eb92
mov rcx, r14
call fcn.180040cf8
add rsi, 2
cmp rsi, qword [rbp - 0x18]
jne 0x18001ea80
jmp 0x18001ea1b
call fcn.18004ce30
int3
call fcn.18004ce30
int3