Function at 0x10001180
Capabilities:
Check if file exists
Create shortcut via ishelllink
Get common file path
Get file attributes
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe78
mov eax, dword [0x100e0084]
xor eax, esp
mov dword [esp + 0xe74], eax
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x40
push 0xffffffffffffffff
lea eax, [esp + 0x468]
mov dword [esp + 0x5c], 0
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x64], 0
push eax
push 0x40
mov dword [esp + 0x70], 0
call fcn.10001940
add esp, 0x14
mov dword [esp + 0x50], eax
xor esi, esi
lea edi, [esp + 0x68]
nop dword [eax]
nop word [eax + eax]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x100de870]
mulsd xmm1, qword [0x100de880]
movaps xmm0, xmm1
mulsd xmm1, qword [0x100de888]
mulsd xmm0, qword [0x100de890]
movsd qword [esp + 0x18], xmm1
movsd qword [esp + 0x10], xmm0
call fcn.100c3590
mulsd xmm0, qword [0x100de878]
movsd qword [esp + 0x40], xmm0
movsd xmm0, qword [esp + 0x18]
call fcn.100c3590
movsd xmm1, qword [esp + 0x40]
addsd xmm1, xmm0
movsd xmm0, qword [esp + 0x10]
movsd qword [edi - 8], xmm1
call fcn.100c3750
mulsd xmm0, qword [0x100de878]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x18]
call fcn.100c3750
movsd xmm1, qword [esp + 0x10]
inc esi
addsd xmm1, xmm0
movsd qword [edi], xmm1
add edi, 0x10
cmp esi, 0x40
jl 0x100011f0
mov esi, dword [esp + 0x50]
push esi
call fcn.10001c80
add esp, 4
push esi
call fcn.10001960
add esp, 4
lea eax, [esp + 0x860]
push 0x208
push 0
push eax
call fcn.100c0850
add esp, 0xc
lea eax, [esp + 0x860]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x860]
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 0
lea edx, [ecx + 2]
mov dword [esp + 0x34], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100012f7
sub ecx, edx
lea eax, [esp + 0x860]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.10001500
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x5c]
je 0x10001342
movups xmm0, xmmword [esp + 0x20]
mov dword [eax], 0
movups xmmword [eax], xmm0
movq xmm0, qword [esp + 0x30]
movq qword [eax + 0x10], xmm0
add dword [esp + 0x58], 0x18
jmp 0x1000138d
lea ecx, [esp + 0x20]
push ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.10001660
mov edx, dword [esp + 0x34]
cmp edx, 8
jb 0x1000138d
mov ecx, dword [esp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10001383
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100014f6
push edx
push ecx
call fcn.100bf464
add esp, 8
movups xmm0, xmmword [str.Sigil_Ebook]
push 0x1f0
lea eax, [esp + 0xa84]
movups xmmword [esp + 0xa6c], xmm0
push 0
movq xmm0, qword [0x100de838]
push eax
movq qword [esp + 0xa84], xmm0
call fcn.100c0850
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
push 0x100d0170
push 1
push 0
push 0x100d0190
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10001488
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x860]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0xa68]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x50]
push edx
push 0x100d0180
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x1000147e
lea eax, [esp + 0xc70]
push eax
push 0
push 0
push 7
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1000144d
push str._sigilgui.lnk
lea eax, [esp + 0xc74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0xc70]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10001474
mov eax, dword [esp + 0x50]
lea edx, [esp + 0xc70]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [esp + 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x100014e2
mov edx, dword [esp + 0x58]
push ecx
call fcn.10001850
mov ecx, dword [esp + 0x60]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x58]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x100014d8
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100014f6
push ecx
push esi
call fcn.100bf464
add esp, 8
mov ecx, dword [esp + 0xe7c]
pop edi
pop esi
xor ecx, esp
call fcn.100bf426
mov esp, ebp
pop ebp
ret
call fcn.100c137f
int3