Function at 0x140038f20
Capabilities:
Access pe header
Get file attributes
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
and qword [rbp + 0x67], 0
xor eax, eax
and dword [rbp + 0x23], 0
xorps xmm0, xmm0
and dword [rbp + 0x3b], 0
xorps xmm1, xmm1
mov qword [rbp + 0x17], rax
mov rdi, rdx
mov rbx, rcx
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm1
test rcx, rcx
je 0x140038f6c
test rdx, rdx
jne 0x140038f9b
xor r9d, r9d
lea rdx, [0x14003b6c0]
mov r8d, 0x62a
lea rcx, [0x14003bd60]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
test rbx, rbx
je 0x140039165
test rdi, rdi
je 0x140039165
and dword ss:[rsp + 0x50], 0
lea r9, [rbp - 9]
and qword [rsp + 0x48], 0
lea r8, [rbp + 0x1f]
and qword [rbp + 0x27], 0
lea rcx, [rbp + 0x67]
mov dword [rsp + 0x40], 0x20
xorps xmm0, xmm0
mov dword [rsp + 0x38], 1
mov edx, 0x100001
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0x80
and qword [rsp + 0x20], 0
mov dword [rbp + 0x1f], 0x30
mov dword [rbp + 0x37], 0x200
mov qword [rbp + 0x2f], rbx
movdqu xmmword [rbp + 0x3f], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov esi, eax
test eax, eax
jns 0x140039038
lfence
xor edx, edx
mov dword [rsp + 0x28], eax
lea r9, [0x14003bd80]
mov qword [rsp + 0x20], rbx
lea r8, [0x14003b450]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, esi
jmp 0x140039183
mov rcx, qword [rbp + 0x67]
lea r8, [rbp + 7]
mov r9d, 0x18
mov dword [rsp + 0x20], 5
lea rdx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
test eax, eax
js 0x140039076
mov rdx, qword [rbp + 0xf]
mov r8d, 0x656e6f4e
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rdi], rax
jmp 0x14003909b
lfence
xor edx, edx
mov dword [rsp + 0x28], eax
lea r9, [0x14003bd80]
mov qword [rsp + 0x20], rbx
lea r8, [0x14003b480]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
and qword [rsp + 0x40], 0
xor r9d, r9d
and qword [rsp + 0x38], 0
xor r8d, r8d
mov eax, dword [rbp + 0xf]
xor edx, edx
mov rcx, qword [rbp + 0x67]
mov dword [rsp + 0x30], eax
mov rax, qword [rdi]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov esi, eax
test eax, eax
js 0x140039110
mov rcx, qword ds:[rdi]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
test rax, rax
jne 0x140039135
lea r9, [0x14003bd80]
mov qword [rsp + 0x20], rbx
lea r8, [0x14003b4c0]
xor edx, edx
lea ecx, [rax + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov esi, 0xc000007b
jmp 0x140039135
lfence
xor edx, edx
mov dword [rsp + 0x28], eax
lea r9, [0x14003bd80]
mov qword [rsp + 0x20], rbx
lea r8, [0x14003b4f0]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
nop
test esi, esi
jns 0x140039031
mov rcx, qword [rdi]
test rcx, rcx
je 0x140039031
mov edx, 0x656e6f4e
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
nop
jmp 0x140039031
xor edx, edx
lea r9, [0x14003bd80]
lea r8, [0x14003bda0]
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, 0xc000000d
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret