Function at 0x456638
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x28]
call fcn.00403728
xor eax, eax
push ebp
push 0x4569e3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0x18], 0
je 0x456685
lea eax, [ebp - 8]
push eax
push 0x499774
push 1
push 0
push 0x499a74
call sub.ole32.dll_CoCreateInstance
jmp 0x45668a
mov eax, 0x80004005
test eax, eax
je 0x4566b9
mov byte [ebp + 0x18], 0
lea eax, [ebp - 8]
push eax
push 0x499774
push 1
push 0
push 0x499764
call sub.ole32.dll_CoCreateInstance
test eax, eax
je 0x4566b9
mov edx, eax
mov eax, 0x4569fc
call fcn.004534b0
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x4569be
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, edi
call fcn.00403738
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
mov eax, dword [ebp + 0x30]
call fcn.00403738
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp byte [ebp + 0x18], 0
jne 0x45670a
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp - 8]
call fcn.0045645c
cmp dword [ebp + 0x28], 0
je 0x45674e
cmp byte [0x49c43a], 0
je 0x456738
push 1
lea edx, [ebp - 0x28]
mov eax, 0x456a18
call fcn.0047c3c0
mov edx, dword [ebp - 0x28]
lea eax, [ebp + 0x28]
mov ecx, 0x456a28
call fcn.0042db10
mov eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x28]
call fcn.00403738
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x3c]
test esi, esi
je 0x456770
mov eax, esi
call fcn.00403738
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
cmp word [ebp + 0x1c], 0
je 0x456785
mov ax, word [ebp + 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x34]
call fcn.0045643c
test al, al
je 0x4568ed
test ebx, ebx
setne al
or al, byte [ebp + 0x10]
jne 0x4567a6
cmp byte [ebp + 0xc], 0
je 0x4568ed
lea eax, [ebp - 0xc]
push eax
push 0x499a64
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
je 0x4567c7
mov edx, eax
mov eax, 0x456a48
call fcn.004534b0
cmp byte [ebp + 0xc], 0
je 0x4567fb
mov word [ebp - 0x24], 0xb
mov word [ebp - 0x1c], 0xffff
lea eax, [ebp - 0x24]
push eax
push 0x499aac
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
je 0x4567fb
mov edx, eax
mov eax, 0x456a80
call fcn.004534b0
test ebx, ebx
je 0x456868
mov word [ebp - 0x24], 8
mov eax, ebx
call fcn.00403ca4
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x45681a
call fcn.00408c00
xor edx, edx
push ebp
push 0x456861
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x24]
push eax
push 0x499a84
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
je 0x45684a
mov edx, eax
mov eax, 0x456ac4
call fcn.004534b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456868
mov eax, dword [ebp - 0x1c]
push eax
call sub.oleaut32.dll_SysFreeString
ret
cmp byte [ebp + 0x10], 0
je 0x4568d4
mov word [ebp - 0x24], 0xb
mov word [ebp - 0x1c], 0xffff
lea eax, [ebp - 0x24]
push eax
push 0x499a98
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
je 0x45689c
mov edx, eax
mov eax, 0x456afc
call fcn.004534b0
call fcn.0045644c
test al, al
je 0x4568d4
mov word [ebp - 0x24], 0x13
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x24]
push eax
push 0x499ac0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
je 0x4568d4
mov edx, eax
mov eax, 0x456b4c
call fcn.004534b0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
test eax, eax
je 0x4568ed
mov edx, eax
mov eax, 0x456b90
call fcn.004534b0
lea eax, [ebp - 0x10]
push eax
push 0x499744
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
je 0x45690e
mov edx, eax
mov eax, 0x456bb0
call fcn.004534b0
cmp byte [ebp + 0x18], 0
je 0x456937
call fcn.0045641c
test al, al
je 0x456937
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0042c4f8
mov eax, dword [ebp - 0x28]
call fcn.00403ca4
mov dword [ebp - 0x14], eax
jmp 0x456942
mov eax, dword [ebp - 4]
call fcn.00403ca4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x45694d
call fcn.00408c00
push 1
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
je 0x45696c
mov edx, eax
mov eax, 0x456be8
call fcn.004534b0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00456550
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4569c5
cmp dword [ebp - 0x14], 0
je 0x456996
mov eax, dword [ebp - 0x14]
push eax
call sub.oleaut32.dll_SysFreeString
cmp dword [ebp - 0xc], 0
je 0x4569a5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 8]
cmp dword [ebp - 0x10], 0
je 0x4569b4
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 8]
ret