Function at 0x1800e1650
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 [0x180249a80]
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 [0x1801c1cdf], 0
mov rax, qword [0x1801c1cd8]
mov qword [rsp + 0x20], rax
je 0x1800e17cf
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800e1798
movdqa xmm2, xmmword [0x1801c6e40]
movdqa xmm4, xmmword [0x1801c73d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801c6e90]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x20]
andps xmm2, xmmword [0x1801c6f20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1801c7120]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm2, xmmword [0x1801c6e50]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1801c6e90]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x24]
andps xmm2, xmmword [0x1801c6f20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1801c7120]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
jmp 0x1800e17cf
lea r8, [rsp + 0x20]
xor ecx, ecx
nop
mov eax, 0x92492493
lea r8, [r8 + 1]
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
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x1800e17a0
lea rax, [0x1801c1cd0]
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 [0x18024dec0]
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.1800e2640
test rax, rax
jne 0x1800e18a7
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 0x1800e1943
mov eax, dword [0x1801c1ce0]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
movzx eax, byte [0x1801c1ce4]
xor byte [rsp + 0x21], 0x37
xor al, 0x3a
xor byte [rsp + 0x22], 0x38
xor byte [rsp + 0x23], 0x39
mov byte [rsp + 0x24], al
mov byte [rsp + 0x20], 0x49
call fcn.180054030
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x1800e18f9
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.180057780
lea rdx, [0x18005a100]
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.18007c2c0
test rax, rax
jne 0x1800e1943
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.180068d30
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.180068dd0
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1801a9230
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret