Function at 0x1800416b0
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 [0x1801c3938]
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, [0x1801da9f8]
mov qword [rsp + 0x20], r11
lea r9, [0x180148868]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x180148938]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp qword [0x1801da9f8], rsi
jne 0x18004181a
lea rcx, [rsp + 0x60]
call fcn.180012fc0
nop
lea rdx, str.return__3.
lea rcx, [rsp + 0x60]
call fcn.18001da90
lea rdx, str.WMIDeviceQueryInit
lea rcx, [rbp + 0x398]
call fcn.1800104c0
nop
lea rdx, str.WMIDeviceQuery.cpp
lea rcx, [rbp + 0x410]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x4b0]
lea rcx, [rsp + 0x60]
call fcn.1800130a0
mov rbx, rax
call fcn.180014440
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.1800326a0
nop
lea rcx, [rbp + 0x4b0]
call fcn.1800126d0
nop
lea rcx, [rbp + 0x410]
call fcn.18008f070
nop
lea rcx, [rbp + 0x398]
call fcn.18008f070
nop
lea rcx, [rbp - 0x18]
call fcn.180013040
lea rcx, [rbp - 0x18]
call fcn.180012100
lea eax, [rsi - 3]
jmp 0x180041b9c
mov ecx, DispGetParam
call fcn.1800bf2c0
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x18004185c
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 0x18004185f
mov ecx, 0x8007000e
call fcn.1800e0510
int3
mov rbx, rsi
mov qword [rsp + 0x50], rbx
test rbx, rbx
jne 0x180041874
mov ecx, 0x8007000e
call fcn.1800e0510
nop
mov rcx, qword [0x1801da9f8]
mov rax, qword [rcx]
lea rdx, [0x1801daa00]
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 0x1800418d7
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800418c1
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800418cf
call fcn.1800bf278
mov rcx, rbx
call fcn.1800bf2b8
mov qword [rsp + 0x50], rsi
cmp qword [0x1801da9f8], 0
jne 0x1800419b9
lea rcx, [rbp + 0x50]
call fcn.180012fc0
nop
lea rdx, str.return__4.
lea rcx, [rbp + 0x50]
call fcn.18001da90
lea rdx, str.WMIDeviceQueryInit
lea rcx, [rbp + 0x438]
call fcn.1800104c0
nop
lea rdx, str.WMIDeviceQuery.cpp
lea rcx, [rbp + 0x3e8]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x4d8]
lea rcx, [rbp + 0x50]
call fcn.1800130a0
mov rbx, rax
call fcn.180014440
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.1800326a0
nop
lea rcx, [rbp + 0x4d8]
call fcn.1800126d0
nop
lea rcx, [rbp + 0x3e8]
call fcn.18008f070
nop
lea rcx, [rbp + 0x438]
call fcn.18008f070
nop
lea rcx, [rbp + 0xd8]
call fcn.180013040
lea rcx, [rbp + 0xd8]
call fcn.180012100
mov eax, 0xfffffffc
jmp 0x180041b9c
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 [0x1801daa00]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
je 0x180041ac9
lea rcx, [rbp + 0x230]
call fcn.180012fc0
nop
lea rdx, str.return__5.
lea rcx, [rbp + 0x230]
call fcn.18001da90
lea rdx, str.WMIDeviceQueryInit
lea rcx, [rbp + 0x348]
call fcn.1800104c0
nop
lea rdx, str.WMIDeviceQuery.cpp
lea rcx, [rbp + 0x370]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x230]
call fcn.1800130a0
mov rbx, rax
call fcn.180014440
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.1800326a0
nop
lea rcx, [rbp + 0x460]
call fcn.1800126d0
nop
lea rcx, [rbp + 0x370]
call fcn.18008f070
nop
lea rcx, [rbp + 0x348]
call fcn.18008f070
nop
lea rcx, [rbp + 0x2b8]
call fcn.180013040
lea rcx, [rbp + 0x2b8]
call fcn.180012100
mov eax, 0xfffffffb
jmp 0x180041b9c
lea rcx, [rbp + 0x140]
call fcn.180012fc0
nop
lea rdx, str.return_1.
lea rcx, [rbp + 0x140]
call fcn.18001da90
lea rdx, str.WMIDeviceQueryInit
lea rcx, [rbp + 0x3c0]
call fcn.1800104c0
nop
lea rdx, str.WMIDeviceQuery.cpp
lea rcx, [rbp + 0x320]
call fcn.1800104c0
nop
lea rdx, [rbp + 0x488]
lea rcx, [rbp + 0x140]
call fcn.1800130a0
mov rbx, rax
call fcn.180014440
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.1800326a0
nop
lea rcx, [rbp + 0x488]
call fcn.1800126d0
nop
lea rcx, [rbp + 0x320]
call fcn.18008f070
nop
lea rcx, [rbp + 0x3c0]
call fcn.18008f070
nop
lea rcx, [rbp + 0x1c8]
call fcn.180013040
lea rcx, [rbp + 0x1c8]
call fcn.180012100
mov eax, 1
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.1800be9b0
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