Function at 0x14004d450
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140065010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, qword [rdx + 8]
mov r14, rdx
sub rbx, qword [rdx]
mov rdi, rcx
cmp rbx, 0x1000
jae 0x14004d4a5
mov rcx, qword [0x14013c7c8]
lea rdx, str.Filesize_is_invalid._n
add rcx, 0xa8
mov r8d, 0x15
call fcn.140004ba0
xor al, al
jmp 0x14004d81f
mov rcx, rbx
mov qword [rsp + 0xa8], rsi
call fcn.140051014
mov rdx, qword [r14]
mov r8, rbx
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x5a4d
cmp word [rsi], ax
je 0x14004d4ff
mov rcx, qword [0x14013c7c8]
lea rdx, str.Invalid_file_n
add rcx, 0xa8
mov r8d, 0xd
call fcn.140004ba0
mov rcx, rsi
call fcn.140050c04
xor al, al
jmp 0x14004d817
mov qword [rsp + 0xa0], rbp
mov eax, 0x8664
movsxd rbp, dword [rsi + 0x3c]
add rbp, rsi
cmp word [rbp + 4], ax
je 0x14004d548
mov rcx, qword [0x14013c7c8]
lea rdx, str.Invalid_platform_n
add rcx, 0xa8
mov r8d, 0x11
call fcn.140004ba0
mov rcx, rsi
call fcn.140050c04
xor al, al
jmp 0x14004d80f
mov r8d, dword [rbp + 0x50]
mov r9d, 0x3000
mov rdx, qword [rbp + 0x30]
mov rcx, rdi
mov qword [rsp + 0x60], r15
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
jne 0x14004d5cc
mov r8d, dword [rbp + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
jne 0x14004d5cc
mov rcx, qword [0x14013c7c8]
lea r8d, [rax + 0x23]
add rcx, 0xa8
lea rdx, str.Memory_allocation_failed__ex__0x_X_n
call fcn.140004ba0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call fcn.140050c04
xor al, al
jmp 0x14004d80a
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
movzx ebx, word [rbp + 0x14]
mov qword [rsp + 0x68], r12
add rbx, 0x28
xor r12d, r12d
mov qword [rsp + 0x40], rax
mov r14d, r12d
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r12
cmp word [rbp + 6], r12w
je 0x14004d642
add rbx, rbp
mov eax, dword [rbx]
test eax, eax
je 0x14004d632
mov r8d, dword [rbx + 4]
mov r9d, eax
mov edx, dword [rbx - 4]
add r8, rsi
add rdx, r15
mov qword [rsp + 0x20], r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14004d6de
movzx eax, word [rbp + 6]
inc r14d
add rbx, 0x28
cmp r14d, eax
jne 0x14004d606
movups xmm0, xmmword [rsp + 0x40]
mov r9d, 0x1000
mov r8, rsi
movsd xmm1, qword [rsp + 0x50]
mov rdx, r15
movups xmmword [rsi], xmm0
mov rcx, rdi
mov qword [rsp + 0x20], r12
movsd qword [rsi + 0x10], xmm1
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rsi
call fcn.140050c04
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x14004d70e
mov rcx, qword [0x14013c7c8]
lea r8d, [rax + 0x27]
add rcx, 0xa8
lea rdx, str.Memory_allocation_failed__1___ex__0x_X_n
call fcn.140004ba0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x14004d805
mov rcx, qword [0x14013c7c8]
lea rdx, str.Cant_map_sections:_0x_x_n
add rcx, 0xa8
mov r8d, 0x19
call fcn.140004ba0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call fcn.140050c04
jmp 0x14004d6c2
mov r9d, 0x1000
mov qword [rsp + 0x20], r12
lea r8, [0x14004d840]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], r12
mov r9, rsi
mov dword [rsp + 0x28], r12d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x14004d7a3
mov rcx, qword [0x14013c7c8]
lea r8d, [rax + 0x1c]
add rcx, 0xa8
lea rdx, str.Thread_creation_failed_0x_X_n
call fcn.140004ba0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x14004d805
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax]
xor eax, eax
mov qword [rsp + 0x20], r12
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x40]
mov rdx, r15
mov rcx, rdi
lea r9d, [rax + 0x18]
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rsp + 0x50]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x14004d7b0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
mov r12, qword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
mov rbp, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140050950
add rsp, 0x70
pop r14
pop rdi
pop rbx
ret