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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov r15, rcx
xor ebx, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140006e8d
mov qword [rbp - 0x21], rbx
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
lea r9, [0x140018c28]
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [0x140018bc8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140006e87
mov qword [rbp - 0x29], rbx
lea ecx, [rbx + 0x18]
call fcn.140007cc8
mov rdi, rax
mov qword [rbp + 0x6f], rax
test rax, rax
je 0x140006d9d
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, str.ROOTWMI
call qword [0x140016270]
mov qword [rdi], rax
test rax, rax
jne 0x140006da0
mov ecx, 0x8007000e
call fcn.140011a40
int3
mov rdi, rbx
mov qword [rbp + 0x2f], rdi
test rdi, rdi
jne 0x140006db4
mov ecx, 0x8007000e
call fcn.140011a40
nop
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdi]
call qword [rax + 0x18]
mov esi, eax
or r14d, 0xffffffff
lock dec dword [rdi + 0x10]
jne 0x140006e13
mov rcx, qword [rdi]
test rcx, rcx
je 0x140006dfd
call qword [0x140016258]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140006e0b
call fcn.140007e20
mov rcx, rdi
call fcn.140007b6c
test esi, esi
js 0x140006e7d
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov rcx, qword [rbp - 0x29]
test eax, eax
js 0x140006e77
mov qword [rbp + 7], rbx
mov rax, qword [rcx]
lea rdx, [rbp + 7]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.MSSMBios_RawSMBiosTables
call qword [rax + 0x90]
test eax, eax
jns 0x140006ea0
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140007135
mov qword [rbp - 0x19], rbx
mov dword [rbp + 0x77], ebx
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
lea rdx, [rbp + 0x77]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x19]
mov r8d, 1
mov edx, r14d
call qword [rax + 0x20]
test eax, eax
js 0x140007119
lea rcx, [rbp - 0x11]
call qword [0x140016260]
mov ecx, 0x18
call fcn.140007cc8
mov rdi, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x140006f0b
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, str.SmbiosMajorVersion
call fcn.1400118b0
mov qword [rdi], rax
jmp 0x140006f0e
mov rdi, rbx
mov qword [rbp + 0x27], rdi
test rdi, rdi
jne 0x140006f22
mov ecx, 0x8007000e
call fcn.140011a40
nop
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x11]
xor r8d, r8d
mov rdx, qword [rdi]
call qword [rax + 0x20]
mov esi, eax
lock dec dword [rdi + 0x10]
jne 0x140006f70
mov rcx, qword [rdi]
test rcx, rcx
je 0x140006f5a
call qword [0x140016258]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140006f68
call fcn.140007e20
mov rcx, rdi
call fcn.140007b6c
lea rcx, [rbp - 0x11]
test esi, esi
js 0x140007113
movzx eax, byte [rbp - 9]
mov byte [r15 + 4], al
call qword [0x140016260]
mov ecx, 0x18
call fcn.140007cc8
mov rdi, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x140006fbc
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, str.SmbiosMinorVersion
call fcn.1400118b0
mov qword [rdi], rax
jmp 0x140006fbf
mov rdi, rbx
mov qword [rbp + 0x17], rdi
test rdi, rdi
jne 0x140006fd3
mov ecx, 0x8007000e
call fcn.140011a40
nop
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x11]
xor r8d, r8d
mov rdx, qword [rdi]
call qword [rax + 0x20]
mov esi, eax
lock dec dword [rdi + 0x10]
jne 0x140007021
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000700b
call qword [0x140016258]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140007019
call fcn.140007e20
mov rcx, rdi
call fcn.140007b6c
lea rcx, [rbp - 0x11]
test esi, esi
js 0x140007113
movzx eax, byte [rbp - 9]
mov byte [r15 + 5], al
call qword [0x140016260]
mov ecx, 0x18
call fcn.140007cc8
mov rdi, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x14000706d
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, str.SMBiosData
call fcn.1400118b0
mov qword [rdi], rax
jmp 0x140007070
mov rdi, rbx
mov qword [rbp + 0x1f], rdi
test rdi, rdi
jne 0x140007084
mov ecx, 0x8007000e
call fcn.140011a40
nop
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x11]
xor r8d, r8d
mov rdx, qword [rdi]
call qword [rax + 0x20]
mov esi, eax
lock dec dword [rdi + 0x10]
jne 0x1400070d2
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400070bc
call qword [0x140016258]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400070ca
call fcn.140007e20
mov rcx, rdi
call fcn.140007b6c
test esi, esi
js 0x14000710f
mov eax, 0x2011
cmp ax, word [rbp - 0x11]
jne 0x14000710f
mov rax, qword [rbp - 9]
mov rbx, qword [rax + 0x10]
mov eax, dword [rax + 0x18]
mov dword [r15 + 0x10], eax
mov ecx, eax
call fcn.1400076e0
mov qword [r15 + 8], rax
mov r8d, dword [r15 + 0x10]
mov rdx, rbx
mov rcx, rax
call fcn.14000c8c0
mov ebx, 1
lea rcx, [rbp - 0x11]
call qword [0x140016268]
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x21]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret