Function at 0x180025a80
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
mov rax, qword [0x180050040]
xor rax, rsp
mov qword [rbp - 1], rax
mov r15d, r9d
mov r12d, r8d
mov r14, rdx
xor ebx, ebx
mov dword [rbp - 0x41], 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 0x180025d9e
lea rcx, [0x18008a298]
call fcn.180027290
cmp dword [0x18008a298], 0xffffffff
jne 0x180025d9e
mov rax, qword [str.UWVSK__]
mov qword [rbp - 0x49], 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 0x180025c53
cmp r10d, 2
jl 0x180025c19
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 - 0x49]
xorps xmm1, xmm0
movd dword [rbp - 0x49], 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 - 0x45]
xorps xmm1, xmm0
movd dword [rbp - 0x45], xmm1
jmp 0x180025c53
lea r9, [rbp - 0x49]
mov r8d, ebx
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 0x180025c20
mov eax, dword [0x18002abd8]
mov dword [rbp - 0x29], eax
movsd xmm0, qword [str.VMUHWOPSn_:D]
movzx eax, byte [0x18002abdc]
movsd qword [rbp - 0x31], xmm0
mov byte [rbp - 0x25], al
cmp r10d, 2
jl 0x180025d43
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 - 0x31], 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 - 0x2d]
xorps xmm2, xmm1
movd dword [rbp - 0x2d], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rbp - 0x31]
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 0x180025d50
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x31]
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 0x180025df4
lea rcx, [0x18008a2f8]
call fcn.180027290
cmp dword [0x18008a2f8], 0xffffffff
jne 0x180025df4
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 - 0x21], 0x25ff
mov word [rbp - 0x1d], 0
mov qword [rbp - 0x1b], rbx
mov rax, qword [0x18008a2a8]
mov qword [rbp - 0x49], 0xe
lea rcx, [rbp - 0x11]
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x31], rax
mov rcx, qword [rdi + 0x38]
test rcx, rcx
jne 0x180025e30
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x49]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x31]
call qword [rax + 0x10]
test al, al
je 0x180025ef7
mov rax, qword [0x18008a2a8]
mov qword [rbp - 0x31], 0xe
lea rcx, [rbp - 0x21]
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x49], rax
mov rcx, qword [rdi + 0x78]
test rcx, rcx
jne 0x180025e75
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x31]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
call qword [rax + 0x10]
test al, al
je 0x180025ef7
mov rax, qword [0x18008a2b8]
lea rdx, [r14 + r12]
mov r8d, 4
lea rcx, [rbp - 0x41]
call rax
mov rbx, rax
mov rcx, qword [0x18008a2a8]
mov qword [rbp - 0x31], 0xe
lea rax, [rbp - 0x11]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x49], rcx
mov rcx, qword [rdi + 0x78]
test rcx, rcx
jne 0x180025ed0
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x31]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x49]
call qword [rax + 0x10]
test al, al
je 0x180025ef7
test rbx, rbx
je 0x180025ef7
movsxd rax, dword [rbp - 0x41]
add rax, r14
add rax, r15
jmp 0x180025ef9
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1800271c0
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret