Function at 0x1800508f0
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 r8, rcx
mov qword [rsp + 0x20], rcx
mov rsi, qword [rdi + 0x10]
mov rdx, rdi
mov r12, qword [rdi + 0x18]
cmp r12, 0xf
jbe 0x18005092b
mov rdx, qword [rdi]
movabs rbp, 0xcbf29ce484222325
xor ecx, ecx
test rsi, rsi
je 0x180050963
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor rbp, rax
imul rbp, r9
inc rcx
cmp rcx, rsi
jb 0x180050950
mov rax, qword [r8 + 0x30]
and rax, rbp
add rax, rax
mov rcx, qword [r8 + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
mov r15, qword [r8 + 8]
cmp rbx, r15
jne 0x180050987
mov rbx, r15
mov rsi, r15
jmp 0x1800509e3
mov r14, qword [rcx + rax*8]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800509a2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r12, 0xf
jbe 0x1800509ae
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x1800509bf
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800509ca
cmp rbx, r14
je 0x1800509d8
mov rbx, qword [rbx + 8]
jmp 0x180050990
mov qword [r13], rbx
mov byte [r13 + 8], 0
jmp 0x180050c1b
mov r15, rbx
mov rsi, rbx
mov r8, qword [rsp + 0x20]
movabs rax, 0x492492492492492
cmp qword [r8 + 0x10], rax
jne 0x180050a01
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, [r8 + 8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ecx, 0x38
call fcn.18009bcb0
mov r12, rax
mov qword [rsp + 0x38], rax
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.18003d910
mov rcx, qword [rdi + 0x20]
mov qword [r12 + 0x30], rcx
mov r9, qword [rsp + 0x20]
mov rcx, qword [r9 + 0x10]
movss xmm3, dword [r9]
add rcx, 1
xorps xmm0, xmm0
js 0x180050a58
cvtsi2ss xmm0, rcx
jmp 0x180050a6d
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [r9 + 0x38]
xorps xmm2, xmm2
test rdi, rdi
js 0x180050a80
cvtsi2ss xmm2, rdi
jmp 0x180050a98
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 0x180050bc5
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x1800d5dc4]
comiss xmm0, xmm1
jb 0x180050adb
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x180050adb
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 0x180050b0d
cmp rdi, 0x200
jae 0x180050b0a
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x180050b0d
mov rdi, rcx
mov rdx, rdi
mov rcx, qword [rsp + 0x20]
call fcn.1800511e0
mov r9, qword [rsp + 0x20]
mov rax, qword [r9 + 0x30]
and rax, rbp
add rax, rax
mov rcx, qword [r9 + 0x18]
mov rdi, qword [rcx + rax*8 + 8]
mov rbx, qword [r9 + 8]
cmp rdi, rbx
jne 0x180050b42
mov qword [rsp + 0x30], rbx
jmp 0x180050bb4
mov r15, qword [rcx + rax*8]
mov r13, qword [r12 + 0x28]
mov rsi, qword [r12 + 0x20]
mov rbx, rdi
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180050b65
mov rdx, qword [rdx]
lea rcx, [r12 + 0x10]
cmp r13, 0xf
jbe 0x180050b75
mov rcx, qword [r12 + 0x10]
cmp rsi, rax
jne 0x180050b86
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180050b91
cmp rdi, r15
je 0x180050ba5
mov rdi, qword [rdi + 8]
jmp 0x180050b50
mov rbx, qword [rdi]
mov qword [rsp + 0x30], rbx
mov r13, qword [rsp + 0x40]
mov r9, qword [rsp + 0x20]
jmp 0x180050bbd
mov qword [rsp + 0x30], rdi
mov r13, qword [rsp + 0x40]
mov r9, qword [rsp + 0x20]
mov qword [rsp + 0x38], 0
mov rsi, rbx
mov r15, qword [rsp + 0x30]
mov rdx, qword [rbx + 8]
inc qword [r9 + 0x10]
mov qword [r12], r15
mov qword [r12 + 8], rdx
mov qword [rdx], r12
mov qword [rbx + 8], r12
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 0x30]
and rax, rbp
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r9 + 8]
jne 0x180050bfb
mov qword [rcx + rax*8], r12
jmp 0x180050c0d
cmp r8, rsi
jne 0x180050c06
mov qword [rcx + rax*8], r12
jmp 0x180050c12
cmp qword [rcx + rax*8 + 8], rdx
jne 0x180050c12
mov qword [rcx + rax*8 + 8], r12
mov qword [r13], r12
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