Function at 0x14001c780
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 [0x1402a2cf8]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov ebx, edx
mov r12, rcx
cmp qword [rcx + 0x40], 0
je 0x14001c7c3
xor eax, eax
jmp 0x14001cb23
xor edi, edi
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.140001ae0
nop
mov esi, 0x100
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.1400b6650
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, [rsi - 0x80]
lea rcx, [rbp + 0x40]
call fcn.14001a430
mov qword [rsp + 0x70], rdi
xor r9d, r9d
lea r8, [rsp + 0x70]
lea edx, [rdi + 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 + 0x70]
mov qword [rbp - 0x30], r13
lea rcx, [rbp + 0x40]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001c870
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.14000fa00
nop
mov ebx, dword [rbp - 0x20]
test ebx, ebx
js 0x14001caee
call fcn.14000b930
mov r15, rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov r8d, 0xd
lea rdx, str.NtCreateEvent
lea rcx, [rsp + 0x48]
call fcn.14000c110
nop
call fcn.1400287c0
lea rax, [r15 + 0x40]
mov qword [rsp + 0x40], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x48]
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x60]
cmp r14, 0x10
cmovae r8, rsi
movabs rdx, 0xcbf29ce484222325
mov rcx, rdi
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x14001c965
movabs r9, 0x100000001b3
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x14001c951
mov rcx, qword [r15 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r15 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov rdx, qword [r15 + 8]
mov qword [rsp + 0x68], rdx
cmp rbx, rdx
je 0x14001ca0a
mov r15, qword [rax + rcx*8]
nop
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14001c9a2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x48]
cmp r14, 0x10
cmovae rcx, rsi
cmp rdi, rax
jne 0x14001c9c0
mov r8, rdi
call fcn.1400b75e0
test eax, eax
je 0x14001c9cb
cmp rbx, r15
je 0x14001ca0a
mov rbx, qword [rbx + 8]
jmp 0x14001c990
test rbx, rbx
je 0x14001ca0a
cmp rbx, qword [rsp + 0x68]
je 0x14001ca0a
mov rbx, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14001ca15
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 0x14001ca1f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
lea rdi, [r12 + 0x40]
cmp r14, 0x10
jb 0x14001ca56
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14001ca4e
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001cb4d
mov rcx, rsi
call fcn.14009aa1c
test ebx, ebx
js 0x14001caee
xor esi, esi
mov qword [rsp + 0x78], rsi
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], esi
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x78]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x14001cab2
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
mov r13, qword [rbp - 0x30]
jmp 0x14001caee
mov rdx, qword [r12 + 0x68]
test rdx, rdx
jne 0x14001cac3
mov ebx, 0xc00000a0
jmp 0x14001caee
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], rsi
mov r9d, 4
lea r8, [rsp + 0x78]
call qword [rax + 0x20]
mov ebx, eax
cmp byte [rbp + 0x38], 0
je 0x14001cafe
lea rcx, [rbp - 0x18]
call fcn.14000a600
nop
test r13, r13
je 0x14001cb0d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14001cb21
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov eax, ebx
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14009a9c0
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.1400c88c8
nop
int3