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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, r8
mov r15, rdx
mov r8, qword [r8 + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18004a7bb
mov rdx, qword [rdi]
movabs rbx, 0xcbf29ce484222325
xor ebp, ebp
mov ecx, ebp
test r8, r8
je 0x18004a7f3
movabs r9, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x18004a7e0
mov r9, rbx
mov r8, rdi
lea rdx, [rsp + 0x20]
call fcn.18004bb60
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x18004a819
mov qword [r15], rax
mov byte [r15 + 8], bpl
jmp 0x18004aa7f
movabs rax, 0x492492492492492
cmp qword [0x1801d49f0], rax
jne 0x18004a83a
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, [0x1801d49e8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbp
mov ecx, 0x38
call fcn.1800cb1c4
mov r14, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rbp
mov qword [rax + 0x28], rbp
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rax + 0x20], xmm1
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov qword [rax + 0x30], rbp
mov rdx, qword [0x1801d49f0]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x18004a8a8
cvtsi2ss xmm0, rcx
jmp 0x18004a8bd
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [0x1801d4a18]
xorps xmm2, xmm2
test rdi, rdi
js 0x18004a8d3
cvtsi2ss xmm2, rdi
jmp 0x18004a8eb
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 [0x1801d49e0]
comiss xmm1, xmm3
seta al
test al, al
je 0x18004aa1b
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x1800e8168]
comiss xmm0, xmm1
jb 0x18004a936
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18004a936
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 0x18004a968
cmp rdi, 0x200
jae 0x18004a965
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x18004a968
mov rdi, rcx
mov rdx, rdi
call fcn.18004b4a0
mov rax, rbx
and rax, qword [0x1801d4a10]
add rax, rax
mov r12, qword [0x1801d49f8]
mov rdi, qword [r12 + rax*8 + 8]
mov rcx, qword [0x1801d49e8]
cmp rdi, rcx
jne 0x18004a9a1
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbp
jmp 0x18004aa09
mov r12, qword [r12 + rax*8]
mov r13, qword [r14 + 0x28]
mov rbp, qword [r14 + 0x20]
nop dword [rax]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18004a9c2
mov rdx, qword [rdx]
lea rcx, [r14 + 0x10]
cmp r13, 0xf
jbe 0x18004a9d0
mov rcx, qword [r14 + 0x10]
cmp rbp, rax
jne 0x18004a9e1
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18004a9ec
cmp rdi, r12
je 0x18004a9fb
mov rdi, qword [rdi + 8]
jmp 0x18004a9b0
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdi
jmp 0x18004aa09
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], 0
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rdx, qword [0x1801d49f0]
mov rcx, qword [rsp + 0x20]
mov r8, qword [rcx + 8]
inc rdx
mov qword [0x1801d49f0], rdx
mov qword [r14], rcx
mov qword [r14 + 8], r8
mov qword [r8], r14
mov qword [rcx + 8], r14
mov rax, qword [0x1801d49f8]
and rbx, qword [0x1801d4a10]
add rbx, rbx
mov rdx, qword [rax + rbx*8]
cmp rdx, qword [0x1801d49e8]
jne 0x18004aa60
mov qword [rax + rbx*8], r14
jmp 0x18004aa72
cmp rdx, rcx
jne 0x18004aa6b
mov qword [rax + rbx*8], r14
jmp 0x18004aa77
cmp qword [rax + rbx*8 + 8], r8
jne 0x18004aa77
mov qword [rax + rbx*8 + 8], r14
mov qword [r15], r14
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret