Function at 0x140058ef0
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 0x140058f20
mov r8, qword [r8]
movabs rbx, 0xcbf29ce484222325
xor ebp, ebp
mov ecx, ebp
test r9, r9
je 0x140058f54
movabs rdx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor rbx, rax
imul rbx, rdx
inc rcx
cmp rcx, r9
jb 0x140058f40
mov r9, rbx
mov r8, rdi
lea rdx, [rsp + 0x20]
call fcn.140059650
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140058f7a
mov qword [r15], rax
mov byte [r15 + 8], bpl
jmp 0x1400591df
movabs rax, 0x333333333333333
cmp qword [0x140bff920], rax
jne 0x140058f9b
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, [0x140bff918]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbp
mov ecx, 0x50
call fcn.1400b98c4
mov r14, rax
mov qword [rsp + 0x38], rax
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.140056540
xorps xmm0, xmm0
movups xmmword [r14 + 0x30], xmm0
mov qword [r14 + 0x40], rbp
mov qword [r14 + 0x48], reloc.WS2_32.dll_ntohs
mov byte [r14 + 0x30], 0
mov rdx, qword [0x140bff920]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140058ffd
cvtsi2ss xmm0, rcx
jmp 0x140059012
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [0x140bff948]
xorps xmm2, xmm2
test rdi, rdi
js 0x140059028
cvtsi2ss xmm2, rdi
jmp 0x140059040
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 [0x140bff910]
comiss xmm1, xmm3
seta al
test al, al
je 0x14005917b
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x1400db244]
comiss xmm0, xmm1
jb 0x14005908b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14005908b
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 0x1400590bd
cmp rdi, 0x200
jae 0x1400590ba
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x1400590bd
mov rdi, rcx
mov rdx, rdi
call fcn.1400593d0
mov rax, rbx
and rax, qword [0x140bff940]
add rax, rax
mov r12, qword [0x140bff928]
mov rdi, qword [r12 + rax*8 + 8]
mov rcx, qword [0x140bff918]
cmp rdi, rcx
jne 0x1400590f6
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbp
jmp 0x140059169
mov r12, qword [r12 + rax*8]
mov r13, qword [r14 + 0x28]
mov rbp, qword [r14 + 0x20]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140059122
mov rdx, qword [rdx]
lea rcx, [r14 + 0x10]
cmp r13, 0xf
jbe 0x140059130
mov rcx, qword [r14 + 0x10]
cmp rbp, rax
jne 0x140059141
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14005914c
cmp rdi, r12
je 0x14005915b
mov rdi, qword [rdi + 8]
jmp 0x140059110
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdi
jmp 0x140059169
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], 0
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rdx, qword [0x140bff920]
mov rcx, qword [rsp + 0x20]
mov r8, qword [rcx + 8]
inc rdx
mov qword [0x140bff920], rdx
mov qword [r14], rcx
mov qword [r14 + 8], r8
mov qword [r8], r14
mov qword [rcx + 8], r14
mov rax, qword [0x140bff928]
and rbx, qword [0x140bff940]
add rbx, rbx
mov rdx, qword [rax + rbx*8]
cmp rdx, qword [0x140bff918]
jne 0x1400591c0
mov qword [rax + rbx*8], r14
jmp 0x1400591d2
cmp rdx, rcx
jne 0x1400591cb
mov qword [rax + rbx*8], r14
jmp 0x1400591d7
cmp qword [rax + rbx*8 + 8], r8
jne 0x1400591d7
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