Function at 0x14000316c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1400dc7a8]
xor rax, rsp
mov qword [rbp + 0x1b8], rax
mov rbx, rdx
mov rsi, rcx
mov rdx, qword [rcx + 0x58]
lea rcx, [rsp + 0x60]
call fcn.140019fac
nop
mov rdx, qword [rsi + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140019fac
nop
mov r14, qword [rbx]
lea rbx, [r14 - 0x18]
mov rcx, qword [rbx]
mov rax, qword [rcx]
movabs r10, 0xb3651e715a5ef170
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
mov rcx, rax
xor r15d, r15d
cmp dword [rbx + 0x10], r15d
jl 0x1400318f6
cmp rax, qword [rbx]
jne 0x1400318f6
lock inc dword [rbx + 0x10]
add rbx, 0x18
mov qword [rsp + 0x40], rbx
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rsp + 0x40]
call fcn.140011584
cmp ax, 0x2a
je 0x14003194a
cmp ax, 0x2f
jne 0x14003195b
lea rcx, [rbp - 0x80]
call fcn.140019a6c
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi + 0xa0]
call fcn.14000330c
mov edi, r15d
test eax, eax
jne 0x14003198a
cmp dword [rbp - 0x5c], r15d
je 0x140031980
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140019fac
nop
mov al, byte [rbp - 0x44]
mov byte [rsp + 0x20], al
mov r9d, edi
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140003370
mov edi, eax
cmp eax, 0x80070005
cmove edi, r15d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x80]
call fcn.14001595c
nop
lea rcx, [rbx - 0x18]
call fcn.140016150
nop
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0x1b8]
xor rcx, rsp
call fcn.140024b20
mov rbx, qword [rsp + 0x300]
add rsp, 0x2c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rax]
lea rdi, [rbx + 8]
movabs r10, 0x9230265a36d2c270
mov r8d, 2
mov edx, dword [rdi]
mov rax, qword [rax]
call qword [case.0x140001f80.0]
mov rbx, rax
test rax, rax
jne 0x140031926
call fcn.14005ef48
int3
mov eax, dword [rdi]
mov dword [rbx + 8], eax
lea rcx, [rbx + 0x18]
mov eax, dword [rdi]
inc eax
movsxd rdx, eax
add rdx, rdx
mov r9, rdx
mov r8, r14
call fcn.14000b934
nop
jmp 0x1400031fa
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rsp + 0x40]
call fcn.14008e5b4
jmp 0x140031976
cmp ax, 0x5c
je 0x140003226
lea rdx, [0x1400b38e8]
lea rcx, [rsp + 0x40]
call fcn.1400096d0
mov rbx, qword [rsp + 0x40]
jmp 0x140003226
mov edi, 1
jmp 0x14000325a
cmp eax, 1
jne 0x14000325a
mov edi, eax
lea rcx, [rbp - 0x40]
call fcn.14000698c
nop
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140002c3c
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.1400163ec
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 8]
mov eax, dword [rsp + 0x70]
lea rdx, [rcx + rax*2]
lea rcx, [rsp + 0x48]
call fcn.140013000
nop
lea r8d, [rdi + 2]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140019218
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000b560
nop
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
call fcn.140016150
mov dword [rsp + 0x38], 0xa
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumeInformationW]
nop dword [rax + rax]
test eax, eax
cmovne edi, r15d
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
call fcn.140016150
nop
lea rcx, [rbp - 0x40]
call fcn.14001193c
nop
jmp 0x14000325a