Function at 0x406c70
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e750e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push edi
mov dword [ebp - 0x1c], 0
mov ecx, 0x524e73
mov dword [ebp - 4], 1
call fcn.004e6414
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push 0x4f7840
push 1
push 0
push 0x4f78b0
call dword [sym.imp.ole32.dll_CoCreateInstance]
or edi, 0xffffffff
test eax, eax
jne 0x406ec2
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push 0x4f7860
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jne 0x406eb9
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00404760
mov dword [ebp - 0x1c], 1
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x406d85
lea ecx, [ebp - 0x24]
call fcn.00413500
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x406d67
mov eax, dword [esi + 0xc]
lea ebx, [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x406d5b
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x406d5b
call fcn.00408b90
mov dword [ebp - 0x20], eax
mov ecx, edi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x406d53
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x406d67
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.00408c90
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406d85
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
push 0x2e
push dword [ebp + 0xc]
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
call fcn.004bc029
add esp, 8
test eax, eax
jne 0x406da3
or eax, 0xffffffff
jmp 0x406da8
sub eax, dword [ebp + 0xc]
sar eax, 1
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0xc]
call fcn.00407ce0
mov byte [ebp - 4], 4
push dword [eax]
push dword [ebp - 0x10]
call esi
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406dde
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
push 0x5c
push dword [ebp + 8]
mov eax, dword [eax]
mov esi, dword [eax + 0x24]
call fcn.004bc029
add esp, 8
test eax, eax
jne 0x406dfc
or eax, 0xffffffff
jmp 0x406e01
sub eax, dword [ebp + 8]
sar eax, 1
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 8]
call fcn.00407ce0
mov byte [ebp - 4], 5
push dword [eax]
push dword [ebp - 0x10]
call esi
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406e37
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
push dword [ebp + 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x24]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
lea eax, [ebp + 0xc]
push eax
call fcn.00407b60
add esp, 4
push 1
mov byte [ebp - 4], 6
push dword [eax]
push dword [ebp - 0x18]
call esi
mov edx, dword [ebp - 0x24]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
pop esi
test eax, eax
jg 0x406e85
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406ea3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov bl, 1
jmp 0x406ec4
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor bl, bl
mov edx, dword [ebp + 8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406ede
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x406ef6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret