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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x180], rbx
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x50], rbx
mov qword [rbp + 0x90], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x1400a7260]
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [0x1400a7250]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14002d30c
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rbp + 0x90]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTCIMV2
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jns 0x14002d313
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002d30c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor eax, eax
jmp 0x14002d702
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov r13d, 3
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 7]
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14002d360
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002d357
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x90]
jmp 0x14002d301
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], rbx
mov rcx, qword [rbp + 0x90]
mov r10, qword [rcx]
mov qword [rsp + 0x28], rbx
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], rbx
mov rcx, qword [rbp + 0x90]
mov r10, qword [rcx]
mov qword [rsp + 0x28], rbx
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], rbx
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
xor edx, edx
call qword [rax + 0x78]
mov qword [rsp + 0x78], rbx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, r14
call qword [rax + 0x98]
mov qword [rbp + 0x98], rbx
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rbp + 0x98]
xor edx, edx
call qword [rax + 0x78]
lea rcx, [rbp]
call fcn.140006630
nop
or rsi, 0xffffffffffffffff
test rdi, rdi
je 0x14002d476
cmp byte [rdi], 0
jne 0x14002d458
mov r8, rbx
jmp 0x14002d46a
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x14002d460
mov rdx, rdi
lea rcx, [rbp]
call fcn.1400088b0
mov eax, 8
mov word [rbp - 0x68], ax
lea rcx, [rbp]
call fcn.140007ed0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140027d80
nop
mov rax, qword [rax]
test rax, rax
je 0x14002d4a6
mov rax, qword [rax]
mov qword [rbp - 0x60], rax
jmp 0x14002d4aa
mov qword [rbp - 0x60], rbx
mov rdi, qword [rbp - 0x80]
test rdi, rdi
je 0x14002d4f6
lock xadd dword [rdi + 0x10], esi
cmp esi, 1
jne 0x14002d4f2
test rdi, rdi
je 0x14002d4f2
mov rcx, qword [rdi]
test rcx, rcx
je 0x14002d4d3
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14002d4e5
call fcn.1400579d4
mov qword [rdi + 8], rbx
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.1400579d4
mov qword [rbp - 0x80], rbx
mov rcx, qword [rbp + 0x98]
mov rax, qword [rcx]
mov dword [rsp + 0x20], ebx
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, str.CommandLine
call qword [rax + 0x28]
mov word [rbp - 0x38], r13w
mov dword [rbp - 0x30], 4
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov dword [rsp + 0x20], ebx
lea r9, [rbp - 0x38]
xor r8d, r8d
lea rdx, str.CreateFlags
call qword [rax + 0x28]
mov eax, recv
mov word [rbp - 0x50], ax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x48], rax
mov rcx, qword [rbp + 0x98]
mov rax, qword [rcx]
mov dword [rsp + 0x20], ebx
lea r9, [rbp - 0x50]
xor r8d, r8d
lea rdx, str.ProcessStartupInformation
call qword [rax + 0x28]
mov qword [rsp + 0x60], rbx
mov rcx, qword [rbp + 0x90]
mov r10, qword [rcx]
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, r14
mov rdx, r15
call qword [r10 + 0xc0]
test eax, eax
jns 0x14002d5cf
lea rcx, [rbp - 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x38]
jmp 0x14002d679
lea rdx, str.ReturnValue
lea rcx, [rbp - 0x78]
call fcn.140027e00
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x14002d5ed
mov rdx, qword [rcx]
jmp 0x14002d5f0
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x20]
xor r8d, r8d
call qword [rax + 0x20]
nop
lea rcx, [rbp - 0x78]
call fcn.140027e90
lea rdx, str.ProcessId
lea rcx, [rbp - 0x70]
call fcn.140027e00
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x14002d634
mov rdx, qword [rcx]
jmp 0x14002d637
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x18]
xor r8d, r8d
call qword [rax + 0x20]
nop
lea rcx, [rbp - 0x70]
call fcn.140027e90
movsx ebx, word [rbp - 0x10]
lea rcx, [rbp - 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x20]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x18]
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 + 0x98]
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 + 0x90]
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
lea rcx, [rbp]
call fcn.140006530
mov eax, ebx
mov rbx, qword [rsp + 0x180]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret