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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8257
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x814
push ebx
push esi
mov dword [ebp - 0x1c], 0
mov ecx, 0x5100a3
mov dword [ebp - 4], 1
call fcn.004b532d
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x14]
push eax
push 0x4e5e50
push 1
push 0
push 0x4e5ec0
call dword [sym.imp.ole32.dll_CoCreateInstance]
or esi, 0xffffffff
test eax, eax
jne 0x406d8a
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
push 0x4e5e70
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jne 0x406d81
mov byte [ebp - 4], 3
call fcn.00405240
mov ecx, eax
test ecx, ecx
je 0x406ddb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], 2
push 0x800
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x820]
push 0
push eax
call fcn.004b8400
add esp, 0xc
lea eax, [ebp - 0x820]
push 0
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x406c05
lea ecx, [ebp - 0x820]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406bd7
sub ecx, edx
lea eax, [ebp - 0x820]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00406280
push 1
push 0x4df8c0
lea ecx, [ebp - 0x18]
call fcn.004040d0
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], 1
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x406c54
lea eax, [ebp - 0x10]
push eax
call fcn.00414710
add esp, 4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00403b80
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406c54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x2e
push dword [ebp + 0xc]
call fcn.004b8718
add esp, 8
test eax, eax
jne 0x406c6a
or eax, 0xffffffff
jmp 0x406c6f
sub eax, dword [ebp + 0xc]
sar eax, 1
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.004057c0
mov ecx, dword [ebp - 0x14]
push dword [eax]
mov byte [ebp - 4], 5
push ecx
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406ca9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5c
push dword [ebp + 8]
call fcn.004b8718
add esp, 8
test eax, eax
jne 0x406cbf
or eax, 0xffffffff
jmp 0x406cc4
sub eax, dword [ebp + 8]
sar eax, 1
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.004057c0
mov ecx, dword [ebp - 0x14]
push dword [eax]
mov byte [ebp - 4], 6
push ecx
mov edx, dword [ecx]
call dword [edx + 0x24]
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406cfe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
push dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403d50
add esp, 0xc
mov ecx, dword [ebp - 0x20]
push 1
push dword [eax]
mov byte [ebp - 4], 7
mov edx, dword [ecx]
push ecx
call dword [edx + 0x18]
mov edx, dword [ebp - 0x10]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406d4d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406d6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov bl, 1
jmp 0x406d8c
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor bl, bl
mov edx, dword [ebp + 8]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406daa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x406dc9
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004042d0
int3