Function at 0x1400e2610
Capabilities:
Move file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1a8], rbx
mov rax, qword [0x1402b0310]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r13, r8
mov rsi, rdx
mov r14, rcx
mov dword [rsp + 0x30], 0
lea rbx, [rdx + 0x40]
xor edx, edx
mov rcx, rbx
call fcn.1400c8470
test eax, eax
jne 0x1400e29d6
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], al
mov dword [rsp + 0x30], 1
mov rdx, qword [0x1402bf9f8]
add rdx, qword [rsi + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14002ff60
lea rdx, [rsi + 0x20]
cmp qword [rsi + 0x38], 0x10
jb 0x1400e26ac
mov rdx, qword [rsi + 0x20]
mov r8, qword [rsi + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14001eac0
lea r15, [0x1402bf9e8]
mov rdx, r15
cmp qword [0x1402bfa00], 0x10
cmovae rdx, qword [0x1402bf9e8]
mov r8, qword [0x1402bf9f8]
lea rcx, [rsp + 0x48]
call fcn.14001eac0
lea r12, [0x1402bfa28]
mov rdx, r12
cmp qword [0x1402bfa40], 0x10
cmovae rdx, qword [0x1402bfa28]
mov r8, qword [0x1402bfa38]
lea rcx, [rsp + 0x48]
call fcn.14001eac0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x48]
call fcn.14001cb10
nop
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x30], 6
lea rax, [rbx + 0x10]
mov qword [rsp + 0x38], rax
mov rdx, qword [rax]
add rdx, qword [0x1402bf9f8]
lea rcx, [rsp + 0x48]
call fcn.14002ff60
cmp qword [rbx + 0x18], 0x10
jb 0x1400e277f
mov rbx, qword [rbx]
mov r8, qword [rsp + 0x38]
mov r8, qword [r8]
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.14001eac0
cmp qword [0x1402bfa00], 0x10
cmovae r15, qword [0x1402bf9e8]
mov r8, qword [0x1402bf9f8]
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.14001eac0
cmp qword [0x1402bfa40], 0x10
cmovae r12, qword [0x1402bfa28]
mov r8, qword [0x1402bfa38]
mov rdx, r12
lea rcx, [rsp + 0x48]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
lea rcx, [rsp + 0x48]
call fcn.14001cb10
nop
movups xmm0, xmmword [r14 + 0xd8]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [r14 + 0xe8]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [r14 + 0xf8]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [r14 + 0x108]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [r14 + 0x118]
movaps xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [r14 + 0x128]
movaps xmmword [rbp], xmm1
movups xmm0, xmmword [r14 + 0x138]
movaps xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [r14 + 0x148]
movaps xmmword [rbp + 0x20], xmm1
movsd xmm0, qword [r14 + 0x158]
movsd qword [rbp + 0x30], xmm0
lea r9, [rbp - 0x50]
lea r8, [rsp + 0x68]
mov rdx, r13
lea rcx, [rbp - 0x78]
call fcn.1400fadb0
mov ebx, eax
mov dl, 1
lea rcx, [rsi + 0x20]
call fcn.1400c8470
test ebx, ebx
je 0x1400e28de
mov dword [rsp + 0x28], ebx
lea rax, str.export_the_unpacked_database_to_current_error:_d
mov qword [rsp + 0x20], rax
mov r9d, 0x4f5
lea r8, str.DistributedDB::SQLiteSingleVerNaturalStore::ImportUnpackedDatabase
lea rdx, [0x1402bf988]
lea ecx, [r15 + 3]
call fcn.1400cc1d0
mov ebx, 0xfffffbda
jmp 0x1400e2987
lea rdx, [r14 + 0xa8]
mov rcx, r14
call fcn.1400de0d0
mov ebx, eax
test eax, eax
je 0x1400e2923
mov dword [rsp + 0x28], eax
lea rax, str.InitDatabaseContext_error:_d
mov qword [rsp + 0x20], rax
mov r9d, 0x4fd
lea r8, str.DistributedDB::SQLiteSingleVerNaturalStore::ImportUnpackedDatabase
lea rdx, [0x1402bf988]
mov ecx, 3
call fcn.1400cc1d0
jmp 0x1400e2987
lea rdx, [rsi + 0x60]
cmp qword [rdx + 0x18], 0x10
jb 0x1400e2931
mov rdx, qword [rdx]
lea rcx, [rsi + 0x80]
cmp qword [rcx + 0x18], 0x10
jb 0x1400e2942
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x1400e2987
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
mov dword [rsp + 0x28], ecx
lea rax, str.Failed_to_rename_after_the_import_operation:_d
mov qword [rsp + 0x20], rax
mov r9d, 0x504
lea r8, str.DistributedDB::SQLiteSingleVerNaturalStore::ImportUnpackedDatabase
lea rdx, [0x1402bf988]
mov ecx, 3
call fcn.1400cc1d0
mov ebx, 0xfffffbed
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x1400e29bc
lea rcx, [rbp - 0x50]
add rax, rcx
lea rdx, [rbp - 0x50]
mov rcx, rax
sub rcx, rdx
lea rdx, [rbp - 0x50]
cmp rdx, rax
cmova rcx, r15
test rcx, rcx
je 0x1400e29bc
lea rdi, [rbp - 0x50]
mov eax, 0xff
rep stosb byte [rdi], al
mov qword [rbp + 0x30], r15
lea rcx, [rsp + 0x68]
call fcn.14001cb10
nop
lea rcx, [rbp - 0x78]
call fcn.14001cb10
mov eax, ebx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1401eb080
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret