Function at 0x49e8b8
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file

Disassembly:
push 0x1c
mov eax, 0x51429f
call fcn.004e56ac
lea eax, [ebp - 0x18]
push eax
call fcn.0049e864
mov ecx, esp
mov dword [ebp - 0x20], esp
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00402480
lea eax, [ebp - 0x28]
push eax
call fcn.00402230
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00402630
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.00402480
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], ebx
cmp dword [ebp + 8], ebx
je 0x49eabd
cmp edi, ebx
je 0x49eabd
push ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x14]
push eax
push 0x521658
xor esi, esi
inc esi
push esi
push ebx
push 0x521858
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x49ea55
mov eax, dword [ebp - 0x14]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp eax, ebx
jl 0x49ea55
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00402480
push 0x5c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004026c0
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402800
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00403060
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00403040
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jl 0x49ea49
cmp dword [ebp + 0x10], ebx
je 0x49ea0d
lea ecx, [ebp + 8]
call fcn.00402450
mov eax, 0x104
push eax
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.004032f0
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00402d10
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push dword [ebp + 8]
push eax
call dword [ecx + 0x44]
cmp eax, ebx
lea ecx, [ebp + 8]
jge 0x49ea04
call fcn.00403040
jmp 0x49ea49
mov byte [ebp - 4], 3
call fcn.00403040
cmp dword [ebp + 0x14], ebx
je 0x49ea22
mov eax, dword [ebp - 0x14]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp eax, ebx
jl 0x49ea49
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x5217e8
push eax
call dword [ecx]
cmp eax, ebx
jl 0x49ea49
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push esi
push edi
push eax
call dword [ecx + 0x18]
cmp eax, ebx
jl 0x49ea49
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00403040
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x49ea62
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x49ea6f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push edi
call fcn.00402480
call fcn.00405ed0
pop ecx
cmp al, bl
je 0x49eaa0
push esi
push dword [ebp - 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x20], esi
lea ecx, [ebp - 0x24]
call fcn.00403040
lea ecx, [ebp - 0x28]
call fcn.00403040
lea ecx, [ebp - 0x18]
call fcn.00403040
mov eax, dword [ebp - 0x20]
jmp 0x49ead7
lea ecx, [ebp - 0x24]
call fcn.00403040
lea ecx, [ebp - 0x28]
call fcn.00403040
lea ecx, [ebp - 0x18]
call fcn.00403040
xor eax, eax
call fcn.004e5784
ret