Function at 0x14002d840
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x328]
sub rsp, 0x400
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14006cfc0]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r13, rcx
mov qword [rsp + 0x50], rcx
xor r12d, r12d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
mov rdx, qword [0x14006dd78]
sub rdx, qword [0x14006dd70]
sar rdx, 3
movabs rax, 0xf0f0f0f0f0f0f0f1
imul rdx, rax
test rdx, rdx
je 0x14002d904
lea rcx, [rsp + 0x28]
call fcn.14002df94
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0x28]
mov r8, qword [rsp + 0x28]
mov rdx, qword [0x14006dd78]
mov rcx, qword [0x14006dd70]
call fcn.14002ccf4
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x60], r12
lea rcx, [rsp + 0x60]
call fcn.14002d20c
nop
mov byte [rsp + 0x20], r12b
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.140015e04
nop
mov byte [rsp + 0x21], r12b
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x40]
call fcn.140015e04
nop
lea rcx, [rbp - 0x70]
call fcn.14002a894
nop
lea rcx, [rsp + 0x28]
call fcn.14002d4d4
lea rcx, [rbp + 0x190]
call fcn.14002d77c
nop
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov edi, 1
mov r15, qword [rsp + 0x28]
cmp r15, rax
je 0x14002dd00
add r15, 0x48
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov r13d, 1
movzx ecx, byte [r15 - 8]
sub ecx, 4
je 0x14002dbc4
sub ecx, 2
je 0x14002dbc4
cmp ecx, 1
je 0x14002da03
mov rax, qword [rbx]
mov r14, qword [rax]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x68], rax
mov rdx, r15
lea rcx, [rbp - 0x30]
call fcn.14000e2ec
mov rsi, rax
lea rdx, [r15 - 0x48]
lea rcx, [rbp + 0x1b0]
call fcn.140014214
nop
lea rdx, [r15 - 0x28]
lea rcx, [rbp + 0x1d0]
call fcn.140014214
nop
mov r8, rsi
lea rdx, [rbp + 0x1b0]
mov rcx, rbx
mov rax, r14
call fcn.140047010
nop
lea rcx, [rbp + 0x1b0]
call fcn.14000e474
jmp 0x14002dccb
lea rdx, [0x140052194]
lea rcx, [rbp + 0x170]
call fcn.14001356c
nop
mov rsi, qword [r15 - 0x38]
lea rdx, [r15 - 0x48]
lea rcx, [rbp + 0x150]
call fcn.140014214
nop
lea rdx, [0x14005219c]
lea rcx, [rbp + 0x150]
call fcn.14000c6c8
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
nop dword [rax + rax]
mov dword [rsp + 0x24], eax
lea r14, [rsi + rsi]
mov qword [rsp + 0x68], r14
lea rcx, [rbp + 0x170]
call fcn.140009b30
lea esi, [r12 + 0x41]
mov word [rax], si
lea rcx, [rbp + 0x150]
call fcn.140009b30
mov word [rax + r14], si
mov rax, qword [rbx]
mov r14, qword [rax]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x58], rax
mov rdx, r15
lea rcx, [rbp + 0x10]
call fcn.14000e2ec
mov rsi, rax
lea r8, [rbp + 0x170]
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x1f0]
call fcn.14000f0b4
nop
mov r8, rsi
mov rdx, rax
mov rcx, rbx
mov rax, r14
call fcn.140047010
nop
lea rcx, [rbp + 0x1f0]
call fcn.14000e474
mov cl, r12b
mov eax, r13d
shl eax, cl
test dword [rsp + 0x24], eax
je 0x14002db8f
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
xor esi, esi
mov qword [rbp + 0x120], rsi
mov qword [rbp + 0x128], 7
mov word [rbp + 0x110], si
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x170]
call fcn.140009bdc
test eax, eax
js 0x14002db83
cmp qword [rbp + 0x120], rsi
jbe 0x14002db83
mov rax, qword [rdi]
mov r14, qword [rax]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, r15
lea rcx, [rbp + 0x50]
call fcn.14000e2ec
mov rsi, rax
lea r8, [rbp + 0x110]
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x230]
call fcn.14000f0b4
nop
mov r8, rsi
mov rdx, rax
mov rcx, rdi
mov rax, r14
call fcn.140047010
nop
lea rcx, [rbp + 0x230]
call fcn.14000e474
nop
lea rcx, [rbp + 0x110]
call fcn.140013e34
add r12w, r13w
cmp r12w, 0x19
mov r14, qword [rsp + 0x68]
jbe 0x14002da58
lea rcx, [rbp + 0x150]
call fcn.140013e34
nop
lea rcx, [rbp + 0x170]
call fcn.140013e34
xor r12d, r12d
jmp 0x14002dccb
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
mov qword [rbp + 0x140], r12
mov qword [rbp + 0x148], 7
mov word [rbp + 0x130], r12w
xor ecx, ecx
lea r8, [rbp + 0x130]
lea rdx, [0x14006dcb8]
call fcn.14002b0d0
test eax, eax
js 0x14002dc5b
mov rax, qword [rbx]
mov r14, qword [rax]
lea rax, [rbp + 0x90]
mov qword [rsp + 0x58], rax
mov rdx, r15
lea rcx, [rbp + 0x90]
call fcn.14000e2ec
mov rsi, rax
lea rdx, [r15 - 0x48]
lea r8, [rbp + 0x130]
lea rcx, [rbp + 0x270]
call fcn.14002cf90
nop
mov r8, rsi
mov rdx, rax
mov rcx, rbx
mov rax, r14
call fcn.140047010
nop
lea rcx, [rbp + 0x270]
call fcn.14000e474
cmp qword [rbp + 0x1a0], r12
jbe 0x14002dcbf
mov rax, qword [rdi]
mov r14, qword [rax]
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x58], rax
mov rdx, r15
lea rcx, [rbp + 0xd0]
call fcn.14000e2ec
mov rsi, rax
lea rdx, [r15 - 0x48]
lea r8, [rbp + 0x190]
lea rcx, [rbp + 0x2b0]
call fcn.14002cf90
nop
mov r8, rsi
mov rdx, rax
mov rcx, rdi
mov rax, r14
call fcn.140047010
nop
lea rcx, [rbp + 0x2b0]
call fcn.14000e474
nop
lea rcx, [rbp + 0x130]
call fcn.140013e34
lea r9, [r15 - 0x48]
lea r8, [r15 - 8]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.14002cdd0
add r15, 0x88
lea rax, [r15 - 0x48]
cmp rax, qword [rsp + 0x70]
jne 0x14002d980
mov r13, qword [rsp + 0x50]
mov edi, 1
lea rbx, [r13 + 0x108]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov qword [rsp + 0x50], rbx
lea rcx, [r13 + 0x110]
lea rdx, [rsp + 0x48]
call fcn.1400299c8
lea rcx, [r13 + 0x118]
lea rdx, [rsp + 0x40]
call fcn.1400299c8
lea rbx, [r13 + 0xb0]
lea rax, [rsp + 0x28]
cmp rbx, rax
je 0x14002dd7e
mov rcx, rbx
call fcn.14002bf5c
mov rax, qword [rsp + 0x28]
mov qword [rbx], rax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x38]
mov qword [rbx + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r12
lea rcx, [r13 + 0xc8]
lea rdx, [rbp - 0x70]
call fcn.14002d260
xchg byte [r13 + 0xa8], dil
lea rcx, [rsp + 0x50]
call fcn.1400158d8
nop
lea rcx, [rbp + 0x190]
call fcn.140013e34
nop
lea rcx, [rbp - 0x70]
call fcn.14002aadc
nop
lea rcx, [rsp + 0x40]
call fcn.140015fc4
nop
lea rcx, [rsp + 0x48]
call fcn.140015fc4
nop
lea rcx, [rsp + 0x28]
call fcn.14002bf5c
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.1400165f0
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret