Function at 0x140001008
Capabilities:
Get disk information

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5b8]
sub rsp, 0x6b8
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
mov rdi, qword [rbp + 0x620]
mov r14, rcx
lea rcx, [rbp + 0xd8]
mov r13, r9
mov r15, r8
mov r12, rdx
call qword [sym.imp.ulib.dll_public:_void___cdecl_DSTRING::constructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rbp + 0x18]
call qword [sym.imp.ulib.dll_public:_void___cdecl_DSTRING::constructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.ulib.dll_public:_void___cdecl_DSTRING::constructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rbp - 0x18]
call qword [sym.imp.ulib.dll_public:_void___cdecl_DSTRING::constructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rbp + 0x78]
call qword [sym.imp.ulib.dll_public:_void___cdecl_DSTRING::constructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rbp + 0x48]
call qword [sym.imp.ulib.dll_public:_void___cdecl_DSTRING::constructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ulib.dll_public:_void___cdecl_DSTRING::constructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ulib.dll_public:_void___cdecl_DSTRING::constructor_void____ptr64]
nop dword [rax + rax]
lea rdx, [rsp + 0x58]
mov rcx, r12
call qword [sym.imp.IfsUtil.dll_public:_static_unsigned_char___cdecl_IFS_SYSTEM::DosDriveNameToNtDriveName_class_WSTRING_const____ptr64__class_WSTRING____ptr64_]
nop dword [rax + rax]
or esi, 0xffffffff
xor ebx, ebx
test al, al
je 0x140001210
mov r8d, esi
lea rdx, [0x140003444]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_WSTRING::Initialize_char_const____ptr64__unsigned_long_int____ptr64]
nop dword [rax + rax]
test al, al
je 0x140001210
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_WSTRING::Strcat_class_WSTRING_const____ptr64____ptr64]
nop dword [rax + rax]
test al, al
je 0x140001210
mov byte [rsp + 0x28], 1
lea rcx, [rsp + 0x58]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, esi
xor edx, edx
call qword [sym.imp.ulib.dll_public:_unsigned_short_int____ptr64___cdecl_WSTRING::QueryWSTR_unsigned_long_int__unsigned_long_int__unsigned_short_int____ptr64__unsigned_long_int__unsigned_char_const___ptr64]
nop dword [rax + rax]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x140001181
lea rcx, [rbp - 0x48]
call qword [sym.imp.ulib.dll_public_virtual:_void___cdecl_DSTRING::destructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ulib.dll_public_virtual:_void___cdecl_DSTRING::destructor_void____ptr64]
nop dword [rax + rax]
jmp 0x140001239
movzx eax, word [rsp + 0x70]
lea r9, [rbp + 0x108]
add ax, ax
mov dword [rsp + 0x28], 0x10
mov word [rsp + 0x48], ax
lea r8, [rbp - 0x78]
mov word [rsp + 0x4a], ax
lea rcx, [rsp + 0x40]
lea rax, [rsp + 0x48]
mov dword [rbp - 0x78], 0x30
xorps xmm0, xmm0
mov qword [rbp - 0x68], rax
mov edx, 0x100001
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x60], 0x40
movdqu xmmword [rbp - 0x58], xmm0
mov dword [rsp + 0x20], 3
call qword [sym.imp.ntdll.dll_NtOpenFile]
nop dword [rax + rax]
test eax, eax
lea rcx, [rbp - 0x48]
setns sil
call qword [sym.imp.ulib.dll_public_virtual:_void___cdecl_DSTRING::destructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ulib.dll_public_virtual:_void___cdecl_DSTRING::destructor_void____ptr64]
nop dword [rax + rax]
jmp 0x140001234
lea rcx, [rbp - 0x48]
call qword [sym.imp.ulib.dll_public_virtual:_void___cdecl_DSTRING::destructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ulib.dll_public_virtual:_void___cdecl_DSTRING::destructor_void____ptr64]
nop dword [rax + rax]
mov sil, bl
test sil, sil
jne 0x140001272
mov rax, qword [rdi]
mov r9d, 3
xor r8d, r8d
mov edx, 0x7f4
mov rcx, rdi
mov rax, qword [rax + 0x20]
call qword [0x1400033e0]
lea rdx, [0x140003440]
mov rcx, rdi
call qword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_MESSAGE::Display_char_const____ptr64____ptr64]
nop dword [rax + rax]
jmp 0x140001597
mov rcx, qword [rsp + 0x40]
lea r8, [rbp + 0x130]
mov r9d, 0x418
mov dword [rsp + 0x20], 1
lea rdx, [rbp + 0x118]
call qword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
test eax, eax
jns 0x1400012b9
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
jmp 0x140001597
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov eax, dword [rbp + 0x13c]
lea rdx, [rbp + 0x142]
shr rax, 1
lea rcx, [rbp + 0xd8]
or esi, 0xffffffff
mov r8d, esi
mov word [rbp + rax*2 + 0x142], bx
call qword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_WSTRING::Initialize_unsigned_short_int_const____ptr64__unsigned_long_int____ptr64]
nop dword [rax + rax]
test al, al
je 0x140001597
mov rax, qword [rdi]
xor r8d, r8d
mov r9d, 3
mov rcx, rdi
mov rax, qword [rax + 0x20]
cmp dword [rbp + 0x13c], ebx
je 0x140001348
mov edx, 0x1773
call qword [0x1400033e0]
lea r9, [rbp + 0xd8]
mov r8, r14
lea rdx, str._W_W
mov rcx, rdi
call qword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_MESSAGE::Display_char_const____ptr64____ptr64]
nop dword [rax + rax]
mov al, 1
jmp 0x14000136e
mov edx, 0x1772
call qword [0x1400033e0]
mov r8, r14
lea rdx, [0x140003450]
mov rcx, rdi
call qword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_MESSAGE::Display_char_const____ptr64____ptr64]
nop dword [rax + rax]
mov al, bl
mov byte [r15], al
cmp word [rbp + 0x13a], bx
jne 0x140001383
cmp word [rbp + 0x138], bx
je 0x1400013c7
mov rax, qword [rdi]
mov r9d, 3
xor r8d, r8d
mov edx, 0xbbb
mov rcx, rdi
mov rax, qword [rax + 0x20]
call qword [0x1400033e0]
movzx r9d, word [rbp + 0x138]
lea rdx, str._04X_04X
movzx r8d, word [rbp + 0x13a]
mov rcx, rdi
call qword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_MESSAGE::Display_char_const____ptr64____ptr64]
nop dword [rax + rax]
mov r8d, esi
lea rdx, [0x140003444]
lea rcx, [rbp + 0xa8]
mov r14d, 0xbbc
call qword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_WSTRING::Initialize_char_const____ptr64__unsigned_long_int____ptr64]
nop dword [rax + rax]
test al, al
je 0x14000154f
mov r9d, esi
lea rcx, [rbp + 0x18]
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_WSTRING::Initialize_class_WSTRING_const____ptr64__unsigned_long_int__unsigned_long_int____ptr64]
nop dword [rax + rax]
test al, al
je 0x14000154f
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x18]
call qword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_WSTRING::Strcat_class_WSTRING_const____ptr64____ptr64]
nop dword [rax + rax]
test al, al
je 0x14000154f
mov r8d, esi
lea rdx, str.NTFS
lea rcx, [rbp + 0x78]
call qword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_WSTRING::Initialize_char_const____ptr64__unsigned_long_int____ptr64]
nop dword [rax + rax]
test al, al
je 0x14000154f
mov r8d, esi
lea rdx, str.ReFS
lea rcx, [rbp + 0x48]
call qword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_WSTRING::Initialize_char_const____ptr64__unsigned_long_int____ptr64]
nop dword [rax + rax]
test al, al
je 0x14000154f
mov byte [rsp + 0x28], 1
lea rcx, [rbp + 0x18]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, esi
xor edx, edx
call qword [sym.imp.ulib.dll_public:_unsigned_short_int____ptr64___cdecl_WSTRING::QueryWSTR_unsigned_long_int__unsigned_long_int__unsigned_short_int____ptr64__unsigned_long_int__unsigned_char_const___ptr64]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000154f
mov dword [rsp + 0x38], 0x28
lea rax, [rbp + 0x550]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
nop dword [rax + rax]
test eax, eax
je 0x140001531
or r8d, 0xffffffff
lea rdx, [rbp + 0x550]
lea rcx, [rbp - 0x18]
call qword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_WSTRING::Initialize_unsigned_short_int_const____ptr64__unsigned_long_int____ptr64]
nop dword [rax + rax]
test al, al
je 0x140001531
lea rdx, [rbp + 0x78]
lea rcx, [rbp - 0x18]
call qword [sym.imp.ulib.dll_public:_long_int___cdecl_WSTRING::Stricmp_class_WSTRING_const____ptr64_const___ptr64]
nop dword [rax + rax]
test eax, eax
je 0x14000152b
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x18]
call qword [sym.imp.ulib.dll_public:_long_int___cdecl_WSTRING::Stricmp_class_WSTRING_const____ptr64_const___ptr64]
nop dword [rax + rax]
test eax, eax
jne 0x140001531
mov r14d, 0xbd9
mov rcx, qword gs:[0x60]
mov r8, rsi
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rax, qword [rdi]
mov r9d, 3
mov edx, r14d
mov rcx, rdi
mov rax, qword [rax + 0x20]
lea r8d, [r9 - 2]
call qword [0x1400033e0]
lea rdx, [0x140003440]
mov rcx, rdi
call qword [sym.imp.ulib.dll_public:_unsigned_char___cdecl_MESSAGE::Display_char_const____ptr64____ptr64]
nop dword [rax + rax]
mov rax, qword [rdi]
mov rdx, r13
mov rcx, rdi
mov rax, qword [rax + 0x38]
call qword [0x1400033e0]
mov bl, al
lea rcx, [rbp + 0x48]
call qword [sym.imp.ulib.dll_public_virtual:_void___cdecl_DSTRING::destructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rbp + 0x78]
call qword [sym.imp.ulib.dll_public_virtual:_void___cdecl_DSTRING::destructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rbp - 0x18]
call qword [sym.imp.ulib.dll_public_virtual:_void___cdecl_DSTRING::destructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.ulib.dll_public_virtual:_void___cdecl_DSTRING::destructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rbp + 0x18]
call qword [sym.imp.ulib.dll_public_virtual:_void___cdecl_DSTRING::destructor_void____ptr64]
nop dword [rax + rax]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.ulib.dll_public_virtual:_void___cdecl_DSTRING::destructor_void____ptr64]
nop dword [rax + rax]
mov al, bl
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.140002720
add rsp, 0x6b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret