Function at 0x14002ab90
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, 0x1b8
movaps xmmword [rsp + 0x1a0], xmm6
mov rbx, r8
mov r15, rdx
mov rbp, rcx
mov rax, qword [0x1400f4028]
xor rax, rsp
mov qword [rsp + 0x198], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x160]
mov qword [rsi + 0x10], r12
movaps xmm6, xmmword [0x1400dba00]
movaps xmmword [rsi], xmm6
lea rdx, str.LaunchProcess
lea r8, str..._.._base_process_launch_win.cc
lea rdi, [rsp + 0xe0]
mov rcx, rdi
mov r9d, 0xd8
call fcn.14004fef0
lea r8, [0x1400fa0e4]
mov rcx, rsi
mov rdx, rdi
call fcn.1400308c0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x180], xmm0
mov qword [rdi + 0x70], r12
movaps xmmword [rdi + 0x60], xmm6
movaps xmmword [rdi + 0x50], xmm6
movaps xmmword [rdi + 0x40], xmm6
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rcx, [rsp + 0xe0]
call fcn.140030af0
xor esi, esi
cmp byte [rbx + 0x72], 0
mov ecx, 0
je 0x14002ac6d
call fcn.140053de0
xor ecx, ecx
cmp eax, 0xf
setg cl
mov rax, qword [rbx + 0x28]
xor edx, edx
cmp rax, qword [rbx + 0x30]
setne dl
add edx, ecx
je 0x14002ac98
lea rcx, [rsp + 0xe0]
call fcn.140030b70
mov esi, 0x80000
test al, al
je 0x14002b246
mov qword [rsp + 0x58], rbp
cmp byte [rbx + 0x72], 0
je 0x14002acb1
call fcn.140053de0
cmp eax, 0x10
jge 0x14002b214
cmp dword [rbx + 0x24], 1
sete bpl
mov rdi, qword [rbx + 0x28]
mov r14, qword [rbx + 0x30]
cmp rdi, r14
je 0x14002ad4e
mov rax, r14
sub rax, rdi
sar rax, 3
cmp rax, 0x1fffffff
ja 0x14002b241
mov r12, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea r13, str..._.._base_process_launch_win.cc
lea rbp, [rsp + 0xc0]
mov rcx, qword [rdi]
mov edx, 1
mov r8d, 1
call r12
test eax, eax
je 0x14002afae
add rdi, 8
cmp r14, rdi
jne 0x14002acf6
mov r9d, dword [rbx + 0x30]
mov r8, qword [rbx + 0x28]
sub r9d, r8d
and r9d, 0xfffffff8
lea rcx, [rsp + 0xe0]
mov edx, 0x20002
call fcn.140030c40
mov bpl, 1
test al, al
movabs r12, 0xaaaaaaaaaaaaaaaa
je 0x14002b241
cmp byte [rbx + 0x21], 0
jne 0x14002afd4
cmp byte [rbx + 0x48], 0
jne 0x14002afe1
mov eax, dword [rsp + 0x124]
mov ecx, eax
or ecx, 1
mov dword [rsp + 0x124], ecx
movzx ecx, byte [rbx + 0x20]
xor ecx, 1
mov word [rsp + 0x128], cx
mov rdi, qword [rbx + 0x58]
mov rdx, qword [rbx + 0x60]
mov rcx, rdi
or rcx, rdx
jne 0x14002aff7
cmp qword [rbx + 0x68], 0
jne 0x14002aff5
cmp qword [rbx + 0x50], 0
jne 0x14002b024
mov edi, esi
or edi, 0x1000000
cmp byte [rbx + 0x70], 0
cmove edi, esi
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], 0
movzx eax, byte [rbx + 0x1f]
test al, al
jns 0x14002ade6
mov rax, qword [rbx + 0x10]
mov r13, qword [rbx + 8]
jmp 0x14002adea
lea r13, [rbx + 8]
test rax, rax
cmove r13, rax
mov qword [rsp + 0xb0], r12
movaps xmmword [rsp + 0xa0], xmm6
cmp byte [r15 + 0x17], 0
jns 0x14002b03a
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
lea rcx, [rsp + 0xa0]
call fcn.140048da0
lea rsi, [rsp + 0xe8]
mov rdx, qword [rbx + 0x40]
test rdx, rdx
jne 0x14002b057
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
cmp byte [rbx + 0x90], 0
jne 0x14002b0a3
cmp qword [rbx + 0x88], 0
jne 0x14002b0ee
xor eax, eax
movzx ecx, bpl
cmp byte [rsp + 0xb7], 0
jns 0x14002ae81
mov rdx, qword [rsp + 0xa0]
jmp 0x14002ae89
lea rdx, [rsp + 0xa0]
lea rbp, [rsp + 0xc0]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
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 0x14002b139
cmp byte [rsp + 0x97], 0
mov rbp, qword [rsp + 0x58]
js 0x14002b166
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x10], r12
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0xc0]
call fcn.140031430
mov rcx, qword [rbx + 0x50]
test rcx, rcx
jne 0x14002b178
cmp byte [rbx + 0x71], 0
jne 0x14002b1d5
cmp byte [rbx], 0
jne 0x14002b1ef
mov edx, dword [rsp + 0x90]
mov rcx, qword [0x1400fa0f8]
test rcx, rcx
jne 0x14002b207
lea rcx, [rsp + 0x80]
call fcn.140031610
mov rcx, rbp
mov rdx, rax
call fcn.14004f2d0
lea rcx, [rsp + 0x80]
call fcn.140031560
cmp byte [rsp + 0xb7], 0
jns 0x14002af65
mov rcx, qword [rsp + 0xa0]
call fcn.1400689c0
lea rcx, [rsp + 0xe0]
call fcn.140030b30
lea rcx, [rsp + 0x160]
call fcn.1400309c0
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140069700
mov rax, rbp
movaps xmm6, xmmword [rsp + 0x1a0]
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbp
mov rdx, r13
mov r8d, 0x113
call fcn.1400b1b30
mov rcx, rbp
call fcn.1400b1a60
mov rcx, rbp
call fcn.1400b1a70
jmp 0x14002ad0f
or byte [rsp + 0x124], 0x80
jmp 0x14002ad58
lea rax, [0x1400de49a]
mov qword [rsp + 0xf8], rax
jmp 0x14002ad62
xor edx, edx
or eax, 0x101
mov dword [rsp + 0x124], eax
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x140], rdx
mov rax, qword [rbx + 0x68]
mov qword [rsp + 0x148], rax
jmp 0x14002ada3
call fcn.140053de0
lea ecx, [rsi + 0x1000000]
cmp eax, 5
cmovl esi, ecx
jmp 0x14002adae
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0xa0], xmm0
jmp 0x14002ae20
lea rcx, [rsp + 0x80]
mov qword [rcx], 0
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x14002b2dd
or edi, 0x400
mov rdx, qword [rsp + 0x80]
movzx eax, bpl
cmp byte [rsp + 0xb7], 0
jns 0x14002b272
mov r8, qword [rsp + 0xa0]
jmp 0x14002b27a
lea r8, [rbx + 0x78]
lea rdx, [0x1400de49c]
lea r14, [rsp + 0x60]
mov rcx, r14
call fcn.1400b1b50
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x80], xmm0
cmp byte [rsp + 0x97], 0
jns 0x14002b255
mov rax, qword [rsp + 0x80]
jmp 0x14002b25d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x14002b2dd
mov r14, rax
lea r8, [rbx + 0x78]
lea r12, [rsp + 0x60]
mov rcx, r12
mov rdx, rax
call fcn.1400b1b50
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x80], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002b0d3
mov rcx, qword [rsp + 0x58]
xor edx, edx
call fcn.14004f2d0
cmp byte [rsp + 0x97], 0
jns 0x14002b15c
mov rcx, qword [rsp + 0x80]
call fcn.1400689c0
mov rbp, qword [rsp + 0x58]
jmp 0x14002af4e
mov rcx, qword [rsp + 0x80]
call fcn.1400689c0
jmp 0x14002aed6
mov rdx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x14002aeff
lea rsi, [rsp + 0x60]
movaps xmmword [rsi], xmm6
lea rcx, [rsp + 0x80]
call fcn.140031610
mov rcx, rsi
mov rdx, rax
call fcn.14004f2d0
mov rcx, rsi
mov edx, 1
mov r8b, 1
call fcn.1400add70
mov rcx, rbp
xor edx, edx
call fcn.14004f2d0
mov rcx, rsi
call fcn.14004f350
jmp 0x14002af41
mov rcx, qword [rsp + 0x80]
call fcn.140030780
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
jmp 0x14002af09
mov rcx, qword [rsp + 0x80]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14002af12
mov r8, r15
call fcn.1400afb00
jmp 0x14002af29
lea r8, [rsp + 0x180]
or byte [r8 + 0xb], 0x20
lea rcx, [rsp + 0xe0]
mov edx, 0x20007
mov r9d, 0x10
call fcn.140030c40
test al, al
jne 0x14002acb1
mov rbp, qword [rsp + 0x58]
mov rcx, rbp
xor edx, edx
call fcn.14004f2d0
jmp 0x14002af65
lea rax, [rsp + 0x80]
or edi, 0x400
movabs r12, 0xaaaaaaaaaaaaaaaa
jmp 0x14002ae69
lea r8, [rsp + 0xa0]
mov rcx, qword [rbx + 0x40]
lea rbp, [rsp + 0xc0]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r13
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 + 0x80]
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
je 0x14002b2dd
mov rbp, qword [rsp + 0x58]
movabs r12, 0xaaaaaaaaaaaaaaaa
jmp 0x14002aed6
mov rbp, qword [rsp + 0x58]
mov rcx, rbp
xor edx, edx
call fcn.14004f2d0
jmp 0x14002af4e