Function at 0x140028330
Capabilities:
Check if file exists
Execute command
Get common file path
Get file attributes
Get program files directory
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x14003b040]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov byte [rbp + 0xa0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0xa1]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x1b0], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x1b1]
call sub.VCRUNTIME140.dll_memset
movabs rax, 0x5c657261574d56
mov qword [rsp + 0x70], rax
xor edx, edx
mov r8d, 0xfc
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea r8d, [r9 + 0x26]
lea rdx, [rbp + 0xa0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor edi, edi
cmp eax, 0xffffffff
je 0x140028401
test al, 0x10
lea eax, [rdi + 1]
jne 0x140028403
mov eax, edi
test eax, eax
jne 0x1400284b8
lea rax, str.vmtoolsd.exe
mov qword [rsp + 0x40], rax
lea rax, str.vmwaretray.exe
mov qword [rsp + 0x48], rax
lea rax, str.vmwareuser.exe
mov qword [rsp + 0x50], rax
lea rax, str.VGAuthService.exe
mov qword [rsp + 0x58], rax
lea rax, str.vmacthlp.exe
mov qword [rsp + 0x60], rax
nop word [rax + rax]
mov rsi, qword [rsp + rdi*8 + 0x40]
mov dword [rsp + 0x70], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140028498
mov rdx, rsi
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
mov rcx, rbx
test eax, eax
je 0x14002850c
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140028471
inc rdi
cmp rdi, 5
jb 0x140028450
mov eax, 1
xor ecx, ecx
cpuid
shr ecx, 0x1f
not cl
test cl, 1
jne 0x140028540
lea rcx, [rsp + 0x70]
call fcn.140026310
lea rdx, str.C:ProgramDatalog.txt
lea rcx, [rsp + 0x70]
call fcn.14002ba20
nop
lea rcx, [rsp + 0x70]
call fcn.14002ba10
test al, al
je 0x140028514
lea rdx, str.Sorry__this_application_cannot_run_under_a_Virtual_Machine.
lea rcx, [rsp + 0x70]
call fcn.14002c030
lea rcx, [rsp + 0x70]
call fcn.14002b9d0
lea rcx, str.start_C:ProgramDatalog.txt
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140028537
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400284b8
lea rdx, str.Error:_Unable_to_open_file.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14002c030
lea rdx, [0x14002c220]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14002ccd0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret