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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x49fa54
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x49fcc0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00403384
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 4]
call fcn.0040a374
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00403384
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0040a374
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
mov ecx, 0x49fcd8
call fcn.0040541c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x49fc98
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.0040541c
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.0040a374
mov eax, dword [ebp - 0x30]
call fcn.0040a4d8
mov eax, dword [ebp - 0xc]
call fcn.0040a1ac
test al, al
je 0x49fbb6
lea eax, [ebp - 0x10]
mov ecx, 0x49fce8
mov edx, dword [ebp - 0xc]
call fcn.0040541c
xor eax, eax
push ebp
push 0x49fb4c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.0040a1ac
test al, al
je 0x49fb42
mov eax, dword [ebp - 0x10]
call fcn.00405594
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49fb65
lea eax, [ebp - 0x10]
mov edx, 0x49fce8
call fcn.004053d0
mov eax, dword [ebp - 0x10]
call fcn.0040a1ac
test al, al
jne 0x49fb58
mov eax, dword [ebp - 0x10]
call fcn.00405594
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405594
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x49fbb6
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x42], 0
je 0x49fc98
mov ebx, dword [ebp - 0x14]
mov ecx, 0x49fcf8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x44]
call dword [ebx + 0x40]
jmp 0x49fc98
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405594
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.0040541c
mov eax, dword [ebp - 0x34]
call fcn.00405594
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x49fc3f
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.0040541c
mov eax, dword [ebp - 0x40]
call fcn.00405594
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004052fc
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x48]
call fcn.00405594
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x49fc5c
mov eax, dword [ebp - 0x14]
cmp word [eax + 0x42], 0
je 0x49fc98
mov ebx, dword [ebp - 0x14]
mov ecx, 0x49fcf8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x44]
call dword [ebx + 0x40]
jmp 0x49fc98
xor eax, eax
push ebp
push 0x49fc82
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.00405594
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49fc8c
inc dword [ebp - 0x18]
dec dword [ebp - 0x1c]
jne 0x49fac8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fcc7
lea eax, [ebp - 0x44]
mov edx, 0xa
call fcn.00405128
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405128
ret