Function at 0x1400b0a24
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rbx, rcx
lea rcx, [rax + 0x10]
xor r15d, r15d
mov r12d, r15d
call fcn.14004f534
lea rcx, [rsp + 0x30]
call fcn.140057154
movabs r11, 0x8000000000000000
lea r9d, [r15 + 0x2c]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x98]
mov rcx, rbx
mov qword [rsp + 0x40], r11
mov word [rsp + 0x20], r15w
call fcn.1400493d4
mov r11, qword [rsp + 0x98]
cmp word [r11], r15w
je 0x1400b0d01
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x98]
call fcn.1400a90f0
cmp eax, r15d
jle 0x1400b0d01
mov rcx, qword [rsp + 0x30]
lea eax, [r15 + 0x2a]
cmp ax, word [rcx]
sete r13b
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x30]
movsxd rdx, eax
add rdx, 2
call fcn.140057254
lea rcx, [rsp + 0x48]
mov edx, 0x433
mov qword [rsp + 0x38], r15
call fcn.1400571c8
mov rbx, qword [rsp + 0x48]
lea rbp, [rbx + 0x20e]
mov qword [rbx], r15
mov qword [rbp + 0x648], r15
mov qword [rbp], r15
cmp r13b, r15b
je 0x1400b0b24
mov rdx, rbp
mov ecx, 0x324
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov r11, qword [rsp + 0x30]
jmp 0x1400b0b2c
mov r11, qword [rsp + 0x30]
mov rbp, r11
mov eax, 0x5c
cmp word [r11], r15w
je 0x1400b0b4e
cmp word [r11 + 2], 0x3a
jne 0x1400b0b4e
mov word [r11 + 4], ax
mov rax, qword [rsp + 0x30]
mov word [rax + 6], r15w
or r8, 0xffffffffffffffff
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerBitBucketVolume_
lea rcx, [rsp + 0x38]
mov r9, r8
call fcn.140057310
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r14, eax
lea ecx, [r14 + 0x20a]
movsxd rdx, ecx
lea rcx, [rsp + 0x38]
call fcn.140057254
mov r11, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov ecx, r15d
cmp r11d, r15d
mov dword [rsp + 0xa0], r11d
sete cl
mov dword [rsp + 0xa8], ecx
cmp r13b, r15b
je 0x1400b0bce
movzx esi, word [rbp + 4]
mov rcx, rbp
mov word [rbp + 4], r15w
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov word [rbp + 4], si
cmp eax, 3
jne 0x1400b0cbd
mov r8d, 0x208
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, r15d
jne 0x1400b0bff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov eax, 1
cmp r12d, r15d
cmove r12d, eax
jmp 0x1400b0cbd
lea rcx, str._Volume
mov r8d, 0xa
mov rdx, rbx
mov rsi, rbx
call fcn.140050a6c
cmp al, r15b
je 0x1400b0c20
lea rsi, [rbx + 0x14]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
mov eax, 0x5c
cmp ax, word [rsi + rcx*2 - 2]
jne 0x1400b0c3e
mov word [rsi + rcx*2 - 2], r15w
lea rcx, [rdi + r14*2]
mov r8d, 0x208
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rax, [rsp + 0xa0]
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea r8, str.MaxCapacity
mov rdx, rdi
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call fcn.1400508a0
mov ecx, 4
lea r8, [0x1400fa690]
neg eax
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0xa8]
mov r9d, ecx
sbb esi, esi
mov rdx, rdi
mov rcx, 0xffffffff80000001
and esi, r12d
mov qword [rsp + 0x20], rax
call fcn.1400508a0
neg eax
sbb r12d, r12d
and r12d, esi
cmp r13b, r15b
je 0x1400b0cde
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rbp, [rbp + rcx*2 + 2]
cmp word [rbp], r15w
jne 0x1400b0baa
lea rcx, [rsp + 0x48]
call fcn.14004f564
lea rcx, [rsp + 0x38]
call fcn.14004f564
lea rcx, [rsp + 0x30]
call fcn.14004f564
movsxd rax, r12d
jmp 0x1400b0d12
lea rcx, [rsp + 0x30]
call fcn.14004f564
mov rax, 0xffffffff80070057
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret