Function at 0x403a4e
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa5c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xa58], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [esp + 0x474], ax
xor ebx, ebx
lea eax, [esp + 0x476]
push ebx
push eax
mov dword [esp + 0x20], ecx
call sub.msvcrt.dll_memset
xor eax, eax
push esi
mov word [esp + 0x278], ax
lea eax, [esp + 0x27a]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [esp + 0x470]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x406d88
lea eax, [esp + 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
push ebx
lea eax, [esp + 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x403b03
xor al, al
jmp 0x403cb6
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
test byte [esp + 0x18], 0x10
push 0x406d90
lea eax, [esp + 0x48]
push eax
jne 0x403c12
call esi
test eax, eax
je 0x403c8d
push 0x406d94
lea eax, [esp + 0x48]
push eax
call esi
test eax, eax
je 0x403c8d
push 0x208
lea eax, [esp + 0x26c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x268]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4065a4
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp dword [esp + 0xc], 0
je 0x403be9
cmp dword [esp + 0x10], 0
je 0x403be9
xor eax, eax
push 0x3e6
push eax
mov word [esp + 0x680], ax
lea eax, [esp + 0x682]
push eax
call sub.msvcrt.dll_memset
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x688]
push str.ck_W_Rd
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [esp + 0x678]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0xc]
call fcn.00403a21
lea eax, [esp + 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x403c8d
push 4
push eax
lea eax, [esp + 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x403c8d
call esi
test eax, eax
je 0x403c8d
push 0x406d94
lea eax, [esp + 0x48]
push eax
call esi
test eax, eax
je 0x403c8d
push 0x208
lea eax, [esp + 0x26c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x268]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4065a4
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x10]
lea eax, [esp + 0x270]
push eax
call fcn.00403a4e
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403b09
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
dec eax
neg eax
sbb al, al
inc al
mov ecx, dword [esp + 0xa64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004052f0
mov esp, ebp
pop ebp
ret 0xc