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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x1400a5080]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
mov qword [rbp - 0x31], rcx
xor r12d, r12d
mov dword [rbp - 0x39], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r12b
mov dword [rbp - 0x39], 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140013226
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]
test eax, eax
js 0x14001326c
mov qword [rbp + 7], r12
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
lea r9, [0x14008e370]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x14008e380]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400132c4
mov qword [rbp - 1], r12
mov rax, qword [rbp + 7]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x18]
lea ecx, [r12 + 0x18]
call fcn.140077adc
mov rbx, rax
mov qword [rbp - 0x41], rax
test rax, rax
je 0x140012e66
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140013210
jmp 0x140012e69
mov rbx, r12
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x14001321b
lea rax, [rbp - 1]
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 + 7]
call rsi
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140012ee3
mov rcx, qword [rbx]
test rcx, rcx
je 0x140012ec4
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140012ed6
call fcn.140077d60
mov qword [rbx + 8], r12
mov edx, Ordinal_27
mov rcx, rbx
call fcn.140077d60
test esi, esi
js 0x140013317
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 - 1]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x14001336e
mov qword [rbp + 0xf], r12
mov rax, qword [rbp - 1]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
mov ecx, Ordinal_27
call fcn.140077adc
mov rbx, rax
mov qword [rbp - 0x41], rax
test rax, rax
je 0x140012f71
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_BaseBoard
call fcn.140078880
mov qword [rbx], rax
jmp 0x140012f74
mov rbx, r12
mov qword [rbp - 0x29], rbx
test rbx, rbx
je 0x14001321b
mov r14, qword [rbx]
mov ecx, Ordinal_27
call fcn.140077adc
mov rsi, rax
mov qword [rbp - 0x41], rax
test rax, rax
je 0x140012fc2
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], r12
mov dword [rsi + 0x10], 1
lea rcx, [0x140096cc4]
call fcn.140078880
mov qword [rsi], rax
jmp 0x140012fc5
mov rsi, r12
mov qword [rbp - 0x21], rsi
test rsi, rsi
je 0x1400133d4
lea rax, [rbp + 0xf]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, Ordinal_50
mov r8, r14
mov rdx, qword [rsi]
mov rcx, qword [rbp - 1]
call r15
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rsi + 0x10], ecx
cmp ecx, 1
jne 0x140013036
mov rcx, qword [rsi]
test rcx, rcx
je 0x140013016
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], r12
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140013028
call fcn.140077d60
mov qword [rsi + 8], r12
mov edx, Ordinal_27
mov rcx, rsi
call fcn.140077d60
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140013075
mov rcx, qword [rbx]
test rcx, rcx
je 0x140013056
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140013068
call fcn.140077d60
mov qword [rbx + 8], r12
mov edx, Ordinal_27
mov rcx, rbx
call fcn.140077d60
test r14d, r14d
js 0x1400131b4
mov qword [rbp + 0x17], r12
mov dword [rbp + 0x1f], r12d
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140013165
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x17]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
cmp dword [rbp + 0x1f], 0
je 0x140013165
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x19]
xor r8d, r8d
lea rdx, str.Manufacturer
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
test eax, eax
js 0x14001314e
mov rcx, qword [rbp - 0x11]
call fcn.140078760
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140013100
mov rcx, qword [rdi + 0x18]
cmp rbx, rcx
ja 0x140013136
mov rsi, rdi
cmp rcx, 0xf
jbe 0x14001311e
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x140013144
mov r9, rax
mov rdx, rbx
mov rcx, rdi
call fcn.14001dfc0
lea rcx, [rbp - 0x19]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x17]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0xf]
test rcx, rcx
jne 0x1400130a0
mov rcx, qword [rbp - 1]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 7]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0xf]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140077820
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rbp - 0x19], 0xa8e0eccf
mov dword [rbp - 0x15], 0xf2fab1e4
mov dword [rbp - 0x11], 0xf2faf1fa
mov dword [rbp - 0xd], 0x100b8fc
lea rcx, [rbp - 0x19]
call fcn.1400134d0
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.140010820
lea rdx, [0x1400a2af8]
lea rcx, [rbp - 0x69]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov ecx, 0x8007000e
call fcn.140078750
nop
mov ecx, 0x8007000e
call fcn.140078750
int3
movdqa xmm0, xmmword [0x140097e90]
movdqu xmmword [rbp - 0x69], xmm0
movdqa xmm1, xmmword [0x140097de0]
movdqu xmmword [rbp - 0x59], xmm1
mov word [rbp - 0x49], 0x100
lea rcx, [rbp - 0x69]
call fcn.1400133e0
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.140010820
lea rdx, [0x1400a2af8]
lea rcx, [rbp - 0x19]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.ole32.dll_CoUninitialize]
movdqa xmm0, xmmword [0x140097e90]
movdqu xmmword [rbp - 0x69], xmm0
mov dword [rbp - 0x59], 0xfae4f4f0
mov dword [rbp - 0x55], 0xc0c7d280
mov dword [rbp - 0x51], 0xd3cfd7d1
mov word [rbp - 0x4d], Ordinal_211
mov byte [rbp - 0x4b], 1
lea rcx, [rbp - 0x69]
call fcn.140013410
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.140010820
lea rdx, [0x1400a2af8]
lea rcx, [rbp - 0x19]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.ole32.dll_CoUninitialize]
movdqa xmm0, xmmword [0x140097f00]
movdqu xmmword [rbp - 0x69], xmm0
movdqa xmm1, xmmword [0x140097dc0]
movdqu xmmword [rbp - 0x59], xmm1
mov dword [rbp - 0x49], 0xdbcdc8c6
mov word [rbp - 0x45], 0x100
lea rcx, [rbp - 0x69]
call fcn.140013440
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.140010820
lea rdx, [0x1400a2af8]
lea rcx, [rbp - 0x19]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
movdqa xmm0, xmmword [0x140097e80]
movdqu xmmword [rbp - 0x69], xmm0
mov dword [rbp - 0x59], 0xf0eabde8
mov dword [rbp - 0x55], 0xeaeff680
mov word [rbp - 0x51], 0x100
lea rcx, [rbp - 0x69]
call fcn.140013470
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.140010820
lea rdx, [0x1400a2af8]
lea rcx, [rbp - 0x19]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
movdqa xmm0, xmmword [0x140097e40]
movdqu xmmword [rbp - 0x69], xmm0
mov dword [rbp - 0x59], 0xbfe7e5f3
mov dword [rbp - 0x55], 0xcdc3cdc2
mov dword [rbp - 0x51], 0xd2c0cf
mov byte [rbp - 0x4d], 1
lea rcx, [rbp - 0x69]
call fcn.1400134a0
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.140010820
lea rdx, [0x1400a2af8]
lea rcx, [rbp - 0x19]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov ecx, 0x8007000e
call fcn.140078750
int3