Function at 0x140098d90
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 [0x140100028]
xor rax, rsp
mov qword [rsp + 0x198], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x160]
mov qword [rdi + 0x10], r15
movaps xmm6, xmmword [0x1400e9af0]
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.14003f330
lea r8, [0x14010622c]
mov rcx, rdi
mov rdx, rsi
call fcn.140099620
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.140099570
xor esi, esi
cmp byte [rbx + 0x7a], 0
mov ecx, 0
je 0x140098e6d
call fcn.14004d070
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 0x140098f90
cmp byte [rbx + 0x7a], 0
je 0x140098e96
call fcn.14004d070
cmp eax, 0x10
jge 0x14009932f
cmp dword [rbx + 0x24], 1
sete bpl
mov rdi, qword [rbx + 0x28]
mov r14, qword [rbx + 0x30]
cmp rdi, r14
jne 0x140099361
cmp byte [rbx + 0x21], 0
je 0x140098ebd
or byte [rsp + 0x124], 0x80
cmp byte [rbx + 0x50], 0
jne 0x1400993d6
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 0x1400993ea
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 0x140098f0d
test rdx, rdx
jne 0x140098f0d
test rdi, rdi
je 0x140098f31
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 0x140099415
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 0x140098ff8
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], 0
movzx eax, byte [rbx + 0x1f]
test al, al
jns 0x14009904c
mov rax, qword [rbx + 0x10]
mov r14, qword [rbx + 8]
jmp 0x140099050
lea rcx, [rsp + 0xe0]
call fcn.140099870
test al, al
jne 0x14009942b
mov rcx, r13
xor edx, edx
call fcn.140005d80
lea rcx, [rsp + 0xe0]
call fcn.1400995b0
lea rcx, [rsp + 0x160]
call fcn.140099740
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140069890
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 0x140098fa5
lea rcx, [rsp + 0xe0]
mov edx, 1
call fcn.140099870
test al, al
je 0x140098fa5
lea rcx, [rsp + 0xe0]
lea r8, [rsp + 0xdc]
mov edx, 0x20012
mov r9d, 4
call fcn.140099940
test al, al
je 0x140098fa5
or edi, 0x80000
jmp 0x140098f60
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 0x140099435
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 0x140099108
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
cmp byte [rbx + 0x98], 0
je 0x1400994c8
lea r8, [rbx + 0x80]
lea rdx, [0x1400ec54a]
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.140006200
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 0x140099157
mov rax, qword [rsp + 0x80]
jmp 0x14009915f
lea rcx, [rsp + 0x80]
mov qword [rcx], 0
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x14009951e
or edi, 0x400
mov rdx, qword [rsp + 0x80]
movzx eax, bpl
cmp byte [rsp + 0xb7], 0
jns 0x1400991e0
mov rbp, rsi
mov r8, qword [rsp + 0xa0]
jmp 0x1400991eb
lea rax, [rsp + 0x80]
or edi, 0x400
movzx ecx, bpl
cmp byte [rsp + 0xb7], 0
jns 0x14009917d
mov rdx, qword [rsp + 0xa0]
jmp 0x140099185
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 0x14009930c
cmp byte [rsp + 0x97], 0
jns 0x14009923e
mov rcx, qword [rsp + 0x80]
call fcn.1400672f8
jmp 0x14009923e
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 0x14009951e
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x10], r15
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0xc0]
call fcn.1400995f0
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x140099279
mov rdx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x140099481
cmp byte [rbx + 0x79], 0
je 0x140099294
mov rcx, qword [rsp + 0x80]
call fcn.140005e20
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
cmp byte [rbx], 0
je 0x1400992ac
mov rcx, qword [rsp + 0x80]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [rsp + 0x90]
mov rcx, qword [0x140106270]
test rcx, rcx
je 0x1400992c7
mov r8, r12
call fcn.140099d30
lea rcx, [rsp + 0x80]
call fcn.140099710
mov rcx, r13
mov rdx, rax
call fcn.140005d80
lea rcx, [rsp + 0x80]
call fcn.140099980
cmp byte [rsp + 0xb7], 0
jns 0x140098faf
mov rcx, qword [rsp + 0xa0]
call fcn.1400672f8
jmp 0x140098faf
mov rcx, r13
xor edx, edx
call fcn.140005d80
cmp byte [rsp + 0x97], 0
jns 0x1400992ec
mov rcx, qword [rsp + 0x80]
call fcn.1400672f8
jmp 0x1400992ec
lea r8, [rsp + 0x180]
or byte [r8 + 0xb], 0x20
lea rcx, [rsp + 0xe0]
mov edx, 0x20007
mov r9d, 0x10
call fcn.140099940
test al, al
jne 0x140098e96
jmp 0x140098fa5
mov rax, r14
sub rax, rdi
sar rax, 3
cmp rax, 0x1fffffff
ja 0x140098fa5
mov rbp, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rcx, qword [rdi]
mov edx, 1
mov r8d, 1
call rbp
test eax, eax
je 0x1400993a0
add rdi, 8
cmp r14, rdi
jne 0x14009937e
jmp 0x140099450
lea rcx, [rsp + 0xc0]
lea rdx, str..._.._base_process_launch_win.cc
mov r8d, 0x132
call fcn.1400c0120
lea rcx, [rsp + 0xc0]
call fcn.1400c0140
lea rcx, [rsp + 0xc0]
call fcn.1400c0150
jmp 0x140099392
lea rax, [0x1400ec2a2]
mov qword [rsp + 0xf8], rax
jmp 0x140098ec7
mov cx, 0xa
cmp edx, 5
ja case.0x140099407.1
mov edx, edx
lea rdi, [0x140099550]
movsxd rdx, dword [rdi + rdx*4]
add rdx, rdi
jmp rdx
movzx ecx, byte [rbx + 0x20]
xor ecx, 1
jmp case.0x140099407.1
call fcn.14004d070
lea ecx, [rsi + 0x1000000]
cmp eax, 5
cmovl esi, ecx
jmp 0x140098f3c
mov esi, 0x80000
jmp 0x140098e82
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
lea rcx, [rsp + 0xa0]
call fcn.14006183c
jmp 0x14009908d
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.140099940
mov bpl, 1
test al, al
jne 0x140098eaf
jmp 0x140098fa5
lea rsi, [rsp + 0x60]
movaps xmmword [rsi], xmm6
lea rcx, [rsp + 0x80]
call fcn.140099710
mov rcx, rsi
mov rdx, rax
call fcn.140005d80
mov rcx, rsi
mov edx, 1
mov r8b, 1
call fcn.14000ab90
mov rcx, r13
xor edx, edx
call fcn.140005d80
mov rcx, rsi
call fcn.140062490
jmp 0x1400992df
cmp qword [rbx + 0x90], 0
je 0x140099546
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x14009951e
mov rsi, rax
lea r8, [rbx + 0x80]
lea rcx, [rsp + 0x60]
mov rdx, rax
call fcn.140006200
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 0x1400990f4
mov rcx, r13
xor edx, edx
call fcn.140005d80
jmp 0x1400992ec
mov cx, 1
jmp case.0x140099407.1
mov cx, 7
jmp case.0x140099407.1
xor ecx, ecx
jmp case.0x140099407.1
xor eax, eax
jmp 0x140099165