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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc70
mov eax, dword [0x425280]
xor eax, ebp
mov dword [ebp - 8], 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 - 0xc70], ecx
mov dword [ebp - 0xc60], esi
mov dword [ebp - 0xc64], edi
mov dword [ebp - 0xc6c], 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 - 0x624], ax
lea eax, [ebp - 0x622]
push eax
call fcn.00413a40
add esp, 0xc
xor eax, eax
mov word [ebp - 0x41c], ax
push 0x206
push eax
lea eax, [ebp - 0x41a]
push eax
call fcn.00413a40
add esp, 0xc
xor eax, eax
mov word [ebp - 0x214], ax
push 0x206
push eax
lea eax, [ebp - 0x212]
push eax
call fcn.00413a40
add esp, 0xc
lea eax, [ebp - 0x624]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x624]
push 0x42266c
push eax
call edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
lea eax, [ebp - 0xc5c]
push eax
push 0
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0xc68], eax
cmp eax, 0xffffffff
je 0x407fe1
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
test byte [ebp - 0xc5c], 0x10
lea eax, [ebp - 0xc30]
push 0x422670
push eax
jne 0x407eda
call esi
test eax, eax
je 0x407fba
push 0x422674
lea eax, [ebp - 0xc30]
push eax
call esi
test eax, eax
je 0x407fba
push 0x208
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.00413a40
add esp, 0xc
lea eax, [ebp - 0x41c]
push dword [ebp - 0xc60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xc30]
push eax
lea eax, [ebp - 0x41c]
push eax
call edi
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00413a40
add esp, 0xc
lea eax, [ebp - 0x214]
push dword [ebp - 0xc64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.smallbx.exe
lea eax, [ebp - 0xc30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x407e08
call fcn.00404990
jmp 0x407e0e
lea eax, [ebp - 0xc30]
push eax
lea eax, [ebp - 0x214]
push eax
call edi
xor eax, eax
push 0x3e6
push eax
mov word [ebp - 0xa0c], ax
lea eax, [ebp - 0xa0a]
push eax
call fcn.00413a40
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xa0c]
push str.ck_W_rY6R
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test ebx, ebx
je 0x407e99
mov eax, dword [ebp - 0xc6c]
test eax, eax
je 0x407e99
lea ecx, [ebp - 0xa0c]
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 - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x407fba
push 4
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x407fba
call esi
test eax, eax
je 0x407fba
push 0x422674
lea eax, [ebp - 0xc30]
push eax
call esi
test eax, eax
je 0x407fba
push 0x208
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.00413a40
add esp, 0xc
lea eax, [ebp - 0x41c]
push dword [ebp - 0xc60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xc30]
push eax
lea eax, [ebp - 0x41c]
push eax
call edi
push 0x421de4
lea eax, [ebp - 0x41c]
push eax
call edi
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00413a40
add esp, 0xc
lea eax, [ebp - 0x214]
push dword [ebp - 0xc64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xc30]
push eax
lea eax, [ebp - 0x214]
push eax
call edi
push 0x421de4
lea eax, [ebp - 0x214]
push eax
call edi
push 0
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc70]
lea eax, [ebp - 0x214]
push dword [ebp - 0xc6c]
push ebx
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.00407c50
lea eax, [ebp - 0xc5c]
push eax
push dword [ebp - 0xc68]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x407d50
push dword [ebp - 0xc68]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fbae
mov esp, ebp
pop ebp
ret 0x14