Function at 0x140106c50
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402b0310]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], r15b
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1401063c0
mov ebx, eax
test eax, eax
jne 0x140107440
lea r8d, [r15 + 1]
mov rcx, rdi
call fcn.1400c5050
mov ecx, eax
sub ecx, 1
je 0x140106d15
sub ecx, 1
je 0x140106d0c
cmp ecx, 1
lea rcx, [rsp + 0x60]
je 0x140106d03
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], bl
lea r8d, [r15 + 7]
lea rdx, str.unknown
call fcn.14001cb70
jmp 0x140106d27
lea rdx, [0x1402bef00]
jmp 0x140106d21
lea rdx, [0x1402beea0]
jmp 0x140106d1c
lea rdx, [0x1402bee40]
lea rcx, [rsp + 0x60]
call fcn.14001ca40
nop
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x30], 3
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 rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
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
mov dword [rsp + 0x30], 7
mov r8d, 0xb
lea rdx, str._import_ori
lea rcx, [rbp - 0x60]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x60]
call fcn.14001cb10
nop
lea rcx, [rsp + 0x40]
call fcn.14001cb10
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rcx, qword [rbp + 0x20]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
test eax, eax
setns dil
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x30], 0x1d
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 rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
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
mov dword [rsp + 0x30], 0x3d
mov r8d, 0xb
lea rdx, str._import_dup
lea rcx, [rbp - 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, [rbp - 0x60]
call fcn.14001cb10
nop
lea rcx, [rsp + 0x40]
call fcn.14001cb10
lea rcx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rcx, qword [rbp]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
test eax, eax
setns sil
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x30], 0xed
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 rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rsp + 0x40]
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 + 0x40]
call fcn.14001cb10
nop
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x30], 0x36d
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 rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
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
mov dword [rsp + 0x30], 0x76d
mov r8d, 0xb
lea rdx, str._import_bak
lea rcx, [rbp - 0x60]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x60]
call fcn.14001cb10
nop
lea rcx, [rsp + 0x40]
call fcn.14001cb10
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
test eax, eax
setns r14b
movdqa xmm0, xmmword [0x140247490]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov dword [rsp + 0x30], 0x1d6d
mov rbx, qword [rbp - 0x70]
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x60]
call fcn.14002ff60
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
mov r8, rbx
lea rcx, [rbp - 0x60]
call fcn.14001eac0
mov r8d, 1
lea rdx, [0x140217908]
lea rcx, [rbp - 0x60]
call fcn.14001eac0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], 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
mov dword [rsp + 0x30], 0x3d6d
mov r8d, 9
lea rdx, str._unpacked
lea rcx, [rbp + 0x40]
call fcn.14001eac0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp + 0x40]
call fcn.14001cb10
nop
lea rcx, [rbp - 0x60]
call fcn.14001cb10
mov dl, 1
lea rcx, [rbp + 0x60]
call fcn.1400c8470
test dil, dil
je 0x1401072a2
test sil, sil
je 0x140107257
lea rax, str.origin_and_backup_file_shouldnt_exist_concurrently
mov qword [rsp + 0x20], rax
mov r9d, 0x198
lea r8, str.DistributedDB::GenericKvDB::ClearImportTempFile
lea rdx, [0x1402c0bc8]
mov ecx, 3
call fcn.1400cc1d0
mov dl, 1
lea rcx, [rbp - 0x40]
call fcn.1400c8470
test eax, eax
je 0x140107278
mov r9d, 0x174
lea r8, str.DistributedDB::GenericKvDB::RemoveImportedBackFiles
jmp 0x14010749c
lea rdx, [rbp + 0x20]
call fcn.140106980
test eax, eax
je 0x140107400
lea rax, str.Remove_the_pre_ctrl_file_failed
mov r9d, 0x179
lea r8, str.DistributedDB::GenericKvDB::RemoveImportedBackFiles
jmp 0x1401074a3
test sil, sil
je 0x140107477
lea r8, str._import_bak
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.14002f7c0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
test eax, eax
js 0x1401073a1
mov dl, 1
lea rcx, [rbp - 0x20]
call fcn.1400c8470
test eax, eax
je 0x140107330
lea rax, str.Remove_the_current_db_dir_failed
mov qword [rsp + 0x20], rax
mov r9d, 0x160
lea r8, str.DistributedDB::GenericKvDB::RecoverImportedBackFiles
lea rdx, [0x1402c0bc8]
mov ecx, 3
call fcn.1400cc1d0
nop
lea rcx, [rsp + 0x40]
call fcn.14001cb10
mov ebx, 0xfffffbe4
jmp 0x140107403
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
test eax, eax
je 0x1401073a1
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.Rename_the_backfile_error:_d
mov qword [rsp + 0x20], rax
mov r9d, 0x165
lea r8, str.DistributedDB::GenericKvDB::RecoverImportedBackFiles
lea rdx, [0x1402c0bc8]
mov ecx, 3
call fcn.1400cc1d0
nop
lea rcx, [rsp + 0x40]
call fcn.14001cb10
mov ebx, 0xfffffbed
jmp 0x140107403
lea rdx, [rbp]
call fcn.140106980
test eax, eax
je 0x1401073f6
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.Remove_the_pre_ctrl_file_failed:_d
mov qword [rsp + 0x20], rax
mov r9d, 0x16b
lea r8, str.DistributedDB::GenericKvDB::RecoverImportedBackFiles
lea rdx, [0x1402c0bc8]
mov ecx, 3
call fcn.1400cc1d0
nop
lea rcx, [rsp + 0x40]
call fcn.14001cb10
mov ebx, 0xfffffbe4
jmp 0x140107403
lea rcx, [rsp + 0x40]
call fcn.14001cb10
mov ebx, r15d
lea rcx, [rbp + 0x60]
call fcn.14001cb10
nop
lea rcx, [rbp - 0x40]
call fcn.14001cb10
nop
lea rcx, [rbp - 0x20]
call fcn.14001cb10
nop
lea rcx, [rbp]
call fcn.14001cb10
nop
lea rcx, [rbp + 0x20]
call fcn.14001cb10
nop
lea rcx, [rsp + 0x60]
call fcn.14001cb10
nop
lea rcx, [rbp - 0x80]
call fcn.14001cb10
mov eax, ebx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1401eb080
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
test r14b, r14b
je 0x140107400
mov dl, 1
lea rcx, [rbp - 0x40]
call fcn.1400c8470
test eax, eax
je 0x140107400
mov r9d, 0x1a8
lea r8, str.DistributedDB::GenericKvDB::ClearImportTempFile
lea rax, str.Remove_the_backup_dir_failed
mov qword [rsp + 0x20], rax
lea rdx, [0x1402c0bc8]
mov ecx, 3
call fcn.1400cc1d0
mov ebx, 0xfffffbe4
jmp 0x140107403