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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497336
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e4
mov dword [ebp - 0x58], 0
movzx eax, byte [ebp - 0x29]
push eax
lea ecx, [ebp - 0x78]
call fcn.0041d040
lea ecx, [ebp - 0x78]
call fcn.00423810
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 - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x42a9ed
mov dword [ebp - 0xe4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00423630
mov eax, dword [ebp - 0xe4]
jmp 0x42afd0
mov dword [ebp - 0x14], 0
push str.ROOTCIMV2
lea ecx, [ebp - 0x30]
call fcn.0042a640
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 0
je 0x42aa22
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x40], eax
jmp 0x42aa29
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 0
je 0x42aa67
mov ecx, dword [ebp - 0x30]
call fcn.0042c150
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x1c], 0
jge 0x42aa99
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00423630
mov eax, dword [ebp - 0x80]
jmp 0x42afd0
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x42aafa
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00423630
mov eax, dword [ebp - 0x84]
jmp 0x42afd0
mov dword [ebp - 0x28], 0
push str.SELECT__FROM_Win32_BaseBoard
lea ecx, [ebp - 0x38]
call fcn.0042a590
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 2
push 0x4a9514
lea ecx, [ebp - 0x34]
call fcn.0042a590
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x44]
cmp dword [ecx], 0
je 0x42ab55
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
jmp 0x42ab5c
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x48]
cmp dword [edx], 0
je 0x42ab70
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x50], edx
jmp 0x42ab77
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x28]
push eax
push 0
push 0x30
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 0
je 0x42abb1
mov ecx, dword [ebp - 0x34]
call fcn.0042c150
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x38], 0
je 0x42abca
mov ecx, dword [ebp - 0x38]
call fcn.0042c150
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x1c], 0
jge 0x42ac10
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
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
mov dword [ebp - 0x90], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00423630
mov eax, dword [ebp - 0x90]
jmp 0x42afd0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x28], 0
je 0x42af62
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x20]
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 - 0x5c], eax
cmp dword [ebp - 0x54], 0
jne 0x42ac50
jmp 0x42af62
cmp dword [ebp - 0x20], 0
je 0x42af5d
push 0x4a9518
call fcn.00468ef0
add esp, 4
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
push ecx
push 0x4a9518
lea ecx, [ebp - 0x78]
call fcn.00404a00
mov dword [ebp - 0x24], 0
jmp 0x42ac9f
mov edx, dword [ebp - 0x24]
add edx, 2
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0x14
jae 0x42aef8
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
lea ecx, [ebp - 0xf4]
push ecx
push 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx*4 + 0x4cf2a8]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x24], 0
jle 0x42ad1d
push 0x4a951c
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x124]
push eax
call fcn.00403410
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x78]
call fcn.00415db0
lea ecx, [ebp - 0x124]
call fcn.00423630
mov edx, dword [ebp - 0x24]
mov eax, dword [edx*4 + 0x4cf2fc]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x13c]
push edx
call fcn.00403410
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 4
push 0x4a9520
call fcn.00468ef0
add esp, 4
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
push edx
push 0x4a9520
mov ecx, dword [ebp - 0xac]
call fcn.004048a0
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x10c]
call fcn.00411f80
mov edx, dword [ebp - 0x58]
or edx, 4
mov dword [ebp - 0x58], edx
lea eax, [ebp - 0x10c]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x78]
call fcn.00415db0
lea ecx, [ebp - 0x10c]
call fcn.00423630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.00423630
cmp dword [ebp - 0x5c], 0
jl 0x42aee6
cmp dword [ebp - 0xec], 0
je 0x42aee6
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xbc], edx
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x1f0], eax
push 3
mov ecx, dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x1f0]
call fcn.0042ba40
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1f0]
mov dword [ebp - 0xc0], edx
cmp dword [ebp - 0xc0], 0
je 0x42aec2
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x16c]
call fcn.00415d70
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x154]
push edx
call fcn.00429f60
add esp, 0xc
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x78]
call fcn.00415db0
lea ecx, [ebp - 0x154]
call fcn.00423630
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x16c]
call fcn.00423630
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x60], ecx
lea edx, [ebp - 0x1ec]
cmp dword [ebp - 0x60], edx
je 0x42aee6
mov eax, dword [ebp - 0x60]
push eax
call fcn.00466005
add esp, 4
lea ecx, [ebp - 0xf4]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x42ac96
push 0x4a9524
call fcn.00468ef0
add esp, 4
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xd8]
push eax
push 0x4a9524
lea ecx, [ebp - 0x78]
call fcn.004048a0
cmp dword [ebp + 8], 0
je 0x42af5b
lea ecx, [ebp - 0x78]
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0xdc]
je 0x42af5b
xor eax, eax
mov byte [ebp - 0x15], al
movzx ecx, byte [ebp - 0x15]
push ecx
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040d010
jmp 0x42af62
jmp 0x42ac1e
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x20], 0
je 0x42afa0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 0xe0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00423630
mov eax, dword [ebp - 0xe0]
jmp 0x42afd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret