Function at 0x4685a4
Capabilities:
Copy file

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rbp, r8
mov r14, rdx
mov rsi, rcx
xor r15d, r15d
mov ebx, r15d
mov dword [rsp + 0x30], ebx
lea edi, [r15 + 7]
mov qword [r11 - 0x70], rdi
mov qword [r11 - 0x78], r15
mov word [rsp + 0x70], r15w
mov r12b, r15b
call fcn.004551b8
mov r13, qword [rax + 0x18]
cmp qword [rsi + 0x20], r15
je 0x4686ab
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [str.VSSWInternalRelease]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x38]
call fcn.00404e54
nop
lea ebx, [r15 + 1]
mov dword [rsp + 0x30], ebx
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.00459794
cmp al, r15b
je 0x4686a6
xor eax, eax
or rcx, 0xffffffffffffffff
mov r9, qword [0x004c2660]
mov rdi, r9
repne scasw ax, word [rdi]
not rcx
mov r13, rbx
sub rcx, rbx
mov qword [rsp + 0x20], rcx
mov r8, qword [rsp + 0x80]
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.00406604
cmp eax, r15d
jne 0x4686b1
mov dil, r13b
jmp 0x4686b4
mov r13, rbx
jmp 0x4686b1
mov r13d, 1
mov dil, r15b
test r13b, bl
je 0x4686e9
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
cmp qword [rsp + 0x58], 8
jb 0x4686d2
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov ebx, 7
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
jmp 0x4686ee
mov ebx, 7
cmp dil, r15b
je 0x46882b
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
mov r8d, 3
lea rdx, [0x0049a288]
lea rcx, [rsp + 0x38]
call fcn.00404e54
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x90]
call fcn.0046019c
nop
cmp qword [rsp + 0x58], 8
jb 0x468744
mov rcx, qword [rsp + 0x40]
call fcn.00443d3c
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], r15
mov word [rsp + 0x40], r15w
lea rdx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 8
cmovae rdx, qword [rsp + 0x98]
cmp qword [rsi + 0x28], 8
jb 0x46877b
mov rcx, qword [rsi + 0x10]
jmp 0x46877f
lea rcx, [rsi + 0x10]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, r15d
je 0x4687c3
mov rdi, qword [rbp + 8]
lea r9, [rsp + 0x90]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, rbp
call fcn.00439910
mov rbx, rax
mov rdx, r13
mov rcx, rbp
call fcn.004399c4
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
jmp 0x4687f3
mov rdi, qword [r14 + 8]
lea r9, [rsi + 8]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, r14
call fcn.00439910
mov rbx, rax
mov rdx, r13
mov rcx, r14
call fcn.004399c4
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
mov r12b, r13b
cmp qword [rsp + 0xb0], 8
jb 0x46880e
mov rcx, qword [rsp + 0x98]
call fcn.00443d3c
mov qword [rsp + 0xb0], 7
mov qword [rsp + 0xa8], r15
mov word [rsp + 0x98], r15w
cmp qword [rsi + 0x48], r15
jbe 0x468864
mov rdi, qword [rbp + 8]
lea r9, [rsi + 0x30]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, rbp
call fcn.00439910
mov rbx, rax
mov rdx, r13
mov rcx, rbp
call fcn.004399c4
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
mov r12b, r13b
cmp qword [rsi + 0x70], r15
jbe 0x46889d
mov rdi, qword [rbp + 8]
lea r9, [rsi + 0x58]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, rbp
call fcn.00439910
mov rbx, rax
mov rdx, r13
mov rcx, rbp
call fcn.004399c4
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
mov r12b, r13b
cmp qword [rsi + 0x98], r15
jbe 0x4688dc
mov rdi, qword [rbp + 8]
lea r9, [rsi + 0x80]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, rbp
call fcn.00439910
mov rbx, rax
mov rdx, r13
mov rcx, rbp
call fcn.004399c4
mov qword [rdi + 8], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rbx
mov r12b, r13b
cmp qword [rsp + 0x88], 8
jb 0x4688f1
mov rcx, qword [rsp + 0x70]
call fcn.00443d3c
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], r15
mov word [rsp + 0x70], r15w
mov al, r12b
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.00443d60
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret