Function at 0x140003a20
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140021410]
xor rax, rsp
mov qword [rbp + 0x27], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
xor r13d, r13d
mov qword [rbp - 9], r13
lea r8, [rbp - 0x19]
call fcn.14000f8c4
mov ebx, eax
mov dword [rbp - 0x35], eax
test eax, eax
js 0x140003cee
mov rdx, qword [rbp - 0x11]
mov rbx, qword [rbp - 0x19]
sub rdx, rbx
sar rdx, 5
test rdx, rdx
je 0x140003cd6
lea rsi, str._volume_s__on_this_drive:_n
lea rdi, [0x140021580]
mov rcx, rdi
call fcn.14000857c
mov r14, rax
mov al, 0x20
mov rcx, qword [r14]
movsxd rcx, dword [rcx + 4]
add rcx, r14
mov dl, al
call fcn.140008e14
inc rsi
movzx edx, ax
mov rcx, r14
call fcn.140008284
mov al, byte [rsi]
test al, al
jne 0x140003ab1
cmp rbx, qword [rbp - 0x11]
je 0x140003d83
lea r14, [0x14001922c]
mov r15b, 0xa
mov qword [rbp + 0x17], r13
mov qword [rbp + 0x1f], r13
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 7]
call fcn.14000a238
nop
lea rsi, [0x140019230]
mov dl, 0x20
mov rax, qword [0x140021580]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call fcn.140008e14
inc rsi
movzx edx, ax
mov rcx, rdi
call fcn.140008284
mov dl, byte [rsi]
test dl, dl
jne 0x140003b20
mov rsi, r14
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.14000c378
mov r12, rax
mov al, r15b
mov rcx, qword [r12]
movsxd rcx, dword [rcx + 4]
add rcx, r12
mov dl, al
call fcn.140008e14
inc rsi
movzx edx, ax
mov rcx, r12
call fcn.140008284
mov al, byte [rsi]
test al, al
jne 0x140003b5c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r13
mov edx, 0x104
lea rcx, [rbp - 0x31]
call fcn.1400070ac
nop
mov dword [rbp - 0x39], r13d
mov r8, qword [rbp - 0x29]
mov r12, qword [rbp - 0x31]
sub r8, r12
sar r8, 1
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
lea r9, [rbp - 0x39]
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
je 0x140003c7b
cmp word [r12], r13w
je 0x140003c7b
mov rsi, r12
lea r13, str.
mov dl, 0x20
mov rax, qword [0x140021580]
movsxd rcx, dword [rax + 4]
add rcx, rdi
call fcn.140008e14
inc r13
movzx edx, ax
mov rcx, rdi
call fcn.140008284
mov dl, byte [r13]
test dl, dl
jne 0x140003bef
mov r13, r14
mov rdx, rsi
mov rcx, rdi
call fcn.14000c124
mov r12, rax
mov al, r15b
mov rcx, qword [r12]
movsxd rcx, dword [rcx + 4]
add rcx, r12
mov dl, al
call fcn.140008e14
inc r13
movzx edx, ax
mov rcx, r12
call fcn.140008284
mov al, byte [r13]
test al, al
jne 0x140003c2c
or rax, 0xffffffffffffffff
xor r13d, r13d
inc rax
cmp word [rsi + rax*2], r13w
jne 0x140003c5b
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r13w
jne 0x140003be6
mov r12, qword [rbp - 0x31]
test r12, r12
je 0x140003c9b
mov rcx, r12
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r13
cmp qword [rbp + 0x1f], 8
jb 0x140003cb2
mov rcx, qword [rbp + 7]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], r13
mov word [rbp + 7], r13w
add rbx, 0x20
cmp rbx, qword [rbp - 0x11]
jne 0x140003aea
jmp 0x140003d83
lea rdx, str.No_volumes_on_the_drive_n
lea rcx, [0x140021580]
call fcn.14000c124
jmp 0x140003d83
lea rdx, str.Could_not_list_volumes_on_the_drive_:
lea rcx, [0x140021580]
call fcn.14000c124
mov r8, rax
test rax, rax
jne 0x140003d0e
mov rcx, r13
jmp 0x140003d18
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, r8
and dword [rcx + 0x18], 0xfffff9ff
bts dword [rcx + 0x18], 0xb
mov edx, ebx
mov rcx, r8
call fcn.140008904
mov rbx, rax
test rax, rax
jne 0x140003d3b
mov rcx, r13
jmp 0x140003d45
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
and dword [rcx + 0x18], 0xfffff3ff
bts dword [rcx + 0x18], 9
lea r14, [0x14001922c]
mov r15b, 0xa
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, r15b
call fcn.140008e14
inc r14
movzx edx, ax
mov rcx, rbx
call fcn.140008284
mov r15b, byte [r14]
test r15b, r15b
jne 0x140003d5b
lea rcx, [rbp - 0x19]
call fcn.1400071c0
mov eax, dword [rbp - 0x35]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140012f80
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret