Function at 0x1400016d0
Capabilities:
Copy file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x50], 0xfffffffffffffffe
lea rcx, [rbp + 0x18]
call fcn.1400e9ea0
mov r12, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x20]
movabs r13, 0x8000000000000000
cmp r12, r13
je 0x140001749
mov rbx, qword [rbp + 0x28]
lea rcx, str.C:UsersPublicLibrariesFailed_to_extract_file_nameCopied_executable_to:
mov edx, 0x19
call fcn.1400eb6a0
mov rdi, rax
test rax, rax
je 0x140001760
test r12, r12
je 0x140001746
mov rcx, qword [0x140194260]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
mov rsi, rdi
mov rax, rsi
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rsi
mov rdx, rbx
call fcn.1400ee690
test rax, rax
je 0x1400018c3
mov rdi, rax
mov r14, rdx
movzx eax, byte [0x140194310]
mov edx, 0x19
xor ecx, ecx
call fcn.1400eed30
test rax, rax
je 0x1400019e0
movups xmm0, xmmword [0x140123e31]
movups xmmword [rax + 9], xmm0
movups xmm0, xmmword [str.C:UsersPublicLibrariesFailed_to_extract_file_nameCopied_executable_to:]
movups xmmword [rax], xmm0
mov qword [rbp + 0x18], 0x19
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 0x19
mov byte [rbp + 0x30], 0
lea rcx, [rbp + 0x18]
mov rdx, rdi
mov r8, r14
call fcn.1400ea9b0
movups xmm0, xmmword [rbp + 0x18]
movups xmm1, xmmword [rbp + 0x28]
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x30], xmm0
mov r14, qword [rbp - 0x28]
mov r15, qword [rbp - 0x20]
lea rcx, [rbp - 8]
mov rdx, rsi
mov r8, rbx
call fcn.1400e8a40
mov rax, qword [rbp - 8]
mov rdi, qword [rbp]
cmp rax, r13
je 0x1400018a1
mov rcx, qword [rbp + 8]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], rcx
lea rcx, [rbp - 0x48]
lea rdx, [rbp + 0x18]
call fcn.1400ea3a0
mov rax, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x40]
cmp rax, r13
je 0x1400018a1
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x48], rdi
lea rdi, [rbp - 8]
mov rcx, rdi
mov rdx, r14
mov r8, r15
call fcn.1400e8a40
mov rax, qword [rbp - 8]
mov rbx, qword [rbp]
cmp rax, r13
je 0x140001885
mov rcx, qword [rbp + 8]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rcx
lea rcx, [rbp - 0x48]
lea rdx, [rbp + 0x18]
call fcn.1400ea3a0
mov r14, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x40]
cmp r14, r13
jne 0x1400018d0
mov rdi, rbx
cmp qword [rbp + 0x10], 0
mov r8, qword [rbp + 0x48]
je 0x1400018a1
mov rcx, qword [0x140194260]
xor edx, edx
call sub.kernel32.dll_HeapFree
cmp qword [rbp - 0x30], 0
je 0x140001730
mov r8, qword [rbp - 0x28]
mov rcx, qword [0x140194260]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x140001730
call fcn.1400457f0
mov rdi, rax
jmp 0x140001730
mov qword [rbp + 0x18], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x1400f2b10]
lea r9, [rbp + 0x18]
mov rcx, qword [rbp + 0x48]
mov rdx, rbx
call qword [sym.imp.kernel32.dll_CopyFileExW]
test eax, eax
je 0x1400019b1
test r14, r14
je 0x14000191f
mov rcx, qword [0x140194260]
xor edx, edx
mov r8, rbx
call sub.kernel32.dll_HeapFree
cmp qword [rbp + 0x10], 0
je 0x140001938
mov rcx, qword [0x140194260]
xor edx, edx
mov r8, qword [rbp + 0x48]
call sub.kernel32.dll_HeapFree
lea rax, [rbp - 0x30]
mov qword [rbp - 8], rax
lea rax, [0x1400e9600]
mov qword [rbp], rax
lea rax, [0x140123e78]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], 2
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x30], 1
lea rcx, [rbp + 0x18]
call fcn.1400ed810
cmp qword [rbp - 0x30], 0
je 0x140001994
mov r8, qword [rbp - 0x28]
mov rcx, qword [0x140194260]
xor edx, edx
call sub.kernel32.dll_HeapFree
test r12, r12
je 0x1400019aa
mov rcx, qword [0x140194260]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
xor esi, esi
jmp 0x140001749
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
test r14, r14
je 0x140001888
mov rcx, qword [0x140194260]
xor edx, edx
mov r8, rbx
call sub.kernel32.dll_HeapFree
jmp 0x140001888
mov ecx, 1
mov edx, 0x19
call fcn.1401178b0
int3