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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov r14, r8
mov rdi, rcx
mov r15, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov r12, r8
jb 0x140010874
mov r12, qword [r14]
test r15, r15
mov qword [rbp - 8], rdx
je 0x1400108a1
mov eax, r15d
and eax, 3
movabs rcx, 0x100000001b3
cmp r15, 4
jae 0x1400108ad
movabs r8, 0xcbf29ce484222325
xor edx, edx
jmp 0x1400108fc
movabs r13, 0xcbf29ce484222325
jmp 0x140010927
mov r11, r15
and r11, 0xfffffffffffffffc
movabs r8, 0xcbf29ce484222325
xor edx, edx
movzx r10d, byte [r12 + rdx]
xor r10, r8
imul r10, rcx
movzx r8d, byte [r12 + rdx + 1]
xor r8, r10
imul r8, rcx
movzx r10d, byte [r12 + rdx + 2]
xor r10, r8
imul r10, rcx
movzx r8d, byte [r12 + rdx + 3]
xor r8, r10
imul r8, rcx
add rdx, 4
cmp r11, rdx
jne 0x1400108c0
mov r13, r8
test rax, rax
je 0x140010927
add rdx, r12
xor r10d, r10d
nop word [rax + rax]
movzx r13d, byte [rdx + r10]
xor r13, r8
imul r13, rcx
inc r10
mov r8, r13
cmp rax, r10
jne 0x140010910
mov rax, qword [rdi + 0x30]
and rax, r13
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov rsi, qword [rcx + rdx + 8]
cmp rsi, qword [rdi + 8]
je 0x14001099f
mov qword [rbp - 0x20], r9
add rax, rax
mov rbx, qword [rcx + rax*8]
cmp r15, qword [rsi + 0x20]
jne 0x140010987
nop word cs:[rax + rax]
cmp qword [rsi + 0x28], 0x10
jb 0x140010970
mov rdx, qword [rsi + 0x10]
jmp 0x140010974
lea rdx, [rsi + 0x10]
mov rcx, r12
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140010ab6
cmp rsi, rbx
je 0x140010998
mov rsi, qword [rsi + 8]
cmp r15, qword [rsi + 0x20]
je 0x140010960
jmp 0x140010987
mov rsi, rbx
mov r9, qword [rbp - 0x20]
movabs rax, 0x333333333333333
cmp qword [rdi + 0x10], rax
je 0x140010ba4
lea rdx, [rdi + 8]
lea rcx, [rbp - 0x18]
mov r8, r14
call fcn.140014ac0
mov rax, qword [rdi + 0x10]
inc rax
js 0x1400109d3
cvtsi2ss xmm0, rax
jmp 0x1400109e8
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm1, dword [rdi]
mov rbx, qword [rdi + 0x38]
test rbx, rbx
js 0x1400109fc
cvtsi2ss xmm2, rbx
jmp 0x140010a13
mov rax, rbx
shr rax, 1
mov ecx, ebx
and ecx, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
jbe 0x140010b1c
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x140102cac]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rdx, 9
mov eax, 8
cmovae rax, rdx
cmp rbx, rax
jae 0x140010a7a
lea rcx, [rbx*8]
cmp rcx, rax
cmovb rcx, rax
cmp rbx, 0x200
cmovae rcx, rax
mov rbx, rcx
mov rcx, rdi
mov rdx, rbx
call fcn.140013e50
mov rax, qword [rdi + 0x30]
and rax, r13
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov rsi, qword [rcx + rdx + 8]
cmp rsi, qword [rdi + 8]
je 0x140010b1c
add rax, rax
mov rdx, qword [rbp - 0x10]
cmp qword [rdx + 0x28], 0x10
jb 0x140010ac6
mov rbx, qword [rdx + 0x10]
jmp 0x140010aca
mov rdi, qword [rbp - 8]
mov qword [rdi], rsi
mov byte [rdi + 8], 0
jmp 0x140010b90
lea rbx, [rdx + 0x10]
mov r15, qword [rcx + rax*8]
mov r14, qword [rdx + 0x20]
cmp r14, qword [rsi + 0x20]
jne 0x140010b03
nop dword [rax + rax]
cmp qword [rsi + 0x28], 0x10
jb 0x140010af0
mov rdx, qword [rsi + 0x10]
jmp 0x140010af4
lea rdx, [rsi + 0x10]
mov rcx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140010b19
cmp rsi, r15
je 0x140010b14
mov rsi, qword [rsi + 8]
cmp r14, qword [rsi + 0x20]
je 0x140010ae0
jmp 0x140010b03
mov rsi, r15
jmp 0x140010b1c
mov rsi, qword [rsi]
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x10], 0
mov rcx, qword [rsi + 8]
inc qword [rdi + 0x10]
mov qword [rax], rsi
mov qword [rax + 8], rcx
mov qword [rcx], rax
mov qword [rsi + 8], rax
mov r9, qword [rdi + 0x18]
and r13, qword [rdi + 0x30]
shl r13, 4
lea rdx, [r9 + r13]
lea r8, [r9 + r13]
add r8, 8
mov r9, qword [r9 + r13]
cmp r9, qword [rdi + 8]
je 0x140010b73
cmp r9, rsi
mov rdi, qword [rbp - 8]
je 0x140010b7d
mov rdx, r8
cmp qword [r8], rcx
jne 0x140010b80
jmp 0x140010b7d
mov qword [rdx], rax
mov rdx, r8
mov rdi, qword [rbp - 8]
mov qword [rdx], rax
mov qword [rdi], rax
mov byte [rdi + 8], 1
lea rcx, [rbp - 0x18]
call fcn.140013d70
mov rax, rdi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3