Function at 0x140004890
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 [0x14007f180]
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 0x140004961
test al, 0x10
lea eax, [rdi + 1]
jne 0x140004963
mov eax, edi
test eax, eax
jne 0x140004a1e
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 0x1400049f8
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 0x140004a72
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400049d1
inc rdi
cmp rdi, 5
jb 0x1400049b0
mov eax, 1
xor ecx, ecx
cpuid
shr ecx, 0x1e
not cl
and cl, 2
or cl, 1
cmp cl, 1
jne 0x140004aa6
lea rcx, [rsp + 0x70]
call fcn.140004b90
lea rdx, str.C:ProgramDatalog.txt
lea rcx, [rsp + 0x70]
call fcn.14000b100
nop
lea rcx, [rsp + 0x70]
call fcn.14000b0f0
test al, al
je 0x140004a7a
lea rdx, str.Sorry__this_application_cannot_run_under_a_Virtual_Machine.
lea rcx, [rsp + 0x70]
call fcn.14000d8f0
lea rcx, [rsp + 0x70]
call fcn.14000b0b0
lea rcx, str.start_C:ProgramDatalog.txt
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140004a9d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004a1e
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.14000d8f0
mov rcx, rax
lea rdx, [0x14000dac0]
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.14005c2e0
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