Function at 0x140021af0
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 [0x1406b82c0]
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 0x140021c5c
mov qword [rsp + 0x178], 0
lea rax, [rsp + 0x178]
mov qword [rsp + 0x20], rax
lea r9, [0x1404f7fa0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1404f7fb0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x140021ba2
lea rcx, [rsp + 0x40]
cmp eax, 0x80004002
je 0x140021d74
cmp eax, 0x80004003
je 0x140021d3d
cmp eax, 0x80040110
je 0x140021d06
cmp eax, 0x80040154
je 0x140021ccf
jmp 0x140021c98
mov rdi, qword [rsp + 0x178]
mov qword [rsp + 0x30], rdi
mov rdx, rsi
mov rcx, rdi
call fcn.1400200f0
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
mov rcx, rbx
call fcn.1400205b0
mov rsi, rax
mov qword [rsp + 0x180], 0
lea rax, [0x1404ff740]
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.140020920
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.14028f2f0
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.140005540
nop
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x88]
call fcn.14001fe80
lea rdx, [0x1405276c8]
lea rcx, [rsp + 0x88]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Error_initializing_IWbemLocator:_Unknown_Error
call fcn.140005540
nop
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xb0]
call fcn.14001fe80
lea rdx, [0x1405276c8]
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Error_initializing_IWbemLocator:_REGDB_E_CLASSNOTREG
call fcn.140005540
nop
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xd8]
call fcn.14001fe80
lea rdx, [0x1405276c8]
lea rcx, [rsp + 0xd8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Error_initializing_IWbemLocator:_CLASS_E_NOAGGREGATION
call fcn.140005540
nop
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x100]
call fcn.14001fe80
lea rdx, [0x1405276c8]
lea rcx, [rsp + 0x100]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Error_initializing_IWbemLocator:_E_POINTER
call fcn.140005540
nop
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x128]
call fcn.14001fe80
lea rdx, [0x1405276c8]
lea rcx, [rsp + 0x128]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.Error_initializing_IWbemLocator:_E_NOINTERFACE
call fcn.140005540
nop
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x150]
call fcn.14001fe80
lea rdx, [0x1405276c8]
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll__CxxThrowException
int3