Function at 0x14004a810
Capabilities:
Get file system object information

Disassembly:
push rbp
push rbx
push r12
push r13
lea rbp, [rsp - 0x488]
sub rsp, 0x588
mov r12, qword [rdx + 0x98]
mov r13, rdx
mov rbx, rcx
xor r9d, r9d
mov rcx, r12
xor r8d, r8d
mov edx, 0x1009
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [r13 + 0x90]
or edx, 0xffffffff
call qword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov edx, 5
lea rcx, [rsp + 0x60]
call sym.ProcessHacker.exe_PhEnumProcessesEx
test eax, eax
jns 0x14004a88c
xor r9d, r9d
lea rdx, str.Unable_to_enumerate_processes
mov r8d, eax
mov rcx, rbx
add rsp, 0x588
pop r13
pop r12
pop rbx
pop rbp
jmp sym.ProcessHacker.exe_PhShowStatus
mov qword [rsp + 0x5b0], rsi
xor r9d, r9d
mov qword [rsp + 0x580], rdi
xor r8d, r8d
mov qword [rsp + 0x578], r14
mov edx, 0x845c
mov rcx, r12
mov qword [rsp + 0x570], r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, qword [rsp + 0x60]
xor edi, edi
nop word [rax + rax]
cmp qword [rsi + 0x50], 0
mov r14, rdi
mov qword [rbp + 0x4c8], rdi
je 0x14004a8eb
movzx edx, word [rsi + 0x38]
mov rcx, qword [rsi + 0x40]
jmp 0x14004a8f7
mov edx, 0x26
lea rcx, str.System_Idle_Process
call sym.ProcessHacker.exe_PhCreateStringEx
mov rcx, qword [rsi + 0x50]
lea r9, [rbp + 0x10]
mov rbx, rax
mov qword [rbp + 0x38], rcx
xor r8d, r8d
mov dword [rbp + 0x10], 5
mov rax, qword [rax + 8]
mov edx, 0x104d
mov rcx, r12
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x14], 0x7fffffff
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rbx - 0x10]
or edx, 0xffffffff
mov r15, rax
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x14004a94c
call fcn.1400258b0
mov rcx, qword [rsi + 0x50]
mov edx, dword [sym.ProcessHacker.exe_ProcessQueryAccess]
mov qword [rsp + 0x78], rcx
mov rcx, qword [0x14015a2a8]
mov qword [rbp - 0x80], rdi
test rcx, rcx
je 0x14004a9bb
mov dword [rsp + 0x48], edi
lea rax, [rsp + 0x50]
mov qword [rbp - 0x78], rax
xor r9d, r9d
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x78]
mov qword [rbp - 0x68], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0x18
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x70]
mov dword [rbp - 0x70], edx
xor edx, edx
mov dword [rsp + 0x28], 0x999920cb
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
jmp 0x14004a9e9
xorps xmm0, xmm0
mov dword [rbp - 0x48], 0x30
lea r9, [rsp + 0x78]
mov qword [rbp - 0x40], rdi
lea r8, [rbp - 0x48]
mov dword [rbp - 0x30], edi
lea rcx, [rsp + 0x50]
mov qword [rbp - 0x38], rdi
movdqu xmmword [rbp - 0x28], xmm0
call qword [sym.imp.ntdll.dll_NtOpenProcess]
test eax, eax
js 0x14004ab14
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x3c
jae 0x14004aa43
cmp qword [rsi + 0x50], 4
je 0x14004aa43
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x68]
mov edx, 0x1b
call fcn.14001d1b0
test eax, eax
js 0x14004aa43
mov rbx, qword [rsp + 0x68]
movzx edx, word [rbx]
mov rcx, qword [rbx + 8]
call sym.ProcessHacker.exe_PhCreateStringEx
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rbx
xor edx, edx
mov qword [rbp + 0x4c8], rax
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [0x14015a2a8]
test rcx, rcx
je 0x14004aaa6
mov rax, qword [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x48], edi
xor r8d, r8d
mov qword [rbp - 0x60], rax
xor edx, edx
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x58]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x60]
mov dword [rsp + 0x38], 0x18
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x80]
mov dword [rsp + 0x28], 0x999920cf
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x58], 8
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
jmp 0x14004aabb
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x58]
mov edx, 8
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
test eax, eax
js 0x14004ab09
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x70]
mov edx, 1
call fcn.14001ed50
test eax, eax
js 0x14004aafe
mov rbx, qword [rsp + 0x70]
xor r8d, r8d
mov dl, 1
mov rcx, qword [rbx]
call sym.ProcessHacker.exe_PhGetSidFullName
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
mov r8, rbx
xor edx, edx
mov r14, rax
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rsi + 0x50], 0
jne 0x14004ab33
test r14, r14
jne 0x14004ab33
mov rax, qword [0x14015a730]
test rax, rax
je 0x14004ab33
mov r14, rax
lock inc dword [rax - 8]
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x3c
jb 0x14004ab52
mov rcx, qword [rsi + 0x50]
cmp rcx, 4
je 0x14004ab52
lea rdx, [rbp + 0x4c8]
call sym.ProcessHacker.exe_PhGetProcessImageFileNameByProcessId
cmp qword [rsi + 0x50], 4
jne 0x14004ab65
call sym.ProcessHacker.exe_PhGetKernelFileName
mov qword [rbp + 0x4c8], rax
mov rbx, qword [rbp + 0x4c8]
test rbx, rbx
je 0x14004abab
mov rcx, rbx
call sym.ProcessHacker.exe_PhGetFileName
mov qword [rbp + 0x4c8], rax
mov rdi, rax
test rbx, rbx
je 0x14004ab9e
lea rcx, [rbx - 0x10]
or edx, 0xffffffff
lock xadd dword [rcx + 8], edx
cmp edx, 1
jne 0x14004ab9e
call fcn.1400258b0
test rdi, rdi
je 0x14004abab
mov rbx, qword [rdi + 8]
xor edi, edi
jmp 0x14004abae
mov rbx, rdi
lea rdx, str..exe
lea rcx, str..exe
call fcn.1400e9230
mov qword [rbp + 0x4c0], rdi
test eax, eax
jne 0x14004ac36
test rbx, rbx
je 0x14004abfe
lea r9, [rbp + 0x4c0]
mov dword [rsp + 0x20], 1
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_ExtractIconExW]
mov r8, qword [rbp + 0x4c0]
test r8, r8
jne 0x14004acb9
xor edx, edx
lea rcx, [rbp + 0x4c0]
call sym.ProcessHacker.exe_PhGetStockApplicationIcon
mov r8, qword [rbp + 0x4c0]
test r8, r8
je 0x14004acb9
mov rdx, r8
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_DuplicateIcon]
mov r8, rax
mov qword [rbp + 0x4c0], rax
jmp 0x14004acb9
test rbx, rbx
je 0x14004ac79
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x101
lea r8, [rbp + 0x1b0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov r8, qword [rbp + 0x4c0]
test rax, rax
cmovne r8, qword [rbp + 0x1b0]
mov qword [rbp + 0x4c0], r8
test r8, r8
jne 0x14004acb9
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x111
lea r8, [rbp + 0x1b0]
mov edx, 0x80
lea rcx, str..exe
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov r8, qword [rbp + 0x4c0]
test rax, rax
cmovne r8, qword [rbp + 0x1b0]
mov qword [rbp + 0x4c0], r8
mov rbx, r8
test r8, r8
je 0x14004ad13
mov rcx, qword [r13 + 0x90]
or edx, 0xffffffff
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov rcx, qword [r13 + 0x98]
lea r9, [rbp + 0x90]
xor r8d, r8d
mov dword [rbp + 0xb4], eax
mov edx, 0x104c
mov dword [rbp + 0x90], 2
mov dword [rbp + 0x94], r15d
mov dword [rbp + 0x98], edi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [rsi + 0x50]
lea rdx, [rbp - 0x18]
mov r8d, 0xa
call fcn.1400e9c98
mov rcx, qword [r13 + 0x98]
lea rax, [rbp - 0x18]
lea r9, [rbp + 0xf0]
mov qword [rbp + 0x108], rax
xor r8d, r8d
mov dword [rbp + 0xf0], 1
mov edx, 0x104c
mov dword [rbp + 0xf4], r15d
mov dword [rbp + 0xf8], 1
call qword [sym.imp.USER32.dll_SendMessageW]
test r14, r14
je 0x14004ad72
mov rax, qword [r14 + 8]
jmp 0x14004ad75
mov rax, rdi
mov rcx, qword [r13 + 0x98]
lea r9, [rbp + 0x150]
xor r8d, r8d
mov dword [rbp + 0x150], 1
mov edx, 0x104c
mov dword [rbp + 0x154], r15d
mov dword [rbp + 0x158], 2
mov qword [rbp + 0x168], rax
call qword [sym.imp.USER32.dll_SendMessageW]
test r14, r14
je 0x14004adce
lea rcx, [r14 - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14004adce
call fcn.1400258b0
mov rbx, qword [rbp + 0x4c8]
test rbx, rbx
je 0x14004adf0
lea rcx, [rbx - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14004adf0
call fcn.1400258b0
mov eax, dword [rsi]
test eax, eax
je 0x14004adff
add rsi, rax
jne 0x14004a8d0
mov r8, qword [rsp + 0x60]
xor edx, edx
mov rcx, qword [sym.ProcessHacker.exe_PhHeapHandle]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x844d
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov edx, 0x845c
mov rcx, r12
lea r8d, [r9 + 1]
mov r15, qword [rsp + 0x570]
mov r14, qword [rsp + 0x578]
mov rdi, qword [rsp + 0x580]
mov rsi, qword [rsp + 0x5b0]
add rsp, 0x588
pop r13
pop r12
pop rbx
pop rbp
jmp qword [sym.imp.USER32.dll_SendMessageW]