Function at 0x1800c4170
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 [0x18015d870]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r12, rcx
xor r13d, r13d
mov edi, r13d
mov dword [rsp + 0x20], r13d
mov r8, qword [0x1801eaec8]
mov rax, qword [r8 + 0x118]
test rax, rax
je 0x1800819c0
mov r14d, r13d
cmp dword [rax + 8], r13d
jle 0x1800819c0
mov r15d, r13d
nop dword [rax]
mov r9, qword [r8 + 0x118]
movsxd rdx, r14d
sar rdx, 5
mov rax, qword [r9 + 0x30]
mov ecx, r14d
and ecx, 0x1f
mov edx, dword [rax + rdx*4]
shr edx, cl
test dl, 1
je 0x1800819a8
mov rax, qword [r9]
mov rsi, qword [r15 + rax]
test rsi, rsi
je 0x1800819a8
movzx eax, byte [rsi + 0x9d]
and al, 0x1f
cmp al, 5
jne 0x1800819a8
lea rdx, [rsi + 0x2a4]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], r13
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180081454
lea rcx, [rbp - 0x38]
call fcn.180022aa0
nop
lea rdx, [rsi + 0x298]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r13
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180081485
lea rcx, [rbp - 0x58]
call fcn.180022aa0
nop
lea r10, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae r10, qword [rbp - 0x58]
mov r9d, r13d
mov r11, qword [rbp - 0x48]
add r11, r10
cmp r10, r11
je 0x1800814f6
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 0x1800814c0
lea ebx, [r9 + r9*8]
mov eax, ebx
shr eax, 0xb
xor ebx, eax
call fcn.180023660
mov dword [rax + 8], r13d
mov dword [rax + 0x18], r13d
call fcn.180023660
imul r8d, ebx, 0x8001
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x10]
mov dword [rcx + rdx*8], r8d
inc dword [rax + 8]
movabs rcx, 0xdedf1c8bd47c2200
call fcn.180023500
call fcn.180023660
mov rcx, qword [rax]
mov edx, dword [rcx]
mov rax, qword [r12]
cmp edx, dword [rax + 0x38]
jne 0x18008198e
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x18011e140]
mov qword [rbp - 0x10], rax
lea rax, [0x18011e138]
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 edi, 1
mov dword [rsp + 0x20], edi
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], r13
mov dword [rbp + 0x78], r13d
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x78]
call fcn.180022750
nop
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x68]
call fcn.180022750
nop
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
setae r8b
mov rdx, qword [rbp - 0x78]
cmovae rcx, rdx
cmp byte [rcx], 0
jne 0x18008162f
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rax, qword [rsp + 0x68]
cmp byte [rax], 0
je 0x18008183c
lea rbx, [rbp - 0x78]
test r8b, r8b
cmovne rbx, rdx
call fcn.180023660
mov dword [rax + 8], r13d
mov dword [rax + 0x18], r13d
call fcn.180023660
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.180023500
call fcn.180023660
mov rcx, qword [rax]
mov rdx, qword [rcx]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180081680
lea rcx, [rbp - 0x78]
call fcn.180038cb0
lea rbx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rbx, qword [rsp + 0x68]
call fcn.180023660
mov dword [rax + 8], r13d
mov dword [rax + 0x18], r13d
call fcn.180023660
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.180023500
call fcn.180023660
mov rcx, qword [rax]
mov rdx, qword [rcx]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1800816e4
lea rcx, [rsp + 0x68]
call fcn.180038cb0
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
setae r10b
mov r8, qword [rbp - 0x78]
cmovae rdx, r8
mov r9, qword [rbp - 0x68]
lea r11, str.NULL
cmp r9, 4
jne 0x180081743
mov rcx, r13
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x18008173a
cmp rcx, 4
jne 0x180081721
mov eax, r13d
jmp 0x18008173f
sbb eax, eax
or eax, 1
test eax, eax
je 0x180081782
lea rdx, [rbp - 0x78]
test r10b, r10b
cmovne rdx, r8
cmp r9, 4
jne 0x1800817f9
mov rcx, r13
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x180081779
cmp rcx, 4
jne 0x180081760
mov eax, r13d
jmp 0x18008177e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1800817f9
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
setae r10b
mov r8, qword [rsp + 0x68]
cmovae rdx, r8
mov r9, qword [rsp + 0x78]
cmp r9, 4
jne 0x1800817e4
mov rax, r13
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r11 + rax - 1]
jne 0x1800817c9
cmp rax, 4
jne 0x1800817b0
mov eax, r13d
jmp 0x1800817ce
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1800817e4
lea rdx, str.Unknown
lea rcx, [rbp]
call fcn.18006ca00
jmp 0x18008183c
lea rdx, [rsp + 0x68]
test r10b, r10b
cmovne rdx, r8
mov r8, r9
lea rcx, [rbp]
jmp 0x180081837
lea rdx, [rbp - 0x78]
test r10b, r10b
cmovne rdx, r8
mov r8, r9
lea rcx, [rbp]
call fcn.1800b5cd0
lea rdx, [0x180110034]
mov rcx, rax
call fcn.18006ca00
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rcx, rax
call fcn.1800b5cd0
mov rbx, qword [r12]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
or edi, 4
mov dword [rsp + 0x20], edi
movups xmmword [rsp + 0x50], xmm0
mov ecx, dword [rbp + 0x78]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x180081893
mov rax, qword [rbp + 0x48]
mov r8, qword [rax]
test r8, r8
je 0x180081893
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x70]
cmovb r8, qword [rbp + 0x70]
sub r8, rdx
jmp 0x1800818c4
test cl, 4
jne 0x1800818ba
mov rax, qword [rbp + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800818ba
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x58]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x1800818c4
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x1800818d3
lea rcx, [rsp + 0x28]
call fcn.180038cb0
and edi, 0xfffffffb
or edi, 2
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x48], eax
mov rdx, qword [rbx + 0x28]
cmp rdx, qword [rbx + 0x30]
je 0x180081918
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov dword [rdx + 0x20], eax
add qword [rbx + 0x28], 0x28
jmp 0x180081927
lea r8, [rsp + 0x28]
lea rcx, [rbx + 0x20]
call fcn.1800b6110
nop
lea rcx, [rsp + 0x28]
call fcn.1800014f0
nop
lea rcx, [rsp + 0x68]
call fcn.1800014f0
nop
lea rcx, [rbp - 0x78]
call fcn.1800014f0
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.1800d3d60
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]
nop
lea rcx, [rbp - 0x58]
call fcn.1800014f0
nop
lea rcx, [rbp - 0x38]
call fcn.1800014f0
mov r8, qword [0x1801eaec8]
inc r14d
add r15, 8
mov rax, qword [r8 + 0x118]
cmp r14d, dword [rax + 8]
jl 0x1800813f0
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1800df090
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 0x180081380