Function at 0x140148d00
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rbx, qword [rdx + 0x20]
movaps xmmword [rax - 0x38], xmm6
movsd xmm6, qword [0x140361d00]
xor edi, edi
mov rsi, rdx
mov r12, rcx
mov dword [rax + 8], edi
mov rax, qword [rcx + 0x18]
mov r14d, 0x400
mov qword [rdx + 0x30], rax
mov r8, r14
mov rcx, rbx
xor edx, edx
mov r15, rdi
call sub.ntdll.dll_memset
or dword [rbx + 0x60], 2
or dword [rbx + 0x64], 1
mov dword [rbx + 0x4c], 1
mov ecx, dword [r12 + 0x10]
mov r13d, r14d
shl r13d, cl
or rcx, 0xffffffffffffffff
cmp byte [r12 + 1], dil
je 0x140148d83
or dword [rbx + 0x5c], 4
mov dword [0x14043e3f4], ecx
cmp byte [r12 + 0x40], dil
je 0x140148daf
or dword [rbx + 0x5c], 0x3c
or dword [rbx + 0x60], reloc.MFC80U.DLL_Ordinal_578
or dword [rbx + 0x64], 0x7a
mov word [rbx + 0x58], 0x100
mov dword [rbx + 0x100], 0xc
mov dword [0x14043e3f4], ecx
mov rdx, qword [r12 + 0x20]
test rdx, rdx
je 0x140148ddb
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
mov rax, qword [0x14043e3c0]
not rcx
cmp rcx, 1
cmovne rax, rdx
xor edi, edi
mov qword [0x14043e3c0], rax
mov rdx, qword [r12 + 0x18]
add dword [0x14043e460], 1
mov qword [0x14043e3d0], rdx
cmp byte [r12], r15b
jne 0x140148e0e
cmp byte [r12 + 0x41], r15b
jne 0x140148e0e
mov rcx, rsi
call fcn.14014c280
test eax, eax
jns 0x140148e1a
xor al, al
jmp 0x14014917e
mov rax, qword [r12 + 8]
mov qword [rsi + 0xa8], rax
mov rcx, rsi
call fcn.14014c020
test eax, eax
jns 0x140148ee7
mov rcx, qword [rsi + 0xa8]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov r9d, 0x28
mov dword [rsp + 0x20], 4
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp dword [rsp + 0x30], r15d
jl 0x140148e9d
mov rcx, qword [rsi + 0xa8]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov r9d, 0x18
mov byte [rsi + 0xa4], 1
mov dword [rsp + 0x20], 5
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
cmp dword [rsp + 0x30], r15d
jl 0x140148e9d
cmp byte [rsp + 0x55], r15b
jne 0x140148e9d
mov rax, qword [rsp + 0x40]
cmp rax, 0x100000
jge 0x140148eac
mov rcx, rsi
call fcn.14014c460
xor al, al
jmp 0x14014917e
mov qword [rsi + 0xd0], rax
cqo
mov dword [rsi + 0xbc], 4
and edx, 0x7fff
mov dword [rsi + 0xc0], 0x10
mov dword [rsi + 0xc4], reloc.MFC80U.DLL_Ordinal_512
add rax, rdx
sar rax, 0xf
mov qword [rsi + 0xb0], rax
mov rcx, qword [0x14043e408]
mov qword [rsp + 0xc8], rbp
test rcx, rcx
je 0x140148f0d
movsxd rax, dword [reloc.MFC80U.DLL_Ordinal_512]
imul rax, rcx
mov qword [rsi + 0xd0], rax
mov rcx, qword [0x14043e400]
test rcx, rcx
je 0x140148f2b
movsxd rax, dword [reloc.MFC80U.DLL_Ordinal_512]
imul rax, rcx
mov qword [rsi + 0xc8], rax
test byte [rbx + 0x60], 8
je 0x140148f49
xorpd xmm6, xmm6
lea r15, str.journal
mov dword [rbx + 0x60], 8
mov dword [rbx + 0x5c], edi
mov dword [rbx + 0x64], edi
cmp dword [rbx + 0x4c], 0
jne 0x140148f68
cmp dword [rbx + 0x5c], 0
jne 0x140148f61
cmp dword [rbx + 0x64], 0
jne 0x140148f61
cmp dword [rbx + 0x60], 0
je 0x140148f68
mov dword [rbx + 0x4c], 1
mov eax, r13d
mov ecx, edi
sar eax, 0xb
je 0x140148f79
add ecx, 1
sar eax, 1
jne 0x140148f72
mov dword [rbx + 0x18], ecx
mov dword [rbx + 0x1c], ecx
cmp byte [0x14043e3b8], 0
lea ebp, [r13*8]
je 0x140148f9c
mov eax, dword [rbx + 4]
test eax, eax
je 0x140148f9c
mov rdi, rax
jmp 0x140148fbc
mov rax, qword [rsi + 0xd0]
test rax, rax
je 0x140149158
mov edx, r14d
shl edx, cl
movsxd rcx, edx
cqo
idiv rcx
mov rdi, rax
mov eax, 0xffffffff
cmp rdi, rax
jbe 0x140148fd1
or dword [rbx + 0x60], 0x80
and dword [rbx + 0x5c], 0xffffffef
mov eax, dword [rbx + 4]
test eax, eax
jne 0x140148ff6
test rdi, rdi
jne 0x140148fe9
lea rdx, str.Block_size_error.
jmp 0x14014915f
mov rdx, rdi
mov rcx, rbx
call fcn.14014b7d0
jmp 0x140149018
cmp dword [0x14043e3ec], 0
jne 0x140149018
cmp rax, rdi
jle 0x140149018
mov rcx, qword [0x14043e3b0]
lea rdx, str.Filesystem_larger_than_apparent_filesystem_size.
mov rax, qword [rcx]
call qword [rax + 0x70]
cmp rdi, 0xc01f1
jae 0x140149036
mov dword [0x14043e3f8], 1
mov qword [0x14042d408], 0
test byte [rbx + 0x5c], 4
je 0x140149054
mov eax, dword [0x14043e3f4]
mov rcx, 0xffffffffffffffff
test eax, eax
cmove eax, ecx
mov dword [0x14043e3f4], eax
lea r9, [rsp + 0xc0]
mov r8d, r13d
mov rdx, rbx
mov rcx, r15
call fcn.140148bb0
mov edx, dword [rbx + 0x20]
test edx, edx
je 0x140149096
cmp edx, 0x100
jb 0x14014907d
cmp edx, ebp
jbe 0x140149096
mov rcx, qword [0x14043e3b0]
lea rdx, str.blocks_per_group_count_out_of_range
mov rax, qword [rcx]
call qword [rax + 0x70]
jmp 0x140149174
mov eax, dword [rsp + 0xc0]
cmp byte [r12 + 0x40], 0
mov ecx, 0x4000
cmovne eax, ecx
mov rcx, rbx
movsxd rdi, eax
call fcn.14014b7b0
movsxd rcx, r13d
xor edx, edx
imul rax, rcx
div rdi
mov ecx, 0xffffffff
cmp rax, rcx
jbe 0x1401490da
test byte [rbx + 0x60], 0x80
je 0x140149174
mov eax, ecx
jmp 0x1401490ef
mov ecx, dword [rbx + 0x18]
shl r14d, cl
mov ecx, dword [rbx + 4]
movsxd rax, r14d
imul rax, rcx
cqo
idiv rdi
mov dword [rbx], eax
mov eax, dword [rbx + 4]
cvtsi2sd xmm0, rax
mulsd xmm0, xmm6
cvttsd2si rax, xmm0
movsd xmm0, qword [0x1402f0e68]
cvtsi2sd xmm1, rax
xor eax, eax
divsd xmm1, qword [0x1403b85a8]
comisd xmm1, xmm0
jbe 0x14014913d
subsd xmm1, xmm0
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
comisd xmm1, xmm0
jbe 0x14014913d
subsd xmm1, xmm0
add rax, rcx
cvttsd2si rdx, xmm1
mov rcx, rbx
add rdx, rax
call fcn.14014b810
mov byte [rbx + 0x174], 4
mov al, 1
jmp 0x140149176
lea rdx, str.error_while_trying_to_determine_filesystem_size
mov rcx, qword [0x14043e3b0]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov rcx, rsi
call fcn.14014c460
xor al, al
mov rbp, qword [rsp + 0xc8]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret