Function at 0x42f740
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49e63e
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x4c86e0]
xor eax, esp
mov dword [esp + 0x320], eax
push ebp
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x334]
mov dword fs:[0], eax
push 0x4afaf8
push 0x4afafc
lea eax, [esp + 0x35c]
push eax
mov dword [esp + 0x348], 4
call fcn.00405e80
push 0x4afb00
push 0x4ac5f0
lea ecx, [esp + 0x35c]
push ecx
call fcn.00405e80
push 0x4afb00
push 0x4ac5e4
lea edx, [esp + 0x35c]
push edx
call fcn.00405e80
push 0x4afb00
push 0x4ac5e0
lea eax, [esp + 0x35c]
push eax
call fcn.00405e80
push 0x4afb00
push 0x4ac5dc
lea ecx, [esp + 0x35c]
push ecx
call fcn.00405e80
push 0x4afb00
push 0x4afb04
lea edx, [esp + 0x35c]
push edx
call fcn.00405e80
push 0x4afb00
push 0x4ac5fc
lea eax, [esp + 0x35c]
push eax
call fcn.00405e80
push 0x4afb00
push 0x4ac5ec
lea ecx, [esp + 0x35c]
push ecx
call fcn.00405e80
push 0x4afb00
push 0x4ac5e8
lea edx, [esp + 0x35c]
push edx
call fcn.00405e80
push 0x208
lea eax, [esp + 0x12c]
push 0
push eax
call fcn.00483d60
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x10]
push ecx
push 0x4ab6f8
push 1
push 0
push 0x4ab718
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x42f975
mov byte [esp + 0x33c], 3
mov eax, dword [esp + 0x344]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f8bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x33c], 2
mov eax, dword [esp + 0x348]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f8ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x33c], 1
mov eax, dword [esp + 0x350]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f915
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x33c], 0
mov eax, dword [esp + 0x354]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f940
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x33c], 0xffffffff
mov eax, dword [esp + 0x358]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f96e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42fcaf
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push 0x4ab8b8
push eax
mov eax, dword [ecx]
call eax
test eax, eax
je 0x42f9b2
mov byte [esp + 0x33c], 3
mov eax, dword [esp + 0x344]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x42f8b3
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f9cc
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x33c], 5
mov ecx, dword [esp + 0x344]
push ecx
lea edx, [esp + 0x1c]
push 0x4ac600
push edx
call fcn.00402a20
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
add esp, 0xc
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x358]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42fa3d
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x4ac5d8
lea eax, [esp + 0x354]
mov byte [esp + 0x340], 6
call fcn.00406220
mov edi, eax
mov eax, 0x4ac5d8
call fcn.00406280
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x20]
push 0x4ac600
push edx
call fcn.00402a20
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
add esp, 0xc
push edi
push eax
call edx
push 0x104
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00483d60
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0xc
cmp dword [esp + 0x35c], 0
lea ecx, [esp + 0x14]
push ecx
je 0x42fadd
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
jmp 0x42fb0f
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push 0x4ac5fc
lea ecx, [esp + 0x28]
push ecx
call esi
push 0x4afb08
lea edx, [esp + 0x28]
push edx
call esi
push 0x4ac5fc
lea eax, [esp + 0x28]
push eax
call esi
mov ebp, dword [esp + 0x354]
push ebp
lea ecx, [esp + 0x28]
push ecx
call esi
push 0x104
lea edx, [esp + 0x12c]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [esp + 0x34c]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x348]
mov ecx, dword [eax]
push edx
push esi
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x12c]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [edi - 0x10]
mov byte [esp + 0x33c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fbb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x33c], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fbde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x33c], 3
mov eax, dword [esp + 0x344]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fc09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x33c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fc2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x33c], 1
mov eax, dword [esp + 0x350]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fc58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x33c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fc7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x33c], 0xffffffff
mov eax, dword [esp + 0x358]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fcaa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x334]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.0047e440
add esp, 0x330
ret 0x1c