Function at 0x14014d550
Capabilities:
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1402b0268]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x39], rdx
mov rax, qword [sym.imp.Qt5Core.dll_struct_QMapDataBase_const_QMapDataBase::shared_null]
mov qword [rbp - 0x49], rax
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14014f850
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14014d6d4
mov dword [rsp + 0x20], 5
mov r9d, 0x18
lea r8, [rbp + 0x17]
lea rdx, [rbp + 7]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x14014d6cb
mov rdx, rsi
lea rcx, [rbp - 0x29]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
nop
mov edx, 4
lea rcx, [0x1401abac8]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x49]
call fcn.140006ab0
mov rcx, rax
lea rdx, [rbp - 0x29]
call qword [sym.imp.Qt5Core.dll_public:_class_QVariant____ptr64___cdecl_QVariant::operator_class_QVariant____ptr64____ptr64]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
movzx edx, byte [rbp + 0x2c]
lea rcx, [rbp - 0x19]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
nop
mov edx, 5
lea rcx, str.isDir
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x49]
call fcn.140006ab0
mov rcx, rax
lea rdx, [rbp - 0x19]
call qword [sym.imp.Qt5Core.dll_public:_class_QVariant____ptr64___cdecl_QVariant::operator_class_QVariant____ptr64____ptr64]
nop
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x19]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rdx, qword [rbp + 0x1f]
lea rcx, [rbp - 9]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_long_long___int64_____ptr64]
nop
mov edx, 4
lea rcx, str.size
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x49]
call fcn.140006ab0
mov rcx, rax
lea rdx, [rbp - 9]
call qword [sym.imp.Qt5Core.dll_public:_class_QVariant____ptr64___cdecl_QVariant::operator_class_QVariant____ptr64____ptr64]
nop
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 9]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [r14 + 0x10]
lea r9, [rbp - 0x49]
mov r8d, 8
mov rdx, rbx
mov rcx, qword [rax + 0x10]
call qword [sym.imp.Qt5Qml.dll_private:_class_QJSValue___cdecl_QJSEngine::create_int__void_const____ptr64____ptr64]
nop
mov rax, qword [rbp - 0x49]
mov ecx, dword [rax]
test ecx, ecx
je 0x14014d711
cmp ecx, 0xffffffff
je 0x14014d71b
mov rcx, qword [rbp - 0x49]
mov edx, 0xffffffff
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x14014d71b
mov rcx, qword [rbp - 0x49]
call fcn.14002e570
nop
mov rax, rbx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140167750
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret