Function at 0x1400158dc
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 0x140015938
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 0x140015b33
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 0x14001595d
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 0x14001599d
mov rax, rcx
jmp 0x1400159a5
mov rax, qword [r8 + rdx*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400159b5
cmp qword [rbx + 0x10], r14
je 0x1400159b8
mov rbx, qword [rbx]
jmp 0x140015992
mov rbx, rcx
cmp rbx, rcx
je 0x140015af4
lea rcx, [rsp + 0x40]
call fcn.14000f5fc
nop
lea rdx, str.EndSgrmSession:_ending_session
lea rcx, [rsp + 0x50]
call fcn.14000ff2c
nop
lea rdx, [0x14003c6c8]
mov rcx, rax
call fcn.14000ff2c
nop
lea rdx, [0x140010980]
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.0x140034a56.0]
nop
mov r14d, eax
test eax, eax
jns 0x140015a73
lea rdx, str.____failed_to_destroy_attestation_client
lea rcx, [rsp + 0x50]
call fcn.14000ff2c
nop
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.14000f4f4
nop
cmp qword [rax + 0x18], 0x10
jb 0x140015a63
mov rax, qword [rax]
mov dword [rsp + 0x20], 0xa1
xor r8d, r8d
mov ecx, r14d
jmp 0x140015aa0
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x40]
call fcn.14000f4f4
nop
cmp qword [rax + 0x18], 0x10
jb 0x140015a90
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.140013c08
nop
lea rcx, [rsp + 0x140]
call fcn.140010908
nop
mov r8, rbx
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.1400169f4
nop
lea rcx, [rsp + 0x40]
call fcn.14000f44c
nop
test rdi, rdi
je 0x140015aef
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 0x140015b33
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 0x140015b2b
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 0x140015b33
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140034200
nop
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x170
pop r14
pop rdi
pop rsi
ret