Function at 0x18002b390
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 [0x1801491e0]
xor rax, rsp
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0x18]
call fcn.180027f90
nop
lea rcx, [rax + 8]
lea rdx, [rbp - 0x48]
call fcn.18003fd90
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.180021010
mov rdi, rax
mov dword [rsp + 0x48], 0x5b5b5014
mov dword [rsp + 0x4c], 0x45f5e50
mov word [rsp + 0x50], 0x100
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x32]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x18002b400
mov byte [rsp + 0x51], 0
movdqa xmm0, xmmword [0x18012d7c0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x68], 0x7f
mov byte [rsp + 0x6a], 1
xor eax, eax
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x32]
xor byte [rsp + rax + 0x58], cl
inc rax
cmp rax, 0x11
jb 0x18002b440
mov byte [rsp + 0x6a], 0
mov rdx, qword [0x180173790]
lea rax, [rsp + 0x58]
mov rbx, 0xffffffffffffffff
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x18002b470
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x18002b66f
lea r9, [0x180173780]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r9, qword [0x180173780]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [0x180173780]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.180046950
nop
lea rdx, [0x1801737c0]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1801737c0]
mov r8, qword [0x1801737d0]
lea rcx, [rbp - 0x68]
call fcn.18003ed70
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 0x18002b530
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.18003ed70
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.180046760
nop
lea rcx, [rsp + 0x58]
call fcn.18003fed0
nop
lea rcx, [rsp + 0x78]
call fcn.18003fed0
nop
lea rcx, [rbp - 0x68]
call fcn.18003fed0
nop
lea rcx, [rbp - 0x28]
call fcn.18003fed0
nop
lea rcx, [rbp - 0x48]
call fcn.18003fed0
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.18003fce0
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.18003eeb0
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.18001e8b0
lea rcx, [rbp - 8]
call fcn.18003fed0
nop
lea rcx, [rbp + 0x100]
call fcn.18003fed0
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.180107c30
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.180014020
nop
int3