Function at 0x1401ba080
Capabilities:
Read file on windows
Set file attributes
Write file on windows

Disassembly:
jmp 0x1401ba080
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1150
call fcn.1400056d0
sub rsp, rax
lea rdi, [rsp + 0x50]
mov ecx, 0x440
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1160]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x1140], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x1168]
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U_WithStatus]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401ba0f3
mov eax, dword [rsp + 0x50]
jmp 0x1401ba3b6
mov dword [rsp + 0x30], 0x64
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 7
mov r9d, 0x80
mov r8d, 0x110081
mov rdx, qword [rsp + 0x1160]
lea rcx, [rsp + 0x68]
call sym.ProcessHacker.exe_PhCreateFileWin32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401ba14b
lea rcx, [rsp + 0xb8]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
mov eax, dword [rsp + 0x50]
jmp 0x1401ba3b6
movzx eax, word [rsp + 0xb8]
add rax, 0x1a
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0xa4]
mov ecx, eax
call fcn.14001ab00
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov byte [rax], 1
mov rax, qword [rsp + 0xd8]
mov qword [rax + 8], 0
movzx eax, word [rsp + 0xb8]
mov rcx, qword [rsp + 0xd8]
mov dword [rcx + 0x10], eax
movzx eax, word [rsp + 0xb8]
mov rcx, qword [rsp + 0xd8]
add rcx, 0x14
mov r8d, eax
mov rdx, qword [rsp + 0xc0]
call fcn.14000d4b0
lea rcx, [rsp + 0xb8]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
mov dword [rsp + 0x20], 0xa
mov r9d, dword [rsp + 0xa4]
mov r8, qword [rsp + 0xd8]
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xc00000d4
jne 0x1401ba39a
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x68]
call sym.ProcessHacker.exe_PhGetFileSize
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401ba233
jmp 0x1401ba39a
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x80
lea r9, [rsp + 0x108]
mov r8d, 0x120116
mov rdx, qword [rsp + 0x1168]
lea rcx, [rsp + 0xe8]
call sym.ProcessHacker.exe_PhCreateFileWin32Ex
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x1401ba39a
xor eax, eax
cmp eax, 1
je 0x1401ba366
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x1000
lea rax, [rsp + 0x130]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtReadFile]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401ba2ed
jmp 0x1401ba366
cmp qword [rsp + 0x90], 0
jne 0x1401ba2fa
jmp 0x1401ba366
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401ba354
jmp 0x1401ba366
cmp qword [rsp + 0x90], 0
jne 0x1401ba361
jmp 0x1401ba366
jmp 0x1401ba28e
cmp dword [rsp + 0x50], 0xc0000011
jne 0x1401ba378
mov dword [rsp + 0x50], 0
cmp dword [rsp + 0x50], 0
je 0x1401ba38c
mov rcx, qword [rsp + 0xe8]
call fcn.14000a5f0
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0xd8]
call sym.ProcessHacker.exe_PhFree
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1404f3190]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x1150
pop rdi
ret