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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4733d8
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x4720da
cmp dword [esi + 4], 0
je 0x4720da
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x472100
mov byte [esi + 8], 1
mov dword [esi + 0xc], eax
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x13], 0
jne 0x47214b
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, 0x80010119
je 0x472147
test eax, eax
jns 0x472147
mov byte [esi + 8], 1
mov dword [esi + 0xc], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x13], 1
push edi
push esi
push 0x4bc284
push 1
push 0
push 0x4bc354
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x4721a8
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, esi
call fcn.00496750
test al, al
je 0x47218f
mov ecx, esi
call fcn.004720a0
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov byte [esi + 8], 1
xor al, al
mov dword [esi + 0xc], edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push str.ROOTCIMV2
lea ecx, [ebp - 0x10]
call fcn.00409d00
mov eax, dword [eax]
mov dword [ebp - 4], 0
test eax, eax
je 0x4721c6
mov edx, dword [eax]
jmp 0x4721c8
xor edx, edx
mov ecx, dword [esi]
push ebx
lea ebx, [esi + 4]
push ebx
mov eax, dword [ecx]
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push ecx
call dword [eax + 0xc]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x472244
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x47223a
test edi, edi
je 0x47223a
mov eax, dword [edi]
test eax, eax
je 0x472218
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x47222f
push eax
call fcn.004495c9
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004495bb
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
test eax, eax
jns 0x472284
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esi], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, esi
call fcn.00496750
test al, al
jne 0x4722cd
mov eax, dword [ebp - 0x14]
pop ebx
mov byte [esi + 8], 1
mov dword [esi + 0xc], eax
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebx]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
test edi, edi
jns 0x4722ff
mov ecx, dword [ebx]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
mov dword [ebx], 0
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esi], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, esi
call fcn.00496750
test al, al
je 0x4722e5
mov ecx, esi
call fcn.004720a0
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov byte [esi + 8], 1
xor al, al
pop ebx
mov dword [esi + 0xc], edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop ebx
mov byte [esi + 8], 0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret