Function at 0x402f10
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x530
mov eax, dword [str._q_]
mov ecx, dword [esp + 0x544]
mov edx, dword [esp + 0x54c]
xor eax, esp
mov dword [esp + 0x52c], eax
mov eax, dword [esp + 0x538]
push esi
mov esi, dword [esp + 0x544]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x540]
test eax, eax
push edi
mov edi, dword [esp + 0x550]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
je 0x4031a4
test esi, esi
je 0x4031a4
lea edx, [esp + 0x228]
mov eax, esi
sub edx, esi
jmp 0x402f90
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x402f90
lea eax, [esp + 0x228]
push 0x5c
push eax
call fcn.0040f216
add esp, 8
test eax, eax
je 0x402fb3
mov byte [eax], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x4031a9
push ebp
lea ecx, [esp + 0xc]
push ecx
push 0x41da7c
push 1
push 0
push 0x41da8c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebp, eax
test ebp, ebp
jl 0x403168
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0x50]
mov ebp, eax
test ebp, ebp
jl 0x403168
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x22c]
push edx
push eax
call dword [ecx + 0x24]
mov ebp, eax
test ebp, ebp
jl 0x403168
test edi, edi
je 0x403029
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x2c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x40303e
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push 0
push ecx
push eax
call dword [edx + 0x44]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x403051
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x1c]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x41da9c
push eax
call dword [ecx]
mov ebp, eax
test ebp, ebp
jl 0x403168
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x540]
lea eax, [esp + 0x128]
push eax
push ecx
push edx
call fcn.00402580
mov ebp, eax
add esp, 0xc
test ebp, ebp
jl 0x403168
lea eax, [esp + 0x128]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4030a0
sub eax, edx
test eax, eax
jle 0x403168
xor ecx, ecx
mov dl, byte [esp + ecx + 0x128]
mov byte [esp + ecx + 0x24], dl
inc ecx
test dl, dl
jne 0x4030b3
cmp byte [esp + eax + 0x23], 0x5c
je 0x4030d3
mov byte [esp + eax + 0x24], 0x5c
mov byte [esp + eax + 0x25], dl
mov eax, dword [esp + 0x20]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4030e0
lea edi, [esp + 0x24]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4030f0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x55c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x403124
lea eax, [esp + 0x24]
push eax
call fcn.0040dd50
add esp, 4
test eax, eax
jne 0x403168
push 0x104
lea ecx, [esp + 0x334]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x30]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x128]
push eax
call fcn.00402c00
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
add esp, 4
push 1
lea edx, [esp + 0x334]
push edx
push eax
call dword [ecx + 0x18]
mov ebp, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x403176
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x403184
mov edx, dword [eax]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebp
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0x52c]
xor ecx, esp
call fcn.0040f175
add esp, 0x530
ret
mov eax, 0x80070057
mov ecx, dword [esp + 0x534]
pop edi
pop esi
xor ecx, esp
call fcn.0040f175
add esp, 0x530
ret