Function at 0x411020
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x4c4422
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x4e5d60]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e5d60]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov eax, dword [esp + 0x260]
mov ebp, dword [esp + 0x264]
mov esi, dword [esp + 0x26c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x268]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x270]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x274]
xor ebx, ebx
push ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esp + 0x14], ebx
call fcn.004990cf
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4110c8
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov dword [esp + 0x258], ebx
cmp esi, ebx
je 0x41110c
mov eax, esi
lea edx, [eax + 2]
jmp 0x4110f0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4110f0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.0040f1b0
jmp 0x411162
mov eax, dword [esp + 0x278]
cmp eax, 0xffffffff
je 0x4113f6
push eax
lea esi, [esp + 0x20]
call fcn.00411460
add esp, 4
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x25c], 1
call fcn.0040ebc0
mov byte [esp + 0x258], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411162
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4cbc0c
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0040aed0
push ebp
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x270], 2
call fcn.0040ae10
push 0x4d36c4
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x27c], 3
call fcn.0040aed0
add esp, 0x24
mov byte [esp + 0x258], 5
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4111cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x258], 6
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 0x4111f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
push 0x4cba5c
push 1
push ebx
push 0x4cbaac
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x411379
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
mov dword [esp + 0x1c], ebx
cmp dword [eax - 0xc], ebx
je 0x411233
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push ecx
call eax
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x50]
push ecx
call eax
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
push ecx
call eax
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
push ecx
call eax
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
cmp dword [eax - 0xc], ebx
jne 0x4112c2
lea esi, [esp + 0x24]
call fcn.00411570
mov byte [esp + 0x258], 0xc
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 0x44]
push ecx
call eax
mov byte [esp + 0x258], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4112d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4112d0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 0x44]
push ecx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push ebx
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x4cbabc
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
cmp esi, ebx
jl 0x41136d
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x411320
push edi
lea ecx, [esp + 0x1c]
call fcn.0040f0e0
mov esi, dword [esp + 0x18]
push 0x208
lea ecx, [esp + 0x48]
push esi
push ecx
call fcn.004adef0
add esp, 0xc
cmp dword [esi - 8], edi
jl 0x4113ec
mov dword [esi - 0xc], edi
mov eax, dword [esp + 0x18]
xor edx, edx
mov word [eax + 0x208], dx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x48]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, ebx
jge 0x411398
push ebx
push 0x4cf374
lea ecx, [esp + 0x20]
call fcn.0040f1b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push eax
call fcn.0040ec90
mov esi, dword [esp + 0x30]
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x25c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4113d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x258], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
jmp 0x411410
push 0x80070057
call fcn.0040f160
mov esi, dword [esp + 0x2c]
push ebx
mov ecx, esi
call fcn.0040f300
mov dword [esp + 0x258], 0xffffffff
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411429
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.004a6859
add esp, 0x248
ret