Function at 0x14008cbb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
movaps xmmword [rsp + 0x210], xmm6
mov rax, qword [0x1401978c0]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r13, r8
mov qword [rsp + 0x60], r8
mov r15, rdx
mov qword [rsp + 0x58], rdx
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x40], rcx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], r8
xor edi, edi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
mov dword [rbp + 8], edi
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], di
lea rax, [rbp + 0x50]
mov qword [rsp + 0x40], rax
mov rdx, r8
lea rcx, [rbp + 0x50]
call fcn.140063460
mov rbx, rax
mov rdx, r15
lea rcx, [rbp + 0x30]
call fcn.140063460
nop
xor r9d, r9d
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400a98c0
mov rdi, rax
lea rax, [rbp - 0x10]
cmp rax, rdi
je 0x14008cd12
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x14008ccee
mov rsi, qword [rbp - 8]
cmp rbx, rsi
je 0x14008cca5
nop dword [rax]
mov rcx, rbx
call fcn.140080a30
add rbx, 0x20
cmp rbx, rsi
jne 0x14008cc90
mov rbx, qword [rbp - 0x10]
mov rdx, qword [rbp]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14008ccd8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008ccd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14010f95c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
xor ebx, ebx
mov qword [rbp], rbx
mov rax, qword [rdi]
mov qword [rbp - 0x10], rax
mov rax, qword [rdi + 8]
mov qword [rbp - 8], rax
mov rax, qword [rdi + 0x10]
mov qword [rbp], rax
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
jmp 0x14008cd14
xor ebx, ebx
mov eax, dword [rdi + 0x18]
mov dword [rbp + 8], eax
lea rdx, [rdi + 0x20]
lea rcx, [rbp + 0x10]
call fcn.140066340
lea rcx, [rbp - 0x70]
call fcn.140080a30
lea rcx, [rsp + 0x70]
call fcn.1400809a0
cmp dword [rbp + 8], 0
je 0x14008cfcd
movups xmm0, xmmword [0x140160be0]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [0x140160bf0]
movups xmmword [rbp + 0x60], xmm1
mov eax, dword [0x140160c00]
mov dword [rbp + 0x70], eax
movzx eax, word [0x140160c04]
mov word [rbp + 0x74], ax
movzx eax, byte [0x140160c06]
mov byte [rbp + 0x76], al
mov r8d, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14008cecd
movdqa xmm5, xmmword [0x1401222e0]
movdqa xmm4, xmmword [0x140164a80]
movdqa xmm6, xmmword [0x140164950]
movdqa xmm0, xmmword [str.0000000000000000]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp + 0x54]
mov edx, dword [rbp - 0x50]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
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 [0x1401649c0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x1401649c0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x14008cdc0
cmp r8d, 0x27
jge 0x14008cf13
movsxd rax, r8d
lea r9, [rbp + 0x50]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x27
jl 0x14008cee0
lea rdx, [rbp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140055d80
lea rdx, [0x14005adb0]
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 + 0x10]
mov r8, qword [rbp + 0x20]
cmp qword [rbp + 0x28], 7
jbe 0x14008cf4d
mov rdx, qword [rbp + 0x10]
call fcn.140058420
lea rdx, [0x14005adb0]
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.uC_F5]
mov dword [rsp + 0x38], eax
movzx eax, word [0x140160c0c]
mov word [rsp + 0x3c], ax
mov byte [rsp + 0x38], 0x45
xor byte [rsp + 0x39], 0x31
xor byte [rsp + 0x3a], 0x32
xor byte [rsp + 0x3b], 0x33
xor byte [rsp + 0x3c], 0x34
xor byte [rsp + 0x3d], 0x35
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], rbx
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14008cfb1
lea rdx, [rsp + 0x38]
mov rcx, r14
call fcn.140056550
jmp 0x14008d58c
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
movzx eax, word [0x140160c10]
mov word [rsp + 0x30], ax
cmp byte [0x140160c11], 0
je 0x14008d003
mov byte [rsp + 0x30], 0xa
xor byte [rsp + 0x31], 0x31
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rbx
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14008d020
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140056550
nop
mov rsi, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x40], rax
mov r12, qword [rbp + 0x30]
cmp rsi, rax
je 0x14008d4c9
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
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0x80], rcx
mov cl, 1
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_
mov qword [rbp + 0x98], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], 0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], rbx
mov qword [rbp + 0xd8], 7
mov word [rbp + 0xc0], bx
mov word [rbp + 0xe8], 0
mov byte [rbp + 0xea], 0
mov ecx, 0x40
call fcn.14010fffc
mov rdi, rax
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14008d12c
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 [rdi], r14
jmp 0x14008d12f
mov rdi, rbx
mov qword [rbp + 0xe0], rbx
mov qword [rbp + 0x88], rdi
mov rcx, qword [rbp + 0x98]
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 0x14008d184
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__]
xor edi, edi
mov dword [rbx + 0x20], edi
lea rcx, [rbx + 0x28]
lea rdx, [0x140117af8]
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 + 0x98]
cmp rcx, rbx
je 0x14008d1bc
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14008d1ac
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov qword [rbp + 0x98], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
test rbx, rbx
je 0x14008d1e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14008d1e0
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
mov qword [rbp + 0xf0], rdi
mov r8, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14008d1f4
mov r8, qword [rsi]
mov rax, qword [rsi + 0x10]
lea r9, [r8 + rax*2]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x80]
call fcn.14009b3f0
nop
movabs rdx, 0x7fffffffffffffff
mov rax, rdx
mov r14, qword [rbp + 0x60]
sub rax, r14
mov rcx, qword [rbp + 0x40]
cmp rax, rcx
jb 0x14008d5e5
lea r13, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
seta byte [rsp + 0x30]
mov r15, qword [rbp + 0x50]
cmova r13, r15
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rax, r12
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
lea r12, [rcx + r14]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rsp + 0x70]
cmp r12, rbx
jbe 0x14008d2f4
mov rbx, r12
or rbx, 0xf
cmp rbx, rdx
jbe 0x14008d298
mov rbx, rdx
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x14008d2bf
cmp rbx, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14008d2de
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14008d5eb
mov rcx, rax
call fcn.14010fffc
test rax, rax
je 0x14008d521
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14008d2ef
test rcx, rcx
je 0x14008d2ed
call fcn.14010fffc
mov rdi, rax
jmp 0x14008d2ef
xor edi, edi
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], rbx
mov r8, r14
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r14 + rdi]
mov r8, qword [rbp + 0x40]
mov rdx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r12], 0
lea r9, [rsp + 0x70]
mov rdi, qword [rsp + 0x70]
mov r13, qword [rbp - 0x78]
cmp r13, 0xf
cmova r9, rdi
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov rax, rdx
sub rax, rcx
mov r14, qword [rbp - 0x80]
cmp r14, rax
ja 0x14008d37b
lea rax, [r14 + rcx]
mov qword [rbp - 0x20], rax
lea rbx, [rbp - 0x30]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x30]
add rbx, rcx
mov r8, r14
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], 0
jmp 0x14008d398
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.1400588b0
mov r13, qword [rbp - 0x78]
mov rdi, qword [rsp + 0x70]
cmp r13, 0xf
jbe 0x14008d3d0
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14008d3c7
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008d521
mov rcx, rdi
call fcn.14010f95c
nop
cmp byte [rsp + 0x30], 0
je 0x14008d40c
mov rdx, qword [rbp + 0x68]
inc rdx
mov rax, r15
cmp rdx, 0x1000
jb 0x14008d403
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008d528
mov rcx, r15
call fcn.14010f95c
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
lea rcx, [rbp + 0xc0]
call fcn.140080a30
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x14008d467
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d462
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008d52f
call fcn.14010f95c
xor ebx, ebx
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], bl
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x14008d4a7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14008d4a7
mov rcx, qword [rax]
mov r8, qword [rcx]
lea edx, [rbx + 1]
mov rcx, rax
call r8
add rsi, 0x20
mov r12, qword [rbp + 0x30]
cmp rsi, qword [rsp + 0x40]
jne 0x14008d053
mov r14, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbp - 0x20], rbx
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x18], rdx
mov byte [rbp - 0x30], 0
mov rax, qword [rbp + 0x48]
cmp rax, rdx
jbe 0x14008d542
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x14008d536
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008d536
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, r12
call fcn.14010f95c
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14008d57c
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d577
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008d577
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010f95c
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], 0
lea rcx, [rbp + 0x10]
call fcn.140080a30
lea rcx, [rbp - 0x10]
call fcn.1400809a0
nop
mov rcx, r15
call fcn.140080a30
nop
mov rcx, r13
call fcn.140080a30
mov rax, r14
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14010fdd0
mov rbx, qword [rsp + 0x278]
movaps xmm6, xmmword [rsp + 0x210]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140080ae0
nop
call fcn.140080570
int3