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

Disassembly:
push 0xffffffffffffffff
push 0x40aa9d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x448
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x468]
lea ecx, [esp + 0x2c]
push eax
mov dword [esp + 0x464], 4
call fcn.0040a24c
push 0
mov byte [esp + 0x464], 5
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea ecx, [esp + 0x1c]
push ecx
push 0x40d4d8
push 1
push 0
push 0x40d4c8
call esi
lea edx, [esp + 0x24]
push edx
push 0x40d4d8
push 1
push 0
push 0x40d4c8
call esi
test eax, eax
jl 0x402ff1
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x46c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x474]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [esp + 0x470]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call sub.MFC42.DLL_operator_3
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
push eax
push ecx
mov edx, dword [ecx]
mov byte [esp + 0x468], 6
call dword [edx + 0x50]
lea ecx, [esp + 0x10]
mov byte [esp + 0x460], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 0x24]
push 0x4101c0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea edx, [esp + 0x30]
push edx
push 0x10
push 0
call ebp
mov ebx, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x48]
push eax
push ecx
call ebx
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x474]
push ecx
push 0x410048
lea edx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_operator_1
push str..lnk
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x468], 7
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14c]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x460], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push 0x40d4b8
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jl 0x402cfa
lea eax, [esp + 0x250]
push 0x104
push eax
lea ecx, [esp + 0x154]
push 0xffffffffffffffff
push ecx
push 0
push 0
call esi
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x250]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esp + 0x30]
push eax
push 2
push 0
call ebp
mov edx, dword [esp + 0x30]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x48]
push ecx
push edx
call ebx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x474]
lea ecx, [esp + 0x20]
push eax
mov bl, 8
push 0x410290
push ecx
mov byte [esp + 0x46c], bl
call sub.MFC42.DLL_operator_1
push 0x410048
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x46c], 9
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x474]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov byte [esp + 0x46c], 0xa
call sub.MFC42.DLL_operator_3
push str..lnk
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x468], 0xb
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x38]
push eax
push edx
mov byte [esp + 0x46c], 0xc
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x460], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x460], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x460], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x460], bl
call sub.MFC42.DLL_CString::CString
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0040a24c
call fcn.00409c50
mov eax, dword [esp + 0x20]
add esp, 4
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edx
push 0x40d4b8
push eax
call dword [ecx]
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
test eax, eax
jl 0x402f19
lea eax, [esp + 0x474]
lea ecx, [esp + 0x10]
push eax
push 0x410290
push ecx
call sub.MFC42.DLL_operator_1
push 0x410048
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x46c], 0xd
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x474]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
mov byte [esp + 0x46c], 0xe
call sub.MFC42.DLL_operator_3
push str..lnk
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x468], 0xf
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x150]
push eax
push edx
call edi
add esp, 0xc
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x460], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x460], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x460], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x250]
push 0x104
push eax
lea ecx, [esp + 0x154]
push 0xffffffffffffffff
push ecx
push 0
push 0
call esi
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x250]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push ecx
push 0x40d4b8
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x402fd6
lea edx, [esp + 0x474]
lea eax, [esp + 0x28]
push edx
push 0x410290
push eax
call sub.MFC42.DLL_operator_1
push 0x410284
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x46c], 0x10
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea edx, [esp + 0x48]
push edx
push eax
lea eax, [esp + 0x154]
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x460], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x250]
push 0x104
push ecx
lea edx, [esp + 0x154]
push 0xffffffffffffffff
push edx
push 0
push 0
call esi
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x250]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
push eax
mov edx, dword [eax]
call dword [edx + 8]
lea ecx, [esp + 0x34]
mov byte [esp + 0x460], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
call fcn.00406240
mov bl, 0x11
push 0x80000002
lea ecx, [esp + 0x3c]
mov byte [esp + 0x464], bl
call fcn.004062e0
push 1
push ecx
lea eax, [esp + 0x480]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0040a24c
lea ecx, [esp + 0x40]
call fcn.004064a0
test eax, eax
je 0x4030a8
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.1.00
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x468], 0x12
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4101b4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x40]
mov byte [esp + 0x468], bl
call fcn.00406770
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0040a24c
push ecx
mov byte [esp + 0x468], 0x13
mov ecx, esp
mov dword [esp + 0x18], esp
push str.path
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x40]
mov byte [esp + 0x468], bl
call fcn.00406770
lea ecx, [esp + 0x38]
mov byte [esp + 0x460], 5
call fcn.00406270
lea ecx, [esp + 0x2c]
mov byte [esp + 0x460], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x468]
mov byte [esp + 0x460], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x46c]
mov byte [esp + 0x460], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x470]
mov byte [esp + 0x460], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x474]
mov byte [esp + 0x460], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x478]
mov dword [esp + 0x460], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x458]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x454
ret 0x14