Function at 0x140001950
Capabilities:
Copy file

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x48], 0xfffffffffffffffe
lea rcx, [rbp + 0x10]
call fcn.1400e27a0
mov r12, qword [rbp + 0x10]
mov rsi, qword [rbp + 0x18]
mov rax, r12
neg rax
jo 0x1400019c1
mov rbx, qword [rbp + 0x20]
lea rcx, [0x14012ecf8]
mov edx, 0x19
call fcn.1400e40f0
mov rdi, rax
test rax, rax
je 0x1400019d6
test r12, r12
je 0x1400019be
mov rcx, qword [0x14019f258]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rsi, rdi
mov rax, rsi
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
mov rcx, rsi
mov rdx, rbx
call fcn.1400e7860
test rax, rax
je 0x140001b47
mov rdi, rax
mov r14, rdx
movzx eax, byte [0x14019f308]
mov edx, 0x19
xor ecx, ecx
call fcn.1400e7f40
test rax, rax
je 0x140001c75
movups xmm0, xmmword [0x14012ed01]
movups xmmword [rax + 9], xmm0
movups xmm0, xmmword [0x14012ecf8]
movups xmmword [rax], xmm0
mov qword [rbp + 0x10], 0x19
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], 0x19
mov byte [rbp + 0x28], 0
lea rcx, [rbp + 0x10]
mov rdx, rdi
mov r8, r14
call fcn.1400e3300
movups xmm0, xmmword [rbp + 0x10]
movups xmm1, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x30], xmm0
mov r14, qword [rbp - 0x28]
mov r15, qword [rbp - 0x20]
lea rcx, [rbp - 0x10]
mov rdx, rsi
mov r8, rbx
call fcn.1400e1510
mov rax, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov rcx, rax
neg rcx
jo 0x140001b24
mov rcx, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rcx
lea rcx, [rbp - 0x48]
lea rdx, [rbp + 0x10]
call fcn.1400e2ce0
mov rcx, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x40]
mov rax, rcx
neg rax
jo 0x140001b24
mov qword [rbp + 8], rcx
mov qword [rbp + 0x40], rdi
lea rdi, [rbp - 0x10]
mov rcx, rdi
mov rdx, r14
mov r8, r15
call fcn.1400e1510
mov rax, qword [rbp - 0x10]
mov rbx, qword [rbp - 8]
mov rcx, rax
neg rcx
jo 0x140001b07
mov rcx, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], rcx
lea rcx, [rbp - 0x48]
lea rdx, [rbp + 0x10]
call fcn.1400e2ce0
mov r14, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x40]
mov rax, r14
neg rax
jno 0x140001b54
mov r8, qword [rbp + 0x40]
mov rdi, rbx
cmp qword [rbp + 8], 0
je 0x140001b24
mov rcx, qword [0x14019f258]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp - 0x30], 0
je 0x1400019a7
mov r8, qword [rbp - 0x28]
mov rcx, qword [0x14019f258]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1400019a7
call fcn.14010f570
mov rdi, rax
jmp 0x1400019a7
mov qword [rbp + 0x10], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x1400ebb40]
lea r9, [rbp + 0x10]
mov rcx, qword [rbp + 0x40]
mov r15, rcx
mov rdx, rbx
call qword [sym.imp.kernel32.dll_CopyFileExW]
test eax, eax
je 0x140001c3b
test r14, r14
je 0x140001ba7
mov rcx, qword [0x14019f258]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp + 8], 0
je 0x140001bc0
mov rcx, qword [0x14019f258]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
lea rax, [rbp - 0x30]
mov qword [rbp - 0x10], rax
lea rax, [0x1400e20e0]
mov qword [rbp - 8], rax
lea rax, [0x14012ed48]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 2
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], 1
lea rcx, [rbp + 0x10]
call fcn.1400e69a0
cmp qword [rbp - 0x30], 0
je 0x140001c1d
mov r8, qword [rbp - 0x28]
mov rcx, qword [0x14019f258]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
test r12, r12
je 0x140001c34
mov rcx, qword [0x14019f258]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
xor esi, esi
jmp 0x1400019c1
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
test r14, r14
je 0x140001c62
mov rcx, qword [0x14019f258]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov r8, r15
cmp qword [rbp + 8], 0
jne 0x140001b15
jmp 0x140001b24
mov ecx, 1
mov edx, 0x19
call fcn.1401216a0
int3