Function at 0x14001d120
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 [0x140089040]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov ebx, edx
mov rsi, rcx
xor edi, edi
cmp qword [rcx + 0x40], rdi
je 0x14001d164
xor eax, eax
jmp 0x14001d4a6
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.140004a20
nop
mov r15d, 0x100
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.140066440
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
lea edx, [r15 - 0x80]
lea rcx, [rbp + 0x40]
call fcn.14001b070
mov qword [rsp + 0x78], rdi
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
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001d210
add ax, ax
mov word [rbp - 0x80], ax
mov word [rbp - 0x7e], r15w
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.140010610
nop
mov ebx, dword [rbp - 0x20]
test ebx, ebx
js 0x14001d472
call fcn.14000da70
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov r8d, 0xd
lea rdx, str.NtCreateEvent
lea rcx, [rsp + 0x40]
call fcn.140002e60
nop
call fcn.140027e60
lea r15, [rbx + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x40]
mov rdi, qword [rsp + 0x40]
mov r13, qword [rsp + 0x58]
cmp r13, 0xf
cmova rdx, rdi
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x14001d303
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x14001d2f0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000e640
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14001d351
cmp rdx, qword [rbx + 8]
je 0x14001d351
mov rbx, qword [rdx + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14001d35a
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp - 0x70]
mov edx, 0x1f0003
lea rcx, [rsi + 0x40]
call rbx
mov ebx, eax
jmp 0x14001d35f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp r13, 0xf
jbe 0x14001d396
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001d38e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001d4d0
mov rcx, rdi
call fcn.1400430cc
test ebx, ebx
js 0x14001d472
xor r15d, r15d
mov qword [rsp + 0x70], r15
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], r15d
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x70]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x14001d3f5
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
mov r14, qword [rbp - 0x30]
jmp 0x14001d472
mov rdx, qword [rsi + 0x78]
test rdx, rdx
jne 0x14001d405
mov ebx, 0xc00000a0
jmp 0x14001d472
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], r15
mov r9d, 8
lea r8, [rsp + 0x70]
call qword [rax + 0x20]
mov ebx, eax
test eax, eax
js 0x14001d472
mov rdx, qword [rsi + 0x88]
test rdx, rdx
jne 0x14001d447
mov ebx, 0xc00000a0
jmp 0x14001d472
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], r15
mov r9d, 8
lea r8, [rsp + 0x70]
call qword [rax + 0x20]
mov ebx, eax
cmp byte [rbp + 0x38], 0
je 0x14001d482
lea rcx, [rbp - 0x18]
call fcn.14000bc70
nop
test r14, r14
je 0x14001d491
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14001d4a4
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140042e30
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14004e104
nop
int3