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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x14003d020]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
xor ecx, ecx
mov qword [rbp + 7], rbx
mov qword [rbp + 0xf], rbx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x140005d2b
mov edx, eax
lea rcx, str.CoInitialize___failed:__08lX_n
call fcn.1400011c0
xor eax, eax
jmp 0x140005fab
mov qword [rsp + 0x40], rbx
xor r9d, r9d
mov dword [rsp + 0x38], ebx
xor r8d, r8d
mov qword [rsp + 0x30], rbx
xor ecx, ecx
mov dword [rsp + 0x28], 3
lea edx, [r9 - 1]
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x140005d76
mov edx, eax
lea rcx, str.CoInitializeSecurity___failed:__08lX_n
call fcn.1400011c0
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140005fab
xor edx, edx
lea rax, [rbp + 7]
lea r9, [0x14002c8b0]
mov qword [rsp + 0x20], rax
lea rcx, [0x14002c8c0]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140005db8
mov edx, eax
lea rcx, str.CoCreateInstance___failed:__08lX_n
call fcn.1400011c0
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140005fab
mov rcx, qword [rbp + 7]
lea rdx, [rbp + 0xf]
mov qword [rsp + 0x40], rdx
xor r9d, r9d
mov qword [rsp + 0x38], rbx
lea rdx, str.rootcimv2
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov rax, qword [rcx]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [rax + 0x18]
test eax, eax
jns 0x140005e14
mov edx, eax
lea rcx, str.IWbemLocator::ConnectServer___failed:__08lX_n
call fcn.1400011c0
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140005fab
mov rcx, qword [rbp + 0xf]
test rcx, rcx
jne 0x140005e2e
lea rcx, str.IWbemServices_pointer_is_NULL._n
call fcn.1400011c0
jmp 0x140005f85
mov rax, qword [rcx]
lea rdx, [rbp - 1]
xor r9d, r9d
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0xc0], rdi
lea rdx, str.Win32_Process
mov qword [rbp - 1], rbx
mov edi, ebx
lea r8d, [r9 + 0x30]
call qword [rax + 0x90]
test eax, eax
jns 0x140005e73
mov edx, eax
lea rcx, str.IWbemServices::CreateInstanceEnum___failed:__08lX_n
call fcn.1400011c0
jmp 0x140005f7d
mov rcx, qword [rbp - 1]
lea rdx, [rbp + 0x2f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 9]
mov edx, 0xffffffff
mov dword [rbp + 0x2f], ebx
mov qword [rbp - 9], rbx
mov rax, qword [rcx]
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp + 0x2f], ebx
je 0x140005f6c
lea rcx, [rbp + 0x17]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 9]
lea r9, [rbp + 0x17]
mov qword [rsp + 0x28], rbx
lea rdx, str.Name
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
js 0x140005f2d
mov rcx, qword [rbp + 0x1f]
lea rdx, str.lsass.exe
call fcn.140012c88
test eax, eax
jne 0x140005f23
lea rcx, [rbp + 0x37]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 9]
lea r9, [rbp + 0x37]
mov qword [rsp + 0x28], rbx
lea rdx, str.ProcessID
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
lea rcx, [rbp + 0x37]
cmovns edi, dword [rbp + 0x3f]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x17]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140005f3c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 1]
lea rdx, [rbp + 0x2f]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 9]
mov edx, 0xffffffff
mov dword [rbp + 0x2f], ebx
mov qword [rbp - 9], rbx
mov rax, qword [rcx]
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp + 0x2f], ebx
jne 0x140005ea3
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x140005f7b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ebx, edi
mov rdi, qword [rsp + 0xc0]
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140005f94
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140005fa3
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140008910
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rbp
ret