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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1400cc0b8]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov ebx, edx
mov rsi, rcx
xor r12d, r12d
cmp qword [rcx + 0x40], r12
je 0x140044567
xor eax, eax
jmp 0x140044862
mov qword [rbp - 0x40], r12
mov rax, qword [rcx]
mov rcx, qword [rax + 0x10]
mov edx, r12d
cmp byte [rcx + 0x15], dl
sete dl
lea rcx, [rbp - 0x40]
call fcn.1400198cc
nop
mov edi, 0x100
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.14006f000
mov qword [rbp - 0x6c], r12
mov dword [rbp - 0x64], r12d
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x48], r12
mov dword [rbp - 0x7c], r12d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x20], eax
mov r9d, ebx
lea r8, str.BaseNamedObjects_MMapEvent_0x_x_0x_x
lea edx, [rdi - 0x80]
lea rcx, [rbp + 0x40]
call fcn.1400185d4
mov qword [rsp + 0x78], r12
xor r9d, r9d
lea r8, [rsp + 0x78]
lea edx, [r9 + 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 r14, qword [rsp + 0x78]
mov qword [rbp - 0x30], r14
lea rcx, [rbp + 0x40]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140044610
add ax, ax
mov word [rbp - 0x80], ax
mov word [rbp - 0x7e], di
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], r14
mov dword [rsp + 0x20], 1
mov r9d, 2
lea r8, str.NtOpenEvent
lea rdx, [rbp - 0x20]
mov rcx, qword [rsi + 8]
call fcn.1400381a0
nop
mov ebx, dword [rbp - 0x20]
test ebx, ebx
js 0x14004482e
call fcn.140027a30
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0xd
mov qword [rsp + 0x58], 0xf
movsd xmm0, qword [str.NtCreateEvent]
movsd qword [rsp + 0x40], xmm0
mov ecx, dword [0x1400b9bb0]
mov dword [rsp + 0x48], ecx
movzx ecx, byte [0x1400b9bb4]
mov byte [rsp + 0x4c], cl
mov byte [rsp + 0x4d], 0
call fcn.1400483a0
lea rbx, [rdi + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movabs r9, 0xcbf29ce484222325
mov rcx, r12
movabs rdx, 0x100000001b3
movzx eax, byte [rsp + rcx + 0x40]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, 0xd
jb 0x1400446e1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140028dd0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140044744
cmp rdx, qword [rdi + 8]
je 0x140044744
mov rdi, qword [rdx + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14004474d
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp - 0x70]
mov edx, 0x1f0003
lea rcx, [rsi + 0x40]
call rdi
mov ebx, eax
jmp 0x140044752
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
test ebx, ebx
js 0x14004482e
mov qword [rsp + 0x70], r12
mov rax, qword [rsi]
mov rbx, qword [rax]
mov rdi, qword [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
lea r9, [rsp + 0x70]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x1400447b1
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
mov r14, qword [rbp - 0x30]
jmp 0x14004482e
mov rdx, qword [rsi + 0x78]
test rdx, rdx
jne 0x1400447c1
mov ebx, 0xc00000a0
jmp 0x14004482e
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], r12
mov r9d, 8
lea r8, [rsp + 0x70]
call qword [rax + 0x20]
mov ebx, eax
test eax, eax
js 0x14004482e
mov rdx, qword [rsi + 0x88]
test rdx, rdx
jne 0x140044803
mov ebx, 0xc00000a0
jmp 0x14004482e
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], r12
mov r9d, 8
lea r8, [rsp + 0x70]
call qword [rax + 0x20]
mov ebx, eax
cmp byte [rbp + 0x38], 0
je 0x14004483e
lea rcx, [rbp - 0x18]
call fcn.140032a20
nop
test r14, r14
je 0x14004484d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140044860
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14006c530
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret