Function at 0x7ff7c00e6480
Capabilities:
Get file attributes

Disassembly:
push rbx
push rsi
sub rsp, 0x108
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rbx, rcx
call fcn.7ff7c00e61a0
xor r9d, r9d
lea rdx, [rsp + 0x70]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U_WithStatus]
mov ebx, eax
test eax, eax
js 0x7ff7c00e693d
xor esi, esi
mov dword [rsp + 0x80], 0x30
mov dword [rsp + 0x50], esi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rsi
lea r9, [rsp + 0xb0]
mov dword [rsp + 0x40], 0x60
lea r8, [rsp + 0x80]
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x30], 5
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x120089
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x88], rsi
mov dword [rsp + 0x98], 0x40
mov qword [rsp + 0x90], rax
movdqu xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
lea rcx, [rsp + 0x70]
mov ebx, eax
call qword [sym.imp.ntdll.dll_RtlFreeAnsiString]
nop dword [rax]
test ebx, ebx
js 0x7ff7c00e693d
mov qword [rsp + 0x130], rdi
lea r9d, [rsi + 0x18]
mov rdi, qword [rsp + 0x68]
lea r8, [rsp + 0xd0]
mov rcx, rdi
mov dword [rsp + 0x20], 5
lea rdx, [rsp + 0xc0]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x7ff7c00e65b7
nop
cmp qword [rsp + 0xd8], rsi
jne 0x7ff7c00e65b7
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
jmp 0x7ff7c00e6600
lea r8, [sym.ProcessHacker.exe_mxml_opaque_cb]
mov qword [rsp + 0x138], r12
mov rdx, rdi
xor ecx, ecx
call sym.ProcessHacker.exe_mxmlLoadFd
mov rcx, rdi
mov r12, rax
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax]
test r12, r12
je 0x7ff7c00e65f3
cmp dword [r12], esi
je 0x7ff7c00e6622
mov rcx, r12
call sym.ProcessHacker.exe_mxmlDelete
mov eax, 0xc0000102
mov r12, qword [rsp + 0x138]
mov rdi, qword [rsp + 0x130]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.7ff7c0121390
add rsp, 0x108
pop rsi
pop rbx
ret
mov qword [rsp + 0xf8], r14
mov r14, qword [r12 + 0x20]
test r14, r14
je 0x7ff7c00e6921
mov qword [rsp + 0x128], rbp
lea r10, [0x7ff7c01895a4]
mov qword [rsp + 0x100], r13
mov qword [rsp + 0xf0], r15
nop word [rax + rax]
cmp dword [r14], 0
jne 0x7ff7c00e68fc
mov r8d, dword [r14 + 0x38]
mov r9, qword [r14 + 0x40]
test r8d, r8d
jle 0x7ff7c00e68fc
nop dword [rax + rax]
mov rdx, qword [r9]
mov rax, rsi
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r10 + rax - 1]
jne 0x7ff7c00e66eb
nop
cmp rax, 5
jne 0x7ff7c00e6690
mov rcx, qword [r9 + 8]
test rcx, rcx
je 0x7ff7c00e68fc
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp byte [rcx + rdx], 0
jne 0x7ff7c00e66c0
call sym.ProcessHacker.exe_PhConvertUtf8ToUtf16Ex
mov r15, rax
test rax, rax
je 0x7ff7c00e68f5
mov ecx, dword ds:[r14]
cmp ecx, 2
jne 0x7ff7c00e66fc
mov rcx, qword [r14 + 0x30]
jmp 0x7ff7c00e6716
dec r8d
add r9, 0x10
test r8d, r8d
jg 0x7ff7c00e6680
jmp 0x7ff7c00e68fc
nop dword [rax]
test ecx, ecx
jne 0x7ff7c00e6732
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x7ff7c00e6732
cmp dword [rcx], 2
jne 0x7ff7c00e6732
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x7ff7c00e6732
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x7ff7c00e6722
call sym.ProcessHacker.exe_PhConvertUtf8ToUtf16Ex
jmp 0x7ff7c00e6737
call sym.ProcessHacker.exe_PhReferenceEmptyString
lock bts qword [0x7ff7c01d3dc0], 0
mov rbp, rax
jae 0x7ff7c00e6752
lea rcx, [0x7ff7c01d3dc0]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockExclusive
mov rcx, r15
call fcn.7ff7c00e5350
mov rbx, rax
test rax, rax
je 0x7ff7c00e67e5
mov eax, dword [rax]
test eax, eax
je 0x7ff7c00e678d
cmp eax, 3
jne 0x7ff7c00e67b2
mov r8, qword [rbx + 0x28]
xor edx, edx
mov rcx, qword [0x7ff7c01d3cd0]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rbx + 0x28], rsi
jmp 0x7ff7c00e67b2
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0x28], rsi
test rcx, rcx
je 0x7ff7c00e67b2
add rcx, 0xfffffffffffffff0
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7c00e67b2
call fcn.7ff7c00c6290
mov ecx, dword ds:[rbx]
mov r9, rbx
mov r8, rbp
mov rdx, rbp
call fcn.7ff7c00e4db0
test al, al
jne 0x7ff7c00e6887
mov ecx, dword [rbx]
lea rdx, [rbx + 0x18]
mov r9, rbx
xor r8d, r8d
call fcn.7ff7c00e4db0
nop
jmp 0x7ff7c00e6887
mov rcx, qword [0x7ff7c01d3cd0]
mov edx, 4
lea r8d, [rdx + 0x2c]
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
mov rsi, qword [r15]
mov edx, 4
mov rcx, qword [0x7ff7c01d3cd0]
mov r13, rax
mov rdi, qword [r15 + 8]
lea r8, [rsi + 2]
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
lea r8, [rsi + 2]
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call fcn.7ff7c0125120
mov qword [r13 + 0x10], rbx
mov rax, qword [r15]
mov qword [r13 + 8], rax
lock inc dword [rbp - 8]
mov rbx, qword [0x7ff7c01d78a8]
mov qword [r13 + 0x28], rbp
mov eax, dword [rbx]
mov ecx, dword [rbx + 4]
cmp eax, ecx
jne 0x7ff7c00e6879
mov r8, qword [rbx + 8]
lea eax, [rcx + rcx]
mov rcx, qword [0x7ff7c01d3cd0]
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 4], eax
call qword [sym.imp.kernel32.dll_HeapReAlloc_1]
mov qword [rbx + 8], rax
mov eax, dword [rbx]
mov ecx, eax
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], r13
inc dword [rbx]
xor esi, esi
mov rcx, 0xffffffffffffffff
lock xadd qword [0x7ff7c01d3dc0], rcx
movzx eax, cl
and al, 6
cmp al, 2
jne 0x7ff7c00e68c5
lea rax, [rcx - 1]
lea rdx, [rax + 4]
lock cmpxchg qword [0x7ff7c01d3dc0], rdx
jne 0x7ff7c00e68c5
lea rcx, [0x7ff7c01d3dc0]
nop
call fcn.7ff7c00e3de0
lea rcx, [rbp - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7c00e68dd
call fcn.7ff7c00c6290
lea rcx, [r15 - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7c00e68f5
call fcn.7ff7c00c6290
lea r10, [0x7ff7c01895a4]
mov r14, qword [r14 + 8]
test r14, r14
jne 0x7ff7c00e6660
mov r15, qword [rsp + 0xf0]
mov r13, qword [rsp + 0x100]
mov rbp, qword [rsp + 0x128]
mov rcx, r12
call sym.ProcessHacker.exe_mxmlDelete
call sym.ProcessHacker.exe_PhUpdateCachedSettings
mov r14, qword [rsp + 0xf8]
xor eax, eax
jmp 0x7ff7c00e65f8
mov eax, ebx
jmp 0x7ff7c00e6608