Function at 0x1400294f0
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x140029551
cmp word [rcx], 0
je 0x140029551
test rdx, rdx
je 0x140029551
cmp word [rdx], 0
je 0x140029551
call fcn.140041fbc
mov rcx, rdi
test eax, eax
jne 0x14002960c
call fcn.140029740
test rax, rax
jne 0x140029620
lea ecx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x140029714
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x60], rcx
lea r14, vtable.CVolObject.0
mov qword [rbp - 0x60], r14
xor esi, esi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
lea rax, vtable.CWString.0
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
lea r15, vtable.CVolMem.0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x10], 0x40
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x10], 0xfe
test rbx, rbx
je 0x14002964b
cmp word [rbx], si
je 0x14002964b
lea edx, [rsi + 0x5c]
mov rcx, rbx
call fcn.14003d580
test rax, rax
je 0x14002962a
sub rax, rbx
lea r8, [rax + 2]
sar r8, 1
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.14002ffd0
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x48]
jmp 0x140029664
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140029551
mov eax, 1
jmp 0x140029716
mov rax, rsi
mov qword [rbp - 0x48], rax
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x140029652
lea rcx, [rbp - 0x40]
mov rax, qword [rbp - 0x40]
call qword [rax + 0x18]
mov rax, qword [rbp - 0x48]
jmp 0x140029652
mov rax, rsi
mov qword [rbp - 0x48], rax
mov rdx, rsi
mov qword [rbp - 0x28], rdx
mov rcx, rsi
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x20], rsi
test rax, rax
jne 0x140029677
lea rax, [0x1400660e8]
test rcx, rcx
cmovne rax, rdx
mov rcx, rax
call fcn.140029130
test rax, rax
je 0x1400296bf
test rdi, rdi
je 0x1400296bf
cmp word [rdi], 0
je 0x1400296bf
test rbx, rbx
je 0x1400296bf
cmp word [rbx], 0
je 0x1400296bf
mov rdx, rbx
mov rcx, rdi
call fcn.140041fbc
mov rcx, rdi
test eax, eax
jne 0x140029703
call fcn.140029740
test rax, rax
jne 0x1400296fc
lea ecx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, rsi
lea rax, [rbp - 0x40]
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x40], r15
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x1400296e3
lea rcx, [rbp - 0x40]
mov r8, qword [rbp - 0x40]
call qword [r8 + 0x18]
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x60], r14
mov rax, rbx
jmp 0x140029716
mov ebx, 1
jmp 0x1400296c2
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
movsxd rbx, eax
jmp 0x1400296c2
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret