Function at 0x140031468
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
mov qword [rbp], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14006cfc0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r12, rdx
mov rdi, rcx
mov qword [rbp + 8], rcx
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
nop dword [rax + rax]
mov r14d, eax
xor r13d, r13d
movzx ebx, r13w
lea edx, [r13 + 1]
mov cl, bl
shl edx, cl
test r14d, edx
je 0x1400316c1
lea edx, [rbx + 0x41]
lea rcx, [rbp + 0x30]
call fcn.1400308b0
nop
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140030420
nop
lea rcx, [rbp + 0x30]
call fcn.14000feb4
mov rsi, qword [rbp - 0x68]
test rsi, rsi
je 0x1400316b3
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x10]
call fcn.14000ab88
mov r8, rax
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.14000ab88
mov rdx, r12
mov rcx, rax
call fcn.140031254
call fcn.14001279c
mov r15, rax
cmp dword [rax], 4
jbe 0x1400316b3
movzx ecx, byte [rsi + 0x170]
mov dword [rbp - 0x7c], ecx
mov cl, byte [rsi + 0xe8]
mov byte [rbp - 0x80], cl
lea rcx, [rsi + 0x150]
call fcn.140009b30
mov qword [rbp - 0x58], rax
lea rcx, [rsi + 0x130]
call fcn.140009b30
mov qword [rbp - 0x50], rax
lea rcx, [rsi + 0x110]
call fcn.140009b30
mov qword [rbp - 0x48], rax
lea rcx, [rsi + 0xf0]
call fcn.140009b30
mov qword [rbp - 0x40], rax
lea rcx, [rsi + 0x68]
call fcn.140009b30
mov qword [rbp - 0x38], rax
lea rcx, [rsi + 0xa8]
call fcn.140009b30
mov qword [rbp - 0x30], rax
lea rcx, [rsi + 0xc8]
call fcn.140009b30
mov qword [rbp - 0x28], rax
lea rcx, [rsi + 0x88]
call fcn.140009b30
mov qword [rbp - 0x20], rax
mov eax, dword [rsi + 0x64]
mov dword [rbp - 0x78], eax
mov al, byte [rsi + 0x60]
mov byte [rbp - 0x7f], al
lea rcx, [rsi + 0x20]
call fcn.140009b30
mov qword [rbp - 0x18], rax
lea rcx, [rsi + 0x40]
call fcn.140009b30
mov qword [rbp - 0x10], rax
mov rcx, rsi
call fcn.140009b30
mov qword [rbp - 8], rax
lea rax, str.Storage_volume_discovered
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x98], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x90], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x88], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x80], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x7f]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea rdx, [0x14005d696]
mov rcx, r15
call fcn.1400025b8
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1400316c1
call fcn.14000a4d0
mov edx, 1
add bx, dx
cmp bx, 0x19
jbe 0x1400314c5
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400316e1
call fcn.14000a4d0
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400165f0
mov rbx, qword [rsp + 0x330]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret