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

Disassembly:
push 0x84
mov eax, 0x6d84e5
call fcn.0057bf64
mov dword [ebp - 0x60], edx
mov esi, ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, dword [ebp + 0xc]
push edi
push edi
mov dword [ebp - 0x58], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x42d264
push 0xb
pop eax
jmp 0x42d5e7
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], edi
push eax
push 0x77c824
push 1
push edi
push 0x77c8f4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x42d286
push 0xd
jmp 0x42d2e6
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x44], edi
push str.ROOTCIMV2
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x5c], eax
call fcn.0042c7ac
mov dword [ebp - 4], edi
mov eax, dword [eax]
test eax, eax
je 0x42d2ae
mov eax, dword [eax]
jmp 0x42d2b0
mov eax, edi
lea ecx, [ebp - 0x44]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push dword [ebp - 0x48]
call dword [ebp - 0x5c]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
test ecx, ecx
je 0x42d2d7
call fcn.0042c99c
mov eax, dword [ebp - 0x4c]
test eax, eax
jns 0x42d2ec
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0xe
pop edi
jmp 0x42d5df
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 0x44]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x44]
jns 0x42d319
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0xf
jmp 0x42d2e6
mov dword [ebp - 0x54], edi
lea ecx, [ebp - 0x7c]
mov eax, dword [eax]
push str.SELECT__FROM
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x78], eax
call fcn.0042c751
mov dword [ebp - 0x50], eax
push 8
pop eax
mov dword [ebp - 4], 1
cmp dword [esi + 0x14], eax
jb 0x42d345
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x4c]
call fcn.0042c7ac
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0042c824
mov esi, eax
push 0x78f7e0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.0042c7ac
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.0042c824
mov esi, eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x14], 8
jb 0x42d399
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x58]
call fcn.0042c7ac
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x6c]
mov ecx, esi
push eax
call fcn.0042c824
mov byte [ebp - 4], 7
mov esi, dword [eax]
test esi, esi
je 0x42d3c3
mov esi, dword [esi]
jmp 0x42d3c5
mov esi, edi
push 0x78f7e4
lea ecx, [ebp - 0x68]
call fcn.0042c751
mov byte [ebp - 4], 8
mov eax, dword [eax]
test eax, eax
je 0x42d3e0
mov eax, dword [eax]
jmp 0x42d3e2
mov eax, edi
lea ecx, [ebp - 0x54]
push ecx
push edi
push 0x30
push esi
push eax
push dword [ebp - 0x44]
call dword [ebp - 0x78]
mov ecx, dword [ebp - 0x68]
mov esi, eax
test ecx, ecx
je 0x42d402
call fcn.0042c99c
mov dword [ebp - 0x68], edi
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x42d411
call fcn.0042c99c
mov dword [ebp - 0x6c], edi
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x42d41d
call fcn.0042c99c
mov ecx, dword [ebp - 0x70]
test ecx, ecx
je 0x42d42c
call fcn.0042c99c
mov dword [ebp - 0x70], edi
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x42d438
call fcn.0042c99c
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x42d447
call fcn.0042c99c
mov dword [ebp - 0x5c], edi
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x42d453
call fcn.0042c99c
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x42d463
call fcn.0042c99c
test esi, esi
jns 0x42d480
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x10
jmp 0x42d2e6
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x74], edi
jmp 0x42d5b9
mov eax, dword [ecx]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x64]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x74], 0
je 0x42d5c4
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x60]
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x42d4bc
mov eax, dword [eax]
push edi
push edi
lea esi, [ebp - 0x90]
push esi
push edi
push eax
push ecx
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push 8
pop eax
cmp word [ebp - 0x90], ax
jne 0x42d526
push dword [ebp - 0x88]
call esi
push eax
push dword [ebp - 0x88]
lea ecx, [ebp - 0x28]
call fcn.0042c32c
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x28]
mov eax, dword [ebx + 4]
push ecx
cmp dword [ebx + 8], eax
je 0x42d519
mov ecx, eax
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
call fcn.0042ba75
add dword [ebx + 4], 0x18
jmp 0x42d521
push eax
mov ecx, ebx
call fcn.0042f2e3
lea ecx, [ebp - 0x28]
jmp 0x42d59a
mov eax, 0x2008
cmp word [ebp - 0x90], ax
jne 0x42d5a3
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x88]
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x42d5a3
mov eax, dword [ebp - 0x4c]
push dword [eax]
call esi
mov ecx, dword [ebp - 0x4c]
push eax
push dword [ecx]
lea ecx, [ebp - 0x40]
call fcn.0042c32c
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
mov eax, dword [ebx + 4]
push ecx
cmp dword [ebx + 8], eax
je 0x42d583
mov ecx, eax
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
call fcn.0042ba75
add dword [ebx + 4], 0x18
jmp 0x42d58b
push eax
mov ecx, ebx
call fcn.0042f2e3
push dword [ebp - 0x88]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
lea ecx, [ebp - 0x40]
or dword [ebp - 4], 0xffffffff
call fcn.0040242c
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x54]
test ecx, ecx
jne 0x42d48b
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
call fcn.0057bf0e
ret