Function at 0x14011db00
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.14009edd0
mov rbx, rax
mov rdx, r12
lea rcx, [rbp - 0x60]
call fcn.14009edd0
nop
xor r9d, r9d
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.14011b560
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1401163c0
lea rcx, [rbp + 0xa8]
call fcn.1400aacb0
lea rcx, [rbp + 0x88]
call fcn.140116c40
cmp dword [rsp + 0x78], edi
je 0x14011df5d
movups xmm0, xmmword [0x1402cc808]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [0x1402cc818]
movups xmmword [rbp - 0x30], xmm1
mov eax, dword [0x1402cc828]
mov dword [rbp - 0x20], eax
movzx eax, word [0x1402cc82c]
mov word [rbp - 0x1c], ax
movzx eax, byte [0x1402cc82e]
mov byte [rbp - 0x1a], al
mov ecx, edi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14011dd42
movdqa xmm5, xmmword [0x14027d080]
movdqa xmm4, xmmword [0x1402cc880]
movdqa xmm6, xmmword [str.4444]
movdqa xmm0, xmmword [0x1402cc870]
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
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 0x14011dc40
cmp ecx, 0x27
jge 0x14011dd7c
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 0x14011dd50
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.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]
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 0x14011ddb6
mov rdx, qword [rbp - 0x80]
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 eax, dword [str.vFGYE8]
mov dword [rbp + 0x158], eax
movzx eax, word [0x1402cc834]
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 + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14011de30
lea rdx, [rbp + 0x158]
mov rcx, rsi
call fcn.14007adb0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14011de8a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011de85
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011df3b
call fcn.140268570
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], di
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14011e55c
mov rdi, qword [rsp + 0x68]
xor r15d, r15d
cmp rbx, rdi
je 0x14011df0e
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x14011def0
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14011deeb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14011df3b
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 0x14011deb5
mov rbx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14011df42
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14011df42
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 + 0x60], xmm0
mov qword [rsp + 0x70], r15
jmp 0x14011e55c
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 [0x1402cc838]
mov word [rbp + 0x158], ax
cmp byte [0x1402cc839], 0
je 0x14011df9d
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 0x14011dfc0
lea rdx, [rbp + 0x158]
lea rcx, [rbp - 0x60]
call fcn.14007adb0
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 0x14011e47e
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.140268aec
mov rsi, rax
mov qword [rbp + 0xd0], rax
test rax, rax
je 0x14011e078
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 0x14011e07b
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 0x14011e0c7
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, [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 + 0x18]
cmp rcx, rdi
je 0x14011e0f9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14011e0ec
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 0x14011e11d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14011e11d
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 0x14011e12e
mov r8, qword [r15]
mov rax, qword [r15 + 0x10]
lea r9, [r8 + rax*2]
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.14011ef90
nop
movabs r8, 0x7fffffffffffffff
mov rax, r8
mov r14, qword [rbp - 0x30]
sub rax, r14
mov rdx, qword [rbp - 0x50]
cmp rax, rdx
jb 0x14011e58c
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 0x14011e249
mov rdi, r13
or rdi, 0xf
cmp rdi, r8
jbe 0x14011e1e3
mov rdi, r8
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x14011e20a
cmp rdi, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14011e22d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14011e592
mov rcx, rax
call fcn.140268aec
test rax, rax
je 0x14011e4d8
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rax, qword [rbp - 0x18]
jmp 0x14011e242
test rcx, rcx
je 0x14011e240
call fcn.140268aec
mov rsi, rax
mov rax, qword [rbp - 0x18]
jmp 0x14011e242
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 0x14011e2ef
lea rax, [rcx + r14]
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 0x14011e313
mov qword [rsp + 0x20], r14
movzx r8d, bl
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.14008f790
mov r13, qword [rbp + 0xa0]
mov rsi, qword [rbp + 0x88]
cmp r13, 0xf
jbe 0x14011e34b
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14011e342
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011e4d8
mov rcx, rsi
call fcn.140268570
nop
cmp byte [rbp + 0x158], 0
je 0x14011e38a
mov rdx, qword [rbp - 0x28]
inc rdx
mov rax, r12
cmp rdx, 0x1000
jb 0x14011e381
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011e4df
mov rcx, r12
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], rax
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x14011e3d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011e3d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011e4e6
call fcn.140268570
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 0x14011e422
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011e41d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14011e4e6
call fcn.140268570
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 0x14011e457
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14011e457
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 0x14011dffd
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 0x14011e4fa
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x14011e4ed
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14011e4ed
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.140268570
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14011e535
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14011e530
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14011e530
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140268570
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.1400aacb0
lea rcx, [rsp + 0x60]
call fcn.140116c40
nop
mov rcx, r12
call fcn.1400aacb0
nop
mov rcx, r14
call fcn.1400aacb0
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.140082e00
nop
call fcn.140082dc0
int3