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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x14000f008]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rcx
mov qword [rbp - 9], rcx
xor r15d, r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x140002671
lea rdx, str.Failed_to_initialize_COM_library.
mov rcx, rsi
call fcn.140005290
mov rax, rsi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140007cb0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x1400026b2
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, str.Failed_to_initialize_security.
jmp 0x14000263d
mov qword [rbp - 0x19], r15
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
lea r9, [0x14000a568]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14000a578]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400026ef
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, str.Failed_to_create_IWbemLocator_object.
jmp 0x14000263d
mov qword [rbp - 0x21], r15
mov ecx, 0x18
call fcn.140007cd8
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14000273b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140002ada
jmp 0x14000273e
mov rbx, r15
mov qword [rbp - 0x39], rbx
test rbx, rbx
je 0x140002ae5
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
lea rdx, [rbp - 0x21]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x1400027bc
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000279d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400027af
call fcn.140007cd0
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140007cd0
test edi, edi
jns 0x1400027dc
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, str.Could_not_connect.
jmp 0x14000263d
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140002834
mov rcx, qword [rbp - 0x21]
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]
lea rdx, str.Could_not_set_proxy_blanket.
jmp 0x14000263d
mov qword [rbp - 0x11], r15
mov ecx, 0x18
call fcn.140007cd8
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x140002876
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_DiskDrive
call fcn.140008b40
mov qword [rbx], rax
jmp 0x140002879
mov rbx, r15
mov qword [rbp - 0x31], rbx
test rbx, rbx
je 0x140002ae5
mov ecx, 0x18
call fcn.140007cd8
mov rdi, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x1400028c4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], 1
lea rcx, [0x14000a770]
call fcn.140008b40
mov qword [rdi], rax
jmp 0x1400028c7
mov rdi, r15
mov qword [rbp - 0x29], rdi
test rdi, rdi
je 0x140002acf
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
lea rdx, [rbp - 0x11]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r15
mov r9d, 0x30
mov r8, qword [rbx]
mov rdx, qword [rdi]
call qword [rax + 0xa0]
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14000293e
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000291e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r15
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140002930
call fcn.140007cd0
mov qword [rdi + 8], r15
mov edx, 0x18
mov rcx, rdi
call fcn.140007cd0
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14000297d
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000295e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140002970
call fcn.140007cd0
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140007cd0
test r14d, r14d
jns 0x1400029a8
mov rcx, qword [rbp - 0x21]
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]
lea rdx, str.Query_failed.
jmp 0x14000263d
mov qword [rbp - 9], r15
mov dword [rbp + 0x17], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], 7
mov qword [rbp + 0x37], 0xf
mov rax, qword [str.Unknown]
mov dword [rbp + 0x1f], eax
movzx eax, word [0x14000a62c]
mov word [rbp + 0x23], ax
movzx eax, byte [0x14000a62e]
mov byte [rbp + 0x25], al
mov byte [rbp + 0x26], 0
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140002a97
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x17]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 9]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp + 0x17], 0
je 0x140002a97
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 1]
xor r8d, r8d
lea rdx, str.SerialNumber
call qword [rax + 0x20]
test eax, eax
js 0x140002a80
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140002a76
call fcn.140008a20
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140002a60
mov rdx, rax
lea rcx, [rbp + 0x1f]
call fcn.140005500
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
jne 0x140002a00
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
movups xmm0, xmmword [rbp + 0x1f]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x2f]
movups xmmword [rsi + 0x10], xmm1
jmp 0x140002645
mov ecx, 0x8007000e
call fcn.140008a10
nop
mov ecx, 0x8007000e
call fcn.140008a10
nop
mov ecx, 0x8007000e
call fcn.140008a10
int3