Function at 0x140001490
Capabilities:
Access peb ldr_data
Create process on windows
Get file size
Parse pe header
Read file on windows
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x30]
mov rsi, qword [rax + 0x10]
mov rax, qword [rax]
mov rdx, rsi
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x10]
lea rcx, str.ntdll_base_address:__p_n_n
call fcn.140001010
mov rdx, rbx
lea rcx, str.kernel32_base_address:__p_n_n
call fcn.140001010
mov eax, 0x5a4d
cmp word [rsi], ax
je 0x140001513
xor edi, edi
jmp 0x14000162a
movsxd rax, dword [rsi + 0x3c]
add rax, rsi
cmp dword [rax], 0x4550
je 0x140001529
xor edi, edi
jmp 0x14000162a
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rbp + 0x10]
xor edi, edi
movups xmm1, xmmword [rax + 0x28]
mov r9d, edi
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rbp + 0x80]
add rax, rsi
mov r10d, dword [rax + 0x20]
mov r14d, dword [rax + 0x1c]
add r10, rsi
mov r11d, dword [rax + 0x24]
add r14, rsi
mov ebx, dword [rax + 0x14]
add r11, rsi
test ebx, ebx
je 0x14000162a
nop dword [rax]
movzx eax, word [r11]
mov edx, dword [r10]
add rdx, rsi
mov r8d, dword [r14 + rax*4]
mov eax, edi
add r8, rsi
movzx ecx, byte [rdx]
test cl, cl
je 0x14000161a
nop word [rax + rax]
ror eax, 0xd
lea rdx, [rdx + 1]
movsx ecx, cl
add eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x140001600
cmp eax, 0xa1920265
je 0x14000162d
inc r9d
add r10, 4
add r11, 2
cmp r9d, ebx
jb 0x1400015e0
mov r8, rdi
lea rax, [r8 + 8]
mov qword [0x140005660], r8
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
lea rcx, str.C:WindowsSystem32_ntdll.dll
mov edx, 0x80000000
mov qword [0x140005670], rax
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000168f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateFileA_Failed_With_Error_:__d__n_n
call fcn.140001010
jmp 0x1400018a1
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, r14d
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r9, [rbp - 0x68]
mov qword [rsp + 0x20], rdi
mov rdx, rax
mov r8d, r14d
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000187b
cmp r14d, dword [rbp - 0x68]
jne 0x14000187b
test rsi, rsi
je 0x1400016ef
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140001070
mov edx, eax
mov dword [0x140005668], eax
lea rcx, str.SSN_of_NtQueryInformationProcess_is_0x_x_n_n
call fcn.140001010
xorps xmm0, xmm0
mov dword [rbp - 0x60], 0x68
xor eax, eax
lea rcx, str.C:Windows_system32calc.exe
mov dword [rbp + 4], eax
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001798
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcess_failed___d_._n
call fcn.140001010
mov eax, 1
jmp 0x1400018a6
lea rdx, [0x140001400]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
lea rdx, [rbp + 0x10]
mov dword [rbp + 0x40], 0x10001f
mov rcx, 0xfffffffffffffffe
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14000180e
mov rdx, qword [0x140005670]
movabs rax, 0xffffffff0000ffff
mov qword [rbp + 0x58], rdx
mov rcx, 0xfffffffffffffffe
mov rdx, qword [rbp + 0x80]
and rdx, rax
mov qword [rbp + 0x78], rdi
btr rdx, 0
bts rdx, 0
mov qword [rbp + 0x80], rdx
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test rbx, rbx
je 0x140001869
mov rdx, qword [0x140005670]
lea rcx, str.Modified_rax_at_NtDrawText0x8_0x_p__n_n
call fcn.140001010
mov rax, qword [0x140005660]
lea r8, [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
mov r9d, 0x30
xor edx, edx
mov qword [rsp + 0x20], rdi
call rax
test eax, eax
jne 0x14000186d
mov rdx, qword [rsp + 0x70]
lea rcx, str.NTAPI_NtQueryInformationprocess_was_called_successfully_n_nPEB_of_inspected_process_is_:_p_n_n
call fcn.140001010
xor edx, edx
lea rcx, str.The_result_of_NTAPI_NtQueryInformationProcess_is__d_n_n
call fcn.140001010
xor eax, eax
jmp 0x1400018a6
lea rcx, str.Called_failed_n_n
call fcn.140001010
jmp 0x1400018a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____ReadFile_Failed_With_Error_:__d__n_n
call fcn.140001010
mov edx, dword [rbp - 0x68]
lea rcx, str._i__Read__d_of__d_Bytes__n_n
mov r8d, r14d
call fcn.140001010
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.1400018f0
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret