Function at 0x1401078e0
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 [0x140418a10]
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.1400f2db0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.140201da0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401083d2
test al, 0x10
je 0x1401083d2
cmp dword [rbp - 0x80], 0
jle 0x140107978
mov rcx, qword [rsp + 0x78]
call fcn.1402b9c20
lea rax, [0x14042c5a0]
cmp word [0x14042c5a0], 0
jne 0x14010799a
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.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r9d, [r15 + 0xd]
lea r8, [0x140351078]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
lea edx, [r15 + 0xd]
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x58]
call fcn.1400d2bd0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x68]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x68]
call fcn.140200570
nop
cmp dword [rbp - 0x50], r15d
jle 0x140107a38
mov rcx, qword [rbp - 0x58]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x38], 0
jle 0x140107a49
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov edx, dword [rsp + 0x74]
mov rcx, rdi
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rsp + 0x74]
mov rcx, rdi
call fcn.140200570
xor r8d, r8d
lea rdx, [0x14042c5a0]
lea rcx, [rsp + 0x68]
call fcn.1401ff540
or rdi, 0xffffffffffffffff
lea rcx, [0x140348ca0]
test al, al
jne 0x140107b30
mov rbx, rdi
lea rax, [0x14042c5a0]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140107ab0
mov qword [rsp + 0x38], r15
test ebx, ebx
jne 0x140107aca
mov qword [rsp + 0x30], rcx
jmp 0x140107af3
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [0x14042c5a0]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140200570
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 0x140107b28
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
test bl, bl
jne 0x1401083ff
mov r14b, 1
lea rcx, [rsp + 0x68]
call fcn.14010a920
mov edx, 6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
sete r15b
test sil, sil
je 0x140107ff8
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 0x140107ffa
mov qword [rsp + 0x58], rsi
lea edx, [rsi + 9]
lea rcx, [rsp + 0x50]
call fcn.1401ff260
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r9d, [rsi + 9]
lea r8, [0x14034ee78]
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
lea edx, [rsi + 9]
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea rax, [rbp - 0x40]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140107bc3
mov qword [rsp + 0x38], rsi
test ebx, ebx
jne 0x140107be4
lea rax, [0x140348ca0]
mov qword [rsp + 0x30], rax
jmp 0x140107c0a
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x38], 0
jle 0x140107c3e
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x58], 0
jle 0x140107c4f
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140201da0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140107c85
test al, 0x10
je 0x140107c85
cmp dword [rsp + 0x48], 0
jle 0x140107ca6
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
jmp 0x140107ca6
cmp dword [rsp + 0x48], 0
jle 0x140107c96
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
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.140201da0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140107fd4
test al, 0x10
je 0x140107fd4
cmp dword [rsp + 0x48], 0
jle 0x140107ce2
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
mov qword [rbp - 0x70], rsi
mov edx, 0xd
lea rcx, [rbp - 0x78]
call fcn.1401ff260
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.1402bd21c
mov edx, 0xd
lea rcx, [rbp - 0x78]
call fcn.140200570
nop
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x58]
call fcn.1400d2bd0
nop
cmp dword [rbp - 0x70], 0
jle 0x140107d43
mov rcx, qword [rbp - 0x78]
call fcn.1402b9c20
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x1403029b0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140302a00]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140107e60
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.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0x12
lea r8, str.ProductDescription
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, 0x12
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.1400f57b0
nop
cmp dword [rsp + 0x38], 0
jle 0x140107dfc
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
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, [0x140302a20]
call qword [rax]
test eax, eax
js 0x140107e45
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 0x140107e60
mov rcx, qword [rbp - 0x68]
call fcn.1402b9c20
mov qword [rsp + 0x38], rsi
mov edx, 0x14
lea rcx, [rsp + 0x30]
call fcn.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0x14
lea r8, str.UninstallDescription
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, 0x14
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.1400f57b0
nop
cmp dword [rsp + 0x38], 0
jle 0x140107ec4
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.1400d2bd0
nop
lea rdx, str..lnk
lea rcx, [rsp + 0x40]
call fcn.1401fd8b0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x1403029b0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140302a00]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140107fa6
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, [0x140351140]
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, [0x140302a20]
call qword [rax]
test eax, eax
js 0x140107f9a
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 0x140107fb8
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x60], 0
jle 0x140107fc8
mov rcx, qword [rbp - 0x68]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x50], 0
jle 0x140107fe6
mov rcx, qword [rbp - 0x58]
jmp 0x140107fe0
cmp dword [rsp + 0x48], 0
jle 0x140107fe6
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x80], 0
jle 0x140107ffa
mov rcx, qword [rsp + 0x78]
call fcn.1402b9c20
jmp 0x140107ffa
xor esi, esi
test r12b, r12b
je 0x14010822d
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 0x14010822d
mov qword [rbp - 0x70], 0
lea edx, [rax + 0xd]
lea rcx, [rbp - 0x78]
call fcn.1401ff260
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.1402bd21c
mov edx, 0xd
lea rcx, [rbp - 0x78]
call fcn.140200570
nop
lea rax, [rbp - 0x40]
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140108070
mov qword [rsp + 0x58], 0
test edi, edi
jne 0x140108095
lea rax, [0x140348ca0]
mov qword [rsp + 0x50], rax
jmp 0x1401080bb
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1401ff260
movsxd r9, edi
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x40]
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x58], 0
jle 0x1401080ed
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x70], 0
jle 0x1401080fc
mov rcx, qword [rbp - 0x78]
call fcn.1402b9c20
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x1403029b0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140302a00]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14010821e
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.1401ff260
mov eax, dword [rsp + 0x48]
inc eax
movsxd rdx, eax
mov r9d, 0x12
lea r8, str.ProductDescription
mov rcx, qword [rsp + 0x40]
call fcn.1402bd21c
mov edx, 0x12
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x58]
call fcn.1400f57b0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401081b9
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
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, [0x140302a20]
call qword [rax]
test eax, eax
js 0x140108202
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 0x14010821e
mov rcx, qword [rbp - 0x58]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x60], 0
jle 0x14010822d
mov rcx, qword [rbp - 0x68]
call fcn.1402b9c20
test r15b, r15b
je 0x140108238
call qword [sym.imp.ole32.dll_CoUninitialize]
lea rdi, vtable.Core::Win32::RegistryKey.0
test r13b, r13b
je 0x14010836a
mov eax, dword [0x14042c9e0]
test al, 1
jne 0x140108279
or eax, 1
mov dword [0x14042c9e0], eax
mov qword [0x14042c9e8], rdi
mov qword [0x14042c9f0], 0xffffffff80000002
lea rcx, [0x1403017d0]
call fcn.1402bb344
lea rdx, [0x14034ee50]
lea rcx, [0x14042c9e8]
call fcn.1400eb8d0
mov rbx, rax
test rax, rax
je 0x140108363
lea rax, [0x140348ca0]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], 0
lea r8, [rsp + 0x78]
lea rdx, [0x140351198]
mov rcx, rbx
call fcn.1400d8b50
test al, al
jne 0x140108353
mov dword [rsp + 0x28], 0xa
lea rax, [0x140351188]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140351198]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x28], 0xe
lea rax, [0x1403511e0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1403511c0]
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 0x140108363
mov rcx, qword [rsp + 0x78]
call fcn.1402b9c20
mov cl, 1
call fcn.1401179c0
call fcn.1400ec280
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 0x1401083c6
lea ecx, [rax + 0x10]
call fcn.1402b968c
mov rcx, rax
test rax, rax
je 0x1401083c6
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.1401183b0
call fcn.14010b700
call fcn.14010bde0
jmp 0x1401083ff
cmp dword [rbp - 0x80], 0
jle 0x1401083e2
mov rcx, qword [rsp + 0x78]
call fcn.1402b9c20
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.1402bbf64
nop
cmp dword [rsp + 0x70], 0
jle 0x140108410
mov rcx, qword [rsp + 0x68]
call fcn.1402b9c20
movzx eax, r14b
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1402b9610
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