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

Disassembly:
mov eax, 0x19a8
call fcn.1400190c0
sub rsp, rax
mov rax, qword [rsp + 0x19d8]
mov rax, qword [rsp + 0x19d0]
mov rax, qword [0x1403974c0]
xor rax, rsp
mov qword [rsp + 0x19a0], rax
mov qword [rsp + 0x98], r9
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x80], rcx
lea rdx, [rsp + 0x1790]
xor eax, eax
mov ecx, eax
mov r8d, 0x208
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, 0
jne 0x140010490
mov dword [rsp + 0xa4], 0xffffffff
jmp 0x1400108f4
lea rcx, [rsp + 0x580]
xor edx, edx
mov r8d, 0x1208
call fcn.140074fd0
lea rcx, [rsp + 0x1790]
call fcn.140045540
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x580]
lea rdx, [rsp + 0x1790]
mov r8, qword [rsp + 0x78]
shl r8, 1
call fcn.140074930
mov rax, qword [rsp + 0x78]
mov word [rsp + rax*2 + 0x580], 0x20
lea rcx, [rsp + 0x580]
mov rax, qword [rsp + 0x78]
shl rax, 1
add rcx, rax
add rcx, 2
mov rdx, qword [rsp + 0x19d0]
mov r8, qword [rsp + 0x19d8]
call fcn.140074930
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax], 0x4550
je 0x140010556
mov dword [rsp + 0xa4], 0xfffffffe
jmp 0x1400108f4
mov rax, qword [rsp + 0x88]
mov r10, qword [rsp + 0x90]
lea rdx, [rsp + 0x580]
xor ecx, ecx
mov r9d, ecx
mov rcx, r9
mov r8, r9
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 0
jne 0x1400105c4
mov dword [rsp + 0xa4], 0xfffffffd
jmp 0x1400108f4
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8d, 0x4d0
call fcn.140074fd0
mov dword [rsp + 0xe0], 0x10000b
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 8]
lea rdx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
cmp eax, 0
jne 0x14001062d
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
mov edx, 0xfffffffc
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0xa4], 0xfffffffc
jmp 0x1400108f4
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x50]
mov r8d, eax
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax + 0x30]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x14001069d
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
mov edx, 0xfffffffb
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0xa4], 0xfffffffb
jmp 0x1400108f4
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x54]
mov r9d, eax
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 0
jne 0x140010703
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
mov edx, 0xfffffffa
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0xa4], 0xfffffffa
jmp 0x1400108f4
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
movzx ecx, word [rcx + 6]
cmp rax, rcx
jae 0x1400107df
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
add rax, 0x108
imul rcx, qword [rsp + 0x60], 0x28
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x10]
mov r9d, eax
mov r8, qword [rsp + 0x98]
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x14]
add r8, rax
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0xc]
add rdx, rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 0
jne 0x1400107c7
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
mov edx, 0xfffffff9
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0xa4], 0xfffffff9
jmp 0x1400108f4
jmp 0x1400107cc
mov rax, qword [rsp + 0x60]
add rax, 1
mov qword [rsp + 0x60], rax
jmp 0x14001070c
mov rdx, qword [rsp + 0x138]
add rdx, 0x10
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
lea r8, [rsp + 0xa8]
mov r9d, 8
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 0
jne 0x140010844
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
mov edx, 0xfffffff8
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0xa4], 0xfffffff8
jmp 0x1400108f4
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x28]
add rax, rcx
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 8]
lea rdx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
cmp eax, 0
jne 0x1400108a8
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
mov edx, 0xfffffff7
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0xa4], 0xfffffff7
jmp 0x1400108f4
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0
jne 0x1400108e9
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
mov edx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0xa4], 0xfffffff6
jmp 0x1400108f4
mov dword [rsp + 0xa4], 0
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x19a0]
xor rcx, rsp
call fcn.140019120
mov eax, dword [rsp + 0x54]
add rsp, 0x19a8
ret