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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov qword [rsp + 0x20], r9
mov r14, r8
mov qword [rsp + 0x30], rdx
mov r13, rcx
mov rbx, qword [r8 + 0x10]
mov rdx, r8
mov r15, qword [r8 + 0x18]
cmp r15, 0xf
jbe 0x140018975
mov rdx, qword [r8]
movabs rsi, 0xcbf29ce484222325
xor ecx, ecx
test rbx, rbx
je 0x1400189a3
movabs r8, 0x100000001b3
movzx eax, byte [rdx + rcx]
xor rsi, rax
imul rsi, r8
inc rcx
cmp rcx, rbx
jb 0x140018990
mov rax, qword [r13 + 0x30]
and rax, rsi
add rax, rax
mov rbp, qword [r13 + 0x18]
mov rdi, qword [rbp + rax*8 + 8]
mov r12, qword [r13 + 8]
cmp rdi, r12
jne 0x1400189c7
mov rdi, r12
mov rbp, r12
jmp 0x140018a21
mov rbp, qword [rbp + rax*8]
nop dword [rax]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400189e2
mov rdx, qword [rdx]
mov rcx, r14
cmp r15, 0xf
jbe 0x1400189ee
mov rcx, qword [r14]
cmp rbx, rax
jne 0x1400189ff
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140018a0a
cmp rdi, rbp
je 0x140018a1b
mov rdi, qword [rdi + 8]
jmp 0x1400189d0
mov rax, qword [rsp + 0x30]
mov qword [rax], rdi
mov byte [rax + 8], 0
jmp 0x140018c67
mov r12, rdi
mov rbp, rdi
movabs rax, 0x333333333333333
cmp qword [r13 + 0x10], rax
jne 0x140018a3f
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, [r13 + 8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
mov ecx, 0x50
call fcn.140027d20
mov r15, rax
mov qword [rsp + 0x40], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.1400153f0
xorps xmm0, xmm0
movups xmmword [r15 + 0x30], xmm0
xor ecx, ecx
mov qword [r15 + 0x40], rcx
mov qword [r15 + 0x48], rcx
mov rax, qword [rsp + 0x20]
movups xmm0, xmmword [rax]
movups xmmword [r15 + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15 + 0x40], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], cl
mov rcx, qword [r13 + 0x10]
movss xmm3, dword [r13]
add rcx, 1
xorps xmm0, xmm0
js 0x140018abf
cvtsi2ss xmm0, rcx
jmp 0x140018ad4
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rbx, qword [r13 + 0x38]
xorps xmm2, xmm2
test rbx, rbx
js 0x140018ae7
cvtsi2ss xmm2, rbx
jmp 0x140018aff
mov rcx, rbx
shr rcx, 1
mov rax, rbx
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, xmm3
jbe 0x140018c10
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x14002e940]
comiss xmm0, xmm1
jb 0x140018b3d
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140018b3d
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x140018b6f
cmp rbx, 0x200
jae 0x140018b6c
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x140018b6f
mov rbx, rcx
mov rdx, rbx
mov rcx, r13
call fcn.140016440
mov rax, qword [r13 + 0x30]
and rax, rsi
add rax, rax
mov r12, qword [r13 + 0x18]
mov rbx, qword [r12 + rax*8 + 8]
mov rdi, qword [r13 + 8]
cmp rbx, rdi
jne 0x140018b9d
mov qword [rsp + 0x20], rdi
jmp 0x140018bff
mov r12, qword [r12 + rax*8]
mov rbp, qword [r15 + 0x20]
nop word [rax + rax]
mov rdi, rbx
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140018bc5
mov rdx, qword [rdx]
lea rcx, [r15 + 0x10]
cmp qword [r15 + 0x28], 0xf
jbe 0x140018bd4
mov rcx, qword [r15 + 0x10]
cmp rbp, rax
jne 0x140018be5
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140018bf0
cmp rbx, r12
je 0x140018bfa
mov rbx, qword [rbx + 8]
jmp 0x140018bb0
mov rdi, qword [rbx]
mov qword [rsp + 0x20], rdi
jmp 0x140018c08
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], 0
mov rbp, rdi
mov r12, qword [rsp + 0x20]
mov rdx, qword [rdi + 8]
inc qword [r13 + 0x10]
mov qword [r15], r12
mov qword [r15 + 8], rdx
mov qword [rdx], r15
mov qword [rdi + 8], r15
mov rcx, qword [r13 + 0x18]
mov rax, qword [r13 + 0x30]
and rax, rsi
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r13 + 8]
jne 0x140018c44
mov qword [rcx + rax*8], r15
jmp 0x140018c56
cmp r8, rbp
jne 0x140018c4f
mov qword [rcx + rax*8], r15
jmp 0x140018c5b
cmp qword [rcx + rax*8 + 8], rdx
jne 0x140018c5b
mov qword [rcx + rax*8 + 8], r15
mov rax, qword [rsp + 0x30]
mov qword [rax], r15
mov byte [rax + 8], 1
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret