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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14009a140]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r15, r8
mov rdi, rdx
mov rsi, rcx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140058ae3
mov rdx, qword [rdx]
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x140058b13
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140058b00
mov r8, rdi
lea rdx, [rsp + 0x28]
lea rcx, [rsi + 0x20]
call fcn.140058580
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x140058b31
mov rbx, qword [rsi + 0x28]
cmp rbx, qword [rsi + 0x28]
jne 0x140058bbc
mov edx, dword [r15]
lea rcx, [rsp + 0x38]
call fcn.14005c3e0
mov rbx, rax
mov r8, rdi
lea rdx, [rsp + 0x28]
lea rcx, [rsi + 0x20]
call fcn.1400587c0
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, rbx
call fcn.14005a6a0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140058bac
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058ba7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058ba7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005ceb0
mov rcx, rsi
call fcn.14005ba70
mov eax, dword [r15]
jmp 0x140058cdd
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400671e8]
mov qword [rsp + 0x60], rax
lea rax, [0x1400671f0]
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x60], rdi
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x5c], edx
lea rdx, [rbx + 0x30]
mov r8d, 3
lea rcx, [rsp + 0x78]
call fcn.140059f20
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x140058c96
lea rdx, str.Error:_Failed_to_convert_setting_value_to_desired_type.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002ba0
lea rdx, [0x140003050]
mov rcx, rax
call qword [sym.imp.MSVCP140.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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ebx, dword [r15]
jmp 0x140058c9a
mov ebx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x60], rdi
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x5c], r8d
lea rcx, [rsp + 0x78]
call fcn.14005a420
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14005d330
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret