Function at 0x140001f50
Capabilities:
Read file on windows

Disassembly:
push rbp
push r14
sub rsp, 0xa8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov edx, 4
mov rbp, rcx
xor r14d, r14d
lea rcx, [rsp + 0x40]
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
mov r8d, edx
mov qword [rsp + 0x60], r14
movups xmmword [rsp + 0x80], xmm0
call fcn.140001c70
test eax, eax
jne 0x1400021f6
mov qword [rsp + 0xc0], rbx
lea rcx, str.___System_EPROC_address:__llx_n
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xa0], r15
call fcn.140001010
mov r15d, 0x20000
lea edx, [r14 + 0x10]
mov ecx, r15d
lea r9d, [r14 + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
cmp rax, r15
je 0x140001ffe
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400021de
xorps xmm0, xmm0
mov qword [rsp + 0xd0], rdi
movups xmmword [r15], xmm0
mov rax, qword [0x140023c78]
mov edx, 0x80
xor ecx, ecx
mov dword [rsp + 0x50], r14d
mov r8d, 0x1000
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x48], r14
mov qword [rax + 0x40], r15
mov dword [rax + 0x48], 2
mov rax, qword [0x140022a40]
mov qword [rsp + 0x58], rax
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
lea r9d, [rax + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x140002075
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14000216f
movaps xmm0, xmmword [rsp + 0x40]
lea rax, [rbx + 0x4b8]
movaps xmm1, xmmword [rsp + 0x50]
lea r8, [rsp + 0x40]
mov qword [rdi + 0x20], rax
lea rdx, [rsp + 0x50]
mov dword [rdi + 0x28], 8
mov eax, 0xc02
mov word [rdi], ax
mov r9d, 8
mov dword [rdi + 4], 0x80
mov byte [rdi + 0x2c], 1
mov dword [rdi + 8], 1
mov dword [rsp + 0x38], r14d
mov qword [rsi], rdi
mov rcx, qword [0x140023c78]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_BuildIoRingWriteFile]
mov ebx, eax
test eax, eax
jne 0x14000215b
mov rcx, qword [0x140023c78]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SubmitIoRing]
mov ebx, eax
test eax, eax
jne 0x14000215b
mov rcx, qword [0x140023c78]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_PopIoRingCompletion]
mov ebx, eax
test eax, eax
jne 0x14000215b
mov ebx, dword [rsp + 0x70]
test ebx, ebx
jne 0x14000215b
mov rcx, qword [0x140022a48]
lea r8d, [rax + 8]
xor r9d, r9d
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140002158
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14000215b
mov ebx, r14d
mov edx, 0x80
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdi, qword [rsp + 0xd0]
test ebx, ebx
jne 0x1400021dc
mov rdx, qword [rsp + 0x60]
lea rcx, str.___System_token_is_at:__llx_n
call fcn.140001010
lea rdx, [rbp + 0x4b8]
mov dword [rsp + 0x20], 1
lea r9d, [rbx + 8]
mov rcx, r15
lea r8, [rsp + 0x60]
call fcn.140001db0
test eax, eax
jne 0x1400021de
mov rdx, qword [0x140023c70]
lea r9d, [rbx + 0x10]
add rdx, 0xb0
mov dword [rsp + 0x20], r14d
lea r8, [rsp + 0x80]
mov rcx, r15
call fcn.140001db0
mov eax, r14d
jmp 0x1400021de
mov eax, ebx
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xc0]
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140002230
add rsp, 0xa8
pop r14
pop rbp
ret