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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12, rdx
mov qword [rsp + 0x38], rdx
mov r8, rcx
mov qword [rsp + 0x30], rcx
lea rdx, [0x1400c2228]
mov r15, qword [0x1400c2228]
mov r13, qword [0x1400c2240]
cmp r13, 0xf
cmova rdx, r15
movabs rsi, 0xcbf29ce484222325
xor ecx, ecx
mov rbx, qword [0x1400c2238]
test rbx, rbx
je 0x1400138c3
movabs r9, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor rsi, rax
imul rsi, r9
inc rcx
cmp rcx, rbx
jb 0x1400138b0
mov rax, qword [r8 + 0x30]
and rax, rsi
add rax, rax
mov rbp, qword [r8 + 0x18]
mov rdi, qword [rbp + rax*8 + 8]
lea rcx, [r8 + 8]
mov qword [rsp + 0x20], rcx
mov r14, qword [rcx]
cmp rdi, r14
jne 0x1400138ef
mov rdi, r14
mov rbp, r14
jmp 0x140013957
mov rbp, qword [rbp + rax*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140013912
mov rdx, qword [rdx]
lea rcx, [0x1400c2228]
cmp r13, 0xf
cmova rcx, r15
cmp rbx, rax
jne 0x140013932
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001393d
cmp rdi, rbp
je 0x14001394c
mov rdi, qword [rdi + 8]
jmp 0x140013900
mov qword [r12], rdi
mov byte [r12 + 8], 0
jmp 0x140013b28
mov r14, rdi
mov rbp, rdi
mov rcx, qword [rsp + 0x20]
movabs rax, 0x333333333333333
mov r13, qword [rsp + 0x30]
cmp qword [r13 + 0x10], rax
jne 0x14001397a
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 0
mov ecx, 0x50
call fcn.1400825e8
mov r15, rax
mov qword [rsp + 0x28], rax
lea rdx, [0x1400c2228]
lea rcx, [rax + 0x10]
call fcn.1400078e0
xorps xmm0, xmm0
movups xmmword [r15 + 0x30], xmm0
movups xmmword [r15 + 0x40], xmm0
mov rcx, qword [r13 + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x1400139cb
cvtsi2ss xmm0, rcx
jmp 0x1400139e0
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [r13 + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400139f3
cvtsi2ss xmm1, rcx
jmp 0x140013a08
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [r13]
jbe 0x140013ad6
mov rcx, r13
call fcn.140014120
mov rax, rsi
and rax, qword [r13 + 0x30]
add rax, rax
mov rcx, qword [r13 + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
mov rdi, qword [r13 + 8]
cmp rbx, rdi
jne 0x140013a48
mov qword [rsp + 0x20], rdi
mov rbp, rdi
jmp 0x140013ac8
mov r12, qword [rcx + rax*8]
mov r13, qword [r15 + 0x28]
mov rbp, qword [r15 + 0x20]
nop dword [rax]
nop dword [rax + rax]
mov rdi, rbx
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140013a75
mov rdx, qword [rdx]
lea rcx, [r15 + 0x10]
cmp r13, 0xf
jbe 0x140013a83
mov rcx, qword [r15 + 0x10]
cmp rbp, rax
jne 0x140013a94
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140013a9f
cmp rbx, r12
je 0x140013ab6
mov rbx, qword [rbx + 8]
jmp 0x140013a60
mov rdi, qword [rbx]
mov qword [rsp + 0x20], rdi
mov rbp, rdi
mov r12, qword [rsp + 0x38]
mov r13, qword [rsp + 0x30]
jmp 0x140013ad1
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r12, qword [rsp + 0x38]
mov r13, qword [rsp + 0x30]
mov qword [rsp + 0x28], 0
mov r14, qword [rsp + 0x20]
mov rcx, qword [rdi + 8]
inc qword [r13 + 0x10]
mov qword [r15], r14
mov qword [r15 + 8], rcx
mov qword [rcx], r15
mov qword [rdi + 8], r15
mov rax, qword [r13 + 0x18]
and rsi, qword [r13 + 0x30]
add rsi, rsi
mov rdx, qword [rax + rsi*8]
cmp rdx, qword [r13 + 8]
jne 0x140013b07
mov qword [rax + rsi*8], r15
jmp 0x140013b19
cmp rdx, rbp
jne 0x140013b12
mov qword [rax + rsi*8], r15
jmp 0x140013b1e
cmp qword [rax + rsi*8 + 8], rcx
jne 0x140013b1e
mov qword [rax + rsi*8 + 8], r15
mov qword [r12], r15
mov byte [r12 + 8], 1
mov rax, r12
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret