Function at 0x408320
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ed35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 4], 2
mov ecx, 0x4d5279
call fcn.0047b83a
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x408390
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00407090
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00407090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00407090
mov al, byte [ebp - 0xd]
jmp 0x40858c
lea eax, [ebp - 0x18]
push eax
call fcn.004056e0
add esp, 4
push eax
push 0x4a63fc
push 1
push 0
push 0x4abf44
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x4083f3
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 0xe], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00407090
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00407090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00407090
mov al, byte [ebp - 0xe]
jmp 0x40858c
lea ecx, [ebp + 8]
call fcn.004074e0
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 0x50]
call ecx
push 0x5c
lea ecx, [ebp + 8]
call fcn.0040ae60
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp + 8]
call fcn.0040a0c0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
call fcn.004074e0
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 0x24]
call ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00407090
lea edx, [ebp - 0x1c]
push edx
call fcn.004056e0
add esp, 4
push eax
push 0x4a640c
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x4084e0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp + 0x10]
call fcn.004074e0
push eax
call fcn.00409cb0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x4084d2
lea edx, [ebp - 0x40]
push edx
push 0x4abf54
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x4084c8
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ecx + 8]
call eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.004056e0
add esp, 4
push eax
push 0x4a641c
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x408532
push 1
lea ecx, [ebp + 0xc]
call fcn.004074e0
push eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x14], 0
jl 0x408555
mov dword [ebp - 0x24], 1
jmp 0x40855c
mov dword [ebp - 0x24], 0
mov al, byte [ebp - 0x24]
mov byte [ebp - 0xf], al
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00407090
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00407090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00407090
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret