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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc74
mov eax, dword [0x421280]
xor eax, esp
mov dword [esp + 0xc70], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0x64
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], 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 [esp + 0x690], ax
lea eax, [esp + 0x692]
push eax
call fcn.00411080
xor eax, eax
push 0x206
push eax
mov word [esp + 0x494], ax
lea eax, [esp + 0x496]
push eax
call fcn.00411080
xor eax, eax
push 0x206
push eax
mov word [esp + 0x298], ax
lea eax, [esp + 0x29a]
push eax
call fcn.00411080
add esp, 0x24
lea eax, [esp + 0x688]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x688]
push 0x41f040
push eax
call ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
push 0
lea eax, [esp + 0x69c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x405375
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
test byte [esp + 0x28], 0x10
lea eax, [esp + 0x54]
push 0x41f044
push eax
jne 0x405277
call edi
test eax, eax
je 0x405354
push 0x41f048
lea eax, [esp + 0x58]
push eax
call edi
test eax, eax
je 0x405354
push 0x208
lea eax, [esp + 0x484]
push 0
push eax
call fcn.00411080
add esp, 0xc
lea eax, [esp + 0x480]
push dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x484]
push eax
call ebx
push 0x208
lea eax, [esp + 0x27c]
push 0
push eax
call fcn.00411080
add esp, 0xc
lea eax, [esp + 0x278]
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x41eddc
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4051a2
mov esi, dword [0x4233a0]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x40518e
push 0x41eddc
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
mov eax, dword [esi + 0xc]
push eax
lea eax, [esp + 0x27c]
push eax
call ebx
mov esi, dword [esp + 0x24]
jmp 0x4051b1
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x27c]
push eax
call ebx
xor eax, eax
push 0x3e6
push eax
mov word [esp + 0x898], ax
lea eax, [esp + 0x89a]
push eax
call fcn.00411080
lea eax, [esp + 0x284]
push eax
lea eax, [esp + 0x8a0]
push str.ck_W_rY6R
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
test esi, esi
je 0x405232
mov eax, dword [esp + 0x14]
test eax, eax
je 0x405232
lea ecx, [esp + 0x890]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0
push 0x408
push esi
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 esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [esp + 0x27c]
push eax
lea eax, [esp + 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x405354
push 4
lea eax, [esp + 0x27c]
push eax
lea eax, [esp + 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x405354
call edi
test eax, eax
je 0x405354
push 0x41f048
lea eax, [esp + 0x58]
push eax
call edi
test eax, eax
je 0x405354
push 0x208
lea eax, [esp + 0x484]
push 0
push eax
call fcn.00411080
add esp, 0xc
lea eax, [esp + 0x480]
push dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x484]
push eax
call ebx
push 0x41ea00
lea eax, [esp + 0x484]
push eax
call ebx
push 0x208
lea eax, [esp + 0x27c]
push 0
push eax
call fcn.00411080
add esp, 0xc
lea eax, [esp + 0x278]
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x27c]
push eax
call ebx
push 0x41ea00
lea eax, [esp + 0x27c]
push eax
call ebx
push 0
lea eax, [esp + 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp + 0x18]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x27c]
push dword [esp + 0x18]
push esi
push eax
lea eax, [esp + 0x490]
push eax
call fcn.00404fc0
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4050c2
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0xc7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040d13e
mov esp, ebp
pop ebp
ret 0x14