Function at 0x14000cb68
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov rbx, rdx
mov dword [rsp + 0x58], ecx
call fcn.14000c644
test al, al
je 0x14000cbd5
lea rcx, [rsp + 0x60]
call fcn.140009e18
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x14000cbc5
mov r8d, 4
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], r8d
lea ecx, [r8 + 6]
call rax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000cbd5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14000d6f8
test al, al
jne 0x14000cbf8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000d7a8
mov eax, 1
jmp 0x14000ce45
lea rcx, [rsp + 0x50]
call fcn.14000c488
cmp byte [rsp + 0x51], 0
je 0x14000cc43
cmp byte [rsp + 0x50], 0
je 0x14000cc2a
mov ecx, dword [rsp + 0x58]
mov rdx, rbx
call fcn.14000c78c
xor r14d, r14d
test al, al
sete r14b
jmp 0x14000ce42
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x60]
mov r8, rbx
call fcn.14000ceec
cmp qword [rsp + 0x60], 0
jne 0x14000cc4e
mov r14d, 1
jmp 0x14000ce42
mov r8, rbx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140009bc4
cmp byte [rsp + 0x51], 0
jne 0x14000cc7c
mov ecx, 0x57
call fcn.14000d7a8
mov r14d, 1
jmp 0x14000ce37
and qword [rbp], 0
lea rax, [rbp + 0x20]
and qword [rbp + 0x10], 0
and qword [rbp + 0x38], 0
mov qword [rbp + 8], rax
mov qword [rbp + 0x18], 3
call fcn.14000c644
test al, al
je 0x14000ccb2
movabs rax, 0x1000000000000000
or qword [rbp], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
mov qword [rbp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff4
mov qword [rbp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rbp + 0x40]
mov qword [rbp + 0x50], rax
lea rcx, [rbp]
call fcn.1400099ec
lea r8, [rbp - 0x70]
mov edi, 0x404
lea rdx, [rsp + 0x50]
lea rcx, [rbp]
call fcn.14000a744
cmp byte [rsp + 0x51], 0
mov r14d, 1
je 0x14000cd96
xor eax, eax
cmp byte [rsp + 0x50], al
je 0x14000cd47
mov edi, 0x80404
cmp qword [rbp + 0x10], rax
je 0x14000cd47
mov rax, qword [rbp + 0x40]
bts dword [rbp - 0x34], 8
mov qword [rbp - 0x20], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp - 0x10], rax
mov eax, r14d
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
mov qword [rsp + 0x70], rcx
xor r9d, r9d
mov qword [rsp + 0x78], rcx
xor r8d, r8d
mov qword [rbp - 0x80], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x40], rcx
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov rcx, qword [rbx]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000cda8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000d7a8
jmp 0x14000ce2e
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rcx, rbx
call fcn.14000c1d0
test al, al
je 0x14000cdef
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x14000cdef
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
mov rcx, rbx
sbb edx, edx
and edx, 0xffffd8ef
add edx, 0x2710
call fcn.14000d80c
xor r14d, r14d
jmp 0x14000ce08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000d7a8
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000ce1b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000ce2e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp]
call fcn.14000a3a0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.mozglue.dll_free]
mov eax, r14d
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.140005a70
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop r14
pop rdi
pop rbp
ret