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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x47c018]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [esp + 0x18]
push edi
push eax
push 0x44b644
push 1
push 0
push 0x44b664
call esi
test eax, eax
js 0x405ac9
push 0x455984
push str.kernel32.dll
mov dword [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
test edi, edi
je 0x4058ad
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x4058ee
cmp dword [esp + 0x38], 0
je 0x4058ee
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 3
mov dword [esp + 0x30], 0x40
mov word [esp + 0x28], ax
lea edx, [esp + 0x28]
mov eax, dword [esp + 0x1c]
push edx
push 0
push str.__ProviderArchitecture
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
lea eax, [esp + 0x28]
push eax
call ebx
lea eax, [esp + 0x24]
push eax
push 0x44b634
push 0x4401
push 0
push 0x44b654
call esi
test eax, eax
js 0x405abf
cmp dword [esp + 0x24], 0
je 0x405abf
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.ROOTcimv2
call esi
mov edx, dword [esp + 0x24]
lea edi, [esp + 0x18]
push edi
push dword [esp + 0x20]
mov dword [esp + 0x1c], eax
mov ecx, dword [edx]
push 0
push 0
push 0
push 0
push 0
push eax
push edx
call dword [ecx + 0xc]
test eax, eax
js 0x405ab5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x405ab5
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
js 0x405aa5
push 0x4559ec
mov dword [esp + 0x24], 0
call esi
push str.select__from_Win32_ShadowCopy
mov dword [esp + 0x10], eax
call esi
mov edx, dword [esp + 0x18]
lea ebx, [esp + 0x20]
push ebx
push 0
push 0x30
mov ecx, dword [edx]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x24], eax
push edx
call dword [ecx + 0x50]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x405a99
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x40], 0
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [esp + 0x3c], 0
je 0x405a99
nop
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x28]
push 0
push 0
push edx
mov eax, dword [ecx]
push 0
push 0x455a34
push ecx
call dword [eax + 0x10]
test eax, eax
js 0x405a5d
cmp word [esp + 0x28], 8
jne 0x405a5d
push dword [esp + 0x30]
lea eax, [esp + 0x44]
push str.Win32_ShadowCopy.ID_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call esi
mov esi, eax
test esi, esi
je 0x405a50
mov ecx, dword [esp + 0x18]
push 0
push dword [esp + 0x20]
mov edx, dword [ecx]
push 0
push esi
push ecx
call dword [edx + 0x40]
push esi
call edi
lea eax, [esp + 0x28]
push eax
call ebx
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [esp + 0x28]
push eax
call ebx
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x40], 0
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [esp + 0x3c], 0
jne 0x4059f0
push dword [esp + 0xc]
call edi
push dword [esp + 0x10]
call edi
push dword [esp + 0x14]
call edi
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042f19a
mov esp, ebp
pop ebp
ret