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

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x80
xor ebx, ebx
mov rdi, rcx
lea rax, [rbp - 0x30]
lea r9, [0x140019280]
lea rcx, [0x140019260]
lea r8d, [rbx + 1]
xor edx, edx
mov qword [rbp - 0x30], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400030cc
mov rcx, qword [rbp - 0x30]
lea rdx, [rbp + 0x38]
mov qword [rbp + 0x38], rbx
mov rax, qword [rcx]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea rdx, str.ROOTWMI
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [rax + 0x18]
test eax, eax
js 0x1400030c2
mov rcx, qword [rbp + 0x38]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
lea edx, [rbx + 0xa]
xor r9d, r9d
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 0x1400030bc
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], rbx
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdx
lea rdx, str.MSSMBios_RawSMBiosTables
xor r9d, r9d
xor r8d, r8d
call qword [rax + 0x90]
test eax, eax
jns 0x1400030e0
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 [rbp - 0x28], rbx
mov dword [rbp + 0x30], ebx
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x28]
mov r8d, 1
or edx, 0xffffffff
call qword [rax + 0x20]
test eax, eax
js 0x1400031fc
lea rcx, [rbp - 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0x28]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x18]
lea rdx, str.SmbiosMajorVersion
xor r8d, r8d
call qword [rax + 0x20]
lea rcx, [rbp - 0x18]
test eax, eax
js 0x1400031f6
movzx eax, byte [rbp - 0x10]
mov byte [rdi], al
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
lea rdx, [rbp + 0x28]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x18]
lea rdx, str.SmbiosMinorVersion
xor r8d, r8d
call qword [rax + 0x20]
lea rcx, [rbp - 0x18]
test eax, eax
js 0x1400031f6
movzx eax, byte [rbp - 0x10]
mov byte [rdi + 1], al
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
lea rdx, [rbp + 0x28]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x18]
lea rdx, str.SMBiosData
xor r8d, r8d
call qword [rax + 0x20]
test eax, eax
js 0x1400031f2
mov eax, 0x2011
cmp ax, word [rbp - 0x18]
jne 0x1400031f2
mov rax, qword [rbp - 0x10]
mov ecx, dword [rax + 0x18]
mov rbx, qword [rax + 0x10]
mov dword [rdi + 0x10], ecx
call fcn.140003c08
mov r8d, dword [rdi + 0x10]
mov rcx, rax
mov rdx, rbx
mov qword [rdi + 8], rax
call fcn.14000ad60
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