Function at 0x1400019b0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
sub rsp, 0xa8
mov rax, qword [0x140022008]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor r14d, r14d
xorps xmm0, xmm0
mov r8d, ecx
mov qword [rsp + 0x50], r14
mov ecx, 0x400
mov qword [rsp + 0x40], r14
xor edx, edx
mov qword [rsp + 0x60], r14
movups xmmword [rsp + 0x80], xmm0
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140001a0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001c9f
mov edx, 4
lea rcx, [rsp + 0x50]
mov r8d, edx
call fcn.1400016e0
test eax, eax
jne 0x140001c9f
mov qword [rsp + 0xd0], rsi
lea rcx, str.___System_EPROC_address:__llx_n
mov rsi, qword [rsp + 0x50]
mov rdx, rsi
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8, rbx
lea rcx, [rsp + 0x40]
mov edx, eax
call fcn.1400016e0
test eax, eax
jne 0x140001c97
mov qword [rsp + 0xc8], rbp
lea rcx, str.__Target_process_EPROC_address:__llx_n
mov rbp, qword [rsp + 0x40]
mov rdx, rbp
call fcn.140001010
mov edx, 8
mov ecx, 0x1000000
mov r8d, 0x3000
lea r9d, [rdx - 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
cmp rax, 0x1000000
je 0x140001aac
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001c8f
xor eax, eax
mov qword [rsp + 0xa0], rdi
movabs qword [0x1000000], rax
xorps xmm0, 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], 0x1000000
mov dword [rax + 0x48], 1
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 0x140001b2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140001c29
movaps xmm0, xmmword [rsp + 0x40]
lea rax, [rsi + 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 [rbx], 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 0x140001c15
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 0x140001c15
mov rcx, qword [0x140023c78]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_PopIoRingCompletion]
mov ebx, eax
test eax, eax
jne 0x140001c15
mov ebx, dword [rsp + 0x70]
test ebx, ebx
jne 0x140001c15
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 0x140001c12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140001c15
mov ebx, r14d
mov edx, 0x80
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdi, qword [rsp + 0xa0]
test ebx, ebx
jne 0x140001c8d
mov rdx, qword [rsp + 0x60]
lea rcx, str.___System_token_is_at:__llx_n
call fcn.140001010
lea rdx, [rbp + 0x4b8]
mov ecx, 0x1000000
lea r9d, [rbx + 8]
lea r8, [rsp + 0x60]
call fcn.140001820
test eax, eax
jne 0x140001c8f
mov rdx, qword [0x140023c70]
lea r9d, [rbx + 0x10]
add rdx, 0xb0
lea r8, [rsp + 0x80]
mov ecx, 0x1000000
call fcn.140001820
mov eax, r14d
jmp 0x140001c8f
mov eax, ebx
mov rbp, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140001cd0
add rsp, 0xa8
pop r14
pop rbx
ret