Function at 0x140068390
Capabilities:
Get file system object information

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x748
mov rsi, qword [rcx + 0x18]
mov edx, dword [0x1400d8fbc]
mov rdi, rcx
mov rbx, qword [rsi + 0x10]
lea rcx, [rsp + 0x50]
xor r14d, r14d
mov r8, rbx
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x50], r14
call sym.ProcessHacker.exe_PhOpenProcess
mov rcx, qword [rsi + 0x40]
test rcx, rcx
je 0x14006844f
lea r8, [rsp + 0x1a0]
add rcx, 0x10
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x101
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140068407
mov rax, qword [rsp + 0x1a0]
mov qword [rdi + 0x28], rax
mov rcx, qword [rsi + 0x40]
lea r8, [rsp + 0x1a0]
mov r9d, 0x2b8
xor edx, edx
add rcx, 0x10
mov dword [rsp + 0x20], pe_nt_image_headers64
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x14006843e
mov rax, qword [rsp + 0x1a0]
mov qword [rdi + 0x30], rax
mov rdx, qword [rsi + 0x40]
lea rcx, [rdi + 0x38]
add rdx, 0x10
call sym.ProcessHacker.exe_PhInitializeImageVersionInfo
cmp qword [rdi + 0x28], r14
jne 0x14006848e
lea r8, [rsp + 0x460]
lea rcx, str..exe
mov r9d, 0x2b8
mov edx, 0x80
mov dword [rsp + 0x20], 0x111
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x14006848e
mov rax, qword [rsp + 0x460]
mov qword [rdi + 0x28], rax
cmp qword [rdi + 0x30], r14
jne 0x1400684cd
lea r8, [rsp + 0x460]
lea rcx, str..exe
mov r9d, 0x2b8
mov edx, 0x80
mov dword [rsp + 0x20], 0x110
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400684cd
mov rax, qword [rsp + 0x460]
mov qword [rdi + 0x30], rax
mov edx, dword [0x1400d8fbc]
lea rcx, [rsp + 0x68]
mov r8, rbx
or edx, 0x10
call sym.ProcessHacker.exe_PhOpenProcess
test eax, eax
js 0x1400685a6
mov rcx, qword [rsp + 0x68]
lea rdx, [rsp + 0x770]
mov byte [rsp + 0x770], r14b
call sym.ProcessHacker.exe_PhGetProcessIsPosix
movzx ecx, byte [rsp + 0x770]
mov byte [rdi + 0x88], cl
test eax, eax
js 0x14006853a
test cl, cl
je 0x14006853a
mov rcx, qword [rsp + 0x68]
lea rdx, [rsp + 0x80]
call sym.ProcessHacker.exe_PhGetProcessPosixCommandLine
mov r8, qword [rsp + 0x80]
mov r11d, eax
jmp 0x140068592
mov rcx, qword [rsp + 0x68]
lea r8, [rsp + 0x80]
mov edx, 3
call sym.ProcessHacker.exe_PhGetProcessPebString
mov r11d, eax
test eax, eax
js 0x14006859b
mov r8, qword [rsp + 0x80]
mov edx, r14d
movzx eax, word [r8]
test eax, 0xfffffffe
jbe 0x140068592
lea rcx, [r8 + 0x10]
mov r9d, 0x20
cmp word [rcx], r14w
jne 0x140068582
mov word [rcx], r9w
movzx eax, word [r8]
inc edx
add rcx, 2
shr eax, 1
cmp edx, eax
jb 0x140068578
test r11d, r11d
js 0x14006859b
mov qword [rdi + 0x20], r8
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x740], rbp
mov qword [rsp + 0x738], r12
mov qword [rsp + 0x730], r13
mov qword [rsp + 0x728], r15
test rcx, rcx
je 0x140068d81
cmp dword [0x1400d8fc0], 0x3c
jb 0x1400686d8
mov rax, qword [0x1400d62b8]
test rax, rax
je 0x140068667
mov qword [rsp + 0xb0], rcx
mov dword [rsp + 0x48], 8
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], 0x10
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x130]
mov dword [rsp + 0x28], 0x999920cc
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov dword [rsp + 0xb8], 8
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov rcx, qword [rsp + 0x60]
test eax, eax
cmovns rcx, qword [rsp + 0x90]
mov qword [rsp + 0x60], rcx
jmp 0x14006867c
lea r8, [rsp + 0x60]
mov edx, 8
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
mov rcx, qword [rsp + 0x60]
test eax, eax
js 0x1400686d3
mov r9d, 4
lea rax, [rsp + 0x780]
lea r8, [rdi + 0x58]
lea edx, [r9 + 0xe]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x1400686af
cmp dword [rdi + 0x58], 2
sete al
mov byte [rdi + 0x5c], al
mov rcx, qword [rsp + 0x60]
lea r8, [rdi + 0x68]
lea rdx, [rdi + 0x60]
call sym.ProcessHacker.exe_PhGetTokenIntegrityLevel
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x50]
jmp 0x1400686d8
mov rcx, qword [rsp + 0x50]
mov r9d, 8
lea r8, [rsp + 0xa0]
mov qword [rsp + 0x20], r14
lea edx, [r9 + 0x12]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x14006870a
cmp qword [rsp + 0xa0], r14
setne al
mov byte [rdi + 0x89], al
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140068d81
mov rax, qword [0x1400d62b8]
test rax, rax
je 0x140068d5e
mov qword [rsp + 0xd0], rcx
mov dword [rsp + 0x48], 8
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], 0x10
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x140]
mov dword [rsp + 0x28], 0x999920d0
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov dword [rsp + 0xd8], 4
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
js 0x140068d7c
mov r13, qword [rsp + 0x98]
cmp eax, 0x123
je 0x140068d7c
test r13, r13
je 0x140068d7c
mov byte [rdi + 0x78], 1
lea rcx, [rdi + 0x70]
mov qword [rsp + 0x70], r14
mov r15, r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x78], r14
cmp r13, 0xffffffffffffffff
je 0x140068d19
cmp r13, 0xfffffffffffffffe
je 0x140068d19
mov rbx, qword [0x1400d62b8]
mov rbp, r14
test rbx, rbx
cmove rbp, r13
or rsi, 0xffffffffffffffff
mov qword [rsp + 0x70], rbp
test rcx, rcx
je 0x140068c88
test rbx, rbx
mov dword [rsp + 0x778], r14d
cmovne rbp, r13
test rbx, rbx
je 0x1400688cc
mov rcx, qword [0x1400d8fb0]
lea r8d, [rsi + 0x11]
xor edx, edx
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x100], rbp
mov dword [rsp + 0x108], 2
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r12, rax
test rax, rax
jne 0x14006885a
mov ecx, 0xc000009a
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov dword [rsp + 0x48], 0x10
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x18
lea rax, [rsp + 0xf8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x120]
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x28], 0x99992260
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov ebx, eax
test eax, eax
js 0x1400688b8
mov eax, dword [r12 + 4]
mov ebx, dword [r12]
mov dword [rsp + 0x778], eax
mov rcx, qword [0x1400d8fb0]
mov r8, r12
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x1400688ee
xor r9d, r9d
lea rax, [rsp + 0x778]
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryObject]
mov ebx, eax
mov eax, dword [rsp + 0x778]
test eax, eax
je 0x140068a73
mov rcx, qword [0x1400d8fb0]
mov r8, rax
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r12, rax
test rax, rax
jne 0x140068923
mov ecx, 0xc000009a
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rbx, qword [0x1400d62b8]
test rbx, rbx
je 0x140068a0f
mov r14d, dword [rsp + 0x778]
mov rcx, qword [0x1400d8fb0]
xor edx, edx
add r14d, 0x10
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xe8], rbp
mov r8d, r14d
mov dword [rsp + 0xf0], 2
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbp, rax
test rax, rax
jne 0x140068980
mov ecx, 0xc000009a
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x18
lea rax, [rsp + 0xe0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x110]
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x28], 0x99992260
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov ebx, eax
test eax, eax
js 0x1400689f8
mov ebx, dword [rbp]
test ebx, ebx
js 0x1400689ee
mov r8d, dword [rbp + 4]
lea rdx, [rbp + 0x10]
mov rcx, r12
call fcn.140094930
mov rax, r12
sub rax, qword [rbp + 8]
add qword [r12 + 8], rax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x778], eax
mov rcx, qword [0x1400d8fb0]
mov r8, rbp
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor r14d, r14d
jmp 0x140068a37
mov r9d, dword [rsp + 0x778]
lea rax, [rsp + 0x778]
mov r8, r12
mov edx, 2
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryObject]
mov ebx, eax
test ebx, ebx
jns 0x140068a4f
mov rcx, qword [0x1400d8fb0]
mov r8, r12
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x140068a73
movzx edx, word [r12]
mov rcx, qword [r12 + 8]
call sym.ProcessHacker.exe_PhCreateStringEx
mov rcx, qword [0x1400d8fb0]
mov r8, r12
xor edx, edx
mov r15, rax
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test ebx, ebx
js 0x140068caa
lea rcx, [r15 + 0x10]
lea rdx, [0x1400ab350]
call fcn.1400a6b10
test eax, eax
jne 0x140068c41
cmp qword [0x1400d62b8], 0
je 0x140068b58
mov rcx, qword [0x1400d8fb0]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
jne 0x140068aca
mov ecx, 0xc000009a
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rcx, qword [0x1400d62b8]
mov dword [rsp + 0x48], 0x800
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x10
lea rax, [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x150]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], 0x9999225c
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0xc8], r13
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
lea rcx, [rbx + 0x10]
mov ebp, eax
mov qword [rbx + 8], rcx
test eax, eax
js 0x140068b41
movzx edx, word [rbx]
call sym.ProcessHacker.exe_PhCreateStringEx
mov qword [rsp + 0x58], rax
mov rcx, qword [0x1400d8fb0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x140068c61
cmp dword [0x1400d8fc0], 0x33
jbe 0x140068bf4
mov rcx, qword [0x1400d8fb0]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
jne 0x140068b8e
mov ecx, 0xc000009a
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rbp, qword [rsp + 0x70]
call fcn.1400114b0
test al, al
jne 0x140068ba3
mov ebp, 0xc0000001
jmp 0x140068be0
xor ecx, ecx
mov dword [0x1400d8f04], r14d
mov qword [0x1400d8f08], rbp
mov qword [0x1400d8f18], rbx
mov dword [0x1400d8f20], 0x800
call fcn.1400115b0
mov ebp, eax
test eax, eax
js 0x140068be0
movzx edx, word [rbx]
mov rcx, qword [rbx + 8]
call sym.ProcessHacker.exe_PhCreateStringEx
mov qword [rsp + 0x58], rax
mov rcx, qword [0x1400d8fb0]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x140068c61
mov rbx, qword [0x1400d91a8]
xor r8d, r8d
lea edx, [r8 + 0x12]
mov rcx, rbx
call fcn.14001fbe0
lock add dword [rbx + 0x18], 1
lea rcx, [rax + 0x20]
mov dword [rax], 1
mov qword [rax + 8], 0x12
mov qword [rax + 0x10], rbx
lea rax, [rcx + 0x10]
mov word [rcx], r14w
mov word [rcx + 2], r14w
mov qword [rcx + 8], rax
mov qword [rsp + 0x58], rcx
mov word [rax], r14w
jmp 0x140068c65
mov rdx, qword [rsp + 0x70]
cmp qword [0x1400d62b8], 0
lea r8, [rsp + 0x58]
cmovne rdx, r13
mov rcx, rsi
call fcn.14000fdb0
mov ebp, eax
test ebp, ebp
js 0x140068caa
mov r8, qword [rsp + 0x58]
lea rax, [rsp + 0x78]
mov r9, r15
mov rdx, r13
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.1400104a0
lea rcx, [rdi + 0x70]
jmp 0x140068c8f
mov eax, dword [rsp + 0x770]
test eax, eax
js 0x140068caa
test rcx, rcx
je 0x140068caa
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140068caa
mov qword [rcx], rax
lock add dword [rax - 0x20], 1
test r15, r15
je 0x140068cc3
lea rcx, [r15 - 0x20]
mov eax, esi
lock xadd dword [rcx], eax
add eax, 0xffffffff
jne 0x140068cc3
call fcn.14001fcd0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140068ce1
add rcx, 0xffffffffffffffe0
mov eax, esi
lock xadd dword [rcx], eax
add eax, 0xffffffff
jne 0x140068ce1
call fcn.14001fcd0
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140068d07
lea rcx, [rax - 0x20]
lock xadd dword [rcx], esi
add esi, 0xffffffff
jne 0x140068d11
call fcn.14001fcd0
mov rsi, qword [rsp + 0x88]
jmp 0x140068d19
mov rsi, qword [rsp + 0x88]
jmp 0x140068d19
mov rsi, qword [rsp + 0x88]
mov r9d, 0x40
lea r8, [rsp + 0x160]
mov rcx, r13
lea edx, [r9 - 0x3e]
mov qword [rsp + 0x20], r14
call qword [sym.imp.ntdll.dll_NtQueryInformationJobObject]
test eax, eax
js 0x140068d4e
cmp dword [rsp + 0x170], 0x1000
setne al
mov byte [rdi + 0x79], al
mov rcx, r13
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x50]
jmp 0x140068d81
xor edx, edx
call qword [sym.imp.ntdll.dll_NtIsProcessInJob]
test eax, eax
js 0x140068d7c
mov rcx, qword [rsp + 0x50]
cmp eax, 0x124
sete al
mov byte [rdi + 0x78], al
jmp 0x140068d81
mov rcx, qword [rsp + 0x50]
cmp dword [0x1400d8fc0], 0x3d
jb 0x140068dc6
mov r9d, 8
lea r8, [rsp + 0xa8]
mov qword [rsp + 0x20], r14
lea edx, [r9 + 0x29]
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x140068dc1
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x50]
mov qword [rdi + 0x80], rax
jmp 0x140068dc6
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140068dd1
call qword [sym.imp.ntdll.dll_NtClose]
cmp byte [0x1400d64a6], 0
je 0x140068dee
lock add dword [rsi - 0x20], 1
lea rcx, [0x140068f40]
mov rdx, rsi
call sym.ProcessHacker.exe_PhQueueItemGlobalWorkQueue
mov r15, qword [rsp + 0x728]
mov r13, qword [rsp + 0x730]
mov r12, qword [rsp + 0x738]
mov rbp, qword [rsp + 0x740]
add rsp, 0x748
pop r14
pop rdi
pop rsi
pop rbx
ret