Function at 0x140005cf0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
xor edx, edx
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140005df4
lea rax, [rbp - 0x30]
mov qword [rbp - 0x30], rbx
lea r9, [0x14001c760]
mov qword [rsp + 0x20], rax
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [0x14001c740]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140005dee
mov rcx, qword [rbp - 0x30]
lea rdx, [rbp + 0x38]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x38], rbx
lea rdx, str.ROOTWMI
mov qword [rbp + 0x38], rbx
xor r8d, r8d
mov rax, qword [rcx]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [rax + 0x18]
test eax, eax
js 0x140005de4
mov rcx, qword [rbp + 0x38]
lea edx, [rbx + 0xa]
mov dword [rsp + 0x38], ebx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov rcx, qword [rbp + 0x38]
test eax, eax
js 0x140005dde
mov qword [rbp - 0x20], rbx
lea rdx, [rbp - 0x20]
mov rax, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea rdx, str.MSSMBios_RawSMBiosTables
call qword [rax + 0x90]
test eax, eax
jns 0x140005e01
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
add rsp, 0x80
pop rdi
pop rbx
pop rbp
ret
mov rcx, qword [rbp - 0x20]
lea rdx, [rbp + 0x30]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x28]
mov edx, 0xffffffff
mov qword [rbp - 0x28], rbx
mov dword [rbp + 0x30], ebx
mov rax, qword [rcx]
lea r8d, [rdx + 2]
call qword [rax + 0x20]
test eax, eax
js 0x140005f1d
lea rcx, [rbp - 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0x28]
mov qword [rsp + 0x28], rbx
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea rdx, str.SmbiosMajorVersion
mov rax, qword [rcx]
call qword [rax + 0x20]
lea rcx, [rbp - 0x18]
test eax, eax
js 0x140005f17
movzx eax, byte [rbp - 0x10]
mov byte [rdi], al
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0x28]
mov qword [rsp + 0x28], rbx
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea rdx, str.SmbiosMinorVersion
mov rax, qword [rcx]
call qword [rax + 0x20]
lea rcx, [rbp - 0x18]
test eax, eax
js 0x140005f17
movzx eax, byte [rbp - 0x10]
mov byte [rdi + 1], al
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0x28]
mov qword [rsp + 0x28], rbx
lea r9, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea rdx, str.SMBiosData
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x140005f13
mov eax, 0x2011
cmp ax, word [rbp - 0x18]
jne 0x140005f13
mov rax, qword [rbp - 0x10]
mov ecx, dword [rax + 0x18]
mov rbx, qword [rax + 0x10]
mov dword [rdi + 0x10], ecx
call fcn.140006964
mov r8d, dword [rdi + 0x10]
mov rdx, rbx
mov rcx, rax
mov qword [rdi + 8], rax
call fcn.140008350
mov ebx, 1
lea rcx, [rbp - 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
add rsp, 0x80
pop rdi
pop rbx
pop rbp
ret