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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x140138010]
xor rax, rsp
mov qword [rsp + 0x268], rax
mov rbx, r8
mov r13, rdx
mov r12, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa8], rbx
xor esi, esi
mov dword [rsp + 0x34], esi
mov byte [rsp + 0x50], sil
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.1400355b0
nop
mov r15, qword [rbx + 8]
mov qword [rsp + 0xa0], r15
mov rbx, qword [r15]
movabs r14, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x60], rbx
cmp rbx, r15
je 0x140021b06
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x90], rdi
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140021a29
mov rcx, qword [rdi]
mov r9, rax
xor edx, edx
test r8, r8
je 0x140021a53
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r14
inc rdx
cmp rdx, r8
jb 0x140021a40
mov r8, rdi
lea rdx, [rsp + 0xb0]
lea rcx, [r13 + 0x40]
call fcn.14003ec30
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x140021ac8
mov rcx, qword [rcx + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x110]
call qword [rax]
or esi, 2
mov dword [rsp + 0x34], esi
lea r9, [rsp + 0x110]
mov r8, rdi
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.14003b0b0
nop
movzx edx, byte [rsp + 0x110]
lea rcx, [rsp + 0x118]
call fcn.1400350d0
nop
mov rbx, qword [rbx]
jmp 0x1400219f4
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
movabs r14, 0x100000001b3
mov rbx, qword [rsp + 0x60]
mov esi, dword [rsp + 0x34]
mov r12, qword [rsp + 0x68]
mov r13, qword [rsp + 0x98]
mov r15, qword [rsp + 0xa0]
mov rbx, qword [rbx]
jmp 0x1400219f4
cmp byte [rsp + 0x50], 1
jne 0x140021c0a
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x50]
call fcn.140040640
nop
lea r8, [rsp + 0x110]
cmp qword [rsp + 0x128], 0x10
cmovae r8, qword [rsp + 0x110]
lea rcx, [rsp + 0x110]
cmovae rcx, qword [rsp + 0x110]
add rcx, qword [rsp + 0x120]
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.pia_commonlib.dll_class_QJsonObject___cdecl_adaptJsonTextToQJsonObject_class_kapps::core::BasicStringSlice_char__struct_std::char_traits_char___]
nop
mov rdx, qword [rsp + 0x128]
cmp rdx, 0x10
jb 0x140021bc2
inc rdx
mov rcx, qword [rsp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021bbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140021bbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cdbac
nop
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.1400350d0
nop
mov rax, r12
jmp 0x140021be7
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.1400cdb50
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rdx, str.D:_apia_desktoppia_desktopcommon_src_settings.._json.h
lea rcx, [rsp + 0xb0]
call fcn.140008cd0
mov r8d, 0x2d6
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::SourceLocation::constructor_class_kapps::core::BasicStringSlice_char__struct_std::char_traits_char___const____ptr64__int____ptr64]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x80], xmm1
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::constructor_class_kapps::core::SourceLocation__enum_kapps::core::LogMessage::Level__class_kapps::core::LogCategory_const____ptr64____ptr64]
nop
mov rcx, rax
call qword [sym.imp.kapps_core.dll_public:_class_kapps::core::LogWriter____ptr64___cdecl_kapps::core::LogWriter::macroParams_void____ptr64]
lea rdx, str.Cant_read_JSON_of_type
mov rcx, rax
call fcn.1400090b0
mov r8, rax
lea rcx, [rsp + 0x50]
call fcn.140040630
mov byte [rsp + 0x30], al
lea rdx, [rsp + 0x30]
mov rcx, r8
call fcn.140045160
lea rdx, str.__expected_object
mov rcx, rax
call fcn.1400090b0
nop
lea rcx, [rsp + 0x130]
call qword [sym.imp.kapps_core.dll_public:_void___cdecl_kapps::core::LogWriter::destructor_void____ptr64]
lea rdx, str.object_JSON_value_expected
lea rcx, [rsp + 0xf8]
call fcn.14000cb00
lea rdx, [0x140124320]
lea rcx, [rsp + 0xf8]
call sub.VCRUNTIME140.dll__CxxThrowException
int3