Function at 0x1800be2a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1802dd180]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x58], r9
xor r14d, r14d
lea r15, [0x1802e09b0]
cmp r15, r9
je 0x1800be30e
mov rdx, r9
cmp qword [r9 + 0x18], 0xf
jbe 0x1800be302
mov rdx, qword [r9]
mov r8, qword [r9 + 0x10]
mov rcx, r15
call fcn.180056630
mov qword [0x1802e06b0], rsi
mov qword [0x1802e06b8], rbx
movups xmm0, xmmword [str._BCH]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x1801acad0]
movups xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [0x1801acae0]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [0x1801acaf0]
movups xmmword [rbp - 0x10], xmm1
mov r8d, r14d
movdqa xmm6, xmmword [0x18016fe50]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp esi, 2
jl 0x1800be481
movdqa xmm4, xmmword [0x180168c90]
mov edx, r14d
movdqa xmm3, xmmword [0x1801aecf0]
movdqa xmm5, xmmword [str.1111]
movdqa xmm0, xmmword [str.5555555555555555]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x3c]
mov r8d, dword [rsp + 0x40]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x40
jl 0x1800be3a0
jmp 0x1800be4b9
lea r9, [rbp - 0x40]
nop word [rax + rax]
mov eax, 0x5397829d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x40
jl 0x1800be490
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800be4e0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.18004a030
nop
mov rdx, r15
lea rcx, [rbp - 0x80]
call fcn.180082550
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rsp + 0x70]
sub rax, rcx
mov rdx, qword [rbp - 0x70]
cmp rax, rdx
jb 0x1800beba9
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova r9, qword [rsp + 0x60]
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rax, qword [rbp - 0x80]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x60]
movzx edx, byte [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.18004aa40
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.1800f47c0
nop
movsd xmm0, qword [0x1801acb00]
movsd qword [rsp + 0x40], xmm0
mov edx, dword [0x1801acb08]
mov dword [rsp + 0x48], edx
movzx eax, word [0x1801acb0c]
mov word [rsp + 0x4c], ax
cmp byte [0x1801acb0d], 0
je 0x1800be72c
mov ecx, r14d
cmp esi, 2
jl 0x1800be6f5
movdqa xmm4, xmmword [0x1801aecf0]
movdqa xmm5, xmmword [str.1111]
movdqa xmm3, xmmword [0x180168c90]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [str.5555555555555555]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x1801acb00]
xorps xmm3, xmm0
movd dword [rsp + 0x40], xmm3
movdqa xmm2, xmmword [0x18016fd90]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x44]
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
movdqa xmm3, xmmword [0x18016fdb0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, edx
xorps xmm3, xmm1
movd dword [rsp + 0x48], xmm3
mov ecx, listen
mov eax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x1800be700
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
lea rax, [rsp + 0x40]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1800be743
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.18004a030
nop
movsd xmm0, qword [0x1801acb10]
movsd qword [rsp + 0x40], xmm0
mov ecx, dword [0x1801acb18]
mov dword [rsp + 0x48], ecx
cmp byte [0x1801acb1b], 0
je 0x1800be909
mov r8d, r14d
cmp esi, 2
jl 0x1800be8ce
movdqa xmm4, xmmword [0x1801aecf0]
movdqa xmm5, xmmword [str.1111]
movdqa xmm3, xmmword [0x180168c90]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [str.5555555555555555]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x1801acb10]
xorps xmm3, xmm0
movd dword [rsp + 0x40], xmm3
movdqa xmm2, xmmword [0x18016fd90]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x44]
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
movdqa xmm3, xmmword [0x18016fdb0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm1, ecx
xorps xmm3, xmm1
movd dword [rsp + 0x48], xmm3
jmp 0x1800be909
lea r9, [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x1800be8e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
lea rax, [rsp + 0x40]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1800be920
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.18004a030
nop
lea rdx, [rbp - 0x60]
mov r14, qword [rbp - 0x60]
mov r15, qword [rbp - 0x48]
cmp r15, 0xf
cmova rdx, r14
lea rcx, [rbp]
mov rsi, qword [rbp]
mov r13, qword [rbp + 0x18]
cmp r13, 0xf
cmova rcx, rsi
mov r8, qword [rbp + 0x10]
cmp r8, qword [rbp - 0x50]
jne 0x1800be9dd
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800be9dd
mov eax, dword [0x1801acb1c]
mov dword [rsp + 0x40], eax
movzx ecx, word [0x1801acb20]
mov word [rsp + 0x44], cx
movzx eax, byte [0x1801acb22]
mov byte [rsp + 0x40], 0x54
xor byte [rsp + 0x41], 0x36
xor byte [rsp + 0x42], 0x37
xor byte [rsp + 0x43], 0x38
xor cl, 0x39
mov byte [rsp + 0x44], cl
xor byte [rsp + 0x45], 0x3a
xor al, 0x3b
mov byte [rsp + 0x46], al
lea rax, [rsp + 0x40]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800be9c0
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [0x1802e09d0]
call fcn.180056630
mov rcx, r12
call fcn.1800bec60
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1800bea25
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bea1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800bea1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157870
nop
cmp r15, 0xf
jbe 0x1800bea60
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1800bea57
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800bea57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.180157870
nop
cmp r13, 0xf
jbe 0x1800bea9b
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1800bea92
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800bea92
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.180157870
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1800bead9
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bead4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800bead4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157870
xor ebx, ebx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], bl
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1800beb2b
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800beb25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800beb25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157870
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1800beb61
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1800beb5c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800beba2
mov rcx, r8
call fcn.180157870
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.180157e20
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180056560
nop
int3