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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x190
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov r15, r8
mov rsi, rdx
mov r14, rcx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
test eax, eax
js 0x14002309c
mov qword [rsp + 0x178], 0
lea rax, [rsp + 0x178]
mov qword [rsp + 0x20], rax
lea r9, [0x140501fe0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140501ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x140022fe2
lea rcx, [rsp + 0x40]
cmp eax, 0x80004002
je 0x1400231b4
cmp eax, 0x80004003
je 0x14002317d
cmp eax, 0x80040110
je 0x140023146
cmp eax, 0x80040154
je 0x14002310f
jmp 0x1400230d8
mov rdi, qword [rsp + 0x178]
mov qword [rsp + 0x30], rdi
mov rdx, rsi
mov rcx, rdi
call fcn.140021530
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
mov rcx, rbx
call fcn.1400219f0
mov rsi, rax
mov qword [rsp + 0x180], 0
lea rax, [0x140527fb0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x180]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140021d60
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140297700
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rdx, str.The_COM_library_is_already_initialized_on_this_thread
lea rcx, [rsp + 0x40]
call fcn.140005b90
nop
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x88]
call fcn.1400212c0
lea rdx, [0x140551b50]
lea rcx, [rsp + 0x88]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Error_initializing_IWbemLocator:_Unknown_Error
call fcn.140005b90
nop
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xb0]
call fcn.1400212c0
lea rdx, [0x140551b50]
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Error_initializing_IWbemLocator:_REGDB_E_CLASSNOTREG
call fcn.140005b90
nop
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xd8]
call fcn.1400212c0
lea rdx, [0x140551b50]
lea rcx, [rsp + 0xd8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Error_initializing_IWbemLocator:_CLASS_E_NOAGGREGATION
call fcn.140005b90
nop
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x100]
call fcn.1400212c0
lea rdx, [0x140551b50]
lea rcx, [rsp + 0x100]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Error_initializing_IWbemLocator:_E_POINTER
call fcn.140005b90
nop
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x128]
call fcn.1400212c0
lea rdx, [0x140551b50]
lea rcx, [rsp + 0x128]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Error_initializing_IWbemLocator:_E_NOINTERFACE
call fcn.140005b90
nop
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x150]
call fcn.1400212c0
lea rdx, [0x140551b50]
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll__CxxThrowException
int3