Function at 0x40a420
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc68
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x64
mov dword [ebp - 0xc68], ecx
mov dword [ebp - 0xc58], esi
mov dword [ebp - 0xc5c], edi
mov dword [ebp - 0xc64], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.00414430
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, 0x24
lea eax, [ebp - 0x61c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x61c]
push 0x4253d4
push eax
call edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
lea eax, [ebp - 0xc54]
push eax
push 0
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0xc60], eax
cmp eax, 0xffffffff
je 0x40a7b4
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea ebx, [ebx]
test byte [ebp - 0xc54], 0x10
lea eax, [ebp - 0xc28]
push 0x42bd20
push eax
jne 0x40a6ad
call esi
test eax, eax
je 0x40a78d
push 0x4253d8
lea eax, [ebp - 0xc28]
push eax
call esi
test eax, eax
je 0x40a78d
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00414430
add esp, 0xc
lea eax, [ebp - 0x414]
push dword [ebp - 0xc58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xc28]
push eax
lea eax, [ebp - 0x414]
push eax
call edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00414430
add esp, 0xc
lea eax, [ebp - 0x20c]
push dword [ebp - 0xc5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4253f0
lea eax, [ebp - 0xc28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40a5de
mov ecx, dword [0x430a24]
call fcn.004125c0
jmp 0x40a5e4
lea eax, [ebp - 0xc28]
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
xor eax, eax
push 0x3e6
push eax
mov word [ebp - 0xa04], ax
lea eax, [ebp - 0xa02]
push eax
call fcn.00414430
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa04]
push str.ck_W_rY6R
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
test ebx, ebx
je 0x40a66c
mov eax, dword [ebp - 0xc64]
test eax, eax
je 0x40a66c
lea ecx, [ebp - 0xa04]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0
push 0x408
push ebx
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 ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x40a78d
push 4
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x40a78d
call esi
test eax, eax
je 0x40a78d
push 0x4253d8
lea eax, [ebp - 0xc28]
push eax
call esi
test eax, eax
je 0x40a78d
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00414430
add esp, 0xc
lea eax, [ebp - 0x414]
push dword [ebp - 0xc58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xc28]
push eax
lea eax, [ebp - 0x414]
push eax
call edi
push 0x42b930
lea eax, [ebp - 0x414]
push eax
call edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00414430
add esp, 0xc
lea eax, [ebp - 0x20c]
push dword [ebp - 0xc5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xc28]
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
push 0x42b930
lea eax, [ebp - 0x20c]
push eax
call edi
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc68]
lea eax, [ebp - 0x20c]
push dword [ebp - 0xc64]
push ebx
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0040a420
lea eax, [ebp - 0xc54]
push eax
push dword [ebp - 0xc60]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40a520
push dword [ebp - 0xc60]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413a55
mov esp, ebp
pop ebp
ret 0x14