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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [r11 - 0x3f]
sub rsp, 0x100
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 7], rax
mov rbx, qword [rbp + 0x7f]
xor eax, eax
mov rdi, qword [0x140005080]
movzx r12d, r9b
mov qword [rbp - 0x69], rax
movzx r13d, r8b
mov dword [rbp - 0x5d], eax
mov r14, rdx
mov dword [rbp - 0x4d], eax
mov eax, 0x5a4d
mov byte [rbp - 5], 0
cmp word [rdx], ax
jne 0x1400015f1
mov qword [r11 + 0x18], r15
mov eax, 0x8664
movsxd r15, dword [rdx + 0x3c]
add r15, rdx
cmp word [r15 + 4], ax
jne 0x1400015e9
mov r8d, dword [r15 + 0x50]
xor edx, edx
mov r9d, 0x3000
mov qword [r11 + 8], rsi
mov rcx, rdi
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
mov rsi, rax
test rax, rax
je 0x1400015e1
mov dword [rbp - 1], 0
lea rax, [rbp - 1]
mov r8d, dword [r15 + 0x50]
mov r9d, 0x40
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 0x1000
mov rcx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r8, r14
mov qword [rsp + 0x68], rax
mov rdx, rsi
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rbp - 0x79], rax
mov eax, dword [rbp + 0x77]
mov dword [rbp - 0x61], eax
movzx eax, byte [rbp + 0x6f]
mov qword [rsp + 0x60], rcx
mov rcx, rdi
mov dword [rbp - 0x51], eax
mov qword [rbp - 0x71], rsi
mov qword [rbp - 0x59], rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001264
movzx ebx, word [r15 + 0x14]
xor esi, esi
add rbx, 0x2c
cmp word [r15 + 6], si
je 0x1400011ef
add rbx, r15
mov eax, dword [rbx - 4]
test eax, eax
je 0x1400011e0
mov r8d, dword [rbx]
mov r9d, eax
mov edx, dword [rbx - 8]
add r8, r14
add rdx, qword [rsp + 0x40]
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001226
movzx eax, word [r15 + 6]
inc esi
add rbx, 0x28
cmp esi, eax
jne 0x1400011b2
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 qword [rsp + 0x58], rax
mov rsi, rax
mov rcx, rdi
test rax, rax
jne 0x140001230
mov rdx, qword [rsp + 0x40]
jmp 0x1400015d2
mov rdx, qword [rsp + 0x40]
jmp 0x1400015cf
xor ebx, ebx
lea r8, [rsp + 0x60]
mov rdx, rsi
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rdi
test eax, eax
jne 0x14000126c
mov rdx, qword [rsp + 0x40]
mov r9d, 0x8000
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, rsi
jmp 0x1400015cf
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x50], rax
mov r14, rax
mov rcx, rdi
test rax, rax
je 0x140001250
mov r9d, 0x1000
mov qword [rsp + 0x20], rbx
lea r8, [0x140001620]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor r8d, r8d
mov rcx, rdi
test eax, eax
je 0x1400015a6
mov qword [rsp + 0x30], rbx
mov r9, r14
mov dword [rsp + 0x28], ebx
xor edx, edx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x1400015a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax]
lea rdx, [rbp - 9]
mov dword [rbp - 9], ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rbp - 9], 0x103
jne 0x1400015e1
xorps xmm0, xmm0
mov qword [rsp + 0x20], rbx
mov r9d, 0x40
lea r8, [rbp - 0x49]
mov rdx, rsi
mov rcx, rdi
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x29]
cmp rbx, 0x404040
je 0x1400015a0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
mov ebx, 0
je 0x1400012f0
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400015e1
xor edx, edx
mov r8d, 0x1400000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r14, qword [rsp + 0x40]
test r13b, r13b
mov r13, qword [rsp + 0x48]
je 0x1400013b3
mov r9d, 0x1000
mov qword [rsp + 0x20], rbx
mov r8, r13
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test r12b, r12b
je 0x14000149a
movzx ebx, word [r15 + 0x14]
xor esi, esi
add rbx, 0x18
add rbx, r15
cmp word [r15 + 6], si
je 0x14000149a
movzx r12d, byte [rbp + 0x6f]
lea r8, [0x1400032e0]
lea r9, str..rsrc
lea r10, str..reloc
nop
mov edx, dword [rbx + 8]
test edx, edx
je 0x140001487
test r12b, r12b
jne 0x140001418
xor ecx, ecx
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140001418
cmp rcx, 7
jne 0x140001402
jmp 0x140001454
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x140001436
cmp rcx, 6
jne 0x140001420
jmp 0x140001454
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x140001487
cmp rcx, 7
jne 0x140001440
mov r9, rdx
mov qword [rsp + 0x20], 0
mov edx, dword [rbx + 0xc]
mov r8, r13
add rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea r8, [0x1400032e0]
lea r9, str..rsrc
lea r10, str..reloc
movzx eax, word [r15 + 6]
inc esi
add rbx, 0x28
cmp esi, eax
jne 0x1400013f0
cmp byte [rbp + 0x67], 0
je 0x140001562
movzx ebx, word [r15 + 0x14]
xor esi, esi
add rbx, 0x3c
cmp word [r15 + 6], si
je 0x140001536
add rbx, r15
lea edx, [rsi + 0x20]
mov ecx, dword [rbx - 0x1c]
test ecx, ecx
je 0x140001522
mov eax, dword [rbx]
xor r12b, r12b
mov dword [rbp - 5], 0
test eax, 0x80000000
jbe 0x1400014e2
mov r9d, 4
jmp 0x1400014f1
test eax, 0x20000000
mov r9d, 2
cmova r9d, edx
mov edx, dword [rbx - 0x18]
lea rax, [rbp - 5]
mov r8, rcx
mov qword [rsp + 0x20], rax
add rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
movzx r13d, r12b
mov eax, 1
cmovne r13d, eax
mov dword [rbp - 5], r13d
lea edx, [rax + 0x1f]
movzx eax, word [r15 + 6]
inc esi
add rbx, 0x28
cmp esi, eax
jne 0x1400014c0
mov r13, qword [rsp + 0x48]
movzx eax, word [r15 + 0x14]
mov r9d, 2
mov dword [rbp - 9], 0
mov rdx, r14
mov rcx, rdi
mov r8d, dword [rax + r15 + 0x24]
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [rsp + 0x50]
mov r9d, 0x1000
mov r8, r13
mov qword [rsp + 0x20], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rsp + 0x50]
mov r9d, 0x8000
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [rsp + 0x58]
jmp 0x1400015cf
mov rcx, rdi
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov r9d, 0x8000
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]
mov rdx, r14
mov rcx, rdi
mov r9d, 0x8000
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rsi, qword [rsp + 0x130]
mov r15, qword [rsp + 0x140]
movzx eax, byte [rbp - 5]
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140001d40
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret