Function at 0x1400ae6a0
Capabilities:
Get file attributes

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xf0
mov rbx, rcx
call fcn.1400ae3c0
xor r9d, r9d
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
jne 0x1400ae6dd
mov edi, 0xc0000034
mov eax, edi
add rsp, 0xf0
pop rdi
pop rsi
pop rbx
ret
xor esi, esi
mov dword [rsp + 0xa8], 0x30
mov dword [rsp + 0x50], esi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rsi
lea r9, [rsp + 0x70]
mov dword [rsp + 0x40], 0x60
lea r8, [rsp + 0xa8]
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x118]
mov dword [rsp + 0x30], 5
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x120089
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0xb0], rsi
mov dword [rsp + 0xc0], 0x40
mov qword [rsp + 0xb8], rax
movdqu xmmword [rsp + 0xc8], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
mov edi, eax
xor edx, edx
mov rax, qword gs:[0x30]
mov r8, qword [rsp + 0x68]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0x118]
test edi, edi
cmovns rbx, qword [rsp + 0x118]
js 0x1400ae7d7
mov r9d, 0x18
mov dword [rsp + 0x20], 5
lea r8, [rsp + 0x90]
mov rcx, rbx
lea rdx, [rsp + 0x80]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x1400ae7e4
cmp qword [rsp + 0x98], rsi
jne 0x1400ae7e4
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
add rsp, 0xf0
pop rdi
pop rsi
pop rbx
ret
lea r8, [0x1400ae690]
mov qword [rsp + 0x120], r12
mov rdx, rbx
xor ecx, ecx
call sym.4yUlCM3HuVsHzW5CaCX.exe_mxmlLoadFd
mov rcx, rbx
mov r12, rax
call qword [sym.imp.ntdll.dll_NtClose]
test r12, r12
je 0x1400ae81c
cmp dword [r12], esi
je 0x1400ae826
mov rcx, r12
call sym.4yUlCM3HuVsHzW5CaCX.exe_mxmlDelete
mov eax, 0xc0000102
jmp 0x1400aead0
mov qword [rsp + 0x110], rbp
mov rbp, qword [r12 + 0x20]
test rbp, rbp
je 0x1400aeab9
mov qword [rsp + 0x128], r13
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0xe0], r15
cmp dword [rbp], 0
jne 0x1400aea94
cmp dword [rbp + 0x38], 1
jl 0x1400aea94
mov rcx, qword [rbp + 0x40]
lea rdx, str.name
mov rcx, qword [rcx]
call fcn.140118aac
test eax, eax
jne 0x1400aea94
mov rax, qword [rbp + 0x40]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rax + 8]
inc rdx
cmp byte [rcx + rdx], 0
jne 0x1400ae892
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhConvertUtf8ToUtf16Ex
mov r15, rax
test rax, rax
je 0x1400aea94
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x1400ae8e0
cmp dword [rcx], 2
jne 0x1400ae8e0
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x1400ae8e0
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp byte [rcx + rdx], 0
jne 0x1400ae8d0
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhConvertUtf8ToUtf16Ex
jmp 0x1400ae8e5
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhReferenceEmptyString
lock bts qword [0x14018d8b0], 0
mov r14, rax
setb al
test al, al
je 0x1400ae905
lea rcx, [0x14018d8b0]
call sym.4yUlCM3HuVsHzW5CaCX.exe_PhfAcquireQueuedLockExclusive
mov rcx, r15
call fcn.1400ad660
mov rbx, rax
test rax, rax
je 0x1400ae98c
mov eax, dword [rax]
test eax, eax
je 0x1400ae939
cmp eax, 3
jne 0x1400ae95e
mov r8, qword [rbx + 0x28]
xor edx, edx
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rbx + 0x28], rsi
jmp 0x1400ae95e
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0x28], rsi
test rcx, rcx
je 0x1400ae95e
add rcx, 0xfffffffffffffff0
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400ae95e
call fcn.1400d9400
mov ecx, dword [rbx]
mov r9, rbx
mov r8, r14
mov rdx, r14
call fcn.1400ad170
test al, al
jne 0x1400aea2c
mov ecx, dword [rbx]
lea rdx, [rbx + 0x18]
mov r9, rbx
xor r8d, r8d
call fcn.1400ad170
jmp 0x1400aea2c
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov edx, 4
mov r8d, 0x30
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, qword [r15]
mov edx, 4
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
mov r13, rax
mov rdi, qword [r15 + 8]
lea r8, [rsi + 2]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea r8, [rsi + 2]
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call fcn.1401317c0
mov qword [r13 + 0x10], rbx
mov rax, qword [r15]
mov qword [r13 + 8], rax
lock inc dword [r14 - 8]
mov rdi, qword [0x140191a18]
mov qword [r13 + 0x28], r14
mov eax, dword [rdi + 4]
cmp dword [rdi], eax
jne 0x1400aea1e
mov r8, qword [rdi + 8]
add eax, eax
mov r9d, eax
mov edx, 4
mov dword [rdi + 4], eax
mov rcx, qword [sym.4yUlCM3HuVsHzW5CaCX.exe_PhHeapHandle]
shl r9, 3
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov qword [rdi + 8], rax
mov ecx, dword [rdi]
mov rax, qword [rdi + 8]
mov qword [rax + rcx*8], r13
inc dword [rdi]
xor esi, esi
mov rcx, 0xffffffffffffffff
lock xadd qword [0x14018d8b0], rcx
movzx eax, cl
and al, 6
cmp al, 2
jne 0x1400aea64
lea rax, [rcx - 1]
lea rdx, [rax + 4]
lock cmpxchg qword [0x14018d8b0], rdx
jne 0x1400aea64
lea rcx, [0x14018d8b0]
call fcn.1400ee3a0
lea rcx, [r14 - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400aea7c
call fcn.1400d9400
lea rcx, [r15 - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400aea94
call fcn.1400d9400
mov rbp, qword [rbp + 8]
test rbp, rbp
jne 0x1400ae854
mov r15, qword [rsp + 0xe0]
mov r14, qword [rsp + 0xe8]
mov r13, qword [rsp + 0x128]
mov rcx, r12
call sym.4yUlCM3HuVsHzW5CaCX.exe_mxmlDelete
call fcn.1400aa7a0
mov rbp, qword [rsp + 0x110]
xor eax, eax
mov r12, qword [rsp + 0x120]
add rsp, 0xf0
pop rdi
pop rsi
pop rbx
ret