Function at 0x402a90
Capabilities:
Connect to wmi namespace via wbemlocator
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41b2d8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x42231c]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x42231c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov esi, ecx
mov edi, 0xf
mov dword [esp + 0x30], esi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
push ebx
push ebx
mov dword [esp + 0x98], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x402b0b
push 0xffffffffffffffff
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
push ebx
jmp 0x402dab
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]
test eax, eax
jge 0x402b53
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x6c]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401550
cmp dword [esp + 0x7c], 0x10
jb 0x402dcb
mov eax, dword [esp + 0x68]
push eax
jmp 0x402dc3
lea ecx, [esp + 0x14]
push ecx
push 0x41e4d4
push 1
push ebx
push 0x41e5a4
mov dword [esp + 0x28], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x402b20
lea ecx, [esp + 0x1c]
push ecx
mov edi, str.ROOTCIMV2
mov dword [esp + 0x14], ebx
call fcn.00402490
mov byte [esp + 0x90], 1
mov eax, dword [eax]
cmp eax, ebx
je 0x402b98
mov eax, dword [eax]
jmp 0x402b9a
xor eax, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea edi, [esp + 0x10]
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x20], eax
mov byte [esp + 0x90], bl
call fcn.00402530
cmp dword [esp + 0x20], ebx
jl 0x402bf1
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x402c1d
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x64]
push eax
mov ecx, esi
call fcn.00401430
lea ecx, [esp + 0x64]
call fcn.00401460
jmp 0x402dcb
mov dword [esp + 0x18], str.Name
jmp 0x402c29
xor ebx, ebx
mov edx, dword [esp + 0x18]
mov edi, dword [edx - 4]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x24], ebx
call fcn.00402490
mov edi, eax
lea ebx, [esp + 0x28]
mov byte [esp + 0x90], 2
call fcn.00402400
mov byte [esp + 0x90], 3
mov ecx, dword [edi]
test ecx, ecx
je 0x402c63
mov ecx, dword [ecx]
jmp 0x402c65
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x402c6f
mov edx, dword [eax]
jmp 0x402c71
xor edx, edx
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
lea ebx, [esp + 0x20]
push ebx
push 0
push 0x30
push ecx
push edx
push eax
mov eax, dword [edi + 0x50]
call eax
lea edi, [esp + 0x28]
mov ebx, eax
call fcn.00402530
lea edi, [esp + 0x2c]
mov byte [esp + 0x90], 0
call fcn.00402530
test ebx, ebx
jl 0x402d65
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x28]
push edx
push 1
mov dword [esp + 0x28], 0
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x1c], 0
je 0x402d65
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push 0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [edi]
push 0
push ecx
push eax
call edx
test eax, eax
jl 0x402d5a
mov edx, dword [edi + 4]
lea eax, [esp + 0x64]
push eax
call fcn.00403a00
lea ecx, [esp + 0x34]
push ecx
lea edi, [esp + 0x4c]
call fcn.00402e90
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x6c]
mov byte [esp + 0x98], 4
call fcn.004049c0
mov ecx, edi
mov byte [esp + 0x90], 0
call fcn.00401460
push 0
push 0x42345c
or eax, 0xffffffff
call fcn.004049c0
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x18]
add eax, 0xc
cmp eax, str.NULL
mov dword [esp + 0x18], eax
jl 0x402c27
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
push 0xffffffffffffffff
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], eax
mov byte [esi + 4], al
push eax
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.00401550
cmp dword [esp + 0x7c], 0x10
jb 0x402dcb
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00408ac2
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0040880d
mov esp, ebp
pop ebp
ret