Function at 0x40e7a0
Capabilities:
Delete volume shadow copies

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40eaeb
sub esp, 0x30
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40e807
mov ecx, dword [eax]
test ecx, ecx
je 0x40e807
movzx ecx, byte [eax + 4]
test cl, 4
jne 0x40ead4
movzx ecx, byte [eax + 5]
test cl, cl
jne 0x40e81a
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x40]
cmp ebx, 0x20
jge 0x40e7f7
nop
lea eax, [ecx + 8]
xor edx, edx
jmp 0x40ea3f
nop
lea ebp, [ecx + 8]
xor edx, edx
mov esi, 8
jmp 0x40e948
lea eax, [0x67eea0]
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], 0
add esp, 0x30
ret
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [edx]
mov ebp, dword [eax + 8]
lea esi, [esp + 0x3c]
mov dword [esp], esi
mov dword [esp + 4], ebp
call ebx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
movzx ebx, byte [ecx + 5]
mov edx, ecx
mov ecx, ebx
mov ebp, 1
shl ebp, cl
lea ecx, [ebp - 1]
mov ebx, ecx
and ecx, eax
mov ebp, dword [esp + 0x34]
movzx esi, word [ebp + 0x32]
imul ecx, esi
mov edi, dword [edx + 0x10]
add ecx, dword [edx + 0xc]
test edi, edi
je 0x40e887
movzx edx, byte [edx + 4]
test dl, 8
jne 0x40e871
shr ebx, 1
and ebx, eax
imul esi, ebx
lea edx, [edi + esi]
movzx ebx, byte [edi + esi]
add ebx, 0xfffffffe
cmp bl, 3
jb 0x40e887
mov ecx, edx
shr eax, 0x18
cmp al, 5
jae 0x40e892
add eax, 5
mov byte [esp + 0x13], al
jmp 0x40e8a2
movzx edx, word [ebp + 0x32]
lea edx, [ecx + edx - 4]
mov ecx, dword [edx]
test ecx, ecx
je 0x40e8b2
mov dword [esp + 0x28], ecx
nop
lea edx, [ecx + 8]
xor ebx, ebx
jmp 0x40e8c9
lea eax, [0x67eea0]
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], 0
add esp, 0x30
ret
inc ebx
add edx, 8
cmp ebx, 8
jae 0x40e898
mov esi, dword [esp + 0x40]
cmp dword [edx + 4], esi
jne 0x40e8c5
lea edi, [ebx + ecx]
cmp byte [edi], al
jne 0x40e8c5
mov edi, dword [edx]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x40e92c
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], edx
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00402340
movzx eax, byte [esp + 0xc]
test al, al
jne 0x40e920
movzx eax, byte [esp + 0x13]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x34]
jmp 0x40e8c5
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x34]
movzx eax, byte [ebp + 0x31]
imul ebx, eax
lea eax, [ecx + ebx + 0x48]
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], 1
add esp, 0x30
ret
inc edx
add ebp, 8
cmp edx, 8
jae 0x40e9d7
cmp dword [ebp + 4], ebx
jne 0x40e960
test byte [ecx], al
lea edi, [ecx + edx]
cmp byte [edi], 1
ja 0x40e96e
test byte [ecx], al
movzx edi, byte [edx + ecx]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x40e944
jmp 0x40e9d7
mov edi, dword [ebp]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x40e9bb
mov ecx, dword [edi]
cmp dword [eax], ecx
je 0x40e989
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
jmp 0x40e944
lea eax, [eax + ebx - 4]
lea ecx, [edi + ebx - 4]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x40e9a1
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
jmp 0x40e944
cmp esi, 8
jne 0x40e9b2
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov esi, edx
jmp 0x40e944
mov eax, dword [esp + 0x38]
jmp 0x40e81a
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 0x31]
imul edx, eax
lea eax, [edx + ecx + 0x48]
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], 1
add esp, 0x30
ret
cmp esi, 8
je 0x40ea04
mov dword [esp + 0x14], esi
lea ecx, [ecx + esi*8 + 8]
nop
mov ecx, dword [ecx]
mov edx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00402340
movzx eax, byte [esp + 0xc]
test al, al
jne 0x40ea17
lea eax, [0x67eea0]
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], 0
add esp, 0x30
ret
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 0x31]
mov ecx, dword [esp + 0x14]
imul ecx, eax
mov eax, dword [esp + 0x2c]
lea eax, [eax + ecx + 0x48]
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], 1
add esp, 0x30
ret
inc edx
add eax, 8
cmp edx, 8
jae 0x40eac1
mov ebx, dword [esp + 0x40]
cmp dword [eax + 4], ebx
jne 0x40ea58
test byte [ecx], al
lea ebp, [edx + ecx]
cmp byte [ebp], 1
ja 0x40ea64
test byte [ecx], al
movzx ebx, byte [edx + ecx]
test bl, bl
jne 0x40ea3b
jmp 0x40eac1
mov ebp, dword [eax]
mov esi, dword [esp + 0x3c]
cmp esi, ebp
je 0x40eaa5
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
call fcn.00402340
movzx eax, byte [esp + 0xc]
test al, al
jne 0x40ea9d
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
jmp 0x40ea3b
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 0x31]
imul edx, eax
lea eax, [ecx + edx + 0x48]
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], 1
add esp, 0x30
ret
lea eax, [0x67eea0]
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], 0
add esp, 0x30
ret
lea eax, [0x564552]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00433a80
nop
call fcn.0045e080
jmp fcn.0040e7a0