Function at 0x1400882a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1401ce080]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x14008858b
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401ea260], eax
jle 0x1400883bd
lea rcx, [0x1401ea260]
call fcn.1401042b8
cmp dword [0x1401ea260], 0xffffffff
jne 0x1400883bd
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x37], xmm1
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140104330
mov qword [rbp + 0x27], rax
movdqa xmm0, xmmword [reloc.WS2_32.dll_setsockopt]
movdqu xmmword [rbp + 0x37], xmm0
movups xmm0, xmmword [str.ExReleaseResourceLite]
movups xmmword [rax], xmm0
mov ecx, dword [0x1401b00a8]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1401b00ac]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], 0
lea r8, [rbp + 0x27]
mov rdx, qword [0x1401e9160]
mov rcx, rdi
call fcn.1400872a0
mov qword [0x1401ea1f0], rax
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x1400883b1
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400883ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400883ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401045ac
nop
lea rcx, [0x1401ea260]
call fcn.14010424c
mov r8, qword [0x1401ea1f0]
test r8, r8
jne 0x14008858f
mov dword [rbp - 0x39], 0x35a535d8
mov dword [rbp - 0x35], 0x35a635d8
mov dword [rbp - 0x31], 0x35e935c1
mov dword [rbp - 0x2d], 0x35e635e0
mov dword [rbp - 0x29], 0x35e835ee
mov dword [rbp - 0x25], 0x35fa35ad
mov dword [rbp - 0x21], 0x35b035e0
mov dword [rbp - 0x1d], 0x35fb35f7
mov dword [rbp - 0x19], 0x35f035fd
mov dword [rbp - 0x15], 0x35d335b5
mov dword [rbp - 0x11], 0x35ca35ef
mov dword [rbp - 0xd], 0x35f635fc
mov dword [rbp - 9], 0x35fd35fe
mov dword [rbp - 5], 0x35fb35ee
mov dword [rbp - 1], 0x35c535cd
mov dword [rbp + 3], 0x35cd35d2
mov dword [rbp + 7], 0x35d635d6
mov dword [rbp + 0xb], 0x35c335c6
mov dword [rbp + 0xf], 0x35c135eb
mov dword [rbp + 0x13], 0x35cf35dd
xor eax, eax
mov word [rbp + 0x17], ax
mov byte [rbp + 0x19], 1
movdqa xmm3, xmmword [0x1401b0b90]
movdqa xmm4, xmmword [0x1401b0d90]
mov edx, 0x358a
lea rcx, [rbp - 0x35]
nop dword [rax]
lea rax, [rdx - 0x358a]
movq xmm2, rax
punpcklqdq xmm2, xmm2
paddq xmm2, xmm4
movd xmm1, dword [rcx - 4]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rcx - 4], xmm1
lea rax, [rdx - 5]
movq xmm2, rax
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
movd xmm1, dword [rcx]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rcx], xmm1
lea rax, [rdx - 3]
movq xmm2, rax
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
movd xmm1, dword [rcx + 4]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rcx + 4], xmm1
lea rax, [rdx - 1]
movq xmm0, rdx
movq xmm2, rax
punpcklqdq xmm2, xmm0
movd xmm1, dword [rcx + 8]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rcx + 8], xmm1
add rdx, 8
lea rcx, [rcx + 0x10]
lea rax, [rdx - 0x358a]
cmp rax, 0x28
jb 0x140088480
mov byte [rbp + 0x19], 0
lea rdx, [rbp - 0x39]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14008c660
lea rdx, [0x14008c840]
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]
xor al, al
jmp 0x14008859c
mov r9, rbx
xor edx, edx
mov rcx, rdi
call fcn.14008f980
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1401041f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret