Function at 0x1400017c0
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.1400ee150
mov r12, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x20]
movabs r13, 0x8000000000000000
cmp r12, r13
je 0x14000183a
mov rbx, qword [rbp + 0x28]
lea rcx, [0x140128d40]
mov edx, 0x19
call fcn.1400efa00
mov rdi, rax
test rax, rax
je 0x140001851
test r12, r12
je 0x140001837
mov rcx, qword [0x140198260]
xor edx, edx
mov r8, rsi
call qword [sym.imp.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.1400f2a40
test rax, rax
je 0x1400019b6
mov rdi, rax
mov r14, rdx
movzx eax, byte [0x140198310]
mov edx, 0x19
xor ecx, ecx
call fcn.1400f3050
test rax, rax
je 0x140001ad8
movups xmm0, xmmword [0x140128d49]
movups xmmword [rax + 9], xmm0
movups xmm0, xmmword [0x140128d40]
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.1400eec40
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.1400ed030
mov rax, qword [rbp - 8]
mov rdi, qword [rbp]
cmp rax, r13
je 0x140001993
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.1400ee640
mov rax, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x40]
cmp rax, r13
je 0x140001993
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.1400ed030
mov rax, qword [rbp - 8]
mov rbx, qword [rbp]
cmp rax, r13
je 0x140001976
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.1400ee640
mov r14, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x40]
cmp r14, r13
jne 0x1400019c3
mov rdi, rbx
cmp qword [rbp + 0x10], 0
mov r8, qword [rbp + 0x48]
je 0x140001993
mov rcx, qword [0x140198260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp - 0x30], 0
je 0x140001820
mov r8, qword [rbp - 0x28]
mov rcx, qword [0x140198260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140001820
call fcn.140049590
mov rdi, rax
jmp 0x140001820
mov qword [rbp + 0x18], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x1400f69a0]
lea r9, [rbp + 0x18]
mov rcx, qword [rbp + 0x48]
mov rdx, rbx
call qword [sym.imp.kernel32.dll_CopyFileExW]
test eax, eax
je 0x140001aa8
test r14, r14
je 0x140001a13
mov rcx, qword [0x140198260]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp + 0x10], 0
je 0x140001a2d
mov rcx, qword [0x140198260]
xor edx, edx
mov r8, qword [rbp + 0x48]
call qword [sym.imp.kernel32.dll_HeapFree]
lea rax, [rbp - 0x30]
mov qword [rbp - 8], rax
lea rax, [0x1400edbf0]
mov qword [rbp], rax
lea rax, [0x140128d90]
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.1400f1b40
cmp qword [rbp - 0x30], 0
je 0x140001a8a
mov r8, qword [rbp - 0x28]
mov rcx, qword [0x140198260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
test r12, r12
je 0x140001aa1
mov rcx, qword [0x140198260]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
xor esi, esi
jmp 0x14000183a
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
test r14, r14
je 0x140001979
mov rcx, qword [0x140198260]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140001979
mov ecx, 1
mov edx, 0x19
call fcn.14011b260
int3