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

Disassembly:
mov qword [rsp + 0x18], rsi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x140064010]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor esi, esi
xor edx, edx
xor ecx, ecx
mov qword [rbp + 0xf], rsi
mov qword [rbp + 7], rsi
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140047ed2
mov qword [rsp + 0x40], rsi
lea edx, [rsi - 1]
mov dword [rsp + 0x38], esi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 3
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x140047ecc
lea rax, [rbp + 0xf]
xor edx, edx
lea r9, [0x140050ce0]
mov qword [rsp + 0x20], rax
lea r8d, [rsi + 1]
lea rcx, [0x140050cf0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140047ecc
mov rax, qword [rbp + 0xf]
mov qword [rsp + 0xb0], rbx
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x18]
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, [rbp + 7]
xor r9d, r9d
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov rcx, qword [rbp + 0xf]
mov rdx, rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call rbx
test eax, eax
js 0x140047eb8
mov rcx, qword [rbp + 7]
lea edx, [rsi + 0xa]
mov dword [rsp + 0x38], esi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x140047eae
mov rax, qword [rbp + 7]
mov qword [rbp + 0x17], rsi
mov qword [rsp + 0xb8], rdi
mov rcx, qword [rax]
mov rdi, qword [rcx + 0xa0]
lea rcx, str.SELECT__FROM_Win32_ComputerSystem
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, [0x140054b60]
mov rbx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, [rbp + 0x17]
mov r8, rbx
mov qword [rsp + 0x28], rcx
lea r9d, [rsi + 0x30]
mov rcx, qword [rbp + 7]
mov rdx, rax
mov qword [rsp + 0x20], rsi
call rdi
mov rdi, qword [rsp + 0xb8]
test eax, eax
js 0x140047eae
mov rcx, qword [rbp + 0x17]
mov qword [rbp + 0x1f], rsi
mov dword [rbp + 0x3f], esi
test rcx, rcx
je 0x140047e9b
lea rbx, str.Microsoft_Corporation
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x3f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x1f]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp + 0x3f], esi
je 0x140047e97
mov rcx, qword [rbp + 0x1f]
lea r9, [rbp + 0x27]
mov qword [rsp + 0x28], rsi
lea rdx, str.Manufacturer
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x140047e80
cmp word [rbp + 0x27], 8
jne 0x140047e80
mov rdx, qword [rbp + 0x2f]
mov rax, rsi
movzx ecx, word [rdx + rax*2]
cmp cx, word [rbx + rax*2]
jne 0x140047e80
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rbx + rax*2 + 2]
jne 0x140047e80
add rax, 2
cmp rax, 0x16
jne 0x140047e01
lea rcx, [rbp + 0x27]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x1f]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140048a50
mov rsi, qword [rsp + 0xc0]
add rsp, 0xa0
pop rbp
ret
lea rcx, [rbp + 0x27]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x17]
test rcx, rcx
jne 0x140047da0
mov rsi, qword [rbp + 0x1f]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x140047e5b
call qword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x140047e63