Function at 0x14005ae50
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x1401770a0]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rdi, r8
mov r15, rdx
mov qword [rsp + 0x58], rdx
mov eax, dword [0x14014c444]
mov dword [rsp + 0x58], eax
movzx eax, word [0x14014c448]
mov word [rsp + 0x5c], ax
movups xmm0, xmmword [str.DeviceMup_]
movups xmmword [rsp + 0x60], xmm0
movsd xmm1, qword [0x14014c460]
movsd qword [rsp + 0x70], xmm1
movzx eax, word [0x14014c468]
mov word [rsp + 0x78], ax
movups xmm0, xmmword [str.DeviceLanmanRedirector_]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x14014c480]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x14014c490]
movups xmmword [rbp - 0x60], xmm0
mov eax, dword [0x14014c4a0]
mov dword [rbp - 0x50], eax
lea rax, [rsp + 0x60]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14005af00
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.14010ba90
test eax, eax
jne 0x14005afef
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
lea r8d, [rax + 2]
lea rdx, [0x14014c2dc]
lea rcx, [rsp + 0x38]
call fcn.140043c20
nop
lea rcx, [rsp + 0x60]
mov rax, rsi
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x14005af60
lea r9, [rdi + rax*2]
nop
inc rsi
cmp word [r9 + rsi*2], 0
jne 0x14005af70
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14005afbf
lea rdi, [rsi + rcx]
mov qword [rsp + 0x48], rdi
lea rbx, [rsp + 0x38]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x38]
lea rcx, [rbx + rcx*2]
lea r8, [rsi + rsi]
mov rdx, r9
call fcn.1400fabc0
mov word [rbx + rdi*2], r14w
jmp 0x14005afd7
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140043120
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [r15 + 0x10], xmm1
jmp 0x14005b171
lea rax, [rbp - 0x80]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14005b000
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.14010ba90
test eax, eax
jne 0x14005b0ef
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
lea r8d, [rax + 2]
lea rdx, [0x14014c2dc]
lea rcx, [rsp + 0x38]
call fcn.140043c20
nop
lea rcx, [rbp - 0x80]
mov rax, rsi
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x14005b060
lea r9, [rdi + rax*2]
nop
inc rsi
cmp word [r9 + rsi*2], 0
jne 0x14005b070
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14005b0bf
lea rdi, [rsi + rcx]
mov qword [rsp + 0x48], rdi
lea rbx, [rsp + 0x38]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x38]
lea rcx, [rbx + rcx*2]
lea r8, [rsi + rsi]
mov rdx, r9
call fcn.1400fabc0
mov word [rbx + rdi*2], r14w
jmp 0x14005b0d7
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140043120
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [r15 + 0x10], xmm1
jmp 0x14005b171
mov ebx, 0x41
nop dword [rax]
nop dword [rax + rax]
mov word [rsp + 0x58], bx
mov r8d, 0x200
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x14005b140
lea rax, [rbp - 0x40]
mov r8, rsi
inc r8
cmp word [rax + r8*2], 0
jne 0x14005b125
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.14010ba90
test eax, eax
je 0x14005b19a
inc bx
cmp bx, 0x5a
jbe 0x14005b100
xor r14d, r14d
mov qword [r15], r14
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], 7
mov word [r15], r14w
xor r8d, r8d
lea rdx, [0x14014b3f0]
mov rcx, r15
call fcn.140043c20
mov rax, r15
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400f8730
mov rbx, qword [rsp + 0x500]
add rsp, 0x4d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
lea rax, [rsp + 0x58]
mov r8, rsi
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14005b1c0
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.140043c20
nop
lea rcx, [rbp - 0x40]
mov rax, rsi
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x14005b1e2
lea r9, [rdi + rax*2]
inc rsi
cmp word [r9 + rsi*2], 0
jne 0x14005b1f1
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14005b240
lea rdi, [rsi + rcx]
mov qword [rsp + 0x48], rdi
lea rbx, [rsp + 0x38]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x38]
lea rcx, [rbx + rcx*2]
lea r8, [rsi + rsi]
mov rdx, r9
call fcn.1400fabc0
mov word [rbx + rdi*2], r14w
jmp 0x14005b258
mov qword [rsp + 0x20], rsi
movzx r8d, byte [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140043120
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [r15 + 0x10], xmm1
jmp 0x14005b171