Function at 0x14001585c
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 0x1400158b8
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.140005160
nop
mov eax, ebx
jmp 0x140015ab3
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 0x1400158dd
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 0x14001591d
mov rax, rcx
jmp 0x140015925
mov rax, qword [r8 + rdx*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x140015935
cmp qword [rbx + 0x10], r14
je 0x140015938
mov rbx, qword [rbx]
jmp 0x140015912
mov rbx, rcx
cmp rbx, rcx
je 0x140015a74
lea rcx, [rsp + 0x40]
call fcn.14000f52c
nop
lea rdx, str.EndSgrmSession:_ending_session
lea rcx, [rsp + 0x50]
call fcn.14000fe5c
nop
lea rdx, [0x14003c788]
mov rcx, rax
call fcn.14000fe5c
nop
lea rdx, [0x1400108b0]
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.0x1400349f6.0]
nop
mov r14d, eax
test eax, eax
jns 0x1400159f3
lea rdx, str.____failed_to_destroy_attestation_client
lea rcx, [rsp + 0x50]
call fcn.14000fe5c
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.14000f424
nop
cmp qword [rax + 0x18], 0x10
jb 0x1400159e3
mov rax, qword [rax]
mov dword [rsp + 0x20], 0xa1
xor r8d, r8d
mov ecx, r14d
jmp 0x140015a20
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.14000f424
nop
cmp qword [rax + 0x18], 0x10
jb 0x140015a10
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.140013b88
nop
lea rcx, [rsp + 0x140]
call fcn.140010838
nop
mov r8, rbx
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140016974
nop
lea rcx, [rsp + 0x40]
call fcn.14000f37c
nop
test rdi, rdi
je 0x140015a6f
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 0x140015ab3
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.140005160
nop
test rdi, rdi
je 0x140015aab
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 0x140015ab3
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400341a0
nop
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x170
pop r14
pop rdi
pop rsi
ret