Function at 0x140165de4
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x210
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rbp + 0x100], rax
lea rcx, [rsp + 0x50]
call fcn.14014cd50
nop
xor r12d, r12d
mov byte [rsp + 0x20], r12b
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140153dc0
nop
mov byte [rsp + 0x20], r12b
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140153dc0
nop
lea rcx, [rsp + 0x70]
call fcn.140113d00
nop
lea rcx, [rsp + 0x50]
call fcn.1401306a8
lea rcx, [rbp + 0x60]
call fcn.1401356b0
nop
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea r14d, [r12 + 1]
mov r15, qword [rsp + 0x50]
cmp r15, rax
je 0x1401661f2
add r15, 0x48
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
lea r13, [r15 - 8]
movzx ecx, byte [r13]
sub ecx, 4
je 0x1401660c6
sub ecx, 2
je 0x1401660c6
cmp ecx, 1
je 0x140165f18
mov rax, qword [rbx]
mov r14, qword [rax]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.1400f3ff0
mov rsi, rax
lea r8, [r15 - 0x28]
lea rdx, [r15 - 0x48]
lea rcx, [rbp + 0x20]
call fcn.14012e600
nop
movabs r10, 0x81e91fb374dcc170
mov r8, rsi
mov rdx, rax
mov rcx, rbx
mov rax, r14
call qword [case.0x140084760.0]
nop
lea rcx, [rbp + 0x20]
call fcn.14007d960
jmp 0x1401661c1
lea rdx, [0x1403de5d4]
lea rcx, [rbp - 0x20]
call fcn.1400d16f0
nop
mov r13, qword [r15 - 0x38]
lea rdx, [r15 - 0x48]
lea rcx, [rbp - 0x40]
call fcn.14008cc50
nop
lea rdx, [0x1403de5dc]
lea rcx, [rbp - 0x40]
call fcn.14009a150
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
nop dword [rax + rax]
mov dword [rsp + 0x28], eax
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
lea edx, [r12 + 0x41]
mov word [rcx], dx
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rax, qword [rbp - 0x40]
mov word [rax + r13*2], dx
mov rax, qword [rbx]
mov r14, qword [rax]
lea rax, [rbp + 0x80]
mov qword [rsp + 0x48], rax
mov rdx, r15
lea rcx, [rbp + 0x80]
call fcn.1400f3ff0
mov rsi, rax
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xc0]
call fcn.14012e600
nop
movabs r10, 0x81e91fb374dcc170
mov r8, rsi
mov rdx, rax
mov rcx, rbx
mov rax, r14
call qword [case.0x140084760.0]
nop
lea rcx, [rbp + 0xc0]
call fcn.14007d960
mov cl, r12b
mov r14d, 1
mov eax, r14d
shl eax, cl
test dword [rsp + 0x28], eax
je 0x140166098
xor esi, esi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], si
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.1400c2998
test eax, eax
js 0x14016608f
cmp qword [rbp + 0x30], rsi
jbe 0x14016608f
mov rax, qword [rdi]
mov r14, qword [rax]
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x48], rax
mov rdx, r15
lea rcx, [rbp + 0xc0]
call fcn.1400f3ff0
mov rsi, rax
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x80]
call fcn.14012e600
nop
movabs r10, 0x81e91fb374dcc170
mov r8, rsi
mov rdx, rax
mov rcx, rdi
mov rax, r14
call qword [case.0x140084760.0]
nop
lea rcx, [rbp + 0x80]
call fcn.14007d960
mov r14d, 1
lea rcx, [rbp + 0x20]
call fcn.14007bf60
add r12w, r14w
cmp r12w, 0x19
jbe 0x140165f5b
lea rcx, [rbp - 0x40]
call fcn.14007bf60
nop
lea rcx, [rbp - 0x20]
call fcn.14007bf60
lea r13, [r15 - 8]
xor r12d, r12d
jmp 0x1401661c7
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r12w
xor ecx, ecx
lea r8, [rbp - 0x20]
lea rdx, [0x1404fec08]
call fcn.14012b5f0
test eax, eax
js 0x14016614f
mov rax, qword [rbx]
mov r14, qword [rax]
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x48], rax
mov rdx, r15
lea rcx, [rbp + 0xc0]
call fcn.1400f3ff0
mov rsi, rax
lea rdx, [r15 - 0x48]
lea r8, [rbp - 0x20]
lea rcx, [rbp + 0x80]
call fcn.14012e600
nop
movabs r10, 0x81e91fb374dcc170
mov r8, rsi
mov rdx, rax
mov rcx, rbx
mov rax, r14
call qword [case.0x140084760.0]
nop
lea rcx, [rbp + 0x80]
call fcn.14007d960
cmp qword [rbp + 0x70], r12
jbe 0x1401661b8
mov rax, qword [rdi]
mov r14, qword [rax]
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x48], rax
mov rdx, r15
lea rcx, [rbp + 0xc0]
call fcn.1400f3ff0
mov rsi, rax
lea rdx, [r15 - 0x48]
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.14012e600
nop
movabs r10, 0x81e91fb374dcc170
mov r8, rsi
mov rdx, rax
mov rcx, rdi
mov rax, r14
call qword [case.0x140084760.0]
nop
lea rcx, [rbp + 0x80]
call fcn.14007d960
nop
lea rcx, [rbp - 0x20]
call fcn.14007bf60
mov r14d, 1
lea r9, [r15 - 0x48]
mov r8, r13
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140131bb8
add r15, 0x88
lea rax, [r15 - 0x48]
cmp rax, qword [rsp + 0x40]
jne 0x140165e9d
lea rbx, [0x1404feaa0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov qword [rsp + 0x40], rbx
lea rdx, [rsp + 0x38]
lea rcx, [0x1404feaa8]
call fcn.14014fe40
lea rdx, [rsp + 0x30]
lea rcx, [0x1404feab0]
call fcn.14014fe40
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
lea rcx, [0x1404fea48]
call fcn.140163704
lea rbx, [0x1404fea60]
mov qword [rsp + 0x28], rbx
mov eax, dword [rsp + 0x70]
mov dword [0x1404fea60], eax
mov r8, qword [rsp + 0x78]
mov rdx, qword [r8]
lea rcx, [0x1404fea68]
call fcn.140163614
mov rdx, qword [0x1404fea70]
mov rcx, rbx
call fcn.1400fc31c
mov rdx, rax
mov rcx, rbx
call fcn.140167264
mov qword [rsp + 0x28], r12
lea rcx, [rsp + 0x28]
call fcn.140164c00
mov byte [0x1404fea40], r14b
lea rcx, [rsp + 0x40]
call fcn.14010baf0
nop
lea rcx, [rbp + 0x60]
call fcn.14007bf60
nop
lea rcx, [rsp + 0x70]
call fcn.140125de8
nop
lea rcx, [rsp + 0x30]
call fcn.14012822c
nop
lea rcx, [rsp + 0x38]
call fcn.14012822c
nop
lea rcx, [rsp + 0x50]
call fcn.14012824c
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140156340
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret