Function at 0x140015940
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14036e028]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, r8
mov rbx, rdx
xor r12d, r12d
mov r15d, r12d
mov qword [rbp - 0x50], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
cmp qword [rdx + 0x18], 8
jb 0x14001598e
mov rdx, qword [rdx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x50]
call fcn.14000e770
nop
lea rcx, [rbp - 0x50]
call fcn.1400798dc
mov qword [rbp - 0x70], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400159be
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x70]
call fcn.14000e770
nop
lea rcx, [rbp - 0x70]
call fcn.1400798dc
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400159e2
mov rdx, qword [rdi]
lea rcx, [rsp + 0x70]
call fcn.1400799e4
mov r14, rax
cmp qword [rax + 0x18], 8
jb 0x1400159f9
mov r14, qword [rax]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140015a06
mov rdx, qword [rbx]
lea rcx, [rsp + 0x50]
call fcn.1400799e4
nop
cmp qword [rax + 0x18], 8
jb 0x140015a1b
mov rax, qword [rax]
lea rcx, str.filePath
mov qword [rbp + 8], rcx
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rbp], edx
mov qword [rbp + 0x10], rax
or rsi, 0xffffffffffffffff
test rax, rax
je 0x140015a4a
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x140015a3e
jmp 0x140015a4d
mov rcx, r12
mov qword [rbp + 0x18], rcx
lea rax, str.destPath
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x20], edx
mov qword [rbp + 0x30], r14
test r14, r14
je 0x140015a77
mov rax, rsi
inc rax
cmp word [r14 + rax*2], r12w
jne 0x140015a6b
jmp 0x140015a7a
mov rax, r12
mov qword [rbp + 0x38], rax
mov r14d, 2
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x6d6d8569
lea rax, [0x140316558]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::CopyLocalFile
mov r8d, 0x71d
lea rdx, str.D:dbs_shodct1130_230136_1cmdcclientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp - 0x30]
call fcn.1400772fc
lea rdx, [rbp]
lea rcx, [rbp - 0x30]
call fcn.1400794e8
call fcn.140078f9c
nop
lea rcx, [rsp + 0x50]
call fcn.140007e78
nop
lea rcx, [rsp + 0x70]
call fcn.140007e78
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140015afc
mov rdx, qword [rdi]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140015b09
mov rcx, qword [rbx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140015c22
cmp qword [rdi + 0x18], 8
jb 0x140015b24
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400799e4
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x140015b3e
mov rdi, qword [rax]
cmp qword [rbx + 0x18], 8
jb 0x140015b48
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400799e4
nop
cmp qword [rax + 0x18], 8
jb 0x140015b60
mov rax, qword [rax]
lea rcx, str.filePath
mov qword [rbp + 8], rcx
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rbp], edx
mov qword [rbp + 0x10], rax
test rax, rax
je 0x140015b8b
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x140015b7f
jmp 0x140015b8e
mov rcx, r12
mov qword [rbp + 0x18], rcx
lea rax, str.destPath
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x20], edx
mov qword [rbp + 0x30], rdi
test rdi, rdi
je 0x140015bb5
inc rsi
cmp word [rdi + rsi*2], r12w
jne 0x140015ba9
jmp 0x140015bb8
mov rsi, r12
mov qword [rbp + 0x38], rsi
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0xf5523384
lea rax, [0x140316558]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::CopyLocalFile
mov r8d, 0x721
lea rdx, str.D:dbs_shodct1130_230136_1cmdcclientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp - 0x30]
call fcn.1400772fc
lea rdx, [rbp]
lea rcx, [rbp - 0x30]
call fcn.1400794e8
call fcn.140078f9c
nop
lea rcx, [rsp + 0x70]
call fcn.140007e78
nop
jmp 0x140015d52
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx r15d, ax
or r15d, 0x80070000
test eax, eax
cmovle r15d, eax
cmp qword [rdi + 0x18], 8
jb 0x140015c43
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400799e4
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x140015c5d
mov rdi, qword [rax]
cmp qword [rbx + 0x18], 8
jb 0x140015c67
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400799e4
nop
cmp qword [rax + 0x18], 8
jb 0x140015c7f
mov rax, qword [rax]
lea rcx, str.filePath
mov qword [rbp + 8], rcx
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov dword [rbp], edx
mov qword [rbp + 0x10], rax
test rax, rax
je 0x140015caa
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x140015c9e
jmp 0x140015cad
mov rcx, r12
mov qword [rbp + 0x18], rcx
lea rax, str.destPath
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x20], edx
mov qword [rbp + 0x30], rdi
test rdi, rdi
je 0x140015cd4
inc rsi
cmp word [rdi + rsi*2], r12w
jne 0x140015cc8
jmp 0x140015cd7
mov rsi, r12
mov qword [rbp + 0x38], rsi
lea rax, [0x140314998]
mov qword [rbp + 0x48], rax
mov eax, 3
mov dword [rbp + 0x40], eax
mov dword [rbp + 0x50], r15d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0xce4693c3
lea rax, [0x140316558]
mov qword [rsp + 0x20], rax
lea r9, str.DownloaderUtil::CopyLocalFile
mov r8d, 0x726
lea rdx, str.D:dbs_shodct1130_230136_1cmdcclientonedriveProductCommonUpdateDownloaderUtilDownloaderUtil.cpp
lea rcx, [rbp - 0x30]
call fcn.1400772fc
lea rdx, [rbp]
lea rcx, [rbp - 0x30]
call fcn.1400794e8
call fcn.140078f9c
nop
lea rcx, [rsp + 0x70]
call fcn.140007e78
nop
lea rcx, [rsp + 0x50]
call fcn.140007e78
nop
lea rcx, [rbp - 0x70]
call fcn.140007e78
nop
lea rcx, [rbp - 0x50]
call fcn.140007e78
mov eax, r15d
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140020b50
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret