Function at 0x14007f5bc
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x3b0
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov rsi, rdx
lea r15, [0x14000f2c0]
mov qword [rsp + 0x40], r15
lea r12, [0x1400115f0]
mov qword [rsp + 0x48], r12
lea r13, [0x14000f2a8]
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], 0x858
mov dword [rsp + 0x5c], 1
mov edi, 0xff
mov dword [rsp + 0x60], edi
xor r14d, r14d
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.140052e50
nop
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetDriveTypeW]
mov ebx, eax
cmp eax, 3
je 0x14007f6d6
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], 0x85d
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], edi
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
lea r9, [0x140011650]
mov r8d, 0x8004230c
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.140101d5c
int3
mov edi, 0x208
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x90]
call sub.msvcrt.dll_memset
mov r8, rsi
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.14007edcc
lea rcx, [rbp + 0x90]
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14007f70e
cmp word [rbp + rax*2 + 0x8e], 0x5c
jne 0x14007f741
lea rax, [rax*2 - 2]
cmp rax, rdi
jae 0x14007f73b
mov word [rbp + rax + 0x90], r14w
jmp 0x14007f741
call fcn.14005e088
int3
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov r8d, 3
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov edx, 0x80000000
lea rcx, [rbp + 0x90]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_CreateFileW]
mov rdi, rax
lea rax, [0x140001b60]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rdi
cmp rdi, rbx
jne 0x14007f7dc
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], 0x87e
mov dword [rsp + 0x5c], 2
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov r9, rsi
lea r8, [0x1400116e0]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.140103888
int3
lea rdx, [0x1401544ec]
mov ecx, 0x218
call fcn.14005debc
mov rbx, rax
mov qword [rbp], rax
test rax, rax
jne 0x14007f853
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], 0x886
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rax + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
lea r9, [0x140011730]
mov r8d, 0x8007000e
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.140101d5c
int3
xor edx, edx
mov r8d, 0x218
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], 5
mov r9d, 0x218
mov r8, rbx
lea rdx, [rbp + 0x80]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
mov edi, eax
test eax, eax
jns 0x14007f985
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
mov ebx, eax
cmp eax, 0x15
je 0x14007f922
cmp eax, 0x48f
je 0x14007f922
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], 0x89a
mov dword [rsp + 0x5c], 2
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
test ebx, ebx
jg 0x14007f8ef
mov r8d, ebx
jmp 0x14007f8fa
movzx r8d, bx
or r8d, 0x80070000
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
lea r9, [0x140011800]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.1401027cc
int3
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], 0x895
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
lea r9, [0x140011790]
mov r8d, 0x80042308
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.140101d5c
int3
test dword [rbx], 0x80000
je 0x14007f9ec
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], 0x8a1
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x20], rsi
lea r9, [0x1400118d0]
mov r8d, 0x8004230c
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.140101d5c
nop
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
nop
lea rcx, [rbp - 0x18]
call fcn.140070dec
nop
lea rcx, [rbp + 0x10]
call fcn.140050f50
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.14005dc70
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret