Function at 0x14011d1c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x118
movaps xmmword [rax - 0x58], xmm6
mov r14, rdx
mov rsi, rcx
mov dword [rbp + 0x70], 1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x38], ebx
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], bx
lea rcx, [rsp + 0x60]
call fcn.14009edd0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1401172a0
mov rdi, rax
lea rax, [rsp + 0x20]
cmp rax, rdi
je 0x14011d330
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x14011d30b
mov r14, qword [rsp + 0x28]
cmp rbx, r14
je 0x14011d2be
xor eax, eax
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x14011d2a1
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14011d29a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14011d382
mov rcx, r8
call fcn.140268570
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
add rbx, 0x20
cmp rbx, r14
jne 0x14011d260
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14011d2ef
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d382
mov rcx, rbx
call fcn.140268570
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov r14, qword [rbp + 0x68]
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x30], rax
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x38], eax
add rdi, 0x20
lea rax, [rsp + 0x40]
cmp rax, rdi
je 0x14011d3c1
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14011d38e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011d389
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14011d389
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140268570
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], bx
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 7
mov word [rdi], bx
lea rcx, [rbp - 0x60]
call fcn.1400aacb0
lea rcx, [rbp - 0x80]
call fcn.140116c40
cmp dword [rsp + 0x38], 0
je 0x14011d7f0
movups xmm0, xmmword [0x1402cc6f8]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x1402cc708]
movups xmmword [rbp - 0x70], xmm1
mov eax, dword [0x1402cc718]
mov dword [rbp - 0x60], eax
movzx eax, word [0x1402cc71c]
mov word [rbp - 0x5c], ax
movzx eax, byte [0x1402cc71e]
mov byte [rbp - 0x5a], al
mov ecx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14011d552
movdqa xmm5, xmmword [0x14027d080]
movdqa xmm4, xmmword [0x1402cc880]
movdqa xmm6, xmmword [str.4444]
movdqa xmm0, xmmword [0x1402cc870]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rbp - 0x7c]
mov r8d, dword [rsp + 0x60]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402cbc10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
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, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1402cbc10]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x14011d450
cmp ecx, 0x27
jge 0x14011d58c
movsxd rax, ecx
lea r8, [rbp - 0x80]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x27
jl 0x14011d560
lea rdx, [rbp - 0x80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140087b00
lea rdx, [0x140096500]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140115750
lea rdx, [0x140096500]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov dword [rbp + 0x70], 1
mov eax, dword [0x1402cc720]
mov dword [rbp + 0x78], eax
movzx eax, word [0x1402cc724]
mov word [rbp + 0x7c], ax
mov byte [rbp + 0x78], 0x45
xor byte [rbp + 0x79], 0x34
xor byte [rbp + 0x7a], 0x35
xor byte [rbp + 0x7b], 0x36
xor al, 0x37
mov byte [rbp + 0x7c], al
xor byte [rbp + 0x7d], 0x38
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp + 0x78]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14011d640
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.14007adb0
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14011d686
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov r15d, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
add qword [rsi + 8], 0x20
jmp 0x14011d698
lea r8, [rsp + 0x60]
mov rcx, rsi
call fcn.140115360
mov r15, qword [rsp + 0x78]
cmp r15, 0xf
jbe 0x14011d6d5
lea rdx, [r15 + 1]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011d6cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14011d6cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140268570
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14011d717
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011d712
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011d7cb
call fcn.140268570
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], bx
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x14011d7e8
mov rdi, qword [rsp + 0x28]
xor r15d, r15d
cmp rbx, rdi
je 0x14011d79e
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x14011d780
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14011d77b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14011d7cb
mov rcx, r8
call fcn.140268570
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
add rbx, 0x20
cmp rbx, rdi
jne 0x14011d745
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14011d7d2
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14011d7d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140268570
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r15
mov rcx, r14
jmp 0x14011dac3
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov r12d, 3
mov dword [rbp + 0x70], r12d
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
cmp r14, r13
je 0x14011daaa
lea r15d, [r12 + 0xc]
lea rax, vtable.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
mov qword [rbp - 0x80], rax
mov cl, 1
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], r15
mov byte [rbp - 0x60], 0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], bx
mov word [rbp - 0x18], 0
mov byte [rbp - 0x16], 0
mov ecx, 0x40
call fcn.140268aec
mov rdi, rax
mov qword [rbp + 0x78], rax
test rax, rax
je 0x14011d891
xor edx, edx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::constructor_unsigned_long_long_unsigned___int64_____ptr64]
lea rax, vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
mov qword [rdi], rax
jmp 0x14011d894
mov rdi, rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x78], rdi
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Locimp::_New_Locimp_class_std::locale::_Locimp_const____ptr64_]
mov rbx, rax
test rdi, rdi
je 0x14011d8e2
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::locale::id_std::codecvt_wchar_t__char__struct__Mbstatet_::id]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::locale::id::operator_unsigned_long_long_unsigned___int64__void____ptr64]
mov r8, rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_private:_static_void___cdecl_std::locale::_Locimp::_Locimp_Addfac_class_std::locale::_Locimp____ptr64__class_std::locale::facet____ptr64__unsigned_long_long_unsigned___int64__]
mov dword [rbx + 0x20], 0
lea rcx, [rbx + 0x28]
lea rdx, [0x1402cbd98]
call qword [sym.imp.MSVCP140.dll_public:_class_std::_Yarn_char_____ptr64___cdecl_std::_Yarn_char_::operator_char_const____ptr64____ptr64]
mov rcx, qword [rbp - 0x68]
cmp rcx, rbx
je 0x14011d914
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14011d907
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov qword [rbp - 0x68], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
test rbx, rbx
je 0x14011d938
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14011d938
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
xor ebx, ebx
mov qword [rbp - 0x10], rbx
mov r8, r14
cmp qword [r14 + 0x18], 7
jbe 0x14011d94b
mov r8, qword [r14]
mov rax, qword [r14 + 0x10]
lea r9, [r8 + rax*2]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.14011ef90
or r12d, 4
mov dword [rbp + 0x70], r12d
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x14011d987
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14009e940
add qword [rsi + 8], 0x20
jmp 0x14011d998
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rsi
call fcn.1401151d0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14011d9d6
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011d9d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011dae7
call fcn.140268570
nop
lea rax, vtable.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
mov qword [rbp - 0x80], rax
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x14011da21
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011da1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011daee
call fcn.140268570
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], bx
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14011da6c
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011da67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011daee
call fcn.140268570
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], r15
mov byte [rbp - 0x60], 0
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14011da9d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14011da9d
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
add r14, 0x20
cmp r14, r13
jne 0x14011d81d
lea rcx, [rsp + 0x40]
call fcn.1400aacb0
lea rcx, [rsp + 0x20]
call fcn.140116c40
nop
mov rcx, qword [rbp + 0x68]
call fcn.1400aacb0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3