Function at 0x4777d0
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4777d8
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x477a44
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00403358
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 4]
call fcn.0040a028
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00403358
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0040a028
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
mov ecx, 0x477a5c
call fcn.004053a0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x477a1c
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004053a0
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.0040a028
mov eax, dword [ebp - 0x30]
call fcn.0040a18c
mov eax, dword [ebp - 0xc]
call fcn.00409e60
test al, al
je 0x47793a
lea eax, [ebp - 0x10]
mov ecx, 0x477a6c
mov edx, dword [ebp - 0xc]
call fcn.004053a0
xor eax, eax
push ebp
push 0x4778d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00409e60
test al, al
je 0x4778c6
mov eax, dword [ebp - 0x10]
call fcn.00405518
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4778e9
lea eax, [ebp - 0x10]
mov edx, 0x477a6c
call fcn.00405354
mov eax, dword [ebp - 0x10]
call fcn.00409e60
test al, al
jne 0x4778dc
mov eax, dword [ebp - 0x10]
call fcn.00405518
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405518
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x47793a
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x42], 0
je 0x477a1c
mov ebx, dword [ebp - 0x14]
mov ecx, 0x477a7c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x44]
call dword [ebx + 0x40]
jmp 0x477a1c
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405518
push eax
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 8]
call fcn.004053a0
mov eax, dword [ebp - 0x34]
call fcn.00405518
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x4779c3
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 8]
call fcn.004053a0
mov eax, dword [ebp - 0x40]
call fcn.00405518
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00405280
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x48]
call fcn.00405518
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4779e0
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x42], 0
je 0x477a1c
mov ebx, dword [ebp - 0x14]
mov ecx, 0x477a7c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x44]
call dword [ebx + 0x40]
jmp 0x477a1c
xor eax, eax
push ebp
push 0x477a06
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00405518
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x477a10
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x47784c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477a4b
lea eax, [ebp - 0x44]
mov edx, 0xa
call fcn.004050ac
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004050ac
ret