Function at 0x140015280
Capabilities:
Check if file exists
Copy file
Create process on windows
Create process suspended
Get common file path
Move file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xa78]
sub rsp, 0xb50
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140260d50]
xor rax, rsp
mov qword [rbp + 0xa40], rax
xor r8d, r8d
lea rdx, str.Tool_CopyAndBootUninstallTemp
lea rcx, [rsp + 0x60]
call fcn.14000b870
nop
call fcn.140050920
mov r15, qword [rax + 8]
xor r12d, r12d
mov word [rbp + 0x420], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x422]
call fcn.140193010
mov word [rbp], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 2]
call fcn.140193010
lea r8, [rbp + 0x420]
lea rdx, [0x140213298]
mov rcx, r15
call fcn.140034fe0
lea rdx, [rbp]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1400156ff
call fcn.14004cde4
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x14001535f
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea r14, [0x1402145dc]
test r14, 0xffffffffffff0000
jne 0x1400153a3
movzx edi, r14w
mov ecx, edi
call fcn.14004cbb8
test rax, rax
je 0x1400153b4
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400012a0
jmp 0x1400153b4
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.1400014d0
nop
call fcn.14004cde4
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400153d4
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
lea rcx, [rbp]
lea rax, [rbp]
or r13, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x140015422
movzx edi, cx
mov ecx, edi
call fcn.14004cbb8
test rax, rax
je 0x14001551f
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400012a0
jmp 0x14001551f
xor eax, eax
mov rcx, r13
lea rdi, [rbp]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14001549b
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14001551f
cmp dword [rdx + 0x10], eax
jge 0x14001546d
cmp dword [rbx - 0xc], eax
jge 0x140015460
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x14001551f
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140015484
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
jmp 0x14001551f
mov r14d, dword [rbx - 0x10]
lea rsi, [rbp]
sub rsi, rbx
sar rsi, 1
test ecx, ecx
jns 0x1400154b8
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400154da
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1400015c0
mov rbx, qword [rsp + 0x50]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp rsi, r14
lea r14, [rax + rax]
mov r9, r14
ja 0x1400154fe
lea r8, [rbx + rsi*2]
call fcn.14018e5f0
jmp 0x140015507
lea r8, [rbp]
call fcn.14018e7d0
cmp edi, dword [rbx - 0xc]
jg 0x1400156f4
mov dword [rbx - 0x10], edi
mov word [r14 + rbx], r12w
lea r14, [0x1402145dc]
mov r8d, 7
lea rdx, str.Cn_02d_
lea rcx, [rsp + 0x50]
call fcn.140006350
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, [0x140213298]
lea rcx, [rsp + 0x50]
call fcn.140006350
mov esi, 1
mov rbx, qword [rsp + 0x50]
nop word [rax + rax]
mov r8d, esi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140006620
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001558e
inc esi
cmp esi, 0x64
jb 0x140015560
jmp 0x1400156b6
mov r8d, 1
mov rdx, rdi
lea rcx, [rbp + 0x420]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400156b6
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov word [rbp + 0x210], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x212]
call fcn.140193010
mov word [rbp + 0x630], r12w
xor edx, edx
mov r8d, 0x40e
lea rcx, [rbp + 0x632]
call fcn.140193010
lea r8, [rbp + 0x210]
mov rdx, r14
mov rcx, r15
call fcn.140034fe0
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x70]
call fcn.140193010
mov dword [rbp - 0x70], 0x68
mov eax, 5
mov word [rbp - 0x30], ax
mov dword [rbp - 0x34], 1
mov rax, qword [r15 + 0x90]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, str.__s___s
mov edx, 0x208
lea rcx, [rbp + 0x630]
call fcn.140191178
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x48], rdx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x210]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x630]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400156b6
mov r12d, 1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400156d2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r13d
dec r13d
test r13d, r13d
jg 0x1400156ff
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400156ff
mov ecx, 0x80070057
call fcn.140001000
nop
mov r9d, r12d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.14000ba50
nop
lea rcx, [rsp + 0x60]
call fcn.14000ba00
mov eax, r12d
mov rcx, qword [rbp + 0xa40]
xor rcx, rsp
call fcn.14018e5d0
lea r11, [rsp + 0xb50]
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