Function at 0x7fff25dba4a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Set file attributes

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rbx, r8
mov rax, rdx
mov rsi, rcx
xor edi, edi
mov qword [r11 - 0x78], rdi
or qword [r11 + 8], 0xffffffffffffffff
test rcx, rcx
je 0x7fff25dfbeea
test rax, rax
je 0x7fff25dfbeea
and qword [r11 - 0x58], rdi
and qword [r11 - 0x68], rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, [r11 - 0x60]
mov rcx, rax
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
nop dword [rax + rax]
test al, al
je 0x7fff25dba629
mov dword [rsp + 0x68], 0x30
and qword [rsp + 0x70], rdi
mov dword [rsp + 0x80], 0x40
lea rax, [rsp + 0x48]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x88], xmm0
test rbx, rbx
jne 0x7fff25dba64e
mov dword [rsp + 0x28], 0x204020
mov dword [rsp + 0x20], 7
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x68]
mov edx, 0x100100
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_NtOpenFile]
nop dword [rax + rax]
test eax, eax
js 0x7fff25dba643
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
nop dword [rax + rax]
test al, al
je 0x7fff25dba629
movzx r8d, word [rsp + 0x38]
add r8, 0x18
mov rcx, qword gs:[0x60]
mov edx, dword [0x7fff25fd0c80]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x7fff25dba630
movzx r8d, word [rsp + 0x38]
lea rcx, [rax + 0x14]
mov rdx, qword [rsp + 0x40]
call sub.ntdll.dll_memmove
mov byte [rdi], 0
and qword [rdi + 8], 0
movzx eax, word [rsp + 0x38]
mov dword [rdi + 0x10], eax
movzx r9d, word [rsp + 0x38]
add r9d, 0x18
mov dword [rsp + 0x20], 0xb
mov r8, rdi
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
test eax, eax
js 0x7fff25dba643
mov ebx, 1
jmp 0x7fff25dba65f
mov ecx, 3
jmp 0x7fff25dba635
mov ecx, 8
call qword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
nop dword [rax + rax]
jmp 0x7fff25dba64a
mov ecx, eax
call fcn.7fff25d6b370
xor ebx, ebx
jmp 0x7fff25dba65f
mov rax, qword [rbx + 8]
mov qword [rsp + 0x88], rax
jmp 0x7fff25dba539
test rdi, rdi
je 0x7fff25dba684
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xb0]
cmp rcx, 0xffffffffffffffff
je 0x7fff25dba69e
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
cmp qword [rsp + 0x40], 0
je 0x7fff25dba6c6
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
cmp qword [rsp + 0x50], 0
je 0x7fff25dba6ee
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov eax, ebx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x57
call qword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
nop dword [rax + rax]
xor eax, eax
jmp 0x7fff25dba6f0