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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x57
push 0
push 0
dec ecx
jne 0x5330ed
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00407558
mov eax, dword [ebp - 8]
call fcn.00407558
lea eax, [ebp - 0x280]
mov edx, dword [0x40eb1c]
call fcn.00408308
xor eax, eax
push ebp
push 0x53351e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x281], 0
xor edx, edx
push ebp
push 0x5334d1
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x533163
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x533163
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406a40
mov ebx, eax
test ebx, ebx
je 0x53316e
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x288]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00407d60
mov eax, dword [ebp - 0x288]
mov edx, 0x533544
call fcn.00407cf8
je 0x5331a3
lea eax, [ebp - 4]
mov edx, 0x533544
call fcn.00407994
mov eax, dword [ebp - 8]
test eax, eax
je 0x5331c0
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x5331c0
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.00406a40
mov ebx, eax
test ebx, ebx
je 0x5331cb
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x28c]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00407d60
mov eax, dword [ebp - 0x28c]
mov edx, 0x533544
call fcn.00407cf8
je 0x533200
lea eax, [ebp - 8]
mov edx, 0x533544
call fcn.00407994
lea eax, [ebp - 0x290]
mov ecx, 0x533554
mov edx, dword [ebp - 4]
call fcn.00407a54
mov eax, dword [ebp - 0x290]
lea ecx, [ebp - 0x280]
mov edx, 0x1ff
call fcn.00415238
test eax, eax
jne 0x5334c0
mov eax, dword [ebp - 8]
call fcn.00415040
test al, al
jne 0x533245
mov eax, dword [ebp - 8]
call fcn.00415064
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x26c]
call fcn.00414230
mov eax, dword [ebp - 0x10]
mov edx, 0x533568
call fcn.00407cf8
je 0x5334a2
mov eax, dword [ebp - 0x10]
mov edx, 0x533578
call fcn.00407cf8
je 0x5334a2
test byte [ebp - 0x270], 0x10
je 0x53332a
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00407a54
mov eax, dword [ebp - 0xc]
call fcn.00415040
test al, al
jne 0x5332a8
mov eax, dword [ebp - 0xc]
call fcn.00415064
cmp byte [ebp + 8], 1
jne 0x5332ec
push 1
lea eax, [ebp - 0x294]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00407a54
mov eax, dword [ebp - 0x294]
push eax
lea eax, [ebp - 0x298]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00407a54
mov edx, dword [ebp - 0x298]
mov eax, esi
pop ecx
call fcn.005330e4
jmp 0x5334a2
push 0
lea eax, [ebp - 0x29c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00407a54
mov eax, dword [ebp - 0x29c]
push eax
lea eax, [ebp - 0x2a0]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00407a54
mov edx, dword [ebp - 0x2a0]
mov eax, esi
pop ecx
call fcn.005330e4
jmp 0x5334a2
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00407a54
mov edx, dword [ebp - 0x10]
mov eax, 0x53358c
call fcn.004080d0
test eax, eax
jne 0x5334a2
cmp byte [ebp + 8], 1
jne 0x533467
lea edx, [ebp - 0x2a4]
mov eax, dword [ebp - 0xc]
call fcn.004156f0
mov eax, dword [ebp - 0x2a4]
mov edx, 0x5335a4
call fcn.00407cf8
jne 0x5333d6
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.00531bb0
test eax, eax
je 0x5333d6
lea eax, [ebp - 0x2a8]
mov ecx, 0x5335bc
mov edx, dword [ebp - 0xc]
call fcn.00407a54
mov eax, dword [ebp - 0x2a8]
call fcn.004075fc
push eax
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x2ac]
mov ecx, 0x5335bc
mov edx, dword [ebp - 0xc]
call fcn.00407a54
mov eax, dword [ebp - 0x2ac]
call fcn.004075fc
push eax
mov eax, dword [ebp - 0xc]
call fcn.004075fc
push eax
call sub.kernel32.dll_MoveFileW
push 0
mov eax, dword [ebp - 0xc]
call fcn.004075fc
push eax
lea eax, [ebp - 0x2b0]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00407a54
mov eax, dword [ebp - 0x2b0]
call fcn.004075fc
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x533441
mov eax, dword [ebp - 0xc]
call fcn.004075fc
push eax
lea eax, [ebp - 0x2b4]
mov ecx, 0x5335bc
mov edx, dword [ebp - 0xc]
call fcn.00407a54
mov eax, dword [ebp - 0x2b4]
call fcn.004075fc
push eax
call sub.kernel32.dll_MoveFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5334e2
lea eax, [ebp - 0x2b8]
mov ecx, 0x5335bc
mov edx, dword [ebp - 0xc]
call fcn.00407a54
mov eax, dword [ebp - 0x2b8]
call fcn.004075fc
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x5334a2
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
call fcn.004075fc
push eax
lea eax, [ebp - 0x2bc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00407a54
mov eax, dword [ebp - 0x2bc]
call fcn.004075fc
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
jne 0x5334a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5334e2
lea eax, [ebp - 0x280]
call fcn.00415288
test eax, eax
je 0x533245
lea eax, [ebp - 0x280]
call fcn.004152ac
mov byte [ebp - 0x281], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5334e2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533525
lea eax, [ebp - 0x2bc]
mov edx, 0xe
call fcn.00407568
lea eax, [ebp - 0x280]
mov edx, dword [0x40eb1c]
call fcn.004083e0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00407568
ret