Function at 0x14000bd20
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, 0x12b0
call fcn.140018cb0
sub rsp, rax
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0x12c8], rbx
mov qword [rsp + 0x12d0], rsi
mov qword [rsp + 0x12d8], rdi
mov rax, qword [0x14003f2f0]
xor rax, rsp
mov qword [rsp + 0x12a0], rax
mov rbx, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x90]
call fcn.1400166f0
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x290]
call fcn.1400166f0
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x490]
call fcn.1400166f0
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0xa90]
call fcn.1400166f0
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x890]
call fcn.1400166f0
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0xc90]
call fcn.1400166f0
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x690]
call fcn.1400166f0
mov rcx, rbx
call fcn.140005b10
test eax, eax
je 0x14000c2ec
mov dword [rsp + 0x30], 1
lea rdi, [0x140042700]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], pe_nt_image_headers64
lea r9, [rsp + 0x90]
lea r8, [0x14002ce18]
lea rdx, str.DestinationDir
mov rcx, rbx
call fcn.14000db60
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], pe_nt_image_headers64
lea r9, [rsp + 0x290]
lea r8, [0x14002ce18]
lea rdx, str.ShortCutLabel
mov rcx, rbx
call fcn.14000db60
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], pe_nt_image_headers64
lea r9, [rsp + 0x490]
lea r8, [0x14002ce18]
lea rdx, str.ExecutablePath
mov rcx, rbx
call fcn.14000db60
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], pe_nt_image_headers64
lea r9, [rsp + 0xa90]
lea r8, [0x14002ce18]
lea rdx, str.Arguments
mov rcx, rbx
call fcn.14000db60
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], pe_nt_image_headers64
lea r9, [rsp + 0x890]
lea r8, [0x14002ce18]
lea rdx, str.IconFilePath
mov rcx, rbx
call fcn.14000db60
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], pe_nt_image_headers64
lea r9, [rsp + 0xc90]
lea r8, [0x14002ce18]
lea rdx, str.IconDescription
mov rcx, rbx
call fcn.14000db60
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], pe_nt_image_headers64
lea r9, [rsp + 0x690]
lea r8, [0x14002ce18]
lea rdx, str.WorkingDirectory
mov rcx, rbx
call fcn.14000db60
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x290]
lea rcx, str._nDropping__s_Link_Icon_in__s
call fcn.14000adf0
lea rax, [rsp + 0x290]
or rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14000bfb4
test edi, edi
jne 0x14000bfdd
lea rcx, str._nLink_label_not_specified
call fcn.140017d0c
mov dword [0x1400434f8], 1
jmp 0x14000c2ec
lea rdx, str._:____
lea rcx, [rsp + 0x290]
call qword [sym.imp.SHLWAPI.dll_StrCSpnW]
cmp eax, edi
jae 0x14000c011
lea rcx, str._nLink_label_cannot_contain_reserved_characters__:____
call fcn.140017d0c
mov dword [0x1400434f8], 1
jmp 0x14000c2ec
lea rcx, [rsp + 0x90]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14000c020
test rax, rax
jne 0x14000c04a
lea rcx, str._nDestination_Directory_not_specified
call fcn.140017d0c
mov dword [0x1400434f8], 1
jmp 0x14000c2ec
cmp word [rsp + rax*2 + 0x8e], 0x5c
jne 0x14000c05e
mov word [rsp + rax*2 + 0x8e], r14w
lea rdx, [0x14002ccd0]
lea rcx, [rsp + 0x90]
call fcn.140016fd4
test rax, rax
je 0x14000c0bc
mov edi, 0x5c
nop dword [rax]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000c0a3
xor edx, edx
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, [0x14002ccd0]
xor ecx, ecx
call fcn.140016fd4
test rax, rax
je 0x14000c0bc
mov word [rax - 2], di
jmp 0x14000c080
lea rdx, str.C:hp_binWizlink.exe
lea rcx, [rsp + 0x490]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x14000c0f0
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x490]
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 + 0x1090]
call fcn.140018028
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1400330e8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140033158]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000c2ec
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
lea rdx, [0x140033128]
call qword [rax]
test eax, eax
js 0x14000c2e1
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x490]
call qword [rax + 0xa0]
test eax, eax
jns 0x14000c195
lea rax, str.SetPath_failed
mov qword [rsp + 0x60], rax
lea rdx, [0x14003cd78]
lea rcx, [rsp + 0x60]
call fcn.140016998
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0xa90]
call qword [rax + 0x58]
test eax, eax
jns 0x14000c1c9
lea rax, str.SetArguments_failed
mov qword [rsp + 0x50], rax
lea rdx, [0x14003cd78]
lea rcx, [rsp + 0x50]
call fcn.140016998
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0xc90]
call qword [rax + 0x38]
test eax, eax
jns 0x14000c1fd
lea rax, str.SetDescription_failed_
mov qword [rsp + 0x70], rax
lea rdx, [0x14003cd78]
lea rcx, [rsp + 0x70]
call fcn.140016998
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8d, esi
lea rdx, [rsp + 0x890]
call qword [rax + 0x88]
test eax, eax
jns 0x14000c237
lea rax, str.SetIconLocation_failed
mov qword [rsp + 0x58], rax
lea rdx, [0x14003cd78]
lea rcx, [rsp + 0x58]
call fcn.140016998
lea rax, [rsp + 0x690]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000c240
test rbx, rbx
je 0x14000c283
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x690]
call qword [rax + 0x48]
test eax, eax
jns 0x14000c283
lea rax, str.SetWorkingDirectory_failed
mov qword [rsp + 0x68], rax
lea rdx, [0x14003cd78]
lea rcx, [rsp + 0x68]
call fcn.140016998
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rsp + 0x1090]
call qword [rax + 0x30]
test eax, eax
jns 0x14000c2d6
mov r8d, eax
lea rdx, str._nSave_failed_:__x
lea rcx, [rsp + 0xe90]
call fcn.140018028
lea rax, [rsp + 0xe90]
mov qword [rsp + 0x78], rax
lea rdx, [0x14003cd78]
lea rcx, [rsp + 0x78]
call fcn.140016998
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 + 0x12a0]
xor rcx, rsp
call fcn.1400161c0
lea r11, [rsp + 0x12b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret