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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497375
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
call fcn.0041e1b0
lea ecx, [ebp - 0x54]
call fcn.00423850
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x4c23c4
push 1
push 0
push 0x4c23b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x42b0ab
lea edx, [ebp - 0x54]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
movzx eax, byte [ebp - 0x2d]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041d080
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004234f0
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00423720
mov eax, dword [ebp + 8]
jmp 0x42b586
mov dword [ebp - 0x18], 0
push 0x4a91f4
lea ecx, [ebp - 0x34]
call fcn.0042a640
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x58]
cmp dword [ecx], 0
je 0x42b0e6
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
jmp 0x42b0ed
mov dword [ebp - 0x5c], 0
lea edx, [ebp - 0x18]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], 0
je 0x42b12b
mov ecx, dword [ebp - 0x34]
call fcn.0042c150
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x20], 0
jge 0x42b1a0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x54]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
push eax
movzx ecx, byte [ebp - 0x2e]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041d080
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp + 8]
call fcn.004234f0
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00423720
mov eax, dword [ebp + 8]
jmp 0x42b586
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x42b23e
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
push ecx
movzx edx, byte [ebp - 0x2f]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041d080
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
call fcn.004234f0
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00423720
mov eax, dword [ebp + 8]
jmp 0x42b586
mov dword [ebp - 0x28], 0
push str.SELECT__FROM_Win32_OperatingSystem
lea ecx, [ebp - 0x3c]
call fcn.0042a590
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 2
push 0x4a9230
lea ecx, [ebp - 0x38]
call fcn.0042a590
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x60]
cmp dword [ecx], 0
je 0x42b299
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
jmp 0x42b2a0
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x64]
cmp dword [edx], 0
je 0x42b2b4
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x6c], edx
jmp 0x42b2bb
mov dword [ebp - 0x6c], 0
lea eax, [ebp - 0x28]
push eax
push 0
push 0x30
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x38], 0
je 0x42b2f5
mov ecx, dword [ebp - 0x38]
call fcn.0042c150
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x3c], 0
je 0x42b30e
mov ecx, dword [ebp - 0x3c]
call fcn.0042c150
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x20], 0
jge 0x42b391
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x54]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
call fcn.0041e1b0
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004234f0
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00423720
mov eax, dword [ebp + 8]
jmp 0x42b586
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x28], 0
je 0x42b4db
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x70], 0
jne 0x42b3d1
jmp 0x42b4db
cmp dword [ebp - 0x24], 0
je 0x42b4d6
mov dword [ebp - 0x2c], 0
jmp 0x42b3ed
mov eax, dword [ebp - 0x2c]
add eax, 2
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x14
jae 0x42b4a2
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
lea edx, [ebp - 0xe4]
push edx
push 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax*4 + 0x4cf258]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jl 0x42b490
cmp dword [ebp - 0xdc], 0
je 0x42b490
push 0x4a9234
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax*4 + 0x4cf258]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x42b490
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
push eax
call fcn.00468c16
add esp, 4
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x54]
call fcn.00401490
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x42b3e4
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0xc4], edx
cmp dword [ebp - 0xc4], 0
jne 0x42b4bd
mov dword [ebp - 0x7c], 1
jmp 0x42b4c4
mov dword [ebp - 0x7c], 0
mov al, byte [ebp - 0x7c]
mov byte [ebp - 0x19], al
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
jne 0x42b4d4
jmp 0x42b4db
jmp 0x42b4db
jmp 0x42b39f
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x24], 0
je 0x42b519
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x54]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
call fcn.0041e1b0
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004234f0
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00423720
mov eax, dword [ebp + 8]
jmp 0x42b586
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret