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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x15], cl
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405d08
xor eax, eax
push ebp
push 0x4c6ccc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 0x15], 0
je 0x4c693b
call fcn.004c716c
test al, al
je 0x4c6c87
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x18]
jl 0x4c6a4e
push dword [ebx + 0xc]
push 0x4c6ce8
lea edx, [ebp - 0x34]
movzx eax, byte [ebx + 0x1c]
call fcn.0040c4f8
push dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004062d8
mov eax, dword [ebp - 8]
call fcn.0040cc10
test al, al
je 0x4c6985
mov eax, dword [ebp - 8]
call fcn.00405dac
push eax
call sub.kernel32.dll_DeleteFileW
movzx esi, byte [ebx + 0x1c]
dec esi
cmp esi, 1
jl 0x4c6a08
push dword [ebx + 0xc]
push 0x4c6ce8
lea edx, [ebp - 0x38]
mov eax, esi
call fcn.0040c4f8
push dword [ebp - 0x38]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004062d8
mov eax, dword [ebp - 8]
call fcn.0040cc10
test al, al
je 0x4c6a03
push dword [ebx + 0xc]
push 0x4c6ce8
lea edx, [ebp - 0x40]
lea eax, [esi + 1]
call fcn.0040c4f8
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004062d8
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x44], edi
mov eax, dword [ebp - 0x44]
call fcn.00405dac
push eax
mov eax, dword [ebp - 8]
call fcn.00405dac
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
dec esi
test esi, esi
jne 0x4c698f
push 0
lea eax, [ebp - 0x48]
mov ecx, 0x4c6d00
mov edx, dword [ebx + 0xc]
call fcn.004061f4
mov eax, dword [ebp - 0x48]
call fcn.00405dac
push eax
mov eax, dword [ebx + 0xc]
call fcn.00405dac
push eax
call sub.kernel32.dll_CopyFileW
push 0
push 0
mov eax, dword [ebx + 0x10]
call fcn.004259c4
push 0
push 0
mov eax, dword [ebx + 0x10]
call fcn.00425960
xor eax, eax
mov dword [ebx + 0x14], eax
cmp dword [ebx + 0x14], 0
jne 0x4c6ab3
cmp byte [ebx + 0x1f], 0
je 0x4c6a75
mov edx, 0x4d3740
mov ecx, 4
mov eax, dword [ebx + 0x10]
call fcn.00425bcc
mov dword [ebx + 0x14], 4
jmp 0x4c6ab3
cmp byte [ebx + 0x1e], 0
je 0x4c6a9a
mov word [ebp - 0x18], 0xfeff
lea edx, [ebp - 0x18]
mov ecx, 2
mov eax, dword [ebx + 0x10]
call fcn.00425bcc
mov dword [ebx + 0x14], 2
jmp 0x4c6ab3
mov edx, 0x4d373c
mov ecx, 3
mov eax, dword [ebx + 0x10]
call fcn.00425bcc
mov dword [ebx + 0x14], 3
cmp byte [ebx + 0x1f], 0
je 0x4c6b1c
cmp byte [ebx + 0x1d], 0
je 0x4c6aeb
call fcn.0040ec3c
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov edx, 0x4c6d18
call fcn.0040f8fc
lea edx, [ebp - 4]
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.00406610
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004c624c
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x10]
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, dword [ebp - 0x20]
add dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00407f14
pop ecx
jmp 0x4c6c87
cmp byte [ebx + 0x1d], 0
je 0x4c6b4e
call fcn.0040ec3c
fstp qword [ebp - 0x30]
wait
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea eax, [ebp - 0x14]
mov edx, 0x4c6d18
call fcn.0040f8fc
lea edx, [ebp - 4]
mov ecx, 1
mov eax, dword [ebp - 0x14]
call fcn.00406610
lea eax, [ebp - 4]
mov edx, 0x4c6d58
call fcn.00406134
cmp byte [ebx + 0x1e], 0
je 0x4c6bf2
mov esi, dword [ebp - 4]
test esi, esi
je 0x4c6b84
mov eax, esi
sub eax, 0xa
cmp word [eax], 2
je 0x4c6b84
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004054f8
mov esi, eax
lea eax, [ebp - 4]
call fcn.00406798
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4c6bab
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4c6bab
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004054f8
test eax, eax
je 0x4c6bb4
sub eax, 4
mov eax, dword [eax]
mov ecx, eax
add ecx, ecx
mov edx, esi
mov eax, dword [ebx + 0x10]
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4c6bdf
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4c6bdf
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004054f8
test eax, eax
je 0x4c6be8
sub eax, 4
mov eax, dword [eax]
add eax, eax
add dword [ebx + 0x14], eax
jmp 0x4c6c87
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00408040
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x4c6c1e
mov eax, esi
sub eax, 0xa
cmp word [eax], 1
je 0x4c6c1e
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00405528
mov esi, eax
lea eax, [ebp - 0xc]
call fcn.004057f0
mov esi, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4c6c47
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x4c6c47
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00405528
test eax, eax
je 0x4c6c50
sub eax, 4
mov eax, dword [eax]
mov ecx, eax
mov edx, esi
mov eax, dword [ebx + 0x10]
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4c6c7b
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x4c6c7b
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00405528
test eax, eax
je 0x4c6c84
sub eax, 4
mov eax, dword [eax]
add dword [ebx + 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6cd3
lea eax, [ebp - 0x48]
call fcn.00405d10
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.00405d18
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00405d18
lea eax, [ebp - 0xc]
call fcn.00405348
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405d18
ret