Function at 0x1800bd8c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x98]
sub rsp, 0x190
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x18011c040]
xor rax, rsp
mov qword [rbp + 0x60], rax
movaps xmm7, xmm0
xor edi, edi
mov dword [rsp + 0x30], edi
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x70]
call fcn.1800bebf0
nop
movups xmm0, xmmword [0x180104858]
movups xmmword [rsp + 0x58], xmm0
mov eax, dword [str.____mN]
mov dword [rsp + 0x68], eax
movzx eax, word [0x18010486c]
mov word [rsp + 0x6c], ax
cmp byte [0x18010486d], dil
je 0x1800bdad0
mov r8d, edi
cmp dword [0x18011c018], 2
jl 0x1800bda95
movdqa xmm5, xmmword [0x1801063b0]
movdqa xmm4, xmmword [0x180106540]
movdqa xmm6, xmmword [0x1801063e0]
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x5c]
mov edx, dword [rsp + 0x20]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180106490]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180106490]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1800bd990
cmp r8d, 0x16
jge 0x1800bdad0
movsxd rax, r8d
lea r9, [rsp + 0x58]
add r9, rax
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x16
jl 0x1800bdaa0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.1800bedc0
movaps xmm1, xmm7
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___float____ptr64]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
mov r8d, 7
mov qword [rsp + 0x50], r8
mov word [rsp + 0x38], di
mov dword [rsp + 0x30], 2
movups xmmword [rsp + 0x58], xmm0
mov rcx, rdi
mov r9, qword [rbp - 0x18]
mov eax, r9d
and al, 0x22
cmp al, 2
je 0x1800bdb56
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
test rdx, rdx
je 0x1800bdb56
mov rax, qword [rbp - 0x68]
mov r9, qword [rax]
cmp rdx, qword [rbp - 0x20]
cmovb rdx, qword [rbp - 0x20]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x1800bdb8d
test r9b, 4
jne 0x1800bdbc1
mov rax, qword [rbp - 0x50]
mov r10, qword [rax]
mov rdx, rdi
test r10, r10
je 0x1800bdb88
mov rax, qword [rbp - 0x70]
mov r9, qword [rax]
mov rax, qword [rbp - 0x38]
movsxd rcx, dword [rax]
lea rdx, [r10 + rcx*2]
sub rdx, r9
sar rdx, 1
mov rcx, r9
jmp 0x1800bdb8d
mov r9, qword [rsp + 0x58]
test rcx, rcx
je 0x1800bdbc1
lea rcx, [rsp + 0x38]
cmp rdx, r8
ja 0x1800bdbb7
mov qword [rsp + 0x48], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + rbx + 0x38], di
jmp 0x1800bdbbc
call fcn.18004a700
mov r8, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdi
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
cmp r8, 7
cmova rax, rcx
cmp word [rax], 0
je 0x1800bdbff
lea rax, [rsp + 0x38]
cmp r8, 7
cmova rax, rcx
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1800bdbf2
inc rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x2c], edi
test edi, edi
je 0x1800bdc1d
lea rax, [rsp + 0x38]
cmp r8, 7
cmova rax, rcx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x38]
call fcn.18001f940
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call fcn.1800bc950
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.1800beb20
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1800c8b10
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret