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

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x170
mov rax, qword [0x14004ba88]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rdx
cmp byte [rcx + 0x60], 0
jne 0x1400159b8
mov rcx, qword [rsp + 0x188]
mov ebx, 0x8007139f
mov r9d, ebx
lea r8, str.onecore_amcoreoctagon_broker_sourcelib_sessionmanager.cpp
mov edx, 0x91
call fcn.140005170
nop
mov eax, ebx
jmp 0x140015bb3
lea rdi, [rcx + 0x40]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
nop
mov qword [rsp + 0x38], rdi
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rsp + rdx + 0x30]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x1400159dd
mov rdx, qword [rsi + 0x30]
and rdx, rcx
add rdx, rdx
mov r8, qword [rsi + 0x18]
mov rbx, qword [r8 + rdx*8]
mov rcx, qword [rsi + 8]
cmp qword [r8 + rdx*8], rcx
jne 0x140015a1d
mov rax, rcx
jmp 0x140015a25
mov rax, qword [r8 + rdx*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x140015a35
cmp qword [rbx + 0x10], r14
je 0x140015a38
mov rbx, qword [rbx]
jmp 0x140015a12
mov rbx, rcx
cmp rbx, rcx
je 0x140015b74
lea rcx, [rsp + 0x40]
call fcn.14000f62c
nop
lea rdx, str.EndSgrmSession:_ending_session
lea rcx, [rsp + 0x50]
call fcn.14000ff5c
nop
lea rdx, [0x14003c788]
mov rcx, rax
call fcn.14000ff5c
nop
lea rdx, [0x1400109b0]
mov rcx, rax
call qword [sym.imp.msvcp_win.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
nop dword [rax + rax]
nop
mov rdx, r14
mov rcx, rax
call qword [sym.imp.msvcp_win.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
nop dword [rax + rax]
nop
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rdx, r14
mov rax, qword [rax + 0x78]
call qword [case.0x140034af6.0]
nop
mov r14d, eax
test eax, eax
jns 0x140015af3
lea rdx, str.____failed_to_destroy_attestation_client
lea rcx, [rsp + 0x50]
call fcn.14000ff5c
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.14000f524
nop
cmp qword [rax + 0x18], 0x10
jb 0x140015ae3
mov rax, qword [rax]
mov dword [rsp + 0x20], 0xa1
xor r8d, r8d
mov ecx, r14d
jmp 0x140015b20
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.14000f524
nop
cmp qword [rax + 0x18], 0x10
jb 0x140015b10
mov rax, qword [rax]
mov dword [rsp + 0x20], 0xa4
mov r8d, 2
xor ecx, ecx
lea r9, str.SgrmBroker::SgrmSessionManager::EndSgrmSession
mov rdx, rax
call fcn.140013c88
nop
lea rcx, [rsp + 0x140]
call fcn.140010938
nop
mov r8, rbx
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140016a74
nop
lea rcx, [rsp + 0x40]
call fcn.14000f47c
nop
test rdi, rdi
je 0x140015b6f
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
mov eax, r14d
jmp 0x140015bb3
mov rcx, qword [rsp + 0x188]
mov ebx, 0x80070006
mov r9d, ebx
lea r8, str.onecore_amcoreoctagon_broker_sourcelib_sessionmanager.cpp
mov edx, 0xac
call fcn.140005170
nop
test rdi, rdi
je 0x140015bab
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
mov eax, ebx
jmp 0x140015bb3
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400342a0
nop
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x170
pop r14
pop rdi
pop rsi
ret