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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, r8
mov r15, rdx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0xf
jbe 0x140058460
mov r8, qword [r8]
movabs rbx, 0xcbf29ce484222325
xor ebp, ebp
mov ecx, ebp
test r9, r9
je 0x140058494
movabs rdx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor rbx, rax
imul rbx, rdx
inc rcx
cmp rcx, r9
jb 0x140058480
mov r9, rbx
mov r8, rdi
lea rdx, [rsp + 0x20]
call fcn.140058f40
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1400584ba
mov qword [r15], rax
mov byte [r15 + 8], bpl
jmp 0x14005870f
movabs rax, 0x38e38e38e38e38e
cmp qword [0x14021f3d0], rax
jne 0x1400584db
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, [0x14021f3c8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbp
mov ecx, 0x48
call fcn.1400bc588
mov r14, rax
mov qword [rsp + 0x38], rax
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.140057c70
mov qword [r14 + 0x30], rbp
mov qword [r14 + 0x38], rbp
mov qword [r14 + 0x40], rbp
mov rdx, qword [0x14021f3d0]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140058530
cvtsi2ss xmm0, rcx
jmp 0x140058545
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [0x14021f3f8]
xorps xmm2, xmm2
test rdi, rdi
js 0x14005855b
cvtsi2ss xmm2, rdi
jmp 0x140058573
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
movss xmm3, dword [0x14021f3c0]
comiss xmm1, xmm3
seta al
test al, al
je 0x1400586ab
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x1400e01b0]
comiss xmm0, xmm1
jb 0x1400585be
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400585be
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 0x1400585f0
cmp rdi, 0x200
jae 0x1400585ed
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x1400585f0
mov rdi, rcx
mov rdx, rdi
call fcn.140058cc0
mov rax, rbx
and rax, qword [0x14021f3f0]
add rax, rax
mov rdx, qword [0x14021f3d8]
mov rdi, qword [rdx + rax*8 + 8]
mov rcx, qword [0x14021f3c8]
cmp rdi, rcx
jne 0x140058629
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbp
jmp 0x140058699
mov r12, qword [rdx + rax*8]
mov r13, qword [r14 + 0x28]
mov rbp, qword [r14 + 0x20]
nop word [rax + rax]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140058652
mov rdx, qword [rdx]
lea rcx, [r14 + 0x10]
cmp r13, 0xf
jbe 0x140058660
mov rcx, qword [r14 + 0x10]
cmp rbp, rax
jne 0x140058671
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14005867c
cmp rdi, r12
je 0x14005868b
mov rdi, qword [rdi + 8]
jmp 0x140058640
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdi
jmp 0x140058699
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], 0
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rdx, qword [0x14021f3d0]
mov rcx, qword [rsp + 0x20]
mov r8, qword [rcx + 8]
inc rdx
mov qword [0x14021f3d0], rdx
mov qword [r14], rcx
mov qword [r14 + 8], r8
mov qword [r8], r14
mov qword [rcx + 8], r14
mov rax, qword [0x14021f3d8]
and rbx, qword [0x14021f3f0]
add rbx, rbx
mov rdx, qword [rax + rbx*8]
cmp rdx, qword [0x14021f3c8]
jne 0x1400586f0
mov qword [rax + rbx*8], r14
jmp 0x140058702
cmp rdx, rcx
jne 0x1400586fb
mov qword [rax + rbx*8], r14
jmp 0x140058707
cmp qword [rax + rbx*8 + 8], r8
jne 0x140058707
mov qword [rax + rbx*8 + 8], r14
mov qword [r15], r14
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret