Function at 0x140168360
Capabilities:
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r15
lea rbp, [rsp - 0x688]
sub rsp, 0x788
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rbp + 0x660], rax
xorps xmm0, xmm0
mov qword [rbp - 0x50], rdx
mov rsi, rdx
mov qword [rbp - 0x48], r9
mov r15, rcx
mov dword [rsp + 0x20], 5
mov rcx, qword [rbp + 0x6e0]
xor edx, edx
xor r12d, r12d
mov qword [rbp - 0x40], rcx
mov qword [r9], r12
mov rdi, r8
mov qword [rbp - 0x60], rdx
lea r8, [rbp + 0x430]
mov dword [rcx], r12d
lea rdx, [rbp - 0x38]
mov ebx, 1
mov rcx, rsi
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
lea r9d, [rbx + 0x17]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x140168703
mov ecx, dword [r15 + 0xc]
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x40], r12d
cmp ecx, 0xffffffff
je 0x14016842d
test ecx, ecx
mov eax, 0x2000000
cmovne eax, ecx
cmp qword [rbp + 0x438], rax
jg 0x140168703
lfence
lea rax, [rsp + 0x58]
mov rdx, rdi
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x48]
mov rcx, rsi
call fcn.140168160
test al, al
je 0x1401686ed
mov rcx, qword [rsp + 0x48]
movzx r8d, bl
mov qword [rsp + 0x780], r13
mov qword [rsp + 0x778], r14
mov r14d, dword [rsp + 0x44]
mov edx, r14d
call sym.ProcessHacker.exe_PhBufferToHexStringEx
mov rdx, qword ds:[rsp + 0x48]
mov r13, rax
mov rax, qword [0x1402457d8]
xor r9d, r9d
mov qword [rsp + 0x20], r12
mov r8d, r14d
mov r12, qword [rsp + 0x58]
mov rcx, r12
call qword [case.0x1400f654f.0]
mov rdi, rax
test rax, rax
je 0x1401685ab
xor edx, edx
lea rcx, [rbp + 0x450]
mov r8d, 0x20c
call fcn.1401868c0
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x450
call fcn.1401868c0
mov rax, qword [0x1402457b8]
lea rdx, [rbp + 0x450]
xor r8d, r8d
mov rcx, rdi
call qword [case.0x1400f654f.0]
test eax, eax
je 0x14016858b
lea rax, [rbp + 0x454]
mov dword [rsp + 0x60], 0x48
mov qword [rsp + 0x68], rax
lea r9, [0x14023f2e0]
mov rax, qword [r15]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov edx, 2
mov qword [rbp - 0x80], rsi
mov rcx, r15
mov rax, qword [r13 + 8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x20], 0x450
mov dword [rbp - 0x70], r14d
mov qword [rbp - 0x60], r12
call fcn.140167fa0
mov rcx, qword [rbp + 0x410]
mov ebx, eax
test rcx, rcx
je 0x14016858b
mov rax, qword [0x1402457e8]
call qword [case.0x1400f654f.0]
mov rax, qword [0x1402457a0]
xor r8d, r8d
mov rdx, rdi
mov rcx, r12
call qword [case.0x1400f654f.0]
jmp 0x140168699
xor r14d, r14d
cmp dword [r15 + 0x10], r14d
jbe 0x140168699
nop dword [rax + rax]
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x14016860c
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1401685fa
mov rbx, rsi
mov edi, eax
nop word [rax + rax]
mov rcx, qword [rbx]
mov rax, qword [0x1402457e8]
call qword [case.0x1400f654f.0]
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x1401685e0
mov rcx, qword [0x140241998]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rax, qword ds:[r15 + 0x18]
lea r9, [0x14023f2f0]
mov dword [rsp + 0x60], 0x48
lea r8, [rsp + 0x60]
mov edx, 2
mov rcx, qword [rax + r14*8]
mov rax, qword [r15]
mov qword [rsp + 0x78], rax
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x68], rcx
mov rcx, r15
mov rax, qword [r13 + 8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x78], rax
mov eax, dword [rsp + 0x44]
mov dword [rbp - 0x70], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov qword [rbp - 0x60], r12
call fcn.140167fa0
mov ebx, eax
cmp eax, 2
je 0x140168699
inc r14d
cmp r14d, dword [r15 + 0x10]
jb 0x1401685c0
lea rcx, [r13 - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
mov r14, qword [rsp + 0x778]
mov r13, qword [rsp + 0x780]
cmp eax, 1
jne 0x1401686c5
nop dword [rax]
call fcn.1400fbcc0
mov r8, qword [rsp + 0x48]
xor edx, edx
mov rcx, qword [0x140241998]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rsp + 0x58]
xor edx, edx
mov rax, qword [0x1402457a8]
call qword [case.0x1400f654f.0]
mov rcx, qword [rbp - 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rcx], rax
mov rcx, qword [rbp - 0x40]
mov eax, dword [rsp + 0x40]
mov dword [rcx], eax
mov eax, ebx
mov rcx, qword [rbp + 0x660]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0x788
pop r15
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret