Function at 0x1400ceac0
Capabilities:
Get volume information via ioctl
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r15
sub rsp, 0x108
mov rdi, rcx
mov rcx, r8
mov r15, r8
mov rsi, rdx
call fcn.1400befe0
lea rax, [rsp + 0x4c]
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov edx, 0x90064
mov rcx, rdi
mov dword [rsp + 0x28], WSAAsyncSelect
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400cf430
mov r8d, dword [rsp + 0xc0]
cmp r8d, 0x2a
jbe 0x1400cf427
mov qword [rsp + 0x140], rbp
mov qword [rsp + 0x100], r12
mov qword [rsp + 0xf8], r13
mov qword [rsp + 0xf0], r14
lea r14d, [r8 + 0xf]
mov dword [rsp + 0x44], ebx
mov ecx, r14d
mov ebp, ebx
mov dword [rsp + 0x148], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x48], ebx
mov r13d, ebx
mov dword [rsp + 0x60], r14d
call fcn.1400ce110
mov qword [rsp + 0x38], rbp
mov r12, rax
mov qword [rsp + 0x58], rax
movabs rax, 0xffffffffffff
mov rbx, rsi
lea r8, [rsp + 0x68]
mov r9d, 8
and rbx, rax
lea rax, [rsp + 0x4c]
mov edx, 0x90068
mov qword [rsp + 0x30], rax
mov rcx, rdi
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x68], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400cf36f
nop
nop
cmp qword [r12], rbx
jne 0x1400cf3ce
cmp dword [r12 + 0xc], 0x454c4946
mov eax, dword [rsp + 0xc0]
lea r14, [r12 + 0xc]
lea r12, [rax + r12 + 0xc]
jne 0x1400cf261
test byte [r14 + 0x16], 1
je 0x1400cf24e
cmp dword [rsp + 0x44], 0
jne 0x1400cec3f
mov rax, qword [r14 + 0x20]
test rax, rax
je 0x1400cec37
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x44], 1
jmp 0x1400cec3f
mov dword [rsp + 0x40], 1
movzx edi, word [r14 + 0x14]
add rdi, r14
cmp rdi, r14
jb 0x1400cf288
lea rbx, [rdi + 0x10]
cmp rbx, r12
ja 0x1400cf27e
mov eax, dword [rdi]
cmp eax, 0xffffffff
je 0x1400cf274
cmp dword [rdi + 4], 0x10
jb 0x1400cf22f
cmp byte [rdi + 9], 0
jne 0x1400cf20e
sub eax, 0x10
je 0x1400cf14f
sub eax, 0x10
je 0x1400cecfa
cmp eax, 0x60
jne 0x1400cf20e
test byte [r14 + 0x16], 2
jne 0x1400cf20e
test byte [rdi + 8], 1
je 0x1400cecd5
lea rax, [rdi + 0x48]
cmp rax, r12
ja 0x1400cf20e
cmp qword [rbx], 0
jne 0x1400cf20e
mov rax, qword [rdi + 0x30]
or r13d, 2
cmp r13d, 3
mov qword [r15], rax
je 0x1400cf389
jmp 0x1400cf20e
lea rax, [rdi + 0x16]
cmp rax, r12
ja 0x1400cf20e
mov eax, dword [rbx]
or r13d, 2
cmp r13d, 3
mov qword [r15], rax
je 0x1400cf389
jmp 0x1400cf20e
movzx edx, byte [rdi + 8]
lea rcx, str.attribute_list__02x_n
call fcn.1400b35e0
test ebp, ebp
jne 0x1400cf20e
test byte [r14 + 0x16], 2
jne 0x1400cf20e
test byte [rdi + 8], 1
je 0x1400cf0b0
movzx r8d, word [rdi + 0xc]
mov edx, dword [rdi + 4]
lea rcx, str.len__u_flags__04x_n
call fcn.1400b35e0
test word [rdi + 0xc], 0xc001
jne 0x1400cf20e
lea rax, [rdi + 0x48]
cmp rax, r12
ja 0x1400cf20e
cmp qword [rbx], 0
jne 0x1400cf20e
movzx ecx, word [rdi + 0x20]
mov eax, dword [rdi + 4]
sub eax, ecx
lea rdx, [rdi + rcx]
movsxd rbp, eax
lea rcx, [rdx + 1]
add rbp, rdx
cmp rcx, rbp
ja 0x1400cf1ec
movzx ebx, byte [rdx]
test ebx, ebx
je 0x1400cf1f5
mov eax, ebx
sar ebx, 4
and eax, 0xf
cmp eax, 8
jg 0x1400cf1fe
cmp ebx, 8
jg 0x1400cf207
movsxd r8, eax
lea rsi, [r8 + rcx]
cmp rsi, rbp
ja 0x1400cf1b9
mov rdx, rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], 0
call fcn.1401a6b10
test ebx, ebx
mov qword [rsp + 0x50], 0
je 0x1400cf1ca
movsxd r8, ebx
lea rax, [r8 + rsi]
cmp rax, rbp
ja 0x1400cf1db
test byte [rax - 1], 0x80
je 0x1400cee08
lea rcx, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x50], 0xffffffffffffffff
call fcn.1401a6b10
jmp 0x1400cee15
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.1401a6b10
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x50]
lea rcx, str.mapping_pair_cluster_offset:__I64d__cluster_count:__I64u_n
mov r8, rsi
mov rdx, rbx
call fcn.1400b35e0
mov edx, dword [rsp + 0xbc]
mov rcx, qword [rsp + 0x130]
imul rdx, rbx
xor r8d, r8d
call fcn.1400da3f0
test eax, eax
je 0x1400cf07f
mov ecx, dword [rsp + 0xc0]
call fcn.1400ce110
mov ecx, dword [rsp + 0xc0]
mov ebx, dword [rsp + 0xbc]
imul rbx, rsi
cmp rbx, rcx
lea r9, [rsp + 0x88]
mov rdx, rax
cmova rbx, rcx
mov rcx, qword [rsp + 0x130]
mov rbp, rax
mov r8d, ebx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400cf011
lea rsi, [rbx + rbp]
mov rbx, rbp
lea rax, [rbx + 0x1a]
cmp rax, rsi
ja 0x1400cf063
cmp word [rbx + 4], 0x1a
jb 0x1400cefdf
cmp dword [rbx], 0xffffffff
je 0x1400cf047
mov rdx, qword [rsp + 0x138]
lea rcx, str.this_frn__016I64x_n
call fcn.1400b35e0
mov edx, dword [rbx]
lea rcx, str.al_type__u_n
call fcn.1400b35e0
movzx edx, word [rbx + 4]
lea rcx, str.al_rl__u_n
call fcn.1400b35e0
movzx edx, byte [rbx + 6]
lea rcx, str.al_nl__u_n
call fcn.1400b35e0
movzx edx, byte [rbx + 7]
lea rcx, str.al_o2n__u_n
call fcn.1400b35e0
mov rdx, qword [rbx + 8]
lea rcx, str.al_svcn__I64u_n
call fcn.1400b35e0
mov rdx, qword [rbx + 0x10]
lea rcx, str.al_bfrn__016I64x_n
call fcn.1400b35e0
movzx edx, word [rbx + 0x18]
lea rcx, str.al_aid__u_n
call fcn.1400b35e0
cmp dword [rbx], 0x80
jne 0x1400cef62
cmp qword [rbx + 8], 0
je 0x1400cef96
movzx ecx, word [rbx + 4]
lea rax, [rcx + rcx*2]
prefetcht1 byte [rbx + rax*2]
add rbx, rcx
cmp rbx, rbp
jae 0x1400ceeb0
mov rsi, qword [rsp + 0x138]
mov rcx, rbp
call fcn.1400ce160
mov ebp, dword [rsp + 0x148]
jmp 0x1400cf20e
mov rdx, qword [rbx + 0x10]
mov rsi, qword [rsp + 0x138]
cmp rsi, rdx
je 0x1400cf06b
lea rcx, str._NTFS_ATTRIBUTE_TYPE_DATA_in__016I64x_n
call fcn.1400b35e0
mov rax, qword [rbx + 0x10]
mov rcx, rbp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x148], 1
call fcn.1400ce160
mov ebp, dword [rsp + 0x148]
jmp 0x1400cf20e
movzx r8d, word [rbx + 4]
lea rdx, str.bad_al_len__u_n
mov ecx, 0xffff0000
call fcn.1400b3610
mov rsi, qword [rsp + 0x138]
mov rcx, rbp
call fcn.1400ce160
mov ebp, dword [rsp + 0x148]
jmp 0x1400cf20e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.read_size__d_n
mov ecx, 0xffff0000
mov r8d, eax
call fcn.1400b3610
mov rsi, qword [rsp + 0x138]
mov rcx, rbp
call fcn.1400ce160
mov ebp, dword [rsp + 0x148]
jmp 0x1400cf20e
mov rsi, qword [rsp + 0x138]
mov rcx, rbp
call fcn.1400ce160
mov ebp, dword [rsp + 0x148]
jmp 0x1400cf20e
mov rsi, qword [rsp + 0x138]
mov rcx, rbp
call fcn.1400ce160
mov ebp, dword [rsp + 0x148]
jmp 0x1400cf20e
mov r8d, dword [rsp + 0xbc]
lea rdx, str.bad_file_pos__I64u_n
mov ecx, 0xffff0000
imul r8, rbx
call fcn.1400b3610
mov rsi, qword [rsp + 0x138]
mov ebp, dword [rsp + 0x148]
jmp 0x1400cf20e
lea rax, [rdi + 0x16]
cmp rax, r12
ja 0x1400cf20e
movzx ebx, word [rdi + 0x14]
add rbx, rdi
cmp rbx, rdi
jb 0x1400cf20e
nop
lea rax, [rbx + 0x1a]
cmp rax, r12
ja 0x1400cf20e
movzx ecx, word [rbx + 4]
cmp cx, 0x1a
jb 0x1400cf20e
mov eax, dword [rbx]
cmp eax, 0xffffffff
je 0x1400cf20e
cmp eax, 0x80
jne 0x1400cf104
cmp qword [rbx + 8], 0
je 0x1400cf11c
movzx ecx, cx
lea rax, [rcx + rcx*2]
prefetcht1 byte [rbx + rax*2]
add rbx, rcx
cmp rbx, rdi
jae 0x1400cf0d0
jmp 0x1400cf20e
mov rdx, qword [rbx + 0x10]
cmp rsi, rdx
je 0x1400cf20e
lea rcx, str._NTFS_ATTRIBUTE_TYPE_DATA_in__016I64x_n
call fcn.1400b35e0
mov rax, qword [rbx + 0x10]
mov ebp, 1
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x148], ebp
jmp 0x1400cf20e
xor eax, eax
cmp byte [rdi + 8], al
sete al
test al, 1
je 0x1400cf20e
lea rax, [rdi + 0x16]
cmp rax, r12
ja 0x1400cf20e
movzx ecx, word [rdi + 0x14]
add rcx, rdi
lea rax, [rcx + 0x24]
cmp rax, r12
ja 0x1400cf20e
mov eax, dword [rcx + 0x20]
or r13d, 1
mov dword [r15 + 0x20], eax
mov rax, qword [rcx]
mov qword [r15 + 0x10], rax
mov rax, qword [rcx + 8]
mov qword [r15 + 8], rax
mov rax, qword [rcx + 0x18]
mov qword [r15 + 0x18], rax
test byte [r14 + 0x16], 2
jne 0x1400cf3ae
cmp r13d, 3
je 0x1400cf389
jmp 0x1400cf20e
mov rsi, qword [rsp + 0x138]
mov ebp, dword [rsp + 0x148]
jmp 0x1400cf20e
mov rsi, qword [rsp + 0x138]
mov ebp, dword [rsp + 0x148]
jmp 0x1400cf20e
mov rsi, qword [rsp + 0x138]
mov ebp, dword [rsp + 0x148]
jmp 0x1400cf20e
mov ebp, dword [rsp + 0x148]
jmp 0x1400cf20e
mov ebp, dword [rsp + 0x148]
jmp 0x1400cf20e
mov ebp, dword [rsp + 0x148]
jmp 0x1400cf20e
mov ebp, dword [rsp + 0x148]
mov ecx, dword [rdi + 4]
lea rax, [rcx + rcx*2]
prefetcht1 byte [rdi + rax*2]
add rdi, rcx
cmp rdi, r14
jae 0x1400cec50
mov rdi, qword [rsp + 0x130]
jmp 0x1400cf290
mov r8d, dword [rdi + 4]
lea rdx, str.bad_attribute_len__u_n
mov ecx, 0xffff0000
call fcn.1400b3610
mov rdi, qword [rsp + 0x130]
jmp 0x1400cf290
lea rdx, str.get_fd:_not_inuse_n
mov ecx, 0xffff0000
call fcn.1400b3610
jmp 0x1400cf290
lea rdx, str.get_fd:_not_a_file_record_n
mov ecx, 0xffff0000
call fcn.1400b3610
jmp 0x1400cf290
mov rdi, qword [rsp + 0x130]
jmp 0x1400cf290
mov rdi, qword [rsp + 0x130]
jmp 0x1400cf290
mov rdi, qword [rsp + 0x130]
cmp dword [rsp + 0x44], 0
je 0x1400cf2d2
cmp dword [rsp + 0x40], 0
jne 0x1400cf2d2
mov rbx, qword [rsp + 0x80]
lea rdx, str.retry_with_base__016I64x_for__016I64x_n
mov r9, rsi
mov r8, rbx
mov ecx, 0xffff0000
call fcn.1400b3610
mov rsi, rbx
mov qword [rsp + 0x138], rbx
mov dword [rsp + 0x40], 1
jmp 0x1400cf314
test ebp, ebp
je 0x1400cf3b5
cmp dword [rsp + 0x48], 0
jne 0x1400cf3b5
mov rbx, qword [rsp + 0x78]
lea rdx, str.retry_with_type_data__016I64x_for__016I64x_n
mov r9, rsi
mov r8, rbx
mov ecx, 0xffff0000
call fcn.1400b3610
mov rsi, rbx
mov qword [rsp + 0x138], rbx
mov dword [rsp + 0x48], 1
mov r12, qword [rsp + 0x58]
mov qword [rsp + 0x38], 0
movabs rax, 0xffffffffffff
mov rbx, rsi
lea r8, [rsp + 0x68]
mov r9d, 8
and rbx, rax
lea rax, [rsp + 0x4c]
mov edx, 0x90068
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x60]
mov rcx, rdi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x68], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400cebe0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.FSCTL_GET_NTFS_FILE_RECORD_failed__u_n
mov ecx, 0xffff0000
mov r8d, eax
call fcn.1400b3610
cmp dword [0x14020b008], 0
je 0x1400cf3ed
mov r8, qword [r15]
lea rcx, str.got_ntfs_file_record__I64x__I64u__d_n
mov r9d, r13d
mov rdx, rsi
call fcn.1400b35e0
mov r12, qword [rsp + 0x58]
jmp 0x1400cf3f2
or dword [r15 + 0x20], 0x10
jmp 0x1400cf389
lea rdx, str.couldnt_get_fd_from__016I64x__x_n
mov r9d, r13d
mov r8, rsi
mov ecx, 0xffff0000
call fcn.1400b3610
jmp 0x1400cf389
cmp dword [0x14020b008], 0
je 0x1400cf3f2
lea rdx, str.FRN_not_in_use__I64x_n
mov r8, rsi
mov ecx, 0xffff0000
call fcn.1400b3610
jmp 0x1400cf389
mov r12, qword [rsp + 0x58]
mov rcx, r12
call fcn.1400ce160
mov r14, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xf8]
mov r12, qword [rsp + 0x100]
mov rbp, qword [rsp + 0x140]
add rsp, 0x108
pop r15
pop rdi
pop rsi
pop rbx
ret
lea rdx, str.bad_BytesPerFileRecordSegment__u_n
jmp 0x1400cf440
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.FSCTL_GET_NTFS_VOLUME_DATA_failed__u_n
mov r8d, eax
mov ecx, 0xffff0000
call fcn.1400b3610
add rsp, 0x108
pop r15
pop rdi
pop rsi
pop rbx
ret