Function at 0x1400080b0
Capabilities:
Check if file exists
Query environment variable
Query or enumerate registry value
Query service status

Disassembly:
sub rsp, 0x1b8
mov rax, qword [0x1401d60c0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000817d
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, str.Vendor
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x70], 0x100
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140008172
lea rdx, str.VMware
lea rcx, [rsp + 0xa0]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x140008172
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400f4b80
add rsp, 0x1b8
ret
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x1c0], rbx
lea rcx, str.C:ProgramDataVMware_
mov qword [rsp + 0x1b0], rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140008401
lea rcx, str.C:Program_FilesVMware_
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140008401
lea rcx, str.C:Program_Files__x86_VMware_
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140008401
mov r8d, Ordinal_50
lea rdx, [rsp + 0x40]
mov ecx, 0x7ffe0000
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp qword [rsp + 0x58], 0x200000
jb 0x14000821c
cmp dword [rsp + 0x60], 0x1000
jne 0x14000821c
cmp dword [rsp + 0x68], 0x20000
jne 0x14000821c
mov rcx, qword [rsp + 0x40]
lea rdx, str.VMware
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140008401
lea rcx, str.SYSTEMROOT
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rcx, rax
lea rdx, str.VMware
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140008401
lea rcx, str.PROCESSOR_IDENTIFIER
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rcx, rax
lea rdx, str.VMware
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140008401
lea rcx, str.PROGRAMFILES_X86_
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rcx, rax
lea rdx, str.VMware
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x140008401
lea rcx, str.C:Program_FilesVMware_
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140008401
lea rcx, str.C:ProgramDataVMware_
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140008401
lea rcx, str.C:WindowsSystem32drivers_vmmouse.sys
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140008401
lea rcx, str.C:WindowsSystem32drivers_vmhgfs.sys
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140008401
lea rcx, str.C:WindowsSystem32drivers_vmci.sys
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140008401
lea rcx, str.C:WindowsSystem32_vmtoolsd.exe
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140008401
lea rcx, str.C:WindowsSystem32_vmware_tray.exe
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140008401
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREVMware__Inc._
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400083f6
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREWow6432NodeVMware__Inc._
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1400083f6
xor edx, edx
xor ecx, ecx
mov r8d, 1
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
je 0x1400083f2
mov r8d, 4
lea rdx, str.VMTools
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x1400083e9
lea rdx, [rsp + 0x78]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov rcx, rdi
test eax, eax
je 0x1400083e3
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [rsp + 0x7c], 4
sete al
test al, al
jne 0x140008401
jmp 0x140008403
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x140008403
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rbx, qword [rsp + 0x1c0]
mov rdi, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400f4b80
add rsp, 0x1b8
ret