Function at 0x18003dd90
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 [0x1801c2938]
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, [0x1801d99d0]
mov qword [rsp + 0x20], r11
lea r9, [0x180147838]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x180147908]
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp qword [0x1801d99d0], rsi
jne 0x18003defa
lea rcx, [rsp + 0x60]
call fcn.180014d60
nop
lea rdx, str.return__3.
lea rcx, [rsp + 0x60]
call fcn.180022d00
lea rdx, str.WMIDeviceQueryInit
lea rcx, [rbp + 0x398]
call fcn.180012480
nop
lea rdx, str.WMIDeviceQuery.cpp
lea rcx, [rbp + 0x410]
call fcn.180012480
nop
lea rdx, [rbp + 0x4b0]
lea rcx, [rsp + 0x60]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
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.180030340
nop
lea rcx, [rbp + 0x4b0]
call fcn.1800a20a0
nop
lea rcx, [rbp + 0x410]
call fcn.180001850
nop
lea rcx, [rbp + 0x398]
call fcn.180001850
nop
lea rcx, [rbp - 0x18]
call fcn.180014de0
lea rcx, [rbp - 0x18]
call fcn.180013e40
lea eax, [rsi - 3]
jmp 0x18003e27c
mov ecx, DispGetParam
call fcn.1800be830
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x18003df3c
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 0x18003df3f
mov ecx, 0x8007000e
call fcn.1800dfa70
int3
mov rbx, rsi
mov qword [rsp + 0x50], rbx
test rbx, rbx
jne 0x18003df54
mov ecx, 0x8007000e
call fcn.1800dfa70
nop
mov rcx, qword [0x1801d99d0]
mov rax, qword [rcx]
lea rdx, [0x1801d99d8]
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 0x18003dfb7
mov rcx, qword [rbx]
test rcx, rcx
je 0x18003dfa1
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18003dfaf
call fcn.1800be7e8
mov rcx, rbx
call fcn.1800be828
mov qword [rsp + 0x50], rsi
cmp qword [0x1801d99d0], 0
jne 0x18003e099
lea rcx, [rbp + 0x50]
call fcn.180014d60
nop
lea rdx, str.return__4.
lea rcx, [rbp + 0x50]
call fcn.180022d00
lea rdx, str.WMIDeviceQueryInit
lea rcx, [rbp + 0x438]
call fcn.180012480
nop
lea rdx, str.WMIDeviceQuery.cpp
lea rcx, [rbp + 0x3e8]
call fcn.180012480
nop
lea rdx, [rbp + 0x4d8]
lea rcx, [rbp + 0x50]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
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.180030340
nop
lea rcx, [rbp + 0x4d8]
call fcn.1800a20a0
nop
lea rcx, [rbp + 0x3e8]
call fcn.180001850
nop
lea rcx, [rbp + 0x438]
call fcn.180001850
nop
lea rcx, [rbp + 0xd8]
call fcn.180014de0
lea rcx, [rbp + 0xd8]
call fcn.180013e40
mov eax, 0xfffffffc
jmp 0x18003e27c
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 [0x1801d99d8]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
je 0x18003e1a9
lea rcx, [rbp + 0x230]
call fcn.180014d60
nop
lea rdx, str.return__5.
lea rcx, [rbp + 0x230]
call fcn.180022d00
lea rdx, str.WMIDeviceQueryInit
lea rcx, [rbp + 0x348]
call fcn.180012480
nop
lea rdx, str.WMIDeviceQuery.cpp
lea rcx, [rbp + 0x370]
call fcn.180012480
nop
lea rdx, [rbp + 0x460]
lea rcx, [rbp + 0x230]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
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.180030340
nop
lea rcx, [rbp + 0x460]
call fcn.1800a20a0
nop
lea rcx, [rbp + 0x370]
call fcn.180001850
nop
lea rcx, [rbp + 0x348]
call fcn.180001850
nop
lea rcx, [rbp + 0x2b8]
call fcn.180014de0
lea rcx, [rbp + 0x2b8]
call fcn.180013e40
mov eax, 0xfffffffb
jmp 0x18003e27c
lea rcx, [rbp + 0x140]
call fcn.180014d60
nop
lea rdx, str.return_1.
lea rcx, [rbp + 0x140]
call fcn.180022d00
lea rdx, str.WMIDeviceQueryInit
lea rcx, [rbp + 0x3c0]
call fcn.180012480
nop
lea rdx, str.WMIDeviceQuery.cpp
lea rcx, [rbp + 0x320]
call fcn.180012480
nop
lea rdx, [rbp + 0x488]
lea rcx, [rbp + 0x140]
call fcn.180014e40
mov rbx, rax
call fcn.180016d70
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.180030340
nop
lea rcx, [rbp + 0x488]
call fcn.1800a20a0
nop
lea rcx, [rbp + 0x320]
call fcn.180001850
nop
lea rcx, [rbp + 0x3c0]
call fcn.180001850
nop
lea rcx, [rbp + 0x1c8]
call fcn.180014de0
lea rcx, [rbp + 0x1c8]
call fcn.180013e40
mov eax, 1
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.1800bdf20
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