Function at 0x14003ec20
Capabilities:
Create process on windows
Resume thread

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 + 0x70], rdx
mov r15, rcx
mov rax, qword [0x14017b750]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea r13, [rsp + 0xc0]
mov rcx, r13
call fcn.140084560
cmp dword [rbx + 0x2c], 1
sete al
mov rdi, qword [rbx + 0x30]
mov rbp, qword [rbx + 0x38]
cmp rdi, rbp
je 0x14003eca5
mov rax, rbp
sub rax, rdi
sar rax, 3
cmp rax, 0x1fffffff
ja 0x14003f1a1
mov rsi, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea r12, str..._.._base_process_launch_win.cc
lea r14, [rsp + 0x130]
jmp 0x14003f130
mov byte [rsp + 0x67], al
xor eax, eax
cmp byte [rbx + 0x50], 0
je 0x14003ecc0
lea rcx, [0x140145b7a]
mov qword [rsp + 0xd0], rcx
mov dword [rsp + 0xfc], 1
movzx ecx, byte [rbx + 0x28]
xor ecx, 1
mov word [rsp + 0x100], cx
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14003ece9
mov rdx, qword [rbx + 0x68]
jmp 0x14003ecf9
mov rdx, qword [rbx + 0x68]
test rdx, rdx
jne 0x14003ecf9
cmp qword [rbx + 0x70], 0
je 0x14003ed20
mov dword [rsp + 0xfc], 0x101
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x118], rdx
mov rcx, qword [rbx + 0x70]
mov qword [rsp + 0x120], rcx
mov rcx, qword [rbx + 0x58]
test rcx, rcx
setne dl
cmp byte [rbx + 0x79], 0
setne bpl
or bpl, dl
mov esi, eax
or esi, 4
test bpl, bpl
cmove esi, eax
test rcx, rcx
je 0x14003ed58
call fcn.14006b850
mov ecx, esi
or ecx, 0x1000000
cmp eax, 5
cmovl esi, ecx
mov edi, esi
or edi, 0x1000000
cmp byte [rbx + 0x78], 0
cmove edi, esi
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
cmp qword [rbx + 0x18], 0
mov qword [rsp + 0x68], r15
je 0x14003ed9d
lea r14, [rbx + 8]
cmp qword [rbx + 0x20], 8
jb 0x14003eda5
mov r12, r13
mov r14, qword [r14]
jmp 0x14003eda8
mov r12, r13
xor r14d, r14d
jmp 0x14003eda8
mov r12, r13
movups xmmword [rsp + 0x140], xmm0
mov rsi, qword [rsp + 0x70]
mov r13, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 7
jbe 0x14003edc8
mov rax, qword [rsp + 0x70]
mov rsi, qword [rax]
cmp r13, 7
ja 0x14003ede4
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x130], xmm0
mov r15d, 7
jmp 0x14003ee6a
mov r15, r13
or r15, 7
movabs rax, 0x7ffffffffffffffe
cmp r15, rax
cmovae r15, rax
mov rax, r15
add rax, 1
lea rcx, [r15 + r15 + 2]
mov rdx, 0xffffffffffffffff
cmovs rcx, rdx
cmp rcx, 0x1000
jb 0x14003ee3e
lea rax, [rcx + 0x27]
cmp rcx, 0xffffffffffffffd8
cmova rax, rdx
mov rcx, rax
call fcn.14011a524
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x14003ee4f
test rcx, rcx
je 0x14003ee4d
call fcn.14011a524
mov rcx, rax
jmp 0x14003ee4f
xor ecx, ecx
mov qword [rsp + 0x130], rcx
lea r8, [r13 + 2]
add r8, r13
mov rdx, rsi
call fcn.14011ea70
mov qword [rsp + 0x140], r13
mov qword [rsp + 0x148], r15
mov rdx, qword [rbx + 0x48]
test rdx, rdx
je 0x14003eed0
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x88]
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x14003eeec
or edi, 0x400
mov rdx, qword [rsp + 0x88]
movzx eax, byte [rsp + 0x67]
cmp qword [rsp + 0x148], 7
mov r15, qword [rsp + 0x68]
jbe 0x14003eef8
mov r8, qword [rsp + 0x130]
jmp 0x14003ef00
movzx eax, byte [rsp + 0x67]
cmp r15, 7
jbe 0x14003f007
mov rdx, qword [rsp + 0x130]
jmp 0x14003f00f
xor edx, edx
mov r15, qword [rsp + 0x68]
jmp 0x14003f054
lea r8, [rsp + 0x130]
mov rcx, qword [rbx + 0x48]
lea rsi, [rsp + 0xa0]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], edi
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 + 0x88]
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
je 0x14003f052
lea rcx, [rsp + 0x88]
lea rdx, [rsp + 0xa0]
call fcn.14006cf40
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x14003ef87
mov rdx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x14003f05e
cmp byte [rbx + 0x79], 0
je 0x14003efa2
mov rcx, qword [rsp + 0x88]
call sub.KERNEL32.dll_GetProcessId
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
test bpl, bpl
je 0x14003efb5
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [rbx], 0
je 0x14003efcd
mov rcx, qword [rsp + 0x88]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [rsp + 0x98]
mov rcx, qword [0x14017f5d8]
test rcx, rcx
je 0x14003efea
mov r8, qword [rsp + 0x70]
call fcn.140078560
lea rcx, [rsp + 0x88]
call fcn.14006d0b0
mov rcx, r15
mov rdx, rax
call fcn.14003f390
jmp 0x14003f09d
lea rdx, [rsp + 0x130]
mov r15, qword [rsp + 0x68]
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x28], edi
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 0x14003ef53
xor edx, edx
mov rcx, r15
call fcn.14003f390
jmp 0x14003f0aa
lea rcx, [rsp + 0x88]
call fcn.14006d0b0
lea rsi, [rsp + 0x78]
mov rcx, rsi
mov rdx, rax
call fcn.14003f390
mov edx, 1
mov r8b, 1
mov rcx, rsi
call fcn.14003f590
xor edx, edx
mov rcx, r15
call fcn.14003f390
mov rcx, rsi
call fcn.14003f3d0
lea rcx, [rsp + 0x88]
call fcn.14006cf90
mov rax, qword [rsp + 0x148]
cmp rax, 8
jb 0x14003f1ab
mov rcx, qword [rsp + 0x130]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14003f0f7
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14003f1df
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.14011a568
jmp 0x14003f1ab
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov r8d, 0xdd
mov r9d, 3
mov rcx, r14
mov rdx, r12
call fcn.140038c40
mov rcx, r14
call fcn.140038d80
jmp 0x14003f144
mov rcx, qword [rdi]
mov edx, 1
mov r8d, 1
call rsi
test eax, eax
je 0x14003f101
add rdi, 8
cmp rbp, rdi
jne 0x14003f130
lea rcx, [rsp + 0xc0]
mov edx, 1
call fcn.140084650
test al, al
je 0x14003f1a1
mov r9d, dword [rbx + 0x38]
mov r8, qword [rbx + 0x30]
sub r9d, r8d
and r9d, 0xfffffff8
lea rcx, [rsp + 0xc0]
mov edx, 0x20002
call fcn.140084700
test al, al
je 0x14003f1a1
mov byte [rsp + 0x67], 1
mov eax, 0x80000
cmp byte [rbx + 0x50], 0
jne 0x14003ecb1
jmp 0x14003ecc0
xor edx, edx
mov rcx, r15
call fcn.14003f390
lea rcx, [rsp + 0xc0]
call fcn.140084610
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14011a890
mov rax, r15
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140128920
ud2