Function at 0x1400c58d0
Capabilities:
Get volume information via ioctl

Disassembly:
mov rax, rsp
mov byte [rax + 0x10], dl
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14016bb40]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, qword [rbp + 0x60]
lea r12, [rsi + 0x258]
mov qword [rsp + 0x78], r12
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rbp - 0x80], 1
mov rax, qword [rsi]
mov rcx, qword [rax]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x60], rsi
mov rcx, qword [rsi + 0x450]
call fcn.1400de9e0
mov r13, rax
mov qword [rbp - 0x58], rax
mov rax, qword [rsi + 0x280]
add rax, 7
cqo
and edx, 7
lea r15, [rdx + rax]
sar r15, 3
add r15, 0x18
lea rcx, [r15 + 0x10]
call fcn.140057728
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov byte [rsp + 0x40], cl
movzx r8d, cl
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14002f5d0
nop
mov rdi, qword [rsp + 0x50]
lea r14, [rdi + 0x10]
mov r8, r15
xor edx, edx
mov rcx, r14
call fcn.140062cd0
xor eax, eax
mov ebx, eax
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x60], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
lea r9d, [rbx + 8]
lea r8, [rsp + 0x60]
mov edx, 0x9006f
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400c5a29
lea rcx, str.ReloadVolumeMap
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], 0x70
mov dword [rsp + 0x74], 1
mov r9d, eax
mov r8, r13
lea rdx, str.FSCTL_GET_VOLUME_BITMAP_for_handle_0x_08x_failed_with_error_code__d
lea rcx, [rsp + 0x68]
call fcn.14000b5d0
xor r10d, r10d
jmp 0x1400c5a80
mov r8b, 1
xor r10d, r10d
mov r9, qword [rdi + 8]
mov edx, r10d
test r9, r9
jle 0x1400c5a80
mov rcx, r14
nop
movzx eax, byte [rcx]
and al, r8b
je 0x1400c5a4b
inc rbx
cmp r8b, 0x80
jne 0x1400c5a59
mov r8b, 1
inc rcx
jmp 0x1400c5a62
add r8b, r8b
cmp r8b, 1
jne 0x1400c5a78
movzx eax, byte [rcx]
test al, al
je 0x1400c5a71
cmp al, 0xff
jne 0x1400c5a78
add rbx, 8
add rdx, 8
inc rcx
inc rdx
cmp rdx, r9
jl 0x1400c5a40
mov qword [rsi + 0x288], rbx
mov dword [rsp + 0x48], r10d
mov qword [rsp + 0x38], r10
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x60
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90064
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400c5b42
mov rbx, qword [rbp]
mov rdi, qword [rbp + 8]
lea rax, str.CVolume::ReloadMap
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], 0x1ef
mov dword [rbp - 0x6c], 1
mov r9, rdi
mov r8, rbx
lea rdx, str.MftZone:___I64d___I64d_.
lea rcx, [rbp - 0x78]
call fcn.14000b5d0
test rbx, rbx
mov r13d, 0
cmovs rbx, r13
mov r8, qword [rsi + 0x280]
mov rdx, r8
cmp rbx, r8
cmovl rdx, rbx
cmp rdx, rdi
cmovg rdi, rdx
cmp rdi, r8
cmovl r8, rdi
mov qword [rsi + 0x2b0], rdx
mov qword [rsi + 0x2b8], r8
mov r9, r15
mov rcx, r14
call fcn.14002e530
jmp 0x1400c5b45
xor r13d, r13d
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400c5b79
lock dec dword [rcx + 8]
jne 0x1400c5b74
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lock dec dword [rbx + 0xc]
jne 0x1400c5b74
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r12, qword [rsp + 0x78]
cmp byte [rbp + 0x68], 0
je 0x1400c5b99
mov rcx, qword [rsi + 0x2a0]
test rcx, rcx
je 0x1400c5b99
mov r8, qword [rsi + 0x298]
xor edx, edx
call fcn.140062cd0
mov rdx, qword [rsi + 0x280]
dec rdx
mov rcx, qword [rsi + 0x20]
call fcn.140028c70
nop
mov rbx, qword [rsi + 0x450]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
dec dword [rbx + 0x40]
cmp dword [rbx + 0x40], 0
jg 0x1400c5bd9
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1400c5bd9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x28], r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14005e0b0
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret