Function at 0x401000
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
cmp dword [ebp + 0x18], 0
jne 0x4010ab
push 0x104
mov eax, dword [ebp + 8]
push eax
call dword [0x4121fc]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x320]
push edx
call fcn.0040bce0
add esp, 0x10
push 0x104
mov eax, dword [ebp + 0xc]
push eax
call dword [0x4121fc]
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x430]
push edx
call fcn.0040bce0
add esp, 0x10
push 0x104
mov eax, dword [ebp + 0x10]
push eax
call dword [0x4121fc]
add eax, 1
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.0040bce0
add esp, 0x10
push 0x104
mov eax, dword [ebp + 0x14]
push eax
call dword [0x4121fc]
add eax, 1
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.0040bce0
add esp, 0x10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
jge 0x4010cd
mov eax, dword [ebp - 0x324]
jmp 0x401349
cmp dword [ebp + 0x18], 0
je 0x4010f6
lea eax, [ebp - 0x434]
push eax
push 0x40fd5c
push 1
push 0
push 0x40fd7c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x324], eax
jmp 0x401117
lea ecx, [ebp - 0x10c]
push ecx
push 0x40fd6c
push 1
push 0
push 0x40fd7c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
jge 0x4011ee
cmp dword [ebp + 0x18], 0
je 0x4011ee
mov dword [ebp + 0x18], 0
push 0x104
mov edx, dword [ebp + 8]
push edx
call dword [0x4121fc]
add eax, 1
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x320]
push ecx
call fcn.0040bce0
add esp, 0x10
push 0x104
mov edx, dword [ebp + 0xc]
push edx
call dword [0x4121fc]
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x430]
push ecx
call fcn.0040bce0
add esp, 0x10
push 0x104
mov edx, dword [ebp + 0x10]
push edx
call dword [0x4121fc]
add eax, 1
push eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0040bce0
add esp, 0x10
push 0x104
mov edx, dword [ebp + 0x14]
push edx
call dword [0x4121fc]
add eax, 1
push eax
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.0040bce0
add esp, 0x10
lea edx, [ebp - 0x10c]
push edx
push 0x40fd6c
push 1
push 0
push 0x40fd7c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
jl 0x401343
cmp dword [ebp + 0x18], 0
je 0x401245
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x434]
push eax
call dword [edx + 0x50]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x434]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x434]
push ecx
call dword [eax + 0x1c]
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x434]
push edx
call dword [ecx + 0x24]
jmp 0x401290
lea eax, [ebp - 0x320]
push eax
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10c]
push eax
call dword [edx + 0x50]
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [eax + 0x1c]
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10c]
push edx
call dword [ecx + 0x24]
cmp dword [ebp + 0x18], 0
je 0x4012bb
lea eax, [ebp - 0x438]
push eax
push 0x40fda8
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x434]
push eax
call dword [edx]
mov dword [ebp - 0x324], eax
jmp 0x4012de
lea ecx, [ebp - 0x438]
push ecx
push 0x40fda8
mov edx, dword [ebp - 0x10c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [eax]
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
jl 0x401317
push 1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x438]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x438]
push edx
call dword [ecx + 0x18]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x438]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x438]
push edx
call dword [ecx + 8]
cmp dword [ebp + 0x18], 0
je 0x401331
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x434]
push edx
call dword [ecx + 8]
jmp 0x401343
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10c]
push edx
call dword [ecx + 8]
mov eax, dword [ebp - 0x324]
mov esp, ebp
pop ebp
ret