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

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x6b06f8]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x7c
mov eax, 0x5b73ad
call fcn.00580e9e
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00424844
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 0x5cdacc
push 1
push ebx
push 0x5cdb9c
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.00426df8
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 str.SystemRestore
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x42476c
lea ecx, [ebp - 0x2c]
call fcn.00426df8
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 0x678390
push eax
call dword [ecx + 0x4c]
test eax, eax
jl 0x424760
lea ecx, [ebp - 0x14]
call fcn.00426df8
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 0x424754
lea eax, [ebp - 0x4c]
push eax
call fcn.004137bf
mov byte [ebp - 4], 8
lea eax, [ebp - 0x4c]
push eax
call fcn.0041caca
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 0x424747
lea esi, [ebp - 0x4c]
call fcn.00413946
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 0x42457d
cmp esi, ebx
je 0x42457d
push 0x8007000e
call fcn.004b0f10
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 0x424631
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 0x424623
lea ecx, [ebp - 0x24]
call fcn.00426df8
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 0x678390
push str.SystemRestore
push eax
call dword [ecx + 0x60]
cmp eax, ebx
jl 0x424617
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.00421bee
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.0040850b
mov byte [ebp - 4], 0xc
mov edi, dword [ebp - 0x1c]
lea esi, [ebp - 0x4c]
call fcn.00413946
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
jge 0x424665
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.00413946
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
jl 0x42465b
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.00417833
add esp, 0xc
lea esi, [ebp - 0x54]
call fcn.00476200
mov byte [ebp - 4], 0xd
xor eax, eax
mov word [ebp], ax
push 0x206
push ebx
lea eax, [ebp + 2]
push eax
call fcn.005783f0
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 0x4246d1
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.00408532
mov byte [ebp - 4], 0xe
push ecx
mov eax, esp
mov dword [ebp - 0x78], esp
lea ecx, [ebp]
push ecx
push eax
call fcn.00408561
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xd
call fcn.00424364
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
lea esi, [ebp - 0x54]
call fcn.00476240
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.004085a2
mov byte [ebp - 4], 8
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc dword [ebp - 0x1c]
jmp 0x42453c
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4c]
push eax
call fcn.0041391c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.00421bee
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00421bee
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00421bee
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.004204aa
mov byte [ebp - 4], bl
lea eax, [ebp - 0x20]
push eax
call fcn.004204aa
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.0057372c
add ebp, 0x20c
leave
ret