Function at 0x140001bd0
Capabilities:
Copy file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
lea rcx, [rsp + 0x38]
call fcn.140116cd0
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rax, r12
neg rax
jo 0x140001c37
mov rdi, qword [rsp + 0x48]
lea rcx, [0x14014965a]
mov edx, 0x19
call fcn.140118060
mov r14, rax
test rax, rax
je 0x140001c4e
test r12, r12
je 0x140001c34
call sub.kernel32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
mov rsi, r14
mov rax, rsi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
mov rdx, rdi
call fcn.14011a720
test rax, rax
je 0x140001d7c
mov rbx, rax
mov r14, rdx
movzx eax, byte [0x1401aa178]
mov edx, 0x19
xor ecx, ecx
call fcn.14011ab20
test rax, rax
je 0x140001f35
movups xmm0, xmmword [0x140149663]
movups xmmword [rax + 9], xmm0
movups xmm0, xmmword [0x14014965a]
movups xmmword [rax], xmm0
mov qword [rsp + 0x38], 0x19
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x19
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x38]
mov rdx, rbx
mov r8, r14
call fcn.1401171f0
movabs rbp, 0x8000000000000000
movups xmm0, xmmword [rsp + 0x38]
movups xmm1, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov rbx, qword [rsp + 0x88]
mov r15, qword [rsp + 0x90]
lea rcx, [rsp + 0x68]
mov rdx, rsi
mov r8, rdi
call fcn.14010dea0
mov rax, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
cmp rax, rbp
je 0x140001d53
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x38]
call fcn.14010e1c0
mov r13, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
cmp r13, rbp
jne 0x140001d89
mov r14, rdi
cmp qword [rsp + 0x80], 0
je 0x140001c1d
call sub.kernel32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rbx
call sub.kernel32.dll_HeapFree
jmp 0x140001c1d
call fcn.14013f0e0
mov r14, rax
jmp 0x140001c1d
lea r14, [rsp + 0x68]
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.14010dea0
mov rax, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
cmp rax, rbp
je 0x140001de6
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x38]
call fcn.14010e1c0
mov rax, qword [rsp + 0xa0]
mov r15, qword [rsp + 0xa8]
cmp rax, rbp
jne 0x140001e09
mov r14, r15
test r13, r13
je 0x140001d56
call sub.kernel32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
jmp 0x140001d56
mov rbp, rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x14011b290]
lea r9, [rsp + 0x38]
mov rcx, rdi
mov rdx, r15
call sub.kernel32.dll_CopyFileExW
test eax, eax
je 0x140001f05
test rbp, rbp
je 0x140001e5c
call sub.kernel32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, r15
call sub.kernel32.dll_HeapFree
test r13, r13
je 0x140001e73
call sub.kernel32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
lea rax, [rsp + 0x80]
mov qword [rsp + 0x68], rax
lea rax, [0x140116610]
mov qword [rsp + 0x70], rax
lea rax, [0x1401496a8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 2
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 1
lea rcx, [rsp + 0x38]
call fcn.1401197f0
cmp qword [rsp + 0x80], 0
je 0x140001ee7
mov rdi, qword [rsp + 0x88]
call sub.kernel32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
test r12, r12
je 0x140001efe
call sub.kernel32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
xor esi, esi
jmp 0x140001c37
call sub.kernel32.dll_GetLastError
mov r14d, eax
shl r14, 0x20
or r14, 2
test rbp, rbp
je 0x140001de9
call sub.kernel32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, r15
call sub.kernel32.dll_HeapFree
jmp 0x140001de9
mov ecx, 1
mov edx, 0x19
call fcn.140006e69
mov rsi, rax
test r13, r13
jne 0x140001f5e
jmp 0x140001f70
call sub.kernel32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
mov rcx, rsi
call fcn.14013faa0
int3