Function at 0x140004820
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, 0x40
mov rdi, r8
mov qword [rsp + 0x38], rdx
mov r13, rcx
mov qword [rsp + 0x30], rcx
mov rbp, qword [r8 + 0x10]
mov rdx, r8
mov r15, qword [r8 + 0x18]
cmp r15, 0x10
jb 0x140004858
mov rdx, qword [r8]
movabs rsi, 0xcbf29ce484222325
xor ecx, ecx
test rbp, rbp
je 0x140004893
movabs r8, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor rsi, rax
imul rsi, r8
inc rcx
cmp rcx, rbp
jb 0x140004880
mov rax, qword [r13 + 0x30]
and rax, rsi
add rax, rax
mov r14, qword [r13 + 0x18]
mov rbx, qword [r14 + rax*8 + 8]
lea rcx, [r13 + 8]
mov r12, qword [rcx]
cmp rbx, r12
jne 0x1400048ba
mov rbx, r12
mov rbp, r12
jmp 0x140004915
mov r14, qword [r14 + rax*8]
nop
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400048d2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0x10
jb 0x1400048de
mov rcx, qword [rdi]
cmp rbp, rax
jne 0x1400048ef
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400048fa
cmp rbx, r14
je 0x14000490b
mov rbx, qword [rbx + 8]
jmp 0x1400048c0
mov rax, qword [rsp + 0x38]
mov qword [rax], rbx
mov byte [rax + 8], 0
jmp 0x140004b60
mov r12, rbx
mov rbp, rbx
lea rcx, [r13 + 8]
movabs rax, 0x333333333333333
cmp qword [r13 + 0x10], rax
jne 0x140004933
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.14001d8e0
mov r15, rax
mov qword [rsp + 0x28], rax
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.140003e70
xorps xmm0, xmm0
movups xmmword [r15 + 0x30], xmm0
xor eax, eax
mov qword [r15 + 0x40], rax
mov qword [r15 + 0x48], rax
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [r15 + 0x30], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [r15 + 0x40], xmm1
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], 0xf
mov byte [rdi + 0x20], al
mov rcx, qword [r13 + 0x10]
movss xmm3, dword [r13]
add rcx, 1
xorps xmm0, xmm0
js 0x1400049ac
cvtsi2ss xmm0, rcx
jmp 0x1400049c1
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [r13 + 0x38]
xorps xmm2, xmm2
test rdi, rdi
js 0x1400049d4
cvtsi2ss xmm2, rdi
jmp 0x1400049ec
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, xmm3
seta al
test al, al
je 0x140004b09
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x140022178]
comiss xmm0, xmm1
jb 0x140004a2f
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140004a2f
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdi, rcx
jae 0x140004a61
cmp rdi, 0x200
jae 0x140004a5e
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x140004a61
mov rdi, rcx
mov rdx, rdi
mov rcx, r13
call fcn.140004d70
mov rax, qword [r13 + 0x30]
and rax, rsi
add rax, rax
mov r12, qword [r13 + 0x18]
mov rdi, qword [r12 + rax*8 + 8]
mov rbx, qword [r13 + 8]
cmp rdi, rbx
jne 0x140004a8f
mov qword [rsp + 0x20], rbx
jmp 0x140004af8
mov r12, qword [r12 + rax*8]
mov r13, qword [r15 + 0x28]
mov rbp, qword [r15 + 0x20]
nop dword [rax + rax]
mov rbx, rdi
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140004ab5
mov rdx, qword [rdx]
lea rcx, [r15 + 0x10]
cmp r13, 0x10
jb 0x140004ac3
mov rcx, qword [r15 + 0x10]
cmp rbp, rax
jne 0x140004ad4
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140004adf
cmp rdi, r12
je 0x140004aee
mov rdi, qword [rdi + 8]
jmp 0x140004aa0
mov rbx, qword [rdi]
mov qword [rsp + 0x20], rbx
mov r13, qword [rsp + 0x30]
jmp 0x140004b01
mov qword [rsp + 0x20], rdi
mov r13, qword [rsp + 0x30]
mov qword [rsp + 0x28], 0
mov rbp, rbx
mov r12, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [r13 + 0x10]
mov qword [r15], r12
mov qword [r15 + 8], rdx
mov qword [rdx], r15
mov qword [rbx + 8], r15
mov rcx, qword [r13 + 0x18]
mov rax, qword [r13 + 0x30]
and rax, rsi
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r13 + 8]
jne 0x140004b3d
mov qword [rcx + rax*8], r15
jmp 0x140004b4f
cmp r8, rbp
jne 0x140004b48
mov qword [rcx + rax*8], r15
jmp 0x140004b54
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140004b54
mov qword [rcx + rax*8 + 8], r15
mov rax, qword [rsp + 0x38]
mov qword [rax], r15
mov byte [rax + 8], 1
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret