Function at 0x180044290
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x518]
sub rsp, 0x610
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1800ea550]
xor rax, rsp
mov qword [rbp + 0x500], rax
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor esi, esi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
or edi, 0xffffffff
mov edx, edi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
lea r11, [0x1800eeb28]
mov qword [rsp + 0x20], r11
lea r9, [0x1800b6798]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x1800b6868]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp qword [0x1800eeb28], rsi
jne 0x1800444f7
lea edx, [rsi + 2]
lea r8d, [rsi + 1]
lea rcx, [rsp + 0x60]
call fcn.18000d500
nop
lea rdx, str.return__3.
lea rcx, [rsp + 0x60]
call fcn.180010b40
mov qword [rbp + 0x3b0], 0xf
mov qword [rbp + 0x3a8], rsi
mov byte [rbp + 0x398], sil
lea r8d, [rsi + 0x12]
lea rdx, str.WMIDeviceQueryInit
lea rcx, [rbp + 0x398]
call fcn.1800071c0
nop
mov qword [rbp + 0x428], 0xf
mov qword [rbp + 0x420], rsi
mov byte [rbp + 0x410], sil
lea r8d, [rsi + 0x12]
lea rdx, str.WMIDeviceQuery.cpp
lea rcx, [rbp + 0x410]
call fcn.1800071c0
nop
lea rdx, [rbp + 0x4b0]
lea rcx, [rsp + 0x60]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x398]
mov qword [rsp + 0x20], rax
mov r9d, 0x104
lea r8, [rbp + 0x410]
lea edx, [rsi + 3]
call fcn.180002e80
nop
cmp qword [rbp + 0x4c8], 8
jb 0x180044410
mov rcx, qword [rbp + 0x4b0]
call fcn.18007309c
mov qword [rbp + 0x4c8], 7
mov qword [rbp + 0x4c0], rsi
mov word [rbp + 0x4b0], si
cmp qword [rbp + 0x428], 0x10
jb 0x18004443f
mov rcx, qword [rbp + 0x410]
call fcn.18007309c
mov qword [rbp + 0x428], 0xf
mov qword [rbp + 0x420], rsi
mov byte [rbp + 0x410], 0
cmp qword [rbp + 0x3b0], 0x10
jb 0x18004446e
mov rcx, qword [rbp + 0x398]
call fcn.18007309c
mov qword [rbp + 0x3b0], 0xf
mov qword [rbp + 0x3a8], rsi
mov byte [rbp + 0x398], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x60], rax
lea rcx, [rsp + 0x68]
call fcn.18000d670
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x60], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 0x18], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.1800724a4
mov eax, 0xfffffffd
jmp 0x180044ab9
mov ecx, 0x18
call fcn.180074954
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x180044539
mov qword [rax + 8], rsi
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x18004453c
mov ecx, 0x8007000e
call fcn.180092c50
int3
mov rbx, rsi
mov qword [rsp + 0x50], rbx
test rbx, rbx
jne 0x180044551
mov ecx, 0x8007000e
call fcn.180092c50
nop
mov rcx, qword [0x1800eeb28]
mov rax, qword [rcx]
lea rdx, [0x1800eeb30]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
nop
lock xadd dword [rbx + 0x10], edi
dec edi
jne 0x1800445b4
mov rcx, qword [rbx]
test rcx, rcx
je 0x18004459e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800445ac
call fcn.180073b34
mov rcx, rbx
call fcn.18007309c
mov qword [rsp + 0x50], rsi
cmp qword [0x1800eeb28], 0
jne 0x18004479d
mov edx, 2
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x50]
call fcn.18000d500
nop
lea rdx, str.return__4.
lea rcx, [rbp + 0x50]
call fcn.180010b40
mov qword [rbp + 0x450], 0xf
mov qword [rbp + 0x448], rsi
mov byte [rbp + 0x438], 0
mov r8d, 0x12
lea rdx, str.WMIDeviceQueryInit
lea rcx, [rbp + 0x438]
call fcn.1800071c0
nop
mov qword [rbp + 0x400], 0xf
mov qword [rbp + 0x3f8], rsi
mov byte [rbp + 0x3e8], 0
mov r8d, 0x12
lea rdx, str.WMIDeviceQuery.cpp
lea rcx, [rbp + 0x3e8]
call fcn.1800071c0
nop
lea rdx, [rbp + 0x4d8]
lea rcx, [rbp + 0x50]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x438]
mov qword [rsp + 0x20], rax
mov r9d, reloc.OLEAUT32.dll_VarUI4FromDisp
lea r8, [rbp + 0x3e8]
mov edx, 3
call fcn.180002e80
nop
cmp qword [rbp + 0x4f0], 8
jb 0x1800446aa
mov rcx, qword [rbp + 0x4d8]
call fcn.18007309c
mov qword [rbp + 0x4f0], 7
mov qword [rbp + 0x4e8], rsi
mov word [rbp + 0x4d8], si
cmp qword [rbp + 0x400], 0x10
jb 0x1800446d9
mov rcx, qword [rbp + 0x3e8]
call fcn.18007309c
mov qword [rbp + 0x400], 0xf
mov qword [rbp + 0x3f8], rsi
mov byte [rbp + 0x3e8], 0
cmp qword [rbp + 0x450], 0x10
jb 0x180044708
mov rcx, qword [rbp + 0x438]
call fcn.18007309c
mov qword [rbp + 0x450], 0xf
mov qword [rbp + 0x448], rsi
mov byte [rbp + 0x438], 0
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x50], rax
lea rcx, [rbp + 0x58]
call fcn.18000d670
nop
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x50], rax
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0xd8], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xd8], rax
lea rcx, [rbp + 0xd8]
call fcn.1800724a4
mov eax, 0xfffffffc
jmp 0x180044ab9
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [0x1800eeb30]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edx, 2
lea r8d, [rdx - 1]
test eax, eax
je 0x18004494e
lea rcx, [rbp + 0x230]
call fcn.18000d500
nop
lea rdx, str.return__5.
lea rcx, [rbp + 0x230]
call fcn.180010b40
mov qword [rbp + 0x360], 0xf
mov qword [rbp + 0x358], rsi
mov byte [rbp + 0x348], 0
mov r8d, 0x12
lea rdx, str.WMIDeviceQueryInit
lea rcx, [rbp + 0x348]
call fcn.1800071c0
nop
mov qword [rbp + 0x388], 0xf
mov qword [rbp + 0x380], rsi
mov byte [rbp + 0x370], 0
mov r8d, 0x12
lea rdx, str.WMIDeviceQuery.cpp
lea rcx, [rbp + 0x370]
call fcn.1800071c0
nop
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x230]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x348]
mov qword [rsp + 0x20], rax
mov r9d, 0x126
lea r8, [rbp + 0x370]
mov edx, 3
call fcn.180002e80
nop
cmp qword [rbp + 0x478], 8
jb 0x1800448c1
mov rcx, qword [rbp + 0x460]
call fcn.18007309c
mov qword [rbp + 0x478], 7
mov qword [rbp + 0x470], rsi
mov word [rbp + 0x460], si
cmp qword [rbp + 0x388], 0x10
jb 0x1800448f0
mov rcx, qword [rbp + 0x370]
call fcn.18007309c
mov qword [rbp + 0x388], 0xf
mov qword [rbp + 0x380], rsi
mov byte [rbp + 0x370], 0
cmp qword [rbp + 0x360], 0x10
jb 0x18004491f
mov rcx, qword [rbp + 0x348]
call fcn.18007309c
mov qword [rbp + 0x360], 0xf
mov qword [rbp + 0x358], rsi
mov byte [rbp + 0x348], 0
lea rcx, [rbp + 0x230]
call fcn.18000caa0
mov eax, 0xfffffffb
jmp 0x180044ab9
lea rcx, [rbp + 0x140]
call fcn.18000d500
nop
lea rdx, str.return_1.
lea rcx, [rbp + 0x140]
call fcn.180010b40
mov qword [rbp + 0x3d8], 0xf
mov qword [rbp + 0x3d0], rsi
mov byte [rbp + 0x3c0], 0
mov r8d, 0x12
lea rdx, str.WMIDeviceQueryInit
lea rcx, [rbp + 0x3c0]
call fcn.1800071c0
nop
mov qword [rbp + 0x338], 0xf
mov qword [rbp + 0x330], rsi
mov byte [rbp + 0x320], 0
mov r8d, 0x12
lea rdx, str.WMIDeviceQuery.cpp
lea rcx, [rbp + 0x320]
call fcn.1800071c0
nop
lea rdx, [rbp + 0x488]
lea rcx, [rbp + 0x140]
call fcn.18000d630
mov rbx, rax
call fcn.18000ddc0
mov rcx, rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x20], rax
mov r9d, 0x12a
lea r8, [rbp + 0x320]
mov edx, 3
call fcn.180002e80
nop
cmp qword [rbp + 0x4a0], 8
jb 0x180044a31
mov rcx, qword [rbp + 0x488]
call fcn.18007309c
mov qword [rbp + 0x4a0], 7
mov qword [rbp + 0x498], rsi
mov word [rbp + 0x488], si
cmp qword [rbp + 0x338], 0x10
jb 0x180044a60
mov rcx, qword [rbp + 0x320]
call fcn.18007309c
mov qword [rbp + 0x338], 0xf
mov qword [rbp + 0x330], rsi
mov byte [rbp + 0x320], 0
cmp qword [rbp + 0x3d8], 0x10
jb 0x180044a8f
mov rcx, qword [rbp + 0x3c0]
call fcn.18007309c
mov qword [rbp + 0x3d8], 0xf
mov qword [rbp + 0x3d0], rsi
mov byte [rbp + 0x3c0], 0
lea rcx, [rbp + 0x140]
call fcn.18000caa0
mov eax, 1
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.180073c80
lea r11, [rsp + 0x610]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret