Function at 0x418550
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4969d2
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x4c0760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x454]
push eax
push 0x49b648
push 1
push 0
push 0x49b658
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4185c5
mov ecx, dword [0x4c7560]
test ecx, ecx
je 0x4185be
push eax
push str.failed_to_create_shell_link_instance__error:_0x_x
push 3
push 0x6b
push str.installer.cpp
push ecx
call fcn.0041fb10
add esp, 0x18
xor al, al
jmp 0x4188e4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00462c70
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp - 0x454]
lea edx, [ebp - 0x218]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov esi, eax
test esi, esi
jns 0x418635
mov ecx, dword [ebp - 0x454]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [0x4c7560]
test ecx, ecx
je 0x4185be
push esi
push str.failed_to_set_the_shortcut_path__error:_0x_x
push 3
push 0x76
jmp 0x4185b0
lea ecx, [ebp - 0x470]
call fcn.0041eaf0
push str.logo.ico
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00410850
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x45c], 8
jb 0x418677
push dword [ebp - 0x470]
call fcn.0046080a
add esp, 4
xor eax, eax
mov dword [ebp - 0x45c], 7
cmp dword [ebp - 0x424], 8
mov word [ebp - 0x470], ax
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
mov dword [ebp - 0x460], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4186d5
push str.BINARY
push 0x87
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4186d5
mov edx, eax
lea ecx, [ebp - 0x438]
call fcn.004184b0
mov eax, dword [ebp - 0x454]
lea edx, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
push 0
cmovae edx, dword [ebp - 0x438]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
jns 0x418723
mov ecx, dword [ebp - 0x454]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [0x4c7560]
test ecx, ecx
je 0x418771
push esi
push str.failed_to_set_the_shortcut_icon__error:_0x_x
push 3
push 0x84
jmp 0x418763
mov eax, dword [ebp - 0x454]
lea edx, [ebp - 0x458]
push edx
push 0x49b678
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
jns 0x418778
mov ecx, dword [ebp - 0x454]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [0x4c7560]
test ecx, ecx
je 0x418771
push esi
push str.failed_to_create_persist_file_instance__error:_0x_x
push 3
push 0x8e
push str.installer.cpp
push ecx
call fcn.0041fb10
add esp, 0x18
xor bl, bl
jmp 0x4188cb
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x450]
call fcn.0040e040
push 0x4ab118
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 3
call fcn.0040e040
lea eax, [ebp - 0x470]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x4a0]
push eax
call fcn.0041b750
mov ecx, eax
call fcn.0041b9e0
push eax
mov edx, 0x4ab128
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x488]
call fcn.00417a90
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 6
call fcn.0040e2d0
lea ecx, [ebp - 0x488]
call fcn.0040b5d0
lea ecx, [ebp - 0x4a0]
call fcn.0040b5d0
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 3
call fcn.0040b5d0
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x458]
lea edx, [ebp - 0x450]
cmp dword [ebp - 0x43c], 8
push 1
cmovae edx, dword [ebp - 0x450]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
jns 0x4188a6
mov ecx, dword [ebp - 0x454]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x458]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [0x4c7560]
test eax, eax
je 0x4188a2
push esi
push str.failed_to_save_the_shortcut_file__error:_0x_x
push 3
push 0x9c
push str.installer.cpp
push eax
call fcn.0041fb10
add esp, 0x18
xor bl, bl
jmp 0x4188c0
mov eax, dword [ebp - 0x454]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x458]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov bl, 1
lea ecx, [ebp - 0x450]
call fcn.0040b5d0
cmp dword [ebp - 0x424], 8
jb 0x4188e2
push dword [ebp - 0x438]
call fcn.0046080a
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045fbcc
mov esp, ebp
pop ebp
ret