Function at 0x140041c40
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 [0x1400c50b0]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov esi, edx
mov r14, rcx
cmp qword [rcx + 0x40], 0
je 0x140041c83
xor eax, eax
jmp 0x140042022
mov rax, qword [rcx]
mov rcx, qword [rax + 0x10]
xor r15d, r15d
mov edx, r15d
cmp byte [rcx + 0x15], dl
sete dl
test edx, edx
je 0x140041cf1
cmp edx, 1
je 0x140041ca7
mov ebx, r15d
jmp 0x140041d35
mov ecx, 0x1c0
call fcn.140068fd8
mov rbx, rax
mov qword [rbp - 0x38], rax
lea rax, vtable.blackbone::IAsmHelper.0
mov qword [rbx], rax
lea rcx, [rbx + 8]
call sym.Xenos64.exe_public:_void___cdecl_asmjit::JitRuntime::constructor_void____ptr64
lea rcx, [rbx + 0xa8]
mov r8d, 2
lea rdx, [rbx + 8]
call sym.Xenos64.exe_public:_void___cdecl_asmjit::X86Assembler::constructor_struct_asmjit::Runtime____ptr64__unsigned_int____ptr64
lea rax, vtable.blackbone::AsmHelper64.0
mov byte [rbx + 0x1b8], 1
jmp 0x140041d32
mov ecx, 0x1b8
call fcn.140068fd8
mov rbx, rax
mov qword [rbp - 0x38], rax
lea rax, vtable.blackbone::IAsmHelper.0
mov qword [rbx], rax
lea rcx, [rbx + 8]
call sym.Xenos64.exe_public:_void___cdecl_asmjit::JitRuntime::constructor_void____ptr64
lea rcx, [rbx + 0xa8]
mov r8d, 1
lea rdx, [rbx + 8]
call sym.Xenos64.exe_public:_void___cdecl_asmjit::X86Assembler::constructor_struct_asmjit::Runtime____ptr64__unsigned_int____ptr64
lea rax, vtable.blackbone::AsmHelper32.0
mov qword [rbx], rax
mov qword [rbp - 0x38], rbx
mov edi, 0x100
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.14006ba60
mov qword [rbp - 0x64], r15
mov dword [rbp - 0x5c], r15d
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x74], r15d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x20], eax
mov r9d, esi
lea r8, str.BaseNamedObjects_MMapEvent_0x_x_0x_x
lea edx, [rdi - 0x80]
lea rcx, [rbp + 0x40]
call fcn.140016864
mov qword [rbp - 0x80], r15
xor r9d, r9d
lea r8, [rbp - 0x80]
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 - 0x30], xmm0
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbp - 0x30], rax
mov r15, qword [rbp - 0x80]
mov qword [rbp - 0x28], r15
lea rcx, [rbp + 0x40]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140041dc1
add ax, ax
mov word [rbp - 0x78], ax
mov word [rbp - 0x76], di
lea rax, [rbp + 0x40]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x68], 0x30
mov qword [rbp - 0x48], r15
mov dword [rsp + 0x20], 1
mov r9d, 2
lea r8, str.NtOpenEvent
lea rdx, [rbp - 0x20]
mov rcx, qword [r14 + 8]
call fcn.140034c50
nop
mov edi, dword [rbp - 0x20]
test edi, edi
js 0x140041fef
call fcn.140023eb0
mov rdi, rax
mov esi, 0xf
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], 0xd
movsd xmm0, qword [str.NtCreateEvent]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [0x1400b3310]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x1400b3314]
mov byte [rsp + 0x54], al
mov byte [rsp + 0x55], 0
call fcn.140045b80
lea r12, [rdi + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x48]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
lea r8d, [rsi - 2]
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140041ea0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1400252e0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140041f01
cmp rdx, qword [rdi + 8]
je 0x140041f01
mov rdi, qword [rdx + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x140041f0a
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rbp - 0x68]
mov edx, 0x1f0003
lea rcx, [r14 + 0x40]
call rdi
mov edi, eax
jmp 0x140041f0f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
test edi, edi
js 0x140041fef
xor r12d, r12d
mov qword [rsp + 0x78], r12
mov rax, qword [r14]
mov rdi, qword [rax]
mov rsi, qword [r14 + 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 + 0x78]
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x140041f72
mov rax, qword gs:[0x30]
mov edi, dword [rax + 0x1250]
mov rbx, qword [rbp - 0x38]
mov r15, qword [rbp - 0x28]
jmp 0x140041fef
mov rdx, qword [r14 + 0x78]
test rdx, rdx
jne 0x140041f82
mov edi, 0xc00000a0
jmp 0x140041fef
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 + 0x78]
call qword [rax + 0x20]
mov edi, eax
test eax, eax
js 0x140041fef
mov rdx, qword [r14 + 0x88]
test rdx, rdx
jne 0x140041fc4
mov edi, 0xc00000a0
jmp 0x140041fef
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 + 0x78]
call qword [rax + 0x20]
mov edi, eax
cmp byte [rbp + 0x38], 0
je 0x140041fff
lea rcx, [rbp - 0x18]
call fcn.14002f1a0
nop
test r15, r15
je 0x14004200e
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
test rbx, rbx
je 0x140042020
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov eax, edi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140068fb0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret