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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x150
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbx, rcx
xor r15d, r15d
mov qword [rsp + 0x50], r15
mov qword [rbp + 0x78], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x1800e5808]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x1800e57f8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x18005c04b
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rbp + 0x78]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTCIMV2
call qword [rax + 0x18]
test eax, eax
jns 0x18005c052
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18005c04b
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
jmp 0x18005c657
mov rax, qword [0x180149908]
test rax, rax
jne 0x18005c082
lea rcx, [0x1800fafb8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1800fafa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149908], rax
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp + 0x78]
call rax
test eax, eax
jns 0x18005c0c9
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18005c0c0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x78]
jmp 0x18005c040
lea rcx, str.Create
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
lea rcx, str.Win32_Process
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
lea rcx, str.Win32_ProcessStartup
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r14, rax
mov qword [rsp + 0x78], r15
mov rcx, qword [rbp + 0x78]
mov r10, qword [rcx]
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call qword [r10 + 0x30]
mov rcx, qword [rbp + 0x78]
test eax, eax
js 0x18005c040
mov qword [rbp - 0x80], r15
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
call qword [rax + 0x30]
test eax, eax
js 0x18005c0b0
mov qword [rsp + 0x70], r15
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
xor edx, edx
call qword [rax + 0x78]
test eax, eax
js 0x18005c0b0
mov qword [rbp - 0x78], r15
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x78]
xor r8d, r8d
mov rdx, rdi
call qword [rax + 0x98]
test eax, eax
js 0x18005c0b0
mov qword [rsp + 0x60], r15
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
xor edx, edx
call qword [rax + 0x78]
test eax, eax
js 0x18005c0b0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x58], 0xf
mov qword [rbp - 0x60], r15
mov byte [rbp - 0x70], r15b
test rbx, rbx
je 0x18005c1fc
cmp byte [rbx], 0
jne 0x18005c1e2
mov r8, r15
jmp 0x18005c1f0
or r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x18005c1e6
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.18000aaa0
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 8
mov word [rbp - 0x50], ax
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x58]
call fcn.180057aac
nop
mov rax, qword [rax]
test rax, rax
je 0x18005c239
mov rax, qword [rax]
mov qword [rbp - 0x48], rax
jmp 0x18005c23d
mov qword [rbp - 0x48], r15
lea rcx, [rsp + 0x58]
call fcn.180057b24
mov ecx, 0x18
call fcn.1800865a4
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x18005c289
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, str.CommandLine
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x18005c28c
mov ecx, 0x8007000e
call fcn.1800887d0
int3
mov rbx, r15
mov qword [rsp + 0x58], rbx
test rbx, rbx
jne 0x18005c2a1
mov ecx, 0x8007000e
call fcn.1800887d0
nop
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x50]
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x28]
nop
lea rcx, [rsp + 0x58]
call fcn.180057b24
lea rcx, [rbp - 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 0x13
mov word [rbp - 0x20], ax
mov dword [rbp - 0x18], r15d
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x20]
xor r8d, r8d
lea rdx, str.CreateFlags
call qword [rax + 0x28]
lea rcx, [rbp - 8]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 0x11
mov word [rbp - 8], ax
mov byte [rbp], 0
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 8]
xor r8d, r8d
lea rdx, str.ShowWindow
call qword [rax + 0x28]
lea rcx, [rbp - 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 0xd
mov word [rbp - 0x38], ax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x30], rax
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x38]
xor r8d, r8d
lea rdx, str.ProcessStartupInformation
call qword [rax + 0x28]
mov qword [rsp + 0x68], r15
mov rcx, qword [rbp + 0x78]
mov r10, qword [rcx]
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
call qword [r10 + 0xc0]
test eax, eax
jns 0x18005c441
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ebx, r15d
jmp 0x18005c5ef
mov ecx, 0x18
call fcn.1800865a4
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x18005c483
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, str.ReturnValue
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x18005c486
mov ecx, 0x8007000e
call fcn.1800887d0
int3
mov rbx, r15
mov qword [rsp + 0x58], rbx
test rbx, rbx
jne 0x18005c49b
mov ecx, 0x8007000e
call fcn.1800887d0
nop
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x30]
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x58]
call fcn.180057b24
mov ecx, 0x18
call fcn.1800865a4
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x18005c507
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, str.ProcessId
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x18005c50a
mov ecx, 0x8007000e
call fcn.1800887d0
int3
mov rbx, r15
mov qword [rsp + 0x58], rbx
test rbx, rbx
jne 0x18005c51f
mov ecx, 0x8007000e
call fcn.1800887d0
nop
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x18]
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x58]
call fcn.180057b24
movsx ebx, word [rbp + 0x20]
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rax, qword [rbp - 0x58]
cmp rax, 0x10
jb 0x18005c645
inc rax
mov rcx, qword [rbp - 0x70]
cmp rax, 0x1000
jb 0x18005c640
test cl, 0x1f
je 0x18005c613
call fcn.1800aa758
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18005c622
call fcn.1800aa758
int3
sub rcx, rax
cmp rcx, 8
jae 0x18005c631
call fcn.1800aa758
int3
cmp rcx, 0x27
jbe 0x18005c63d
call fcn.1800aa758
int3
mov rcx, rax
call fcn.180059b58
mov qword [rbp - 0x58], 0xf
mov qword [rbp - 0x60], r15
mov byte [rbp - 0x70], 0
mov eax, ebx
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret