Function at 0x40e720
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x45d0f4
mov eax, dword fs:[0]
push eax
sub esp, 0x564
mov eax, dword [0x47aab0]
xor eax, esp
mov dword [esp + 0x560], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47aab0]
xor eax, esp
push eax
lea eax, [esp + 0x578]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x38], esi
xor ebx, ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x580], ebx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp eax, ebx
jge 0x40e7c4
push 0x12
push 0x46a49c
mov ecx, esi
call fcn.00401e80
mov dword [esp + 0x580], 0xffffffff
mov eax, dword [esp + 0x588]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e7bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40ed7e
mov dword [esp + 0x2c], ebx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x584], 1
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push 0x60
push ebx
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
jge 0x40e84e
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 0xb
push str.EnumObjects
mov ecx, esi
call fcn.00401e80
mov byte [esp + 0x580], bl
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x40e819
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x580], 0xffffffff
mov eax, dword [esp + 0x588]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e7bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40ed7e
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x44], ebx
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
jne 0x40ecc7
call fcn.0041ba0a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x40ec45
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x30], ebp
push 0x104
lea ecx, [esp + 0x164]
push ebx
mov byte [esp + 0x588], 2
push ecx
mov dword [esp + 0x168], ebx
call fcn.00444730
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x15c]
push ecx
mov ecx, dword [esp + 0x1c]
push 1
push ecx
push eax
call edx
cmp eax, ebx
jl 0x40e939
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x164]
push edx
mov dword [esp + 0x28], ebx
call dword [sym.imp.SHLWAPI.dll_StrRetToStrW]
mov edx, dword [esp + 0x1c]
cmp edx, ebx
jne 0x40e906
xor eax, eax
jmp 0x40e91f
mov eax, edx
lea esi, [eax + 2]
jmp 0x40e910
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e910
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00401e80
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ebp, dword [esp + 0x30]
call fcn.0041ba0a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x40ec45
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x40], esi
push 0x104
lea ecx, [esp + 0x5c]
push ebx
mov byte [esp + 0x588], 3
push ecx
mov dword [esp + 0x60], ebx
call fcn.00444730
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x1c]
push 0x8000
push ecx
push eax
call edx
cmp eax, ebx
jl 0x40e9ee
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x28], ebx
call dword [sym.imp.SHLWAPI.dll_StrRetToStrW]
mov edx, dword [esp + 0x1c]
cmp edx, ebx
jne 0x40e9c0
xor eax, eax
jmp 0x40e9d4
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e9c5
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x48]
call fcn.00401e80
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x58c], ebx
je 0x40ea10
mov ecx, dword [esp + 0x588]
push esi
push ecx
call fcn.0043f623
add esp, 8
test eax, eax
je 0x40ec4f
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x34]
push edx
push 0x466bc4
push 1
push ebx
push 0x466be4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x40ebd0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push 0x466c24
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x40ebba
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 2
push esi
push eax
call edx
cmp eax, ebx
jl 0x40ebae
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebx
jl 0x40ebae
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x4c]
push edx
push 0x466bd4
push eax
call dword [sym.imp.SHELL32.dll_SHBindToParent]
cmp eax, ebx
jl 0x40ebae
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
lea edx, [esp + 0x264]
push edx
mov edx, dword [esp + 0x48]
push 0x8000
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov edx, dword [esp + 0x44]
push 0x104
lea ecx, [esp + 0x370]
push ecx
push edx
lea eax, [esp + 0x270]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRetToBufW]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x28]
call fcn.00401b10
lea eax, [esp + 0x36c]
push eax
lea ecx, [esp + 0x2c]
push 0x469260
push ecx
mov byte [esp + 0x58c], 4
call fcn.00407ac0
add esp, 0xc
lea edi, [esp + 0x588]
call fcn.00411f30
push eax
mov ecx, edi
call fcn.00401d30
lea edi, [esp + 0x28]
call fcn.00411f30
push eax
mov ecx, edi
call fcn.00401d30
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x40eb86
mov eax, dword [esp + 0x588]
cmp dword [eax - 0xc], ebx
jl 0x40eb86
push ecx
push eax
call fcn.00441c04
add esp, 8
cmp eax, ebx
je 0x40eb86
sub eax, dword [esp + 0x588]
sar eax, 1
cmp eax, 0xffffffff
je 0x40eb86
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x30]
push edx
call fcn.00401d30
mov dword [esp + 0x24], 1
mov byte [esp + 0x580], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ebae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x24], ebx
jne 0x40ec7f
lea eax, [esi - 0x10]
mov byte [esp + 0x580], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ebf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x580], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ec18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x44], ebx
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebx
je 0x40e876
jmp 0x40ecc7
push 0x80004005
call fcn.00401090
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.00401d30
lea eax, [esi - 0x10]
mov dword [esp + 0x24], 1
mov byte [esp + 0x580], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40ec97
lea eax, [esi - 0x10]
mov byte [esp + 0x580], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40eca3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x580], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ecc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x24], ebx
jne 0x40ed2f
lea edi, [esp + 0x588]
call fcn.00411f90
push eax
mov ecx, edi
call fcn.00401d30
mov eax, dword [esp + 0x588]
cmp dword [eax - 0xc], ebx
jl 0x40ed2f
push str.iexplore.exe
push eax
call fcn.00441c04
add esp, 8
cmp eax, ebx
je 0x40ed2f
sub eax, dword [esp + 0x588]
sar eax, 1
cmp eax, 0xffffffff
je 0x40ed2f
mov ecx, dword [esp + 0x38]
push str.Internet
call fcn.004073d0
mov dword [esp + 0x24], 1
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [esp + 0x580], bl
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x40ed4c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x580], 0xffffffff
mov eax, dword [esp + 0x588]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ed7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x578]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x560]
xor ecx, esp
call fcn.0043f428
add esp, 0x570
ret