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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor r13d, r13d
test eax, eax
js 0x1401d3699
mov qword [rbp - 1], r13
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
lea r9, [0x14032e770]
xor edx, edx
lea r8d, [r13 + 1]
lea rcx, [0x14032e710]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rbp - 1]
test eax, eax
js 0x1401d368e
test rcx, rcx
je 0x1401d368e
lea rcx, str.rootdefault
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rbp + 7], rax
test rax, rax
jne 0x1401d345b
mov ecx, 0x8007000e
call fcn.14000cbb8
nop
mov qword [rbp + 0x7f], r13
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
lea rdx, [rbp + 0x7f]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [rax + 0x18]
test eax, eax
js 0x1401d3671
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1401d3675
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 7]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1401d3671
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1401d3675
add rsi, 8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
test al, al
je 0x1401d3671
lea rcx, str.SystemRestore
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp + 0xf], rax
test rax, rax
jne 0x1401d3518
mov ecx, 0x8007000e
call fcn.14000cbb8
nop
mov qword [rbp - 9], r13
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
lea rdx, [rbp - 9]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, rbx
call qword [rax + 0x90]
test eax, eax
js 0x1401d3658
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1401d365c
mov qword [rbp + 0x77], r13
mov dword [rbp + 0x6f], r13d
mov rax, qword [rcx]
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x77]
mov edx, 0x2710
mov r8d, 1
call qword [rax + 0x20]
mov r12d, eax
test eax, eax
js 0x1401d3649
or edi, 0xffffffff
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x1401d363f
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x50]
test al, al
je 0x1401d3635
test r12d, r12d
jne 0x1401d35f5
lea rdx, [rbp + 0x77]
lea rcx, [rbp + 0x1f]
call fcn.1401d30c4
nop
mov rax, qword [rsi]
lea rdx, [rbp + 0x1f]
mov rcx, rsi
call qword [rax + 0x38]
nop
mov rbx, qword [rbp + 0x27]
test rbx, rbx
je 0x1401d35f5
mov eax, edi
lock xadd dword [rbx + 8], eax
add eax, edi
jne 0x1401d35f5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
add eax, edi
jne 0x1401d35f5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x1401d3608
mov qword [rbp + 0x77], r13
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x77]
mov edx, 0x2710
mov r8d, 1
call qword [rax + 0x20]
mov r12d, eax
test eax, eax
jns 0x1401d3585
mov rdi, qword [rbp + 7]
mov rbx, qword [rbp + 0xf]
jmp 0x1401d3649
mov rdi, qword [rbp + 7]
mov rbx, qword [rbp + 0xf]
jmp 0x1401d364d
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x1401d3658
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1401d3668
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1401d3681
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1401d3699
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp qword [sym.imp.ole32.dll_CoUninitialize]