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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4190d7
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x420854]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4d8], eax
xor ebx, ebx
push ebx
mov dword [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x4c4]
push ecx
push 0x41a50c
push 1
push ebx
push 0x41a5dc
mov dword [ebp - 0x4c4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x402649
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp + 0x20], 0x10
jb 0x402623
mov edx, dword [ebp + 0xc]
push edx
call fcn.00406611
add esp, 4
cmp dword [ebp + 0x3c], 8
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
jb 0x402642
mov eax, dword [ebp + 0x28]
push eax
call fcn.00406611
add esp, 4
xor eax, eax
jmp 0x402a46
lea ecx, [ebp - 0x4cc]
push ecx
mov edi, str.ROOTCIMV2
mov dword [ebp - 0x4c0], ebx
call fcn.00401a30
mov byte [ebp - 4], 2
mov eax, dword [eax]
cmp eax, ebx
je 0x40266e
mov ecx, dword [eax]
jmp 0x402670
xor ecx, ecx
mov eax, dword [ebp - 0x4c4]
mov edx, dword [eax]
lea esi, [ebp - 0x4c0]
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov edi, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4cc]
cmp eax, ebx
je 0x4026d6
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x4026d6
cmp esi, ebx
je 0x4026d6
mov eax, dword [esi]
cmp eax, ebx
je 0x4026bd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4026cd
push eax
call fcn.00406ba2
add esp, 4
push esi
call fcn.00406611
add esp, 4
cmp edi, ebx
jge 0x40272a
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp + 0x20], 0x10
jb 0x402700
mov eax, dword [ebp + 0xc]
push eax
call fcn.00406611
add esp, 4
cmp dword [ebp + 0x3c], 8
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
jb 0x402642
mov ecx, dword [ebp + 0x28]
push ecx
call fcn.00406611
add esp, 4
xor eax, eax
jmp 0x402a46
mov edx, dword [ebp - 0x4c0]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x402755
mov eax, dword [ebp - 0x4c0]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4026da
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x430]
push eax
mov dword [ebp - 0x4c8], ebx
call fcn.00404420
add esp, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x41c], 0x10
mov eax, dword [ebp - 0x430]
jae 0x402787
lea eax, [ebp - 0x430]
push eax
lea ebx, [ebp - 0x4dc]
call fcn.004019a0
mov esi, eax
push 0x41d388
lea ebx, [ebp - 0x4cc]
mov byte [ebp - 4], 4
call fcn.004019a0
mov byte [ebp - 4], 5
mov ecx, dword [esi]
xor ebx, ebx
cmp ecx, ebx
je 0x4027b9
mov ecx, dword [ecx]
jmp 0x4027bb
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x4027c5
mov edx, dword [eax]
jmp 0x4027c7
xor edx, edx
mov eax, dword [ebp - 0x4c0]
mov esi, dword [eax]
lea edi, [ebp - 0x4c8]
push edi
push ebx
push 0x30
push ecx
mov ecx, dword [esi + 0x50]
push edx
push eax
call ecx
lea edi, [ebp - 0x4cc]
mov esi, eax
call fcn.00401ad0
lea edi, [ebp - 0x4dc]
mov byte [ebp - 4], 3
call fcn.00401ad0
cmp esi, ebx
jge 0x402891
mov eax, dword [ebp - 0x4c0]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edi, 0x10
cmp dword [ebp - 0x41c], edi
jb 0x402843
mov eax, dword [ebp - 0x430]
push eax
call fcn.00406611
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x420], ebx
mov byte [ebp - 0x430], bl
cmp dword [ebp + 0x20], edi
jb 0x40286b
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00406611
add esp, 4
cmp dword [ebp + 0x3c], 8
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
jb 0x402642
mov edx, dword [ebp + 0x28]
push edx
call fcn.00406611
add esp, 4
xor eax, eax
jmp 0x402a46
mov eax, dword [ebp - 0x4c8]
mov dword [ebp - 0x4d4], ebx
cmp eax, ebx
je 0x4029b2
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [eax]
lea edx, [ebp - 0x4d4]
push edx
lea edx, [ebp - 0x4d0]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x4d4], ebx
je 0x4029b2
lea ecx, [ebp - 0x4ec]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
cmp dword [ebp + 0x3c], 8
mov ecx, dword [ebp + 0x28]
jae 0x4028ea
lea ecx, [ebp + 0x28]
mov eax, dword [ebp - 0x4d0]
mov edx, dword [eax]
push ebx
push ebx
lea edi, [ebp - 0x4ec]
push edi
push ebx
push ecx
push eax
mov eax, dword [edx + 0x10]
call eax
cmp eax, ebx
jl 0x40298d
mov edx, dword [ebp - 0x4e4]
push 3
push edx
lea eax, [ebp - 0x4bc]
lea ecx, [ebp - 0x4b8]
push eax
mov dword [ebp - 0x4bc], ecx
call fcn.00403790
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x4bc]
push ecx
lea edx, [ebp - 0x414]
push 0xc8
push edx
call fcn.00406d71
lea eax, [ebp - 0x414]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402954
mov ecx, dword [ebp - 0x4d8]
sub eax, edx
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00403980
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x4bc]
lea ecx, [ebp - 0x4b8]
cmp eax, ecx
je 0x40298d
push eax
call fcn.004069e1
add esp, 4
lea edx, [ebp - 0x4ec]
push edx
call esi
mov eax, dword [ebp - 0x4d0]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x4c8]
cmp eax, ebx
jne 0x4028ab
mov eax, dword [ebp - 0x4c0]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x4c8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edi, 0x10
cmp dword [ebp - 0x41c], edi
jb 0x4029fe
mov eax, dword [ebp - 0x430]
push eax
call fcn.00406611
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x420], ebx
mov byte [ebp - 0x430], bl
cmp dword [ebp + 0x20], edi
jb 0x402a26
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00406611
add esp, 4
cmp dword [ebp + 0x3c], 8
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
jb 0x402a41
mov edx, dword [ebp + 0x28]
push edx
call fcn.00406611
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040661c
mov esp, ebp
pop ebp
ret