Function at 0x409cf0
Capabilities:
Create directory
Create shortcut via ishelllink
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9643
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x53f084]
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 eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x480], eax
mov eax, dword [ebp + 0x1c]
push 0x20a
mov dword [ebp - 0x484], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x488], ebx
push eax
mov dword [ebp - 0x47c], 0
call fcn.004d43f0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x448], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409da0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x458]
call fcn.00405110
push 1
push str.SMDB
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], 1
call fcn.0040a0d0
push 5
push 0x513840
lea ecx, [ebp - 0x458]
call fcn.0040a0d0
cmp dword [ebp - 0x444], 8
lea eax, [ebp - 0x458]
push 0
cmovae eax, dword [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov dword [ebx + 0x10], 0
push eax
mov dword [ebx + 0x14], 7
mov ecx, ebx
push 0x513480
mov word [ebx], ax
call fcn.00405110
push 0
mov dword [ebp - 0x47c], 1
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40a041
lea eax, [ebp - 0x474]
push eax
push 0x5057f0
push 1
push 0
push 0x505880
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40a041
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x409e71
mov edx, dword [edi]
mov eax, dword [ebp - 0x474]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x14], 8
jb 0x409e8c
mov edx, dword [edx]
mov eax, dword [ebp - 0x474]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [edi + 0x14], 8
jb 0x409ea1
mov edi, dword [edi]
mov eax, dword [ebp - 0x474]
push 0
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebp - 0x484]
cmp dword [edx + 0x14], 8
jb 0x409ebe
mov edx, dword [edx]
mov eax, dword [ebp - 0x474]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x474]
lea edx, [ebp - 0x478]
push edx
push 0x505810
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x40a035
cmp byte [ebp + 0x10], 0
je 0x409f90
push 0x20a
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004d43f0
add esp, 0xc
lea eax, [ebp - 0x428]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x470]
call fcn.00403fd0
push 1
push str.SMDB
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 2
call fcn.0040a0d0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x409f4f
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x470]
push eax
call fcn.0040a0d0
mov eax, dword [ebp - 0x478]
lea edx, [ebp - 0x470]
cmp dword [ebp - 0x45c], 8
push 1
cmovae edx, dword [ebp - 0x470]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 1
call fcn.00405080
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x440]
call fcn.00404020
push 1
push str.SMDB
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 3
call fcn.0040a0d0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x409fc2
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x440]
push eax
call fcn.0040a0d0
mov eax, dword [ebp - 0x478]
lea edx, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
push 1
cmovae edx, dword [ebp - 0x440]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
lea eax, [ebp - 0x440]
cmp ebx, eax
je 0x40a01a
cmp dword [ebp - 0x42c], 8
mov ecx, ebx
push dword [ebp - 0x430]
cmovae eax, dword [ebp - 0x440]
push eax
call fcn.00405110
mov eax, dword [ebp - 0x478]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 1
call fcn.00405080
mov ecx, dword [ebp - 0x474]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
lea ecx, [ebp - 0x458]
call fcn.00405080
mov eax, ebx
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.004d170a
mov esp, ebp
pop ebp
ret 0x1c