Function at 0x1401333fc
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rdi, rdx
mov r14, rcx
xor ebx, ebx
lea rcx, [rbp + 0x192]
xor edx, edx
mov word [rbp + 0x190], bx
mov r8d, 0x208
call sub.msvcrt.dll_memset
xor edx, edx
mov word [rsp + 0x60], bx
mov r8d, 0x224
lea rcx, [rsp + 0x62]
call sub.msvcrt.dll_memset
mov eax, dword [0x14016195c]
or rsi, 0xffffffffffffffff
mov dword [rsp + 0x50], eax
movzx eax, word [0x140161960]
mov word [rsp + 0x54], ax
test r14, r14
jne 0x14013349b
lea r8, str.pwszDrive
mov edx, 0x817
lea rcx, str.base_stor_blbwsbutilwsbvolumeutils.cpp
call fcn.14008624c
test rdi, rdi
jne 0x1401334b8
lea r8, str.pVolumeInfo___NULL
mov edx, 0x818
lea rcx, str.base_stor_blbwsbutilwsbvolumeutils.cpp
call fcn.14008624c
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
movzx ecx, word [r14]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x1401334ed
lea eax, [rcx - 0x41]
cmp ax, 0x19
jbe 0x1401334ed
mov r9, r14
lea r8, str._Volume_s
jmp 0x140133535
mov word [rsp + 0x50], cx
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x50]
mov r8d, 0x105
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x140133527
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140133660
lea r9, [rbp + 0x190]
lea r8, str._GLOBALROOT_s
mov edx, VarUI4FromDisp
lea rcx, [rsp + 0x60]
call fcn.1400102c4
mov r8d, 3
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rcx, [rsp + 0x60]
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401335d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140133660
test byte [rcx + 0x1c], 4
je 0x140133660
cmp byte [rcx + 0x19], 2
jb 0x140133660
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x69]
lea r9, [rsp + 0x60]
mov dword [rsp + 0x20], ebx
lea r8, [0x140161888]
call fcn.140005ce8
jmp 0x140133660
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x40]
mov r9d, 0x10
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r9d
mov edx, 0x9023c
mov rcx, rax
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x44], 0x60
mov dword [rsp + 0x48], 1
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140133660
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov r9d, eax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x140133660
test byte [rcx + 0x1c], 4
je 0x140133660
cmp byte [rcx + 0x19], 2
jb 0x140133660
mov rcx, qword [rcx + 0x10]
lea r8, [0x140161888]
mov edx, 0x69
call fcn.140004c90
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1401474d0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret