Function at 0x14003b300
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate pe sections
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, 0x100
mov rax, qword [0x140050080]
xor rax, rsp
mov qword [rbp - 9], rax
mov r15, qword [rbp + 0x87]
mov eax, 0x5a4d
mov r14, rdx
mov byte [rsp + 0x40], r9b
mov rbx, rcx
cmp word [rdx], ax
jne 0x14003b7f9
movsxd rdi, dword [rdx + 0x3c]
mov eax, 0x8664
add rdi, rdx
cmp word [rdi + 4], ax
jne 0x14003b7f9
mov r8d, dword [rdi + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor r13d, r13d
mov rsi, rax
test rax, rax
je 0x14003b7f9
mov dword [rbp - 0x15], r13d
lea rax, [rbp - 0x15]
mov r8d, dword [rdi + 0x50]
lea r9d, [r13 + 0x40]
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9d, 0x1000
mov qword [rsp + 0x60], rax
mov r8, r14
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rsi
mov qword [rsp + 0x68], rax
mov rcx, rbx
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rsp + 0x70], 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], r13
mov dword [rbp - 0x6d], r13d
mov dword [rbp - 0x5d], r13d
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x69], r15
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14003b7e4
movzx r15d, word [rdi + 0x14]
mov r12d, r13d
add r15, 0x2c
cmp word [rdi + 6], r13w
je 0x14003b465
add r15, rdi
cmp dword [r15 - 4], r13d
je 0x14003b455
mov r8d, dword [r15]
mov rcx, rbx
mov edx, dword [r15 - 8]
add r8, r14
mov r9d, dword [r15 - 4]
add rdx, rsi
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14003b7e4
movzx eax, word [rdi + 6]
inc r12d
add r15, 0x28
cmp r12d, eax
jne 0x14003b428
mov r13d, 0x3000
mov dword [rsp + 0x20], 4
mov r14d, 0x40
mov r9d, r13d
mov r8d, r14d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor r12d, r12d
mov qword [rbp - 0x11], rax
mov r15, rax
test rax, rax
je 0x14003b7e4
mov r9d, r14d
mov qword [rsp + 0x20], r12
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14003b7c5
mov r9d, r13d
mov dword [rsp + 0x20], r14d
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
mov r13, rax
test rax, rax
je 0x14003b7c5
mov r9d, 0x1000
mov qword [rsp + 0x20], r12
lea r8, [0x14003adb0]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14003b794
mov qword [rsp + 0x30], r12
mov r9, r13
mov dword [rsp + 0x28], r12d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x14003b794
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x19]
mov dword [rbp - 0x19], r12d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rbp - 0x19], 0x103
jne 0x14003b7f9
mov r8, r14
lea rcx, [rbp - 0x59]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r9, r14
mov qword [rsp + 0x20], r12
lea r8, [rbp - 0x59]
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r14, qword [rbp - 0x39]
cmp r14, 0x404040
je 0x14003b794
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test r14, r14
mov r14d, 0x40
je 0x14003b540
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x50], rax
mov r14, rax
test rax, rax
je 0x14003b7f9
xor edx, edx
mov r8d, 0x1400000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
cmp byte [rsp + 0x40], r12b
je 0x14003b5f8
mov r9d, 0x1000
mov qword [rsp + 0x20], r12
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp byte [rbp + 0x67], r12b
je 0x14003b69f
movzx r14d, word [rdi + 0x14]
xor eax, eax
add r14, 0x18
add r14, rdi
cmp word [rdi + 6], ax
je 0x14003b69f
mov r13, qword [rsp + 0x50]
xor r15d, r15d
cmp dword [r14 + 8], r15d
je 0x14003b683
cmp byte [rbp + 0x77], r15b
jne 0x14003b641
lea rdx, [0x140040fd0]
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14003b667
lea rdx, str..rsrc
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14003b667
lea rdx, str..reloc
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14003b683
mov edx, dword [r14 + 0xc]
mov r8, r13
mov r9d, dword [r14 + 8]
add rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rdi + 6]
inc r12d
add r14, 0x28
cmp r12d, eax
jne 0x14003b622
mov r15, qword [rbp - 0x11]
xor r12d, r12d
mov r13, qword [rsp + 0x48]
cmp byte [rbp + 0x6f], r12b
je 0x14003b74b
movzx r14d, word [rdi + 0x14]
xor eax, eax
add r14, 0x3c
cmp word [rdi + 6], ax
je 0x14003b721
add r14, rdi
xor r13d, r13d
cmp dword [r14 - 0x1c], r13d
je 0x14003b70c
test dword [r14], 0x80000000
mov dword [rbp - 0x19], r13d
jbe 0x14003b6db
mov r9d, 4
jmp 0x14003b6ef
test dword [r14], 0x20000000
mov eax, 0x20
lea r9d, [rax - 0x1e]
cmova r9d, eax
mov edx, dword [r14 - 0x18]
lea rax, [rbp - 0x19]
mov r8d, dword [r14 - 0x1c]
add rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
movzx eax, word [rdi + 6]
inc r12d
add r14, 0x28
cmp r12d, eax
jne 0x14003b6c0
mov r13, qword [rsp + 0x48]
movzx eax, word [rdi + 0x14]
xor r12d, r12d
mov dword [rbp - 0x11], r12d
mov rdx, rsi
mov rcx, rbx
mov r8d, dword [rax + rdi + 0x24]
lea r9d, [r12 + 2]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r8, qword [rsp + 0x50]
mov r9d, 0x1000
mov rdx, r13
mov qword [rsp + 0x20], r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edi, 0x8000
xor r8d, r8d
mov r9d, edi
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, edi
xor r8d, r8d
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
jmp 0x14003b7fb
mov edi, 0x8000
xor r8d, r8d
mov r9d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, edi
xor r8d, r8d
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, edi
mov rdx, r13
jmp 0x14003b7ed
mov edi, 0x8000
xor r8d, r8d
mov r9d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, edi
mov rdx, r15
jmp 0x14003b7ed
mov r9d, 0x8000
mov rdx, rsi
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14003d6b0
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret