Function at 0x140058660
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, 0x30
mov rdi, r8
mov r13, rdx
mov r14, rcx
mov rbp, qword [r8 + 0x10]
mov rdx, r8
mov r15, qword [r8 + 0x18]
cmp r15, 0xf
jbe 0x140058691
mov rdx, qword [r8]
movabs rsi, 0xcbf29ce484222325
xor ecx, ecx
test rbp, rbp
je 0x1400586c3
movabs r8, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor rsi, rax
imul rsi, r8
inc rcx
cmp rcx, rbp
jb 0x1400586b0
mov rax, qword [r14 + 0x30]
and rax, rsi
add rax, rax
mov rcx, qword [r14 + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
mov r12, qword [r14 + 8]
cmp rbx, r12
jne 0x1400586e7
mov rbx, r12
mov rbp, r12
jmp 0x14005873e
mov r12, qword [rcx + rax*8]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140058702
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x14005870e
mov rcx, qword [rdi]
cmp rbp, rax
jne 0x14005871f
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14005872a
cmp rbx, r12
je 0x140058738
mov rbx, qword [rbx + 8]
jmp 0x1400586f0
mov qword [r13], rbx
mov byte [r13 + 8], 0
jmp 0x140058946
mov r12, rbx
mov rbp, rbx
movabs rax, 0x2e8ba2e8ba2e8ba
cmp qword [r14 + 0x10], rax
jne 0x14005875c
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, [r14 + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
mov ecx, 0x58
call fcn.1400d3ae0
mov r15, rax
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
xor ecx, ecx
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], rcx
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rax + 0x20], xmm1
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], rcx
mov byte [rdi], cl
mov rax, qword [rdi + 0x20]
mov qword [r15 + 0x30], rax
xorps xmm0, xmm0
movups xmmword [r15 + 0x38], xmm0
mov qword [r15 + 0x48], rcx
mov qword [r15 + 0x50], rcx
movups xmm0, xmmword [rdi + 0x28]
movups xmmword [r15 + 0x38], xmm0
movups xmm1, xmmword [rdi + 0x38]
movups xmmword [r15 + 0x48], xmm1
mov qword [rdi + 0x38], rcx
mov qword [rdi + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x28], cl
mov rdx, qword [r14 + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x1400587fb
cvtsi2ss xmm0, rdx
jmp 0x140058813
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [r14 + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140058826
cvtsi2ss xmm1, rcx
jmp 0x14005883b
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [r14]
jbe 0x1400588f2
mov rcx, r14
call fcn.140055b80
mov rdx, rax
mov rcx, r14
call fcn.1400558f0
mov rax, qword [r14 + 0x30]
and rax, rsi
add rax, rax
mov rcx, qword [r14 + 0x18]
mov rdi, qword [rcx + rax*8 + 8]
mov rbx, qword [r14 + 8]
cmp rdi, rbx
jne 0x14005887f
mov qword [rsp + 0x20], rbx
jmp 0x1400588e1
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x20], rax
mov r12, qword [r15 + 0x20]
nop dword [rax]
mov rbx, rdi
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400588a5
mov rdx, qword [rdx]
lea rcx, [r15 + 0x10]
cmp qword [r15 + 0x28], 0xf
jbe 0x1400588b4
mov rcx, qword [r15 + 0x10]
cmp r12, rax
jne 0x1400588c5
mov r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400588d2
cmp rdi, qword [rsp + 0x20]
je 0x1400588dc
mov rdi, qword [rdi + 8]
jmp 0x140058890
mov rbx, qword [rdi]
mov qword [rsp + 0x20], rbx
jmp 0x1400588ea
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], 0
mov rbp, rbx
mov r12, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [r14 + 0x10]
mov qword [r15], r12
mov qword [r15 + 8], rdx
mov qword [rdx], r15
mov qword [rbx + 8], r15
mov rcx, qword [r14 + 0x18]
mov rax, qword [r14 + 0x30]
and rax, rsi
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r14 + 8]
jne 0x140058926
mov qword [rcx + rax*8], r15
jmp 0x140058938
cmp r8, rbp
jne 0x140058931
mov qword [rcx + rax*8], r15
jmp 0x14005893d
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14005893d
mov qword [rcx + rax*8 + 8], r15
mov qword [r13], r15
mov byte [r13 + 8], 1
mov rax, r13
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret