Function at 0x1400e4d90
Capabilities:
Move file

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x170], rbx
mov rax, qword [0x1402b0310]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r14, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x30], r15d
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], r15b
xor r8d, r8d
lea rdx, [0x14020e9cd]
lea rcx, [rbp - 0x80]
call fcn.14001cb70
nop
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], r15b
xor r8d, r8d
lea rdx, [0x14020e9cd]
lea rcx, [rbp - 0x40]
call fcn.14001cb70
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x80]
mov rdx, r14
mov rcx, rsi
call fcn.1400e7480
test al, al
jne 0x1400e4e49
mov ebx, dword [rsp + 0x30]
jmp 0x1400e5393
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x30], 1
mov rbx, qword [rbp - 0x70]
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x40]
call fcn.14002ff60
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.14001eac0
mov r8d, 1
lea rdx, [0x140217908]
lea rcx, [rsp + 0x40]
call fcn.14001eac0
lea rdi, [0x1402bfac8]
mov rdx, rdi
cmp qword [0x1402bfae0], 0x10
cmovae rdx, qword [0x1402bfac8]
mov r8, qword [0x1402bfad8]
lea rcx, [rsp + 0x40]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x30], 3
mov r8d, 8
lea rdx, str._ctrl_ok
lea rcx, [rsp + 0x60]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x60]
call fcn.14001cb10
nop
lea rcx, [rsp + 0x40]
call fcn.14001cb10
nop
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x30], 0xe
mov rbx, qword [rbp - 0x70]
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x40]
call fcn.14002ff60
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.14001eac0
mov r8d, 1
lea rdx, [0x140217908]
lea rcx, [rsp + 0x40]
call fcn.14001eac0
cmp qword [0x1402bfae0], 0x10
cmovae rdi, qword [0x1402bfac8]
mov r8, qword [0x1402bfad8]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x30], 0x1e
mov r8d, 4
lea rdx, str._bak
lea rcx, [rsp + 0x60]
call fcn.14001eac0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x60]
call fcn.14001cb10
nop
lea rcx, [rsp + 0x40]
call fcn.14001cb10
nop
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x30], 0x76
mov rdx, qword [rbp - 0x50]
inc rdx
lea rcx, [rsp + 0x40]
call fcn.14002ff60
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.14001eac0
mov r8d, 1
lea rdx, [0x140217908]
lea rcx, [rsp + 0x40]
call fcn.14001eac0
lea rdx, [0x1402bfa68]
cmp qword [0x1402bfa80], 0x10
cmovae rdx, qword [0x1402bfa68]
mov r8, qword [0x1402bfa78]
lea rcx, [rsp + 0x40]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x30], 0xf6
lea rdx, [0x1402bfc08]
cmp qword [0x1402bfc20], 0x10
cmovae rdx, qword [0x1402bfc08]
mov r8, qword [0x1402bfc18]
lea rcx, [rsp + 0x60]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x60]
call fcn.14001cb10
nop
lea rcx, [rsp + 0x40]
call fcn.14001cb10
lea rcx, [rbp - 0x60]
call fcn.1400c7990
mov ebx, eax
test eax, eax
je 0x1400e51c7
mov dword [rsp + 0x28], eax
lea rax, str.Create_backup_dir_failed:_d.
mov r9d, 0x68
mov qword [rsp + 0x20], rax
lea r8, str.DistributedDB::SQLiteLocalKvDB::Rekey
lea rdx, [0x1402bfb68]
mov ecx, 3
call fcn.1400cc1d0
lea rdx, [rsi + 0xa8]
call fcn.1401074d0
jmp 0x1400e5375
lea r8, [rbp]
mov rdx, r14
mov rcx, rsi
call fcn.1400e63e0
mov ebx, eax
test eax, eax
je 0x1400e51ef
mov dword [rsp + 0x28], eax
lea rax, str.Run_export_logic_failed:_d.
mov r9d, 0x6f
jmp 0x1400e5199
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x1400e5258
mov dword [rsp + 0x28], eax
lea rax, str.Change_ctrl_to_ok_failed:_d.
mov qword [rsp + 0x20], rax
mov r9d, 0x76
lea r8, str.DistributedDB::SQLiteLocalKvDB::Rekey
lea rdx, [0x1402bfb68]
lea ecx, [r9 - 0x73]
call fcn.1400cc1d0
mov ebx, 0xfffffbed
lea rdx, [rsi + 0xa8]
call fcn.1401074d0
jmp 0x1400e5375
mov rbx, qword [rsi + 0x208]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov byte [rbx + 0x19], 0
lea rdx, [rsi + 0xa8]
call fcn.1401074d0
mov ebx, eax
test eax, eax
je 0x1400e52f4
mov dword [rsp + 0x28], eax
lea rax, str.Recover_failed_after_rekey_ok:_d.
mov qword [rsp + 0x20], rax
mov r9d, 0x7f
lea r8, str.DistributedDB::SQLiteLocalKvDB::Rekey
lea rdx, [0x1402bfb68]
lea ecx, [r9 - 0x7c]
call fcn.1400cc1d0
lea rdx, [rsi + 0xa8]
mov rcx, rsi
call fcn.1400e6930
test eax, eax
je 0x1400e5375
mov dword [rsp + 0x28], eax
lea rax, str.ReInit_the_handlePool_failed:_d
mov qword [rsp + 0x20], rax
mov r9d, 0x82
lea r8, str.DistributedDB::SQLiteLocalKvDB::Rekey
lea rdx, [0x1402bfb68]
lea ecx, [r9 - 0x7f]
call fcn.1400cc1d0
jmp 0x1400e5375
movups xmm0, xmmword [r14]
movups xmmword [rsi + 0xd8], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rsi + 0xe8], xmm1
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rsi + 0xf8], xmm0
movups xmm1, xmmword [r14 + 0x30]
movups xmmword [rsi + 0x108], xmm1
movups xmm0, xmmword [r14 + 0x40]
movups xmmword [rsi + 0x118], xmm0
movups xmm1, xmmword [r14 + 0x50]
movups xmmword [rsi + 0x128], xmm1
movups xmm0, xmmword [r14 + 0x60]
movups xmmword [rsi + 0x138], xmm0
movups xmm1, xmmword [r14 + 0x70]
movups xmmword [rsi + 0x148], xmm1
movsd xmm0, qword [r14 + 0x80]
movsd qword [rsi + 0x158], xmm0
lea rdx, [rsi + 0xa8]
mov rcx, rsi
call fcn.1400e6930
mov ebx, eax
lea rcx, [rbp]
call fcn.14001cb10
nop
lea rcx, [rbp - 0x60]
call fcn.14001cb10
nop
lea rcx, [rbp - 0x20]
call fcn.14001cb10
nop
lea rcx, [rbp - 0x40]
call fcn.14001cb10
nop
lea rcx, [rbp - 0x80]
call fcn.14001cb10
mov eax, ebx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1401eb080
mov rbx, qword [rsp + 0x170]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret