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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf28
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x296
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf48]
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x188], 0
mov qword [rbp + 0x1a8], 0
mov dword [rbp + 0x1c4], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140003b41
xor eax, eax
jmp 0x140003f76
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140003b94
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140003f76
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [0x140010c10]
mov r8d, 1
xor edx, edx
lea rcx, [0x140010ce0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rbp + 4], eax
lea rcx, [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rbp + 0x68]
cmp eax, 9
jne 0x140003c87
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x140010c50]
mov r8d, 1
xor edx, edx
lea rcx, [0x140010cf0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140003c0e
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140003f76
lea rcx, str.__ProviderArchitecture
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp + 0xb8], rax
lea rcx, [rbp + 0xd8]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 3
mov word [rbp + 0xd8], ax
mov dword [rbp + 0xe0], 0x40
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
lea r9, [rbp + 0xd8]
xor r8d, r8d
mov rdx, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0x48]
call qword [rax + 0x40]
mov dword [rbp + 4], eax
lea rcx, [rbp + 0xd8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [rbp + 4], 0
jge 0x140003c87
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140003f76
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
lea rcx, [rbp + 0x108]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rbp + 0x48]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x18]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140003d09
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140003f76
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140003d7a
mov rax, qword [rbp + 0x108]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x108]
call qword [rax + 0x10]
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140003f76
lea rcx, [0x14000e4f8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp + 0x148], rax
lea rcx, str.SELECT__FROM_Win32_ShadowCopy
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x108]
mov rax, qword [rax]
lea rcx, [rbp + 0x188]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
mov r9d, gethostbyname
mov r8, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x148]
mov rcx, qword [rbp + 0x108]
call qword [rax + 0xa0]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140003e1d
mov rax, qword [rbp + 0x108]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x108]
call qword [rax + 0x10]
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x140003f76
cmp qword [rbp + 0x188], 0
je 0x140003f20
mov rax, qword [rbp + 0x188]
mov rax, qword [rax]
lea rcx, [rbp + 0x1c4]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x1a8]
mov r8d, 1
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x188]
call qword [rax + 0x20]
mov dword [rbp + 4], eax
cmp dword [rbp + 0x1c4], 0
jne 0x140003e6e
jmp 0x140003f20
mov rax, qword [rbp + 0x1a8]
mov rax, qword [rax]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x1e8]
xor r8d, r8d
lea rdx, [0x14000e540]
mov rcx, qword [rbp + 0x1a8]
call qword [rax + 0x20]
mov dword [rbp + 4], eax
mov edx, 0x800
lea rcx, [rbp + 0x240]
call fcn.140005570
mov r8, qword [rbp + 0x1f0]
lea rdx, str.cmd.exe__c_C:WindowsSystem32wbemWMIC.exe_shadowcopy_where__ID_lls__delete
lea rcx, [rbp + 0x240]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x218]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
lea rcx, [rbp + 0x240]
call fcn.1400039a0
mov rcx, qword [rbp + 0x218]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rbp + 0x1a8]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x1a8]
call qword [rax + 0x10]
jmp 0x140003e1d
cmp qword [rbp + 0x48], 0
je 0x140003f35
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x48]
call qword [rax + 0x10]
mov rax, qword [rbp + 0x108]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x108]
call qword [rax + 0x10]
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x28]
call qword [rax + 0x10]
mov rax, qword [rbp + 0x188]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x188]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14000dc40]
call fcn.14000a0a0
mov rax, rdi
lea rsp, [rbp + 0xed8]
pop rdi
pop rbp
ret