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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576ea0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5d61f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x20]
call fcn.00419c50
push ecx
mov ecx, esp
push esi
mov dword [ebp - 4], 0
call fcn.00402110
lea ecx, [ebp - 0x2c]
call fcn.00419ae0
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push dword [eax - 0xc]
push eax
call fcn.00404870
push esi
lea ecx, [ebp - 0x28]
call fcn.00402110
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
xor eax, eax
or edi, 0xffffffff
mov dword [ebp - 0x24], eax
test esi, esi
je 0x41a02d
test ebx, ebx
je 0x41a02d
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x14]
push eax
push 0x5a9e7c
push 1
push 0
push 0x5aa16c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x419fd9
mov eax, dword [ebp - 0x14]
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
js 0x419fd9
push esi
lea ecx, [ebp - 0x10]
call fcn.00402110
mov byte [ebp - 4], 3
push 0x5c
push dword [ebp - 0x10]
call fcn.0054aed1
add esp, 8
test eax, eax
jne 0x419dcf
or eax, edi
jmp 0x419dd4
sub eax, dword [ebp - 0x10]
sar eax, 1
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
call fcn.00404260
mov byte [ebp - 4], 4
mov ecx, dword [eax]
mov esi, dword [ebp - 0x10]
lea edx, [ecx - 0x10]
add esi, 0xfffffff0
cmp edx, esi
je 0x419e39
cmp dword [esi + 0xc], 0
jl 0x419e2d
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x419e2d
push edx
call fcn.00402680
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, edi
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419e25
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebp - 0x10], eax
jmp 0x419e39
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00402470
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419e59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
jns 0x419e7a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00402630
jmp 0x419fd9
cmp dword [ebp + 8], 0
je 0x419f48
call fcn.004290db
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x419ea0
push 0x80004005
call fcn.00402650
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 5
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x419ed5
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00402390
mov esi, dword [ebp - 0x18]
push 0x104
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push dword [esi - 8]
push esi
call fcn.0054a435
add esp, 8
test eax, eax
js 0x419f6b
cmp eax, dword [esi - 8]
jg 0x419f6b
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x14]
push 0
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x44]
test eax, eax
jns 0x419f2b
lea ecx, [ebp - 0x18]
call fcn.00402630
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00402630
jmp 0x419fd9
add esi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419f48
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x419f75
mov eax, dword [ebp - 0x14]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
test eax, eax
jns 0x419f75
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00402630
jmp 0x419fd9
push 0x80070057
call fcn.00402650
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
mov ecx, dword [eax]
push edx
push 0x5aa1cc
push eax
call dword [ecx]
test eax, eax
jns 0x419f98
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00402630
jmp 0x419fd9
mov eax, dword [ebp - 0x1c]
push 1
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x18]
mov byte [ebp - 4], 2
test eax, eax
jns 0x419fb6
lea ecx, [ebp - 0x10]
call fcn.00402630
jmp 0x419fd9
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 0x24], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419fd9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x419fe6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x419ff3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push ecx
mov ecx, esp
push ebx
call fcn.00402110
call fcn.0041a200
add esp, 4
test eax, eax
je 0x41a028
push 1
push dword [ebp - 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, 1
jmp 0x41a02f
mov ebx, dword [ebp - 0x24]
jmp 0x41a02f
xor ebx, ebx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a04f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a06f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x20]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x41a090
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret