Function at 0x40e4a0
Capabilities:
Delete volume shadow copies

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40e7c3
sub esp, 0x30
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40e507
mov ecx, dword [eax]
test ecx, ecx
je 0x40e507
movzx ecx, byte [eax + 4]
test cl, 4
jne 0x40e7ac
movzx ecx, byte [eax + 5]
test cl, cl
jne 0x40e515
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x40]
cmp ebx, 0x20
jge 0x40e4f7
nop
lea eax, [ecx + 8]
xor edx, edx
jmp 0x40e721
nop
lea ebp, [ecx + 8]
xor edx, edx
mov esi, 8
jmp 0x40e639
lea eax, [0x657f80]
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 0x40e582
movzx edx, byte [edx + 4]
test dl, 8
jne 0x40e56c
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 0x40e582
mov ecx, edx
shr eax, 0x18
cmp al, 5
jae 0x40e58d
add eax, 5
mov byte [esp + 0x13], al
jmp 0x40e59d
movzx edx, word [ebp + 0x32]
lea edx, [ecx + edx - 4]
mov ecx, dword [edx]
test ecx, ecx
je 0x40e5ad
mov dword [esp + 0x28], ecx
nop
lea edx, [ecx + 8]
xor ebx, ebx
jmp 0x40e5bf
lea eax, [0x657f80]
mov dword [esp + 0x44], eax
add esp, 0x30
ret
inc ebx
add edx, 8
cmp ebx, 8
jae 0x40e593
mov esi, dword [esp + 0x40]
cmp dword [edx + 4], esi
jne 0x40e5bb
lea edi, [ebx + ecx]
cmp byte [edi], al
jne 0x40e5bb
mov edi, dword [edx]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x40e622
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 0x40e616
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 0x40e5bb
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 0x40e6c3
cmp dword [ebp + 4], ebx
jne 0x40e651
test byte [ecx], al
lea edi, [ecx + edx]
cmp byte [edi], 1
ja 0x40e65f
test byte [ecx], al
movzx edi, byte [edx + ecx]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x40e635
jmp 0x40e6c3
mov edi, dword [ebp]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x40e6ac
mov ecx, dword [edi]
cmp dword [eax], ecx
je 0x40e67a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
jmp 0x40e635
lea eax, [eax + ebx - 4]
lea ecx, [edi + ebx - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x40e692
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
jmp 0x40e635
cmp esi, 8
jne 0x40e6a3
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov esi, edx
jmp 0x40e635
mov eax, dword [esp + 0x38]
jmp 0x40e515
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 0x40e6f0
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 0x40e6fe
lea eax, [0x657f80]
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 0x40e79e
mov ebx, dword [esp + 0x40]
cmp dword [eax + 4], ebx
jne 0x40e73a
test byte [ecx], al
lea ebp, [edx + ecx]
cmp byte [ebp], 1
ja 0x40e746
test byte [ecx], al
movzx ebx, byte [edx + ecx]
test bl, bl
jne 0x40e71d
jmp 0x40e79e
mov ebp, dword [eax]
mov esi, dword [esp + 0x3c]
cmp esi, ebp
je 0x40e787
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 0x40e77f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
jmp 0x40e71d
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, [0x657f80]
mov dword [esp + 0x44], eax
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.0040e4a0