Function at 0x7ff6273ac5e0
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, 0xd0
mov rax, qword [0x7ff6274be240]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
mov qword [rbp - 0x39], rcx
mov dword [rbp - 0x41], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r12d, r12d
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
lea r8d, [r12 + 6]
lea rdx, [0x7ff6274a3af4]
call fcn.7ff627395700
nop
mov dword [rbp - 0x41], 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x7ff6273ac6ae
lea rdx, [0x7ff6274a3990]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.7ff627393e80
mov edx, ebx
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x7ff627394950]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.7ff6274574f0
lea r11, [rsp + 0xd0]
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 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, [r9 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
test eax, eax
jns 0x7ff6273ac71b
lea rdx, [0x7ff6274a39c0]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.7ff627393e80
mov edx, ebx
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x7ff627394950]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x7ff6273ac683
mov qword [rbp - 0x11], r12
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9, [0x7ff627493458]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x7ff627493468]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x7ff6273ac751
lea rdx, [0x7ff6274a39f0]
jmp 0x7ff6273ac6e9
mov qword [rbp - 0x19], r12
mov rax, qword [rbp - 0x11]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.7ff627457510
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x7ff6273ac7a8
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, [0x7ff6274a3808]
call qword [sym.imp.oleaut32.dll_SysAllocString]
mov qword [rbx], rax
test rax, rax
je 0x7ff6273acb79
jmp 0x7ff6273ac7ab
mov rbx, r12
mov qword [rbp - 0x31], rbx
test rbx, rbx
je 0x7ff6273acb84
lea rax, [rbp - 0x19]
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 - 0x11]
call rsi
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x7ff6273ac825
mov rcx, qword [rbx]
test rcx, rcx
je 0x7ff6273ac806
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x7ff6273ac818
call fcn.7ff627457864
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.7ff627457864
test esi, esi
jns 0x7ff6273ac86c
lea rdx, [0x7ff6274a3a28]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.7ff627393e80
mov edx, esi
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x7ff627394950]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x7ff6273ac683
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 - 0x19]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
jns 0x7ff6273ac8ed
lea rdx, [0x7ff6274a3a60]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.7ff627393e80
mov edx, ebx
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x7ff627394950]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
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]
jmp 0x7ff6273ac683
mov qword [rbp - 9], r12
mov rax, qword [rbp - 0x19]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.7ff627457510
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x7ff6273ac93d
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, [0x7ff6274a3a90]
call fcn.7ff62745d440
mov qword [rbx], rax
jmp 0x7ff6273ac940
mov rbx, r12
mov qword [rbp - 0x29], rbx
test rbx, rbx
je 0x7ff6273acb84
mov r14, qword [rbx]
mov ecx, 0x18
call fcn.7ff627457510
mov rsi, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x7ff6273ac98e
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, [0x7ff6274a3870]
call fcn.7ff62745d440
mov qword [rsi], rax
jmp 0x7ff6273ac991
mov rsi, r12
mov qword [rbp - 0x21], rsi
test rsi, rsi
je 0x7ff6273acb6e
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0x30
mov r8, r14
mov rdx, qword [rsi]
mov rcx, qword [rbp - 0x19]
call r15
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rsi + 0x10], ecx
cmp ecx, 1
jne 0x7ff6273aca02
mov rcx, qword [rsi]
test rcx, rcx
je 0x7ff6273ac9e2
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov qword [rsi], r12
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x7ff6273ac9f4
call fcn.7ff627457864
mov qword [rsi + 8], r12
mov edx, 0x18
mov rcx, rsi
call fcn.7ff627457864
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x7ff6273aca41
mov rcx, qword [rbx]
test rcx, rcx
je 0x7ff6273aca22
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x7ff6273aca34
call fcn.7ff627457864
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.7ff627457864
test r14d, r14d
jns 0x7ff6273aca61
lea rdx, [0x7ff6274a3ab8]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.7ff627393e80
mov edx, r14d
jmp 0x7ff6273ac8b5
mov qword [rbp - 1], r12
mov dword [rbp + 0x1f], r12d
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x7ff6273acb45
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 1]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp + 0x1f], 0
je 0x7ff6273acb45
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 7]
xor r8d, r8d
lea rdx, [0x7ff6274a3b00]
call qword [rax + 0x20]
test eax, eax
js 0x7ff6273acb2e
mov rcx, qword [rbp + 0xf]
call fcn.7ff62745d320
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x7ff6273acae0
mov rcx, qword [rdi + 0x18]
cmp rbx, rcx
ja 0x7ff6273acb16
mov rsi, rdi
cmp rcx, 0xf
jbe 0x7ff6273acafe
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy_1
mov byte [rsi + rbx], 0
jmp 0x7ff6273acb24
mov r9, rax
mov rdx, rbx
mov rcx, rdi
call fcn.7ff6273960d0
lea rcx, [rbp + 7]
call qword [sym.imp.oleaut32.dll_VariantClear]
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 9]
test rcx, rcx
jne 0x7ff6273aca80
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]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x7ff6273ac683
mov ecx, 0x8007000e
call fcn.7ff62745d310
nop
mov ecx, 0x8007000e
call fcn.7ff62745d310
nop
mov ecx, 0x8007000e
call fcn.7ff62745d310
int3