Function at 0x180008830
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x268
mov qword [rsp + 0x100], 0xfffffffffffffffe
mov rax, qword [0x180020010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov dword [rsp + 0x24], 0xd2
mov eax, dword [rsp + 0x24]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.180004910
mov qword [rsp + 0xb0], rax
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.180005e80
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x38]
call fcn.18000ff00
mov rdx, qword [rsp + 0xa8]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1800089a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov r8d, 1
mov edx, 2
lea rcx, [rsp + 0x120]
call fcn.180004260
mov qword [rsp + 0xb8], rax
lea rdx, str.GetLogicalDriveStrings_failed__0x
lea rcx, [rsp + 0x120]
call fcn.180002290
mov qword [rsp + 0x60], rax
lea rdx, [0x18000caa0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov qword [rsp + 0x68], rax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov qword [rsp + 0x70], rax
lea rdx, [0x1800178a8]
mov rcx, qword [rsp + 0x70]
call fcn.180002290
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x120]
call fcn.18000ff40
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x108]
call fcn.180005270
lea rdx, [0x18001cca8]
lea rcx, [rsp + 0x108]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rsp + 0x230]
call fcn.180005660
lea rcx, [rsp + 0x120]
call fcn.180006560
nop
mov eax, dword [rsp + 0x24]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.18000f1e0
xor eax, eax
mov word [rsp + 0x28], ax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x38]
call fcn.18000c420
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x38]
call fcn.18000c420
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x38]
call fcn.18000bcf0
lea r9, [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
mov r8, qword [rcx]
mov rdx, qword [rax]
lea rcx, [rsp + 0xd8]
call fcn.180003d70
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0xa0]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x38]
call fcn.18000c780
mov rax, qword [rsp + 0x270]
mov rcx, rax
call fcn.18000be30
lea rcx, [rsp + 0x210]
call fcn.1800046d0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.18000bcf0
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x38]
call fcn.18000c420
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180005e10
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x180008b63
mov eax, 0x5c
mov word [rsp + 0x2a], ax
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x38]
call fcn.18000c420
lea r9, [rsp + 0x2a]
mov r8, qword [rax]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.180003d00
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x210]
call fcn.180003610
mov rax, qword [rsp + 0x270]
lea rdx, [rsp + 0x210]
mov rcx, rax
call fcn.18000e070
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x38]
call fcn.18000c420
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180005e10
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x180008b5e
lea rcx, [rsp + 0x30]
call fcn.180005f80
jmp 0x180008a8c
lea rcx, [rsp + 0x210]
call fcn.1800056a0
nop
lea rcx, [rsp + 0x38]
call fcn.180005790
nop
jmp 0x180008b7e
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180011010
add rsp, 0x268
ret