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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x20], edx
xor esi, esi
push edi
mov edi, esi
test ebx, ebx
js 0x46c53c
cmp ebx, 7
jae 0x46c53c
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x46c2ea
push 0xfffffffffffffffe
pop eax
jmp 0x46c53f
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push 0x684ce8
push 1
push esi
push 0x684db8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x46c310
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x46c2e2
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], esi
call fcn.0046bcb0
mov eax, dword [eax]
test eax, eax
je 0x46c326
mov edx, dword [eax]
jmp 0x46c328
mov edx, esi
mov eax, dword [ebp - 0xc]
lea esi, [ebp - 8]
push esi
xor esi, esi
push esi
mov ecx, dword [eax]
push esi
push esi
push esi
push esi
push esi
push edx
push eax
call dword [ecx + 0xc]
mov ecx, dword [ebp - 0x1c]
mov esi, eax
test ecx, ecx
je 0x46c34c
call fcn.0046bd2d
test esi, esi
jns 0x46c35b
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x46c308
xor esi, esi
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x46c378
push 0xfffffffffffffffe
jmp 0x46c3e4
push dword [ebx*8 + 0x6926ac]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], esi
call fcn.0046bc4b
mov eax, dword [eax]
test eax, eax
je 0x46c392
mov esi, dword [eax]
push 0x69c004
lea ecx, [ebp - 0x18]
call fcn.0046bc4b
mov eax, dword [eax]
test eax, eax
je 0x46c3a9
mov edx, dword [eax]
jmp 0x46c3ab
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push 0
push 0x30
push esi
push edx
push eax
call dword [ecx + 0x50]
mov ecx, dword [ebp - 0x18]
mov esi, eax
test ecx, ecx
je 0x46c3d2
call fcn.0046bd2d
and dword [ebp - 0x18], edi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x46c3de
call fcn.0046bd2d
test esi, esi
jns 0x46c404
push 0xfffffffffffffffd
mov ecx, dword [ebp - 8]
pop esi
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
jmp 0x46c53f
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x46c51a
mov esi, dword [ebp - 0x20]
and dword [ebp - 0x18], 0
and dword [ebp - 0x1c], 0
test esi, esi
je 0x46c427
cmp edi, dword [ebp + 8]
jge 0x46c51a
mov eax, dword [ecx]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x18]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x1c], 0
je 0x46c517
test esi, esi
je 0x46c500
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x34]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push dword [ebx*8 + 0x6926b0]
push eax
call dword [ecx + 0x10]
push SysReAllocString
push dword [ebp - 0x2c]
mov eax, edi
mov edx, 0x80
shl eax, 8
add esi, eax
push ecx
mov ecx, esi
call fcn.0046c05c
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebx
mov dword [ebp - 0x14], 1
sub eax, 0
je 0x46c4e1
sub eax, 1
je 0x46c4d5
sub eax, 5
lea eax, [ebp - 0x24]
push eax
push esi
je 0x46c4cc
mov dword [ebp - 0x24], 0x20
call fcn.005f0068
inc eax
pop ecx
mov ecx, esi
lea edx, [esi + eax*2]
call fcn.0046c546
jmp 0x46c4ee
mov dword [ebp - 0x24], 0x3a
jmp 0x46c4b9
mov ecx, esi
call fcn.0046c1ab
mov dword [ebp - 0x14], eax
jmp 0x46c4ef
push ecx
mov edx, esi
mov ecx, esi
call fcn.0046c0a3
mov dword [ebp - 0x14], eax
pop ecx
cmp dword [ebp - 0x14], 0
lea eax, [edi + 1]
mov esi, dword [ebp - 0x20]
cmove eax, edi
mov edi, eax
jmp 0x46c501
inc edi
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x46c412
jmp 0x46c51a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
jmp 0x46c53f
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret