Function at 0x18001e4b4
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x200
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r14, rdx
mov r15, rcx
xor edi, edi
mov dword [rsp + 0x50], edi
mov rax, qword [rcx + 0xd8]
mov rbx, qword [rax + 8]
mov qword [rbp + 0x140], rbx
mov rcx, qword [rax]
mov qword [rbp + 0x68], rcx
lea r12, [r15 + 0x80]
mov edx, dword [r12]
test edx, edx
jne 0x18001e5d3
cmp byte [rcx + 0x40], dil
je 0x18001e535
cmp qword [rcx + 0x30], rdi
jne 0x18001e535
cmp qword [rcx + 0x18], 0x10
jb 0x18001e530
mov rax, qword [rcx]
jmp 0x18001e559
mov rax, rcx
jmp 0x18001e559
cmp qword [rcx + 0x18], 0x10
jb 0x18001e541
mov rax, qword [rcx]
jmp 0x18001e544
mov rax, rcx
mov qword [r15 + 0xc8], rax
lea rax, [rcx + 0x20]
cmp qword [rax + 0x18], 0x10
jb 0x18001e559
mov rax, qword [rax]
mov qword [r15 + 0xc0], rax
test edx, edx
jne 0x18001e5d3
mov rax, qword [rcx + 0x48]
cmp byte [rax], dil
jne 0x18001e5bc
call fcn.180015834
mov dword [rsp + 0x60], 0xa
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, str.Empty_Environment
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x18]
call fcn.1800079f4
nop
lea rax, vtable.boost::process::process_error.0
mov qword [rbp + 0x18], rax
lea rdx, [0x1801e5960]
lea rcx, [rbp + 0x18]
call fcn.180153440
nop
mov qword [r15 + 0xd0], rax
test edx, edx
jne 0x18001e5d3
mov rdx, r15
mov rcx, qword [rbx + 8]
call fcn.180022a0c
cmp dword [r12], edi
jne 0x18001e5e5
mov rdx, r15
mov rcx, qword [rbx + 0x10]
call fcn.180023104
mov rbx, qword [rbx + 0x18]
mov esi, 1
cmp dword [r12], edi
jne 0x18001e632
mov r8d, esi
mov edx, esi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rcx, qword [r15 + 0x78]
mov rax, qword [rbx + 8]
mov qword [rcx + 0x50], rax
mov rax, qword [r15 + 0x78]
bts dword [rax + 0x3c], 8
mov dword [r15 + 0xb0], esi
cmp dword [r12], edi
jne 0x18001e632
mov rax, qword [r15 + 0x78]
or dword [rax + 0x3c], esi
cmp dword [r12], edi
je 0x18001e67d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x80], xmm0
mov rcx, qword [r15 + 0xd8]
call fcn.18001f1ac
mov qword [r14], rdi
mov qword [r14 + 8], rdi
mov qword [r14 + 0x10], rdi
lea rcx, [r14 + 0x18]
call fcn.18001c56c
nop
mov word [r14 + 0x28], 1
mov dword [rsp + 0x50], esi
mov rax, r14
jmp 0x18001e921
mov rax, qword [r15 + 0x78]
mov r10, qword [r15 + 0xb8]
mov r11, qword [r15 + 0xd0]
mov ebx, dword [r15]
mov edi, dword [r15 + 0xb0]
lea rsi, [r15 + 0xe0]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
mov r9, qword [r15 + 0xa8]
mov r8, qword [r15 + 0xa0]
mov rdx, qword [r15 + 0xc0]
mov rcx, qword [r15 + 0xc8]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov r13d, eax
movups xmm1, xmmword [rsi]
movdqu xmmword [rbp], xmm1
movsd xmm0, qword [rsi + 0x10]
movsd qword [rbp + 0x10], xmm0
movups xmmword [rsp + 0x70], xmm1
movsd qword [rbp - 0x80], xmm0
movdqa xmm0, xmmword [0x1801b7700]
movdqu xmmword [rbp], xmm0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov rdi, qword [r15 + 0x98]
mov rsi, qword [r15 + 0x90]
test rdi, rdi
je 0x18001e75d
lock inc dword [rdi + 8]
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x18001e75d
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18001e75d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18001e75d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x78], rsi
mov esi, 1
mov word [rbp - 0x68], si
xor edi, edi
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13d, r13d
je 0x18001e8dc
mov dword [r12], edi
call fcn.180015834
mov qword [r12 + 8], rax
mov rbx, qword [r15 + 0xd8]
mov rbx, qword [rbx + 8]
mov r8, qword [rbx + 8]
cmp dword [r12], edi
jne 0x18001e7d6
mov r8, qword [r8 + 0x10]
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rdi
add r8, 0x68
lea r9, [rbp - 0x60]
lea rdx, [rbp + 0xb0]
call fcn.18001931c
mov r8, qword [rbx + 0x10]
cmp dword [r12], edi
jne 0x18001e806
mov r8, qword [r8 + 0x10]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdi
add r8, 0x68
lea r9, [rbp - 0x48]
lea rdx, [rbp + 0xc8]
call fcn.18001931c
mov r8, qword [rbx + 0x18]
cmp dword [r12], edi
jne 0x18001e83c
mov r8, qword [r8 + 0x10]
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdi
add r8, 8
lea r9, [rbp - 0x30]
lea rdx, [rbp + 0xe0]
call fcn.18001931c
cmp dword [r12], edi
je 0x18001e88e
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x90], xmm0
mov rcx, qword [r15 + 0xd8]
call fcn.18001f1ac
mov qword [r14], rdi
mov qword [r14 + 8], rdi
mov qword [r14 + 0x10], rdi
lea rcx, [r14 + 0x18]
call fcn.18001c56c
nop
mov word [r14 + 0x28], 1
mov dword [rsp + 0x50], esi
lea rcx, [rsp + 0x70]
call fcn.180019878
jmp 0x18001e675
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [r14], xmm0
movsd xmm1, qword [rbp - 0x80]
movsd qword [r14 + 0x10], xmm1
movdqa xmm0, xmmword [0x1801b7700]
movdqu xmmword [rsp + 0x70], xmm0
mov rax, qword [rbp - 0x78]
mov qword [r14 + 0x18], rax
mov rax, qword [rbp - 0x70]
mov qword [r14 + 0x20], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov al, byte [rbp - 0x68]
mov byte [r14 + 0x28], al
mov al, byte [rbp - 0x67]
mov byte [r14 + 0x29], al
mov byte [rbp - 0x68], dil
jmp 0x18001e87b
lea rcx, [rbp + 0xa0]
call fcn.180015910
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x10], xmm0
lea r8, str._CreateProcess_failed
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x40]
call fcn.1800079f4
nop
lea rax, vtable.boost::process::process_error.0
mov qword [rbp + 0x40], rax
lea rdx, [0x1801e5960]
lea rcx, [rbp + 0x40]
call fcn.180153440
nop
mov rbx, qword [rsp + 0x250]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret