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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb50
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400e71f0]
xor rax, rsp
mov qword [rsp + 0xb40], rax
call fcn.140069504
mov rdi, qword [rax + 8]
mov qword [rsp + 0x60], rdi
xor r13d, r13d
mov word [rsp + 0x520], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x522]
call fcn.140080d50
mov word [rsp + 0x100], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x102]
call fcn.140080d50
mov r9d, 0x104
lea r8, [rsp + 0x520]
mov rdx, qword [0x1400e92f8]
mov rcx, rdi
call fcn.140041aa0
lea rdx, [rsp + 0x100]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14001fcef
call fcn.1400696cc
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14001f822
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 rdx, [0x1400a4510]
or rbp, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x14001f869
movzx edi, dx
mov ecx, edi
call fcn.1400696b8
test rax, rax
je 0x14001f886
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140003a40
jmp 0x14001f886
xor eax, eax
mov rcx, rbp
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140003c40
nop
call fcn.1400696cc
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14001f8a6
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, [rsp + 0x100]
lea rax, [rsp + 0x100]
test rax, 0xffffffffffff0000
jne 0x14001f8fd
movzx edi, cx
mov ecx, edi
call fcn.1400696b8
test rax, rax
je 0x14001fa04
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140003a40
mov rbx, qword [rsp + 0x50]
jmp 0x14001fa04
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x100]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14001f97a
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14001fa04
cmp dword [rdx + 0x10], eax
jge 0x14001f94c
cmp dword [rbx - 0xc], eax
jge 0x14001f940
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], ax
jmp 0x14001fa04
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001f963
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]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
jmp 0x14001fa04
mov esi, dword [rbx - 0x10]
lea r12, [rsp + 0x100]
sub r12, rbx
sar r12, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14001f9ad
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140003180
mov rbx, qword [rsp + 0x50]
cmp r12, rsi
ja 0x14001f9cd
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + r12*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.140081c40
jmp 0x14001f9ea
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x100]
mov rdx, rsi
mov rcx, rbx
call fcn.140080540
test edi, edi
js 0x14001fce4
cmp edi, dword [rbx - 0xc]
jg 0x14001fce4
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
xor eax, eax
mov rcx, rbp
lea r12, str.Cn_02d_
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r15, [rcx - 1]
mov rsi, r12
sub rsi, rbx
sar rsi, 1
mov r14d, dword [rbx - 0x10]
lea edi, [r14 + rcx - 1]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x14001fa51
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140003180
mov rbx, qword [rsp + 0x50]
cmp rsi, r14
ja 0x14001fa5a
lea r12, [rbx + rsi*2]
movsxd rdx, r15d
add rdx, rdx
lea rcx, [rbx + r14*2]
mov r9, rdx
mov r8, r12
call fcn.140080540
test edi, edi
js 0x14001fcd9
cmp edi, dword [rbx - 0xc]
jg 0x14001fcd9
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
mov r12, qword [0x1400e92f8]
movsxd r15, dword [r12 - 0x10]
mov rsi, r12
sub rsi, rbx
sar rsi, 1
mov r14d, dword [rbx - 0x10]
lea edi, [r14 + r15]
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14001facb
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140003180
mov rbx, qword [rsp + 0x50]
cmp rsi, r14
ja 0x14001fad4
lea r12, [rbx + rsi*2]
mov rdx, r15
add rdx, rdx
lea rcx, [rbx + r14*2]
mov r9, rdx
mov r8, r12
call fcn.140080540
test edi, edi
js 0x14001fcce
cmp edi, dword [rbx - 0xc]
jg 0x14001fcce
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
mov esi, 1
nop
nop
mov r8d, esi
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1400040b0
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001fb3f
add esi, 1
cmp esi, 0x64
jb 0x14001fb10
jmp 0x14001fc92
mov r8d, 1
mov rdx, rdi
lea rcx, [rsp + 0x520]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14001fc92
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov word [rsp + 0x310], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x312]
call fcn.140080d50
mov word [rsp + 0x730], 0
xor edx, edx
mov r8d, 0x40e
lea rcx, [rsp + 0x732]
call fcn.140080d50
mov r9d, 0x104
lea r8, [rsp + 0x310]
lea rdx, [0x1400a4510]
mov rsi, qword [rsp + 0x60]
mov rcx, rsi
call fcn.140041aa0
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x90]
call fcn.140080d50
mov dword [rsp + 0x90], 0x68
mov word [rsp + 0xd0], 5
mov dword [rsp + 0xcc], 1
mov rax, qword [rsi + 0x90]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, str.__s___s
mov edx, 0x208
lea rcx, [rsp + 0x730]
call fcn.140083fa0
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x310]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x730]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14001fc92
mov r13d, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001fcae
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], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x14001fcef
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14001fcef
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
mov ecx, 0x80070057
call fcn.140001000
nop
mov eax, r13d
mov rcx, qword [rsp + 0xb40]
xor rcx, rsp
call fcn.140081050
lea r11, [rsp + 0xb50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret