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

Disassembly:
sub rsp, 0x128
mov rax, qword [0x18047d0c0]
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 0x180017c95
xor al, al
jmp 0x180018287
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 0x180017cea
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x180018287
mov qword [rsp + 0xb0], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [0x1802118f0]
mov r8d, 1
xor edx, edx
lea rcx, [0x180211900]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x180017d37
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x180018287
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.1800174b0
mov rcx, rax
call fcn.180017550
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.180017530
nop
cmp dword [rsp + 0x50], 0
jge 0x180017df5
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 0x180018287
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 0x180017e73
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 0x180018287
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.180017410
mov rcx, rax
call fcn.180017550
mov qword [rsp + 0x78], rax
lea rdx, [0x180468014]
lea rcx, [rsp + 0x90]
call fcn.180017410
mov rcx, rax
call fcn.180017550
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.180017530
lea rcx, [rsp + 0x98]
call fcn.180017530
nop
cmp dword [rsp + 0x50], 0
jge 0x180017f75
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 0x180018287
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0xe8], 0
cmp qword [rsp + 0xc0], 0
je 0x18001823d
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 0x180017ff4
jmp 0x18001823d
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, [0x180468018]
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.180018380
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.1800182a0
cmp rax, 0xffffffffffffffff
jne 0x18001819c
xor r8d, r8d
lea rdx, str.VirtualBox
lea rcx, [rsp + 0xf0]
call fcn.1800182a0
cmp rax, 0xffffffffffffffff
jne 0x18001819c
xor r8d, r8d
lea rdx, [0x180468060]
lea rcx, [rsp + 0xf0]
call fcn.1800182a0
cmp rax, 0xffffffffffffffff
jne 0x18001819c
xor r8d, r8d
lea rdx, [0x180468068]
lea rcx, [rsp + 0xf0]
call fcn.1800182a0
cmp rax, 0xffffffffffffffff
jne 0x18001819c
xor r8d, r8d
lea rdx, [0x180468078]
lea rcx, [rsp + 0xf0]
call fcn.1800182a0
cmp rax, 0xffffffffffffffff
jne 0x18001819c
xor r8d, r8d
lea rdx, [0x180468090]
lea rcx, [rsp + 0xf0]
call fcn.1800182a0
cmp rax, 0xffffffffffffffff
jne 0x18001819c
xor r8d, r8d
lea rdx, str.Bochs
lea rcx, [rsp + 0xf0]
call fcn.1800182a0
cmp rax, 0xffffffffffffffff
jne 0x18001819c
xor r8d, r8d
lea rdx, [0x1804680a8]
lea rcx, [rsp + 0xf0]
call fcn.1800182a0
cmp rax, 0xffffffffffffffff
jne 0x18001819c
xor r8d, r8d
lea rdx, str.Bhyve
lea rcx, [rsp + 0xf0]
call fcn.1800182a0
cmp rax, 0xffffffffffffffff
jne 0x18001819c
xor r8d, r8d
lea rdx, str.Oracle
lea rcx, [rsp + 0xf0]
call fcn.1800182a0
cmp rax, 0xffffffffffffffff
je 0x180018214
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.180018310
movzx eax, byte [rsp + 0x54]
jmp 0x180018287
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.180018310
nop
jmp 0x180017f8c
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.1800c00c0
add rsp, 0x128
ret