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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rsi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x18000c593
lea rdx, str.Failed_to_initialize_COM_library._Error_code:_0x
lea rcx, [0x18007a500]
call fcn.1800013d0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, ebx
mov rcx, rax
call fcn.180005f50
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff3ff
bts ecx, 9
mov dword [rdx + rax + 0x18], ecx
mov rcx, rax
call fcn.180003690
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
test eax, eax
jns 0x18000c62d
lea rdx, str.Failed_to_initialize_security._Error_code:_0x
lea rcx, [0x18007a500]
call fcn.1800013d0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, ebx
mov rcx, rax
call fcn.180005f50
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff3ff
bts ecx, 9
mov dword [rdx + rax + 0x18], ecx
mov rcx, rax
call fcn.180003690
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x18000c581
mov qword [rbp - 0x29], r12
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
lea r9, [0x1800645e0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1800645f0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x18000c666
lea rdx, str.Failed_to_create_IWbemLocator_object._Error_code:_0x
jmp 0x18000c5d2
mov qword [rbp + 0x7f], r12
mov rax, qword [rbp - 0x29]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.180036368
mov rbx, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x18000c6b1
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMv2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x18000cb99
jmp 0x18000c6b4
mov rbx, r12
mov qword [rbp - 0x11], rbx
test rbx, rbx
je 0x18000cba4
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x29]
call rdi
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x18000c72e
mov rcx, qword [rbx]
test rcx, rcx
je 0x18000c70f
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18000c721
call fcn.1800363a4
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.1800363a4
test edi, edi
jns 0x18000c79e
lea rdx, str.Could_not_connect._Error_code:_0x
lea rcx, [0x18007a500]
call fcn.1800013d0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, edi
mov rcx, rax
call fcn.180005f50
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff3ff
bts ecx, 9
mov dword [rdx + rax + 0x18], ecx
mov rcx, rax
call fcn.180003690
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x18000c581
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
jns 0x18000c848
lea rdx, str.Could_not_set_proxy_blanket._Error_code:_0x
lea rcx, [0x18007a500]
call fcn.1800013d0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, ebx
mov rcx, rax
call fcn.180005f50
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff3ff
bts ecx, 9
mov dword [rdx + rax + 0x18], ecx
mov rcx, rax
call fcn.180003690
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x18000c581
mov qword [rbp - 0x19], r12
mov rax, qword [rbp + 0x7f]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.180036368
mov rbx, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x18000c88c
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_BaseBoard
call fcn.180036050
mov qword [rbx], rax
jmp 0x18000c88f
mov rbx, r12
mov qword [rbp - 9], rbx
test rbx, rbx
je 0x18000cba4
mov r14, qword [rbx]
mov ecx, 0x18
call fcn.180036368
mov rdi, rax
mov qword [rbp + 0x77], rax
test rax, rax
je 0x18000c8d1
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, [0x180061e08]
call fcn.180036050
mov qword [rdi], rax
jmp 0x18000c8d4
mov rdi, r12
mov qword [rbp - 1], rdi
test rdi, rdi
je 0x18000cb8e
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0x30
mov r8, r14
mov rdx, qword [rdi]
mov rcx, qword [rbp + 0x7f]
call r15
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x18000c945
mov rcx, qword [rdi]
test rcx, rcx
je 0x18000c925
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18000c937
call fcn.1800363a4
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.1800363a4
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x18000c984
mov rcx, qword [rbx]
test rcx, rcx
je 0x18000c965
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18000c977
call fcn.1800363a4
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.1800363a4
test r14d, r14d
jns 0x18000c9bd
lea rdx, str.Query_for_motherboard_information_failed._Error_code:_0x
lea rcx, [0x18007a500]
call fcn.1800013d0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, r14d
jmp 0x18000c800
mov qword [rbp - 0x21], r12
mov dword [rbp + 0x6f], r12d
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x18000cb65
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x21]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp + 0x6f], 0
je 0x18000cb65
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 7]
xor r8d, r8d
lea rdx, str.Manufacturer
call qword [rax + 0x20]
test eax, eax
js 0x18000ca5d
mov rdx, qword [rbp + 0xf]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x18000ca40
mov rcx, rsi
call fcn.1800098f0
lea rcx, [rbp + 7]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 7]
xor r8d, r8d
lea rdx, str.Product
call qword [rax + 0x20]
test eax, eax
js 0x18000caae
mov rdx, qword [rbp + 0xf]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x18000ca90
lea rcx, [rsi + 0x20]
call fcn.1800098f0
lea rcx, [rbp + 7]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 7]
xor r8d, r8d
lea rdx, str.Version
call qword [rax + 0x20]
test eax, eax
js 0x18000cafe
mov rdx, qword [rbp + 0xf]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x18000cae0
lea rcx, [rsi + 0x40]
call fcn.1800098f0
lea rcx, [rbp + 7]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 7]
xor r8d, r8d
lea rdx, str.SerialNumber
call qword [rax + 0x20]
test eax, eax
js 0x18000cb4e
mov rdx, qword [rbp + 0xf]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x18000cb30
lea rcx, [rsi + 0x60]
call fcn.1800098f0
lea rcx, [rbp + 7]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
jne 0x18000c9e0
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x18000c581
mov ecx, 0x8007000e
call fcn.180036040
nop
mov ecx, 0x8007000e
call fcn.180036040
nop
mov ecx, 0x8007000e
call fcn.180036040
int3