Function at 0x40e7d0
Capabilities:
Delete volume shadow copies

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40eb1b
sub esp, 0x30
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40e837
mov ecx, dword [eax]
test ecx, ecx
je 0x40e837
movzx ecx, byte [eax + 4]
test cl, 4
jne 0x40eb04
movzx ecx, byte [eax + 5]
test cl, cl
jne 0x40e84a
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x40]
cmp ebx, 0x20
jge 0x40e827
nop
lea eax, [ecx + 8]
xor edx, edx
jmp 0x40ea6f
nop
lea ebp, [ecx + 8]
xor edx, edx
mov esi, 8
jmp 0x40e978
lea eax, [0x657f80]
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 0x40e8b7
movzx edx, byte [edx + 4]
test dl, 8
jne 0x40e8a1
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 0x40e8b7
mov ecx, edx
shr eax, 0x18
cmp al, 5
jae 0x40e8c2
add eax, 5
mov byte [esp + 0x13], al
jmp 0x40e8d2
movzx edx, word [ebp + 0x32]
lea edx, [ecx + edx - 4]
mov ecx, dword [edx]
test ecx, ecx
je 0x40e8e2
mov dword [esp + 0x28], ecx
nop
lea edx, [ecx + 8]
xor ebx, ebx
jmp 0x40e8f9
lea eax, [0x657f80]
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], 0
add esp, 0x30
ret
inc ebx
add edx, 8
cmp ebx, 8
jae 0x40e8c8
mov esi, dword [esp + 0x40]
cmp dword [edx + 4], esi
jne 0x40e8f5
lea edi, [ebx + ecx]
cmp byte [edi], al
jne 0x40e8f5
mov edi, dword [edx]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x40e95c
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.00402370
movzx eax, byte [esp + 0xc]
test al, al
jne 0x40e950
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 0x40e8f5
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 0x40ea07
cmp dword [ebp + 4], ebx
jne 0x40e990
test byte [ecx], al
lea edi, [ecx + edx]
cmp byte [edi], 1
ja 0x40e99e
test byte [ecx], al
movzx edi, byte [edx + ecx]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x40e974
jmp 0x40ea07
mov edi, dword [ebp]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x40e9eb
mov ecx, dword [edi]
cmp dword [eax], ecx
je 0x40e9b9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
jmp 0x40e974
lea eax, [eax + ebx - 4]
lea ecx, [edi + ebx - 4]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x40e9d1
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
jmp 0x40e974
cmp esi, 8
jne 0x40e9e2
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov esi, edx
jmp 0x40e974
mov eax, dword [esp + 0x38]
jmp 0x40e84a
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 0x40ea34
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.00402370
movzx eax, byte [esp + 0xc]
test al, al
jne 0x40ea47
lea eax, [0x657f80]
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 0x40eaf1
mov ebx, dword [esp + 0x40]
cmp dword [eax + 4], ebx
jne 0x40ea88
test byte [ecx], al
lea ebp, [edx + ecx]
cmp byte [ebp], 1
ja 0x40ea94
test byte [ecx], al
movzx ebx, byte [edx + ecx]
test bl, bl
jne 0x40ea6b
jmp 0x40eaf1
mov ebp, dword [eax]
mov esi, dword [esp + 0x3c]
cmp esi, ebp
je 0x40ead5
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.00402370
movzx eax, byte [esp + 0xc]
test al, al
jne 0x40eacd
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
jmp 0x40ea6b
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, [0x657f80]
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], 0
add esp, 0x30
ret
lea eax, [0x54fcb1]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00433a00
nop
call fcn.0045e000
jmp fcn.0040e7d0