Function at 0x14013b370
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 [0x14017a608]
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 [0x140169e2c]
or r14, 0xffffffffffffffff
mov dword [rsp + 0x50], eax
movzx eax, word [0x140169e30]
mov word [rsp + 0x54], ax
test rdi, rdi
jne 0x14013b403
lea r8, str.pwszDrive
mov edx, 0x817
lea rcx, str.base_stor_blbwsbutilwsbvolumeutils.cpp
call fcn.14008ac24
test rsi, rsi
jne 0x14013b420
lea r8, str.pVolumeInfo___NULL
mov edx, 0x818
lea rcx, str.base_stor_blbwsbutilwsbvolumeutils.cpp
call fcn.14008ac24
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
movzx ecx, word [rdi]
movups xmmword [rsp + 0x40], xmm0
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x14013b449
lea eax, [rcx - 0x41]
cmp ax, 0x19
jbe 0x14013b449
lea r8, str._Volume_s
jmp 0x14013b4a3
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 0x14013b495
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x14013b487
mov ebx, eax
jmp 0x14013b5f2
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14013b5f2
lea r8, str._GLOBALROOT_s
lea rdi, [rbp + 0x190]
mov r9, rdi
lea rcx, [rsp + 0x60]
mov edx, VarUI4FromDisp
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]
nop dword [rax + rax]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14013b556
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jg 0x14013b4ff
mov ebx, eax
jmp 0x14013b508
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14013b5f2
test byte [rcx + 0x1c], 4
je 0x14013b5f2
cmp byte [rcx + 0x19], 2
jb 0x14013b5f2
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
mov edx, 0x68
mov dword [rsp + 0x20], ebx
lea r8, [0x140169ec8]
call fcn.140011330
jmp 0x14013b5f2
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 0x14013b5f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
test eax, eax
jg 0x14013b5b4
mov ebx, eax
jmp 0x14013b5be
movzx ebx, r9w
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14013b5f2
test byte [rcx + 0x1c], 4
je 0x14013b5f2
cmp byte [rcx + 0x19], 2
jb 0x14013b5f2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169ec8]
mov edx, 0x69
call fcn.140006bc4
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.140001d90
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret