Function at 0x1400157a0
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 [0x14027bbd0]
xor rax, rsp
mov qword [rbp + 0xa40], rax
xor r8d, r8d
lea rdx, str.Tool_CopyAndBootUninstallTemp
lea rcx, [rsp + 0x60]
call fcn.140017fc0
nop
call fcn.140054cb8
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.140192cb0
mov word [rbp], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 2]
call fcn.140192cb0
mov r9d, 0x104
lea r8, [rbp + 0x420]
lea rdx, [0x1401cb4c8]
mov rcx, r15
call fcn.140031ac0
lea rdx, [rbp]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140015c25
call fcn.140051e58
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x140015885
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea r14, [0x1401c6ea8]
test r14, 0xffffffffffff0000
jne 0x1400158c9
movzx edi, r14w
mov ecx, edi
call fcn.140051c2c
test rax, rax
je 0x1400158da
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140001b00
jmp 0x1400158da
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140001c20
nop
call fcn.140051e58
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400158fa
mov ecx, 0x80004005
call fcn.140001010
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 0x140015948
movzx edi, cx
mov ecx, edi
call fcn.140051c2c
test rax, rax
je 0x140015a45
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001b00
jmp 0x140015a45
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 0x1400159c1
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140015a45
cmp dword [rdx + 0x10], eax
jge 0x140015993
cmp dword [rbx - 0xc], eax
jge 0x140015986
mov ecx, 0x80070057
call fcn.140001010
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x140015a45
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400159aa
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 0x140015a45
mov r14d, dword [rbx - 0x10]
lea rsi, [rbp]
sub rsi, rbx
sar rsi, 1
test ecx, ecx
jns 0x1400159de
mov ecx, 0x80070057
call fcn.140001010
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140015a00
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1400018f0
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 0x140015a24
lea r8, [rbx + rsi*2]
call fcn.140192c44
jmp 0x140015a2d
lea r8, [rbp]
call fcn.140192bbc
cmp edi, dword [rbx - 0xc]
jg 0x140015c1a
mov dword [rbx - 0x10], edi
mov word [r14 + rbx], r12w
lea r14, [0x1401c6ea8]
mov r8d, 7
lea rdx, str.Cn_02d_
lea rcx, [rsp + 0x50]
call fcn.140006c60
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, [0x1401cb4c8]
lea rcx, [rsp + 0x50]
call fcn.140006c60
mov esi, 1
mov rbx, qword [rsp + 0x50]
nop dword [rax]
mov r8d, esi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140007540
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140015aae
inc esi
cmp esi, 0x64
jb 0x140015a80
jmp 0x140015bdc
mov r8d, 1
mov rdx, rdi
lea rcx, [rbp + 0x420]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140015bdc
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.140192cb0
mov word [rbp + 0x630], r12w
xor edx, edx
mov r8d, 0x40e
lea rcx, [rbp + 0x632]
call fcn.140192cb0
mov r9d, 0x104
lea r8, [rbp + 0x210]
mov rdx, r14
mov rcx, r15
call fcn.140031ac0
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x70]
call fcn.140192cb0
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.140196100
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 0x140015bdc
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 0x140015bf8
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 0x140015c25
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140015c25
mov ecx, 0x80070057
call fcn.140001010
nop
mov r9d, r12d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.140017c80
nop
lea rcx, [rsp + 0x60]
call fcn.140018150
mov eax, r12d
mov rcx, qword [rbp + 0xa40]
xor rcx, rsp
call fcn.1401945b0
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