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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa58
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, 0x4253d0
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xa50], eax
mov eax, edi
mov dword [ebp - 0xa54], ecx
mov cx, word [eax]
cmp cx, word [edx]
jne 0x40acb7
test cx, cx
je 0x40acb3
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x40acb7
add eax, 4
add edx, 4
test cx, cx
jne 0x40ac91
xor eax, eax
jmp 0x40acbc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40acd4
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413a55
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00414430
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00414430
add esp, 0x18
lea eax, [ebp - 0x414]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4253d4
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0
push 0
lea eax, [ebp - 0xa4c]
push eax
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0xa58], eax
cmp eax, 0xffffffff
je 0x40acc0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop
test byte [ebp - 0xa4c], 0x10
lea eax, [ebp - 0xa20]
push 0x42bd20
push eax
jne 0x40ae5b
call esi
test eax, eax
je 0x40aed6
push 0x4253d8
lea eax, [ebp - 0xa20]
push eax
call esi
test eax, eax
je 0x40aed6
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00414430
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xa20]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp dword [ebp - 0xa50], 0
je 0x40ae34
test ebx, ebx
je 0x40ae34
xor eax, eax
push 0x3e6
push eax
mov word [ebp - 0x7fc], ax
lea eax, [ebp - 0x7fa]
push eax
call fcn.00414430
lea eax, [ebp - 0xa20]
push eax
lea eax, [ebp - 0x7fc]
push str.ck_W_Rd
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x7fc]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 0xa50]
mov ecx, dword [ebp - 0xa54]
call fcn.0040b6e0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40aed6
push 4
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x40aed6
call esi
test eax, eax
je 0x40aed6
push 0x4253d8
lea eax, [ebp - 0xa20]
push eax
call esi
test eax, eax
je 0x40aed6
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00414430
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xa20]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x42b930
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 0xa54]
lea eax, [ebp - 0x20c]
push ebx
push dword [ebp - 0xa50]
push eax
call fcn.0040ac60
lea eax, [ebp - 0xa4c]
push eax
push dword [ebp - 0xa58]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40ad60
push dword [ebp - 0xa58]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
cmp eax, 1
pop esi
sete al
xor ecx, ebp
pop edi
pop ebx
call fcn.00413a55
mov esp, ebp
pop ebp
ret 0xc