Function at 0x14012e4b4
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 [0x14016a508]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rsi, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x20a
xor ebx, ebx
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x226
call sub.msvcrt.dll_memset
mov eax, dword [0x140159fac]
or r14, 0xffffffffffffffff
mov dword [rsp + 0x50], eax
movzx eax, word [0x140159fb0]
mov word [rsp + 0x54], ax
test rdi, rdi
jne 0x14012e547
lea r8, str.pwszDrive
mov edx, 0x817
lea rcx, str.base_stor_blbwsbutilwsbvolumeutils.cpp
call fcn.140088f60
test rsi, rsi
jne 0x14012e564
lea r8, str.pVolumeInfo___NULL
mov edx, 0x818
lea rcx, str.base_stor_blbwsbutilwsbvolumeutils.cpp
call fcn.140088f60
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
movzx ecx, word [rdi]
movups xmmword [rsp + 0x40], xmm0
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x14012e58d
lea eax, [rcx - 0x41]
cmp ax, 0x19
jbe 0x14012e58d
lea r8, str._Volume_s
jmp 0x14012e5e7
mov word [rsp + 0x50], cx
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x50]
mov r8d, 0x105
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
nop dword [rax + rax]
test eax, eax
jne 0x14012e5d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x14012e5cb
mov ebx, eax
jmp 0x14012e736
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14012e736
lea r8, str._GLOBALROOT_s
lea rdi, [rbp + 0x190]
mov r9, rdi
lea rcx, [rsp + 0x60]
mov edx, VarUI4FromDisp
call fcn.1400141e0
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]
nop dword [rax + rax]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14012e69a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x14012e643
mov ebx, eax
jmp 0x14012e64c
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x14012e736
test byte [rcx + 0x1c], 4
je 0x14012e736
cmp byte [rcx + 0x19], 2
jb 0x14012e736
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
mov edx, 0x68
mov dword [rsp + 0x20], ebx
lea r8, [0x14015a048]
call fcn.140014f78
jmp 0x14012e736
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], rsi
mov dword [rsp + 0x44], 0x60
mov dword [rsp + 0x48], 1
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x14012e736
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
test eax, eax
jg 0x14012e6f8
mov ebx, eax
jmp 0x14012e702
movzx ebx, r9w
or ebx, 0x80070000
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x14012e736
test byte [rcx + 0x1c], 4
je 0x14012e736
cmp byte [rcx + 0x19], 2
jb 0x14012e736
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a048]
mov edx, 0x69
call fcn.14000c114
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400071e0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret