Function at 0x42d3a5
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
mov eax, dword [0x454090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
push edi
mov edi, edx
cmp dword [eax - 0xc], ebx
je 0x42d6c9
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push dword [esi]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42d6c9
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x42d415
mov eax, dword [esi]
call fcn.00401272
test eax, eax
je 0x42d6c9
lea eax, [ebp - 0x478]
push eax
mov eax, dword [edi]
push 0x3b
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x474], ebx
call fcn.0040f270
cmp dword [ebp - 0x478], ebx
mov eax, dword [esi]
pop ecx
seta byte [ebp - 0x462]
pop ecx
sub eax, 0x10
call fcn.00409a5a
add eax, 0x10
mov dword [ebp - 0x480], eax
push 0x448948
lea eax, [ebp - 0x480]
push eax
call fcn.0040217a
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x480]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x47c], eax
cmp eax, 0xffffffff
je 0x42d6a8
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x42d6a8
test byte [ebp - 0x460], 0x10
mov edi, 0x4488a4
jne 0x42d681
mov eax, dword [esi]
sub eax, 0x10
call fcn.00409a5a
add eax, 0x10
mov dword [ebp - 0x468], eax
push edi
lea eax, [ebp - 0x468]
push eax
call fcn.0040217a
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0040217a
cmp byte [ebp - 0x462], bl
sete byte [ebp - 0x461]
cmp byte [ebp - 0x462], bl
je 0x42d65e
cmp dword [ebp - 0x478], ebx
jbe 0x42d65e
mov ebx, dword [ebp - 0x474]
mov eax, dword [ebp - 0x478]
add ebx, 4
mov dword [ebp - 0x46c], eax
push dword [ebx]
lea eax, [ebp - 0x470]
call fcn.004045c9
push dword [ebp - 0x468]
lea eax, [ebp - 0x470]
push eax
call fcn.00408e89
test eax, eax
jne 0x42d544
mov byte [ebp - 0x461], 1
mov eax, dword [ebp - 0x470]
add eax, 0xfffffff0
call fcn.004046a2
add ebx, 8
dec dword [ebp - 0x46c]
jne 0x42d51a
jmp 0x42d65e
test byte [ebp - 0x460], 0x10
jne 0x42d681
mov eax, dword [esi]
sub eax, 0x10
call fcn.00409a5a
add eax, 0x10
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x484]
xor ecx, ecx
push eax
inc ecx
lea eax, [ebp - 0x468]
call fcn.0041415e
push edi
push eax
call fcn.00408e89
test eax, eax
mov eax, dword [ebp - 0x484]
setne bl
add eax, 0xfffffff0
call fcn.004046a2
test bl, bl
je 0x42d5c2
push edi
lea eax, [ebp - 0x468]
push eax
call fcn.0040217a
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0040217a
cmp byte [ebp - 0x462], 0
sete byte [ebp - 0x461]
cmp byte [ebp - 0x462], 0
je 0x42d65e
and dword [ebp - 0x46c], 0
cmp dword [ebp - 0x478], 0
jbe 0x42d65e
mov ebx, dword [ebp - 0x474]
add ebx, 4
push dword [ebx]
lea eax, [ebp - 0x470]
call fcn.004045c9
push dword [ebp - 0x468]
lea eax, [ebp - 0x470]
push eax
call fcn.00408e89
test eax, eax
mov eax, dword [ebp - 0x470]
je 0x42d64f
add eax, 0xfffffff0
call fcn.004046a2
inc dword [ebp - 0x46c]
mov eax, dword [ebp - 0x46c]
add ebx, 8
cmp eax, dword [ebp - 0x478]
jb 0x42d605
jmp 0x42d65e
add eax, 0xfffffff0
mov byte [ebp - 0x461], 1
call fcn.004046a2
cmp byte [ebp - 0x461], 0
je 0x42d673
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x468]
add eax, 0xfffffff0
call fcn.004046a2
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42d562
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x480]
add eax, 0xfffffff0
call fcn.004046a2
lea esi, [ebp - 0x478]
call fcn.0040f24e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e88b
leave
ret