Function at 0x180028da0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1801561e0]
xor rax, rsp
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0x18]
call fcn.1800225c0
nop
lea rcx, [rax + 8]
lea rdx, [rbp - 0x48]
call fcn.180040b60
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.18001b220
mov rdi, rax
mov dword [rsp + 0x48], 0xd3d3d89c
mov dword [rsp + 0x4c], 0xfca7d6d8
mov word [rsp + 0x50], 0x100
xor ecx, ecx
nop dword [rax]
lea eax, [rcx - 0x46]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x180028e10
mov byte [rsp + 0x51], 0
movdqa xmm0, xmmword [0x180139630]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x68], 0xf7
mov byte [rsp + 0x6a], 1
xor eax, eax
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 0x46]
xor byte [rsp + rax + 0x58], cl
inc rax
cmp rax, 0x11
jb 0x180028e50
mov byte [rsp + 0x6a], 0
mov rdx, qword [0x1801809b0]
lea rax, [rsp + 0x58]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x180028e80
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x18002907f
lea r9, [0x1801809a0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r9, qword [0x1801809a0]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [0x1801809a0]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.1800522c0
nop
lea rdx, [0x1801809e0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1801809e0]
mov r8, qword [0x1801809f0]
lea rcx, [rbp - 0x68]
call fcn.18003f1c0
mov qword [rsp + 0x78], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x48]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180028f40
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.18003f1c0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rdi
lea r8, [rsp + 0x58]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x100]
call fcn.1800520d0
nop
lea rcx, [rsp + 0x58]
call fcn.180040e40
nop
lea rcx, [rsp + 0x78]
call fcn.180040e40
nop
lea rcx, [rbp - 0x68]
call fcn.180040e40
nop
lea rcx, [rbp - 0x28]
call fcn.180040e40
nop
lea rcx, [rbp - 0x48]
call fcn.180040e40
nop
mov rax, qword [rbp + 0x18]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x18], rax
mov rax, qword [rbp + 0x18]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x14], edx
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x20]
call fcn.180040ab0
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_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_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x58]
call fcn.18003f330
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.180018a90
lea rcx, [rbp - 8]
call fcn.180040e40
nop
lea rcx, [rbp + 0x100]
call fcn.180040e40
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.180112f90
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.18000c960
nop
int3