Function at 0x1800d5810
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x18023c800]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, rdx
lea rcx, [rsp + 0x38]
xor edx, edx
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
cmp byte [reloc.WS2_32.dll_gethostname], 0
mov rax, qword [str.SeXRU9q]
mov qword [rsp + 0x20], rax
je 0x1800d598c
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800d5950
movdqa xmm2, xmmword [0x1801bab60]
movdqa xmm4, xmmword [0x1801bac50]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801bab80]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x20]
andps xmm2, xmmword [0x1801babe0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1801bad00]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm2, xmmword [0x1801bab70]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801bab80]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x24]
andps xmm2, xmmword [0x1801babe0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1801bad00]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
jmp 0x1800d598c
lea r8, [rsp + 0x20]
xor ecx, ecx
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x1800d5960
lea rax, [0x1801b5c68]
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x30], rax
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
xor r9d, r9d
lea rdx, [rsp + 0x38]
xor r8d, r8d
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
mov rax, qword [rsp + 0x30]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], rsi
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [rbp - 0x4c], 0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
mov byte [rbp - 0x57], 0
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov rax, qword [0x180240550]
lea rdx, [rsp + 0x20]
mov r9d, 0x40
mov qword [rbp - 0x54], rax
mov r8d, 2
mov qword [rbp - 0x48], 0
lea rcx, [rsp + 0x38]
mov qword [rbp - 0x60], 0
call fcn.1800d67f0
test rax, rax
jne 0x1800d5a64
mov rax, qword [rsp + 0x30]
xor r8d, r8d
mov edx, 2
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
cmp qword [rbp - 0x48], 0
je 0x1800d5b00
mov eax, dword [0x1801b5c78]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
movzx eax, byte [0x1801b5c7c]
xor byte [rsp + 0x21], 0x33
xor al, 0x36
xor byte [rsp + 0x22], 0x34
xor byte [rsp + 0x23], 0x35
mov byte [rsp + 0x24], al
mov byte [rsp + 0x20], 0x49
call fcn.180053f20
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x1800d5ab6
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.1800575a0
lea rdx, [0x180059e60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rsp + 0x38]
call fcn.180078340
test rax, rax
jne 0x1800d5b00
mov rax, qword [rsp + 0x30]
xor r8d, r8d
mov edx, 2
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x30]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x30], rsi
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x2c], edx
lea rcx, [rsp + 0x38]
call fcn.180068a90
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, rbx
call fcn.180068b30
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.18019d700
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret