Function at 0x10006490
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10009e0c
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x1000687e
test edi, edi
je 0x1000687e
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
mov dword [esp + 0x260], 0
push eax
push 0x1000b2f8
push 1
push 0
push 0x1000b308
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [esp + 0x14]
jns 0x10006540
xor bl, bl
jmp 0x10006865
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x1000656c
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x1000b6f0
push eax
call dword [ecx]
mov ecx, dword [esp + 0x1c]
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x14]
cmovs ecx, edx
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x260], 1
test ecx, ecx
jne 0x1000657f
xor bl, bl
jmp 0x1000684f
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
test ebx, ebx
je 0x10006595
mov eax, dword [esp + 0x14]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edx, dword [ebp + 0x18]
test dx, dx
je 0x100065a8
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test esi, esi
je 0x100065b7
mov eax, dword [esp + 0x14]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x14]
push dword [ebp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x100065d7
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x100066bf
call sym.MiFramework.dll_public:_static_int___cdecl_MiOSUtil::IsWinXP_void_
test eax, eax
jne 0x100066bf
push str.propsys.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100066bf
push str.PSCreatePropertyStoreFromObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100066bf
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x260], 2
push ecx
push 0x1000b700
push 2
push dword [esp + 0x20]
call eax
test eax, eax
js 0x100066a9
mov eax, 0x1f
mov word [esp + 0x2c], ax
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
test eax, eax
js 0x100066a9
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push 0x1000b318
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x1000669e
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x1000669e
mov byte [esp + 0x260], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10006784
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor bl, bl
jmp 0x10006847
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov byte [esp + 0x260], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100066bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4e]
push eax
call sub.MSVCR120.dll_memset
mov esi, dword [esp + 0x30]
add esp, 0xc
test esi, esi
je 0x1000670d
push dword [esp + 0x20]
lea eax, [esp + 0x48]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
push esi
lea eax, [esp + 0x54]
push 0x104
push eax
call sym.MiFramework.dll_public:_static_int___cdecl_MiFileUtil::AppendPath_wchar_t___unsigned_long_int__wchar_t_const__
add esp, 0x18
jmp 0x100067ee
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006712
sub ecx, edx
sar ecx, 1
lea esi, [edi + ecx*2]
cmp esi, edi
jb 0x1000673c
movzx eax, word [esi]
cmp eax, 0x5c
je 0x1000673c
cmp eax, 0x2f
je 0x1000673c
sub esi, 2
cmp esi, edi
jae 0x10006728
push dword [esp + 0x20]
lea eax, [esp + 0x48]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
push esi
lea eax, [esp + 0x54]
push 0x104
push eax
call sym.MiFramework.dll_public:_static_int___cdecl_MiFileUtil::AppendPath_wchar_t___unsigned_long_int__wchar_t_const__
lea ecx, [esp + 0x5c]
add esp, 0x18
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006770
sub ecx, edx
sar ecx, 1
cmp ecx, 3
ja 0x1000678b
xor bl, bl
jmp 0x10006847
lea eax, [esp + 0x44]
lea ecx, [eax + ecx*2]
cmp ecx, eax
jb 0x100067a7
cmp word [ecx], 0x2e
je 0x100067ad
sub ecx, 2
lea eax, [esp + 0x44]
cmp ecx, eax
jae 0x10006796
cmp word [ecx], 0x2e
jne 0x100067d6
mov edx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100067b2
sub edx, esi
sar edx, 1
cmp edx, 4
jb 0x100067d6
mov dword [ecx + 2], 0x6e006c
mov dword [ecx + 6], 0x6b
jmp 0x100067ee
push str..lnk
lea eax, [esp + 0x48]
push 0x104
push eax
call dword [sym.imp.MSVCR120.dll_wcscat_s]
add esp, 0xc
lea eax, [esp + 0x44]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0x260], 3
lea edx, [esp + 0x44]
mov eax, dword [esp + 0x1c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
call sym.MiFramework.dll_public:_void___thiscall_CMiConvAuto::destructor_void_
test esi, esi
setns bl
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x260], 0
test ecx, ecx
je 0x10006865
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x260], 0xffffffff
test eax, eax
je 0x1000687a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
jmp 0x10006880
xor al, al
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.10009040
mov esp, ebp
pop ebp
ret