Function at 0x1800012c0
Capabilities:
Allocate or change rwx memory
Create process on windows
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6b0]
sub rsp, 0x7b0
mov rax, qword [0x180006040]
xor rax, rsp
mov qword [rbp + 0x6a0], rax
mov r14, r9
mov r13, rdx
mov rsi, rcx
xor edi, edi
mov r8d, 0x104
lea rdx, [rbp + 0x490]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x18000131e
mov eax, 0xffffffff
jmp 0x18000176b
lea rdx, [rbp + 0x490]
lea rcx, [rsp + 0x70]
call fcn.180001f60
mov rcx, rax
mov rdx, qword [rax + 0x10]
mov r9, qword [rax + 0x18]
mov rax, r9
sub rax, rdx
cmp rax, 1
jb 0x180001367
lea r8, [rdx + 1]
mov qword [rcx + 0x10], r8
mov rax, rcx
cmp r9, 7
jbe 0x18000135a
mov rax, qword [rcx]
mov word [rax + rdx*2], 0x20
mov word [rax + r8*2], di
jmp 0x180001384
mov qword [rsp + 0x20], 1
lea r9, [0x1800043d0]
mov edx, 1
call fcn.180002140
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 7
mov word [rcx], di
mov r15, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 7
jbe 0x1800013c3
mov r14, qword [r14]
mov r12, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, r12
cmp r15, rax
ja 0x18000140f
lea rax, [r15 + r12]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 7
cmova rbx, qword [rsp + 0x50]
lea rcx, [rbx + r12*2]
lea r8, [r15 + r15]
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + r12]
mov word [rbx + rax*2], di
lea rax, [rsp + 0x50]
jmp 0x180001424
mov qword [rsp + 0x20], r15
mov r9, r14
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.180002140
xorps xmm0, xmm0
movups xmmword [rbp + 0x470], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x480], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x470], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x480], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1800014a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000149d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000149d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002984
movdqa xmm0, xmmword [0x180004510]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], di
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1800014f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800014f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800014f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002984
movsxd r14, dword [0x1800060fc]
lea r15, [0x1800060c0]
add r14, r15
cmp dword [r14], 0x4550
je 0x18000151d
mov edi, 0xfffffffe
jmp 0x180001720
lea rdx, [rbp + 0x470]
cmp qword [rbp + 0x488], 7
cmova rdx, qword [rbp + 0x470]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x14
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x180001574
mov edi, 0xfffffffd
jmp 0x180001720
xor edx, edx
mov r8d, 0x4d0
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x30], 0x10000b
lea rdx, [rbp - 0x60]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rsi]
test eax, eax
jne 0x1800015b6
mov edx, 0xfffffffc
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0xfffffffc
jmp 0x180001720
mov r8d, dword [r14 + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov rdx, qword [r14 + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp - 0x70], rax
mov rcx, qword [rsi]
test rax, rax
jne 0x1800015f3
mov edx, 0xfffffffb
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0xfffffffb
jmp 0x180001720
mov r9d, dword [r14 + 0x54]
mov qword [rsp + 0x20], rdi
mov r8, r15
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x180001624
mov edx, 0xfffffffa
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0xfffffffa
jmp 0x180001720
movzx ebx, di
cmp di, word [r14 + 6]
jae 0x18000167d
nop
movzx eax, bx
lea rcx, [rax + rax*4]
movsxd rax, dword [0x1800060fc]
lea rdx, [rax + rcx*8]
mov r9d, dword [rdx + r15 + 0x118]
mov r8d, dword [rdx + r15 + 0x11c]
add r8, r15
mov edx, dword [rdx + r15 + 0x114]
add rdx, qword [rbp - 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800016b6
inc bx
cmp bx, word [r14 + 6]
jb 0x180001630
mov rdx, qword [rbp + 0x28]
add rdx, 0x10
mov qword [rsp + 0x20], rdi
mov r9d, 8
lea r8, [rbp - 0x70]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1800016cb
mov edx, 0xfffffff8
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0xfffffff8
jmp 0x180001720
mov edx, 0xfffffff9
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0xfffffff9
jmp 0x180001720
mov eax, dword [r14 + 0x28]
add rax, qword [rbp - 0x70]
mov qword [rbp + 0x20], rax
lea rdx, [rbp - 0x60]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x1800016fe
mov edx, 0xfffffff7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0xfffffff7
jmp 0x180001720
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x180001720
mov edx, 0xfffffff6
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0xfffffff6
mov rdx, qword [rbp + 0x488]
cmp rdx, 7
jbe 0x180001769
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x470]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001764
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001764
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002984
mov eax, edi
mov rcx, qword [rbp + 0x6a0]
xor rcx, rsp
call fcn.1800024e0
mov rbx, qword [rsp + 0x800]
add rsp, 0x7b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret