Function at 0x140307dbc
Capabilities:
Encode data using xor
Get session user name
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r12, r8
mov r14, rdx
mov r13, rcx
mov qword [rbp - 0x49], rdx
mov rdx, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 8
jb 0x140307e0a
mov r9, qword [r9]
movabs rax, 0xcbf29ce484222325
mov r8, r9
add rdx, rdx
lea rcx, [rdx + r9]
xor esi, esi
cmp r9, rcx
cmova rdx, rsi
test rdx, rdx
je 0x140307e4f
movzx ecx, byte [r8]
xor rax, rcx
movabs r10, 0x100000001b3
imul rax, r10
inc r8
mov rcx, r8
sub rcx, r9
cmp rcx, rdx
jne 0x140307e2c
mov qword [rbp - 0x59], rax
add r13, 0x2c8
lea r15, [r13 + 0x18]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
mov qword [rbp - 0x11], r15
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x49]
lea rcx, [r13 + 0x58]
call fcn.14005e824
mov rbx, qword [rbp - 0x49]
cmp rbx, qword [r13 + 0x60]
je 0x140307f6e
mov rdi, qword [rbx + 0x28]
cmp qword [r13 + 0x40], rsi
je 0x140307eaa
lea rcx, [rdi + 0x18]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
lea rcx, [r13 + 0x98]
mov r9, rdi
mov r8, rcx
mov rdx, qword [rcx]
call fcn.140083848
mov rax, qword [r13 + 0x48]
lock inc qword [rax + 0x40]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
je 0x140307ed9
lock inc dword [rsi + 8]
mov rsi, qword [rbx + 0x20]
mov rdi, qword [rbx + 0x18]
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], rsi
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x69], xmm0
mov rbx, rsi
test r15, r15
je 0x140307f05
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
xor r15d, r15d
test rdi, rdi
je 0x140307fa8
mov rdx, qword [rbp - 0x69]
mov rcx, r14
call fcn.14005da24
mov dword [r14 + 0x20], r15d
test rbx, rbx
je 0x140308160
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rsi + 8], eax
add eax, edi
jne 0x140308160
mov rbx, qword [rbp - 0x61]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov ecx, edi
lock xadd dword [rbx + 0xc], ecx
add ecx, edi
jne 0x140308160
mov rcx, qword [rbp - 0x61]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
jmp 0x14030815a
mov rax, qword [r13 + 0x48]
lock inc qword [rax + 0x48]
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x69], xmm0
mov rdi, rsi
mov rbx, rsi
test r15, r15
je 0x140307f05
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
xor r15d, r15d
mov esi, r15d
jmp 0x140307f08
call fcn.1402422fc
mov r8, qword [r12]
lea rdx, [rbp - 0x51]
mov rcx, rax
call fcn.1402426f4
nop
mov rcx, qword [rbp + 0x5f]
lea rax, str.User_impersonation_Failed
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x51]
lea rdi, str.amcorewcd_sourcedlppolicy_srcdlpmanager.cpp
mov r8, rdi
mov edx, 0x205
call fcn.140078788
mov dword [rbp - 0x79], r15d
lea r8, [rbp - 0x79]
xor edx, edx
lea ecx, [rdx + 8]
call qword [sym.imp.SspiCli.dll_GetUserNameExW]
nop dword [rax + rax]
mov bl, al
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
test bl, bl
je 0x14030818a
call fcn.140329e68
mov qword [rbp + 0xf], r15
mov qword [rbp + 0x17], 7
mov word [rbp - 1], r15w
mov edx, dword [rbp - 0x79]
lea rcx, [rbp - 1]
call fcn.140085424
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
lea r8, [rbp - 0x79]
mov ecx, 8
call qword [sym.imp.SspiCli.dll_GetUserNameExW]
nop dword [rax + rax]
test al, al
je 0x140308198
mov ecx, 0x30
call fcn.140356b9c
mov rdi, rax
mov qword [rbp - 9], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.14005da24
nop
mov qword [rbp - 0x41], rbx
mov qword [rbp - 0x39], rdi
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x59]
mov rcx, r13
call fcn.140309814
lea rdx, [rbp - 1]
mov rcx, r14
call fcn.14005da24
mov dword [r14 + 0x20], r15d
or edi, 0xffffffff
mov rbx, qword [rbp - 0x39]
test rbx, rbx
je 0x140308109
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x140308109
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x140308109
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [str.p76_]
nop
lea rcx, [rbp - 1]
call fcn.140055f70
nop
lea rcx, [rbp - 0x51]
call fcn.1402422bc
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x140308160
mov eax, edi
lock xadd dword [rcx + 8], eax
add eax, edi
jne 0x140308160
mov rbx, qword [rbp - 0x61]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x140308160
mov rcx, qword [rbp - 0x61]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
mov rax, r14
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140356560
mov rbx, qword [rsp + 0x128]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp r9d, 0xea
jne 0x1403081cc
jmp 0x14030801d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.140329e68
mov rcx, qword [rbp + 0x5f]
lea rax, str.::GetUserNameEx_failed
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rdi
mov edx, 0x218
call fcn.14008ce18
nop
mov rcx, qword [rbp + 0x5f]
lea rax, str.::GetUserNameEx_failed
mov qword [rsp + 0x20], rax
mov r8, rdi
mov edx, 0x20e
call fcn.14008ce18
int3