Function at 0x140006dc3
Capabilities:
Move file

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
mov edi, r8d
xor r8d, r8d
mov rbp, rdx
mov qword [rdx], r8
test ecx, ecx
js 0x1400072a4
lea r9d, [rcx - 0x80]
cmp r9d, 0x40
jbe 0x140006e0e
mov r8d, 0x241
lea rdx, str.drive.c
lea rcx, str._DriveIndex___DRIVE_INDEX_MIN____DriveIndex___DRIVE_INDEX_MAX_
call qword [sym.imp.msvcrt.dll_memmove]
lea r13, [rsp + 0xc0]
lea r8, str._PhysicalDrive_lu
mov edx, 0x18
mov rcx, r13
call qword [0x14011cda8]
mov edx, 6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x38], edx
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
mov qword [rsp + 0x30], rcx
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 2
call qword [0x14011cc60]
lea rax, [rsp + 0x60]
lea r9, [0x14008b280]
xor edx, edx
mov qword [rsp + 0x20], rax
mov r8d, 0x14
lea rcx, [0x14008b290]
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
je 0x140006eb7
test edi, edi
jne 0x1400072a9
mov ecx, eax
call fcn.140006cc1
lea rcx, [0x14008965e]
mov rdx, rax
jmp 0x140006f70
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
lea rdx, [0x140089688]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
je 0x140006efa
test edi, edi
jne 0x1400072a9
mov ecx, ebx
call fcn.140006cc1
lea rcx, [0x14008968a]
mov rdx, rax
jmp 0x140006f70
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov ebx, eax
test eax, eax
je 0x140006f26
test edi, edi
jne 0x1400072a9
mov ecx, eax
call fcn.140006cc1
lea rcx, [0x1400896a9]
mov rdx, rax
jmp 0x140006f70
mov rcx, qword [rsp + 0x68]
lea r8, [rsp + 0x70]
mov edx, 1
lea r14, [0x14008b240]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x68]
mov ebx, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
je 0x14000708b
test edi, edi
jne 0x1400072a9
mov ecx, ebx
call fcn.140006cc1
lea rcx, [0x1400896c6]
mov rdx, rax
call fcn.140038472
jmp 0x1400072a9
mov rcx, qword [rsp + 0x78]
lea r8, [rsp + 0x80]
lea rdx, [0x14008b270]
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x1400070b5
mov rcx, qword [rsp + 0x80]
lea r8, [rsp + 0x88]
lea rdx, [0x14008b260]
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [rsp + 0x80]
mov ebx, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x1400070d0
mov rcx, qword [rsp + 0x88]
lea rdx, [rsp + 0x90]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x88]
mov ebx, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x1400070eb
lea r15, [0x14008b250]
mov rcx, qword [rsp + 0x90]
mov r9, r12
mov edx, 1
lea r8, [rsp + 0x98]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x14000707d
mov rcx, qword [rsp + 0x98]
lea r8, [rsp + 0xa0]
mov rdx, r15
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [rsp + 0x98]
mov ebx, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
je 0x14000710e
test edi, edi
jne 0x14000707d
mov ecx, ebx
call fcn.140006cc1
lea rcx, [0x140089765]
mov rdx, rax
call fcn.140038472
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
lea r12, [rsp + 0x5c]
lea r8, [rsp + 0x78]
mov edx, 1
mov r9, r12
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
je 0x140006f7a
jmp 0x140007293
test edi, edi
jne 0x140007293
mov ecx, ebx
call fcn.140006cc1
lea rcx, [0x1400896f0]
mov rdx, rax
jmp 0x140007104
test edi, edi
jne 0x140007293
mov ecx, ebx
call fcn.140006cc1
lea rcx, [0x14008970f]
mov rdx, rax
jmp 0x140007104
test edi, edi
jne 0x140007293
mov ecx, ebx
call fcn.140006cc1
lea rcx, [0x140089737]
mov rdx, rax
call fcn.140038472
jmp 0x140007293
mov rcx, qword [rsp + 0xa0]
lea rdx, [rsp + 0xa8]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0xa0]
mov ebx, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
je 0x1400071c7
test edi, edi
jne 0x14000707d
mov ecx, ebx
call fcn.140006cc1
lea rcx, str.Could_not_query_VDS_disks:__s
mov rdx, rax
jmp 0x140007078
mov rcx, qword [rsp + 0xb0]
lea r8, [rsp + 0xb8]
mov rdx, r14
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [rsp + 0xb0]
mov esi, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
test esi, esi
jne 0x1400071f2
mov rcx, qword [rsp + 0xb8]
lea rdx, [rsp + 0xf0]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov esi, eax
test eax, eax
jne 0x14000720d
mov rcx, r13
mov rdx, qword [rsp + 0x150]
call qword [sym.imp.msvcrt.dll_rename]
mov rcx, qword [rsp + 0x150]
mov esi, eax
call qword [0x14011cc68]
test esi, esi
je 0x140007239
mov rcx, qword [rsp + 0xa8]
mov r9, r12
mov edx, 1
lea r8, [rsp + 0xb0]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
je 0x14000715a
jmp 0x140007280
test edi, edi
jne 0x14000727e
mov ecx, esi
call fcn.140006cc1
lea rcx, str.Could_not_query_VDS_Disk_Interface:__s
mov rdx, rax
jmp 0x140007279
cmp eax, 0x42715
je 0x1400071a2
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
call qword [rax + 0x10]
test edi, edi
jne 0x14000727e
mov ecx, esi
call fcn.140006cc1
lea rcx, str.Could_not_query_VDS_Disk_Properties:__s
mov rdx, rax
jmp 0x140007279
mov rcx, qword [rsp + 0xb8]
mov r8, rbp
lea rdx, str._kon
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [rsp + 0xb8]
mov esi, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
test esi, esi
je 0x14000727e
test edi, edi
jne 0x14000727e
mov ecx, esi
call fcn.140006cc1
lea rcx, str.Could_not_access_the_requested_Disk_interface:__s
mov rdx, rax
call fcn.140038472
mov ebx, esi
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x140007011
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
je 0x1400072be
jmp 0x1400072a9
mov ebx, 1
mov ecx, ebx
call qword [0x14011c730]
mov rax, qword [0x1400b5de0]
mov dword [rax], 0xc003001f
xor eax, eax
test ebx, ebx
sete al
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret