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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa60
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x206
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
mov dword [ebp - 0xa60], ecx
mov dword [ebp - 0xa58], esi
call fcn.00413c60
add esp, 0xc
xor eax, eax
mov word [ebp - 0x214], ax
push 0x206
push eax
lea eax, [ebp - 0x212]
push eax
call fcn.00413c60
add esp, 0xc
lea eax, [ebp - 0x41c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x422674
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0
push 0
lea eax, [ebp - 0xa54]
push eax
push 0
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0xa5c], eax
cmp eax, 0xffffffff
jne 0x407a93
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040fd4e
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea esp, [esp]
test byte [ebp - 0xa54], 0x10
lea eax, [ebp - 0xa28]
push 0x421dd8
push eax
jne 0x407bb8
call esi
test eax, eax
je 0x407c33
push 0x422678
lea eax, [ebp - 0xa28]
push eax
call esi
test eax, eax
je 0x407c33
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00413c60
add esp, 0xc
lea eax, [ebp - 0x214]
push dword [ebp - 0xa58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
test edi, edi
je 0x407b91
test ebx, ebx
je 0x407b91
xor eax, eax
push 0x3e6
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.00413c60
add esp, 0xc
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0x804]
push str.ck_W_Rd
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0
push 0x408
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
inc eax
mov ecx, 0x64
cmp eax, 0x64
push 0
cmovg eax, ecx
push eax
push 0x402
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x407c33
push 4
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x407c33
call esi
test eax, eax
je 0x407c33
push 0x422678
lea eax, [ebp - 0xa28]
push eax
call esi
test eax, eax
je 0x407c33
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00413c60
add esp, 0xc
lea eax, [ebp - 0x214]
push dword [ebp - 0xa58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x421ddc
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ecx, dword [ebp - 0xa60]
lea eax, [ebp - 0x214]
push ebx
push edi
push eax
call fcn.004079d0
lea eax, [ebp - 0xa54]
push eax
push dword [ebp - 0xa5c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x407aa0
push dword [ebp - 0xa5c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0xa58]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 8]
cmp eax, 1
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0040fd4e
mov esp, ebp
pop ebp
ret 0xc