Function at 0x404f00
Capabilities:
Connect to wmi namespace via wbemlocator
Get system information on windows
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x42c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.DelShadows
call fcn.00402d80
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
add esp, 4
push 0x42a26c
call esi
push str.SELECT__FROM_Win32_ShadowCopy
mov dword [ebp - 0x468], eax
call esi
push str.__ProviderArchitecture
mov dword [ebp - 0x464], eax
call esi
push str.ROOTCIMV2
mov dword [ebp - 0x45c], eax
call esi
push 0
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x40c], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x4051d3
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x444]
push eax
push 0x419328
push 1
push 0
push 0x4193f8
call esi
test eax, eax
js 0x40518d
lea eax, [ebp - 0x43c]
push eax
push 0x419368
push 1
push 0
push 0x419408
call esi
test eax, eax
js 0x40518d
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.DLL_GetNativeSystemInfo]
cmp word [ebp - 0x430], 9
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
jne 0x40505d
lea eax, [ebp - 0x458]
push eax
call edi
mov eax, 3
mov dword [ebp - 0x450], 0x40
mov word [ebp - 0x458], ax
lea edx, [ebp - 0x458]
mov eax, dword [ebp - 0x43c]
push edx
push 0
push dword [ebp - 0x45c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov esi, eax
lea eax, [ebp - 0x458]
push eax
call ebx
test esi, esi
js 0x40518d
mov eax, dword [ebp - 0x444]
lea edx, [ebp - 0x434]
push edx
push dword [ebp - 0x43c]
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x460]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x40518d
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x434]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x40518d
mov eax, dword [ebp - 0x434]
lea edx, [ebp - 0x438]
push edx
push 0
push 0x30
push dword [ebp - 0x464]
mov ecx, dword [eax]
push dword [ebp - 0x468]
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x40518d
mov ecx, dword [ebp - 0x438]
test ecx, ecx
je 0x40519d
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
nop
mov eax, dword [ecx]
lea edx, [ebp - 0x40c]
push edx
lea edx, [ebp - 0x440]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x40c], 0
je 0x40518d
lea eax, [ebp - 0x458]
push eax
call edi
mov eax, dword [ebp - 0x440]
lea edx, [ebp - 0x458]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x42a2fc
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x450]
lea eax, [ebp - 0x408]
push str.Win32_ShadowCopy.ID_s
push eax
call esi
mov eax, dword [ebp - 0x434]
lea edx, [ebp - 0x408]
add esp, 0xc
mov ecx, dword [eax]
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0x40]
lea eax, [ebp - 0x458]
push eax
call ebx
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x438]
test ecx, ecx
jne 0x4050f0
jmp 0x40519d
mov ecx, dword [ebp - 0x438]
test ecx, ecx
je 0x40519d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x434]
test ecx, ecx
je 0x4051ad
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x43c]
test ecx, ecx
je 0x4051bd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x444]
test ecx, ecx
je 0x4051cd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004052f0
mov esp, ebp
pop ebp
ret