Function at 0x1400e4480
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x560
and qword [rsp + 0x90], 0
mov rsi, rcx
mov r14, rdx
lea rcx, [rsp + 0x98]
xor edx, edx
mov r8d, 0x4c8
call fcn.140102a90
and qword [rsp + 0x5a8], 0
and qword [rsp + 0x70], 0
mov dl, byte [0x14013a84d]
xor eax, eax
mov r12b, 4
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x5f0]
test rax, rax
lea rbx, [rsp + 0x70]
lea rdi, [r14 + 0x30]
cmovne rbx, rax
cmp dl, r12b
lea rax, [r14 + 0x34]
cmove rdi, rax
cmp dl, r12b
jne 0x1400e450d
mov eax, dword [rdi]
jmp 0x1400e4510
mov rax, qword [rdi]
movzx ecx, byte [0x14013e2f9]
movzx ebp, byte [0x14013e2f8]
mov eax, eax
mov qword [rsp + 0x60], rcx
mov ecx, dword [r14 + 0x28]
mov qword [rsp + 0x5a0], rax
add rcx, rax
cmp dl, r12b
jne 0x1400e4542
mov dword [rsp + rbp + 0x90], ecx
jmp 0x1400e454a
mov qword [rsp + rbp + 0x90], rcx
mov rax, qword [rsp + 0x5f8]
mov ecx, 0x3e
cmp cx, word [rax]
jne 0x1400e4560
add rax, 2
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x5e8]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x5e0]
lea r9, [rsp + 0x5a8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x5d8]
lea r8, [rsp + 0x5a0]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x5d0]
lea rdx, [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x5c8]
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.1400e4324
mov esi, eax
cmp byte [0x14013a84d], r12b
jne 0x1400e45d7
mov r12d, dword [rdi]
jmp 0x1400e45da
mov r12, qword [rdi]
cmp qword [rbx], 0xffffffffffffffff
mov r15d, dword [r14 + 0x28]
jne 0x1400e45e8
and qword [rbx], 0
cmp qword [rbx + 8], 0xffffffffffffffff
jne 0x1400e45f4
and qword [rbx + 8], 0
test eax, eax
jle 0x1400e484f
mov rdx, qword [rsp + 0x5a0]
and qword [rsp + 0x5f8], 0
and qword [rsp + 0x68], 0
cmp r12, rdx
jne 0x1400e4652
mov eax, dword [rsp + 0x5c0]
mov r8, qword [rsp + 0x5a8]
cmp r8, rax
jb 0x1400e4652
mov rcx, qword [rbx]
lea rax, [rsp + 0x68]
mov r9d, 0x40
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x5f8], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
jmp 0x1400e46f9
call fcn.1400e411c
test eax, eax
je 0x1400e4823
mov rcx, qword [rbx]
call fcn.1400e4228
test eax, eax
je 0x1400e4697
mov r8d, dword [rsp + 0x5c0]
mov rcx, qword [rbx]
mov r9d, 0x3000
mov rdx, r12
mov dword [rsp + 0x20], 0x40
call qword [0x14013e258]
mov qword [rsp + 0x5f8], rax
jmp 0x1400e469f
mov rax, qword [rsp + 0x5f8]
test rax, rax
jne 0x1400e4708
mov rcx, r14
call fcn.1400e412c
test eax, eax
je 0x1400e4823
mov r8d, dword [rsp + 0x5c0]
mov rcx, qword [rbx]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [0x14013e258]
mov qword [rsp + 0x5f8], rax
test rax, rax
je 0x1400e4823
mov rdx, qword [rsp + 0x5b8]
mov r8, rax
mov rcx, r14
call fcn.1400e4160
cmp qword [rsp + 0x5f8], 0
je 0x1400e4823
mov al, byte [0x14013a84d]
and qword [rsp + 0x5a8], 0
mov rcx, qword [rsp + 0x60]
mov r14b, 4
cmp al, r14b
jne 0x1400e472d
mov ecx, dword [rsp + rcx + 0x90]
jmp 0x1400e4735
mov rcx, qword [rsp + rcx + 0x90]
movsx r9, al
movsx eax, al
lea r8, [rsp + 0x5f8]
add eax, eax
movsxd rdx, eax
lea rax, [rsp + 0x5a8]
add rdx, rcx
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rsp + 0x5f8]
cmp byte [0x14013a84d], r14b
jne 0x1400e4777
mov dword [rdi], edx
jmp 0x1400e477a
mov qword [rdi], rdx
mov r9d, dword [rsp + 0x5c0]
mov r8, qword [rsp + 0x5b8]
mov rcx, qword [rbx]
lea rax, [rsp + 0x5a8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400e481e
mov rcx, qword [rsp + 0x5f8]
lea rax, [r12 + r15]
cmp rcx, qword [rsp + 0x5a0]
je 0x1400e47be
lea rax, [rcx + r15]
cmp byte [0x14013a84d], r14b
jne 0x1400e47d0
mov dword [rsp + rbp + 0x90], eax
jmp 0x1400e47d8
mov qword [rsp + rbp + 0x90], rax
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x90]
call qword [0x14013e250]
test byte [rsp + 0x5d0], r14b
jne 0x1400e47fe
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp qword [rsp + 0x5f0], 0
jne 0x1400e484f
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400e484f
or esi, 0xffffffff
jmp 0x1400e4828
mov esi, 0xfffffffe
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 8], 0
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx], 0
mov eax, esi
add rsp, 0x560
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret