Function at 0x140126480
Capabilities:
Get file attributes

Disassembly:
push rbx
push rsi
sub rsp, 0x108
mov rax, qword [0x14020a008]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rbx, rcx
call fcn.1401261a0
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 0x14012693d
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_RtlFreeUnicodeString]
nop dword [rax]
test ebx, ebx
js 0x14012693d
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 0x1401265b7
nop
cmp qword [rsp + 0xd8], rsi
jne 0x1401265b7
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
jmp 0x140126600
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 0x1401265f3
cmp dword [r12], esi
je 0x140126622
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.140161390
add rsp, 0x108
pop rsi
pop rbx
ret
mov qword [rsp + 0xf8], r14
mov r14, qword [r12 + 0x20]
test r14, r14
je 0x140126921
mov qword [rsp + 0x128], rbp
lea r10, str.name
mov qword [rsp + 0x100], r13
mov qword [rsp + 0xf0], r15
nop word [rax + rax]
cmp dword [r14], 0
jne 0x1401268fc
mov r8d, dword [r14 + 0x38]
mov r9, qword [r14 + 0x40]
test r8d, r8d
jle 0x1401268fc
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 0x1401266eb
nop
cmp rax, 5
jne 0x140126690
mov rcx, qword [r9 + 8]
test rcx, rcx
je 0x1401268fc
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp byte [rcx + rdx], 0
jne 0x1401266c0
call sym.ProcessHacker.exe_PhConvertUtf8ToUtf16Ex
mov r15, rax
test rax, rax
je 0x1401268f5
mov ecx, dword ds:[r14]
cmp ecx, 2
jne 0x1401266fc
mov rcx, qword [r14 + 0x30]
jmp 0x140126716
dec r8d
add r9, 0x10
test r8d, r8d
jg 0x140126680
jmp 0x1401268fc
nop dword [rax]
test ecx, ecx
jne 0x140126732
mov rcx, qword [r14 + 0x20]
test rcx, rcx
je 0x140126732
cmp dword [rcx], 2
jne 0x140126732
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x140126732
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140126722
call sym.ProcessHacker.exe_PhConvertUtf8ToUtf16Ex
jmp 0x140126737
call sym.ProcessHacker.exe_PhReferenceEmptyString
lock bts qword [0x140213dc0], 0
mov rbp, rax
jae 0x140126752
lea rcx, [0x140213dc0]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockExclusive
mov rcx, r15
call fcn.140125350
mov rbx, rax
test rax, rax
je 0x1401267e5
mov eax, dword [rax]
test eax, eax
je 0x14012678d
cmp eax, 3
jne 0x1401267b2
mov r8, qword [rbx + 0x28]
xor edx, edx
mov rcx, qword [0x140213cd0]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rbx + 0x28], rsi
jmp 0x1401267b2
mov rcx, qword [rbx + 0x28]
mov qword [rbx + 0x28], rsi
test rcx, rcx
je 0x1401267b2
add rcx, 0xfffffffffffffff0
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401267b2
call fcn.140106290
mov ecx, dword ds:[rbx]
mov r9, rbx
mov r8, rbp
mov rdx, rbp
call fcn.140124db0
test al, al
jne 0x140126887
mov ecx, dword [rbx]
lea rdx, [rbx + 0x18]
mov r9, rbx
xor r8d, r8d
call fcn.140124db0
nop
jmp 0x140126887
mov rcx, qword [0x140213cd0]
mov edx, 4
lea r8d, [rdx + 0x2c]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, qword [r15]
mov edx, 4
mov rcx, qword [0x140213cd0]
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.140165120
mov qword [r13 + 0x10], rbx
mov rax, qword [r15]
mov qword [r13 + 8], rax
lock inc dword [rbp - 8]
mov rbx, qword [0x1402178a8]
mov qword [r13 + 0x28], rbp
mov eax, dword [rbx]
mov ecx, dword [rbx + 4]
cmp eax, ecx
jne 0x140126879
mov r8, qword [rbx + 8]
lea eax, [rcx + rcx]
mov rcx, qword [0x140213cd0]
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 4], eax
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
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 [0x140213dc0], rcx
movzx eax, cl
and al, 6
cmp al, 2
jne 0x1401268c5
lea rax, [rcx - 1]
lea rdx, [rax + 4]
lock cmpxchg qword [0x140213dc0], rdx
jne 0x1401268c5
lea rcx, [0x140213dc0]
nop
call fcn.140123de0
lea rcx, [rbp - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401268dd
call fcn.140106290
lea rcx, [r15 - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401268f5
call fcn.140106290
lea r10, str.name
mov r14, qword [r14 + 8]
test r14, r14
jne 0x140126660
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 0x1401265f8
mov eax, ebx
jmp 0x140126608