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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rsp + 0x170], rbx
mov rbx, rcx
xor r13d, r13d
mov qword [rsp + 0x50], r13
mov qword [rbp + 0x80], r13
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x1801873d8]
xor edx, edx
lea r8d, [r13 + 1]
lea rcx, [0x1801873c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x18002f3c2
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rbp + 0x80]
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
lea rdx, str.ROOTCIMV2
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jns 0x18002f3c9
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18002f3c2
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor eax, eax
jmp 0x18002f93d
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]
mov rcx, qword [rbp + 0x80]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x18002f413
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18002f40a
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x80]
jmp 0x18002f3b7
lea rcx, str.Create
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r14, rax
lea rcx, str.Win32_Process
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r15, rax
lea rcx, str.Win32_ProcessStartup
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r12, rax
mov qword [rsp + 0x68], r13
mov rcx, qword [rbp + 0x80]
mov r10, qword [rcx]
mov qword [rsp + 0x28], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
call qword [r10 + 0x30]
mov qword [rsp + 0x70], r13
mov rcx, qword [rbp + 0x80]
mov r10, qword [rcx]
mov qword [rsp + 0x28], r13
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
call qword [r10 + 0x30]
mov qword [rsp + 0x58], r13
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
xor edx, edx
call qword [rax + 0x78]
mov qword [rsp + 0x78], r13
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, r14
call qword [rax + 0x98]
mov qword [rbp + 0x88], r13
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp + 0x88]
xor edx, edx
call qword [rax + 0x78]
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x68], SafeArrayLock
mov qword [rbp - 0x70], r13
mov byte [rbp - 0x80], r13b
or rdi, 0xffffffffffffffff
test rbx, rbx
je 0x18002f536
cmp byte [rbx], 0
jne 0x18002f519
mov r8, r13
jmp 0x18002f52a
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x18002f520
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180008cf8
mov eax, 8
mov word [rbp - 0x50], ax
lea rsi, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rsi, qword [rbp - 0x80]
lea ecx, [rax + 0x10]
call fcn.18013133c
mov rbx, rax
mov qword [rbp + 0x78], rax
test rax, rax
je 0x18002f579
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
mov rcx, rsi
call fcn.180150aa0
mov qword [rbx], rax
jmp 0x18002f57c
mov rbx, r13
mov qword [rbp + 0x78], rbx
test rbx, rbx
jne 0x18002f590
mov ecx, 0x8007000e
call fcn.180150a70
nop
mov rax, qword [rbx]
mov qword [rbp - 0x48], rax
lock xadd dword [rbx + 0x10], edi
cmp edi, 1
jne 0x18002f5d1
mov rcx, qword [rbx]
test rcx, rcx
je 0x18002f5b2
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r13
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18002f5c4
call fcn.180131a88
mov qword [rbx + 8], r13
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.180131a88
mov qword [rbp + 0x78], r13
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r13d
lea r9, [rbp - 0x50]
xor r8d, r8d
lea rdx, str.CommandLine
call qword [rax + 0x28]
mov eax, 3
mov word [rbp - 0x20], ax
mov dword [rbp - 0x18], 4
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r13d
lea r9, [rbp - 0x20]
xor r8d, r8d
lea rdx, str.CreateFlags
call qword [rax + 0x28]
mov eax, recv
mov word [rbp - 0x38], ax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x30], rax
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r13d
lea r9, [rbp - 0x38]
xor r8d, r8d
lea rdx, str.ProcessStartupInformation
call qword [rax + 0x28]
mov qword [rsp + 0x60], r13
mov rcx, qword [rbp + 0x80]
mov r10, qword [rcx]
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, r14
mov rdx, r15
call qword [r10 + 0xc0]
test eax, eax
jns 0x18002f739
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]
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov ebx, r13d
jmp 0x18002f8d5
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.18013133c
mov rbx, rax
mov qword [rbp + 0x78], rax
test rax, rax
je 0x18002f77a
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
lea rcx, str.ReturnValue
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x18002f77d
mov ecx, 0x8007000e
call fcn.180150a70
int3
mov rbx, r13
mov qword [rbp - 0x60], rbx
test rbx, rbx
jne 0x18002f791
mov ecx, 0x8007000e
call fcn.180150a70
nop
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x18]
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x20]
nop
lea rcx, [rbp - 0x60]
call fcn.180028ee4
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.18013133c
mov rbx, rax
mov qword [rbp + 0x78], rax
test rax, rax
je 0x18002f7fb
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
lea rcx, str.ProcessId
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x18002f7fe
mov ecx, 0x8007000e
call fcn.180150a70
int3
mov rbx, r13
mov qword [rbp - 0x58], rbx
test rbx, rbx
jne 0x18002f812
mov ecx, 0x8007000e
call fcn.180150a70
nop
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp]
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x20]
nop
lea rcx, [rbp - 0x58]
call fcn.180028ee4
movsx ebx, word [rbp + 8]
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rbp - 0x68]
cmp rax, 0x10
jb 0x18002f92b
inc rax
mov rcx, qword [rbp - 0x80]
cmp rax, 0x1000
jb 0x18002f926
test cl, 0x1f
je 0x18002f8f9
call fcn.180154658
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18002f908
call fcn.180154658
int3
sub rcx, rax
cmp rcx, 8
jae 0x18002f917
call fcn.180154658
int3
cmp rcx, 0x27
jbe 0x18002f923
call fcn.180154658
int3
mov rcx, rax
call fcn.18002c160
mov qword [rbp - 0x68], SafeArrayLock
mov qword [rbp - 0x70], r13
mov byte [rbp - 0x80], 0
mov eax, ebx
mov rbx, qword [rsp + 0x170]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret