Function at 0x40e470
Capabilities:
Delete volume shadow copies

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40e793
sub esp, 0x30
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40e4d7
mov ecx, dword [eax]
test ecx, ecx
je 0x40e4d7
movzx ecx, byte [eax + 4]
test cl, 4
jne 0x40e77c
movzx ecx, byte [eax + 5]
test cl, cl
jne 0x40e4e5
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x40]
cmp ebx, 0x20
jge 0x40e4c7
nop
lea eax, [ecx + 8]
xor edx, edx
jmp 0x40e6f1
nop
lea ebp, [ecx + 8]
xor edx, edx
mov esi, 8
jmp 0x40e609
lea eax, [0x67eea0]
mov dword [esp + 0x44], eax
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 0x40e552
movzx edx, byte [edx + 4]
test dl, 8
jne 0x40e53c
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 0x40e552
mov ecx, edx
shr eax, 0x18
cmp al, 5
jae 0x40e55d
add eax, 5
mov byte [esp + 0x13], al
jmp 0x40e56d
movzx edx, word [ebp + 0x32]
lea edx, [ecx + edx - 4]
mov ecx, dword [edx]
test ecx, ecx
je 0x40e57d
mov dword [esp + 0x28], ecx
nop
lea edx, [ecx + 8]
xor ebx, ebx
jmp 0x40e58f
lea eax, [0x67eea0]
mov dword [esp + 0x44], eax
add esp, 0x30
ret
inc ebx
add edx, 8
cmp ebx, 8
jae 0x40e563
mov esi, dword [esp + 0x40]
cmp dword [edx + 4], esi
jne 0x40e58b
lea edi, [ebx + ecx]
cmp byte [edi], al
jne 0x40e58b
mov edi, dword [edx]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x40e5f2
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 0x40e5e6
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 0x40e58b
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
add esp, 0x30
ret
inc edx
add ebp, 8
cmp edx, 8
jae 0x40e693
cmp dword [ebp + 4], ebx
jne 0x40e621
test byte [ecx], al
lea edi, [ecx + edx]
cmp byte [edi], 1
ja 0x40e62f
test byte [ecx], al
movzx edi, byte [edx + ecx]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x40e605
jmp 0x40e693
mov edi, dword [ebp]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x40e67c
mov ecx, dword [edi]
cmp dword [eax], ecx
je 0x40e64a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
jmp 0x40e605
lea eax, [eax + ebx - 4]
lea ecx, [edi + ebx - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x40e662
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
jmp 0x40e605
cmp esi, 8
jne 0x40e673
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov esi, edx
jmp 0x40e605
mov eax, dword [esp + 0x38]
jmp 0x40e4e5
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 0x31]
imul edx, eax
lea eax, [edx + ecx + 0x48]
mov dword [esp + 0x44], eax
add esp, 0x30
ret
cmp esi, 8
je 0x40e6c0
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 0x40e6ce
lea eax, [0x67eea0]
mov dword [esp + 0x44], eax
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
add esp, 0x30
ret
inc edx
add eax, 8
cmp edx, 8
jae 0x40e76e
mov ebx, dword [esp + 0x40]
cmp dword [eax + 4], ebx
jne 0x40e70a
test byte [ecx], al
lea ebp, [edx + ecx]
cmp byte [ebp], 1
ja 0x40e716
test byte [ecx], al
movzx ebx, byte [edx + ecx]
test bl, bl
jne 0x40e6ed
jmp 0x40e76e
mov ebp, dword [eax]
mov esi, dword [esp + 0x3c]
cmp esi, ebp
je 0x40e757
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 0x40e74f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
jmp 0x40e6ed
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
add esp, 0x30
ret
lea eax, [0x67eea0]
mov dword [esp + 0x44], eax
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.0040e470