Function at 0x1400b8e90
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 r12, rdx
mov r13, rcx
mov rax, qword [0x140166028]
xor rax, rsp
mov qword [rsp + 0x198], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x160]
mov qword [rdi + 0x10], r15
movaps xmm6, xmmword [0x14011b490]
movaps xmmword [rdi], xmm6
lea rdx, str.LaunchProcess
lea r8, str..._.._base_process_launch_win.cc
lea rsi, [rsp + 0xe0]
mov rcx, rsi
mov r9d, 0xf7
call fcn.140047b70
lea r8, [0x14016c588]
mov rcx, rdi
mov rdx, rsi
call fcn.1400b9720
xorps xmm0, xmm0
movaps xmmword [rsp + 0x180], xmm0
mov qword [rsi + 0x70], r15
movaps xmmword [rsi + 0x60], xmm6
movaps xmmword [rsi + 0x50], xmm6
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 rcx, [rsp + 0xe0]
call fcn.1400b9670
xor esi, esi
cmp byte [rbx + 0x7a], 0
mov ecx, 0
je 0x1400b8f6d
call fcn.14005ed00
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
jne 0x1400b9090
cmp byte [rbx + 0x7a], 0
je 0x1400b8f96
call fcn.14005ed00
cmp eax, 0x10
jge 0x1400b942f
cmp dword [rbx + 0x24], 1
sete bpl
mov rdi, qword [rbx + 0x28]
mov r14, qword [rbx + 0x30]
cmp rdi, r14
jne 0x1400b9461
cmp byte [rbx + 0x21], 0
je 0x1400b8fbd
or byte [rsp + 0x124], 0x80
cmp byte [rbx + 0x50], 0
jne 0x1400b94d6
mov eax, dword [rsp + 0x124]
mov ecx, eax
or ecx, 1
mov dword [rsp + 0x124], ecx
mov edx, dword [rbx + 0x40]
cmp edx, 3
jne 0x1400b94ea
mov cx, 2
mov word [rsp + 0x128], cx
mov rcx, qword [rbx + 0x60]
mov rdx, qword [rbx + 0x68]
mov rdi, qword [rbx + 0x70]
test rcx, rcx
jne 0x1400b900d
test rdx, rdx
jne 0x1400b900d
test rdi, rdi
je 0x1400b9031
or eax, 0x101
mov dword [rsp + 0x124], eax
mov qword [rsp + 0x138], rcx
mov qword [rsp + 0x140], rdx
mov qword [rsp + 0x148], rdi
cmp qword [rbx + 0x58], 0
jne 0x1400b9515
mov edi, esi
or edi, 0x1000000
cmp byte [rbx + 0x78], 0
cmove edi, esi
mov dword [rsp + 0xdc], 2
cmp byte [rbx + 0x7b], 0
jne 0x1400b90f8
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], 0
movzx eax, byte [rbx + 0x1f]
test al, al
jns 0x1400b914c
mov rax, qword [rbx + 0x10]
mov r14, qword [rbx + 8]
jmp 0x1400b9150
lea rcx, [rsp + 0xe0]
call fcn.1400b9970
test al, al
jne 0x1400b952b
mov rcx, r13
xor edx, edx
call fcn.1400067c0
lea rcx, [rsp + 0xe0]
call fcn.1400b96b0
lea rcx, [rsp + 0x160]
call fcn.1400b9840
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14007ed30
mov rax, r13
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
cmp qword [rsp + 0x150], 0
jne 0x1400b90a5
lea rcx, [rsp + 0xe0]
mov edx, 1
call fcn.1400b9970
test al, al
je 0x1400b90a5
lea rcx, [rsp + 0xe0]
lea r8, [rsp + 0xdc]
mov edx, 0x20012
mov r9d, 4
call fcn.1400b9a40
test al, al
je 0x1400b90a5
or edi, 0x80000
jmp 0x1400b9060
lea r14, [rbx + 8]
test rax, rax
cmove r14, rax
mov qword [rsp + 0xb0], r15
movaps xmmword [rsp + 0xa0], xmm6
cmp byte [r12 + 0x17], 0
js 0x1400b9535
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0xa0], xmm0
lea rsi, [rsp + 0xe8]
mov rdx, qword [rbx + 0x48]
test rdx, rdx
jne 0x1400b9208
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
cmp byte [rbx + 0x98], 0
je 0x1400b95c8
lea r8, [rbx + 0x80]
lea rdx, [0x14011e21e]
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.140006c40
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x80], xmm0
cmp byte [rsp + 0x97], 0
jns 0x1400b9257
mov rax, qword [rsp + 0x80]
jmp 0x1400b925f
lea rcx, [rsp + 0x80]
mov qword [rcx], 0
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x1400b961e
or edi, 0x400
mov rdx, qword [rsp + 0x80]
movzx eax, bpl
cmp byte [rsp + 0xb7], 0
jns 0x1400b92e0
mov rbp, rsi
mov r8, qword [rsp + 0xa0]
jmp 0x1400b92eb
lea rax, [rsp + 0x80]
or edi, 0x400
movzx ecx, bpl
cmp byte [rsp + 0xb7], 0
jns 0x1400b927d
mov rdx, qword [rsp + 0xa0]
jmp 0x1400b9285
lea rdx, [rsp + 0xa0]
lea rsi, [rsp + 0xc0]
mov qword [rsp + 0x48], rsi
lea rbp, [rsp + 0xe8]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], r14
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 0x1400b940c
cmp byte [rsp + 0x97], 0
jns 0x1400b933e
mov rcx, qword [rsp + 0x80]
call fcn.14007c098
jmp 0x1400b933e
mov rbp, rsi
lea r8, [rsp + 0xa0]
mov rcx, qword [rbx + 0x48]
lea rsi, [rsp + 0xc0]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rbp
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 + 0x80]
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
je 0x1400b961e
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x10], r15
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0xc0]
call fcn.1400b96f0
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400b9379
mov rdx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x1400b9581
cmp byte [rbx + 0x79], 0
je 0x1400b9394
mov rcx, qword [rsp + 0x80]
call fcn.140006860
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [rbx], 0
je 0x1400b93ac
mov rcx, qword [rsp + 0x80]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [rsp + 0x90]
mov rcx, qword [0x14016ca58]
test rcx, rcx
je 0x1400b93c7
mov r8, r12
call fcn.1400b9e30
lea rcx, [rsp + 0x80]
call fcn.1400b9810
mov rcx, r13
mov rdx, rax
call fcn.1400067c0
lea rcx, [rsp + 0x80]
call fcn.1400b9a80
cmp byte [rsp + 0xb7], 0
jns 0x1400b90af
mov rcx, qword [rsp + 0xa0]
call fcn.14007c098
jmp 0x1400b90af
mov rcx, r13
xor edx, edx
call fcn.1400067c0
cmp byte [rsp + 0x97], 0
jns 0x1400b93ec
mov rcx, qword [rsp + 0x80]
call fcn.14007c098
jmp 0x1400b93ec
lea r8, [rsp + 0x180]
or byte [r8 + 0xb], 0x20
lea rcx, [rsp + 0xe0]
mov edx, 0x20007
mov r9d, 0x10
call fcn.1400b9a40
test al, al
jne 0x1400b8f96
jmp 0x1400b90a5
mov rax, r14
sub rax, rdi
sar rax, 3
cmp rax, 0x1fffffff
ja 0x1400b90a5
mov rbp, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rcx, qword [rdi]
mov edx, 1
mov r8d, 1
call rbp
test eax, eax
je 0x1400b94a0
add rdi, 8
cmp r14, rdi
jne 0x1400b947e
jmp 0x1400b9550
lea rcx, [rsp + 0xc0]
lea rdx, str..._.._base_process_launch_win.cc
mov r8d, 0x132
call fcn.1400e8b60
lea rcx, [rsp + 0xc0]
call fcn.1400e8b80
lea rcx, [rsp + 0xc0]
call fcn.1400e8b90
jmp 0x1400b9492
lea rax, [0x14011dc42]
mov qword [rsp + 0xf8], rax
jmp 0x1400b8fc7
mov cx, 0xa
cmp edx, 5
ja case.0x1400b9507.1
mov edx, edx
lea rdi, [0x1400b9650]
movsxd rdx, dword [rdi + rdx*4]
add rdx, rdi
jmp rdx
movzx ecx, byte [rbx + 0x20]
xor ecx, 1
jmp case.0x1400b9507.1
call fcn.14005ed00
lea ecx, [rsi + 0x1000000]
cmp eax, 5
cmovl esi, ecx
jmp 0x1400b903c
mov esi, 0x80000
jmp 0x1400b8f82
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
lea rcx, [rsp + 0xa0]
call fcn.1400695e0
jmp 0x1400b918d
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.1400b9a40
mov bpl, 1
test al, al
jne 0x1400b8faf
jmp 0x1400b90a5
lea rsi, [rsp + 0x60]
movaps xmmword [rsi], xmm6
lea rcx, [rsp + 0x80]
call fcn.1400b9810
mov rcx, rsi
mov rdx, rax
call fcn.1400067c0
mov rcx, rsi
mov edx, 1
mov r8b, 1
call fcn.14000b100
mov rcx, r13
xor edx, edx
call fcn.1400067c0
mov rcx, rsi
call fcn.140076e80
jmp 0x1400b93df
cmp qword [rbx + 0x90], 0
je 0x1400b9646
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400b961e
mov rsi, rax
lea r8, [rbx + 0x80]
lea rcx, [rsp + 0x60]
mov rdx, rax
call fcn.140006c40
lea rcx, [rsp + 0x60]
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x80], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400b91f4
mov rcx, r13
xor edx, edx
call fcn.1400067c0
jmp 0x1400b93ec
mov cx, 1
jmp case.0x1400b9507.1
mov cx, 7
jmp case.0x1400b9507.1
xor ecx, ecx
jmp case.0x1400b9507.1
xor eax, eax
jmp 0x1400b9265