Function at 0x407f40
Capabilities:
Delete volume shadow copies

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x408231
sub esp, 0x20
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
test ecx, ecx
je 0x40821a
mov ecx, dword [esp + 0x28]
movzx ebx, byte [ecx + 0xc]
test bl, 1
jne 0x407f91
movzx ebx, byte [esp + 0x2c]
test bl, bl
je 0x40816c
mov dword [esp + 0x30], 0
add esp, 0x20
ret
lea eax, [0x62c2e8]
mov dword [esp], eax
call fcn.00401c20
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.00408240
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4080ac
nop
lea eax, [0x65722c]
mov dword [esp], eax
call fcn.00409140
mov eax, dword [0x62c2e8]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.00408240
mov eax, dword [esp + 0xc]
test eax, eax
je 0x408018
mov dword [esp + 0x14], eax
nop
lea eax, [0x65722c]
mov dword [esp], eax
call fcn.00409340
mov eax, dword [esp + 0x14]
jmp 0x4080ac
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x28]
dec ecx
shl ecx, 2
add ecx, 0x14
mov dword [esp], ecx
mov dword [esp + 4], 0
lea ecx, [0x658c00]
mov dword [esp + 8], ecx
call fcn.0040b630
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0x6573b0]
test eax, eax
jne 0x40805f
mov eax, dword [esp + 0x24]
mov dword [edi], eax
mov ecx, dword [esp + 0x28]
mov dword [edi + 4], ecx
jmp 0x40807a
mov eax, dword [esp + 0x24]
call fcn.0045f3d0
lea ecx, [edi + 4]
mov edx, edi
mov edi, ecx
mov eax, dword [esp + 0x28]
call fcn.0045f3d0
mov edi, edx
mov dword [esp + 0x1c], edi
mov dword [edi + 8], 0
mov dword [esp], edi
call fcn.00408480
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.004082f0
nop
lea eax, [0x65722c]
mov dword [esp], eax
call fcn.00409340
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4080c8
movzx ecx, byte [esp + 0x2c]
test cl, cl
je 0x4080d0
mov dword [esp + 0x30], 0
add esp, 0x20
ret
mov dword [esp + 0x30], eax
add esp, 0x20
ret
mov dword [esp], eax
call fcn.00408480
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], ecx
lea edx, [0x53d720]
mov dword [esp], edx
call fcn.0040b1a0
mov eax, dword [esp + 4]
mov ecx, dword [0x6573b0]
test ecx, ecx
jne 0x40814e
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x6573b0]
test ecx, ecx
jne 0x40813c
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
lea ecx, [0x5386c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004332d0
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x18]
call fcn.0045f3d0
mov eax, ecx
jmp 0x40812a
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x28]
call fcn.0045f3d0
lea edi, [ecx + 8]
mov eax, dword [esp + 0x24]
call fcn.0045f3d0
mov eax, ecx
jmp 0x408112
mov ecx, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00458940
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00459110
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], ecx
lea edx, [0x53d720]
mov dword [esp], edx
call fcn.0040b1a0
mov eax, dword [esp + 4]
mov ecx, dword [0x6573b0]
test ecx, ecx
jne 0x4081fc
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x6573b0]
test ecx, ecx
jne 0x4081ea
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
lea ecx, [0x5386c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004332d0
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x18]
call fcn.0045f3d0
mov eax, ecx
jmp 0x4081d8
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x28]
call fcn.0045f3d0
lea edi, [ecx + 8]
mov eax, dword [esp + 0x24]
call fcn.0045f3d0
mov eax, ecx
jmp 0x4081c0
lea eax, [0x54f5bb]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.00433a00
nop
call fcn.0045e000
jmp fcn.00407f40