Function at 0x140047040
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 rbx, r8
mov r15, rdx
mov r13, rcx
mov r8, qword [r8 + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004706e
mov rdx, qword [rbx]
movabs rdi, 0xcbf29ce484222325
xor ecx, ecx
test r8, r8
je 0x1400470a3
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor rdi, rax
imul rdi, r9
inc rcx
cmp rcx, r8
jb 0x140047090
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, r13
call fcn.1400481c0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400470cd
mov qword [r15], rax
mov byte [r15 + 8], 0
jmp 0x1400472a3
movabs rax, 0x2e8ba2e8ba2e8ba
cmp qword [r13 + 0x10], rax
jne 0x1400470eb
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rbp, [r13 + 8]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], 0
mov ecx, 0x58
call fcn.140115848
mov r14, rax
mov qword [rsp + 0x48], rax
lea rsi, [rax + 0x10]
mov qword [rsp + 0x20], rsi
mov rdx, rbx
mov rcx, rsi
call fcn.140005560
nop
mov rcx, qword [rbx + 0x20]
mov qword [rsi + 0x20], rcx
lea rcx, [rsi + 0x28]
lea rdx, [rbx + 0x28]
call fcn.140005560
nop
mov rdx, qword [r13 + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x14004714e
cvtsi2ss xmm0, rdx
jmp 0x140047166
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 0x140047179
cvtsi2ss xmm1, rcx
jmp 0x14004718e
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]
seta al
test al, al
je 0x14004724b
mov rcx, r13
call fcn.140047890
mov rdx, rax
mov rcx, r13
call fcn.1400475f0
mov rax, qword [r13 + 0x30]
and rax, rdi
add rax, rax
mov r12, qword [r13 + 0x18]
mov rbx, qword [r12 + rax*8 + 8]
mov rcx, qword [rbp]
cmp rbx, rcx
jne 0x1400471d8
mov qword [rsp + 0x20], rcx
jmp 0x140047237
mov r12, qword [r12 + rax*8]
mov rbp, qword [rsi + 0x10]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400471f2
mov rdx, qword [rdx]
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400471ff
mov rcx, qword [rsi]
cmp rbp, rax
jne 0x140047210
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14004721b
cmp rbx, r12
je 0x14004722e
mov rbx, qword [rbx + 8]
jmp 0x1400471e0
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
lea rbp, [r13 + 8]
jmp 0x140047240
mov qword [rsp + 0x20], rbx
lea rbp, [r13 + 8]
mov qword [rsp + 0x28], 0
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
mov rdx, qword [rsp + 0x30]
mov r8, qword [rdx + 8]
inc qword [r13 + 0x10]
mov qword [r14], rdx
mov qword [r14 + 8], r8
mov qword [r8], r14
mov qword [rdx + 8], r14
mov rcx, qword [r13 + 0x18]
mov rax, qword [r13 + 0x30]
and rax, rdi
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [rbp]
jne 0x140047284
mov qword [rcx + rax*8], r14
jmp 0x140047296
cmp r9, rdx
jne 0x14004728f
mov qword [rcx + rax*8], r14
jmp 0x14004729b
cmp qword [rcx + rax*8 + 8], r8
jne 0x14004729b
mov qword [rcx + rax*8 + 8], r14
mov qword [r15], r14
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret