Function at 0x4237a2
Capabilities:
Connect to wmi namespace via wbemlocator
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x6c56f8]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x7c
mov eax, 0x5bda61
call fcn.0058708e
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00423bd3
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
push 0x5d4a8c
push 1
push ebx
push 0x5d4b5c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
mov edi, eax
mov esi, dword [eax]
add esi, 0xc
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.ROOTDEFAULT
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
push edi
call dword [esi]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
lea ecx, [ebp - 0x30]
call fcn.00426d82
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x30]
push edx
push ebx
push ebx
push 0x689edc
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x423afb
lea ecx, [ebp - 0x2c]
call fcn.00426d82
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x2c]
push edx
push ebx
push 0x689ef8
push eax
call dword [ecx + 0x4c]
test eax, eax
jl 0x423aef
lea ecx, [ebp - 0x14]
call fcn.00426d82
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push ebx
push eax
call dword [ecx + 0x3c]
test eax, eax
jl 0x423ae3
lea eax, [ebp - 0x4c]
push eax
call fcn.00413a77
mov byte [ebp - 4], 8
lea eax, [ebp - 0x4c]
push eax
call fcn.0041c84b
pop ecx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
sar eax, 2
mov edi, dword [ebp - 0x1c]
cmp edi, eax
jae 0x423ad6
lea esi, [ebp - 0x4c]
call fcn.00413f62
mov esi, dword [eax]
push 8
pop eax
mov word [ebp - 0x64], ax
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x5c], eax
cmp eax, ebx
jne 0x42390c
cmp esi, ebx
je 0x42390c
push 0x8007000e
call fcn.004b6e70
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x64]
push edx
push ebx
push str.Drive
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x4239c0
push 0xb
pop eax
mov word [ebp - 0x74], ax
or eax, 0xffffffff
mov word [ebp - 0x6c], ax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x74]
push edx
push ebx
push str.WaitTillEnabled
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x4239b2
lea ecx, [ebp - 0x24]
call fcn.00426d82
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x24]
push edx
push dword [ebp - 0x14]
push ebx
push ebx
push str.Enable
push str.SystemRestore
push eax
call dword [ecx + 0x60]
cmp eax, ebx
jl 0x4239a6
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x88]
push edx
push ebx
push str.ReturnValue
push eax
call dword [ecx + 0x10]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x24]
call fcn.004218ac
mov byte [ebp - 4], 9
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x28]
push eax
call fcn.004084c2
mov byte [ebp - 4], 0xc
mov edi, dword [ebp - 0x1c]
lea esi, [ebp - 0x4c]
call fcn.00413f62
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
jge 0x4239f4
push 0x80070057
call fcn.00402d79
movzx eax, word [eax]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x1c]
lea esi, [ebp - 0x4c]
call fcn.00413f62
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
jl 0x4239ea
movzx eax, word [eax]
movzx ecx, word [ebp - 0x34]
push ecx
movzx eax, ax
push eax
push str.resize_shadowstorage__on_C:__for_C:__maxsize20__
lea eax, [ebp - 0x28]
call fcn.00417a4d
add esp, 0xc
lea esi, [ebp - 0x54]
call fcn.0047a7b0
mov byte [ebp - 4], 0xd
xor eax, eax
mov word [ebp], ax
push 0x206
push ebx
lea eax, [ebp + 2]
push eax
call fcn.0057e5e0
add esp, 0xc
push 0x400
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edi, [ebp]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
cmp ax, bx
jne 0x423a60
push 7
pop ecx
mov esi, str._vssadmin.exe
rep movsd dword es:[edi], dword [esi]
push ecx
mov eax, esp
mov dword [ebp - 0x34], esp
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.004084e9
mov byte [ebp - 4], 0xe
push ecx
mov eax, esp
mov dword [ebp - 0x78], esp
lea ecx, [ebp]
push ecx
push eax
call fcn.00408518
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xd
call fcn.004236f3
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
lea esi, [ebp - 0x54]
call fcn.0047a7f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.00408559
mov byte [ebp - 4], 8
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc dword [ebp - 0x1c]
jmp 0x4238cb
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4c]
push eax
call fcn.00413aaf
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.004218ac
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.004218ac
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004218ac
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.0046f5eb
mov byte [ebp - 4], bl
lea eax, [ebp - 0x20]
push eax
call fcn.0046f5eb
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.005796dc
add ebp, 0x20c
leave
ret