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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rsi, r8
mov qword [rsp + 0x30], rdx
mov r13, rcx
mov rbx, qword [r8 + 0x10]
mov rdx, r8
mov r15, qword [r8 + 0x18]
cmp r15, 0xf
jbe 0x140018853
mov rdx, qword [r8]
movabs rbp, 0xcbf29ce484222325
xor ecx, ecx
test rbx, rbx
je 0x140018883
movabs r8, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
xor rbp, rax
imul rbp, r8
inc rcx
cmp rcx, rbx
jb 0x140018870
mov rax, qword [r13 + 0x30]
and rax, rbp
add rax, rax
mov r14, qword [r13 + 0x18]
mov rdi, qword [r14 + rax*8 + 8]
mov r12, qword [r13 + 8]
cmp rdi, r12
jne 0x1400188a7
mov rdi, r12
mov r15, r12
jmp 0x140018901
mov r14, qword [r14 + rax*8]
nop dword [rax + rax]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400188c2
mov rdx, qword [rdx]
mov rcx, rsi
cmp r15, 0xf
jbe 0x1400188ce
mov rcx, qword [rsi]
cmp rbx, rax
jne 0x1400188df
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400188ea
cmp rdi, r14
je 0x1400188fb
mov rdi, qword [rdi + 8]
jmp 0x1400188b0
mov rax, qword [rsp + 0x30]
mov qword [rax], rdi
mov byte [rax + 8], 0
jmp 0x140018ad0
mov r12, rdi
mov r15, rdi
movabs rax, 0x333333333333333
cmp qword [r13 + 0x10], rax
jne 0x14001891f
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [r13 + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x40], 0
mov ecx, 0x50
call fcn.140072580
mov r14, rax
mov qword [rsp + 0x40], rax
lea rbx, [rax + 0x10]
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov rcx, rbx
call fcn.14000ed90
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsi + 0x20]
call fcn.14000ed90
nop
mov rdx, qword [r13 + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x140018983
cvtsi2ss xmm0, rdx
jmp 0x14001899b
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [r13 + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1400189ae
cvtsi2ss xmm1, rcx
jmp 0x1400189c3
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 0x140018a70
mov rcx, r13
call fcn.14000fa30
mov rdx, rax
mov rcx, r13
call fcn.14000f710
mov rax, qword [r13 + 0x30]
and rax, rbp
add rax, rax
mov r12, qword [r13 + 0x18]
mov rbx, qword [r12 + rax*8 + 8]
mov rdi, qword [r13 + 8]
cmp rbx, rdi
jne 0x140018a08
mov qword [rsp + 0x20], rdi
jmp 0x140018a5f
mov r12, qword [r12 + rax*8]
mov r15, qword [r14 + 0x20]
mov rdi, rbx
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140018a25
mov rdx, qword [rdx]
lea rcx, [r14 + 0x10]
cmp qword [r14 + 0x28], 0xf
jbe 0x140018a34
mov rcx, qword [r14 + 0x10]
cmp r15, rax
jne 0x140018a45
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140018a50
cmp rbx, r12
je 0x140018a5a
mov rbx, qword [rbx + 8]
jmp 0x140018a10
mov rdi, qword [rbx]
mov qword [rsp + 0x20], rdi
jmp 0x140018a68
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], 0
mov r15, rdi
mov r12, qword [rsp + 0x20]
mov qword [rsp + 0x40], 0
mov rdx, qword [rdi + 8]
inc qword [r13 + 0x10]
mov qword [r14], r12
mov qword [r14 + 8], rdx
mov qword [rdx], r14
mov qword [rdi + 8], r14
mov rcx, qword [r13 + 0x18]
mov rax, qword [r13 + 0x30]
and rax, rbp
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r13 + 8]
jne 0x140018aad
mov qword [rcx + rax*8], r14
jmp 0x140018abf
cmp r8, r15
jne 0x140018ab8
mov qword [rcx + rax*8], r14
jmp 0x140018ac4
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140018ac4
mov qword [rcx + rax*8 + 8], r14
mov rax, qword [rsp + 0x30]
mov qword [rax], r14
mov byte [rax + 8], 1
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret