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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov r14, rdx
lea rbx, [rcx + 0x40]
mov qword [rbp + 0x1f8], rbx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140139a46
mov r8b, 1
mov byte [rbp + 0x1e0], r8b
mov byte [rbp + 0x1f0], al
xor esi, esi
mov qword [rsp + 0x20], rsi
mov edi, 0xf
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x20], sil
mov ecx, dword [0x14020fb90]
mov rax, qword gs:[0x58]
mov edx, 0x10
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x14020f880], eax
jg 0x140139a4e
jmp 0x140139764
mov r8b, 1
mov r15, rsi
cmp qword [r14 + 0x10], rsi
jbe 0x1401399e7
movabs rbx, 0xcbf29ce484222325
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx esi, r8b
mov rdx, r14
mov rcx, qword [r14 + 0x18]
cmp rcx, 0x10
jb 0x1401397a4
mov rdx, qword [r14]
movzx eax, byte [0x1401ba802]
cmp byte [rdx + r15], al
mov rax, r14
jne 0x140139922
test r8b, r8b
sete r8b
mov byte [rbp + 0x1e0], r8b
cmp rcx, 0x10
jb 0x1401397cf
mov rax, qword [r14]
movzx r9d, byte [rax + r15]
mov rcx, qword [rsp + 0x30]
cmp rcx, rdi
jae 0x140139801
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdi, 0x10
cmovae rax, qword [rsp + 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140139824
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x20]
call fcn.140006eb0
movzx r8d, byte [rbp + 0x1e0]
movabs r10, 0x100000001b3
test sil, sil
jne 0x14013998c
lea r8, [rsp + 0x20]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x38]
cmp r13, 0x10
cmovae r8, r12
mov rcx, rbx
xor edx, edx
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x140139874
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r10
inc rdx
cmp rdx, rsi
jb 0x140139860
and rcx, qword [0x14020f870]
add rcx, rcx
mov rax, qword [0x14020f858]
mov rdi, qword [rax + rcx*8 + 8]
cmp rdi, qword [0x14020f848]
je 0x1401398f3
mov rax, qword [rax + rcx*8]
mov qword [rbp + 0x1f0], rax
nop
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1401398b2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x20]
cmp r13, 0x10
cmovae rcx, r12
cmp rsi, rax
jne 0x1401398d0
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401398df
cmp rdi, qword [rbp + 0x1f0]
je 0x1401398f3
mov rdi, qword [rdi + 8]
jmp 0x1401398a0
test rdi, rdi
je 0x1401398f3
cmp rdi, qword [0x14020f848]
je 0x1401398f3
movzx ecx, byte [rdi + 0x30]
jmp 0x1401398f5
xor ecx, ecx
call fcn.14014bfd0
mov r9b, 1
mov byte [rbp + 0x1f0], r9b
lea rax, [rsp + 0x20]
cmp r13, 0x10
cmovae rax, r12
mov qword [rsp + 0x30], 0
mov byte [rax], 0
jmp 0x1401399af
test r8b, r8b
je 0x140139953
cmp rcx, 0x10
jb 0x140139930
mov rax, qword [r14]
movzx edx, byte [rax + r15]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004130
movzx r8d, byte [rbp + 0x1e0]
movzx r9d, byte [rbp + 0x1f0]
jmp 0x1401399bc
cmp rcx, 0x10
jb 0x14013995c
mov rax, qword [r14]
movzx r9d, byte [rax + r15]
mov rcx, qword [rsp + 0x30]
cmp rcx, rdi
jae 0x140139996
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdi, 0x10
cmovae rax, qword [rsp + 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
movzx r9d, byte [rbp + 0x1f0]
jmp 0x1401399b7
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x20]
call fcn.140006eb0
movzx r9d, byte [rbp + 0x1f0]
movzx r8d, byte [rbp + 0x1e0]
mov rdi, qword [rsp + 0x38]
inc r15
cmp r15, qword [r14 + 0x10]
movabs r10, 0x100000001b3
jb 0x140139790
test r9b, r9b
mov rbx, qword [rbp + 0x1f8]
je 0x1401399e7
xor ecx, ecx
call fcn.14014bfd0
nop
cmp rdi, 0x10
jb 0x140139a24
lea rdx, [rdi + 1]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140139a1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140139a1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
nop
mov rcx, rbx
mov rbx, qword [rsp + 0x2e8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.14016372d
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
lea rcx, [0x14020f880]
call fcn.140163d40
cmp dword [0x14020f880], 0xffffffff
jne 0x140139761
lea rdx, [0x1402027c0]
lea rcx, [rsp + 0x40]
call fcn.14000b8e0
mov byte [rsp + 0x60], 1
lea rdx, [0x1402027e0]
lea rcx, [rsp + 0x68]
call fcn.14000b8e0
mov byte [rbp - 0x78], 2
lea rdx, [0x140202800]
lea rcx, [rbp - 0x70]
call fcn.14000b8e0
mov byte [rbp - 0x50], 3
lea rdx, [0x140202820]
lea rcx, [rbp - 0x48]
call fcn.14000b8e0
mov byte [rbp - 0x28], 4
lea rdx, [0x140202840]
lea rcx, [rbp - 0x20]
call fcn.14000b8e0
mov byte [rbp], 5
lea rdx, [0x140202860]
lea rcx, [rbp + 8]
call fcn.14000b8e0
mov byte [rbp + 0x28], 6
lea rdx, [0x140202880]
lea rcx, [rbp + 0x30]
call fcn.14000b8e0
mov byte [rbp + 0x50], 7
lea rdx, [0x1402028a0]
lea rcx, [rbp + 0x58]
call fcn.14000b8e0
mov byte [rbp + 0x78], 8
lea rdx, [0x1402028c0]
lea rcx, [rbp + 0x80]
call fcn.14000b8e0
mov byte [rbp + 0xa0], 9
lea rdx, [0x1402028e0]
lea rcx, [rbp + 0xa8]
call fcn.14000b8e0
mov byte [rbp + 0xc8], 0xa
lea rdx, [0x140202900]
lea rcx, [rbp + 0xd0]
call fcn.14000b8e0
mov byte [rbp + 0xf0], listen
lea rdx, [0x140202920]
lea rcx, [rbp + 0xf8]
call fcn.14000b8e0
mov byte [rbp + 0x118], listen
lea rdx, [0x140202940]
lea rcx, [rbp + 0x120]
call fcn.14000b8e0
mov byte [rbp + 0x140], reloc.WS2_32.dll_listen
lea rdx, [0x140202960]
lea rcx, [rbp + 0x148]
call fcn.14000b8e0
mov byte [rbp + 0x168], reloc.WS2_32.dll_ntohl
lea rdx, [0x140202980]
lea rcx, [rbp + 0x170]
call fcn.14000b8e0
mov byte [rbp + 0x190], 0
xorps xmm0, xmm0
movss dword [0x14020f840], xmm0
mov qword [0x14020f848], rsi
mov qword [0x14020f850], rsi
mov ecx, 0x38
call fcn.140163924
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x14020f848], rax
mov qword [0x14020f858], rsi
xorps xmm0, xmm0
movdqa xmmword [0x14020f860], xmm0
mov qword [0x14020f870], 7
mov qword [0x14020f878], 8
movss xmm0, dword [0x1401b3140]
movss dword [0x14020f840], xmm0
mov r8, rax
mov edx, 0x10
lea rcx, [0x14020f858]
call fcn.14009c330
nop
lea r8, [rbp + 0x198]
lea rdx, [rsp + 0x40]
lea rcx, [0x14020f840]
call fcn.140139330
nop
lea r9, [fcn.1400105f0]
mov r8, rdi
mov edx, 0x28
lea rcx, [rsp + 0x40]
call fcn.140164150
lea rcx, [0x140179970]
call fcn.140163ba0
nop
lea rcx, [0x14020f880]
call fcn.140163ce0
nop
jmp 0x140139761