Function at 0x140005c00
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 0x140005d04
lea rax, [rbp - 0x30]
mov qword [rbp - 0x30], rbx
lea r9, [0x14001c748]
mov qword [rsp + 0x20], rax
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [0x14001c728]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140005cfe
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 0x140005cf4
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 0x140005cee
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 0x140005d11
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 0x140005e2d
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 0x140005e27
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 0x140005e27
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 0x140005e23
mov eax, 0x2011
cmp ax, word [rbp - 0x18]
jne 0x140005e23
mov rax, qword [rbp - 0x10]
mov ecx, dword [rax + 0x18]
mov rbx, qword [rax + 0x10]
mov dword [rdi + 0x10], ecx
call fcn.14000672c
mov r8d, dword [rdi + 0x10]
mov rdx, rbx
mov rcx, rax
mov qword [rdi + 8], rax
call fcn.140008300
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