Function at 0x140012510
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 rdi, r8
mov r13, rdx
mov qword [rsp + 0x40], rdx
mov r15, rcx
mov qword [rsp + 0x20], rcx
mov rsi, qword [r8 + 0x10]
mov rdx, r8
mov r14, qword [r8 + 0x18]
cmp r14, 0xf
jbe 0x14001254b
mov rdx, qword [r8]
xor ecx, ecx
movabs r12, 0xcbf29ce484222325
test rsi, rsi
je 0x140012583
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r12, rax
imul r12, r8
inc rcx
cmp rcx, rsi
jb 0x140012570
mov rax, qword [r15 + 0x30]
and rax, r12
add rax, rax
mov rcx, qword [r15 + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
mov rbp, qword [r15 + 8]
cmp rbx, rbp
jne 0x1400125a7
mov rbx, rbp
mov rsi, rbp
jmp 0x1400125fe
mov rbp, qword [rcx + rax*8]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400125c2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r14, 0xf
jbe 0x1400125ce
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x1400125df
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400125ea
cmp rbx, rbp
je 0x1400125f8
mov rbx, qword [rbx + 8]
jmp 0x1400125b0
mov qword [r13], rbx
mov byte [r13 + 8], 0
jmp 0x140012837
mov rbp, rbx
mov rsi, rbx
movabs rax, 0x492492492492492
cmp qword [r15 + 0x10], rax
jne 0x14001261c
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, [r15 + 8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ecx, 0x38
call fcn.140068300
mov r15, rax
mov qword [rsp + 0x38], rax
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.140011250
mov dword [r15 + 0x30], 0
mov r9, qword [rsp + 0x20]
mov rcx, qword [r9 + 0x10]
vmovss xmm2, dword [r9]
mov rdx, qword [r9 + 0x38]
add rcx, 1
vxorps xmm1, xmm1, xmm1
js 0x140012677
vcvtsi2ss xmm1, xmm1, rcx
jmp 0x14001268c
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
vcvtsi2ss xmm1, xmm1, rax
vaddss xmm1, xmm1, xmm1
vxorps xmm0, xmm0, xmm0
test rdx, rdx
js 0x14001269c
vcvtsi2ss xmm0, xmm0, rdx
jmp 0x1400126b4
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
vcvtsi2ss xmm0, xmm0, rcx
vaddss xmm0, xmm0, xmm0
vdivss xmm0, xmm1, xmm0
vcomiss xmm2, xmm0
jae 0x1400127e3
vdivss xmm0, xmm1, xmm2
vxorps xmm1, xmm1, xmm1
vroundss xmm1, xmm1, xmm0, 2
xor ecx, ecx
vmovss xmm0, dword [0x14007b120]
vcomiss xmm1, xmm0
jb 0x1400126f7
vsubss xmm1, xmm1, xmm0
vcomiss xmm1, xmm0
jae 0x1400126f7
movabs rax, 0x8000000000000000
mov rcx, rax
vcvttss2si rax, xmm1
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x140012729
cmp rdx, 0x200
jae 0x140012726
lea rdx, [rdx*8]
cmp rdx, rcx
jae 0x140012729
mov rdx, rcx
mov rcx, r9
call fcn.140013b60
mov r9, qword [rsp + 0x20]
mov rax, qword [r9 + 0x30]
and rax, r12
add rax, rax
mov rcx, qword [r9 + 0x18]
mov rdi, qword [rcx + rax*8 + 8]
mov rbx, qword [r9 + 8]
cmp rdi, rbx
jne 0x140012759
mov qword [rsp + 0x30], rbx
jmp 0x1400127d2
mov rbp, qword [rcx + rax*8]
mov r13, qword [r15 + 0x28]
mov rsi, qword [r15 + 0x20]
nop word [rax + rax]
mov rbx, rdi
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140012785
mov rdx, qword [rdx]
lea rcx, [r15 + 0x10]
cmp r13, 0xf
jbe 0x140012793
mov rcx, qword [r15 + 0x10]
cmp rsi, rax
jne 0x1400127a4
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400127af
cmp rdi, rbp
je 0x1400127c3
mov rdi, qword [rdi + 8]
jmp 0x140012770
mov rbx, qword [rdi]
mov qword [rsp + 0x30], rbx
mov r13, qword [rsp + 0x40]
mov r9, qword [rsp + 0x20]
jmp 0x1400127db
mov qword [rsp + 0x30], rdi
mov r13, qword [rsp + 0x40]
mov r9, qword [rsp + 0x20]
mov qword [rsp + 0x38], 0
mov rsi, rbx
mov rbp, qword [rsp + 0x30]
mov rdx, qword [rbx + 8]
inc qword [r9 + 0x10]
mov qword [r15], rbp
mov qword [r15 + 8], rdx
mov qword [rdx], r15
mov qword [rbx + 8], r15
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r9 + 8]
jne 0x140012817
mov qword [rcx + rax*8], r15
jmp 0x140012829
cmp r8, rsi
jne 0x140012822
mov qword [rcx + rax*8], r15
jmp 0x14001282e
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14001282e
mov qword [rcx + rax*8 + 8], r15
mov qword [r13], r15
mov byte [r13 + 8], 1
mov rax, r13
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret