Function at 0x14001f000
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 [0x14026fdb0]
xor rax, rsp
mov qword [rbp + 0xa40], rax
xor r8d, r8d
lea rdx, str.Tool_CopyAndBootUninstallTemp
lea rcx, [rsp + 0x60]
call fcn.140001190
nop
call fcn.140059f20
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.14019d7c0
mov word [rbp], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 2]
call fcn.14019d7c0
lea r8, [rbp + 0x420]
lea rdx, [0x14021f548]
mov rcx, r15
call fcn.14003dc50
lea rdx, [rbp]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14001f47f
call fcn.140056384
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x14001f0df
mov ecx, 0x80004005
call fcn.140004550
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea r14, [0x1402209ac]
test r14, 0xffffffffffff0000
jne 0x14001f123
movzx edi, r14w
mov ecx, edi
call fcn.140056158
test rax, rax
je 0x14001f134
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140005730
jmp 0x14001f134
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.1400059f0
nop
call fcn.140056384
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x14001f154
mov ecx, 0x80004005
call fcn.140004550
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 0x14001f1a2
movzx edi, cx
mov ecx, edi
call fcn.140056158
test rax, rax
je 0x14001f29f
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140005730
jmp 0x14001f29f
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 0x14001f21b
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14001f29f
cmp dword [rdx + 0x10], eax
jge 0x14001f1ed
cmp dword [rbx - 0xc], eax
jge 0x14001f1e0
mov ecx, 0x80070057
call fcn.140004550
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x14001f29f
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001f204
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 0x14001f29f
mov r14d, dword [rbx - 0x10]
lea rsi, [rbp]
sub rsi, rbx
sar rsi, 1
test ecx, ecx
jns 0x14001f238
mov ecx, 0x80070057
call fcn.140004550
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14001f25a
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140005ae0
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 0x14001f27e
lea r8, [rbx + rsi*2]
call fcn.140199418
jmp 0x14001f287
lea r8, [rbp]
call fcn.140199918
cmp edi, dword [rbx - 0xc]
jg 0x14001f474
mov dword [rbx - 0x10], edi
mov word [r14 + rbx], r12w
lea r14, [0x1402209ac]
mov r8d, 7
lea rdx, str.Cn_02d_
lea rcx, [rsp + 0x50]
call fcn.14000bed0
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, [0x14021f548]
lea rcx, [rsp + 0x50]
call fcn.14000bed0
mov esi, 1
mov rbx, qword [rsp + 0x50]
nop word [rax + rax]
mov r8d, esi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.14000bfe0
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001f30e
inc esi
cmp esi, 0x64
jb 0x14001f2e0
jmp 0x14001f436
mov r8d, 1
mov rdx, rdi
lea rcx, [rbp + 0x420]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14001f436
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.14019d7c0
mov word [rbp + 0x630], r12w
xor edx, edx
mov r8d, 0x40e
lea rcx, [rbp + 0x632]
call fcn.14019d7c0
lea r8, [rbp + 0x210]
mov rdx, r14
mov rcx, r15
call fcn.14003dc50
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x70]
call fcn.14019d7c0
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.140198b60
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 0x14001f436
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 0x14001f452
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 0x14001f47f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14001f47f
mov ecx, 0x80070057
call fcn.140004550
nop
mov r9d, r12d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.140001370
nop
lea rcx, [rsp + 0x60]
call fcn.140001320
mov eax, r12d
mov rcx, qword [rbp + 0xa40]
xor rcx, rsp
call fcn.140198b40
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