Function at 0x140102470
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.1400e4bb0
mov r12, qword [rbp + 0x10]
mov rsi, qword [rbp + 0x18]
mov rax, r12
neg rax
jo 0x1401024e1
mov rbx, qword [rbp + 0x20]
lea rcx, [0x14018ecae]
mov edx, 0x19
call fcn.1400e6500
mov rdi, rax
test rax, rax
je 0x1401024f6
test r12, r12
je 0x1401024de
mov rcx, qword [0x1401a2270]
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.1400e9c70
test rax, rax
je 0x140102667
mov rdi, rax
mov r14, rdx
movzx eax, byte [0x1401a2308]
mov edx, 0x19
xor ecx, ecx
call fcn.1400ea350
test rax, rax
je 0x140102795
movups xmm0, xmmword [0x14018ecb7]
movups xmmword [rax + 9], xmm0
movups xmm0, xmmword [0x14018ecae]
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.1400e5710
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.1400e3920
mov rax, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov rcx, rax
neg rcx
jo 0x140102644
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.1400e50f0
mov rcx, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x40]
mov rax, rcx
neg rax
jo 0x140102644
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.1400e3920
mov rax, qword [rbp - 0x10]
mov rbx, qword [rbp - 8]
mov rcx, rax
neg rcx
jo 0x140102627
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.1400e50f0
mov r14, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x40]
mov rax, r14
neg rax
jno 0x140102674
mov r8, qword [rbp + 0x40]
mov rdi, rbx
cmp qword [rbp + 8], 0
je 0x140102644
mov rcx, qword [0x1401a2270]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp - 0x30], 0
je 0x1401024c7
mov r8, qword [rbp - 0x28]
mov rcx, qword [0x1401a2270]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1401024c7
call fcn.140108160
mov rdi, rax
jmp 0x1401024c7
mov qword [rbp + 0x10], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x1400edf70]
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 0x14010275b
test r14, r14
je 0x1401026c7
mov rcx, qword [0x1401a2270]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rbp + 8], 0
je 0x1401026e0
mov rcx, qword [0x1401a2270]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
lea rax, [rbp - 0x30]
mov qword [rbp - 0x10], rax
lea rax, [0x1400e44f0]
mov qword [rbp - 8], rax
lea rax, [0x14018ecf8]
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.1400e8db0
cmp qword [rbp - 0x30], 0
je 0x14010273d
mov r8, qword [rbp - 0x28]
mov rcx, qword [0x1401a2270]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
test r12, r12
je 0x140102754
mov rcx, qword [0x1401a2270]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
xor esi, esi
jmp 0x1401024e1
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
test r14, r14
je 0x140102782
mov rcx, qword [0x1401a2270]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov r8, r15
cmp qword [rbp + 8], 0
jne 0x140102635
jmp 0x140102644
mov ecx, 1
mov edx, 0x19
call fcn.140125f00
int3