Function at 0x408ae0
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 [0x429280]
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.004173f0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x41c], ax
push 0x206
push eax
lea eax, [ebp - 0x41a]
push eax
call fcn.004173f0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x214], ax
push 0x206
push eax
lea eax, [ebp - 0x212]
push eax
call fcn.004173f0
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 0x4266f4
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 0x408e71
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
test byte [ebp - 0xc5c], 0x10
lea eax, [ebp - 0xc30]
push 0x4266f8
push eax
jne 0x408d6a
call esi
test eax, eax
je 0x408e4a
push 0x4266fc
lea eax, [ebp - 0xc30]
push eax
call esi
test eax, eax
je 0x408e4a
push 0x208
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.004173f0
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.004173f0
add esp, 0xc
lea eax, [ebp - 0x214]
push dword [ebp - 0xc64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.MPlayer.exe
lea eax, [ebp - 0xc30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x408c98
push str.MPlayer.exe
jmp 0x408c9f
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.004173f0
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 0x408d29
mov eax, dword [ebp - 0xc6c]
test eax, eax
je 0x408d29
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 0x408e4a
push 4
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x408e4a
call esi
test eax, eax
je 0x408e4a
push 0x4266fc
lea eax, [ebp - 0xc30]
push eax
call esi
test eax, eax
je 0x408e4a
push 0x208
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.004173f0
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 0x425db0
lea eax, [ebp - 0x41c]
push eax
call edi
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.004173f0
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 0x425db0
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.00408ae0
lea eax, [ebp - 0xc5c]
push eax
push dword [ebp - 0xc68]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x408be0
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.00410c0e
mov esp, ebp
pop ebp
ret 0x14