Function at 0x409760
Capabilities:
Check if file exists
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee998
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov dword [ebp - 4], 2
mov ecx, 0x52429a
call fcn.004c6bbd
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4097d3
mov byte [ebp - 0x15], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00407640
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00407640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00407640
mov al, byte [ebp - 0x15]
jmp 0x409b3f
lea eax, [ebp - 0x14]
push eax
call fcn.00403f30
add esp, 4
push eax
push 0x4f7108
push 1
push 0
push 0x4f9024
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x409836
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 0x16], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00407640
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00407640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00407640
mov al, byte [ebp - 0x16]
jmp 0x409b3f
push 0x5c
lea ecx, [ebp + 8]
call fcn.0040ca80
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 8]
call fcn.0040bce0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004084d0
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 0x50]
call edx
lea ecx, [ebp - 0x2c]
call fcn.004084d0
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 0x24]
call eax
mov ecx, 0x5c
mov word [ebp - 0x64], cx
mov edx, 0x56
mov word [ebp - 0x62], dx
mov eax, 0x69
mov word [ebp - 0x60], ax
mov ecx, 0x73
mov word [ebp - 0x5e], cx
mov edx, 0x75
mov word [ebp - 0x5c], dx
mov eax, 0x61
mov word [ebp - 0x5a], ax
mov ecx, 0x6c
mov word [ebp - 0x58], cx
mov edx, 0x45
mov word [ebp - 0x56], dx
mov eax, 0x6c
mov word [ebp - 0x54], ax
mov ecx, 0x65
mov word [ebp - 0x52], cx
mov edx, 0x6d
mov word [ebp - 0x50], dx
mov eax, 0x65
mov word [ebp - 0x4e], ax
mov ecx, 0x6e
mov word [ebp - 0x4c], cx
mov edx, 0x74
mov word [ebp - 0x4a], dx
mov eax, 0x73
mov word [ebp - 0x48], ax
mov ecx, 0x5c
mov word [ebp - 0x46], cx
mov edx, 0x6c
mov word [ebp - 0x44], dx
mov eax, 0x6f
mov word [ebp - 0x42], ax
mov ecx, 0x67
mov word [ebp - 0x40], cx
mov edx, 0x6f
mov word [ebp - 0x3e], dx
mov eax, 0x2e
mov word [ebp - 0x3c], ax
mov ecx, 0x69
mov word [ebp - 0x3a], cx
mov edx, 0x63
mov word [ebp - 0x38], dx
mov eax, 0x6f
mov word [ebp - 0x36], ax
xor ecx, ecx
mov word [ebp - 0x34], cx
lea ecx, [ebp - 0x21]
call fcn.004063b0
push eax
lea edx, [ebp - 0x32]
push edx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x90]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x88]
call fcn.00406d10
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x6c]
call fcn.00415e30
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00408630
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.00407960
lea ecx, [ebp - 0x28]
call fcn.004084d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4099ec
push 0
lea ecx, [ebp - 0x28]
call fcn.004084d0
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 0x44]
call eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00403f30
add esp, 4
push eax
push 0x4f7118
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x409a7b
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp + 0x10]
call fcn.004084d0
push eax
call fcn.0040b620
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x409a6d
lea ecx, [ebp - 0x7c]
push ecx
push 0x4f9034
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x409a63
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ecx + 0x1c]
call eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x7c]
push ecx
call dword [sym.imp.ole32.dll_PropVariantClear]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x20]
push eax
call fcn.00403f30
add esp, 4
push eax
push 0x4f7128
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x409acd
push 1
lea ecx, [ebp + 0xc]
call fcn.004084d0
push eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x10], 0
jl 0x409af0
mov dword [ebp - 0x30], 1
jmp 0x409af7
mov dword [ebp - 0x30], 0
mov dl, byte [ebp - 0x30]
mov byte [ebp - 0x17], dl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00407640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00407640
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00407640
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00407640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00407640
mov al, byte [ebp - 0x17]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret