Function at 0x140108ec0
Capabilities:
Check if file exists
Copy file
Create directory
Create shortcut via ishelllink
Get common file path
Get file attributes
Persist via lnk shortcut
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, r9
movzx r12d, r8b
movzx esi, dl
movzx r13d, cl
xor r14b, r14b
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.1400f4390
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.1402053e0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401099b2
test al, 0x10
je 0x1401099b2
cmp dword [rbp - 0x80], 0
jle 0x140108f58
mov rcx, qword [rsp + 0x78]
call fcn.1402bd0e0
lea rax, [0x140431680]
cmp word [0x140431680], 0
jne 0x140108f7a
mov r8d, 0x104
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r15d, r15d
mov qword [rsp + 0x38], r15
lea edx, [r15 + 0xd]
lea rcx, [rsp + 0x30]
call fcn.1402028a0
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r9d, [r15 + 0xd]
lea r8, [0x140354f68]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
lea edx, [r15 + 0xd]
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x58]
call fcn.1400d4050
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x68]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov eax, dword [rsp + 0x70]
inc eax
movsxd rdx, eax
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x68]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x68]
call fcn.140203bb0
nop
cmp dword [rbp - 0x50], r15d
jle 0x140109018
mov rcx, qword [rbp - 0x58]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x38], 0
jle 0x140109029
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
mov edx, dword [rsp + 0x74]
mov rcx, rdi
call fcn.1402028a0
movsxd r9, dword [rsp + 0x74]
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x68]
mov rcx, qword [rdi]
call fcn.1402c06dc
mov edx, dword [rsp + 0x74]
mov rcx, rdi
call fcn.140203bb0
xor r8d, r8d
lea rdx, [0x140431680]
lea rcx, [rsp + 0x68]
call fcn.140202b80
or rdi, 0xffffffffffffffff
lea rcx, [0x14034d1a0]
test al, al
jne 0x140109110
mov rbx, rdi
lea rax, [0x140431680]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140109090
mov qword [rsp + 0x38], r15
test ebx, ebx
jne 0x1401090aa
mov qword [rsp + 0x30], rcx
jmp 0x1401090d3
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [0x140431680]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140203bb0
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
sete bl
cmp dword [rsp + 0x38], 0
jle 0x140109108
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
test bl, bl
jne 0x1401099df
mov r14b, 1
lea rcx, [rsp + 0x68]
call fcn.14010bf00
mov edx, 6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
sete r15b
test sil, sil
je 0x1401095d8
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x17]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor esi, esi
test eax, eax
jne 0x1401095da
mov qword [rsp + 0x58], rsi
lea edx, [rsi + 9]
lea rcx, [rsp + 0x50]
call fcn.1402028a0
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r9d, [rsi + 9]
lea r8, [0x140352c88]
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
lea edx, [rsi + 9]
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
lea rax, [rbp - 0x40]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401091a3
mov qword [rsp + 0x38], rsi
test ebx, ebx
jne 0x1401091c4
lea rax, [0x14034d1a0]
mov qword [rsp + 0x30], rax
jmp 0x1401091ea
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.1400d4050
nop
cmp dword [rsp + 0x38], 0
jle 0x14010921e
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x58], 0
jle 0x14010922f
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.1402053e0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140109265
test al, 0x10
je 0x140109265
cmp dword [rsp + 0x48], 0
jle 0x140109286
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
jmp 0x140109286
cmp dword [rsp + 0x48], 0
jle 0x140109276
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.1402053e0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401095b4
test al, 0x10
je 0x1401095b4
cmp dword [rsp + 0x48], 0
jle 0x1401092c2
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
mov qword [rbp - 0x70], rsi
mov edx, 0xd
lea rcx, [rbp - 0x78]
call fcn.1402028a0
mov eax, dword [rbp - 0x70]
inc eax
movsxd rdx, eax
mov r9d, 0xd
lea r8, str.HitmanPro.lnk
mov rcx, qword [rbp - 0x78]
call fcn.1402c06dc
mov edx, 0xd
lea rcx, [rbp - 0x78]
call fcn.140203bb0
nop
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x58]
call fcn.1400d4050
nop
cmp dword [rbp - 0x70], 0
jle 0x140109323
mov rcx, qword [rbp - 0x78]
call fcn.1402bd0e0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x140306a10]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140306a60]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140109440
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x68]
call qword [rax + 0xa0]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
call qword [rax + 0x88]
mov qword [rsp + 0x38], rsi
mov edx, 0x12
lea rcx, [rsp + 0x30]
call fcn.1402028a0
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0x12
lea r8, str.ProductDescription
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, 0x12
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.1400f6d90
nop
cmp dword [rsp + 0x38], 0
jle 0x1401093dc
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x68]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [0x140306a80]
call qword [rax]
test eax, eax
js 0x140109425
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov r8d, 1
mov rdx, qword [rbp - 0x58]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp dword [rbp - 0x60], 0
jle 0x140109440
mov rcx, qword [rbp - 0x68]
call fcn.1402bd0e0
mov qword [rsp + 0x38], rsi
mov edx, 0x14
lea rcx, [rsp + 0x30]
call fcn.1402028a0
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0x14
lea r8, str.UninstallDescription
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, 0x14
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.1400f6d90
nop
cmp dword [rsp + 0x38], 0
jle 0x1401094a4
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.1400d4050
nop
lea rdx, str..lnk
lea rcx, [rsp + 0x40]
call fcn.140200ef0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140306a10]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140306a60]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140109586
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x68]
call qword [rax + 0xa0]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [0x140355008]
call qword [rax + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
call qword [rax + 0x88]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x68]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
lea rdx, [0x140306a80]
call qword [rax]
test eax, eax
js 0x14010957a
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov r8d, 1
mov rdx, qword [rsp + 0x40]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp dword [rsp + 0x48], 0
jle 0x140109598
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x60], 0
jle 0x1401095a8
mov rcx, qword [rbp - 0x68]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x50], 0
jle 0x1401095c6
mov rcx, qword [rbp - 0x58]
jmp 0x1401095c0
cmp dword [rsp + 0x48], 0
jle 0x1401095c6
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x80], 0
jle 0x1401095da
mov rcx, qword [rsp + 0x78]
call fcn.1402bd0e0
jmp 0x1401095da
xor esi, esi
test r12b, r12b
je 0x14010980d
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x19]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x14010980d
mov qword [rbp - 0x70], 0
lea edx, [rax + 0xd]
lea rcx, [rbp - 0x78]
call fcn.1402028a0
mov eax, dword [rbp - 0x70]
inc eax
movsxd rdx, eax
mov r9d, 0xd
lea r8, str.HitmanPro.lnk
mov rcx, qword [rbp - 0x78]
call fcn.1402c06dc
mov edx, 0xd
lea rcx, [rbp - 0x78]
call fcn.140203bb0
nop
lea rax, [rbp - 0x40]
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140109650
mov qword [rsp + 0x58], 0
test edi, edi
jne 0x140109675
lea rax, [0x14034d1a0]
mov qword [rsp + 0x50], rax
jmp 0x14010969b
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1402028a0
movsxd r9, edi
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x40]
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.1400d4050
nop
cmp dword [rsp + 0x58], 0
jle 0x1401096cd
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x70], 0
jle 0x1401096dc
mov rcx, qword [rbp - 0x78]
call fcn.1402bd0e0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x140306a10]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140306a60]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1401097fe
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x68]
call qword [rax + 0xa0]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
call qword [rax + 0x88]
mov qword [rsp + 0x48], 0
mov edx, 0x12
lea rcx, [rsp + 0x40]
call fcn.1402028a0
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 0x12
lea r8, str.ProductDescription
mov rcx, qword [rsp + 0x40]
call fcn.1402c06dc
mov edx, 0x12
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x58]
call fcn.1400f6d90
nop
cmp dword [rsp + 0x48], 0
jle 0x140109799
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x58]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
lea rdx, [0x140306a80]
call qword [rax]
test eax, eax
js 0x1401097e2
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov r8d, 1
mov rdx, qword [rbp - 0x68]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp dword [rbp - 0x50], 0
jle 0x1401097fe
mov rcx, qword [rbp - 0x58]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x60], 0
jle 0x14010980d
mov rcx, qword [rbp - 0x68]
call fcn.1402bd0e0
test r15b, r15b
je 0x140109818
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdi, vtable.Core::Win32::RegistryKey.0
test r13b, r13b
je 0x14010994a
mov eax, dword [0x140431ac0]
test al, 1
jne 0x140109859
or eax, 1
mov dword [0x140431ac0], eax
mov qword [0x140431ac8], rdi
mov qword [0x140431ad0], 0xffffffff80000002
lea rcx, [0x1403050b0]
call fcn.1402be804
lea rdx, [0x140352cb8]
lea rcx, [0x140431ac8]
call fcn.1400ece40
mov rbx, rax
test rax, rax
je 0x140109943
lea rax, [0x14034d1a0]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], 0
lea r8, [rsp + 0x78]
lea rdx, [0x140354fe0]
mov rcx, rbx
call fcn.1400d9fd0
test al, al
jne 0x140109933
mov dword [rsp + 0x28], 0xa
lea rax, [0x140355030]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140354fe0]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x28], 0xe
lea rax, [0x140355020]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140355068]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x28], 0x26
lea rax, str.fullscreen_diskbusy
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SchedulerNotWhen
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
cmp dword [rbp - 0x80], 0
jle 0x140109943
mov rcx, qword [rsp + 0x78]
call fcn.1402bd0e0
mov cl, 1
call fcn.1401193b0
call fcn.1400ed7f0
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str._shellhitmanpro
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401099a6
lea ecx, [rax + 0x10]
call fcn.1402bcb4c
mov rcx, rax
test rax, rax
je 0x1401099a6
mov rax, qword [rsp + 0x30]
mov qword [rcx], rdi
mov qword [rcx + 8], rax
mov edx, 1
call qword [rdi]
xor ecx, ecx
call fcn.140119da0
call fcn.14010cce0
call fcn.14010d3c0
jmp 0x1401099df
cmp dword [rbp - 0x80], 0
jle 0x1401099c2
mov rcx, qword [rsp + 0x78]
call fcn.1402bd0e0
mov rbx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r8, rbx
lea rcx, str.Error__d_while_creating_directory__s_r_n
call fcn.1402bf424
nop
cmp dword [rsp + 0x70], 0
jle 0x1401099f0
mov rcx, qword [rsp + 0x68]
call fcn.1402bd0e0
movzx eax, r14b
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret