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

Disassembly:
jmp 0x1400258d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3f8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x8a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x418]
mov rax, qword [0x140044018]
xor rax, rbp
mov qword [rbp + 0x398], rax
mov dword [rbp + 0x354], 0
lea rcx, [0x14004d45f]
call fcn.140011df2
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140025987
lea rdx, str.Failed_to_initialize_COM_library.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
lea rdx, [0x14001107d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x14003c1f0]
mov rcx, qword [rbp + 0x3c0]
call fcn.140011622
mov eax, dword [rbp + 0x354]
or eax, 1
mov dword [rbp + 0x354], eax
mov rax, qword [rbp + 0x3c0]
jmp 0x140025f9e
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140025a24
lea rdx, str.Failed_to_initialize_security.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
lea rdx, [0x14001107d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, [0x14003c1f0]
mov rcx, qword [rbp + 0x3c0]
call fcn.140011622
mov eax, dword [rbp + 0x354]
or eax, 1
mov dword [rbp + 0x354], eax
mov rax, qword [rbp + 0x3c0]
jmp 0x140025f9e
mov qword [rbp + 0x28], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [0x14003e660]
mov r8d, 1
xor edx, edx
lea rcx, [0x14003e798]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140025ab1
lea rdx, str.Failed_to_create_IWbemLocator_object.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
lea rdx, [0x14001107d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, [0x14003c1f0]
mov rcx, qword [rbp + 0x3c0]
call fcn.140011622
mov eax, dword [rbp + 0x354]
or eax, 1
mov dword [rbp + 0x354], eax
mov rax, qword [rbp + 0x3c0]
jmp 0x140025f9e
mov qword [rbp + 0x48], 0
lea rdx, str.ROOTCIMV2
lea rcx, [rbp + 0x2f8]
call fcn.140011ca8
mov qword [rbp + 0x368], rax
mov rax, qword [rbp + 0x368]
mov qword [rbp + 0x370], rax
mov rcx, qword [rbp + 0x370]
call fcn.140011dca
mov rcx, qword [rbp + 0x28]
mov rcx, qword [rcx]
mov qword [rbp + 0x378], rcx
lea rdx, [rbp + 0x48]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x378]
call qword [rax + 0x18]
mov dword [rbp + 4], eax
lea rcx, [rbp + 0x2f8]
call fcn.140011bea
cmp dword [rbp + 4], 0
jge 0x140025bb8
lea rdx, str.Could_not_connect_to_WMI.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
lea rdx, [0x14001107d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, [0x14003c1f0]
mov rcx, qword [rbp + 0x3c0]
call fcn.140011622
mov eax, dword [rbp + 0x354]
or eax, 1
mov dword [rbp + 0x354], eax
mov rax, qword [rbp + 0x3c0]
jmp 0x140025f9e
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140025c6a
lea rdx, str.Could_not_set_proxy_blanket.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
lea rdx, [0x14001107d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x48]
call qword [rax + 0x10]
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, [0x14003c1f0]
mov rcx, qword [rbp + 0x3c0]
call fcn.140011622
mov eax, dword [rbp + 0x354]
or eax, 1
mov dword [rbp + 0x354], eax
mov rax, qword [rbp + 0x3c0]
jmp 0x140025f9e
mov qword [rbp + 0x68], 0
lea rdx, str.SELECT__FROM_Win32_DiskDrive
lea rcx, [rbp + 0x318]
call fcn.140011820
mov qword [rbp + 0x368], rax
mov rax, qword [rbp + 0x368]
mov qword [rbp + 0x370], rax
mov rcx, qword [rbp + 0x370]
call fcn.140011dca
mov qword [rbp + 0x378], rax
lea rdx, [0x14003c304]
lea rcx, [rbp + 0x338]
call fcn.140011820
mov qword [rbp + 0x380], rax
mov rax, qword [rbp + 0x380]
mov qword [rbp + 0x388], rax
mov rcx, qword [rbp + 0x388]
call fcn.140011dca
mov rcx, qword [rbp + 0x48]
mov rcx, qword [rcx]
mov qword [rbp + 0x390], rcx
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov r9d, 0x30
mov rdx, qword [rbp + 0x378]
mov r8, rdx
mov rdx, rax
mov rcx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x390]
call qword [rax + 0xa0]
mov dword [rbp + 4], eax
lea rcx, [rbp + 0x338]
call fcn.140011bea
nop
lea rcx, [rbp + 0x318]
call fcn.140011bea
cmp dword [rbp + 4], 0
jge 0x140025dba
lea rdx, str.Query_for_disk_drive_failed.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011181
lea rdx, [0x14001107d]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x48]
call qword [rax + 0x10]
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, [0x14003c1f0]
mov rcx, qword [rbp + 0x3c0]
call fcn.140011622
mov eax, dword [rbp + 0x354]
or eax, 1
mov dword [rbp + 0x354], eax
mov rax, qword [rbp + 0x3c0]
jmp 0x140025f9e
mov qword [rbp + 0x88], 0
mov dword [rbp + 0xa4], 0
cmp qword [rbp + 0x68], 0
je 0x140025f45
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
lea rcx, [rbp + 0xa4]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x88]
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x68]
call qword [rax + 0x20]
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xa4], 0
jne 0x140025e1a
jmp 0x140025f45
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xe8]
xor r8d, r8d
lea rdx, str.SerialNumber
mov rcx, qword [rbp + 0x88]
call qword [rax + 0x20]
mov dword [rbp + 0xc4], eax
cmp dword [rbp + 0xc4], 0
jl 0x140025f2c
mov edx, 8
lea rcx, [rbp + 0x118]
call fcn.140011d57
mov rdx, qword [rbp + 0xf0]
lea rcx, [rbp + 0x118]
call fcn.140011ca8
nop
lea rcx, [rbp + 0x118]
call fcn.1400115a5
mov rdx, rax
lea rcx, [rbp + 0x138]
call fcn.140011622
nop
lea rcx, [rbp + 0xe8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x88]
call qword [rax + 0x10]
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x48]
call qword [rax + 0x10]
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, [rbp + 0x138]
mov rcx, qword [rbp + 0x3c0]
call fcn.140011cfd
mov eax, dword [rbp + 0x354]
or eax, 1
mov dword [rbp + 0x354], eax
lea rcx, [rbp + 0x138]
call fcn.140011276
nop
lea rcx, [rbp + 0x118]
call fcn.140011bea
mov rax, qword [rbp + 0x3c0]
jmp 0x140025f9e
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x88]
call qword [rax + 0x10]
jmp 0x140025dcf
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x48]
call qword [rax + 0x10]
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x10]
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x68]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdx, [0x14003c1f0]
mov rcx, qword [rbp + 0x3c0]
call fcn.140011622
mov eax, dword [rbp + 0x354]
or eax, 1
mov dword [rbp + 0x354], eax
mov rax, qword [rbp + 0x3c0]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, reloc.OLEAUT32.dll_VariantClear
call fcn.140011b90
mov rax, rdi
mov rcx, qword [rbp + 0x398]
xor rcx, rbp
call fcn.140011695
lea rsp, [rbp + 0x3a8]
pop rdi
pop rbp
ret