Function at 0x140009910
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 [0x140178010]
xor rax, rsp
mov qword [rbp + 0x810], rax
mov r12, rcx
lea rax, [0x140103f00]
mov qword [rsp + 0x20], rax
lea rax, [0x140103f08]
mov qword [rsp + 0x28], rax
lea rax, [0x140103f10]
mov qword [rsp + 0x30], rax
lea rax, [0x140103f18]
mov qword [rsp + 0x38], rax
lea rax, [0x140103f20]
mov qword [rsp + 0x40], rax
lea rax, [0x140103f28]
mov qword [rsp + 0x48], rax
lea rax, [0x140103f30]
mov qword [rsp + 0x50], rax
lea rax, [0x140103f38]
mov qword [rsp + 0x58], rax
lea rax, [0x140103f40]
mov qword [rsp + 0x60], rax
lea rax, [0x140103f48]
mov qword [rsp + 0x68], rax
lea rax, [0x140103f50]
mov qword [rsp + 0x70], rax
lea rax, [0x140103f58]
mov qword [rsp + 0x78], rax
lea rax, [0x140103f60]
mov qword [rbp - 0x80], rax
lea rax, [0x140103f68]
mov qword [rbp - 0x78], rax
lea rax, [0x140103f70]
mov qword [rbp - 0x70], rax
lea rax, [0x140103f78]
mov qword [rbp - 0x68], rax
lea rax, [0x140103f80]
mov qword [rbp - 0x60], rax
lea rax, [0x140103f88]
mov qword [rbp - 0x58], rax
lea rax, [0x140103f90]
mov qword [rbp - 0x50], rax
lea rax, [0x140103f98]
mov qword [rbp - 0x48], rax
lea rax, [0x140103fa0]
mov qword [rbp - 0x40], rax
lea rax, [0x140103fa8]
mov qword [rbp - 0x38], rax
lea rax, [0x140103fb0]
mov qword [rbp - 0x30], rax
lea rax, [0x140103fb8]
mov qword [rbp - 0x28], rax
lea rax, [0x140103fc0]
mov qword [rbp - 0x20], rax
lea rax, [0x140103fc8]
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 0x140009c08
call fcn.140004e00
mov rdx, rax
test rax, rax
je 0x140009dd2
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x140050923.0]
add rax, 0x18
mov qword [rbp - 0x10], rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.140004560
test al, al
jne 0x140009afc
lea rcx, [rbp + 0x10]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140009ae1
mov r8d, eax
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.1400047f0
nop
mov rcx, qword [r12]
sub rcx, 0x18
call fcn.140006ca0
lea rbx, [rax + 0x18]
mov qword [rbp - 8], rbx
cmp dword [rbx - 0x10], 0xa
jge 0x140009b1b
mov eax, esi
jmp 0x140009b3a
lea rcx, [rbx + 0x14]
lea rdx, [0x1401032b4]
call fcn.1400e5534
test rax, rax
jne 0x140009b34
mov eax, esi
jmp 0x140009b3a
sub rax, rbx
sar rax, 1
mov qword [rbp + 8], r15
mov r8d, eax
lea rdx, [rbp + 8]
lea rcx, [rbp - 8]
call fcn.14000bf50
nop
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x140009dc7
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 0x140009b88
add rcx, 2
test dx, dx
jne 0x140009b70
mov ecx, r15d
jmp 0x140009b8d
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140009c43
lea rdx, [rax - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009bb9
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009be1
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009c08
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
inc rdi
cmp rdi, 0x1a
jl 0x140009a80
mov eax, r15d
mov rcx, qword [rbp + 0x810]
xor rcx, rsp
call fcn.1400df340
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.140004e00
nop
mov rdx, rax
test rax, rax
je 0x140009dc7
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x140050923.0]
add rax, 0x18
mov qword [rbp], rax
mov rdx, r14
lea rcx, [rbp]
call fcn.140004560
test al, al
jne 0x140009ca3
test r14, r14
je 0x140009c93
mov rax, rsi
inc rax
cmp word [r14 + rax*2], 0
jne 0x140009c85
mov r15d, eax
mov r8d, r15d
mov rdx, r14
lea rcx, [rbp]
call fcn.1400047f0
nop
mov rdi, qword [rbp]
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.14000c1d0
mov rdx, qword [rbp - 8]
lea r14, [rdx - 0x18]
mov rbx, qword [r12]
sub rbx, 0x18
cmp r14, rbx
je 0x140009d23
cmp dword [rbx + 0x10], 0
jl 0x140009d17
mov rax, qword [rbx]
cmp qword [r14], rax
jne 0x140009d17
mov rcx, r14
call fcn.140006ca0
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140009d09
lfence
mov r8, qword [rbx]
mov rcx, qword [r8]
mov rax, qword [rcx + 8]
mov rdx, rbx
mov rcx, r8
call qword [case.0x140050923.0]
lea rax, [rdi + 0x18]
mov qword [r12], rax
mov rdi, qword [rbp]
jmp 0x140009d23
mov r8d, dword [rdx - 0x10]
mov rcx, r12
call fcn.1400047f0
mov r15d, 1
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, r15d
jg 0x140009d4d
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
nop
mov rdx, qword [rbp + 8]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009d75
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
nop
mov eax, esi
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x140009d99
lfence
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140009c15
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140050923.0]
jmp 0x140009c15
mov ecx, 0x80004005
call fcn.140004f30
nop
mov ecx, 0x80004005
call fcn.140004f30
int3