Function at 0x1400b6700
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x940
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x8b8], 0xfffffffffffffffe
mov rsi, r8
mov rdi, rdx
mov r14, rcx
xorps xmm0, xmm0
movaps xmmword [rbp + 0x890], xmm0
mov qword [rbp + 0x8a0], 0
mov qword [rbp + 0x8a8], 0xf
lea rbx, [rbp + 0x890]
mov edx, 0x3e8
mov rcx, rbx
call fcn.14002b370
mov r15, qword [r14]
test r15, r15
je 0x1400b6826
mov rcx, r15
mov edx, 0x20
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x1400b67ac
lea rcx, [rbp + 0x890]
mov dl, 0x22
call fcn.14010c140
mov rdx, qword [r14]
lea rcx, [rbp + 0x890]
call fcn.1400431f0
lea rcx, [rbp + 0x890]
mov dl, 0x22
call fcn.14010c140
jmp 0x1400b67bb
lea rcx, [rbp + 0x890]
mov rdx, r15
call fcn.1400431f0
cmp qword [r14 + 8], 0
je 0x1400b6826
add r14, 8
lea r15, [rbp + 0x890]
jmp 0x1400b67e6
mov rcx, r15
mov rdx, r12
call fcn.1400431f0
cmp qword [r14 + 8], 0
lea r14, [r14 + 8]
je 0x1400b6826
mov rcx, r15
mov dl, 0x20
call fcn.14010c140
mov r12, qword [r14]
mov rcx, r12
mov edx, 0x20
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x1400b67d0
mov rcx, r15
mov dl, 0x22
call fcn.14010c140
mov rdx, qword [r14]
mov rcx, r15
call fcn.1400431f0
mov rcx, r15
mov dl, 0x22
call fcn.14010c140
jmp 0x1400b67db
xorps xmm0, xmm0
movaps xmmword [rbp + 0x7f0], xmm0
movaps xmmword [rbp + 0x830], xmm0
movaps xmmword [rbp + 0x820], xmm0
movaps xmmword [rbp + 0x810], xmm0
movaps xmmword [rbp + 0x800], xmm0
mov dword [rbp + 0x7f0], 0x68
pcmpeqd xmm1, xmm1
movdqa xmmword [rbp + 0x840], xmm1
mov qword [rbp + 0x850], 0xffffffffffffffff
cmp qword [rbp + 0x8a8], 0x10
jb 0x1400b687e
mov rbx, qword [rbp + 0x890]
lea r15, [rbp + 0x7d8]
mov qword [rsp + 0x48], r15
lea r12, [rbp + 0x7f0]
mov qword [rsp + 0x40], r12
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0x1000000
mov dword [rsp + 0x20], 0
xor r14d, r14d
xor ecx, ecx
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400b6911
cmp qword [rbp + 0x8a8], 0x10
jb 0x1400b68d6
mov rdx, qword [rbp + 0x890]
jmp 0x1400b68dd
lea rdx, [rbp + 0x890]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400b6973
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
mov dword [rdi], eax
mov rax, qword [rbp + 0x8a8]
cmp rax, 0x10
jb 0x1400b695e
mov rcx, qword [rbp + 0x890]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400b6959
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400b6b21
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140117b2c
mov eax, r14d
add rsp, 0x940
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movaps xmm0, xmmword [0x140188e70]
movaps xmmword [rbp + 0x870], xmm0
movaps xmm0, xmmword [0x140188e60]
movaps xmmword [rbp + 0x860], xmm0
mov qword [rbp + 0x888], 0
lea rcx, [rbp + 0x860]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x888]
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x28], 0
mov ecx, 0x3100
xor edx, edx
mov r8d, eax
mov r9d, 0x400
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov r9, qword [rbp + 0x888]
cmp qword [rbp + 0x8a8], 0x10
jb 0x1400b69f0
mov r8, qword [rbp + 0x890]
jmp 0x1400b69f7
lea r8, [rbp + 0x890]
lea rdx, str.launch_failed:__s__s
lea rdi, [rbp - 0x30]
mov rcx, rdi
call fcn.140004730
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rbx, rax
mov rdi, qword [rsi + 0x18]
cmp rdi, rax
jae 0x1400b6a89
test rbx, rbx
js 0x1400b6b27
mov rax, rbx
or rax, 0xf
mov r12, rdi
shr r12, 1
movabs r15, 0x7fffffffffffffff
mov rcx, r12
xor rcx, r15
add r12, rdi
cmp rax, r12
cmova r12, rax
cmp rcx, rdi
cmovae r15, r12
lea rcx, [r15 + 1]
cmp rcx, 0x1000
jb 0x1400b6ab8
cmp rcx, 0xffffffffffffffd9
jae 0x1400b6b2c
lea rcx, [r15 + 0x28]
call fcn.140117ae8
mov r14, rax
add r14, 0x27
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
mov r12, r15
jmp 0x1400b6ac0
mov r14, rsi
cmp rdi, 0x10
jb 0x1400b6a95
mov r14, qword [rsi]
mov qword [rsi + 0x10], rbx
lea rdx, [rbp - 0x30]
mov rcx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rbx], 0
mov r14d, 1
jmp 0x1400b6919
call fcn.140117ae8
mov r14, rax
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], r12
lea rdx, [rbp - 0x30]
mov rcx, r14
mov r8, rbx
call fcn.1400adb90
mov byte [r14 + rbx], 0
cmp rdi, 0x10
jb 0x1400b6b13
mov rcx, qword [rsi]
cmp rdi, 0xfff
jb 0x1400b6b08
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x1400b6b21
add rdi, 0x28
mov rcx, rax
jmp 0x1400b6b0b
inc rdi
mov rdx, rdi
call fcn.140117b2c
mov qword [rsi], r14
mov r14d, 1
jmp 0x1400b6919
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.140003290
call fcn.1400032b0
int3