Function at 0x14010b5e0
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0xd0
mov ebp, dword [rsp + 0x118]
mov rax, rdx
mov esi, r9d
lea rdx, [rsp + 0x70]
mov r15d, r8d
mov r14, rcx
xor r9d, r9d
xor r8d, r8d
lea ebx, [rbp*8]
mov rcx, rax
not ebx
and ebx, 0x20
or ebx, 0x40
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U_WithStatus]
mov edi, eax
test eax, eax
js 0x14010b858
xor r12d, r12d
mov dword [rsp + 0xa0], 0x30
mov dword [rsp + 0x50], r12d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], r12
lea r9, [rsp + 0x80]
mov dword [rsp + 0x40], ebx
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x60]
mov eax, dword [rsp + 0x110]
xorps xmm0, xmm0
mov dword [rsp + 0x38], eax
mov edx, r15d
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], r12
mov qword [rsp + 0xa8], r12
mov dword [rsp + 0xb8], 0x40
movdqu xmmword [rsp + 0xc0], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
lea rcx, [rsp + 0x70]
mov edi, eax
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
test edi, edi
js 0x14010b858
test byte [0x14023e0d0], 1
mov rsi, qword [rsp + 0x60]
jne 0x14010b79c
lock bts qword [0x14023e0d0], 0x1f
jae 0x14010b71d
test byte [0x14023e0d0], 1
jne 0x14010b79c
xor edx, edx
lea rcx, [0x14023e0d0]
call sym.ProcessHacker.exe_PhfWaitForEvent
jmp 0x14010b79c
mov rdx, qword [0x140241890]
mov ecx, 0x40
call sym.ProcessHacker.exe_PhCreateObject
mov ecx, 1
mov rdi, rax
mov word [rax], cx
lock xadd dword [0x14024185c], ecx
movzx ecx, cl
mov byte [rax + 2], cl
mov dword [rax + 4], r12d
lea rax, [0x14010b9e0]
mov qword [rdi + 8], rax
lea rax, str.FileStream
mov qword [rdi + 0x10], rax
lea rax, [0x140245840]
mov qword [rax + rcx*8], rdi
lea rcx, [rdi + 0x20]
call qword [sym.imp.ntdll.dll_RtlInitializeSListHead]
lea rcx, [0x14023e0d0]
mov dword [rdi + 0x30], r12d
mov dword [rdi + 0x34], 0x10
mov qword [rdi + 0x38], 0x40
mov qword [0x140241ad8], rdi
call sym.ProcessHacker.exe_PhfSetEvent
mov rdx, qword [0x140241ad8]
mov ecx, 0x30
call sym.ProcessHacker.exe_PhCreateObject
mov edx, ebp
mov rbx, rax
shl edx, 0xb
not edx
and edx, 0x1000
mov qword [rax], rsi
mov dword [rax + 8], ebp
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov dword [rax + 0x20], edx
mov qword [rax + 0x24], r12
mov dword [rax + 0x2c], r12d
bt ebp, 0x10
jae 0x14010b84e
lea rdx, [rax + 0x10]
mov rcx, rsi
call sym.ProcessHacker.exe_PhGetFileSize
test eax, eax
js 0x14010b82a
test byte [rbx + 8], 8
jne 0x14010b84e
lfence
mov rax, qword [rbx + 0x10]
lea r8, [rsp + 0x68]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x90]
mov r9d, 8
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
test eax, eax
jns 0x14010b84e
lfence
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14010b84a
call fcn.1400fbcc0
xor eax, eax
jmp 0x14010b85d
lfence
mov qword [r14], rbx
xor eax, eax
jmp 0x14010b85d
lfence
mov eax, edi
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret