Function at 0x1400970f0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r12, rdx
mov r15, rcx
xor r13d, r13d
mov word [rbp], r13w
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14059dfb8], eax
jg 0x140097672
mov r8, r12
mov rdx, r15
call fcn.140096ea0
test al, al
jne 0x14009763d
lea rdx, [rbp]
mov ecx, 0x103
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1400973ca
xorps xmm0, xmm0
mov rsi, qword [r15 + 0x10]
add rsi, 1
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r13
je 0x140097209
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x1400976ae
lea rbx, [rsi + rsi]
cmp rbx, 0x1000
jb 0x1400971d7
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x1400976b4
call fcn.14014f518
test rax, rax
je 0x1400976ba
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400971ec
test rbx, rbx
je 0x1400971e9
mov rcx, rbx
call fcn.14014f518
mov rdi, rax
jmp 0x1400971ec
mov rdi, r13
mov qword [rbp - 0x68], rdi
lea r14, [rbx + rdi]
mov qword [rbp - 0x58], r14
mov r8, rbx
xor edx, edx
mov rcx, rdi
call fcn.1403ec370
mov qword [rbp - 0x60], r14
mov eax, dword [0x14050251c]
mov dword [rbp - 0x10], eax
movzx eax, word [0x140502520]
mov word [rbp - 0xc], ax
lea rbx, [rbp]
movzx eax, word [rbp]
mov rsi, 0xffffffffffffffff
movzx edi, byte [rsp + 0x30]
mov word [rbp - 0x10], ax
mov r8, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
sub r8, rdx
sar r8, 1
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x140097372
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
mov rdx, qword [rbp - 0x68]
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140097270
lea rcx, [rsp + 0x78]
call fcn.14001fb40
nop
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400972ba
lea rax, [rcx + 1]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
cmp rdx, 7
cmova rax, qword [rsp + 0x78]
mov dword [rax + rcx*2], 0x5c
jmp 0x1400972dd
mov qword [rsp + 0x20], 1
lea r9, [0x1404f3ab0]
movzx r8d, dil
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.14001da20
mov rax, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
cmp qword [r15 + 0x10], rax
jb 0x140097335
lea rcx, [rsp + 0x78]
cmp rdx, 7
cmova rcx, qword [rsp + 0x78]
mov r9, r15
cmp qword [r15 + 0x18], 7
jbe 0x140097307
mov r9, qword [r15]
test r9, r9
je 0x14009732b
test rcx, rcx
je 0x14009732b
mov r8, rax
mov rdx, rcx
mov rcx, r9
call fcn.1401710a4
mov ecx, eax
mov rdx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x78]
jmp 0x14009732d
mov ecx, esi
test ecx, ecx
je 0x1400973d1
cmp rdx, 7
jbe 0x140097372
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009736d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009766c
call fcn.14014f510
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x140097372
movzx eax, word [rbx]
test ax, ax
jne 0x140097231
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400973ca
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400973c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400976ba
call fcn.14014f510
xor eax, eax
jmp 0x140097642
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov rcx, qword [r15 + 0x10]
cmp rcx, rax
jb 0x1400976c0
sub rcx, rax
mov r8, rsi
cmp rcx, rsi
cmovb r8, rcx
cmp qword [r15 + 0x18], 7
jbe 0x140097404
mov r15, qword [r15]
lea rdx, [r15 + rax*2]
lea rcx, [rbp - 0x50]
call fcn.14001fb40
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rax, [rbp - 0x10]
nop word [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140097430
mov r8, rsi
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x38]
call fcn.14001fb40
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x140516800]
movdqu xmmword [rbp - 0x20], xmm1
mov word [rbp - 0x30], r13w
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.140089510
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400223f0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x1400974c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400974c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400976c6
call fcn.14014f510
lea rdx, [rsp + 0x58]
mov rcx, r12
call fcn.14001f2e0
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140097515
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009750f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400976cc
call fcn.14014f510
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140097558
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140097552
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400976d2
call fcn.14014f510
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x140097598
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140097593
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400976d8
call fcn.14014f510
movdqa xmm0, xmmword [0x140516800]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r13w
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1400975eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400975e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400976de
call fcn.14014f510
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r13w
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14009763d
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140097638
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400976e4
call fcn.14014f510
mov eax, 1
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14014f4f0
mov rbx, qword [rsp + 0x370]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14015fa1c
nop
lea rcx, [0x14059dfb8]
call fcn.14014f708
cmp dword [0x14059dfb8], 0xffffffff
jne 0x14009714e
call fcn.140096c80
lea rcx, [0x140416f90]
call fcn.14014f9a8
nop
lea rcx, [0x14059dfb8]
call fcn.14014f69c
jmp 0x14009714e
call fcn.1400142f0
int3
call fcn.14001cd90
int3
call fcn.14015fa1c
nop
call fcn.140019bf0
nop
call fcn.14015fa1c
int3
call fcn.14015fa1c
nop
call fcn.14015fa1c
nop
call fcn.14015fa1c
nop
call fcn.14015fa1c
nop
call fcn.14015fa1c
int3