Function at 0x180016dc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfa0]
mov eax, 0x10a0
call fcn.1800283c0
sub rsp, rax
movaps xmmword [rsp + 0x1090], xmm6
movaps xmmword [rsp + 0x1080], xmm7
mov rax, qword [0x180050040]
xor rax, rsp
mov qword [rbp + 0xf70], rax
mov qword [rsp + 0x20], r9
mov r13, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
je 0x1800172f7
mov r8d, dword [0x18008a250]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rdi, qword [rax + r8*8]
add rdi, rcx
xor esi, esi
mov eax, dword [rdi]
cmp dword [0x18008a298], eax
jle 0x180017125
lea rcx, [0x18008a298]
call fcn.180027290
cmp dword [0x18008a298], 0xffffffff
jne 0x180017125
mov rax, qword [str.UWVSK__]
mov qword [rsp + 0x28], rax
movdqa xmm5, xmmword [0x18004b210]
movdqa xmm2, xmmword [0x18004b1d0]
movdqa xmm3, xmmword [0x18004b1c0]
movdqa xmm7, xmmword [0x18004b260]
movdqa xmm6, xmmword [0x18004b200]
movdqa xmm4, xmmword [0x18004b280]
mov r10d, dword [0x180050090]
cmp byte [0x18002ac27], sil
je 0x180016fc3
cmp r10d, 2
jl 0x180016f7c
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
movdqa xmm1, xmm3
psubd xmm1, xmm0
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm7
movd xmm0, dword [rsp + 0x28]
xorps xmm1, xmm0
movd dword [rsp + 0x28], xmm1
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
movdqa xmm1, xmm2
psubd xmm1, xmm0
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
paddb xmm1, xmm7
movd xmm0, dword [rsp + 0x2c]
xorps xmm1, xmm0
movd dword [rsp + 0x2c], xmm1
jmp 0x180016fc3
lea r9, [rsp + 0x28]
mov r8d, esi
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x180016f90
mov eax, dword [0x18002abd8]
mov dword [rsp + 0x40], eax
movsd xmm0, qword [str.VMUHWOPSn_:D]
movzx eax, byte [0x18002abdc]
movsd qword [rsp + 0x38], xmm0
mov byte [rsp + 0x44], al
mov r8d, esi
cmp r10d, 2
jl 0x1800170bd
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm5
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd eax, xmm7
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.VMUHWOPSn_:D]
xorps xmm3, xmm0
movd dword [rsp + 0x38], xmm3
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x3c]
xorps xmm2, xmm1
movd dword [rsp + 0x3c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x38]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x1800170d0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.180001f60
mov qword [0x18008a300], rax
lea rcx, [0x18008a298]
call fcn.180027224
mov r15, qword [0x18008a300]
mov eax, dword [rdi]
cmp dword [0x18008a2f8], eax
jle 0x18001717b
lea rcx, [0x18008a2f8]
call fcn.180027290
cmp dword [0x18008a2f8], 0xffffffff
jne 0x18001717b
lea rcx, [0x18002a978]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18008a2b8], rax
lea rcx, [0x18008a2f8]
call fcn.180027224
mov dword [rsp + 0x48], 0x25ff
mov word [rsp + 0x4c], 0
mov qword [rsp + 0x4e], r15
mov rax, qword [0x18008a2a8]
mov qword [rsp + 0x28], 0xe
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
mov rcx, qword [rbx + 0x38]
test rcx, rcx
jne 0x1800171be
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
call qword [rax + 0x10]
test al, al
je 0x1800172f7
mov rax, qword [0x18008a2a8]
mov qword [rsp + 0x38], 0xe
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov rcx, qword [rbx + 0x78]
test rcx, rcx
jne 0x18001720a
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x28]
call qword [rax + 0x10]
test al, al
je 0x1800172f7
mov rax, qword [0x18008a2b8]
mov r8d, 0x1000
mov rdx, r13
lea rcx, [rsp + 0x70]
call rax
mov rdi, rax
mov rcx, qword [0x18008a2a8]
mov qword [rsp + 0x38], 0xe
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbx + 0x78]
test rcx, rcx
jne 0x180017270
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x28]
call qword [rax + 0x10]
test al, al
je 0x1800172f7
test rdi, rdi
je 0x1800172f7
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [r14 + rdi], 0
jne 0x180017295
movsxd rax, dword [rbp - 0x54]
lea rcx, [rsp + 0x70]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
add r12, rax
movzx r15d, word [rcx + 6]
cmp si, r15w
jae 0x1800172f7
lea rcx, [rsi + rsi*4]
lea rbx, [r12 + rcx*8]
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1800172f0
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x1800172e2
cmp rdi, rax
je 0x18001732d
inc esi
cmp esi, r15d
jb 0x1800172c1
xor eax, eax
mov rcx, qword [rbp + 0xf70]
xor rcx, rsp
call fcn.1800271c0
lea r11, [rsp + 0x10a0]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x1800172f7
mov ecx, dword [rbx + 8]
lea rax, [rsp + rax + 0x70]
test rax, rax
je 0x1800172f7
test ecx, ecx
je 0x1800172f7
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x180017351
mov dword [rdx], ecx
lea rcx, [rsp + 0x70]
sub rax, rcx
add rax, r13
jmp 0x1800172f9