Function at 0x1800187b0
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
sub rsp, 0x128
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rsp + 0x110], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1800187e5
xor al, al
jmp 0x180018dd7
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x18001883a
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x180018dd7
mov qword [rsp + 0xb0], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [0x1802205e0]
mov r8d, 1
xor edx, edx
lea rcx, [0x1802205f0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x180018887
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x180018dd7
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x68], rax
lea rdx, str.ROOTCIMV2
lea rcx, [rsp + 0x70]
call fcn.180017d90
mov rcx, rax
call fcn.180018110
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x68]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x70]
call fcn.180018050
nop
cmp dword [rsp + 0x50], 0
jge 0x180018945
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb0]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x180018dd7
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1800189c3
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb8]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb0]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x180018dd7
mov qword [rsp + 0xc0], 0
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x88], rax
lea rdx, str.SELECT__FROM_Win32_BIOS
lea rcx, [rsp + 0x98]
call fcn.180017d10
mov rcx, rax
call fcn.180018110
mov qword [rsp + 0x78], rax
lea rdx, [0x180208fac]
lea rcx, [rsp + 0x90]
call fcn.180017d10
mov rcx, rax
call fcn.180018110
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, Ordinal_50
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xb8]
call qword [rsp + 0x88]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x90]
call fcn.180018050
lea rcx, [rsp + 0x98]
call fcn.180018050
nop
cmp dword [rsp + 0x50], 0
jge 0x180018ac5
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb8]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb0]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x180018dd7
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0xe8], 0
cmp qword [rsp + 0xc0], 0
je 0x180018d8d
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc8]
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0xa0]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0xe8], 0
jne 0x180018b44
jmp 0x180018d8d
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xd0]
xor r8d, r8d
lea rdx, [0x180208fb0]
mov rcx, qword [rsp + 0xc8]
call qword [rsp + 0xa8]
mov dword [rsp + 0x58], eax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0xf0]
call fcn.180017bb0
lea rcx, [rsp + 0xd0]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
xor r8d, r8d
lea rdx, str.VMware
lea rcx, [rsp + 0xf0]
call fcn.180018fe0
cmp rax, 0xffffffffffffffff
jne 0x180018cec
xor r8d, r8d
lea rdx, str.VirtualBox
lea rcx, [rsp + 0xf0]
call fcn.180018fe0
cmp rax, 0xffffffffffffffff
jne 0x180018cec
xor r8d, r8d
lea rdx, [0x180208ff8]
lea rcx, [rsp + 0xf0]
call fcn.180018fe0
cmp rax, 0xffffffffffffffff
jne 0x180018cec
xor r8d, r8d
lea rdx, [0x180209000]
lea rcx, [rsp + 0xf0]
call fcn.180018fe0
cmp rax, 0xffffffffffffffff
jne 0x180018cec
xor r8d, r8d
lea rdx, [0x180209010]
lea rcx, [rsp + 0xf0]
call fcn.180018fe0
cmp rax, 0xffffffffffffffff
jne 0x180018cec
xor r8d, r8d
lea rdx, [0x180209028]
lea rcx, [rsp + 0xf0]
call fcn.180018fe0
cmp rax, 0xffffffffffffffff
jne 0x180018cec
xor r8d, r8d
lea rdx, str.Bochs
lea rcx, [rsp + 0xf0]
call fcn.180018fe0
cmp rax, 0xffffffffffffffff
jne 0x180018cec
xor r8d, r8d
lea rdx, [0x180209040]
lea rcx, [rsp + 0xf0]
call fcn.180018fe0
cmp rax, 0xffffffffffffffff
jne 0x180018cec
xor r8d, r8d
lea rdx, str.Bhyve
lea rcx, [rsp + 0xf0]
call fcn.180018fe0
cmp rax, 0xffffffffffffffff
jne 0x180018cec
xor r8d, r8d
lea rdx, str.Oracle
lea rcx, [rsp + 0xf0]
call fcn.180018fe0
cmp rax, 0xffffffffffffffff
je 0x180018d64
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc8]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc0]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb8]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb0]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov byte [rsp + 0x54], 1
lea rcx, [rsp + 0xf0]
call fcn.180018000
movzx eax, byte [rsp + 0x54]
jmp 0x180018dd7
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc8]
call qword [rax + reloc.WS2_32.dll_recv]
lea rcx, [rsp + 0xf0]
call fcn.180018000
nop
jmp 0x180018adc
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb8]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb0]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc0]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x128
ret