Function at 0x14018d56c
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3e0]
mov eax, 0x4e0
call fcn.14024eae0
sub rsp, rax
mov rax, qword [0x14035d028]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov rsi, r9
mov r14, rcx
mov rbx, qword [rbp + 0x440]
xor r15d, r15d
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x14018d5c8
xor edx, edx
call fcn.14018d948
test al, al
je 0x14018d88c
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
mov r12d, 7
mov qword [rbp - 8], r12
mov word [rbp - 0x20], r15w
mov r13d, 0x1000
cmp qword [rsi + 0x10], r15
je 0x14018d703
cmp qword [rbx + 0x10], r15
je 0x14018d715
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14018d606
mov rax, qword [rbx]
mov ecx, 0x20
cmp cx, word [rax]
je 0x14018d703
mov qword [rbp], r15
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r12
mov word [rbp], r15w
lea rdx, [rbp]
mov rcx, rsi
call fcn.140029534
mov r9, rbx
lea r8, [rbp]
lea rdx, str._s__s
lea rcx, [rbp + 0x20]
call fcn.140023938
mov rdi, rax
lea rax, [rbp - 0x20]
cmp rax, rdi
je 0x14018d6bb
mov rcx, qword [rbp - 8]
cmp rcx, 8
jb 0x14018d693
lea rcx, [rcx*2 + 2]
mov rdx, qword [rbp - 0x20]
mov rax, rdx
cmp rcx, r13
jb 0x14018d68a
mov rdx, qword [rdx - 8]
sub rax, rdx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14018d68a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r12
mov word [rbp - 0x20], r15w
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r12
mov word [rdi], r15w
lea rcx, [rbp + 0x20]
call fcn.14000ac30
nop
mov rax, qword [rbp + 0x18]
cmp rax, 8
jb 0x14018d715
lea rax, [rax*2 + 2]
mov rcx, qword [rbp]
mov rdx, rcx
cmp rax, r13
jb 0x14018d6fb
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14018d6fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14018d715
cmp qword [rbx + 0x10], r15
je 0x14018d715
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.14000abb4
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x70], 0x68
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
cmp qword [r14 + 0x28], r15
jne 0x14018d747
mov rdi, r15
jmp 0x14018d755
lea rdi, [r14 + 0x18]
cmp qword [rdi + 0x18], 8
jb 0x14018d755
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
bts eax, 0x1b
cmp qword [rbp - 0x10], r15
jne 0x14018d773
mov rdx, r15
jmp 0x14018d781
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
cmp qword [rsi + 0x10], r15
jne 0x14018d78c
mov rcx, r15
jmp 0x14018d799
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14018d799
mov rcx, qword [rsi]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x48], r8
lea r8, [rsp + 0x70]
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14018d859
mov rax, qword [rsp + 0x50]
mov qword [r14 + 8], rax
mov dword [r14 + 0x10], 0x103
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp - 8]
cmp rax, 8
jb 0x14018d82d
mov rcx, qword [rbp - 0x20]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, r13
jb 0x14018d827
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14018d827
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.14024c6d0
mov rbx, qword [rsp + 0x528]
add rsp, 0x4e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
lea rcx, [rbp + 0x40]
call fcn.14018e160
lea rdx, [0x140325060]
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp + 0x40]
call fcn.14018e0c0
lea rdx, [0x140325060]
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3