Function at 0x140090290
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, 0x3b8
movaps xmmword [rsp + 0x3a0], xmm6
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov rax, qword [0x14021f030]
xor rax, rsp
mov qword [rsp + 0x398], rax
lea rdi, [rsp + 0x200]
mov r8d, 0x190
mov rcx, rdi
mov dl, 0xaa
call fcn.1401a0cc0
cmp byte [r12 + 0x17], 0
mov rdx, r12
jns 0x1400902ed
mov rdx, qword [r12]
mov r8d, 0xc8
mov rcx, rdi
call fcn.1400a12c0
mov rcx, rdi
call fcn.140024db0
cmp byte [r15 + 0x21], 0
je 0x14009039d
movzx ebx, byte [r15]
movzx edi, byte [r15 + 0x20]
movzx eax, byte [r12 + 0x17]
test al, al
mov rcx, qword [r12]
cmovns rcx, r12
mov qword [rsp + 0x170], rcx
cmovs rax, qword [r12 + 8]
mov qword [rsp + 0x178], rax
lea r14, [rsp + 0xf0]
lea rdx, [rsp + 0x170]
mov rcx, r14
call fcn.1400b4330
mov rcx, rsi
mov rdx, r14
mov r8d, edi
mov r9d, ebx
call fcn.14008ff90
mov rcx, r14
call fcn.1400b3f90
mov rcx, qword [rsp + 0x398]
xor rcx, rsp
call fcn.14019eb90
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x3a0]
add rsp, 0x3b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r14, 0xaaaaaaaaaaaaaaaa
movzx edi, byte [0x1402212b0]
xor ebx, ebx
test dil, 0x19
jne 0x140090b38
mov qword [rsp + 0x68], r14
mov rbp, r14
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x190], r14
movaps xmm6, xmmword [0x1401e7440]
movaps xmmword [rsp + 0x180], xmm6
lea rdx, str.LaunchProcess
lea r8, str....._baseprocesslaunch_win.cc
lea r13, [rsp + 0xf0]
mov rcx, r13
mov r9d, 0x100
call fcn.1400afa40
lea r8, [0x140234974]
lea rcx, [rsp + 0x180]
mov rdx, r13
call fcn.1400eb5e0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1f0], xmm0
mov qword [rsp + 0x160], r14
movaps xmmword [rsp + 0x150], xmm6
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
lea rcx, [rsp + 0xf0]
call fcn.1400f25d0
cmp byte [r15 + 0x72], 0
je 0x140090487
call fcn.1400ea600
xor ebx, ebx
cmp eax, 0x10
setge bl
mov rax, qword [r15 + 0x28]
xor edx, edx
cmp rax, qword [r15 + 0x30]
setne dl
add edx, ebx
je 0x1400904bc
lea rcx, [rsp + 0xf0]
call fcn.1400f2650
mov r13d, 0x80000
test al, al
je 0x1400905a4
cmp byte [r15 + 0x72], 0
jne 0x1400904c6
jmp 0x140090500
xor r13d, r13d
cmp byte [r15 + 0x72], 0
je 0x140090500
call fcn.1400ea600
cmp eax, 0x10
jl 0x140090500
or byte [rsp + 0x1fb], 0x20
lea rcx, [rsp + 0xf0]
lea r8, [rsp + 0x1f0]
mov edx, 0x20007
mov r9d, 0x10
call fcn.1400f2720
test al, al
je 0x1400905a4
mov qword [rsp + 0x58], rbp
cmp dword [r15 + 0x24], 1
sete bpl
mov rbx, qword [r15 + 0x28]
mov r14, qword [r15 + 0x30]
cmp rbx, r14
je 0x1400905ed
mov rax, r14
sub rax, rbx
mov ecx, 0xfffffff8
cmp rax, rcx
ja 0x1400906d9
mov rbp, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
nop word [rax + rax]
mov rcx, qword [rbx]
mov edx, 1
mov r8d, 1
call rbp
test eax, eax
je 0x14009055f
add rbx, 8
cmp rbx, r14
jne 0x140090540
jmp 0x1400905b8
lea rcx, [rsp + 0x1a0]
lea rdx, str.LaunchProcess
lea r8, str....._baseprocesslaunch_win.cc
mov r9d, 0x13b
call fcn.1400afa40
lea rcx, [rsp + 0xe8]
lea rdx, [rsp + 0x1a0]
call fcn.1400b8260
lea rcx, [rsp + 0xe8]
call fcn.1400b8300
jmp 0x140090554
mov rcx, rsi
xor edx, edx
call fcn.14008f710
mov rbx, qword [rsp + 0x60]
jmp 0x140090aef
mov r8, qword [r15 + 0x28]
mov r9, qword [r15 + 0x30]
cmp r9, r8
je 0x140090b7c
sub r9d, r8d
and r9d, 0xfffffff8
lea rcx, [rsp + 0xf0]
mov edx, 0x20002
call fcn.1400f2720
mov bpl, 1
test al, al
je 0x1400906d9
cmp byte [r15 + 0x22], 0
je 0x1400905fc
or byte [rsp + 0x134], 0x80
cmp byte [r15 + 0x48], 0
je 0x140090612
lea rax, [0x1401ee5aa]
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x134]
mov ecx, eax
or ecx, 1
mov dword [rsp + 0x134], ecx
xor ecx, ecx
cmp byte [r15 + 0x20], 0
sete cl
mov word [rsp + 0x138], cx
mov rcx, qword [r15 + 0x58]
mov rdx, qword [r15 + 0x60]
mov r8, qword [r15 + 0x68]
test rcx, rcx
jne 0x140090652
test rdx, rdx
jne 0x140090652
test r8, r8
je 0x14009069b
mov r9, qword [r15 + 0x28]
cmp r9, qword [r15 + 0x30]
jne 0x140090677
test rcx, rcx
je 0x140090ba8
test rdx, rdx
je 0x140090bab
test r8, r8
je 0x140090bae
or eax, 0x101
mov dword [rsp + 0x134], eax
mov qword [rsp + 0x148], rcx
mov qword [rsp + 0x150], rdx
mov qword [rsp + 0x158], r8
cmp byte [r15 + 0x70], 0
lea r14d, [r13 + 0x1000000]
cmove r14d, r13d
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], 0
movzx eax, byte [r15 + 0x1f]
test al, al
js 0x1400906f2
lea rcx, [r15 + 8]
xor ebx, ebx
test al, al
cmovne rbx, rcx
jmp 0x1400906ff
mov rcx, rsi
xor edx, edx
call fcn.14008f710
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x140090aef
mov rbx, qword [r15 + 0x10]
test rbx, rbx
je 0x1400906ff
mov rbx, qword [r15 + 8]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xc0], rax
movaps xmmword [rsp + 0xb0], xmm6
lea r13, [rsp + 0xb0]
mov rcx, r13
mov rdx, r12
call fcn.14008db70
mov rdx, qword [r15 + 0x40]
test rdx, rdx
je 0x1400907f5
mov qword [rsp + 0x1a0], 0
lea rcx, [rsp + 0x1a0]
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x1400907e1
or r14d, 0x400
mov rdx, qword [rsp + 0x1a0]
movzx eax, bpl
cmp byte [rsp + 0xc7], 0
jns 0x140090782
mov r13, qword [rsp + 0xb0]
mov rcx, qword [r15 + 0x40]
lea r8, [rsp + 0xd0]
mov qword [rsp + 0x50], r8
lea r8, [rsp + 0xf8]
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
xor edx, edx
mov r8, r13
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebp, eax
mov rcx, qword [rsp + 0x1a0]
call sub.USERENV.dll_DestroyEnvironmentBlock
test ebp, ebp
jne 0x14009094b
mov rcx, rsi
xor edx, edx
call fcn.14008f710
mov rbp, qword [rsp + 0x58]
jmp 0x140090ad3
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1a0], xmm0
mov qword [rsp + 0x1b0], 0
cmp byte [r15 + 0x90], 0
je 0x14009085c
lea r8, [r15 + 0x78]
lea rdx, [0x1401f840e]
lea rcx, [rsp + 0x70]
call fcn.1400f2760
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x1a0], xmm0
cmp byte [rsp + 0x1b7], 0
jns 0x1400908bd
mov rax, qword [rsp + 0x1a0]
jmp 0x1400908c5
cmp qword [r15 + 0x88], 0
je 0x140090b31
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400907e1
mov r12, rax
lea r8, [r15 + 0x78]
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.1400f2760
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x1a0], xmm0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
cmp byte [rsp + 0x1b7], 0
js 0x140090852
lea rax, [rsp + 0x1a0]
or r14d, 0x400
movzx ecx, bpl
cmp byte [rsp + 0xc7], 0
jns 0x1400908e4
mov rdx, qword [rsp + 0xb0]
jmp 0x1400908ec
lea rdx, [rsp + 0xb0]
mov rbp, qword [rsp + 0x58]
lea r8, [rsp + 0xd0]
mov qword [rsp + 0x48], r8
lea r8, [rsp + 0xf8]
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
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 0x140090a54
cmp byte [rsp + 0x1b7], 0
jns 0x14009094b
mov rcx, qword [rsp + 0x1a0]
call fcn.14019d34c
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rbx
movaps xmmword [rsp + 0x90], xmm6
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0xd0]
call fcn.1400dde30
mov rcx, qword [r15 + 0x50]
test rcx, rcx
je 0x140090999
mov rdx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x140090a77
cmp byte [r15 + 0x71], 0
mov rbp, qword [rsp + 0x58]
je 0x1400909ba
mov rcx, qword [rsp + 0x90]
call fcn.14008fe40
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [r15], 0
je 0x140090a3a
mov qword [rsp + 0x1e0], rbx
movaps xmmword [rsp + 0x1d0], xmm6
movaps xmmword [rsp + 0x1c0], xmm6
movaps xmmword [rsp + 0x1b0], xmm6
movaps xmmword [rsp + 0x1a0], xmm6
lea rdx, str.LaunchProcess
lea r8, str....._baseprocesslaunch_win.cc
lea r15, [rsp + 0x70]
mov rcx, r15
mov r9d, IsOS
call fcn.1400afa40
lea r12, [rsp + 0x1a0]
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.14009d6e0
mov rcx, qword [rsp + 0x90]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r12
call fcn.14009d740
lea rcx, [rsp + 0x90]
call fcn.1400de040
mov rcx, rsi
mov rdx, rax
call fcn.14008f710
jmp 0x140090ac6
mov rcx, rsi
xor edx, edx
call fcn.14008f710
cmp byte [rsp + 0x1b7], 0
jns 0x140090ad3
mov rcx, qword [rsp + 0x1a0]
call fcn.14019d34c
jmp 0x140090ad3
movaps xmmword [rsp + 0x1a0], xmm6
lea rcx, [rsp + 0x90]
call fcn.1400de040
lea r15, [rsp + 0x1a0]
mov rcx, r15
mov rdx, rax
call fcn.14008f710
mov rcx, r15
mov edx, 1
mov r8b, 1
call fcn.14008f910
mov rcx, rsi
xor edx, edx
call fcn.14008f710
mov rcx, r15
call fcn.14002d3e0
mov rbp, qword [rsp + 0x58]
lea rcx, [rsp + 0x90]
call fcn.1400ddfa0
mov rbx, qword [rsp + 0x60]
cmp byte [rsp + 0xc7], 0
jns 0x140090aef
mov rcx, qword [rsp + 0xb0]
call fcn.14019d34c
lea rcx, [rsp + 0xf0]
call fcn.1400f2610
lea rcx, [rsp + 0x180]
call fcn.1400eb6d0
test dil, 0x19
je 0x14009036e
cmp byte [rbx], 0
je 0x14009036e
mov rcx, rbx
mov rdx, rbp
mov r8, qword [rsp + 0x68]
call fcn.140086130
jmp 0x14009036e
xor eax, eax
jmp 0x1400908cc
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, [0x1402212b0]
lea rbp, str.LaunchProcess
mov cl, 0x58
mov qword [rsp + 0x60], rdx
mov r8, rbp
xor r9d, r9d
call fcn.14004e270
mov qword [rsp + 0x68], rax
jmp 0x1400903c9
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str.__n___size__
mov r8d, 0x5c1
call fcn.14003a2a8
int3
int3
int3