Function at 0x14009981c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rsp + 0x2b8], rax
mov rsi, rcx
mov r14, qword [rdx]
lea rbx, [r14 - 0x18]
mov rcx, qword [rbx]
mov rax, qword [rcx]
movabs r10, 0xb3651e715a5ef170
mov rax, qword [rax + 0x20]
call qword [case.0x14001f589.0]
mov rcx, rax
xor r15d, r15d
cmp dword [rbx + 0x10], r15d
jl 0x14009987f
cmp rax, qword [rbx]
jne 0x14009987f
lock inc dword [rbx + 0x10]
jmp 0x1400998cc
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.0x14001f589.0]
mov rbx, rax
test rax, rax
jne 0x1400998ae
call fcn.140064088
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.1400111d4
add rbx, 0x18
mov qword [rsp + 0x40], rbx
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rsp + 0x40]
call fcn.14001b154
cmp ax, 0x2a
jne 0x1400998fb
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rsp + 0x40]
call fcn.140087d08
jmp 0x140099918
cmp ax, 0x5c
je 0x14009991d
cmp ax, 0x2f
je 0x14009991d
lea rdx, [0x1400aa640]
lea rcx, [rsp + 0x40]
call fcn.140023bd8
mov rbx, qword [rsp + 0x40]
mov edi, r15d
lea rcx, [rsp + 0x80]
call fcn.14001a83c
nop
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi + 0xa0]
call fcn.1400040b0
test eax, eax
jne 0x140099961
cmp dword [rsp + 0xa4], r15d
jne 0x140099a45
lea edi, [rax + 1]
jmp 0x140099a45
cmp eax, 1
jne 0x140099a45
lea rcx, [rsp + 0xc0]
call fcn.140014430
nop
mov rdx, rbx
lea rcx, [rsp + 0xc0]
call fcn.14000764c
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xc0]
call fcn.140018584
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.140016b70
nop
mov r8d, 3
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.14001a564
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400202e0
nop
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
mov dword [rsp + 0x38], 0xa
lea rax, [rsp + 0x2a0]
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]
mov edi, r15d
test eax, eax
sete dil
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
nop
lea rcx, [rsp + 0xc0]
call fcn.140014494
lea rdx, [rsi + 8]
cmp qword [rdx + 0x18], 8
jb 0x140099a53
mov rdx, qword [rdx]
lea rcx, [rsp + 0x60]
call fcn.140055034
nop
lea rdx, [rsi + 0x28]
cmp qword [rdx + 0x18], 8
jb 0x140099a6c
mov rdx, qword [rdx]
lea rcx, [rsp + 0x58]
call fcn.140055034
nop
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140055034
nop
mov byte [rsp + 0x20], r15b
mov r9d, edi
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140003e94
mov edi, eax
cmp eax, 0x80070005
cmove edi, r15d
lea rcx, [rsp + 0x50]
call fcn.14005392c
nop
lea rcx, [rsp + 0x58]
call fcn.14005392c
nop
lea rcx, [rsp + 0x60]
call fcn.14005392c
nop
lea rcx, [rsp + 0x80]
call fcn.140016a00
nop
lea rcx, [rbx - 0x18]
call fcn.1400182a0
mov eax, edi
jmp 0x140099aec
mov rcx, qword [rsp + 0x2b8]
xor rcx, rsp
call fcn.140036b90
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret