Function at 0x404570
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca8d6
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x4f86c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x360], eax
test edi, edi
je 0x404716
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x404716
lea eax, [ebp - 0x354]
push eax
push 0x4d8e20
push 1
push 0
push 0x4d8e30
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x404716
mov eax, dword [ebp - 0x354]
lea edx, [ebp - 0x358]
push edx
push 0x4d8e50
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x40470a
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00401640
xor edx, edx
lea ecx, [ebp - 0x338]
call fcn.004039a0
add esp, 0x18
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x404634
mov edx, dword [edx]
mov eax, dword [ebp - 0x354]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
lea ecx, [ebp - 0x338]
mov dword [ebp - 4], 0xffffffff
call fcn.004016e0
mov eax, dword [ebp - 0x360]
test eax, eax
je 0x4046a8
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401640
xor edx, edx
lea ecx, [ebp - 0x350]
call fcn.004039a0
add esp, 0x18
mov edx, eax
mov dword [ebp - 4], 1
cmp dword [edx + 0x14], 8
jb 0x404689
mov edx, dword [edx]
mov eax, dword [ebp - 0x354]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
lea ecx, [ebp - 0x350]
mov dword [ebp - 4], 0xffffffff
call fcn.004016e0
mov eax, dword [ebp - 0x354]
push 0x4e6774
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x354]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test ebx, ebx
je 0x4046e3
push ebx
push edi
lea eax, [ebp - 0x118]
push str._s_s
push eax
call fcn.004a82a4
add esp, 0x10
jmp 0x40475b
test esi, esi
je 0x4046f4
push 0x5c
push esi
call fcn.004aa260
add esp, 8
jmp 0x4046fa
mov eax, dword [ebp - 0x35c]
test eax, eax
jne 0x40471d
mov eax, dword [ebp - 0x358]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x354]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
jmp 0x4047b6
push eax
push edi
lea eax, [ebp - 0x118]
push str._s_s
push eax
call fcn.004a82a4
lea ecx, [ebp - 0x118]
add esp, 0x10
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404740
sub ecx, edx
mov word [ebp + ecx - 0x11b], 0x6e6c
mov byte [ebp + ecx - 0x119], 0x6b
push 0x104
lea eax, [ebp - 0x320]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x358]
lea edx, [ebp - 0x320]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x358]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x354]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a768e
mov esp, ebp
pop ebp
ret