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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x130
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov dword [rsp + 0x68], 0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jge 0x1400db58a
xor eax, eax
jmp 0x1400dbb4f
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jge 0x1400db5e9
cmp dword [rsp + 0x68], 0x80010119
je 0x1400db5e9
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1400dbb4f
mov qword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1402147a0]
mov r8d, 1
xor edx, edx
lea rcx, [0x140214870]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jge 0x1400db630
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1400dbb4f
mov qword [rsp + 0x70], 0
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0xb0]
call fcn.140002e10
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call fcn.1400118c0
mov rdx, rax
mov r10, qword [rsp + 0x58]
mov r10, qword [r10]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call qword [r10 + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0xb0]
call fcn.140002ea0
cmp dword [rsp + 0x68], 0
jge 0x1400db6ef
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1400dbb4f
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jge 0x1400db75e
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1400dbb4f
mov qword [rsp + 0x60], 0
cmp dword [rsp + 0x160], 0
jne 0x1400db83d
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0xb8]
call fcn.140002e10
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
lea rdx, [0x14021aa64]
lea rcx, [rsp + 0xc0]
call fcn.14000e700
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0xf8]
call fcn.1400118c0
mov rbx, rax
mov rcx, qword [rsp + 0x108]
call fcn.1400118c0
mov rdx, rax
mov r10, qword [rsp + 0x70]
mov r10, qword [r10]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, gethostbyname
mov r8, rbx
mov rcx, qword [rsp + 0x70]
call qword [r10 + 0xa0]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0xc0]
call fcn.140002ea0
nop
lea rcx, [rsp + 0xb8]
call fcn.140002ea0
cmp dword [rsp + 0x160], 1
jne 0x1400db8bc
mov rdx, qword [rsp + 0x148]
lea rcx, [rsp + 0xc8]
call fcn.140002e10
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call fcn.1400118c0
mov rdx, rax
mov r10, qword [rsp + 0x70]
mov r10, qword [r10]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, gethostbyname
mov rcx, qword [rsp + 0x70]
call qword [r10 + DllRegisterServer]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0xc8]
call fcn.140002ea0
cmp dword [rsp + 0x68], 0
jge 0x1400db8f0
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1400dbb4f
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x6c], 0
cmp qword [rsp + 0x60], 0
je 0x1400dbae6
cmp dword [rsp + 0x6c], 0
jne 0x1400dbae6
mov dword [rsp + 0x78], 0
mov r10, qword [rsp + 0x60]
mov r10, qword [r10]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call qword [r10 + 0x20]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
jge 0x1400db95b
jmp 0x1400dbae6
cmp dword [rsp + 0x78], 0
jne 0x1400db967
jmp 0x1400dbae6
mov dword [rsp + 0x80], 0
jmp 0x1400db985
mov eax, dword [rsp + 0x80]
add eax, 1
mov dword [rsp + 0x80], eax
movsxd rbx, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x150]
call fcn.140012e60
cmp rbx, rax
jge 0x1400dbac8
movsxd rdx, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x150]
call fcn.14001edf0
mov rcx, rax
call fcn.14000f8f0
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140002e10
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x128]
call fcn.1400118c0
mov rdx, rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x20]
mov dword [rsp + 0xa0], eax
lea rcx, [rsp + 0xd0]
call fcn.140002ea0
cmp dword [rsp + 0xa0], 0
jne 0x1400dbaaf
movzx eax, word [rsp + 0x88]
cmp eax, 1
jne 0x1400dba66
lea rdx, [0x14021abe4]
mov rcx, qword [rsp + 0x158]
call fcn.14000e2e0
jmp 0x1400dba9f
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0xa8]
call fcn.14004eac0
nop
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x158]
call fcn.14000ca60
nop
lea rcx, [rsp + 0xa8]
call fcn.140001490
lea rcx, [rsp + 0x88]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x1400dbac3
lea rdx, [0x14021ac0c]
mov rcx, qword [rsp + 0x158]
call fcn.14000e2e0
jmp 0x1400db974
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x50], 0
jmp 0x1400db901
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp qword [rsp + 0x50], 0
je 0x1400dbb0e
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x158]
call fcn.140012e60
test rax, rax
jne 0x1400dbb4a
xor eax, eax
jmp 0x1400dbb4f
mov eax, 1
add rsp, 0x130
pop rbx
ret