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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, r8
mov r13, rcx
mov rbx, qword [r8 + 0x10]
mov rbp, qword [r8 + 0x18]
cmp rbp, 0xf
jbe 0x1400407c0
mov r8, qword [r8]
movabs rsi, 0xcbf29ce484222325
xor ecx, ecx
test rbx, rbx
je 0x1400407f4
movabs rdx, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
xor rsi, rax
imul rsi, rdx
inc rcx
cmp rcx, rbx
jb 0x1400407e0
mov rax, qword [r13 + 0x30]
and rax, rsi
add rax, rax
mov r15, qword [r13 + 0x18]
mov rdi, qword [r15 + rax*8 + 8]
lea rcx, [r13 + 8]
mov r12, qword [rcx]
cmp rdi, r12
jne 0x14004081b
mov rdi, r12
mov rbp, r12
jmp 0x140040875
mov r15, qword [r15 + rax*8]
nop
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140040832
mov rdx, qword [rdx]
mov rcx, r14
cmp rbp, 0xf
jbe 0x14004083e
mov rcx, qword [r14]
cmp rbx, rax
jne 0x14004084f
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14004085a
cmp rdi, r15
je 0x14004086b
mov rdi, qword [rdi + 8]
jmp 0x140040820
mov rax, qword [rsp + 0x78]
mov qword [rax], rdi
mov byte [rax + 8], 0
jmp 0x140040a3a
mov r12, rdi
lea rcx, [r13 + 8]
mov rbp, rdi
movabs rax, 0x333333333333333
cmp qword [r13 + 0x10], rax
jne 0x140040893
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.14006a430
mov r15, rax
mov qword [rsp + 0x28], rax
lea rbx, [rax + 0x10]
mov qword [rsp + 0x70], rbx
mov rdx, r14
mov rcx, rbx
call fcn.140023f50
nop
lea rcx, [rbx + 0x20]
lea rdx, [r14 + 0x20]
call fcn.140023f50
nop
mov rdx, qword [r13 + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x1400408ea
cvtsi2ss xmm0, rdx
jmp 0x140040902
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 0x140040915
cvtsi2ss xmm1, rcx
jmp 0x14004092a
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 0x1400409e0
mov rcx, r13
call fcn.1400274b0
mov rdx, rax
mov rcx, r13
call fcn.140026c60
mov rax, qword [r13 + 0x30]
and rax, rsi
add rax, rax
mov r12, qword [r13 + 0x18]
mov rbx, qword [r12 + rax*8 + 8]
mov rdi, qword [r13 + 8]
cmp rbx, rdi
jne 0x14004096f
mov qword [rsp + 0x20], rdi
jmp 0x1400409cf
mov r12, qword [r12 + rax*8]
mov rbp, qword [r15 + 0x20]
nop word [rax + rax]
mov rdi, rbx
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140040995
mov rdx, qword [rdx]
lea rcx, [r15 + 0x10]
cmp qword [r15 + 0x28], 0xf
jbe 0x1400409a4
mov rcx, qword [r15 + 0x10]
cmp rbp, rax
jne 0x1400409b5
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400409c0
cmp rbx, r12
je 0x1400409ca
mov rbx, qword [rbx + 8]
jmp 0x140040980
mov rdi, qword [rbx]
mov qword [rsp + 0x20], rdi
jmp 0x1400409d8
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], 0
mov rbp, rdi
mov r12, qword [rsp + 0x20]
lea rdx, [r13 + 8]
mov r8, qword [rdi + 8]
inc qword [r13 + 0x10]
mov qword [r15], r12
mov qword [r15 + 8], r8
mov qword [r8], r15
mov qword [rdi + 8], r15
mov rcx, qword [r13 + 0x18]
mov rax, qword [r13 + 0x30]
and rax, rsi
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [rdx]
jne 0x140040a17
mov qword [rcx + rax*8], r15
jmp 0x140040a29
cmp r9, rbp
jne 0x140040a22
mov qword [rcx + rax*8], r15
jmp 0x140040a2e
cmp qword [rcx + rax*8 + 8], r8
jne 0x140040a2e
mov qword [rcx + rax*8 + 8], r15
mov rax, qword [rsp + 0x78]
mov qword [rax], r15
mov byte [rax + 8], 1
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret