Function at 0x10016365
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
sub esp, 0x24c
lea ebp, [esp - 4]
mov eax, dword [0x10274398]
xor eax, ebp
mov dword [ebp + 0x24c], eax
push 0x10
mov eax, 0x101ecf62
call fcn.101d1901
mov eax, dword [ebp + 0x264]
mov esi, dword [ebp + 0x258]
mov edi, dword [ebp + 0x25c]
mov ebx, dword [ebp + 0x260]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x268]
push str.AIL:CreateShortcut
lea ecx, [ebp]
mov dword [ebp - 0x18], eax
call fcn.100010f3
and dword [ebp - 4], 0
push 0
push edi
push 0x27dc
call fcn.10018d5b
push esi
mov esi, 0x104
lea eax, [ebp + 0x44]
push esi
push eax
call fcn.10016ac1
lea eax, [ebp + 0x44]
push eax
call fcn.10007633
add esp, 0x1c
test eax, eax
jne 0x10016435
push eax
lea eax, [ebp + 0x44]
push eax
call fcn.10009799
pop ecx
pop ecx
test eax, eax
jne 0x10016435
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 4]
push eax
mov dword [ebp], vtable.CLogFunc.0
call fcn.101d12b4
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x24c]
xor ecx, ebp
call fcn.101d14d7
add ebp, 0x250
leave
ret
push esi
lea eax, [ebp + 0x44]
push edi
push eax
call fcn.10016b06
push esi
lea eax, [ebp + 0x44]
push str..lnk
push eax
call fcn.10016bb3
lea eax, [ebp + 0x44]
push eax
push str.Link_s
push 3
pop esi
push esi
call fcn.101d1209
push ebx
push str.Target_s
push esi
call fcn.101d1209
xor edi, edi
add esp, 0x30
cmp dword [ebp - 0x14], edi
je 0x10016488
push dword [ebp - 0x14]
push str.Arg_s
push esi
call fcn.101d1209
add esp, 0xc
cmp dword [ebp - 0x18], edi
je 0x100164a4
push dword [ebp + 0x26c]
push dword [ebp - 0x18]
push str.Icon_s___d
push esi
call fcn.101d1209
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x1026b144
push 1
push edi
push 0x1026b184
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jl 0x1001657e
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x1026b174
push eax
call dword [ecx]
mov edi, eax
test edi, edi
jl 0x10016571
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x50]
push 0x5c
push ebx
mov edi, eax
call fcn.101d1bcf
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10016511
xor eax, eax
mov word [esi], ax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x24]
push 0x5c
pop eax
mov word [esi], ax
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10016530
cmp word [ecx], 0
je 0x10016530
push dword [ebp + 0x26c]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x44]
jmp 0x1001653c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0
push ebx
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10016553
cmp word [eax], 0
je 0x10016553
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
test edi, edi
jl 0x10016568
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 1
lea edx, [ebp + 0x44]
push edx
push eax
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test edi, edi
jge 0x100165b9
push edi
push str.err0x_x
push 1
call fcn.101d1209
push 0
push edi
push 0x3281014a
call fcn.10019470
add esp, 0x18
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 4]
push eax
mov dword [ebp], vtable.CLogFunc.0
call fcn.101d12b4
pop ecx
mov eax, esi
jmp 0x10016412
push 0x101f2588
push 4
call fcn.101d0efc
pop ecx
xor esi, esi
pop ecx
inc esi
jmp 0x1001659d