Function at 0x140047940
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 0x14004796e
mov rdx, qword [rbx]
movabs rdi, 0xcbf29ce484222325
xor ecx, ecx
test r8, r8
je 0x1400479a3
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor rdi, rax
imul rdi, r9
inc rcx
cmp rcx, r8
jb 0x140047990
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, r13
call fcn.140048ac0
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400479cd
mov qword [r15], rax
mov byte [r15 + 8], 0
jmp 0x140047ba3
movabs rax, 0x2e8ba2e8ba2e8ba
cmp qword [r13 + 0x10], rax
jne 0x1400479eb
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.140116e88
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.1400058f0
nop
mov rcx, qword [rbx + 0x20]
mov qword [rsi + 0x20], rcx
lea rcx, [rsi + 0x28]
lea rdx, [rbx + 0x28]
call fcn.1400058f0
nop
mov rdx, qword [r13 + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x140047a4e
cvtsi2ss xmm0, rdx
jmp 0x140047a66
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 0x140047a79
cvtsi2ss xmm1, rcx
jmp 0x140047a8e
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 0x140047b4b
mov rcx, r13
call fcn.140048190
mov rdx, rax
mov rcx, r13
call fcn.140047ef0
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 0x140047ad8
mov qword [rsp + 0x20], rcx
jmp 0x140047b37
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 0x140047af2
mov rdx, qword [rdx]
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140047aff
mov rcx, qword [rsi]
cmp rbp, rax
jne 0x140047b10
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140047b1b
cmp rbx, r12
je 0x140047b2e
mov rbx, qword [rbx + 8]
jmp 0x140047ae0
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
lea rbp, [r13 + 8]
jmp 0x140047b40
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 0x140047b84
mov qword [rcx + rax*8], r14
jmp 0x140047b96
cmp r9, rdx
jne 0x140047b8f
mov qword [rcx + rax*8], r14
jmp 0x140047b9b
cmp qword [rcx + rax*8 + 8], r8
jne 0x140047b9b
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