Function at 0x401d84
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push 0x74
mov eax, 0x410308
call fcn.00405eb6
xor ebx, ebx
push 2
mov dword [ebp - 4], ebx
push ebx
mov byte [ebp - 4], 1
mov edi, ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x60]
push eax
push 0x4162f4
push 1
push ebx
push 0x4163c4
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x401e43
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
mov ecx, dword [eax]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.ROOTcimv2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x401e43
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x5c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x401e43
push 0x416526
lea ecx, [ebp - 0x48]
call fcn.00401158
lea edx, [ebp - 0x58]
push edx
push ebx
push 0x30
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x5c]
push str.SELECT__FROM_Win32_Process
mov ecx, dword [eax]
push 0x416594
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x401e55
lea ecx, [ebp - 0x48]
call fcn.00401185
lea ecx, [ebp + 0x18]
call fcn.00401185
xor eax, eax
call fcn.00405e08
ret 0x28
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x401f85
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x64]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x18], 0
je 0x401f82
mov eax, dword [ebp - 0x64]
push ebx
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x78]
push edx
push ebx
push str.Name
push eax
call dword [ecx + 0x10]
mov ebx, dword [ebp - 0x70]
push 0xc
call fcn.00403e2f
pop ecx
mov esi, eax
test esi, esi
je 0x401eb8
and dword [esi + 4], 0
mov dword [esi + 8], 1
mov dword [esi], ebx
jmp 0x401eba
xor esi, esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x7c], esi
test esi, esi
jne 0x401ecf
push 0x8007000e
call fcn.0040cba0
mov byte [ebp - 4], 5
cmp dword [esi + 4], 0
jne 0x401ee3
push dword [esi]
call fcn.0040ca80
mov dword [esi + 4], eax
mov ebx, dword [esi + 4]
push ebx
call fcn.00401000
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x48]
call fcn.004011e8
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x38]
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
add eax, ecx
cmp dword [ebp - 0x34], 0x10
lea ecx, [ebp - 0x48]
cmovae ecx, dword [ebp - 0x48]
push eax
xor edx, edx
push ecx
xor ebx, ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
call fcn.00402c9a
mov byte [ebp - 4], 6
push dword [ebp + 0x28]
cmp dword [ebp + 0x2c], 0x10
lea eax, [ebp + 0x18]
cmovae eax, dword [ebp + 0x18]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.004025f1
cmp eax, 0xffffffff
je 0x401f53
inc edi
cmp edi, 2
jl 0x401fb4
cmp dword [ebp - 0x1c], 8
jb 0x401f67
push dword [ebp - 0x30]
call fcn.00403ddf
pop ecx
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 3
call fcn.004016b1
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x48]
call fcn.00401185
jmp 0x402004
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x1c], 8
jb 0x401fcc
push dword [ebp - 0x30]
call fcn.00403ddf
pop ecx
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 3
call fcn.004016b1
jmp 0x401e5c
lea ecx, [ebp + 0x18]
call fcn.00401185
mov eax, edi
jmp 0x401e4d