Function at 0x18001c450
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x180050040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, rdx
xor ebx, ebx
mov dword [rbp - 0x21], ebx
mov rdi, qword [rcx]
mov ecx, dword [0x18008a250]
mov rax, qword gs:[0x58]
mov edx, 4
mov rsi, qword [rax + rcx*8]
add rsi, rdx
mov eax, dword [rsi]
cmp dword [0x18008a298], eax
jle 0x18001c76e
lea rcx, [0x18008a298]
call fcn.180027290
cmp dword [0x18008a298], 0xffffffff
jne 0x18001c76e
mov rax, qword [str.UWVSK__]
mov qword [rbp - 0x29], 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], bl
je 0x18001c623
cmp r10d, 2
jl 0x18001c5e1
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 [rbp - 0x29]
xorps xmm1, xmm0
movd dword [rbp - 0x29], 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 [rbp - 0x25]
xorps xmm1, xmm0
movd dword [rbp - 0x25], xmm1
jmp 0x18001c623
lea r9, [rbp - 0x29]
mov r8d, ebx
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 0x18001c5f0
mov eax, dword [0x18002abd8]
mov dword [rbp - 9], eax
movsd xmm0, qword [str.VMUHWOPSn_:D]
movzx eax, byte [0x18002abdc]
movsd qword [rbp - 0x11], xmm0
mov byte [rbp - 5], al
cmp r10d, 2
jl 0x18001c713
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 [rbp - 0x11], 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 [rbp - 0xd]
xorps xmm2, xmm1
movd dword [rbp - 0xd], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rbp - 0x11]
add r8, rax
nop dword [rax]
mov eax, 0x8d3dcb09
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
sub al, cl
add al, 0x38
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xd
jl 0x18001c720
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x11]
call fcn.180001f60
mov qword [0x18008a300], rax
lea rcx, [0x18008a298]
call fcn.180027224
mov rbx, qword [0x18008a300]
mov eax, dword [rsi]
cmp dword [0x18008a2f8], eax
jle 0x18001c7c4
lea rcx, [0x18008a2f8]
call fcn.180027290
cmp dword [0x18008a2f8], 0xffffffff
jne 0x18001c7c4
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 [rbp - 1], 0x25ff
mov word [rbp + 3], 0
mov qword [rbp + 5], rbx
mov rax, qword [0x18008a2a8]
mov qword [rbp - 0x29], 0xe
lea rcx, [rbp + 0xf]
mov qword [rbp - 0x19], rcx
mov qword [rbp - 0x11], rax
mov rcx, qword [rdi + 0x38]
test rcx, rcx
jne 0x18001c800
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x29]
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x11]
call qword [rax + 0x10]
test al, al
je 0x18001c8c8
mov rax, qword [0x18008a2a8]
mov qword [rbp - 0x11], 0xe
lea rcx, [rbp - 1]
mov qword [rbp - 0x19], rcx
mov qword [rbp - 0x29], rax
mov rcx, qword [rdi + 0x78]
test rcx, rcx
jne 0x18001c845
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x29]
call qword [rax + 0x10]
test al, al
je 0x18001c8c8
mov rax, qword [0x18008a2b8]
lea rdx, [r14 + 3]
mov r8d, 4
lea rcx, [rbp - 0x21]
call rax
mov rbx, rax
mov rcx, qword [0x18008a2a8]
mov qword [rbp - 0x11], 0xe
lea rax, [rbp + 0xf]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x29], rcx
mov rcx, qword [rdi + 0x78]
test rcx, rcx
jne 0x18001c8a0
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x29]
call qword [rax + 0x10]
test al, al
je 0x18001c8c8
test rbx, rbx
je 0x18001c8c8
movsxd rax, dword [rbp - 0x21]
add rax, 7
add rax, r14
jmp 0x18001c8ca
xor eax, eax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1800271c0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret