Function at 0x516910
Capabilities:
Delete volume shadow copies

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x516b5d
sub esp, 0x34
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x516a32
lea ecx, [0x534900]
mov dword [esp], ecx
lea ecx, [eax + 1]
mov dword [esp + 0x24], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00447510
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
call fcn.00516b70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edx, edx
jne 0x516a12
cmp eax, 0x50
jge 0x5169db
mov ebx, eax
mov eax, 0xcccccccd
mov esi, edx
imul ebx
lea edi, [ebx + edx]
sar edi, 5
mov eax, ebx
sar ebx, 0x1f
sub edi, ebx
mov edx, dword [esp + 0x24]
test edx, edx
jbe 0x516b53
mov ebx, dword [esp + 0x28]
mov dword [ebx], edi
lea edi, [edi + edi*4]
shl edi, 3
sub eax, edi
cmp edx, 1
jbe 0x516b47
mov dword [ebx + 4], eax
jmp 0x516a08
mov ebx, dword [esp + 0x24]
test ebx, ebx
jbe 0x516b3e
mov esi, dword [esp + 0x28]
mov dword [esi], 2
cmp ebx, 1
jbe 0x516b32
add eax, 0xffffffb0
mov dword [esi + 4], eax
mov ebx, esi
mov esi, edx
mov edx, dword [esp + 0x24]
mov eax, 2
jmp 0x516a98
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
add esp, 0x34
ret
lea eax, [0x54ef95]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x1d
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00408c10
mov eax, dword [esp + 8]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea ecx, [0x57dc2c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
add esp, 0x34
ret
mov edi, dword [esp + 0x28]
mov dword [edi + ebx*4], eax
lea eax, [ebx + 1]
mov ebx, edi
mov esi, edx
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x3c]
cmp edi, ecx
jle 0x516b06
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], edi
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.00516b70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
test edx, edx
jne 0x516ae6
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
cmp ebx, esi
jb 0x516a86
jmp 0x516b29
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
add esp, 0x34
ret
cmp eax, edx
ja 0x516b22
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], ebp
add esp, 0x34
ret
mov ecx, eax
call fcn.0045f490
mov eax, ebx
mov ecx, esi
call fcn.0045f450
mov eax, 1
mov ecx, ebx
call fcn.0045f450
xor eax, eax
mov ecx, ebx
call fcn.0045f450
mov eax, 1
mov ecx, edx
call fcn.0045f450
xor eax, eax
mov ecx, edx
call fcn.0045f450
nop
call fcn.0045e000
jmp fcn.00516910