Function at 0x14001593c
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 0x140015998
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.140005180
nop
mov eax, ebx
jmp 0x140015b93
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 0x1400159bd
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 0x1400159fd
mov rax, rcx
jmp 0x140015a05
mov rax, qword [r8 + rdx*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x140015a15
cmp qword [rbx + 0x10], r14
je 0x140015a18
mov rbx, qword [rbx]
jmp 0x1400159f2
mov rbx, rcx
cmp rbx, rcx
je 0x140015b54
lea rcx, [rsp + 0x40]
call fcn.14000f65c
nop
lea rdx, str.EndSgrmSession:_ending_session
lea rcx, [rsp + 0x50]
call fcn.14000ff8c
nop
lea rdx, [0x14003c788]
mov rcx, rax
call fcn.14000ff8c
nop
lea rdx, [0x1400109e0]
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.0x140034ab6.0]
nop
mov r14d, eax
test eax, eax
jns 0x140015ad3
lea rdx, str.____failed_to_destroy_attestation_client
lea rcx, [rsp + 0x50]
call fcn.14000ff8c
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.14000f554
nop
cmp qword [rax + 0x18], 0x10
jb 0x140015ac3
mov rax, qword [rax]
mov dword [rsp + 0x20], 0xa1
xor r8d, r8d
mov ecx, r14d
jmp 0x140015b00
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.14000f554
nop
cmp qword [rax + 0x18], 0x10
jb 0x140015af0
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.140013c68
nop
lea rcx, [rsp + 0x140]
call fcn.140010968
nop
mov r8, rbx
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140016a54
nop
lea rcx, [rsp + 0x40]
call fcn.14000f4ac
nop
test rdi, rdi
je 0x140015b4f
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 0x140015b93
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.140005180
nop
test rdi, rdi
je 0x140015b8b
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 0x140015b93
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140034260
nop
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x170
pop r14
pop rdi
pop rsi
ret