Function at 0x14007fa30
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rbx, rcx
xor r15d, r15d
mov r12d, r15d
lea rcx, [rax + 0x10]
call fcn.14005b560
lea rcx, [rsp + 0x30]
call fcn.140063500
nop
movabs rax, 0x8000000000000000
mov qword [rsp + 0x40], rax
lea r9d, [r15 + 0x2c]
mov word [rsp + 0x20], r15w
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xa8]
mov rcx, rbx
call fcn.1400554c0
mov r11, qword [rsp + 0xa8]
cmp word [r11], r15w
je 0x14007fd29
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xa8]
call fcn.140066e10
test eax, eax
jle 0x14007fd29
mov eax, 0x2a
mov rcx, qword [rsp + 0x30]
cmp ax, word [rcx]
sete r13b
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [rax + 2]
lea rcx, [rsp + 0x30]
call fcn.1400635c0
mov qword [rsp + 0x38], r15
mov edx, 0x42b
lea rcx, [rsp + 0x48]
call fcn.140063580
nop
mov rbx, qword [rsp + 0x48]
lea rbp, [rbx + 0x20e]
mov word [rbx], r15w
mov word [rbp + 2], r15w
mov word [rbp], r15w
test r13b, r13b
je 0x14007fb37
mov rdx, rbp
mov ecx, 0x324
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov r11, qword [rsp + 0x30]
jmp 0x14007fb3f
mov r11, qword [rsp + 0x30]
mov rbp, r11
mov eax, 0x5c
cmp word [r11], 0
je 0x14007fb62
cmp word [r11 + 2], 0x3a
jne 0x14007fb62
mov word [r11 + 4], ax
mov rax, qword [rsp + 0x30]
mov word [rax + 6], r15w
or r9d, 0xffffffff
or r8d, r9d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerBitBucketVolume_
lea rcx, [rsp + 0x38]
call fcn.140063690
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r14, eax
lea edx, [r14 + 0x20a]
lea rcx, [rsp + 0x38]
call fcn.1400635c0
mov r11, qword [rsp + 0x40]
mov dword [rsp + 0xb0], r11d
mov ecx, r15d
test r11d, r11d
sete cl
mov dword [rsp + 0xb8], ecx
mov esi, 1
mov rdi, qword [rsp + 0x38]
test r13b, r13b
je 0x14007fbe7
movzx esi, word [rbp + 4]
mov word [rbp + 4], r15w
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov word [rbp + 4], si
cmp eax, 3
jne 0x14007fcdc
lea esi, [rax - 2]
mov r8d, 0x208
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x14007fc11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
test eax, eax
cmove r12d, esi
jmp 0x14007fce1
mov rsi, rbx
mov r8d, 0xa
mov rdx, rbx
lea rcx, str._Volume
call fcn.14005c510
test al, al
je 0x14007fc31
lea rsi, [rbx + 0x14]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov edx, 0x5c
cmp dx, word [rsi + rcx*2 - 2]
jne 0x14007fc52
dec eax
cdqe
mov word [rsi + rax*2], r15w
lea rcx, [rdi + r14*2]
mov r8d, 0x208
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.MaxCapacity
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [0x14019c378]
test eax, eax
cmove r12d, r15d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, str.NukeOnDelete
mov rdx, rdi
mov rcx, 0xffffffff80000001
call qword [0x14019c378]
test eax, eax
cmove r12d, r15d
mov esi, 1
jmp 0x14007fce1
mov esi, 1
test r13b, r13b
je 0x14007fd04
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
movsxd rcx, eax
lea rbp, [rbp + rcx*2]
cmp word [rbp], 0
jne 0x14007fbc0
lea rcx, [rsp + 0x48]
call fcn.14005b520
nop
lea rcx, [rsp + 0x38]
call fcn.14005b520
nop
lea rcx, [rsp + 0x30]
call fcn.14005b520
mov eax, r12d
jmp 0x14007fd38
lea rcx, [rsp + 0x30]
call fcn.14005b520
mov eax, 0x80070057
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret