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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbp, rdx
mov rsi, rcx
xor r13d, r13d
mov qword [rax + 0x20], r13
lea rax, [rax + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [0x1400407d0]
xor edx, edx
lea r8d, [r13 + 1]
lea rcx, [0x1400408a0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rbx, qword [rsp + 0x128]
cmp eax, r13d
jl 0x1400040dd
cmp rbx, r13
je 0x1400040dd
mov qword [rsp + 0x120], r13
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0xc0], rax
cmp rax, r13
jne 0x140003a83
mov ecx, 0x8007000e
call fcn.140007c44
nop
mov rax, qword [rbx]
lea rcx, [rsp + 0x120]
mov qword [rsp + 0x40], rcx
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
mov rcx, rbx
call qword [rax + 0x18]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x120]
cmp ebx, r13d
jl 0x1400040ba
cmp rcx, r13
je 0x1400040ba
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 r15d, [rax + 7]
mov edx, r15d
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, r13d
jge 0x140003b38
mov rcx, qword [rsp + 0x120]
cmp rcx, r13
je 0x140003b1e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x128]
cmp rcx, r13
je 0x140003b31
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
jmp 0x1400040ed
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 r12, rax
mov qword [rsp + 0x50], r13
mov rcx, qword [rsp + 0x120]
mov r10, qword [rcx]
mov qword [rsp + 0x28], r13
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
call qword [r10 + 0x30]
cmp eax, r13d
jge 0x140003bc8
mov rcx, qword [rsp + 0x50]
cmp rcx, r13
je 0x140003b9a
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x120]
cmp rcx, r13
je 0x140003bae
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x128]
cmp rcx, r13
je 0x140003bc1
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
jmp 0x1400040ed
mov qword [rsp + 0x60], r13
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, rdi
call qword [rax + 0x98]
cmp eax, r13d
jge 0x140003c40
mov rcx, qword [rsp + 0x60]
cmp rcx, r13
je 0x140003c01
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r13
je 0x140003c12
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x120]
cmp rcx, r13
je 0x140003c26
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x128]
cmp rcx, r13
je 0x140003c39
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
jmp 0x1400040ed
mov qword [rsp + 0x58], r13
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
xor edx, edx
call qword [rax + 0x78]
cmp eax, r13d
jge 0x140003cbd
mov rcx, qword [rsp + 0x58]
cmp rcx, r13
je 0x140003c6d
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r13
je 0x140003c7e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r13
je 0x140003c8f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x120]
cmp rcx, r13
je 0x140003ca3
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x128]
cmp rcx, r13
je 0x140003cb6
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
jmp 0x1400040ed
mov r14d, 8
cmp qword [rsi + 0x20], r14
jb 0x140003ccf
mov rbx, qword [rsi + 8]
jmp 0x140003cd3
lea rbx, [rsi + 8]
mov word [rsp + 0x70], r13w
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov word [rsp + 0x70], r14w
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x78], rax
cmp rax, r13
jne 0x140003d17
cmp rbx, r13
je 0x140003d17
mov word [rsp + 0x70], r15w
mov ecx, 0x8007000e
mov dword [rsp + 0x78], ecx
call fcn.140007c44
nop
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.CommandLine
call qword [rax + 0x28]
cmp eax, r13d
jge 0x140003da8
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, r13
je 0x140003d58
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r13
je 0x140003d69
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r13
je 0x140003d7a
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x120]
cmp rcx, r13
je 0x140003d8e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x128]
cmp rcx, r13
je 0x140003da1
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
jmp 0x1400040ed
mov qword [rsp + 0x68], r13
mov rcx, qword [rsp + 0x120]
mov r10, qword [rcx]
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, rdi
mov rdx, r12
call qword [r10 + 0xc0]
cmp eax, r13d
jge 0x140003e69
mov rcx, qword [rsp + 0x68]
cmp rcx, r13
je 0x140003dfc
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, r13
je 0x140003e19
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r13
je 0x140003e2a
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r13
je 0x140003e3b
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x120]
cmp rcx, r13
je 0x140003e4f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x128]
cmp rcx, r13
je 0x140003e62
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
jmp 0x1400040ed
mov word [rsp + 0xa0], r13w
xor eax, eax
mov qword [rsp + 0xa2], rax
mov qword [rsp + 0xaa], rax
mov dword [rsp + 0xb2], eax
mov word [rsp + 0xb6], ax
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.ReturnValue
call qword [rax + 0x20]
cmp eax, r13d
jl 0x14000403f
cmp dword [rsp + 0xa8], r13d
jne 0x14000403f
mov word [rsp + 0x88], r13w
xor eax, eax
mov qword [rsp + 0x8a], rax
mov qword [rsp + 0x92], rax
mov dword [rsp + 0x9a], eax
mov word [rsp + 0x9e], ax
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str.ProcessId
call qword [rax + 0x20]
cmp eax, r13d
jl 0x140003fc1
mov eax, dword [rsp + 0x90]
cmp eax, r13d
je 0x140003fc1
cmp rbp, r13
je 0x140003f43
mov dword [rbp], eax
mov rcx, qword [rsp + 0x68]
cmp rcx, r13
je 0x140003f54
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, r13
je 0x140003f71
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r13
je 0x140003f82
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r13
je 0x140003f93
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x120]
cmp rcx, r13
je 0x140003fa7
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
mov rcx, qword [rsp + 0x128]
cmp rcx, r13
je 0x140003fba
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov al, 1
jmp 0x1400040ed
mov rcx, qword [rsp + 0x68]
cmp rcx, r13
je 0x140003fd2
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, r13
je 0x140003fef
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r13
je 0x140004000
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r13
je 0x140004011
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x120]
cmp rcx, r13
je 0x140004025
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x128]
cmp rcx, r13
je 0x140004038
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
jmp 0x1400040ed
mov rcx, qword [rsp + 0x68]
cmp rcx, r13
je 0x140004050
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rsp + 0x58]
cmp rcx, r13
je 0x14000406d
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r13
je 0x14000407e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
cmp rcx, r13
je 0x14000408f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x120]
cmp rcx, r13
je 0x1400040a3
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x128]
cmp rcx, r13
je 0x1400040b6
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
jmp 0x1400040ed
cmp rcx, r13
je 0x1400040c6
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x128]
cmp rcx, r13
je 0x1400040d9
mov rax, qword [rcx]
call qword [rax + 0x10]
xor al, al
jmp 0x1400040ed
cmp rbx, r13
je 0x1400040eb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
xor al, al
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret