Function at 0x1402148f7
Capabilities:
Read file on windows
Write file on windows

Disassembly:
jmp 0x140403e40
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
lea rdi, [rsp + 0x50]
mov ecx, 0x40
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x160]
mov rax, qword [0x140961e80]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x30], 0x64
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 7
mov r9d, 0x80
mov r8d, 0x100081
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x68]
call sym.SystemInformer.exe_PhCreateFileWin32
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140403ecc
mov eax, dword [rsp + 0x50]
jmp 0x140404101
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x68]
call fcn.14020d41c
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140403eee
jmp 0x1404040f2
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x68]
call sym.SystemInformer.exe_PhGetFileSize
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140403f10
jmp 0x1404040f2
movzx eax, byte [rsp + 0x170]
test eax, eax
je 0x140403f29
mov dword [rsp + 0x138], 2
jmp 0x140403f34
mov dword [rsp + 0x138], 5
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x64
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x80
lea r9, [rsp + 0xe8]
mov r8d, 0x120116
mov rdx, qword [rsp + 0x168]
lea rcx, [rsp + 0x88]
call sym.SystemInformer.exe_PhCreateFileWin32Ex
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140403f93
jmp 0x1404040f2
xor edx, edx
mov ecx, 0x2000
call sym.SystemInformer.exe_PhAllocatePage
mov qword [rsp + 0x128], rax
cmp qword [rsp + 0x128], 0
jne 0x140403fbf
mov dword [rsp + 0x50], 0xc0000017
jmp 0x1404040f2
xor eax, eax
cmp eax, 1
je 0x140404097
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0x2000
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x108]
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 0x14040401e
jmp 0x140404097
cmp qword [rsp + 0x110], 0
jne 0x14040402b
jmp 0x140404097
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140404085
jmp 0x140404097
cmp qword [rsp + 0x110], 0
jne 0x140404092
jmp 0x140404097
jmp 0x140403fbf
mov rcx, qword [rsp + 0x128]
call sym.SystemInformer.exe_PhFreePage
cmp dword [rsp + 0x50], 0xc0000011
jne 0x1404040b6
mov dword [rsp + 0x50], 0
cmp dword [rsp + 0x50], 0
jl 0x1404040d5
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x88]
call fcn.14020d773
nop
jmp 0x1404040e3
mov rcx, qword [rsp + 0x88]
call fcn.140213aa6
nop
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
nop
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1407a5eb0]
call fcn.1402124fd
mov rax, rdi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14020ee98
add rsp, 0x150
pop rdi
ret