Function at 0x1400560e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rdi
push r13
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0xb8
mov rax, qword [0x1400e1700]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r13d, r13d
mov r15, rcx
mov edi, r13d
cmp edx, 1
jne 0x14005611c
mov rax, qword [0x1401d5178]
mov rdi, qword [rax + 8]
jmp 0x14005612b
cmp edx, 2
jne 0x14005612b
mov rax, qword [0x1401d5178]
mov rdi, qword [rax]
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x14005645a
mov qword [rsp + 0xf0], rsi
mov eax, 0x8664
movsxd rsi, dword [rdi + 0x3c]
add rsi, rdi
cmp word [rsi + 4], ax
jne 0x1400564c9
mov r8d, dword [rsi + 0x50]
mov r9d, 0x3000
mov rdx, qword [rsi + 0x30]
mov qword [rsp + 0xf8], r12
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
jne 0x1400561ac
mov r8d, dword [rsi + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r12, rax
test rax, rax
je 0x140056538
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xe8], rbx
movzx ebx, word [rsi + 0x14]
add rbx, 0x2c
mov qword [rbp + 7], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb0], r14
mov r14d, r13d
mov qword [rbp + 0x17], r13
mov qword [rbp + 0xf], rax
cmp word [rsi + 6], r13w
je 0x14005622c
add rbx, rsi
nop dword [rax + rax]
mov eax, dword [rbx - 4]
test eax, eax
je 0x14005621c
mov r8d, dword [rbx]
mov r9d, eax
mov edx, dword [rbx - 8]
add r8, rdi
add rdx, r12
mov qword [rsp + 0x20], r13
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140056623
movzx eax, word [rsi + 6]
inc r14d
add rbx, 0x28
cmp r14d, eax
jne 0x1400561f0
movups xmm0, xmmword [rbp + 7]
mov r9d, 0x1000
mov r8, rdi
movsd xmm1, qword [rbp + 0x17]
mov rdx, r12
movups xmmword [rdi], xmm0
mov rcx, r15
mov qword [rsp + 0x20], r13
movsd qword [rdi + 0x10], xmm1
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rdi
call fcn.1400b8b1c
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x1400565a7
mov r9d, 0x1000
mov qword [rsp + 0x20], r13
lea r8, [0x1400566b0]
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtCreateThreadEx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], r13
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0x48], r13
mov r9, r15
mov qword [rsp + 0x40], r13
xor r8d, r8d
mov qword [rsp + 0x38], r13
mov edx, 0x1fffff
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdi
call rax
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x1400563c9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 1], 0xa
nop dword [rax]
nop dword [rax + rax]
xor eax, eax
mov qword [rsp + 0x20], r13
xorps xmm0, xmm0
mov qword [rbp + 0x17], rax
lea r8, [rbp + 7]
mov rdx, r12
mov rcx, r15
lea r9d, [rax + 0x18]
movups xmmword [rbp + 7], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp + 0x17]
lea rcx, [rbp - 1]
call fcn.140006c70
test rbx, rbx
je 0x140056320
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14005638f
xor edx, edx
mov r8d, 0x1400000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
mov rbx, qword [rsp + 0xe8]
mov r14, qword [rsp + 0xb0]
mov r12, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400b8870
add rsp, 0xb8
pop r15
pop r13
pop rdi
pop rbp
ret
movdqa xmm1, xmmword [0x1400d1250]
mov dl, 0x65
movd ecx, xmm1
movdqa xmm0, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov byte [rbp - 8], r13b
xor byte [rbp - 0x17], cl
xor dl, cl
xor byte [rbp - 0x16], cl
xor byte [rbp - 0x15], cl
xor byte [rbp - 0x14], cl
xor byte [rbp - 0x13], cl
xor byte [rbp - 0x12], cl
xor byte [rbp - 0x11], cl
xor byte [rbp - 0x10], cl
xor byte [rbp - 0xf], cl
xor byte [rbp - 0xe], cl
xor byte [rbp - 0xd], cl
xor byte [rbp - 0xc], cl
xor byte [rbp - 0xb], cl
xor byte [rbp - 0xa], cl
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp - 9], dl
lea rdx, [rbp - 0x18]
xor al, cl
mov byte [rbp - 0x18], al
call fcn.14005c900
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call fcn.14005cf40
int3
movdqa xmm1, xmmword [0x1400d0b10]
mov dl, 0x35
movd ecx, xmm1
movdqa xmm0, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov byte [rbp - 8], r13b
xor byte [rbp - 0x17], cl
xor dl, cl
xor byte [rbp - 0x16], cl
xor byte [rbp - 0x15], cl
xor byte [rbp - 0x14], cl
xor byte [rbp - 0x13], cl
xor byte [rbp - 0x12], cl
xor byte [rbp - 0x11], cl
xor byte [rbp - 0x10], cl
xor byte [rbp - 0xf], cl
xor byte [rbp - 0xe], cl
xor byte [rbp - 0xd], cl
xor byte [rbp - 0xc], cl
xor byte [rbp - 0xb], cl
xor byte [rbp - 0xa], cl
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp - 9], dl
lea rdx, [rbp - 0x18]
xor al, cl
mov byte [rbp - 0x18], al
call fcn.14005c900
mov rcx, rdi
call fcn.1400b8b1c
call fcn.14005cf40
int3
movdqa xmm1, xmmword [0x1400d1030]
mov dl, 0x49
movd ecx, xmm1
movdqa xmm0, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov byte [rbp - 8], r13b
xor byte [rbp - 0x17], cl
xor dl, cl
xor byte [rbp - 0x16], cl
xor byte [rbp - 0x15], cl
xor byte [rbp - 0x14], cl
xor byte [rbp - 0x13], cl
xor byte [rbp - 0x12], cl
xor byte [rbp - 0x11], cl
xor byte [rbp - 0x10], cl
xor byte [rbp - 0xf], cl
xor byte [rbp - 0xe], cl
xor byte [rbp - 0xd], cl
xor byte [rbp - 0xc], cl
xor byte [rbp - 0xb], cl
xor byte [rbp - 0xa], cl
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp - 9], dl
lea rdx, [rbp - 0x18]
xor al, cl
mov byte [rbp - 0x18], al
call fcn.14005c900
mov rcx, rdi
call fcn.1400b8b1c
call fcn.14005cf40
int3
movdqa xmm1, xmmword [0x1400d1030]
mov dl, 0x48
movd ecx, xmm1
movdqa xmm0, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov byte [rbp - 8], r13b
xor byte [rbp - 0x17], cl
xor dl, cl
xor byte [rbp - 0x16], cl
xor byte [rbp - 0x15], cl
xor byte [rbp - 0x14], cl
xor byte [rbp - 0x13], cl
xor byte [rbp - 0x12], cl
xor byte [rbp - 0x11], cl
xor byte [rbp - 0x10], cl
xor byte [rbp - 0xf], cl
xor byte [rbp - 0xe], cl
xor byte [rbp - 0xd], cl
xor byte [rbp - 0xc], cl
xor byte [rbp - 0xb], cl
xor byte [rbp - 0xa], cl
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp - 9], dl
lea rdx, [rbp - 0x18]
xor al, cl
mov byte [rbp - 0x18], al
call fcn.14005c900
mov rcx, rdi
call fcn.1400b8b1c
call fcn.14005cf40
int3
movdqa xmm1, xmmword [0x1400d0780]
mov dl, listen
movd ecx, xmm1
movdqa xmm0, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov byte [rbp - 8], r13b
xor byte [rbp - 0x17], cl
xor dl, cl
xor byte [rbp - 0x16], cl
xor byte [rbp - 0x15], cl
xor byte [rbp - 0x14], cl
xor byte [rbp - 0x13], cl
xor byte [rbp - 0x12], cl
xor byte [rbp - 0x11], cl
xor byte [rbp - 0x10], cl
xor byte [rbp - 0xf], cl
xor byte [rbp - 0xe], cl
xor byte [rbp - 0xd], cl
xor byte [rbp - 0xc], cl
xor byte [rbp - 0xb], cl
xor byte [rbp - 0xa], cl
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp - 9], dl
lea rdx, [rbp - 0x18]
xor al, cl
mov byte [rbp - 0x18], al
call fcn.14005c900
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call fcn.14005cf40
int3
movdqa xmm1, xmmword [0x1400d0b60]
mov r8b, 0x33
movd edx, xmm1
movdqa xmm0, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov byte [rbp - 8], r13b
xor byte [rbp - 0x17], dl
xor r8b, dl
xor byte [rbp - 0x16], dl
xor byte [rbp - 0x15], dl
xor byte [rbp - 0x14], dl
xor byte [rbp - 0x13], dl
xor byte [rbp - 0x12], dl
xor byte [rbp - 0x11], dl
xor byte [rbp - 0x10], dl
xor byte [rbp - 0xf], dl
xor byte [rbp - 0xe], dl
xor byte [rbp - 0xd], dl
xor byte [rbp - 0xc], dl
xor byte [rbp - 0xb], dl
xor byte [rbp - 0xa], dl
psrldq xmm0, 1
movd eax, xmm0
mov byte [rbp - 9], r8b
xor al, dl
lea rdx, [rbp - 0x18]
mov byte [rbp - 0x18], al
call fcn.14005c900
mov rcx, rdi
call fcn.1400b8b1c
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
call fcn.14005cf40
int3