Function at 0x140011950
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x820]
sub rsp, 0x920
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rbp + 0x810], rax
mov r12, rcx
lea rax, [0x14011d140]
mov qword [rsp + 0x20], rax
lea rax, [0x14011d148]
mov qword [rsp + 0x28], rax
lea rax, [0x14011d150]
mov qword [rsp + 0x30], rax
lea rax, [0x14011d158]
mov qword [rsp + 0x38], rax
lea rax, [0x14011d160]
mov qword [rsp + 0x40], rax
lea rax, [0x14011d168]
mov qword [rsp + 0x48], rax
lea rax, [0x14011d170]
mov qword [rsp + 0x50], rax
lea rax, [0x14011d178]
mov qword [rsp + 0x58], rax
lea rax, [0x14011d180]
mov qword [rsp + 0x60], rax
lea rax, [0x14011d188]
mov qword [rsp + 0x68], rax
lea rax, [0x14011d190]
mov qword [rsp + 0x70], rax
lea rax, [0x14011d198]
mov qword [rsp + 0x78], rax
lea rax, [0x14011d1a0]
mov qword [rbp - 0x80], rax
lea rax, [0x14011d1a8]
mov qword [rbp - 0x78], rax
lea rax, [0x14011d1b0]
mov qword [rbp - 0x70], rax
lea rax, [0x14011d1b8]
mov qword [rbp - 0x68], rax
lea rax, [0x14011d1c0]
mov qword [rbp - 0x60], rax
lea rax, [0x14011d1c8]
mov qword [rbp - 0x58], rax
lea rax, [0x14011d1d0]
mov qword [rbp - 0x50], rax
lea rax, [0x14011d1d8]
mov qword [rbp - 0x48], rax
lea rax, [0x14011d1e0]
mov qword [rbp - 0x40], rax
lea rax, [0x14011d1e8]
mov qword [rbp - 0x38], rax
lea rax, [0x14011d1f0]
mov qword [rbp - 0x30], rax
lea rax, [0x14011d1f8]
mov qword [rbp - 0x28], rax
lea rax, [0x14011d200]
mov qword [rbp - 0x20], rax
lea rax, [0x14011d208]
mov qword [rbp - 0x18], rax
xor r15d, r15d
mov edi, r15d
lea rsi, [r15 - 1]
nop dword [rax]
mov r14, qword [rsp + rdi*8 + 0x20]
mov r8d, 0x400
lea rdx, [rbp + 0x10]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_QueryDosDeviceW]
test eax, eax
je 0x140011c48
call fcn.14000cd60
mov rdx, rax
test rax, rax
je 0x140011e12
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rbp - 0x10], rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.14000c4c0
test al, al
jne 0x140011b3c
lea rcx, [rbp + 0x10]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140011b21
mov r8d, eax
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.14000c750
nop
mov rcx, qword [r12]
sub rcx, 0x18
call fcn.14000ec00
lea rbx, [rax + 0x18]
mov qword [rbp - 8], rbx
cmp dword [rbx - 0x10], 0xa
jge 0x140011b5b
mov eax, esi
jmp 0x140011b7a
lea rcx, [rbx + 0x14]
lea rdx, [0x14011c3b4]
call fcn.1400fa604
test rax, rax
jne 0x140011b74
mov eax, esi
jmp 0x140011b7a
sub rax, rbx
sar rax, 1
mov qword [rbp + 8], r15
mov r8d, eax
lea rdx, [rbp + 8]
lea rcx, [rbp - 8]
call fcn.1400148a0
nop
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x140011e07
mov rax, qword [rbp + 8]
mov rcx, rax
mov r8, rbx
sub r8, rax
nop dword [rax]
movzx edx, word [rcx]
cmp dx, word [rcx + r8]
jne 0x140011bc8
add rcx, 2
test dx, dx
jne 0x140011bb0
mov ecx, r15d
jmp 0x140011bcd
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140011c83
lea rdx, [rax - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140011bf9
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140011c21
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140011c48
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
inc rdi
cmp rdi, 0x1a
jl 0x140011ac0
mov eax, r15d
mov rcx, qword [rbp + 0x810]
xor rcx, rsp
call fcn.1400f4410
lea r11, [rsp + 0x920]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14000cd60
nop
mov rdx, rax
test rax, rax
je 0x140011e07
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rbp], rax
mov rdx, r14
lea rcx, [rbp]
call fcn.14000c4c0
test al, al
jne 0x140011ce3
test r14, r14
je 0x140011cd3
mov rax, rsi
inc rax
cmp word [r14 + rax*2], 0
jne 0x140011cc5
mov r15d, eax
mov r8d, r15d
mov rdx, r14
lea rcx, [rbp]
call fcn.14000c750
nop
mov rdi, qword [rbp]
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.140014b20
mov rdx, qword [rbp - 8]
lea r14, [rdx - 0x18]
mov rbx, qword [r12]
sub rbx, 0x18
cmp r14, rbx
je 0x140011d63
cmp dword [rbx + 0x10], 0
jl 0x140011d57
mov rax, qword [rbx]
cmp qword [r14], rax
jne 0x140011d57
mov rcx, r14
call fcn.14000ec00
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140011d49
lfence
mov r8, qword [rbx]
mov rcx, qword [r8]
mov rax, qword [rcx + 8]
mov rdx, rbx
mov rcx, r8
call qword [case.0x14005eeb3.0]
lea rax, [rdi + 0x18]
mov qword [r12], rax
mov rdi, qword [rbp]
jmp 0x140011d63
mov r8d, dword [rdx - 0x10]
mov rcx, r12
call fcn.14000c750
mov r15d, 1
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, r15d
jg 0x140011d8d
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rbp + 8]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140011db5
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
nop
mov eax, esi
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x140011dd9
lfence
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140011c55
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
jmp 0x140011c55
mov ecx, 0x80004005
call fcn.14000ce90
nop
mov ecx, 0x80004005
call fcn.14000ce90
int3