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

Disassembly:
push 0x54
mov eax, 0x423ac5
call fcn.00413cc0
mov dword [ebp - 0x28], edx
mov ebx, ecx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ecx
push eax
push 0x426810
push 1
push ecx
push 0x426800
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, dword [ebp - 0x1c]
test eax, eax
js 0x40300c
test esi, esi
je 0x40300c
and dword [ebp - 0x10], 0
push str.ROOTCIMV2
mov byte [ebp - 4], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x403024
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
mov eax, dword [esi]
push ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push edi
push esi
call dword [eax + 0xc]
push edi
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
js 0x402ff4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x402ff7
xor ecx, ecx
push ecx
push ecx
push 3
push 3
push ecx
push ecx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x402ff4
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.Create
call esi
push str.Win32_Process
mov edi, eax
call esi
and dword [ebp - 0x24], 0
mov esi, eax
push 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
push eax
push 0
push 0
mov edx, dword [ecx]
push esi
push ecx
call dword [edx + 0x18]
test eax, eax
jns 0x402eac
xor bl, bl
jmp 0x402fde
and dword [ebp - 0x20], 0
push 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x24]
push edx
push 0
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
test eax, eax
jns 0x402ed1
xor bl, bl
jmp 0x402fcd
and dword [ebp - 0x18], 0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x20]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
jns 0x402ef3
xor bl, bl
jmp 0x402fbc
cmp dword [ebx + 0x14], 8
jb 0x402efb
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x60]
call fcn.00404b47
mov byte [ebp - 4], 6
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x18]
xor ebx, ebx
push ebx
push edx
push ebx
mov ecx, dword [eax]
push str.CommandLine
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x402fb2
mov dword [ebp - 0x14], ebx
push ebx
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
push edx
push dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
push ebx
push edi
push esi
push eax
call dword [ecx + 0x60]
test eax, eax
js 0x402fa1
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
lea edx, [ebp - 0x40]
push ebx
push ebx
push edx
stosd dword es:[edi], eax
push ebx
push str.ReturnValue
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
js 0x402fa1
cmp dword [ebp - 0x38], ebx
jne 0x402fa1
xor eax, eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
lea edx, [ebp - 0x50]
push ebx
push ebx
push edx
stosd dword es:[edi], eax
push ebx
push str.ProcessId
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
js 0x402fa1
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x402fa1
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x402f9f
mov dword [ecx], eax
mov bl, 1
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x402fb2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x402fcd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x402fde
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x402fef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
jmp 0x402ff9
mov eax, dword [ebp - 0x10]
xor bl, bl
mov byte [ebp - 4], 0
test eax, eax
je 0x403007
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x1c]
jmp 0x40300e
xor bl, bl
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x40301c
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov al, bl
call fcn.00413c60
ret
push 0x8007000e
call fcn.00404f17
int3