Function at 0x40c4d0
Capabilities:
Delete volume shadow copies

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c998
sub esp, 0x50
mov eax, dword [esp + 0x58]
test eax, eax
je 0x40c97f
movzx ecx, byte [eax + 4]
test cl, 4
jne 0x40c969
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [edx]
mov ebp, dword [eax + 8]
mov esi, dword [esp + 0x5c]
mov dword [esp], esi
mov dword [esp + 4], ebp
call ebx
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x58]
movzx ebx, byte [ecx + 4]
xor ebx, 4
mov byte [ecx + 4], bl
mov ebx, dword [ecx + 0xc]
test ebx, ebx
jne 0x40c581
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov byte [esp + 8], 1
call fcn.0040a8f0
mov eax, dword [0x67e2d0]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x40c569
mov eax, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
jmp 0x40c579
mov ebx, dword [esp + 0x58]
lea edi, [ebx + 0xc]
mov eax, ecx
call fcn.0045f450
mov eax, ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
jmp 0x40c5a9
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0040d080
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
mov eax, edx
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
movzx ebp, byte [ecx + 5]
mov edx, ecx
mov ecx, ebp
mov esi, 1
shl esi, cl
lea ebp, [esi - 1]
and ebp, eax
mov esi, dword [edx + 0x10]
test esi, esi
je 0x40c5e8
mov dword [esp + 0x1c], ebp
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.0040d250
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x1c]
movzx esi, word [ebx + 0x32]
imul ebp, esi
add ebp, dword [edx + 0xc]
mov esi, eax
shr eax, 0x18
cmp al, 5
jae 0x40c5ff
add eax, 5
mov byte [esp + 0x13], al
xor ecx, ecx
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor ecx, ecx
jmp 0x40c696
mov esi, dword [esp + 0x38]
jmp 0x40c620
mov ebp, edi
mov esi, dword [esp + 0x38]
mov edi, dword [edx + 0x10]
test edi, edi
jne 0x40c812
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ecx
mov edi, dword [edx]
inc edi
movzx eax, byte [edx + 5]
cmp edi, 8
jle 0x40c66a
mov dword [esp + 0x44], esi
mov ecx, eax
mov ebp, 1
shl ebp, cl
shr ebp, 1
lea esi, [ebp + ebp*2]
lea ebp, [ebp + esi*4]
cmp ebp, edi
jb 0x40c587
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
movzx edi, word [edx + 6]
cmp al, 0xf
jbe 0x40c678
mov eax, 0xf
and eax, 0xf
mov ecx, eax
mov ebp, 1
shl ebp, cl
cmp di, bp
jae 0x40c587
jmp 0x40c805
mov esi, dword [esp + 0x18]
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x24], al
xor eax, eax
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x24]
jmp 0x40c6d2
movzx esi, word [ebx + 0x32]
lea ebp, [ebp + esi - 4]
mov ebp, dword [ebp]
test ebp, ebp
jne 0x40c692
jmp 0x40c61a
inc esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], edi
mov esi, dword [esp + 0x18]
mov edi, ebp
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x14]
cmp esi, 8
jae 0x40c6ab
mov dword [esp + 0x30], edi
test byte [ebp], al
movzx edi, byte [ebp + esi]
add ebp, esi
xchg edi, ebx
cmp al, bl
xchg edi, ebx
je 0x40c753
xchg edi, eax
cmp al, 1
xchg edi, eax
ja 0x40c73c
test ecx, ecx
jne 0x40c73c
movzx eax, byte [ebx + 0x30]
imul esi, eax
mov dword [esp + 0x20], esi
movzx ebx, byte [ebx + 0x31]
mov esi, dword [esp + 0x14]
imul ebx, esi
lea eax, [ebx + eax*8]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
lea esi, [esi + ebx + 8]
lea eax, [eax + ebx + 8]
mov ebx, dword [esp + 0x54]
mov ecx, ebp
mov ebp, esi
mov dword [esp + 0x38], eax
movzx eax, byte [esp + 0x13]
mov esi, dword [esp + 0x14]
jmp 0x40c740
mov ebp, dword [esp + 0x30]
xchg edi, eax
test al, al
xchg edi, eax
je 0x40c614
mov edi, dword [esp + 0x38]
jmp 0x40c6bf
mov dword [esp + 0x34], ecx
movzx ebp, byte [ebx + 0x30]
imul ebp, esi
mov edi, dword [esp + 0x3c]
lea ebp, [ebp + edi + 8]
mov edi, dword [ebx + 0x34]
test edi, 1
je 0x40c774
mov ebp, dword [ebp]
mov dword [esp + 0x2c], ebp
mov eax, dword [ebx + 0x20]
mov edx, dword [eax + 0x10]
mov eax, dword [edx]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], ebp
call eax
movzx eax, byte [esp + 8]
test al, al
jne 0x40c7b8
movzx eax, byte [esp + 0x13]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
jmp 0x40c6bf
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x34]
test ecx, 8
je 0x40c7e6
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
call fcn.0040f270
mov eax, dword [esp + 0x54]
movzx ecx, byte [eax + 0x30]
movzx edx, byte [eax + 0x31]
mov ebx, dword [esp + 0x14]
imul edx, ebx
lea ecx, [edx + ecx*8]
mov edx, dword [esp + 0x3c]
lea ecx, [edx + ecx + 8]
jmp 0x40c92c
movzx eax, byte [esp + 0x13]
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
test ecx, ecx
jne 0x40c84d
mov dword [esp], edx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0040bb30
mov ecx, dword [esp + 0xc]
test byte [ecx], al
nop
mov eax, dword [esp + 0x54]
movzx edx, byte [eax + 0x30]
lea ebp, [ecx + 8]
lea esi, [ecx + edx*8 + 8]
movzx eax, byte [esp + 0x13]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ecx
mov edi, dword [ebx + 0x34]
test edi, 1
je 0x40c8b0
mov dword [esp + 0x40], ebp
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.0040a8f0
mov edi, dword [esp + 0x40]
test byte [edi], al
mov eax, dword [0x67e2d0]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x40c892
mov dword [edi], ecx
jmp 0x40c899
mov eax, ecx
call fcn.0045f450
movzx eax, byte [esp + 0x13]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x38]
mov ebp, ecx
mov ecx, dword [esp + 0x34]
mov edi, dword [ebx + 0x34]
test edi, 2
je 0x40c8fc
mov dword [esp + 0x30], ebp
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.0040a8f0
mov edi, dword [esp + 0x38]
test byte [edi], al
mov eax, dword [0x67e2d0]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x40c8ed
mov dword [edi], ecx
jmp 0x40c8f4
mov eax, ecx
call fcn.0045f450
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x30]
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.0040f270
movzx eax, byte [esp + 0x13]
mov ecx, dword [esp + 0x34]
mov byte [ecx], al
mov eax, dword [esp + 0x58]
inc dword [eax]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x58]
movzx ebx, byte [edx + 4]
test bl, 4
je 0x40c953
and ebx, 0xfffffffb
mov byte [edx + 4], bl
mov eax, dword [eax + 0x34]
test eax, 2
je 0x40c94b
mov ecx, dword [ecx]
mov dword [esp + 0x60], ecx
add esp, 0x50
ret
lea eax, [0x560a68]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00433a80
lea eax, [0x560a68]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.00433a80
lea eax, [0x54a860]
mov dword [esp], eax
lea eax, [0x59a674]
mov dword [esp + 4], eax
call fcn.00433350
nop
call fcn.0045e080
jmp fcn.0040c4d0