Function at 0x18001ba80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x180178b40]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov ebx, edx
mov r12, rcx
xor edi, edi
cmp qword [rcx + 0x40], rdi
je 0x18001bac4
xor eax, eax
jmp 0x18001be7d
mov qword [rbp - 0x40], rdi
mov rax, qword [rcx]
mov rcx, qword [rax + 0x10]
mov edx, edi
cmp byte [rcx + 0x15], dl
sete dl
lea rcx, [rbp - 0x40]
call fcn.180001830
nop
mov esi, 0x100
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x6c], rdi
mov dword [rbp - 0x64], edi
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x48], rdi
mov dword [rbp - 0x7c], edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x20], eax
mov r9d, ebx
lea r8, str.BaseNamedObjects_MMapEvent_0x_x_0x_x
mov edx, 0x80
lea rcx, [rbp + 0x40]
call fcn.180019980
mov qword [rsp + 0x78], rdi
xor r9d, r9d
lea r8, [rsp + 0x78]
mov edx, 1
lea rcx, str.S:_ML__NW___LW_D:_A__GA___S_1_15_2_1__A__GA___WD_
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbp - 0x38], rax
mov r13, qword [rsp + 0x78]
mov qword [rbp - 0x30], r13
lea rcx, [rbp + 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x18001bb70
add ax, ax
mov word [rbp - 0x80], ax
mov word [rbp - 0x7e], si
lea rax, [rbp + 0x40]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x80]
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x70], 0x30
mov qword [rbp - 0x50], r13
mov dword [rsp + 0x20], 1
mov r9d, 2
lea r8, str.NtOpenEvent
lea rdx, [rbp - 0x20]
mov rcx, qword [r12 + 8]
call fcn.18000eed0
nop
mov ebx, dword [rbp - 0x20]
test ebx, ebx
js 0x18001be47
call fcn.18000b090
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov r8d, 0xd
lea rdx, str.NtCreateEvent
lea rcx, [rsp + 0x50]
call fcn.18000b890
nop
call fcn.1800274b0
lea rax, [r14 + 0x40]
mov qword [rsp + 0x48], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x50]
mov rsi, qword [rsp + 0x50]
mov r15, qword [rsp + 0x68]
cmp r15, 0xf
cmova r8, rsi
movabs rdx, 0xcbf29ce484222325
mov rcx, rdi
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x18001bc64
movabs r9, 0x100000001b3
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x18001bc50
mov rcx, qword [r14 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r14 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov rdx, qword [r14 + 8]
mov qword [rsp + 0x40], rdx
cmp rbx, rdx
je 0x18001bcda
mov r14, qword [rax + rcx*8]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18001bca2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
cmp r15, 0xf
cmova rcx, rsi
cmp rdi, rax
jne 0x18001bcc0
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18001bccb
cmp rbx, r14
je 0x18001bcd5
mov rbx, qword [rbx + 8]
jmp 0x18001bc90
mov rdx, qword [rsp + 0x40]
xor r14d, r14d
jmp 0x18001bce0
mov rdx, qword [rsp + 0x40]
xor r14d, r14d
mov ebx, r14d
test rbx, rbx
je 0x18001bd1d
cmp rbx, rdx
je 0x18001bd1d
mov rbx, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x18001bd28
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp - 0x70]
mov edx, 0x1f0003
lea rdi, [r12 + 0x40]
mov rcx, rdi
call rbx
mov ebx, eax
jmp 0x18001bd32
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
lea rdi, [r12 + 0x40]
cmp r15, 0xf
jbe 0x18001bd6c
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18001bd64
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001bd64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800e5744
test ebx, ebx
js 0x18001be47
mov qword [rsp + 0x70], r14
mov rax, qword [r12]
mov rbx, qword [rax]
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x70]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x18001bdc8
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
mov r13, qword [rbp - 0x30]
jmp 0x18001be47
mov rdx, qword [r12 + 0x78]
test rdx, rdx
jne 0x18001bdd9
mov ebx, 0xc00000a0
jmp 0x18001be47
mov rax, qword [rdx + 0x18]
mov rdx, qword [rdx]
add rdx, 0x18
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rsp + 0x70]
call qword [rax + 0x20]
mov ebx, eax
test eax, eax
js 0x18001be47
mov rdx, qword [r12 + 0x88]
test rdx, rdx
jne 0x18001be1c
mov ebx, 0xc00000a0
jmp 0x18001be47
mov rax, qword [rdx + 0x18]
mov rdx, qword [rdx]
add rdx, 0x18
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rsp + 0x70]
call qword [rax + 0x20]
mov ebx, eax
cmp byte [rbp + 0x38], 0
je 0x18001be57
lea rcx, [rbp - 0x18]
call fcn.180008da0
nop
test r13, r13
je 0x18001be66
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x18001be7b
mov r8, qword [rcx]
mov edx, 1
call qword [r8]
nop
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1800e5bd0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret