Function at 0x1400e2cb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov r14, r8
mov rdi, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov rcx, qword [rdx + 0x10]
mov rax, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x1400e2cf8
mov rax, qword [rdx]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140109f00
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x80]
call fcn.14025c190
mov r8d, eax
test eax, eax
jne 0x1400e2d98
mov edx, dword [rbp - 0x70]
test dl, 1
mov ecx, 0x1ff
mov eax, 0x16d
cmovne ecx, eax
mov dword [rsp + 0x34], ecx
mov ecx, edx
shr ecx, 0xa
test cl, 1
je 0x1400e2d8d
mov eax, dword [rbp - 0x6c]
cmp eax, 0xa000000c
jne 0x1400e2d7f
mov edx, 4
jmp 0x1400e2dbc
cmp eax, 0xa0000003
jne 0x1400e2d8d
mov edx, 0xa
jmp 0x1400e2dbc
shr edx, 4
and edx, 1
or edx, 2
jmp 0x1400e2dbc
mov dword [rsp + 0x34], 0xffff
sub eax, 2
je 0x1400e2db7
sub eax, 1
je 0x1400e2db7
sub eax, 0x32
je 0x1400e2db7
cmp eax, 0x46
mov edx, r15d
jne 0x1400e2dbc
mov edx, 1
mov dword [rsp + 0x30], r8d
lea rax, [0x140417fb8]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
test edx, edx
je 0x1400e2ff2
cmp edx, 1
sete sil
lea rcx, [rsp + 0x60]
call fcn.140045490
test sil, sil
je 0x1400e3003
movsd xmm0, qword [str.u_YS]
movsd qword [rsp + 0x30], xmm0
mov edx, dword [0x1402779f8]
mov dword [rsp + 0x38], edx
movzx eax, word [0x1402779fc]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x1402779fe]
mov byte [rsp + 0x3e], al
mov ecx, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400e2f83
movdqa xmm5, xmmword [0x140279990]
movdqa xmm2, xmmword [0x140273ff0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140279750]
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x1402797b0]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, dword [str.u_YS]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x140279730]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140279750]
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
movdqa xmm3, xmmword [0x140279740]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140279750]
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [str.3333333333333333]
movd xmm0, edx
xorps xmm3, xmm0
movd dword [rsp + 0x38], xmm3
mov ecx, listen
mov eax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
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, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x1400e2f90
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400e2fd6
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140047180
jmp 0x1400e30fc
mov sil, 1
test r8d, r8d
jne 0x1400e316d
jmp 0x1400e2de7
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.1401132e0
nop
mov qword [rbp - 0x28], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x50]
call fcn.140110e20
nop
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.140046b10
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140116f70
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rsp + 0x40], reloc.WS2_32.dll_select
cmp byte [rax], 3
jne 0x1400e3120
mov rdx, qword [rax + 8]
cmp rbx, rdx
je 0x1400e30a5
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400e309c
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.1400959d0
nop
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.1401269d0
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x10]
call fcn.1401152a0
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x90]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, rdi
call fcn.1400438e0
nop
mov rcx, r14
call fcn.1400438e0
mov rax, rbx
add rsp, 0x1f8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, rsi
call fcn.140139110
mov qword [rbp + 0x148], rax
lea r8, [rbp + 0x148]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rsp + 0x60]
call fcn.14010d7d0
nop
mov r9, rsi
mov r8, rax
mov edx, 0x12e
lea rcx, [rbp - 0x60]
call fcn.14010e400
lea rdx, [0x1402cc3d8]
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x30]
lea rcx, [0x140276a30]
call fcn.14011dda0
int3