Function at 0x180017970
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 rsi, r8
mov r13, rdx
mov qword [rsp + 0x40], rdx
mov r8, rcx
mov qword [rsp + 0x20], rcx
mov rdi, qword [rsi + 0x10]
mov rdx, rsi
mov r15, qword [rsi + 0x18]
cmp r15, 0x10
jb 0x1800179ab
mov rdx, qword [rsi]
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
test rdi, rdi
je 0x1800179e3
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r14, rax
imul r14, r9
inc rcx
cmp rcx, rdi
jb 0x1800179d0
mov rax, qword [r8 + 0x30]
and rax, r14
add rax, rax
mov rcx, qword [r8 + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
lea rdx, [r8 + 8]
mov qword [rsp + 0x48], rdx
mov r12, qword [rdx]
cmp rbx, r12
jne 0x180017a0f
mov rbx, r12
mov rbp, r12
jmp 0x180017a78
mov rbp, qword [rcx + rax*8]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180017a32
mov rdx, qword [rdx]
mov rcx, rsi
cmp r15, 0x10
jb 0x180017a3e
mov rcx, qword [rsi]
cmp rdi, rax
jne 0x180017a4f
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180017a5a
cmp rbx, rbp
je 0x180017a68
mov rbx, qword [rbx + 8]
jmp 0x180017a20
mov qword [r13], rbx
mov byte [r13 + 8], 0
jmp 0x180017cab
mov r12, rbx
mov rbp, rbx
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
movabs rax, 0x555555555555555
cmp qword [r8 + 0x10], rax
jne 0x180017a96
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 + 0x30], rdx
mov qword [rsp + 0x38], 0
mov ecx, 0x30
call fcn.18011eb60
mov r15, rax
mov qword [rsp + 0x38], rax
lea rcx, [rax + 0x10]
mov rdx, rsi
call fcn.1800141b0
nop
mov r8, qword [rsp + 0x20]
mov rcx, qword [r8 + 0x10]
movss xmm3, dword [r8]
add rcx, 1
xorps xmm0, xmm0
js 0x180017ae1
cvtsi2ss xmm0, rcx
jmp 0x180017af6
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [r8 + 0x38]
xorps xmm2, xmm2
test rdi, rdi
js 0x180017b09
cvtsi2ss xmm2, rdi
jmp 0x180017b21
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 0x180017c53
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x180158f74]
comiss xmm0, xmm1
jb 0x180017b64
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x180017b64
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 0x180017b96
cmp rdi, 0x200
jae 0x180017b93
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x180017b96
mov rdi, rcx
mov rdx, rdi
mov rcx, qword [rsp + 0x20]
call fcn.180018a80
mov r8, qword [rsp + 0x20]
mov rax, qword [r8 + 0x30]
and rax, r14
add rax, rax
mov rcx, qword [r8 + 0x18]
mov rdi, qword [rcx + rax*8 + 8]
mov rbx, qword [r8 + 8]
cmp rdi, rbx
jne 0x180017bcb
mov qword [rsp + 0x30], rbx
jmp 0x180017c42
mov r12, qword [rcx + rax*8]
mov r13, qword [r15 + 0x28]
mov rbp, qword [r15 + 0x20]
nop word [rax + rax]
mov rbx, rdi
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180017bf5
mov rdx, qword [rdx]
lea rcx, [r15 + 0x10]
cmp r13, 0x10
jb 0x180017c03
mov rcx, qword [r15 + 0x10]
cmp rbp, rax
jne 0x180017c14
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180017c1f
cmp rdi, r12
je 0x180017c33
mov rdi, qword [rdi + 8]
jmp 0x180017be0
mov rbx, qword [rdi]
mov qword [rsp + 0x30], rbx
mov r13, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
jmp 0x180017c4b
mov qword [rsp + 0x30], rdi
mov r13, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
mov qword [rsp + 0x38], 0
mov rbp, rbx
mov r12, qword [rsp + 0x30]
mov rdx, qword [rbx + 8]
inc qword [r8 + 0x10]
mov qword [r15], r12
mov qword [r15 + 8], rdx
mov qword [rdx], r15
mov qword [rbx + 8], r15
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 0x30]
and rax, r14
add rax, rax
mov r8, qword [rcx + rax*8]
mov r9, qword [rsp + 0x48]
cmp r8, qword [r9]
jne 0x180017c8b
mov qword [rcx + rax*8], r15
jmp 0x180017c9d
cmp r8, rbp
jne 0x180017c96
mov qword [rcx + rax*8], r15
jmp 0x180017ca2
cmp qword [rcx + rax*8 + 8], rdx
jne 0x180017ca2
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