Function at 0x14000c8a0
Capabilities:
Check if file exists
Create directory
Create shortcut via ishelllink
Get file attributes
Query environment variable
Read .ini file

Disassembly:
push r14
mov eax, 0x1eb0
call fcn.14001d860
sub rsp, rax
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0x1ec8], rbx
mov qword [rsp + 0x1ed0], rsi
mov qword [rsp + 0x1ed8], rdi
mov rax, qword [0x1400623d0]
xor rax, rsp
mov qword [rsp + 0x1ea0], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x90]
call fcn.14001a650
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x290]
call fcn.14001a650
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0xea0]
call fcn.14001a650
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x16a0]
call fcn.14001a650
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x890]
call fcn.14001a650
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x690]
call fcn.14001a650
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x490]
call fcn.14001a650
mov rcx, rbx
call fcn.140005bd0
test eax, eax
je 0x14000ce6c
mov dword [rsp + 0x30], 1
lea rdi, [0x140065980]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x90]
lea r8, [0x1400476d0]
lea rdx, str.DestinationDir
mov rcx, rbx
call fcn.14000e830
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x290]
lea r8, [0x1400476d0]
lea rdx, str.ShortCutLabel
mov rcx, rbx
call fcn.14000e830
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0xea0]
lea r8, [0x1400476d0]
lea rdx, str.ExecutablePath
mov rcx, rbx
call fcn.14000e830
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x16a0]
lea r8, [0x1400476d0]
lea rdx, str.Arguments
mov rcx, rbx
call fcn.14000e830
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x890]
lea r8, [0x1400476d0]
lea rdx, str.IconFilePath
mov rcx, rbx
call fcn.14000e830
mov r9, rdi
xor r8d, r8d
lea rdx, str.IconIndex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x690]
lea r8, [0x1400476d0]
lea rdx, str.IconDescription
mov rcx, rbx
call fcn.14000e830
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x490]
lea r8, [0x1400476d0]
lea rdx, str.WorkingDirectory
mov rcx, rbx
call fcn.14000e830
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x290]
lea rcx, str._nDropping__s_Link_Icon_in__s
call fcn.14000b8c0
lea rax, [rsp + 0x290]
or rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14000cb34
test edi, edi
jne 0x14000cb5d
lea rcx, str._nLink_label_not_specified
call fcn.14001c2d0
mov dword [0x1400667b8], 1
jmp 0x14000ce6c
lea rdx, str._:____
lea rcx, [rsp + 0x290]
call qword [sym.imp.SHLWAPI.dll_StrCSpnW]
cmp eax, edi
jae 0x14000cb99
lea rdx, [rsp + 0x290]
lea rcx, str._nLink_label:__s_cannot_contain_reserved_characters__:____
call fcn.14001c2d0
mov dword [0x1400667b8], 1
jmp 0x14000ce6c
lea rcx, [rsp + 0x90]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14000cba4
test rax, rax
jne 0x14000cbce
lea rcx, str._nDestination_Directory_not_specified
call fcn.14001c2d0
mov dword [0x1400667b8], 1
jmp 0x14000ce6c
cmp word [rsp + rax*2 + 0x8e], 0x5c
jne 0x14000cbe2
mov word [rsp + rax*2 + 0x8e], r14w
lea rdx, [0x140047570]
lea rcx, [rsp + 0x90]
call fcn.14001b0f4
test rax, rax
je 0x14000cc3c
mov edi, 0x5c
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000cc23
xor edx, edx
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, [0x140047570]
xor ecx, ecx
call fcn.14001b0f4
test rax, rax
je 0x14000cc3c
mov word [rax - 2], di
jmp 0x14000cc00
lea rdx, str.C:hp_binWizlink.exe
lea rcx, [rsp + 0xea0]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x14000cc70
mov r8d, 0x100
lea rdx, [rsp + 0xea0]
lea rcx, str._ProgramFiles_x86__HPSharedWizLink.exe
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea r9, [rsp + 0x290]
lea r8, [rsp + 0x90]
lea rdx, str._s_s.lnk
lea rcx, [rsp + 0xa90]
call fcn.14001c9d4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x14004f288]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140050cc8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000ce6c
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
lea rdx, [0x14004fcf8]
call qword [rax]
test eax, eax
js 0x14000ce61
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0xea0]
call qword [rax + 0xa0]
test eax, eax
jns 0x14000cd15
lea rax, str.SetPath_failed
mov qword [rsp + 0x60], rax
lea rdx, [0x140060688]
lea rcx, [rsp + 0x60]
call fcn.14001aa38
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x16a0]
call qword [rax + 0x58]
test eax, eax
jns 0x14000cd49
lea rax, str.SetArguments_failed
mov qword [rsp + 0x50], rax
lea rdx, [0x140060688]
lea rcx, [rsp + 0x50]
call fcn.14001aa38
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x690]
call qword [rax + 0x38]
test eax, eax
jns 0x14000cd7d
lea rax, str.SetDescription_failed_
mov qword [rsp + 0x70], rax
lea rdx, [0x140060688]
lea rcx, [rsp + 0x70]
call fcn.14001aa38
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8d, esi
lea rdx, [rsp + 0x890]
call qword [rax + 0x88]
test eax, eax
jns 0x14000cdb7
lea rax, str.SetIconLocation_failed
mov qword [rsp + 0x58], rax
lea rdx, [0x140060688]
lea rcx, [rsp + 0x58]
call fcn.14001aa38
lea rax, [rsp + 0x490]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000cdc0
test rbx, rbx
je 0x14000ce03
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x490]
call qword [rax + 0x48]
test eax, eax
jns 0x14000ce03
lea rax, str.SetWorkingDirectory_failed
mov qword [rsp + 0x68], rax
lea rdx, [0x140060688]
lea rcx, [rsp + 0x68]
call fcn.14001aa38
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rsp + 0xa90]
call qword [rax + 0x30]
test eax, eax
jns 0x14000ce56
mov r8d, eax
lea rdx, str._nSave_failed_:__x
lea rcx, [rsp + 0xca0]
call fcn.14001c9d4
lea rax, [rsp + 0xca0]
mov qword [rsp + 0x78], rax
lea rdx, [0x140060688]
lea rcx, [rsp + 0x78]
call fcn.14001aa38
nop
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x1ea0]
xor rcx, rsp
call fcn.14001a120
lea r11, [rsp + 0x1eb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret