Function at 0x18001c900
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
mov rbx, qword [rcx]
mov ecx, dword [0x18008a250]
mov rax, qword gs:[0x58]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov eax, dword [rdi]
cmp dword [0x18008a298], eax
jle 0x18001cc1e
lea rcx, [0x18008a298]
call fcn.180027290
cmp dword [0x18008a298], 0xffffffff
jne 0x18001cc1e
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]
xor ecx, ecx
mov r10d, dword [0x180050090]
cmp byte [0x18002ac27], cl
je 0x18001cad3
cmp r10d, 2
jl 0x18001ca8e
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 0x18001cad3
lea r9, [rbp - 0x29]
mov r8d, ecx
nop word [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 edx, eax, 0x3a
movzx eax, r8b
sub al, dl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x18001caa0
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 0x18001cbc3
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 ecx, 8
movsxd rax, ecx
lea r8, [rbp - 0x11]
add r8, rax
nop dword [rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xd
jl 0x18001cbd0
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x11]
call fcn.180001f60
mov qword [0x18008a300], rax
lea rcx, [0x18008a298]
call fcn.180027224
mov rsi, qword [0x18008a300]
mov eax, dword [rdi]
cmp dword [0x18008a2f8], eax
jle 0x18001cc74
lea rcx, [0x18008a2f8]
call fcn.180027290
cmp dword [0x18008a2f8], 0xffffffff
jne 0x18001cc74
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], rsi
mov rax, qword [0x18008a2a8]
mov qword [rbp - 0x29], 0xe
lea rcx, [rbp + 0xf]
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x11], rax
mov rcx, qword [rbx + 0x38]
test rcx, rcx
jne 0x18001ccb0
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 - 0x21]
lea rdx, [rbp - 0x11]
call qword [rax + 0x10]
test al, al
je 0x18001cd70
mov rax, qword [0x18008a2a8]
mov qword [rbp - 0x11], 0xe
lea rcx, [rbp - 1]
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x29], rax
mov rcx, qword [rbx + 0x78]
test rcx, rcx
jne 0x18001ccf5
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 - 0x21]
lea rdx, [rbp - 0x29]
call qword [rax + 0x10]
test al, al
je 0x18001cd70
mov rax, qword [0x18008a2b8]
mov r8d, 8
mov rdx, r14
lea rcx, [rbp - 0x19]
call rax
mov rdi, rax
mov rcx, qword [0x18008a2a8]
mov qword [rbp - 0x11], 0xe
lea rax, [rbp + 0xf]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x29], rcx
mov rcx, qword [rbx + 0x78]
test rcx, rcx
jne 0x18001cd4f
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 - 0x21]
lea rdx, [rbp - 0x29]
call qword [rax + 0x10]
test al, al
je 0x18001cd70
test rdi, rdi
je 0x18001cd70
mov rax, qword [rbp - 0x19]
jmp 0x18001cd72
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