Function at 0x1400c3d50
Capabilities:
Get file attributes

Disassembly:
push rbx
push rdi
sub rsp, 0x98
mov rbx, rcx
call fcn.1400c3ac0
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0xc0]
mov dword [rsp + 0x30], 0x60
xor r9d, r9d
mov dword [rsp + 0x28], 1
mov r8d, 0x120089
mov rdx, rbx
mov dword [rsp + 0x20], 5
call sym.ProcessHacker.exe_PhCreateFileWin32Ex
mov edi, eax
test eax, eax
js 0x1400c40ba
mov rbx, qword [rsp + 0xc0]
lea r8, [rsp + 0x50]
mov rcx, rbx
mov dword [rsp + 0x20], 5
mov r9d, 0x18
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x1400c3df0
cmp qword [rsp + 0x58], 0
jne 0x1400c3df0
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
add rsp, 0x98
pop rdi
pop rbx
ret
lea r8, [0x1400c3d40]
mov qword [rsp + 0x88], r12
mov rdx, rbx
xor ecx, ecx
call sym.ProcessHacker.exe_mxmlLoadFd
mov rcx, rbx
mov r12, rax
call qword [sym.imp.ntdll.dll_NtClose]
test r12, r12
je 0x1400c3e29
cmp dword [r12], 0
je 0x1400c3e40
mov rcx, r12
call sym.ProcessHacker.exe_mxmlDelete
mov eax, 0xc0000102
mov r12, qword [rsp + 0x88]
add rsp, 0x98
pop rdi
pop rbx
ret
mov qword [rsp + 0xb0], rbp
mov rbp, qword [r12 + 0x20]
test rbp, rbp
je 0x1400c409b
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r15
cmp dword [rbp], 0
jne 0x1400c4074
cmp dword [rbp + 0x38], 1
jl 0x1400c4074
mov rcx, qword [rbp + 0x40]
lea rdx, str.name
mov rcx, qword [rcx]
call fcn.1400e9950
test eax, eax
jne 0x1400c4074
mov rax, qword [rbp + 0x40]
or rdx, 0xffffffffffffffff
mov rcx, qword [rax + 8]
nop dword [rax + rax]
inc rdx
cmp byte [rcx + rdx], 0
jne 0x1400c3eb0
call sym.ProcessHacker.exe_PhConvertUtf8ToUtf16Ex
mov r15, rax
test rax, rax
je 0x1400c4074
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x1400c3ef5
cmp dword [rcx], 2
jne 0x1400c3ef5
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x1400c3ef5
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x1400c3ee5
call sym.ProcessHacker.exe_PhConvertUtf8ToUtf16Ex
jmp 0x1400c3efa
call sym.ProcessHacker.exe_PhReferenceEmptyString
lock bts qword [0x14015bb40], 0
mov r14, rax
jae 0x1400c3f15
lea rcx, [0x14015bb40]
call sym.ProcessHacker.exe_PhfAcquireQueuedLockExclusive
mov rcx, r15
call fcn.1400c3120
mov rbx, rax
test rax, rax
je 0x1400c3f77
cmp dword [rax], 0
jne 0x1400c3f49
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x1400c3f49
add rcx, 0xfffffffffffffff0
or edx, 0xffffffff
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x1400c3f49
call fcn.1400258b0
mov ecx, dword [rbx]
mov r9, rbx
mov r8, r14
mov rdx, r14
call fcn.1400c2ee0
test al, al
jne 0x1400c4013
mov ecx, dword [rbx]
lea rdx, [rbx + 0x18]
mov r9, rbx
xor r8d, r8d
call fcn.1400c2ee0
jmp 0x1400c4013
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov edx, 4
lea r8d, [rdx + 0x2c]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, qword [r15]
mov edx, 4
mov rcx, qword [sym.ProcessHacker.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.1400e19b0
mov qword [r13 + 0x10], rbx
mov rax, qword [r15]
mov qword [r13 + 8], rax
lock inc dword [r14 - 8]
mov rbx, qword [0x14015dec0]
mov qword [r13 + 0x28], r14
mov eax, dword [rbx + 4]
cmp dword [rbx], eax
jne 0x1400c4007
mov r8, qword [rbx + 8]
add eax, eax
mov r9d, eax
mov edx, 4
mov dword [rbx + 4], eax
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
shl r9, 3
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov qword [rbx + 8], rax
mov ecx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], r13
inc dword [rbx]
or rcx, 0xffffffffffffffff
lock xadd qword [0x14015bb40], rcx
movzx eax, cl
and al, 6
cmp al, 2
jne 0x1400c4048
lea rax, [rcx - 1]
lea rdx, [rax + 4]
lock cmpxchg qword [0x14015bb40], rdx
jne 0x1400c4048
lea rcx, [0x14015bb40]
call fcn.1400247d0
lea rcx, [r14 - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c405e
call fcn.1400258b0
lea rcx, [r15 - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c4074
call fcn.1400258b0
mov rbp, qword [rbp + 8]
test rbp, rbp
jne 0x1400c3e70
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov r13, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x90]
mov rcx, r12
call sym.ProcessHacker.exe_mxmlDelete
call fcn.1400c2890
mov rbp, qword [rsp + 0xb0]
xor eax, eax
mov r12, qword [rsp + 0x88]
add rsp, 0x98
pop rdi
pop rbx
ret