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

Disassembly:
push 0x1b8
mov eax, 0x4b2ad7
call fcn.0048ccab
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x16], bl
mov dword [ebp - 0x30], ebx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x30]
push eax
push 0x4b762c
push edi
push ebx
push 0x4b76fc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40ec6b
cmp dword [ebp - 0x30], ebx
je 0x40ec6b
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x30]
push str.ROOTCIMV2
lea ecx, [ebp - 0x1c]
call fcn.0040cc93
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov dword [ebp - 0x14], edi
cmp eax, ebx
je 0x40ea25
mov eax, dword [eax]
jmp 0x40ea27
xor eax, eax
mov ecx, dword [esi]
lea edx, [ebp - 0x2c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push esi
call dword [ecx + 0xc]
test eax, eax
jl 0x40ea45
mov byte [ebp - 0x15], 1
cmp dword [ebp - 0x2c], ebx
jne 0x40ea48
mov byte [ebp - 0x15], bl
push 3
pop esi
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edi
and dword [ebp - 0x14], 0xfffffffe
cmp ecx, ebx
je 0x40ea64
call fcn.0040cd2c
mov dword [ebp - 0x1c], ebx
cmp byte [ebp - 0x15], bl
je 0x40ec5f
push ebx
push ebx
push esi
push esi
push ebx
push ebx
push 0xa
push dword [ebp - 0x2c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jl 0x40ec5f
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x2c]
push str.SELECT__FROM
lea ecx, [ebp - 0x34]
call fcn.00403c8f
mov byte [ebp - 4], 7
or dword [ebp - 0x14], 2
push str.Win32_Process
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403e5b
add esp, 0xc
mov dword [ebp - 4], 8
push dword [eax]
or dword [ebp - 0x14], 4
lea ecx, [ebp - 0x24]
call fcn.0040cc93
mov esi, eax
mov dword [ebp - 4], 9
or dword [ebp - 0x14], 8
push 0x4c691c
lea ecx, [ebp - 0x1c]
call fcn.0040cc93
mov dword [ebp - 4], 0xa
mov ecx, dword [esi]
or dword [ebp - 0x14], 0x10
cmp ecx, ebx
je 0x40eafb
mov ecx, dword [ecx]
jmp 0x40eafd
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x40eb07
mov eax, dword [eax]
jmp 0x40eb09
xor eax, eax
mov edx, dword [edi]
lea esi, [ebp - 0x28]
push esi
push ebx
push 0x30
push ecx
push eax
push edi
call dword [edx + 0x50]
test eax, eax
jl 0x40eb25
mov byte [ebp - 0x15], 1
cmp dword [ebp - 0x28], ebx
jne 0x40eb28
mov byte [ebp - 0x15], bl
mov dword [ebp - 4], 9
test byte [ebp - 0x14], 0x10
je 0x40eb48
mov ecx, dword [ebp - 0x1c]
and dword [ebp - 0x14], 0xffffffef
cmp ecx, ebx
je 0x40eb48
call fcn.0040cd2c
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 8
test byte [ebp - 0x14], 8
je 0x40eb68
mov ecx, dword [ebp - 0x24]
and dword [ebp - 0x14], 0xfffffff7
cmp ecx, ebx
je 0x40eb68
call fcn.0040cd2c
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 7
test byte [ebp - 0x14], 4
je 0x40eb81
and dword [ebp - 0x14], 0xfffffffb
lea ecx, [ebp - 0x20]
call fcn.0040392e
mov dword [ebp - 4], 6
test byte [ebp - 0x14], 2
je 0x40eb9a
and dword [ebp - 0x14], 0xfffffffd
lea ecx, [ebp - 0x34]
call fcn.0040392e
cmp byte [ebp - 0x15], bl
je 0x40ec53
cmp dword [ebp - 0x28], ebx
je 0x40ec4f
mov esi, fcn.00424732
push esi
push 0x424711
push 0x64
push 4
lea eax, [ebp - 0x1c4]
push eax
mov dword [ebp - 0x20], ebx
call fcn.0048a131
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x1c4]
push edx
push 0x64
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x40ec3a
cmp dword [ebp - 0x20], ebx
je 0x40ec3a
mov dword [ebp - 0x1c], ebx
jbe 0x40ec1a
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
mov edi, dword [ebp + 8]
call fcn.00411033
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x24], 4
cmp eax, dword [ebp - 0x20]
jb 0x40ec00
mov byte [ebp - 4], 6
push esi
push 0x64
push 4
lea eax, [ebp - 0x1c4]
push eax
call fcn.00488bdd
cmp dword [ebp - 0x28], ebx
jne 0x40ebb1
jmp 0x40ec4f
mov byte [ebp - 4], 6
push esi
push 0x64
push 4
lea eax, [ebp - 0x1c4]
push eax
call fcn.00488bdd
mov byte [ebp - 0x16], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040ec80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040ec80
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040ec80
mov al, byte [ebp - 0x16]
call fcn.0048cd83
ret