Function at 0x1401085e0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x48], xmm6
mov rsi, r8
mov r14, rdx
mov r12, rcx
xor r15d, r15d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
lea rax, [rbp + 0x20]
mov qword [rbp + 0xd8], rax
mov rdx, r8
lea rcx, [rbp + 0x20]
call fcn.140089b60
mov rbx, rax
mov rdx, r14
lea rcx, [rbp + 0x40]
call fcn.140089b60
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1401036c0
mov rdi, rax
lea rax, [rsp + 0x40]
cmp rax, rdi
je 0x140108771
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14010874c
mov rsi, qword [rsp + 0x48]
cmp rbx, rsi
je 0x1401086fe
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x1401086e0
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1401086db
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401087c3
mov rcx, r8
call fcn.1402c1be4
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
add rbx, 0x20
cmp rbx, rsi
jne 0x1401086a1
mov rbx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14010872f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401087c3
mov rcx, rbx
call fcn.1402c1be4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov rsi, qword [rbp + 0xd0]
mov rax, qword [rdi]
mov qword [rsp + 0x40], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x50], rax
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x58], eax
add rdi, 0x20
lea rax, [rsp + 0x60]
cmp rax, rdi
je 0x140108804
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x1401087cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401087ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401087ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402c1be4
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
lea rcx, [rbp - 0x40]
call fcn.140095940
lea rcx, [rbp - 0x60]
call fcn.140100c80
cmp dword [rsp + 0x58], 0
je 0x140108bd4
movups xmm0, xmmword [0x140328978]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [0x140328988]
movups xmmword [rbp + 0x50], xmm1
mov eax, dword [0x140328998]
mov dword [rbp + 0x60], eax
movzx eax, word [0x14032899c]
mov word [rbp + 0x64], ax
movzx eax, byte [0x14032899e]
mov byte [rbp + 0x66], al
mov ecx, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1401089a2
movdqa xmm5, xmmword [0x1402d9220]
movdqa xmm4, xmmword [0x140328a10]
movdqa xmm6, xmmword [str.4444]
movdqa xmm0, xmmword [str.3333333333333333R]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rbp + 0x44]
mov r8d, dword [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
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 [0x140327dc0]
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 [0x140327dc0]
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 0x1401088a0
cmp ecx, 0x27
jge 0x1401089dc
movsxd rax, ecx
lea r8, [rbp + 0x40]
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 0x1401089b0
lea rdx, [rbp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140072630
lea rdx, [0x140081270]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rsp + 0x60]
mov r8, qword [rsp + 0x70]
cmp qword [rsp + 0x78], 7
jbe 0x140108a1a
mov rdx, qword [rsp + 0x60]
call fcn.1400ff790
lea rdx, [0x140081270]
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 eax, dword [0x1403289a0]
mov dword [rbp + 0xd8], eax
movzx eax, word [0x1403289a4]
mov word [rbp + 0xdc], ax
mov byte [rbp + 0xd8], 0x45
xor byte [rbp + 0xd9], 0x34
xor byte [rbp + 0xda], 0x35
xor byte [rbp + 0xdb], 0x36
xor byte [rbp + 0xdc], 0x37
xor byte [rbp + 0xdd], 0x38
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], r15
mov qword [r12 + 0x18], r15
lea rax, [rbp + 0xd8]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140108a93
lea rdx, [rbp + 0xd8]
mov rcx, r12
call fcn.1400658e0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140108aef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140108aea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140108ba6
call fcn.1402c1be4
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140108bc3
mov rdi, qword [rsp + 0x48]
cmp rbx, rdi
je 0x140108b79
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140108b5b
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140108b56
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140108ba6
mov rcx, r8
call fcn.1402c1be4
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
add rbx, 0x20
cmp rbx, rdi
jne 0x140108b20
mov rbx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140108bad
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140108bad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1402c1be4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov rcx, r14
call fcn.140095940
nop
mov rcx, rsi
jmp 0x140108f97
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov r14, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0xd8], rax
cmp r14, rax
je 0x140108ee4
movzx ebx, byte [rbp + 0xd8]
lea rdi, vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
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 - 0x60], rax
mov cl, 1
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], 0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
mov word [rbp + 8], 0
mov byte [rbp + 0xa], 0
mov ecx, 0x40
call fcn.1402c215c
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140108c86
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]
mov qword [rsi], rdi
jmp 0x140108c89
mov rsi, r15
mov qword [rbp], r15
mov qword [rbp - 0x58], rsi
mov rcx, qword [rbp - 0x48]
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 rdi, rax
test rsi, rsi
je 0x140108cd4
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, rsi
mov rcx, rdi
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 [rdi + 0x20], r15d
lea rcx, [rdi + 0x28]
lea rdx, [0x140327f48]
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 - 0x48]
cmp rcx, rdi
je 0x140108d06
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x140108cf9
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov qword [rbp - 0x48], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
test rdi, rdi
je 0x140108d2a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x140108d2a
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov qword [rbp + 0x10], r15
mov r8, r14
cmp qword [r14 + 0x18], 7
jbe 0x140108d3b
mov r8, qword [r14]
mov rax, qword [r14 + 0x10]
lea r9, [r8 + rax*2]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x60]
call fcn.140108fd0
nop
lea r9, [rbp + 0x20]
mov rsi, qword [rbp + 0x20]
mov r13, qword [rbp + 0x38]
cmp r13, 0xf
cmova r9, rsi
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
mov rax, rdx
sub rax, rcx
mov r15, qword [rbp + 0x30]
cmp r15, rax
ja 0x140108da9
lea rax, [r15 + rcx]
mov qword [rbp - 0x70], rax
lea rdi, [rbp - 0x80]
cmp rdx, 0xf
cmova rdi, qword [rbp - 0x80]
add rdi, rcx
mov r8, r15
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + rdi], 0
jmp 0x140108dc6
mov qword [rsp + 0x20], r15
movzx r8d, bl
mov rdx, r15
lea rcx, [rbp - 0x80]
call fcn.14007a470
mov r13, qword [rbp + 0x38]
mov rsi, qword [rbp + 0x20]
cmp r13, 0xf
jbe 0x140108dfe
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140108df5
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140108fc2
mov rcx, rsi
call fcn.1402c1be4
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 - 0x60], rax
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x140108e49
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140108e44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140108fc9
call fcn.1402c1be4
xor r15d, r15d
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140108e98
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140108e93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140108fc9
call fcn.1402c1be4
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x40], r15b
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140108ecd
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x140108ecd
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
add r14, 0x20
cmp r14, qword [rbp + 0xd8]
jne 0x140108c0c
cmp qword [rbp - 0x70], r15
jne 0x140108f4b
movsd xmm0, qword [str.w_FWUT_]
movsd qword [rsp + 0x30], xmm0
movzx eax, byte [0x1403289b0]
mov byte [rsp + 0x30], 0x44
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor byte [rsp + 0x34], 0x37
xor byte [rsp + 0x35], 0x38
xor byte [rsp + 0x36], 0x39
xor byte [rsp + 0x37], 0x3a
xor al, 0x3b
mov byte [rsp + 0x38], al
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140108f33
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.1400977d0
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [r12 + 0x10], xmm1
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
lea rcx, [rsp + 0x60]
call fcn.140095940
lea rcx, [rsp + 0x40]
call fcn.140100c80
nop
mov rcx, qword [rbp + 0xc8]
call fcn.140095940
nop
mov rcx, qword [rbp + 0xd0]
call fcn.140095940
mov rax, r12
mov rbx, qword [rsp + 0x1c0]
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
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