Function at 0x14001a5c0
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
mov rbx, r8
mov qword [rsp + 0x60], rdx
mov r13, rcx
mov rax, qword [0x140124058]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rbp, [rsp + 0xb0]
mov rcx, rbp
call fcn.14002db30
cmp dword [rbx + 0x2c], 1
sete r15b
mov rsi, qword [rbx + 0x30]
mov rdi, qword [rbx + 0x38]
cmp rsi, rdi
je 0x14001a646
mov rax, rdi
sub rax, rsi
sar rax, 3
cmp rax, 0x1fffffff
ja 0x14001aae7
mov rbp, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea r12, str..._.._base_process_launch_win.cc
lea r14, [rsp + 0x120]
jmp 0x14001aa70
xor edi, edi
cmp byte [rbx + 0x29], 0
je 0x14001a656
or byte [rsp + 0xec], 0x80
cmp byte [rbx + 0x50], 0
je 0x14001a66b
lea rax, [0x1400f0392]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0xec]
mov ecx, eax
or ecx, 1
mov dword [rsp + 0xec], ecx
movzx ecx, byte [rbx + 0x28]
xor ecx, 1
mov word [rsp + 0xf0], cx
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14001a69c
mov rdx, qword [rbx + 0x68]
jmp 0x14001a6ac
mov rdx, qword [rbx + 0x68]
test rdx, rdx
jne 0x14001a6ac
cmp qword [rbx + 0x70], 0
je 0x14001a6d4
or eax, 0x101
mov dword [rsp + 0xec], eax
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0x108], rdx
mov rax, qword [rbx + 0x70]
mov qword [rsp + 0x110], rax
cmp qword [rbx + 0x58], 0
je 0x14001a6ec
call fcn.14002e490
lea ecx, [rdi + 0x1000000]
cmp eax, 5
cmovl edi, ecx
mov esi, edi
or esi, 0x1000000
cmp byte [rbx + 0x78], 0
cmove esi, edi
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
cmp qword [rbx + 0x18], 0
je 0x14001a726
cmp qword [rbx + 0x20], 7
jbe 0x14001a72a
mov rax, qword [rbx + 8]
jmp 0x14001a72e
xor eax, eax
jmp 0x14001a72e
lea rax, [rbx + 8]
mov qword [rsp + 0x58], rax
movups xmmword [rsp + 0x130], xmm0
mov rdi, qword [rsp + 0x60]
mov r12, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x14001a753
mov rax, qword [rsp + 0x60]
mov rdi, qword [rax]
cmp r12, 7
ja 0x14001a76c
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x120], xmm0
mov r14d, 7
jmp 0x14001a7e8
mov r14, r12
or r14, 7
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
cmovae r14, rax
mov rax, r14
add rax, 1
lea rcx, [r14 + r14 + 2]
mov rax, 0xffffffffffffffff
cmovs rcx, rax
cmp rcx, 0x1000
jb 0x14001a7bf
add rcx, 0x27
cmovb rcx, rax
call fcn.1400a56d0
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x14001a7d0
test rcx, rcx
je 0x14001a7ce
call fcn.1400a56d0
mov rcx, rax
jmp 0x14001a7d0
xor ecx, ecx
mov qword [rsp + 0x120], rcx
lea r8, [r12 + r12]
add r8, 2
mov rdx, rdi
call fcn.1400c9420
mov qword [rsp + 0x130], r12
mov qword [rsp + 0x138], r14
mov rdx, qword [rbx + 0x48]
test rdx, rdx
je 0x14001a843
mov qword [rsp + 0x78], 0
lea rcx, [rsp + 0x78]
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x14001a99c
or esi, 0x400
mov rdx, qword [rsp + 0x78]
movzx r9d, r15b
cmp qword [rsp + 0x138], 7
jbe 0x14001a85e
mov r8, qword [rsp + 0x120]
jmp 0x14001a866
movzx eax, r15b
cmp r14, 7
jbe 0x14001a951
mov rdx, qword [rsp + 0x120]
jmp 0x14001a959
lea r8, [rsp + 0x120]
mov rdi, rbp
mov rax, qword [rsp + 0x58]
mov rcx, qword [rbx + 0x48]
lea rbp, [rsp + 0x90]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], 0
xor edx, edx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
mov rcx, qword [rsp + 0x78]
call sub.USERENV.dll_DestroyEnvironmentBlock
test edi, edi
je 0x14001a99c
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x90]
call fcn.14002e4b0
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x14001a8ed
mov rdx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x14001a9a8
cmp byte [rbx + 0x79], 0
je 0x14001a905
mov rcx, qword [rsp + 0x78]
call sub.KERNEL32.dll_GetProcessId
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [rbx], 0
je 0x14001a91a
mov rcx, qword [rsp + 0x78]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [rsp + 0x88]
mov rcx, qword [0x140128128]
test rcx, rcx
je 0x14001a937
mov r8, qword [rsp + 0x60]
call fcn.14002a830
lea rcx, [rsp + 0x78]
call fcn.14002e620
mov rcx, r13
mov rdx, rax
call fcn.14001aba0
jmp 0x14001a9e4
lea rdx, [rsp + 0x120]
mov rdi, qword [rsp + 0x58]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x30], 0
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14001a8bf
mov rcx, r13
xor edx, edx
call fcn.14001aba0
jmp 0x14001a9ee
lea rcx, [rsp + 0x78]
call fcn.14002e620
lea rsi, [rsp + 0x68]
mov rcx, rsi
mov rdx, rax
call fcn.14001aba0
mov rcx, rsi
mov edx, 1
mov r8b, 1
call fcn.14001ae40
mov rcx, r13
xor edx, edx
call fcn.14001aba0
mov rcx, rsi
call fcn.14001abe0
lea rcx, [rsp + 0x78]
call fcn.14002e500
mov rax, qword [rsp + 0x138]
cmp rax, 8
jb 0x14001aaf1
mov rcx, qword [rsp + 0x120]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14001aa3b
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14001ab25
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.1400a5740
jmp 0x14001aaf1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov rcx, r14
mov rdx, r12
mov r8d, 0xdc
mov r9d, 3
call fcn.140018380
mov rcx, r14
call fcn.1400184c0
jmp 0x14001aa84
mov rcx, qword [rsi]
mov edx, 1
mov r8d, 1
call rbp
test eax, eax
je 0x14001aa45
add rsi, 8
cmp rdi, rsi
jne 0x14001aa70
lea rcx, [rsp + 0xb0]
mov edx, 1
call fcn.14002dc20
test al, al
je 0x14001aae7
mov r9d, dword [rbx + 0x38]
mov r8, qword [rbx + 0x30]
sub r9d, r8d
and r9d, 0xfffffff8
lea rcx, [rsp + 0xb0]
mov edx, 0x20002
call fcn.14002dcc0
test al, al
je 0x14001aae7
mov r15b, 1
mov edi, 0x80000
lea rbp, [rsp + 0xb0]
cmp byte [rbx + 0x29], 0
jne 0x14001a64e
jmp 0x14001a656
mov rcx, r13
xor edx, edx
call fcn.14001aba0
lea rcx, [rsp + 0xb0]
call fcn.14002dbe0
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400a5a90
mov rax, r13
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400d60c0
ud2