Function at 0x1401068a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
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 - 0x138]
sub rsp, 0x1f8
movaps xmmword [rax - 0x58], xmm6
mov r14, r8
mov r12, rdx
mov rsi, rcx
xor edi, edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x78], edi
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
lea rax, [rbp - 0x40]
mov qword [rbp + 0x158], rax
mov rdx, r8
lea rcx, [rbp - 0x40]
call fcn.14009e200
mov rbx, rax
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.14009e200
nop
xor r9d, r9d
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140104260
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400fef80
lea rcx, [rbp + 0xa8]
call fcn.1400aa310
lea rcx, [rbp + 0x88]
call fcn.1400ff800
cmp dword [rsp + 0x78], edi
je 0x140106d0d
movups xmm0, xmmword [0x1402afc88]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x1402afc98]
movups xmmword [rbp - 0x30], xmm1
mov eax, dword [0x1402afca8]
mov dword [rbp - 0x20], eax
movzx eax, word [0x1402afcac]
mov word [rbp - 0x1c], ax
movzx eax, byte [0x1402afcae]
mov byte [rbp - 0x1a], al
mov ecx, edi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140106aea
movdqa xmm5, xmmword [0x1402650d0]
movdqa xmm4, xmmword [0x1402afce0]
movdqa xmm6, xmmword [str.8888]
movdqa xmm0, xmmword [0x1402af1f0]
movdqa xmmword [rbp + 0xd0], xmm0
lea rdx, [rbp - 0x3c]
mov r8d, dword [rbp + 0xd0]
nop
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1402af080]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1402af080]
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 0x1401069e0
cmp ecx, 0x27
jge 0x140106b2e
movsxd rax, ecx
lea r8, [rbp - 0x40]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x27
jl 0x140106b00
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.140086c30
lea rdx, [0x140095930]
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, [rbp - 0x80]
mov r8, qword [rbp - 0x70]
cmp qword [rbp - 0x68], 7
jbe 0x140106b68
mov rdx, qword [rbp - 0x80]
call fcn.1400fe310
lea rdx, [0x140095930]
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 [str.vFGYE8]
mov dword [rbp + 0x158], eax
movzx eax, word [0x1402afcb4]
mov word [rbp + 0x15c], ax
mov byte [rbp + 0x158], 0x45
xor byte [rbp + 0x159], 0x34
xor byte [rbp + 0x15a], 0x35
xor byte [rbp + 0x15b], 0x36
xor byte [rbp + 0x15c], 0x37
xor byte [rbp + 0x15d], 0x38
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
lea rax, [rbp + 0x158]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140106be0
lea rdx, [rbp + 0x158]
mov rcx, rsi
call fcn.14007ad70
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140106c3a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140106c35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140106ceb
call fcn.1402502b0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14010730c
mov rdi, qword [rsp + 0x68]
xor r15d, r15d
cmp rbx, rdi
je 0x140106cbe
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140106ca0
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140106c9b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140106ceb
mov rcx, r8
call fcn.1402502b0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
add rbx, 0x20
cmp rbx, rdi
jne 0x140106c65
mov rbx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140106cf2
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140106cf2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1402502b0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
jmp 0x14010730c
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
movzx eax, word [0x1402afcb8]
mov word [rbp + 0x158], ax
cmp byte [0x1402afcb9], 0
je 0x140106d4d
mov byte [rbp + 0x158], 0xa
xor byte [rbp + 0x159], 0x34
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
lea rax, [rbp + 0x158]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140106d70
lea rdx, [rbp + 0x158]
lea rcx, [rbp - 0x60]
call fcn.14007ad70
nop
mov r15, qword [rsp + 0x60]
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x10], rax
mov r13, qword [rbp - 0x60]
cmp r15, rax
je 0x14010722e
movzx ebx, byte [rbp + 0x158]
lea r14, vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
lea rcx, 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], rcx
mov cl, 1
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_
mov qword [rbp + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x20], 0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], di
mov word [rbp + 0x68], 0
mov byte [rbp + 0x6a], 0
mov ecx, 0x40
call fcn.14025082c
mov rsi, rax
mov qword [rbp + 0xd0], rax
test rax, rax
je 0x140106e28
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], r14
jmp 0x140106e2b
mov rsi, rdi
mov qword [rbp + 0x60], rdi
mov qword [rbp + 8], rsi
mov rcx, qword [rbp + 0x18]
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 0x140106e77
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__]
xor esi, esi
mov dword [rdi + 0x20], esi
lea rcx, [rdi + 0x28]
lea rdx, [0x1402af218]
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 + 0x18]
cmp rcx, rdi
je 0x140106ea9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x140106e9c
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov qword [rbp + 0x18], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
test rdi, rdi
je 0x140106ecd
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x140106ecd
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov qword [rbp + 0x70], rsi
mov r8, r15
cmp qword [r15 + 0x18], 7
jbe 0x140106ede
mov r8, qword [r15]
mov rax, qword [r15 + 0x10]
lea r9, [r8 + rax*2]
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.140107d50
nop
movabs r8, 0x7fffffffffffffff
mov rax, r8
mov r14, qword [rbp - 0x30]
sub rax, r14
mov rdx, qword [rbp - 0x50]
cmp rax, rdx
jb 0x14010733c
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
seta byte [rbp + 0x158]
mov r12, qword [rbp - 0x40]
cmova rax, r12
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rcx, r13
mov qword [rsp + 0x50], rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], rsi
lea r13, [rdx + r14]
mov edi, reloc.WS2_32.dll_ntohs
lea rsi, [rbp + 0x88]
cmp r13, rdi
jbe 0x140106ff9
mov rdi, r13
or rdi, 0xf
cmp rdi, r8
jbe 0x140106f93
mov rdi, r8
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x140106fba
cmp rdi, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140106fdd
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140107342
mov rcx, rax
call fcn.14025082c
test rax, rax
je 0x140107288
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rax, qword [rbp - 0x18]
jmp 0x140106ff2
test rcx, rcx
je 0x140106ff0
call fcn.14025082c
mov rsi, rax
mov rax, qword [rbp - 0x18]
jmp 0x140106ff2
xor esi, esi
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa0], rdi
mov r8, r14
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r14 + rsi]
mov r8, qword [rbp - 0x50]
mov rdx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r13], 0
lea r9, [rbp + 0x88]
mov rsi, qword [rbp + 0x88]
mov r13, qword [rbp + 0xa0]
cmp r13, 0xf
cmova r9, rsi
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x50], rcx
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
mov r14, qword [rbp + 0x98]
cmp r14, rax
ja 0x14010709f
lea rax, [r14 + rcx]
mov qword [rsp + 0x40], rax
lea rdi, [rsp + 0x30]
cmp rdx, 0xf
cmova rdi, qword [rsp + 0x30]
add rcx, rdi
mov r8, r14
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rdi]
mov rcx, qword [rsp + 0x50]
mov byte [rax + rcx], 0
jmp 0x1401070c3
mov qword [rsp + 0x20], r14
movzx r8d, bl
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.14008ebc0
mov r13, qword [rbp + 0xa0]
mov rsi, qword [rbp + 0x88]
cmp r13, 0xf
jbe 0x1401070fb
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1401070f2
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140107288
mov rcx, rsi
call fcn.1402502b0
nop
cmp byte [rbp + 0x158], 0
je 0x14010713a
mov rdx, qword [rbp - 0x28]
inc rdx
mov rax, r12
cmp rdx, 0x1000
jb 0x140107131
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14010728f
mov rcx, r12
call fcn.1402502b0
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], rax
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x140107185
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140107180
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140107296
call fcn.1402502b0
xor edi, edi
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], di
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x1401071d2
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401071cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140107296
call fcn.1402502b0
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x20], dil
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140107207
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x140107207
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
add r15, 0x20
mov r13, qword [rbp - 0x60]
cmp r15, qword [rbp - 0x10]
jne 0x140106dad
mov rsi, qword [rbp + 0x140]
mov r14, qword [rbp + 0x150]
mov r12, qword [rbp + 0x148]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x40], rdi
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rdx
mov byte [rsp + 0x30], 0
mov rax, qword [rbp - 0x48]
cmp rax, rdx
jbe 0x1401072aa
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x14010729d
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14010729d
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]
nop
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]
nop
mov rcx, r13
call fcn.1402502b0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1401072e5
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401072e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401072e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402502b0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
lea rcx, [rbp - 0x80]
call fcn.1400aa310
lea rcx, [rsp + 0x60]
call fcn.1400ff800
nop
mov rcx, r12
call fcn.1400aa310
nop
mov rcx, r14
call fcn.1400aa310
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x1e0]
add rsp, 0x1f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140082d30
nop
call fcn.140082cf0
int3