Function at 0x409f00
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 0x40a47a
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, [0x67fab0]
mov dword [esp + 0xc], edx
call fcn.0040b9d0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x409f6d
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x14]
jmp 0x40a21f
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 0x409fb6
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.00401de0
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 0x40a178
mov dword [esp + 0x30], eax
mov edx, dword [ebx + 0xdc]
test edx, edx
jne 0x40a02b
mov dword [esp], 0x1000
mov dword [esp + 4], 4
mov dword [esp + 8], 0
call fcn.0040b600
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40a1dc
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.00401de0
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 0x40a1d2
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
test esi, esi
jne 0x40a1bc
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, [0x67fb18]
mov dword [esp + 0xc], eax
call fcn.0040b9d0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40a0a4
mov dword [esp], 0x408c8
mov dword [esp + 4], 4
lea eax, [0x67fb18]
mov dword [esp + 8], eax
call fcn.0040b600
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40a1a6
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx + 0x10c]
cmp dword [ebx + 0x108], ebp
jne 0x40a14f
mov dword [esp + 0x1c], eax
shl ebp, 3
test ebp, ebp
jne 0x40a0cb
mov ebp, dword [0x67e174]
mov dword [esp + 0x18], ebp
mov dword [esp], ebp
mov dword [esp + 4], 4
lea eax, [0x67fb18]
mov dword [esp + 8], eax
call fcn.0040b600
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40a190
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 0x40a12c
mov esi, ebx
cmp edi, ebp
je 0x40a147
mov dword [esp], edi
mov dword [esp + 4], ebp
shl esi, 2
mov dword [esp + 8], esi
call fcn.0045fd70
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 0x40a18b
mov dword [ebx + 0x108], ecx
mov edx, dword [ebx + 0x104]
cmp ebp, ecx
jb 0x409f84
jmp 0x40a184
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ecx
add esp, 0x4c
ret
mov eax, ebp
call fcn.0045f4d0
call fcn.0045f510
lea eax, [0x564b2c]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.00433a80
lea eax, [0x566a2c]
mov dword [esp], eax
mov dword [esp + 4], 0x2c
call fcn.00433a80
lea eax, [0x5620ab]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.00433a80
mov ecx, 0x400
call fcn.0045f4e0
lea eax, [0x565cba]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.00433a80
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 0x40a2c5
mov esi, dword [ebp]
movzx edi, byte [ebp + 4]
xchg edi, eax
test al, al
xchg edi, eax
je 0x40a23c
sub esi, ebx
mov dword [esp + 0x2c], ebp
lea edi, [esi + ebx]
cmp esi, edi
jbe 0x40a24b
xor eax, eax
jmp 0x40a277
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], edi
mov dword [esp], esi
mov dword [esp + 4], ebx
call fcn.00413550
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 0x40a2b2
test ecx, ecx
je 0x40a1f2
mov dword [esp + 0x48], ecx
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.00413430
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x2c]
jmp 0x40a1f2
mov eax, edx
movzx edx, byte [ebp + 4]
test dl, dl
jne 0x40a2be
mov esi, edi
mov dword [ebp], esi
mov edx, ebx
jmp 0x40a2cf
mov edx, ebx
xor ebx, ebx
mov ecx, eax
mov eax, dword [esp + 0x50]
test ebx, ebx
jne 0x40a36d
mov dword [esp], 0
mov dword [esp + 4], edx
mov dword [esp + 8], 0x400000
call fcn.0040a490
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x40a39c
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.004144d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov byte [eax + 4], 1
mov ecx, dword [0x65e1f0]
mov dword [eax + 8], ecx
mov dword [0x65e1f0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.004144d0
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 [0x65e1f0]
mov dword [eax + 8], ecx
mov dword [0x65e1f0], eax
mov eax, dword [esp + 0x50]
mov ecx, edx
mov edx, ecx
lea ebp, [ebx + ecx]
cmp ecx, ebp
jbe 0x40a383
mov esi, 0x1c
lea edi, [0x56317a]
jmp 0x40a387
xor esi, esi
xor edi, edi
test esi, esi
jne 0x40a3c6
test ecx, 0x3fffff
jne 0x40a3b0
mov eax, edx
mov ecx, ebx
jmp 0x409f71
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x4c
ret
lea eax, [0x56467b]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00433a80
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], esi
call fcn.00435250
lea eax, [0x5647c5]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00435e80
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00435d00
lea eax, [0x55c2cd]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00435e80
mov dword [esp + 4], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00435d00
lea eax, [0x563bae]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.00435e80
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.00435e80
call fcn.00435470
call fcn.004352c0
lea eax, [0x566d84]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
call fcn.00433a80
nop
call fcn.0045e080
jmp fcn.00409f00