Function at 0x18002e620
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, [0x1801873d8]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x1801873c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x18002e6cb
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 + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jns 0x18002e6d2
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18002e6cb
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor eax, eax
jmp 0x18002ecd7
mov rax, qword [0x1801ff6a0]
test rax, rax
jne 0x18002e702
lea rcx, [0x1801abb28]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1801abb68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801ff6a0], 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 0x18002e749
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18002e740
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x78]
jmp 0x18002e6c0
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 0x18002e6c0
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 0x18002e730
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 0x18002e730
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 0x18002e730
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 0x18002e730
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x58], SafeArrayLock
mov qword [rbp - 0x60], r15
mov byte [rbp - 0x70], r15b
test rbx, rbx
je 0x18002e87c
cmp byte [rbx], 0
jne 0x18002e862
mov r8, r15
jmp 0x18002e870
or r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x18002e866
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180008cf8
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.180028e6c
nop
mov rax, qword [rax]
test rax, rax
je 0x18002e8b9
mov rax, qword [rax]
mov qword [rbp - 0x48], rax
jmp 0x18002e8bd
mov qword [rbp - 0x48], r15
lea rcx, [rsp + 0x58]
call fcn.180028ee4
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.18013133c
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x18002e909
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 0x18002e90c
mov ecx, 0x8007000e
call fcn.180150a70
int3
mov rbx, r15
mov qword [rsp + 0x58], rbx
test rbx, rbx
jne 0x18002e921
mov ecx, 0x8007000e
call fcn.180150a70
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.180028ee4
lea rcx, [rbp - 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, reloc.OLEAUT32.dll_SafeArrayGetLBound
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, SafeArrayLock
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, recv
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 0x18002eac1
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 + 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 + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x78]
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, r15d
jmp 0x18002ec6f
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.18013133c
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x18002eb03
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 0x18002eb06
mov ecx, 0x8007000e
call fcn.180150a70
int3
mov rbx, r15
mov qword [rsp + 0x58], rbx
test rbx, rbx
jne 0x18002eb1b
mov ecx, 0x8007000e
call fcn.180150a70
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.180028ee4
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.18013133c
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x18002eb87
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 0x18002eb8a
mov ecx, 0x8007000e
call fcn.180150a70
int3
mov rbx, r15
mov qword [rsp + 0x58], rbx
test rbx, rbx
jne 0x18002eb9f
mov ecx, 0x8007000e
call fcn.180150a70
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.180028ee4
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 + 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 + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x78]
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 - 0x58]
cmp rax, 0x10
jb 0x18002ecc5
inc rax
mov rcx, qword [rbp - 0x70]
cmp rax, 0x1000
jb 0x18002ecc0
test cl, 0x1f
je 0x18002ec93
call fcn.180154658
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18002eca2
call fcn.180154658
int3
sub rcx, rax
cmp rcx, 8
jae 0x18002ecb1
call fcn.180154658
int3
cmp rcx, 0x27
jbe 0x18002ecbd
call fcn.180154658
int3
mov rcx, rax
call fcn.18002c160
mov qword [rbp - 0x58], SafeArrayLock
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