Function at 0x140002860
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Resume thread
Terminate process
Use process replacement

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x18e0]
mov eax, 0x19e0
call fcn.14006f6e0
sub rsp, rax
mov rax, qword [0x14008d080]
xor rax, rsp
mov qword [rbp + 0x18d0], rax
xorps xmm1, xmm1
xor eax, eax
mov rsi, r8
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov qword [rbp + 0x4a0], rax
mov r14, rcx
lea rdx, [rbp + 0x4b0]
xorps xmm0, xmm0
mov r8d, 0x208
xor ecx, ecx
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rbp + 0x440], xmm1
movups xmmword [rbp + 0x450], xmm1
movups xmmword [rbp + 0x460], xmm1
movups xmmword [rbp + 0x470], xmm1
movups xmmword [rbp + 0x480], xmm1
movups xmmword [rbp + 0x490], xmm1
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400028fe
mov rax, 0xffffffffffffffff
jmp 0x140002b97
xor edx, edx
lea rcx, [rbp + 0x6c0]
mov r8d, 0x1208
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x4b0]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140002920
add rbx, rbx
lea rdx, [rbp + 0x4b0]
mov r8, rbx
lea rcx, [rbp + 0x6c0]
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rsi]
lea rcx, [rbp + 0x6c2]
mov rdx, qword [rdi]
mov eax, reloc.WLDAP32.dll_Ordinal_32
add rcx, rbx
mov word [rbp + rbx + 0x6c0], ax
call sub.VCRUNTIME140.dll_memcpy
movsxd rsi, dword [r14 + 0x3c]
add rsi, r14
cmp dword [rsi], 0x4550
je 0x14000297e
mov eax, 0xfffffffe
jmp 0x140002b97
lea rax, [rsp + 0x50]
mov qword [rsp + 0x1a28], r15
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x6c0]
lea rax, [rbp + 0x440]
xor r15d, r15d
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], r15
xor r8d, r8d
mov qword [rsp + 0x30], r15
xor ecx, ecx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400029db
lea eax, [r15 - 3]
jmp 0x140002b8f
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov dword [rbp - 0x60], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rsp + 0x50]
test eax, eax
jne 0x140002a22
mov edx, 0xfffffffc
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffc
jmp 0x140002b8f
mov r8d, dword [rsi + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [rsp + 0x50]
mov r8, r14
mov qword [rsp + 0x68], rax
mov rdx, rax
mov r9d, dword [rsi + 0x54]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002a79
mov rcx, qword [rsp + 0x50]
mov edx, 0xfffffffa
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffa
jmp 0x140002b8f
mov rbx, r15
cmp r15w, word [rsi + 6]
jae 0x140002adb
mov rdi, r15
nop word [rax + rax]
movsxd rax, dword [r14 + 0x3c]
mov rcx, qword [rsp + 0x50]
add rax, rdi
mov qword [rsp + 0x20], r15
mov r8d, dword [rax + r14 + 0x11c]
mov edx, dword [rax + r14 + 0x114]
add r8, r14
add rdx, qword [rsp + 0x68]
mov r9d, dword [rax + r14 + 0x118]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140002b19
movzx eax, word [rsi + 6]
inc rbx
add rdi, 0x28
cmp rbx, rax
jb 0x140002a90
mov rdx, qword [rbp - 8]
lea r8, [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002b30
mov rcx, qword [rsp + 0x50]
mov edx, 0xfffffff8
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff8
jmp 0x140002b8f
mov rcx, qword [rsp + 0x50]
mov edx, 0xfffffff9
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff9
jmp 0x140002b8f
mov eax, dword [rsi + 0x28]
lea rdx, [rsp + 0x70]
add rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov qword [rbp - 0x10], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x140002b67
mov rcx, qword [rsp + 0x50]
mov edx, 0xfffffff7
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff7
jmp 0x140002b8f
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140002b8d
mov rcx, qword [rsp + 0x50]
mov edx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff6
jmp 0x140002b8f
xor eax, eax
mov r15, qword [rsp + 0x1a28]
mov rcx, qword [rbp + 0x18d0]
xor rcx, rsp
call fcn.14006ed80
add rsp, 0x19e0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret