Function at 0x140001f70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3f]
sub rsp, 0xc0
xor r14d, r14d
mov edi, r8d
mov r8d, ecx
mov qword [rbp + 0x67], r14
xorps xmm0, xmm0
mov qword [rbp - 0x41], r14
mov ecx, 0x400
mov qword [rbp - 0x39], r14
xor edx, edx
mov rsi, r9
movups xmmword [rbp + 0xf], xmm0
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140001fce
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140002204
mov edx, 4
lea rcx, [rbp + 0x67]
mov r8d, edx
call fcn.140001c70
test eax, eax
jne 0x140002204
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8, rbx
lea rcx, [rbp - 0x41]
mov edx, eax
call fcn.140001c70
test eax, eax
jne 0x140002202
mov r8, rdi
xor edx, edx
shl r8, 3
mov ecx, 0x65007500
call fcn.1400164b0
mov rax, qword [0x140025d08]
lea rdx, [rsi + 0x90]
xorps xmm0, xmm0
lea r8, [rbp + 0x1f]
mov r9d, 0x20
mov qword [rax + 0x40], 0x65007500
mov dword [rax + 0x48], edi
movups xmmword [rbp + 0x1f], xmm0
movups xmmword [rbp + 0x2f], xmm0
call fcn.140001d90
mov rax, qword [0x140024a90]
xorps xmm0, xmm0
mov qword [rbp - 0x19], rax
mov edx, 0x80
xor eax, eax
mov dword [rbp - 0x21], r14d
xor ecx, ecx
mov dword [rbp - 0x31], 1
mov r8d, 0x1000
mov qword [rbp - 0x29], r14
movups xmmword [rbp - 9], xmm0
lea r9d, [rax + 4]
mov qword [rbp + 7], rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x14000209c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140002192
movaps xmm0, xmmword [rbp - 0x31]
lea r8, [rbp - 0x31]
movaps xmm1, xmmword [rbp - 0x21]
lea rdx, [rbp - 0x21]
mov rax, qword [rbp + 0x67]
mov r9d, 8
mov dword [rdi + 0x28], 8
add rax, 0x4b8
mov qword [rdi + 0x20], rax
mov word [rdi], 0xc02
mov dword [rdi + 4], 0x80
mov byte [rdi + 0x2c], 1
mov dword [rdi + 8], 1
mov dword [rsp + 0x38], r14d
mov qword [0x65007500], rdi
mov rcx, qword [0x140025d08]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
movdqa xmmword [rbp - 0x31], xmm0
movdqa xmmword [rbp - 0x21], xmm1
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_ioring_l1_1_1.dll_BuildIoRingWriteFile]
mov ebx, eax
test eax, eax
jne 0x14000217e
mov rcx, qword [0x140025d08]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_core_ioring_l1_1_0.dll_SubmitIoRing]
mov ebx, eax
test eax, eax
jne 0x14000217e
mov rcx, qword [0x140025d08]
lea rdx, [rbp - 9]
call qword [sym.imp.api_ms_win_core_ioring_l1_1_0.dll_PopIoRingCompletion]
mov ebx, eax
test eax, eax
jne 0x14000217e
mov ebx, dword [rbp - 1]
test ebx, ebx
jne 0x14000217e
mov rcx, qword [0x140024a98]
lea r8d, [rax + 8]
xor r9d, r9d
mov qword [rsp + 0x20], r14
lea rdx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000217b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14000217e
mov ebx, r14d
mov edx, 0x80
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test ebx, ebx
jne 0x140002202
mov rdx, qword [rbp - 0x41]
lea r9d, [rbx + 8]
add rdx, 0x4b8
lea r8, [rbp - 0x39]
call fcn.140001d90
mov rcx, qword [rbp + 0x7f]
lea r9d, [rbx + 8]
cmp dword [0x140025cf4], 0x117e
lea r8, [rbp - 0x11]
mov edx, 0xc5a58
lea rax, [rcx + 0xc62b8]
mov qword [rbp - 0x11], rax
mov eax, 0xc5a48
cmove eax, edx
lea rdx, [rax + rcx]
call fcn.140001d90
mov rdx, qword [0x140025d00]
lea r9d, [rbx + 0x10]
add rdx, 0xb0
lea r8, [rbp + 0xf]
call fcn.140001d90
jmp 0x140002204
xor eax, eax
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret