Function at 0x1800c0240
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 [0x180162880]
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 [0x1801ee2a8]
mov rax, qword [r8 + 0x118]
test rax, rax
je 0x180081c08
mov r15d, edi
cmp dword [rax + 8], edi
jle 0x180081c08
mov r12d, edi
nop dword [rax]
mov r9, qword [r8 + 0x118]
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 0x180081bf0
mov rax, qword [r9]
mov r14, qword [r12 + rax]
test r14, r14
je 0x180081bf0
movzx eax, byte [r14 + 0x9d]
and al, 0x1f
cmp al, 5
jne 0x180081bf0
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 0x180081625
lea rcx, [rbp - 0x38]
call fcn.180024740
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 0x180081656
lea rcx, [rbp - 0x58]
call fcn.180024740
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 0x1800816c6
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 0x180081690
lea ecx, [r9 + r9*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul ebx, ecx, 0x8001
call fcn.180025b40
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
call fcn.180025b40
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.1800259e0
call fcn.180025b40
mov rcx, qword [rax]
mov edx, dword [rcx]
mov rax, qword [r13]
cmp edx, dword [rax + 0x30]
jne 0x180081bd6
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x18011f148]
mov qword [rbp - 0x10], rax
lea rax, [0x18011f150]
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.180025020
nop
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x68]
call fcn.180025020
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 0x1800817fa
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rax, qword [rsp + 0x68]
cmp byte [rax], 0
je 0x180081a6b
lea rbx, [rbp - 0x78]
test r8b, r8b
cmovne rbx, rdx
call fcn.180025b40
mov dword [rax + 8], edi
mov dword [rax + 0x18], edi
call fcn.180025b40
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.1800259e0
call fcn.180025b40
mov rcx, qword [rax]
mov r9, qword [rcx]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [r9 + rdi], 0
jne 0x180081844
mov rax, qword [rbp - 0x60]
cmp rdi, rax
ja 0x18008187c
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 0x180081888
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.180038b90
lea rbx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rbx, qword [rsp + 0x68]
call fcn.180025b40
xor ecx, ecx
mov dword [rax + 8], ecx
mov dword [rax + 0x18], ecx
call fcn.180025b40
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.1800259e0
call fcn.180025b40
mov rcx, qword [rax]
mov r9, qword [rcx]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [r9 + rdi], 0
jne 0x1800818e0
mov rax, qword [rbp - 0x80]
cmp rdi, rax
ja 0x18008191b
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 0x180081928
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.180038b90
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 0x180081971
xor ecx, ecx
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x180081968
cmp rcx, 4
jne 0x180081950
xor eax, eax
jmp 0x18008196d
sbb eax, eax
or eax, 1
test eax, eax
je 0x1800819b1
lea rdx, [rbp - 0x78]
test r10b, r10b
cmovne rdx, r8
cmp r9, 4
jne 0x180081a28
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x1800819a8
cmp rcx, 4
jne 0x180081990
xor eax, eax
jmp 0x1800819ad
sbb eax, eax
or eax, 1
test eax, eax
jne 0x180081a28
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 0x180081a13
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r11 + rax - 1]
jne 0x1800819f8
cmp rax, 4
jne 0x1800819e0
xor eax, eax
jmp 0x1800819fd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x180081a13
lea rdx, str.Unknown
lea rcx, [rbp]
call fcn.18006c5c0
jmp 0x180081a6b
lea rdx, [rsp + 0x68]
test r10b, r10b
cmovne rdx, r8
mov r8, r9
lea rcx, [rbp]
jmp 0x180081a66
lea rdx, [rbp - 0x78]
test r10b, r10b
cmovne rdx, r8
mov r8, r9
lea rcx, [rbp]
call fcn.1800b55e0
lea rdx, [0x180111434]
mov rcx, rax
call fcn.18006c5c0
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rcx, rax
call fcn.1800b55e0
mov rdi, qword [r13]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0xf
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 0x180081abe
mov rax, qword [rbp + 0x48]
mov rbx, qword [rax]
test rbx, rbx
je 0x180081abe
mov rax, qword [rbp + 0x28]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x70]
cmovb rbx, qword [rbp + 0x70]
jmp 0x180081ae0
test cl, 4
jne 0x180081b15
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x180081b15
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 0x180081b15
lea rcx, [rsp + 0x28]
cmp rbx, 0xf
ja 0x180081b0d
mov qword [rsp + 0x38], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x28], 0
jmp 0x180081b15
mov rdx, rbx
call fcn.180038b90
and esi, 0xfffffffb
or esi, 2
mov eax, dword [r14 + 0x18]
mov dword [rsp + 0x48], eax
mov rdx, qword [rdi + 0x20]
cmp rdx, qword [rdi + 0x28]
je 0x180081b5f
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], 0xf
mov byte [rsp + 0x28], 0
mov dword [rdx + 0x20], eax
add qword [rdi + 0x20], 0x28
jmp 0x180081b6e
lea r8, [rsp + 0x28]
lea rcx, [rdi + 0x18]
call fcn.1800b59a0
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.1800cf970
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 [0x1801ee2a8]
inc r15d
add r12, 8
mov rax, qword [r8 + 0x118]
cmp r15d, dword [rax + 8]
jl 0x1800815c0
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1800defc0
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 0x180081550