Function at 0x1400180a4
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x488]
sub rsp, 0x550
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1400f3080]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov r15, r8
mov rsi, rdx
mov r12, rcx
mov qword [rbp - 0x70], rcx
cmp dword [rdx + 0xa4], 5
je 0x140018955
mov eax, dword [rdx + 0xa0]
mov r14d, 8
xor r13d, r13d
cmp eax, 2
jne 0x1400185a4
lea rbx, [rdx + 0xe0]
mov rdx, rbx
cmp qword [rbx + 0x18], r14
jb 0x140018122
mov rdx, qword [rbx]
lea rcx, [0x1400cced0]
call fcn.140017c8c
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.140024f50
nop
cmp qword [rbp + 0x70], r13
jne 0x1400181d2
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r13w
lea rdx, str.Warning
lea rcx, [rbp + 0x40]
call fcn.140004c64
nop
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r13w
lea rdx, [0x1400ccef8]
lea rcx, [rbp + 0x80]
call fcn.140004c64
nop
mov rax, qword [r12]
mov r9, qword [rax]
mov r8d, 1
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.140013434
nop
lea rcx, [rbp + 0x80]
call fcn.140004c00
nop
lea rcx, [rbp + 0x40]
call fcn.140004c00
mov ebx, 0xc0000225
jmp 0x140018476
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r13
lea rdi, [rsi + 0x108]
mov rax, qword [rdi + 8]
cmp qword [rdi], rax
jne 0x14001828e
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.140032260
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
lea rdx, [rax + 8]
lea rcx, [rsp + 0x50]
cmp byte [rdx + 0x18], r13b
jne 0x140018224
lea rdx, [rsp + 0x70]
call fcn.14001b604
lea rax, [rsp + 0x50]
cmp rdi, rax
je 0x140018263
mov rcx, rdi
call fcn.14001afb0
mov rax, qword [rsp + 0x50]
mov qword [rdi], rax
mov rax, qword [rsp + 0x58]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
lea rcx, [rsp + 0x50]
call fcn.14001afb0
nop
lea rcx, [rsp + 0x70]
call fcn.14001afb0
nop
cmp byte [rbp + 0xa0], r13b
je 0x14001828e
lea rcx, [rbp + 0x88]
call fcn.14001afb0
mov byte [rsi + 0x104], 1
lea r13, [rsi + 0x120]
mov r12, qword [rbp + 0x48]
xor ebx, ebx
mov rax, qword [r13 + 8]
cmp qword [r13], rax
je 0x140018337
lea rax, [rbp + 0x40]
cmp rdi, rax
je 0x1400182c8
mov r8, r12
mov rdx, qword [rbp + 0x40]
mov rcx, rdi
call fcn.14001bb60
mov eax, dword [rsi + 0x100]
cmp eax, dword [rsi + 0xb0]
jae 0x140018486
inc eax
mov dword [rsi + 0x100], eax
mov r15, qword [rsi + 0x120]
mov rbx, qword [rsi + 0x128]
lea r14, [r15 + 0x40]
cmp r14, rbx
je 0x140018318
mov rdx, r14
mov rcx, r15
call fcn.14001b534
add r15, 0x40
add r14, 0x40
cmp r14, rbx
jne 0x1400182f9
mov rbx, qword [rsi + 0x128]
lea rcx, [rbx - 0x18]
call fcn.14001ba64
lea rcx, [rbx - 0x38]
call fcn.140004c00
add qword [rsi + 0x128], 0xffffffffffffffc0
jmp 0x140018442
lea r8, [rbp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.140032260
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rbx
lea rdx, [rax + 8]
lea rcx, [rsp + 0x50]
cmp byte [rdx + 0x18], bl
jne 0x14001836c
lea rdx, [rbp + 0x80]
call fcn.14001b604
lea rcx, [rbp + 0x40]
call fcn.14001afb0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp + 0x40], xmm0
movsd xmm1, qword [rsp + 0x60]
movsd qword [rbp + 0x50], xmm1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x50]
call fcn.14001afb0
nop
lea rcx, [rbp + 0x80]
call fcn.14001afb0
nop
cmp byte [rbp - 0x40], bl
je 0x1400183c2
lea rcx, [rbp - 0x58]
call fcn.14001afb0
mov rax, qword [r13]
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], rax
mov r14, qword [rdi]
mov rbx, qword [rbp + 0x40]
mov r15, qword [rsi + 0x110]
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x50], xmm0
mov r12, qword [rbp + 0x48]
cmp rbx, r12
je 0x140018424
cmp r14, r15
je 0x14001841f
mov eax, dword [r14]
cmp dword [rbx], eax
jae 0x140018410
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14001be90
add rbx, 0x40
jmp 0x14001841a
ja 0x140018416
add rbx, 0x40
add r14, 0x40
cmp rbx, r12
jne 0x1400183f1
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
jmp 0x14001843d
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14001be90
add rbx, 0x40
cmp rbx, r12
jne 0x14001842c
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
cmp byte [rsi + 0x104], bl
jne 0x1400182a2
lea rcx, [0x1400ccf18]
call fcn.140017c50
mov ebx, 0xc0000240
lea rcx, [rbp + 0x40]
call fcn.14001afb0
nop
lea rcx, [rbp + 0x60]
call fcn.140004c00
mov eax, ebx
jmp 0x140018957
mov rax, qword [rsi + 0x120]
mov eax, dword [rax]
mov dword [rsi + 0xc0], eax
mov r14, qword [r13]
mov rbx, qword [rsi + 0x128]
lea rdi, [r14 + 0x40]
cmp rdi, rbx
je 0x1400184c8
mov rdx, rdi
mov rcx, r14
call fcn.14001b534
add r14, 0x40
add rdi, 0x40
cmp rdi, rbx
jne 0x1400184a9
mov rbx, qword [rsi + 0x128]
lea rcx, [rbx - 0x18]
call fcn.14001ba64
lea rcx, [rbx - 0x38]
call fcn.140004c00
add qword [rsi + 0x128], 0xffffffffffffffc0
mov edx, dword [rsi + 0xc0]
lea rcx, [0x1400ccf28]
call fcn.140017cc8
nop
lea rcx, [rbp + 0x40]
call fcn.14001afb0
nop
lea rcx, [rbp + 0x60]
call fcn.140004c00
mov r12, qword [rbp - 0x70]
xor r13d, r13d
cmp dword [rsi + 0xa4], 2
jae 0x140018955
cmp dword [rsi + 0xa0], 1
je 0x140018955
lea r14, [r12 + 8]
cmp byte [rsi + 0xb8], r13b
je 0x140018803
lea rcx, str.Escalating_process_handle_access
call fcn.140017c8c
mov r8d, 0x1000
mov edx, dword [rsi + 0xc0]
mov rcx, r14
call fcn.140031d60
mov ebx, eax
test eax, eax
js 0x140018591
call fcn.1400134e8
mov rdi, rax
mov rbx, qword [r12 + 8]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, 0x1d7b
mov r8, rbx
mov edx, eax
mov rcx, rdi
call fcn.140026890
mov ebx, eax
test eax, eax
jns 0x14001881d
mov edx, ebx
lea rcx, str.Failed_to_escalate_process_handle_access__status_0x_X
call fcn.140017bd8
jmp 0x140018819
cmp eax, 1
jne 0x14001850f
xor edx, edx
lea r8d, [rax + 0x63]
lea rcx, [rbp - 0x2c]
call fcn.14008a450
mov dword [rbp - 0x30], 0x68
lea rdi, [rsi + 0x38]
mov r8, rdi
cmp qword [rdi + 0x18], r14
jb 0x1400185d3
mov r8, qword [rdi]
lea rbx, [rsi + 0xe0]
mov rdx, rbx
cmp qword [rbx + 0x18], r14
jb 0x1400185e6
mov rdx, qword [rbx]
lea rcx, str.Creating_new_process__ls_with_arguments__ls
call fcn.140017c8c
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.140025290
cmp qword [rax + 0x18], r14
jb 0x140018607
mov rax, qword [rax]
cmp qword [rdi + 0x18], r14
jb 0x140018610
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], r14
jb 0x140018619
mov rbx, qword [rbx]
mov qword [rsp + 0x48], r15
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
lea rcx, [rbp + 0x60]
call fcn.140004c00
test ebx, ebx
jne 0x14001872d
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r13w
lea rdx, [0x1400ccf68]
lea rcx, [rbp + 0x80]
call fcn.140004c64
nop
mov rax, qword gs:[0x30]
mov edx, dword [rax + 0x1250]
lea rcx, [rbp + 0x40]
call fcn.140025c40
nop
mov r9, r14
lea r8, [0x1400ccf78]
mov rcx, rax
call fcn.140016620
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rax, qword [r12]
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x60]
mov rcx, qword [rax]
call fcn.1400133bc
nop
lea rcx, [rbp + 0x60]
call fcn.140004c00
nop
lea rcx, [rbp + 0x40]
call fcn.140004c00
nop
lea rcx, [rbp + 0x80]
call fcn.140004c00
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140018957
lea r14, [r12 + 8]
cmp byte [rsi + 0xb8], r13b
je 0x14001878b
lea rcx, [0x1400ccf90]
call fcn.140017c8c
mov r8d, 0x1000
mov edx, dword [r15 + 0x10]
mov rcx, r14
call fcn.140031d60
mov ebx, eax
test eax, eax
js 0x1400187f0
call fcn.1400134e8
mov rdi, rax
mov rbx, qword [r12 + 8]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r9d, 0x1d7b
mov r8, rbx
mov edx, eax
mov rcx, rdi
call fcn.140026890
jmp 0x14001879d
mov r8d, 0xd7b
mov edx, dword [r15 + 0x10]
mov rcx, r14
call fcn.140031d60
mov ebx, eax
test eax, eax
js 0x1400187f0
mov rcx, r14
call fcn.140031fb0
cmp dword [rsi + 0xa4], 2
jb 0x1400187e4
mov eax, dword [r15 + 0x10]
mov dword [rsi + 0xc0], eax
mov rcx, r14
call fcn.140031e50
cmp dword [rsi + 0xa4], 3
jne 0x1400187e4
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [rsi + 0xb4], r13b
jmp 0x14001850f
mov edx, ebx
lea rcx, str.Failed_to_attach_to_process__status_0x_X
call fcn.140017bd8
jmp 0x14001847f
mov r8d, 0xd7b
mov edx, dword [rsi + 0xc0]
mov rcx, r14
call fcn.140031d60
mov ebx, eax
test ebx, ebx
js 0x140018831
mov rcx, r14
call fcn.140032090
mov ecx, 0xc000010a
test al, al
cmove ebx, ecx
test ebx, ebx
je 0x1400188e2
mov edx, ebx
lea rcx, [rbp + 0x40]
call fcn.140025c40
nop
mov r9d, 8
lea r8, [0x1400cd060]
mov rcx, rax
call fcn.140016620
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x90], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea rcx, [rbp + 0x40]
call fcn.140004c00
movdqa xmm0, xmmword [0x1400d76e0]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r13w
lea rdx, [0x1400cd078]
lea rcx, [rbp + 0x60]
call fcn.140004c64
nop
mov rcx, qword [r12]
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x80]
mov rcx, qword [rcx]
call fcn.1400133bc
nop
lea rcx, [rbp + 0x60]
call fcn.140004c00
nop
lea rcx, [rbp + 0x80]
jmp 0x14001847a
mov rbx, qword [r12 + 0x18]
xor edx, edx
cmp byte [rbx + 0x15], r13b
je 0x14001891d
mov r8d, 0x250
lea rcx, [rbp + 0xb0]
call fcn.14008a450
mov rax, qword [rbx]
lea rdx, [rbp + 0xb0]
mov rcx, rbx
call qword [rax + pe_nt_image_headers64]
cmp dword [rbp + 0xbc], r13d
jmp 0x140018946
mov r8d, 0x388
lea rcx, [rbp + 0xb0]
call fcn.14008a450
mov rax, qword [rbx]
lea rdx, [rbp + 0xb0]
mov rcx, rbx
call qword [rax + 0x78]
cmp qword [rbp + 0xc8], r13
setne al
test al, al
jne 0x140018955
mov rcx, r14
call fcn.140031fb0
xor eax, eax
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.14006bb00
mov rbx, qword [rsp + 0x5a8]
add rsp, 0x550
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret