Function at 0x140136d50
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 [0x140164bbc]
or r14, 0xffffffffffffffff
mov dword [rsp + 0x50], eax
movzx eax, word [0x140164bc0]
mov word [rsp + 0x54], ax
test rdi, rdi
jne 0x140136de3
lea r8, str.pwszDrive
mov edx, 0x817
lea rcx, str.base_stor_blbwsbutilwsbvolumeutils.cpp
call fcn.1400876c8
test rsi, rsi
jne 0x140136e00
lea r8, str.pVolumeInfo___NULL
mov edx, 0x818
lea rcx, str.base_stor_blbwsbutilwsbvolumeutils.cpp
call fcn.1400876c8
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
movzx ecx, word [rdi]
movups xmmword [rsp + 0x40], xmm0
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x140136e29
lea eax, [rcx - 0x41]
cmp ax, 0x19
jbe 0x140136e29
lea r8, str._Volume_s
jmp 0x140136e7d
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 0x140136e6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140136fc4
lea r8, str._GLOBALROOT_s
lea rdi, [rbp + 0x190]
mov r9, rdi
lea rcx, [rsp + 0x60]
mov edx, VarUI4FromDisp
call fcn.1400100a8
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 0x140136f2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140136fc4
test byte [rcx + 0x1c], 4
je 0x140136fc4
cmp byte [rcx + 0x19], 2
jb 0x140136fc4
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x69]
lea r9, [rsp + 0x60]
mov dword [rsp + 0x20], ebx
lea r8, [0x140164c78]
call fcn.140005ca0
jmp 0x140136fc4
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 0x140136fc4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
mov r9d, eax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140136fc4
test byte [rcx + 0x1c], 4
je 0x140136fc4
cmp byte [rcx + 0x19], 2
jb 0x140136fc4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140164c78]
mov edx, 0x69
call fcn.140004b9c
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.14014b700
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret