Function at 0x14001bd90
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 r13, r8
mov rbx, rdx
mov r12, rcx
mov rax, qword [0x140125058]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rbp, [rsp + 0xb0]
mov rcx, rbp
call fcn.14002f1f0
cmp dword [r13 + 0x2c], 1
sete cl
mov rdi, qword [r13 + 0x30]
mov rsi, qword [r13 + 0x38]
cmp rdi, rsi
je 0x14001bee6
mov rax, rsi
sub rax, rdi
sar rax, 3
cmp rax, 0x1fffffff
ja 0x14001c065
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], r12
lea r14, [rsp + 0x130]
mov r12, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea r15, str..._.._base_process_launch_win.cc
lea rbx, [rsp + 0x120]
lea rbp, str.Check_failed:_result.
nop dword [rax]
mov rcx, qword [rdi]
mov edx, 1
mov r8d, 1
call r12
test eax, eax
jne 0x14001be78
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov rcx, rbx
mov rdx, r15
mov r8d, 0xdd
mov r9d, 3
call fcn.14001a180
mov rcx, r14
mov rdx, rbp
call fcn.140001140
mov rcx, rbx
call fcn.14001a2c0
add rdi, 8
cmp rsi, rdi
jne 0x14001be30
lea rcx, [rsp + 0xb0]
mov edx, 1
call fcn.14002f2e0
test al, al
je 0x14001c060
mov r9d, dword [r13 + 0x38]
mov r8, qword [r13 + 0x30]
sub r9d, r8d
and r9d, 0xfffffff8
lea rcx, [rsp + 0xb0]
mov edx, 0x20002
call fcn.14002f380
test al, al
mov r12, qword [rsp + 0x60]
je 0x14001c065
mov cl, 1
mov edi, 0x80000
mov rbx, qword [rsp + 0x58]
lea rbp, [rsp + 0xb0]
cmp byte [r13 + 0x29], 0
jne 0x14001beef
jmp 0x14001bef7
xor edi, edi
cmp byte [r13 + 0x29], 0
je 0x14001bef7
or byte [rsp + 0xec], 0x80
cmp byte [r13 + 0x50], 0
je 0x14001bf0d
lea rax, [0x1400f33c2]
mov qword [rsp + 0xc0], rax
mov byte [rsp + 0x60], cl
mov eax, dword [rsp + 0xec]
mov ecx, eax
or ecx, 1
mov dword [rsp + 0xec], ecx
movzx ecx, byte [r13 + 0x28]
xor ecx, 1
mov word [rsp + 0xf0], cx
mov rcx, qword [r13 + 0x60]
test rcx, rcx
je 0x14001bf43
mov rdx, qword [r13 + 0x68]
jmp 0x14001bf53
mov rdx, qword [r13 + 0x68]
test rdx, rdx
jne 0x14001bf53
cmp qword [r13 + 0x70], 0
je 0x14001bf7b
or eax, 0x101
mov dword [rsp + 0xec], eax
mov qword [rsp + 0x100], rcx
mov qword [rsp + 0x108], rdx
mov rax, qword [r13 + 0x70]
mov qword [rsp + 0x110], rax
cmp qword [r13 + 0x58], 0
je 0x14001bf93
call fcn.14002faf0
lea ecx, [rdi + 0x1000000]
cmp eax, 5
cmovl edi, ecx
mov esi, edi
or esi, 0x1000000
cmp byte [r13 + 0x78], 0
cmove esi, edi
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
cmp qword [r13 + 0x18], 0
je 0x14001bfd1
lea rax, [r13 + 8]
cmp qword [r13 + 0x20], 8
jb 0x14001bfd3
mov rax, qword [rax]
jmp 0x14001bfd3
xor eax, eax
mov qword [rsp + 0x58], rax
movups xmmword [rsp + 0x130], xmm0
mov r15, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
mov rdi, rbx
jbe 0x14001bff1
mov rdi, qword [rbx]
cmp r15, 7
ja 0x14001c00d
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x120], xmm0
mov r14d, 7
jmp 0x14001c09d
mov r14, r15
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 0x14001c074
add rcx, 0x27
cmovb rcx, rax
call fcn.1400a8a10
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x14001c085
mov r12, qword [rsp + 0x60]
mov rcx, r12
xor edx, edx
call fcn.14001c3a0
jmp 0x14001c2f2
test rcx, rcx
je 0x14001c083
call fcn.1400a8a10
mov rcx, rax
jmp 0x14001c085
xor ecx, ecx
mov qword [rsp + 0x120], rcx
lea r8, [r15 + r15]
add r8, 2
mov rdx, rdi
call fcn.1400cc760
mov qword [rsp + 0x130], r15
mov qword [rsp + 0x138], r14
mov rdx, qword [r13 + 0x48]
test rdx, rdx
je 0x14001c0f9
mov qword [rsp + 0x78], 0
lea rcx, [rsp + 0x78]
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x14001c256
or esi, 0x400
mov rdx, qword [rsp + 0x78]
movzx eax, byte [rsp + 0x60]
cmp qword [rsp + 0x138], 7
jbe 0x14001c115
mov r8, qword [rsp + 0x120]
jmp 0x14001c11d
movzx eax, byte [rsp + 0x60]
cmp r14, 7
jbe 0x14001c208
mov rdx, qword [rsp + 0x120]
jmp 0x14001c210
lea r8, [rsp + 0x120]
mov rdi, rbx
mov rcx, qword [r13 + 0x48]
lea rbx, [rsp + 0x90]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbp
mov rbp, qword [rsp + 0x58]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
xor edx, edx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov rcx, qword [rsp + 0x78]
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
je 0x14001c256
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x90]
call fcn.14002fb10
mov rcx, qword [r13 + 0x58]
test rcx, rcx
je 0x14001c1a3
mov rdx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x14001c262
cmp byte [r13 + 0x79], 0
je 0x14001c1bc
mov rcx, qword [rsp + 0x78]
call sub.KERNEL32.dll_GetProcessId
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [r13], 0
je 0x14001c1d3
mov rcx, qword [rsp + 0x78]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [rsp + 0x88]
mov rcx, qword [0x140128e88]
test rcx, rcx
je 0x14001c1ee
mov r8, rdi
call fcn.14002bb50
lea rcx, [rsp + 0x78]
call fcn.14002fc80
mov rcx, r12
mov rdx, rax
call fcn.14001c3a0
jmp 0x14001c29e
lea rdx, [rsp + 0x120]
mov rdi, rbx
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rbp
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x38], rcx
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 0x14001c175
mov rcx, r12
xor edx, edx
call fcn.14001c3a0
jmp 0x14001c2a8
lea rcx, [rsp + 0x78]
call fcn.14002fc80
lea rsi, [rsp + 0x68]
mov rcx, rsi
mov rdx, rax
call fcn.14001c3a0
mov rcx, rsi
mov edx, 1
mov r8b, 1
call fcn.14001c780
mov rcx, r12
xor edx, edx
call fcn.14001c3a0
mov rcx, rsi
call fcn.14001c450
lea rcx, [rsp + 0x78]
call fcn.14002fb60
mov rax, qword [rsp + 0x138]
cmp rax, 8
jb 0x14001c2f2
mov rcx, qword [rsp + 0x120]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14001c2ed
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14001c326
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.1400a8a80
lea rcx, [rsp + 0xb0]
call fcn.14002f2a0
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400a8dd0
mov rax, r12
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400d9340
ud2