Function at 0x14005c3a0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Enumerate pe sections
Resolve function by parsing pe exports
Resume thread
Terminate process
Use process replacement

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xf88
mov r8d, 0x104
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x14005c3e1
mov eax, 0xffffffff
jmp 0x14005c7f1
lea rax, [rsp + 0x670]
mov rdi, rax
xor eax, eax
mov ecx, 0x904
rep stosb byte [rdi], al
lea rax, [rsp + 0x90]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x14005c40e
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, rax
lea rcx, [rsp + 0x670]
lea rdx, [rsp + 0x90]
mov rdi, rcx
mov rsi, rdx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x70]
mov byte [rsp + rax + 0x670], 0x20
mov rax, qword [rsp + 0x70]
lea rax, [rsp + rax + 0x671]
mov rdi, rax
mov rsi, qword [rsp + 0xfb8]
mov rcx, qword [rsp + 0xfc0]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xfb0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xfb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp dword [rax], 0x4550
je 0x14005c4c8
mov eax, 0xfffffffe
jmp 0x14005c7f1
mov rax, qword [rsp + 0xfa0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xfa8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x670]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14005c528
mov eax, 0xfffffffd
jmp 0x14005c7f1
lea rax, [rsp + 0x1a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [rsp + 0x1d0], 0x10000b
lea rdx, [rsp + 0x1a0]
mov rax, qword [rsp + 0xfa0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x14005c585
mov edx, 0xfffffffc
mov rax, qword [rsp + 0xfa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffc
jmp 0x14005c7f1
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x30]
mov rax, qword [rsp + 0xfa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14005c5e5
mov edx, 0xfffffffb
mov rax, qword [rsp + 0xfa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffb
jmp 0x14005c7f1
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x54]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0xfb0]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0xfa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14005c63b
mov edx, 0xfffffffa
mov rax, qword [rsp + 0xfa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffa
jmp 0x14005c7f1
mov qword [rsp + 0x68], 0
jmp 0x14005c653
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
cmp qword [rsp + 0x68], rax
jae 0x14005c70e
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xfb0]
add rcx, rax
mov rax, rcx
imul rcx, qword [rsp + 0x68], 0x28
lea rax, [rax + rcx + 0x108]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0xfb0]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x78]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0x58]
add rdi, rdx
mov rdx, rdi
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rax, qword [rsp + 0xfa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14005c709
mov edx, 0xfffffff9
mov rax, qword [rsp + 0xfa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff9
jmp 0x14005c7f1
jmp 0x14005c646
mov rax, qword [rsp + 0x228]
add rax, 0x10
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x58]
mov rdx, rax
mov rax, qword [rsp + 0xfa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14005c766
mov edx, 0xfffffff8
mov rax, qword [rsp + 0xfa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff8
jmp 0x14005c7f1
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x220], rax
lea rdx, [rsp + 0x1a0]
mov rax, qword [rsp + 0xfa0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x14005c7bc
mov edx, 0xfffffff7
mov rax, qword [rsp + 0xfa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff7
jmp 0x14005c7f1
mov rax, qword [rsp + 0xfa0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x14005c7ef
mov edx, 0xfffffff6
mov rax, qword [rsp + 0xfa0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff6
jmp 0x14005c7f1
xor eax, eax
add rsp, 0xf88
pop rdi
pop rsi
ret