Function at 0x409f30
Capabilities:
Delete volume shadow copies
Delete windows backup catalog
Disable automatic windows recovery features

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40a4aa
sub esp, 0x4c
mov eax, dword [esp + 0x50]
test byte [eax], al
nop
lea ecx, [eax + 0xf4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
add ecx, 0x3fffff
and ecx, 0xffc00000
mov dword [esp + 0x14], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x400000
lea edx, [0x658b90]
mov dword [esp + 0xc], edx
call fcn.0040ba00
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x409f9d
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x14]
jmp 0x40a24f
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], ecx
mov edx, eax
shr eax, 0x16
mov ebx, dword [esp + 0x50]
jmp 0x409fe6
mov ecx, dword [esp + 0x30]
mov dword [edx + ebp*4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00401e10
mov eax, dword [esp + 0x30]
inc eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x34]
mov ecx, ebx
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov ebp, edx
lea edx, [ecx + edx - 1]
shr edx, 0x16
cmp eax, edx
ja 0x40a1a8
mov dword [esp + 0x30], eax
mov edx, dword [ebx + 0xdc]
test edx, edx
jne 0x40a05b
mov dword [esp], 0x1000
mov dword [esp + 4], 4
mov dword [esp + 8], 0
call fcn.0040b630
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40a20c
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x50]
lea edx, [ecx + 0xdc]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00401e10
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
test byte [edx], al
cmp eax, 0x400
jae 0x40a202
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
test esi, esi
jne 0x40a1ec
mov dword [esp + 0x40], edx
lea eax, [ebx + 0xe0]
mov dword [esp], eax
mov dword [esp + 4], 0x408c8
mov dword [esp + 8], 4
lea eax, [0x658bf8]
mov dword [esp + 0xc], eax
call fcn.0040ba00
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40a0d4
mov dword [esp], 0x408c8
mov dword [esp + 4], 4
lea eax, [0x658bf8]
mov dword [esp + 8], eax
call fcn.0040b630
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40a1d6
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx + 0x10c]
cmp dword [ebx + 0x108], ebp
jne 0x40a17f
mov dword [esp + 0x1c], eax
shl ebp, 3
test ebp, ebp
jne 0x40a0fb
mov ebp, dword [0x65726c]
mov dword [esp + 0x18], ebp
mov dword [esp], ebp
mov dword [esp + 4], 4
lea eax, [0x658bf8]
mov dword [esp + 8], eax
call fcn.0040b630
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40a1c0
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx + 0x104]
mov esi, dword [ebx + 0x108]
mov dword [ebx + 0x104], eax
mov edi, dword [esp + 0x18]
shr edi, 2
mov dword [ebx + 0x10c], edi
mov edi, dword [ebx + 0x104]
mov eax, ebx
mov ebx, dword [ebx + 0x108]
cmp ebx, esi
jg 0x40a15c
mov esi, ebx
cmp edi, ebp
je 0x40a177
mov dword [esp], edi
mov dword [esp + 4], ebp
shl esi, 2
mov dword [esp + 8], esi
call fcn.0045fce0
mov eax, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx + 0x108]
mov edx, dword [ebx + 0x10c]
lea ecx, [ebp + 1]
cmp edx, ecx
jb 0x40a1bb
mov dword [ebx + 0x108], ecx
mov edx, dword [ebx + 0x104]
cmp ebp, ecx
jb 0x409fb4
jmp 0x40a1b4
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ecx
add esp, 0x4c
ret
mov eax, ebp
call fcn.0045f450
call fcn.0045f490
lea eax, [0x550269]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.00433a00
lea eax, [0x5520b8]
mov dword [esp], eax
mov dword [esp + 4], 0x2c
call fcn.00433a00
lea eax, [0x54da30]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.00433a00
mov ecx, 0x400
call fcn.0045f460
lea eax, [0x55131f]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00433a00
mov esi, dword [ebp + 8]
mov dword [edx + 0xf0], esi
nop
mov esi, dword [edx + 0x461c]
sub esi, dword [edx + 0x4600]
mov dword [edx + 0x461c], esi
mov esi, dword [edx + 0x460c]
mov dword [ebp], esi
mov dword [edx + 0x460c], ebp
mov eax, ecx
mov ebp, dword [edx + 0xf0]
test ebp, ebp
je 0x40a2f5
mov esi, dword [ebp]
movzx edi, byte [ebp + 4]
xchg edi, eax
test al, al
xchg edi, eax
je 0x40a26c
sub esi, ebx
mov dword [esp + 0x2c], ebp
lea edi, [esi + ebx]
cmp esi, edi
jbe 0x40a27b
xor eax, eax
jmp 0x40a2a7
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], edi
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00413580
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
mov ecx, eax
cmp eax, esi
je 0x40a2e2
test ecx, ecx
je 0x40a222
mov dword [esp + 0x48], ecx
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.00413460
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
jmp 0x40a222
mov eax, edx
movzx edx, byte [ebp + 4]
test dl, dl
jne 0x40a2ee
mov esi, edi
mov dword [ebp], esi
mov edx, ebx
jmp 0x40a2ff
mov edx, ebx
xor ebx, ebx
mov ecx, eax
mov eax, dword [esp + 0x50]
test ebx, ebx
jne 0x40a39d
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], 0x400000
call fcn.0040a4c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x40a3cc
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x50]
lea ecx, [eax + 0x4600]
mov dword [esp + 0x3c], ecx
mov dword [esp], ecx
call fcn.00414500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov byte [eax + 4], 1
mov ecx, dword [0x6372f0]
mov dword [eax + 8], ecx
mov dword [0x6372f0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00414500
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
mov edx, ecx
mov ebx, dword [esp + 0x34]
add ecx, ebx
mov dword [eax], ecx
mov ecx, dword [0x6372f0]
mov dword [eax + 8], ecx
mov dword [0x6372f0], eax
mov eax, dword [esp + 0x50]
mov ecx, edx
mov edx, ecx
lea ebp, [ebx + ecx]
cmp ecx, ebp
jbe 0x40a3b3
mov esi, 0x1c
lea edi, [0x54ea0e]
jmp 0x40a3b7
xor esi, esi
xor edi, edi
test esi, esi
jne 0x40a3f6
test ecx, 0x3fffff
jne 0x40a3e0
mov eax, edx
mov ecx, ebx
jmp 0x409fa1
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x4c
ret
lea eax, [0x54fdda]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00433a00
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], esi
call fcn.004351d0
lea eax, [0x54ff24]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00435e00
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00435c80
lea eax, [0x547e6d]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00435e00
mov dword [esp + 4], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00435c80
lea eax, [0x54f3ea]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.00435e00
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00435e00
call fcn.004353f0
call fcn.00435240
lea eax, [0x5523e3]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
call fcn.00433a00
nop
call fcn.0045e000
jmp fcn.00409f30