Function at 0x1400d9800
Capabilities:
Move file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x200], rbx
mov rax, qword [0x1402b0310]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rdx
mov rdi, rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
movups xmm0, xmmword [rcx + 0xd8]
movaps xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rcx + 0xe8]
movaps xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rcx + 0xf8]
movaps xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rcx + 0x108]
movaps xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [rcx + 0x118]
movaps xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rcx + 0x128]
movaps xmmword [rbp + 0x60], xmm1
movups xmm0, xmmword [rcx + 0x138]
movaps xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rcx + 0x148]
movaps xmmword [rbp + 0x80], xmm1
movsd xmm0, qword [rcx + 0x158]
movsd qword [rbp + 0x90], xmm0
mov r15, qword [rbp + 0x90]
test r15, r15
jne 0x1400d98d3
cmp qword [rdx + 0x80], r15
jne 0x1400d98d3
mov ebx, r13d
jmp 0x1400d9f55
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
lea rdx, [rsp + 0x70]
add rcx, 0xa8
call fcn.1401063c0
mov ebx, eax
test eax, eax
je 0x1400d992e
mov dword [rsp + 0x28], eax
lea rax, str.get_work_dir_failed:__d.
mov qword [rsp + 0x20], rax
mov r9d, 0x26a
lea r8, str.DistributedDB::MultiVerNaturalStore::ExecuteRekey
lea rdx, [0x1402bf768]
mov ecx, 3
call fcn.1400cc1d0
jmp 0x1400d9f4a
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x40], 1
mov rbx, qword [rbp - 0x80]
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x50]
call fcn.14002ff60
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.14001eac0
mov r8d, 1
lea rdx, [0x140217908]
lea rcx, [rsp + 0x50]
call fcn.14001eac0
lea r12, [0x1402bf728]
mov rdx, r12
cmp qword [0x1402bf740], 0x10
cmovae rdx, qword [0x1402bf728]
mov r8, qword [0x1402bf738]
lea rcx, [rsp + 0x50]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x40], 3
mov r8d, 9
lea rdx, str._ctrl_pre
lea rcx, [rbp - 0x70]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x70]
call fcn.14001cb10
nop
lea rcx, [rsp + 0x50]
call fcn.14001cb10
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rcx, qword [rbp - 0x50]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x1400d9ae0
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.Create_File_fail.__d
mov qword [rsp + 0x20], rax
mov r9d, 0x123
lea r8, str.DistributedDB::OS::CreateFileByFileName
lea rdx, [0x1402bf128]
mov ecx, 3
call fcn.1400cc1d0
mov ebx, 0xfffffbed
mov dword [rsp + 0x28], ebx
lea rax, str.create_ctrl_file_failed:__d.
mov qword [rsp + 0x20], rax
mov r9d, 0x272
lea r8, str.DistributedDB::MultiVerNaturalStore::ExecuteRekey
lea rdx, [0x1402bf768]
mov ecx, 3
call fcn.1400cc1d0
jmp 0x1400d9f40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x40], 0xe
mov rbx, qword [rbp - 0x80]
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x50]
call fcn.14002ff60
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.14001eac0
mov r8d, 1
lea rdx, [0x140217908]
lea rcx, [rsp + 0x50]
call fcn.14001eac0
mov rdx, r12
cmp qword [0x1402bf740], 0x10
cmovae rdx, qword [0x1402bf728]
mov r8, qword [0x1402bf738]
lea rcx, [rsp + 0x50]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x40], 0x1e
mov r8d, 8
lea rdx, str._ctrl_ok
lea rcx, [rbp - 0x70]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x70]
call fcn.14001cb10
nop
lea rcx, [rsp + 0x50]
call fcn.14001cb10
nop
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x40], 0x76
mov rbx, qword [rbp - 0x80]
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x50]
call fcn.14002ff60
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.14001eac0
mov r8d, 1
lea rdx, [0x140217908]
lea rcx, [rsp + 0x50]
call fcn.14001eac0
mov rdx, r12
cmp qword [0x1402bf740], 0x10
cmovae rdx, qword [0x1402bf728]
mov r8, qword [0x1402bf738]
lea rcx, [rsp + 0x50]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x40], 0xf6
mov r8d, 4
lea rdx, str._bak
lea rcx, [rbp - 0x70]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x70]
call fcn.14001cb10
nop
lea rcx, [rsp + 0x50]
call fcn.14001cb10
nop
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x40], 0x3b6
mov rbx, qword [rbp - 0x80]
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x50]
call fcn.14002ff60
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.14001eac0
mov r8d, 1
lea rdx, [0x140217908]
lea rcx, [rsp + 0x50]
call fcn.14001eac0
cmp qword [0x1402bf740], 0x10
cmovae r12, qword [0x1402bf728]
mov r8, qword [0x1402bf738]
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.14001eac0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x50]
call fcn.14001cb10
lea r9, [rbp - 0x10]
mov r8, rsi
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.1400da970
mov ebx, eax
test eax, eax
je 0x1400d9deb
mov dword [rsp + 0x28], eax
lea rax, str.run_all_db_export_logic_failed:__d.
mov qword [rsp + 0x20], rax
mov r9d, 0x27d
lea r8, str.DistributedDB::MultiVerNaturalStore::ExecuteRekey
lea rdx, [0x1402bf768]
mov ecx, 3
call fcn.1400cc1d0
jmp 0x1400d9f15
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rcx, qword [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x1400d9e49
mov dword [rsp + 0x28], eax
lea rax, str.change_ctrl_to_ok_failed:__d.
mov qword [rsp + 0x20], rax
mov r9d, 0x284
lea r8, str.DistributedDB::MultiVerNaturalStore::ExecuteRekey
lea rdx, [0x1402bf768]
mov ecx, 3
call fcn.1400cc1d0
mov ebx, 0xfffffbed
jmp 0x1400d9f15
mov rcx, rdi
call fcn.1400dac00
lea rdx, [rdi + 0xa8]
call fcn.1401074d0
mov ebx, eax
test eax, eax
je 0x1400d9e96
mov dword [rsp + 0x28], eax
lea rax, str.Recover_failed_after_run_all_export_ok:__d.
mov qword [rsp + 0x20], rax
mov r9d, 0x28c
lea r8, str.DistributedDB::MultiVerNaturalStore::ExecuteRekey
lea rdx, [0x1402bf768]
mov ecx, 3
call fcn.1400cc1d0
jmp 0x1400d9f22
movups xmm0, xmmword [rsi]
movups xmmword [rdi + 0xd8], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0xe8], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rdi + 0xf8], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rdi + 0x108], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rdi + 0x118], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rdi + 0x128], xmm1
movups xmm0, xmmword [rsi + 0x60]
movups xmmword [rdi + 0x138], xmm0
movups xmm1, xmmword [rsi + 0x70]
movups xmmword [rdi + 0x148], xmm1
movsd xmm0, qword [rsi + 0x80]
movsd qword [rdi + 0x158], xmm0
xor r8d, r8d
lea rdx, [rdi + 0xa8]
mov rcx, rdi
call fcn.1400d66b0
mov ebx, eax
test eax, eax
jne 0x1400d9f22
lea rdx, [rdi + 0xa8]
call fcn.1401074d0
nop
lea rcx, [rbp - 0x70]
call fcn.14001cb10
nop
lea rcx, [rbp - 0x10]
call fcn.14001cb10
nop
lea rcx, [rbp - 0x30]
call fcn.14001cb10
nop
lea rcx, [rbp - 0x50]
call fcn.14001cb10
nop
lea rcx, [rsp + 0x70]
call fcn.14001cb10
nop
mov eax, ebx
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1401eb080
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret