Function at 0x1800ca8e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1801d08c0]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r13, rcx
xor edi, edi
mov esi, edi
mov dword [rsp + 0x20], edi
mov r8, qword [0x18025e538]
mov rax, qword [r8 + 0x120]
test rax, rax
je 0x180088d58
mov r15d, edi
cmp dword [rax + 8], edi
jle 0x180088d58
mov r12d, edi
nop dword [rax]
mov r9, qword [r8 + 0x120]
movsxd rdx, r15d
sar rdx, 5
mov rax, qword [r9 + 0x30]
mov ecx, r15d
and ecx, 0x1f
mov edx, dword [rax + rdx*4]
shr edx, cl
test dl, 1
je 0x180088d40
mov rax, qword [r9]
mov r14, qword [r12 + rax]
test r14, r14
je 0x180088d40
movzx eax, byte [r14 + 0x9d]
and al, 0x1f
cmp al, 5
jne 0x180088d40
lea rdx, [r14 + 0x2a4]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180088775
lea rcx, [rbp - 0x38]
call fcn.180025710
nop
lea rdx, [r14 + 0x298]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1800887a6
lea rcx, [rbp - 0x58]
call fcn.180025710
nop
lea r10, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova r10, qword [rbp - 0x58]
mov r9d, edi
mov r11, qword [rbp - 0x48]
add r11, r10
cmp r10, r11
je 0x180088816
nop word [rax + rax]
movzx r8d, byte [r10]
lea edx, [r8 - 0x41]
movzx eax, r8b
or al, 0x20
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx eax, cl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
inc r10
cmp r10, r11
jne 0x1800887e0
lea ecx, [r9 + r9*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul ebx, ecx, 0x8001
call fcn.1800262a0
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
call fcn.1800262a0
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], ebx
inc dword [rax + 8]
movabs rcx, 0xdedf1c8bd47c2200
call fcn.180026140
call fcn.1800262a0
mov rcx, qword [rax]
mov edx, dword [rcx]
mov rax, qword [r13]
cmp edx, dword [rax + 0x38]
jne 0x180088d26
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x18018c6b0]
mov qword [rbp - 0x10], rax
lea rax, [0x18018c6a8]
mov qword [rbp], rax
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or esi, 1
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp + 8]
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_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 8], rax
mov qword [rbp + 0x70], rdi
mov dword [rbp + 0x78], edi
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.1800255a0
nop
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x68]
call fcn.1800255a0
nop
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
seta r8b
mov rdx, qword [rbp - 0x78]
cmova rcx, rdx
cmp byte [rcx], 0
jne 0x18008894a
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rax, qword [rsp + 0x68]
cmp byte [rax], 0
je 0x180088bbb
lea rbx, [rbp - 0x78]
test r8b, r8b
cmovne rbx, rdx
call fcn.1800262a0
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
call fcn.1800262a0
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + rdx*8], rbx
inc dword [rax + 8]
movabs rcx, 0x7b5280eba9840c72
call fcn.180026140
call fcn.1800262a0
mov rcx, qword [rax]
mov r9, qword [rcx]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [r9 + rdi], 0
jne 0x180088994
mov rax, qword [rbp - 0x60]
cmp rdi, rax
ja 0x1800889cc
lea rbx, [rbp - 0x78]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x78]
mov qword [rbp - 0x68], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1800889d8
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.18002e6c0
lea rbx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rbx, qword [rsp + 0x68]
call fcn.1800262a0
xor ecx, ecx
mov dword [rax + 8], ecx
mov dword [rax + 0x18], ecx
call fcn.1800262a0
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov qword [rcx + rdx*8], rbx
inc dword [rax + 8]
movabs rcx, 0x7b5280eba9840c72
call fcn.180026140
call fcn.1800262a0
mov rcx, qword [rax]
mov r9, qword [rcx]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [r9 + rdi], 0
jne 0x180088a30
mov rax, qword [rbp - 0x80]
cmp rdi, rax
ja 0x180088a6b
lea rbx, [rsp + 0x68]
cmp rax, 0xf
cmova rbx, qword [rsp + 0x68]
mov qword [rsp + 0x78], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x180088a78
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.18002e6c0
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
seta r10b
mov r8, qword [rbp - 0x78]
cmova rdx, r8
mov r9, qword [rbp - 0x68]
lea r11, str.NULL
cmp r9, 4
jne 0x180088ac1
xor ecx, ecx
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x180088ab8
cmp rcx, 4
jne 0x180088aa0
xor eax, eax
jmp 0x180088abd
sbb eax, eax
or eax, 1
test eax, eax
je 0x180088b01
lea rdx, [rbp - 0x78]
test r10b, r10b
cmovne rdx, r8
cmp r9, 4
jne 0x180088b78
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x180088af8
cmp rcx, 4
jne 0x180088ae0
xor eax, eax
jmp 0x180088afd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x180088b78
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
seta r10b
mov r8, qword [rsp + 0x68]
cmova rdx, r8
mov r9, qword [rsp + 0x78]
cmp r9, 4
jne 0x180088b63
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r11 + rax - 1]
jne 0x180088b48
cmp rax, 4
jne 0x180088b30
xor eax, eax
jmp 0x180088b4d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x180088b63
lea rdx, str.Unknown
lea rcx, [rbp]
call fcn.180073300
jmp 0x180088bbb
lea rdx, [rsp + 0x68]
test r10b, r10b
cmovne rdx, r8
mov r8, r9
lea rcx, [rbp]
jmp 0x180088bb6
lea rdx, [rbp - 0x78]
test r10b, r10b
cmovne rdx, r8
mov r8, r9
lea rcx, [rbp]
call fcn.1800bfcf0
lea rdx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rax
call fcn.180073300
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rcx, rax
call fcn.1800bfcf0
mov rdi, qword [r13]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
or esi, 4
mov dword [rsp + 0x20], esi
mov ecx, dword [rbp + 0x78]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x180088c0e
mov rax, qword [rbp + 0x48]
mov rbx, qword [rax]
test rbx, rbx
je 0x180088c0e
mov rax, qword [rbp + 0x28]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x70]
cmovb rbx, qword [rbp + 0x70]
jmp 0x180088c30
test cl, 4
jne 0x180088c65
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x180088c65
mov rax, qword [rbp + 0x20]
mov r9, qword [rax]
mov rax, qword [rbp + 0x58]
movsxd rbx, dword [rax]
add rbx, rcx
mov rax, r9
sub rbx, r9
test rax, rax
je 0x180088c65
lea rcx, [rsp + 0x28]
cmp rbx, 0xf
ja 0x180088c5d
mov qword [rsp + 0x38], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x28], 0
jmp 0x180088c65
mov rdx, rbx
call fcn.18002e6c0
and esi, 0xfffffffb
or esi, 2
mov eax, dword [r14 + 0x18]
mov dword [rsp + 0x48], eax
mov rdx, qword [rdi + 0x28]
cmp rdx, qword [rdi + 0x30]
je 0x180088caf
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
mov dword [rdx + 0x20], eax
add qword [rdi + 0x28], 0x28
jmp 0x180088cbe
lea r8, [rsp + 0x28]
lea rcx, [rdi + 0x20]
call fcn.1800c00b0
nop
lea rcx, [rsp + 0x28]
call fcn.180004060
nop
lea rcx, [rsp + 0x68]
call fcn.180004060
nop
lea rcx, [rbp - 0x78]
call fcn.180004060
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp + 8]
call fcn.1800db020
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor edi, edi
lea rcx, [rbp - 0x58]
call fcn.180004060
nop
lea rcx, [rbp - 0x38]
call fcn.180004060
mov r8, qword [0x18025e538]
inc r15d
add r12, 8
mov rax, qword [r8 + 0x120]
cmp r15d, dword [rax + 8]
jl 0x180088710
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.180137e70
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
add rcx, 8
jmp 0x1800886a0