Function at 0x180028a40
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 [0x1801551e0]
xor rax, rsp
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0x18]
call fcn.1800222a0
nop
lea rcx, [rax + 8]
lea rdx, [rbp - 0x48]
call fcn.1800405b0
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.18001aa00
mov rdi, rax
mov dword [rsp + 0x48], 0x6e909ddb
mov dword [rsp + 0x4c], 0x39646b67
mov word [rsp + 0x50], 0x100
xor ecx, ecx
nop dword [rax]
lea eax, [rcx - 3]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x180028ab0
mov byte [rsp + 0x51], 0
movdqa xmm0, xmmword [0x180138da0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x68], Ordinal_50
mov byte [rsp + 0x6a], 1
xor eax, eax
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax - 3]
xor byte [rsp + rax + 0x58], cl
inc rax
cmp rax, 0x11
jb 0x180028af0
mov byte [rsp + 0x6a], 0
mov rdx, qword [0x18017f9a0]
lea rax, [rsp + 0x58]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x180028b20
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x180028d1f
lea r9, [0x18017f990]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r9, qword [0x18017f990]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [0x18017f990]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.180051cb0
nop
lea rdx, [0x18017f9d0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x18017f9d0]
mov r8, qword [0x18017f9e0]
lea rcx, [rbp - 0x68]
call fcn.18003ec10
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 0x180028be0
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.18003ec10
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.180051ac0
nop
lea rcx, [rsp + 0x58]
call fcn.180040890
nop
lea rcx, [rsp + 0x78]
call fcn.180040890
nop
lea rcx, [rbp - 0x68]
call fcn.180040890
nop
lea rcx, [rbp - 0x28]
call fcn.180040890
nop
lea rcx, [rbp - 0x48]
call fcn.180040890
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.180040500
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.18003ed80
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.180018270
lea rcx, [rbp - 8]
call fcn.180040890
nop
lea rcx, [rbp + 0x100]
call fcn.180040890
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1801127f0
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