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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov r15, r8
jb 0x14001d547
mov r15, qword [r14]
test rbx, rbx
je 0x14001d56f
mov eax, ebx
and eax, 3
movabs rcx, 0x100000001b3
cmp rbx, 4
jae 0x14001d57b
movabs r8, 0xcbf29ce484222325
xor edx, edx
jmp 0x14001d5cc
movabs r12, 0xcbf29ce484222325
jmp 0x14001d5f7
mov r9, rbx
and r9, 0xfffffffffffffffc
movabs r8, 0xcbf29ce484222325
xor edx, edx
nop
movzx r10d, byte [r15 + rdx]
xor r10, r8
imul r10, rcx
movzx r8d, byte [r15 + rdx + 1]
xor r8, r10
imul r8, rcx
movzx r10d, byte [r15 + rdx + 2]
xor r10, r8
imul r10, rcx
movzx r8d, byte [r15 + rdx + 3]
xor r8, r10
imul r8, rcx
add rdx, 4
cmp r9, rdx
jne 0x14001d590
mov r12, r8
test rax, rax
je 0x14001d5f7
add rdx, r15
xor r9d, r9d
nop word [rax + rax]
movzx r12d, byte [rdx + r9]
xor r12, r8
imul r12, rcx
inc r9
mov r8, r12
cmp rax, r9
jne 0x14001d5e0
mov rax, qword [rdi + 0x30]
and rax, r12
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov r13, qword [rcx + rdx + 8]
cmp r13, qword [rdi + 8]
je 0x14001d66f
mov qword [rbp - 8], rsi
add rax, rax
mov rsi, qword [rcx + rax*8]
cmp rbx, qword [r13 + 0x20]
jne 0x14001d657
nop word cs:[rax + rax]
cmp qword [r13 + 0x28], 0x10
jb 0x14001d640
mov rdx, qword [r13 + 0x10]
jmp 0x14001d644
lea rdx, [r13 + 0x10]
mov rcx, r15
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001d7c7
cmp r13, rsi
je 0x14001d668
mov r13, qword [r13 + 8]
cmp rbx, qword [r13 + 0x20]
je 0x14001d630
jmp 0x14001d657
mov r13, rsi
mov rsi, qword [rbp - 8]
movabs rax, 0x492492492492492
cmp qword [rdi + 0x10], rax
je 0x14001d8f5
lea rax, [rdi + 8]
mov qword [rbp - 0x18], rax
mov ecx, gethostname
call fcn.140127dec
mov rbx, rax
mov qword [rbp - 0x10], rax
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x10], xmm0
mov qword [r14 + 0x10], 0
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov rax, qword [r14 + 0x20]
mov qword [rbx + 0x30], rax
mov rax, qword [rdi + 0x10]
inc rax
js 0x14001d6dc
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
jmp 0x14001d6f4
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm1, dword [rdi]
mov r14, qword [rdi + 0x38]
test r14, r14
js 0x14001d708
cvtsi2ss xmm2, r14
jmp 0x14001d720
mov rax, r14
shr rax, 1
mov ecx, r14d
and ecx, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
jbe 0x14001d831
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x1401661c0]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rdx, 9
mov eax, 8
cmovae rax, rdx
cmp r14, rax
jae 0x14001d787
lea rcx, [r14*8]
cmp rcx, rax
cmovb rcx, rax
cmp r14, 0x200
cmovae rcx, rax
mov r14, rcx
mov rcx, rdi
mov rdx, r14
call fcn.14000a060
mov rax, qword [rdi + 0x30]
and rax, r12
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov r13, qword [rcx + rdx + 8]
cmp r13, qword [rdi + 8]
je 0x14001d831
add rax, rax
cmp qword [rbx + 0x28], 0x10
mov qword [rbp - 8], rsi
jb 0x14001d7d7
mov r14, qword [rbx + 0x10]
jmp 0x14001d7de
mov rsi, qword [rbp - 8]
mov qword [rsi], r13
mov byte [rsi + 8], 0
jmp 0x14001d8e1
mov r14, rbx
add r14, 0x10
mov rsi, qword [rcx + rax*8]
mov r15, qword [rbx + 0x20]
cmp r15, qword [r13 + 0x20]
jne 0x14001d813
nop dword [rax]
cmp qword [r13 + 0x28], 0x10
jb 0x14001d800
mov rdx, qword [r13 + 0x10]
jmp 0x14001d804
lea rdx, [r13 + 0x10]
mov rcx, r14
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001d829
cmp r13, rsi
je 0x14001d824
mov r13, qword [r13 + 8]
cmp r15, qword [r13 + 0x20]
je 0x14001d7f0
jmp 0x14001d813
mov r13, rsi
jmp 0x14001d82d
mov r13, qword [r13]
mov rsi, qword [rbp - 8]
mov qword [rbp - 0x10], 0
mov rax, qword [r13 + 8]
inc qword [rdi + 0x10]
mov qword [rbx], r13
mov qword [rbx + 8], rax
mov qword [rax], rbx
mov qword [r13 + 8], rbx
mov r8, qword [rdi + 0x18]
and r12, qword [rdi + 0x30]
shl r12, 4
lea rcx, [r8 + r12]
lea rdx, [r8 + r12]
add rdx, 8
mov r8, qword [r8 + r12]
cmp r8, qword [rdi + 8]
je 0x14001d880
cmp r8, r13
je 0x14001d886
mov rcx, rdx
cmp qword [rdx], rax
jne 0x14001d889
jmp 0x14001d886
mov qword [rcx], rbx
mov rcx, rdx
mov qword [rcx], rbx
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rdi, qword [rbp - 0x10]
test rdi, rdi
je 0x14001d8e1
mov rax, qword [rdi + 0x28]
cmp rax, 0x10
jb 0x14001d8d4
mov rcx, qword [rdi + 0x10]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14001d8cf
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14001d901
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140127e30
mov edx, gethostname
mov rcx, rdi
call fcn.140127e30
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3