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

Disassembly:
jmp 0x1801a9ae0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1150
call fcn.180005520
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 [0x1805a6200]
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 0x1801a9b53
mov eax, dword [rsp + 0x50]
jmp 0x1801a9e16
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.ProcessMonitor.dll_PhCreateFileWin32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801a9bab
lea rcx, [rsp + 0xb8]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
mov eax, dword [rsp + 0x50]
jmp 0x1801a9e16
movzx eax, word [rsp + 0xb8]
add rax, 0x1a
mov dword [rsp + 0xa4], eax
mov eax, dword [rsp + 0xa4]
mov ecx, eax
call fcn.180019ea0
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.18000cf00
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 0x1801a9dfa
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x68]
call sym.ProcessMonitor.dll_PhGetFileSize
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801a9c93
jmp 0x1801a9dfa
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.ProcessMonitor.dll_PhCreateFileWin32Ex
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x1801a9dfa
xor eax, eax
cmp eax, 1
je 0x1801a9dc6
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 0x1801a9d4d
jmp 0x1801a9dc6
cmp qword [rsp + 0x90], 0
jne 0x1801a9d5a
jmp 0x1801a9dc6
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 0x1801a9db4
jmp 0x1801a9dc6
cmp qword [rsp + 0x90], 0
jne 0x1801a9dc1
jmp 0x1801a9dc6
jmp 0x1801a9cee
cmp dword [rsp + 0x50], 0xc0000011
jne 0x1801a9dd8
mov dword [rsp + 0x50], 0
cmp dword [rsp + 0x50], 0
je 0x1801a9dec
mov rcx, qword [rsp + 0xe8]
call fcn.18000a1a0
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.ProcessMonitor.dll_PhFree
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804c2da0]
call fcn.180014e20
mov rax, rdi
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x1150
pop rdi
ret