Function at 0x14002a660
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov rdi, r8
mov r12, rdx
mov r14, rcx
mov rax, qword [0x1400e3028]
xor rax, rsp
mov qword [rsp + 0x238], rax
cmp byte [r8 + 0x21], 0
jne 0x14002ac51
movabs r15, 0xaaaaaaaaaaaaaaaa
mov al, byte [0x1400e5030]
xor ebx, ebx
mov byte [rsp + 0x67], al
test al, 0x19
jne 0x14002acb0
mov qword [rsp + 0x88], r15
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], r15
lea rsi, [rsp + 0x1a0]
mov qword [rsi + 0x10], r15
movaps xmm6, xmmword [0x1400cfa30]
movaps xmmword [rsi], xmm6
lea rdx, str.LaunchProcess
lea r8, str....._baseprocesslaunch_win.cc
lea rbp, [rsp + 0x110]
mov rcx, rbp
mov r9d, 0x104
call fcn.14004a5f0
lea r8, [0x1400f503c]
mov rcx, rsi
mov rdx, rbp
call fcn.14002cf30
xorps xmm0, xmm0
movaps xmmword [rsp + 0x220], xmm0
mov qword [rbp + 0x70], r15
movaps xmmword [rbp + 0x60], xmm6
movaps xmmword [rbp + 0x50], xmm6
movaps xmmword [rbp + 0x40], xmm6
movaps xmmword [rbp + 0x30], xmm6
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp], xmm6
lea rcx, [rsp + 0x110]
call fcn.14002d180
cmp byte [rdi + 0x72], 0
je 0x14002a76d
call fcn.14004a790
xor ebx, ebx
cmp eax, 0x10
setge bl
mov qword [rsp + 0x70], r12
mov rax, qword [rdi + 0x28]
xor edx, edx
cmp rax, qword [rdi + 0x30]
setne dl
add edx, ebx
je 0x14002ad19
lea rcx, [rsp + 0x110]
call fcn.14002d200
mov r13d, 0x80000
test al, al
je 0x14002abcc
mov qword [rsp + 0x68], r14
cmp byte [rdi + 0x72], 0
je 0x14002a7e4
call fcn.14004a790
cmp eax, 0x10
jl 0x14002a7e4
lea r8, [rsp + 0x220]
or byte [r8 + 0xb], 0x20
lea rcx, [rsp + 0x110]
mov edx, 0x20007
mov r9d, 0x10
call fcn.14002d2d0
test al, al
je 0x14002abc7
cmp dword [rdi + 0x24], 1
sete r14b
mov rbp, qword [rdi + 0x28]
mov rsi, qword [rdi + 0x30]
cmp rbp, rsi
je 0x14002a871
mov rax, rsi
sub rax, rbp
mov ecx, 0xfffffff8
cmp rax, rcx
ja 0x14002abc7
mov rbx, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea r15, str....._baseprocesslaunch_win.cc
lea r12, [rsp + 0x1c0]
mov rcx, qword [rbp]
mov edx, 1
mov r8d, 1
call rbx
test eax, eax
je 0x14002ab78
add rbp, 8
cmp rbp, rsi
jne 0x14002a823
mov r9d, dword [rdi + 0x30]
mov r8, qword [rdi + 0x28]
sub r9d, r8d
and r9d, 0xfffffff8
lea rcx, [rsp + 0x110]
mov edx, 0x20002
call fcn.14002d2d0
mov r14b, 1
test al, al
je 0x14002abc7
cmp byte [rdi + 0x22], 0
jne 0x14002ad21
cmp byte [rdi + 0x48], 0
jne 0x14002ad2e
mov eax, dword [rsp + 0x154]
mov ecx, eax
or ecx, 1
mov dword [rsp + 0x154], ecx
movzx ecx, byte [rdi + 0x20]
xor ecx, 1
mov word [rsp + 0x158], cx
mov rcx, qword [rdi + 0x58]
mov rdx, qword [rdi + 0x60]
mov rbp, qword [rdi + 0x68]
test rcx, rcx
jne 0x14002ab9e
test rdx, rdx
jne 0x14002ab9e
test rbp, rbp
jne 0x14002ab9e
cmp qword [rdi + 0x50], 0
jne 0x14002aafd
mov r15d, r13d
or r15d, 0x1000000
cmp byte [rdi + 0x70], 0
cmove r15d, r13d
xorps xmm0, xmm0
movaps xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], 0
movzx eax, byte [rdi + 0x1f]
test al, al
jns 0x14002a914
mov rax, qword [rdi + 0x10]
mov r12, qword [rdi + 8]
jmp 0x14002a91b
lea r12, [rdi + 8]
and eax, 0x7f
mov rbp, qword [rsp + 0x70]
test rax, rax
cmove r12, rax
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xe0], r13
movaps xmmword [rsp + 0xd0], xmm6
cmp byte [rbp + 0x17], 0
jns 0x14002ad42
mov rdx, qword [rbp]
mov r8, qword [rbp + 8]
lea rcx, [rsp + 0xd0]
call fcn.140043d90
lea rbx, [rsp + 0x118]
mov rdx, qword [rdi + 0x40]
test rdx, rdx
jne 0x14002ad5f
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1c0], xmm0
mov qword [rsp + 0x1d0], 0
mov al, byte [rdi + 0x90]
test al, al
jne 0x14002abdf
cmp qword [rdi + 0x88], 0
jne 0x14002abdf
xor eax, eax
movzx ecx, r14b
cmp byte [rsp + 0xe7], 0
jns 0x14002a9c2
mov rdx, qword [rsp + 0xd0]
jmp 0x14002a9ca
lea rdx, [rsp + 0xd0]
lea rsi, [rsp + 0xf0]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], ecx
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14002af03
cmp byte [rsp + 0x1d7], 0
js 0x14002adac
mov r14, qword [rsp + 0x68]
mov bl, byte [rsp + 0x67]
lea rcx, [rsp + 0xb0]
mov qword [rcx + 0x10], r13
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0xf0]
call fcn.14002dad0
mov rcx, qword [rdi + 0x50]
test rcx, rcx
jne 0x14002ab18
cmp byte [rdi + 0x71], 0
jne 0x14002adbe
cmp byte [rdi], 0
jne 0x14002add8
mov edx, dword [rsp + 0xc0]
mov rcx, qword [0x1400f5048]
test rcx, rcx
jne 0x14002ae49
lea rcx, [rsp + 0xb0]
call fcn.14002dcb0
mov rcx, r14
mov rdx, rax
call fcn.140047030
lea rcx, [rsp + 0xb0]
call fcn.14002dc00
cmp byte [rsp + 0xe7], 0
jns 0x14002aaab
mov rcx, qword [rsp + 0xd0]
call fcn.140060988
lea rcx, [rsp + 0x110]
call fcn.14002d1c0
lea rcx, [rsp + 0x1a0]
call fcn.14002d040
test bl, 0x19
jne 0x14002ae56
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140061c90
mov rax, r14
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14004a790
lea ecx, [r13 + 0x1000000]
cmp eax, 5
cmovge ecx, r13d
mov r13d, ecx
jmp 0x14002a8d9
mov rdx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x14002aa45
lea rsi, [rsp + 0x1c0]
movaps xmmword [rsi], xmm6
lea rcx, [rsp + 0xb0]
call fcn.14002dcb0
mov rcx, rsi
mov rdx, rax
call fcn.140047030
mov rcx, rsi
mov edx, 1
mov r8b, 1
call fcn.1400a87e0
mov rcx, r14
xor edx, edx
call fcn.140047030
mov rcx, rsi
call fcn.1400470b0
jmp 0x14002aa87
mov rcx, r12
mov rdx, r15
mov r8d, 0x13f
call fcn.1400abf20
mov rcx, r12
call fcn.1400abf40
mov rcx, r12
call fcn.1400abf50
jmp 0x14002a83c
or eax, 0x101
mov dword [rsp + 0x154], eax
mov qword [rsp + 0x168], rcx
mov qword [rsp + 0x170], rdx
mov qword [rsp + 0x178], rbp
jmp 0x14002a8ce
mov r14, qword [rsp + 0x68]
mov rcx, r14
xor edx, edx
call fcn.140047030
mov bl, byte [rsp + 0x67]
jmp 0x14002aaab
test al, al
je 0x14002ae9c
lea r8, [rdi + 0x78]
lea rdx, [0x1400d2222]
lea rcx, [rsp + 0x90]
call fcn.1400abf70
cmp byte [rsp + 0x1d7], 0
jns 0x14002ac16
mov rcx, qword [rsp + 0x1c0]
call fcn.140060988
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1d0], rax
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x1c0], xmm0
cmp byte [rsp + 0x1d7], 0
jns 0x14002ae83
mov rax, qword [rsp + 0x1c0]
jmp 0x14002ae8b
mov sil, byte [rdi]
mov dil, byte [rdi + 0x20]
movzx eax, byte [r12 + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [r12]
cmovns rax, r12
lea rdx, [rsp + 0x190]
mov qword [rdx], rax
cmovs rcx, qword [r12 + 8]
mov qword [rdx + 8], rcx
lea rbx, [rsp + 0x110]
mov rcx, rbx
call fcn.1400a6eb0
mov rcx, r14
mov rdx, rbx
mov r8d, edi
mov r9d, esi
call fcn.1400a84a0
mov rcx, rbx
call fcn.140025a50
jmp 0x14002aace
lea rsi, [rsp + 0x110]
mov rcx, rsi
call fcn.14004ad70
call sub.KERNEL32.dll_GetCurrentThreadId
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdx, [0x1400e5030]
lea r8, str.LaunchProcess
mov cl, 0x58
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x88], r8
xor r9d, r9d
call fcn.14004b950
mov qword [rsp + 0x80], rax
jmp 0x14002a6d6
xor r13d, r13d
jmp 0x14002a7a2
or byte [rsp + 0x154], 0x80
jmp 0x14002a87b
lea rax, [0x1400d2220]
mov qword [rsp + 0x128], rax
jmp 0x14002a885
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [rbp]
movaps xmmword [rsp + 0xd0], xmm0
jmp 0x14002a960
lea rcx, [rsp + 0x1c0]
mov qword [rcx], 0
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x14002af9f
or r15d, 0x400
mov rdx, qword [rsp + 0x1c0]
movzx eax, r14b
cmp byte [rsp + 0xe7], 0
jns 0x14002af34
mov r8, qword [rsp + 0xd0]
jmp 0x14002af3c
mov rcx, qword [rsp + 0x1c0]
call fcn.140060988
jmp 0x14002aa13
mov rcx, qword [rsp + 0xb0]
call fcn.14002dcf0
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
jmp 0x14002aa4f
lea rsi, [rsp + 0x1c0]
mov qword [rsi + 0x50], r13
movaps xmmword [rsi + 0x40], xmm6
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
lea rdx, str.LaunchProcess
lea r8, str....._baseprocesslaunch_win.cc
lea rdi, [rsp + 0x90]
mov rcx, rdi
mov r9d, 0x1bc
call fcn.14004a5f0
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.14004a900
mov rcx, qword [rsp + 0xb0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call fcn.14004a960
jmp 0x14002aa58
mov r8, rbp
call fcn.1400aa400
jmp 0x14002aa6f
mov rax, qword [rsp + 0x78]
cmp byte [rax], 0
je 0x14002aace
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
call fcn.14004c480
jmp 0x14002aace
lea rax, [rsp + 0x1c0]
or r15d, 0x400
mov rbp, qword [rsp + 0x70]
jmp 0x14002a9aa
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x14002af03
mov rsi, rax
lea r8, [rdi + 0x78]
lea rcx, [rsp + 0x90]
mov rdx, rax
call fcn.1400abf70
cmp byte [rsp + 0x1d7], 0
jns 0x14002aed5
mov rcx, qword [rsp + 0x1c0]
call fcn.140060988
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x1d0], rax
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x1c0], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002ac36
mov rcx, qword [rsp + 0x68]
xor edx, edx
call fcn.140047030
cmp byte [rsp + 0x1d7], 0
jns 0x14002af26
mov rcx, qword [rsp + 0x1c0]
call fcn.140060988
mov r14, qword [rsp + 0x68]
mov bl, byte [rsp + 0x67]
jmp 0x14002aa94
lea r8, [rsp + 0xd0]
mov rcx, qword [rdi + 0x40]
lea rsi, [rsp + 0xf0]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], r15d
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 + 0x1c0]
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
je 0x14002af9f
mov r14, qword [rsp + 0x68]
mov bl, byte [rsp + 0x67]
mov rbp, qword [rsp + 0x70]
jmp 0x14002aa1c
mov r14, qword [rsp + 0x68]
mov rcx, r14
xor edx, edx
call fcn.140047030
jmp 0x14002af2b