Function at 0x140027100
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, 0x1c8
movaps xmmword [rsp + 0x1b0], xmm6
mov rdi, r8
mov rax, rdx
mov r15, rcx
mov rcx, qword [0x1400dd028]
xor rcx, rsp
mov qword [rsp + 0x1a8], rcx
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140024500
movaps xmm6, xmmword [0x1400c48d0]
lea rbx, [rsp + 0x180]
movaps xmmword [rbx], xmm6
lea rdx, str.LaunchProcess
lea r8, str..._.._base_process_launch_win.cc
lea rsi, [rsp + 0x100]
mov rcx, rsi
mov r9d, 0xd8
call fcn.140047480
lea r8, [0x1400e45bc]
mov rcx, rbx
mov rdx, rsi
call fcn.140029920
xorps xmm0, xmm0
movaps xmmword [rsp + 0x190], xmm0
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x70], r13
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 + 0x100]
call fcn.140029bf0
xor esi, esi
cmp byte [rdi + 0x72], 0
mov ecx, 0
jne 0x14002758a
mov rax, qword [rdi + 0x28]
xor edx, edx
cmp rax, qword [rdi + 0x30]
setne dl
add edx, ecx
je 0x140027208
lea rcx, [rsp + 0x100]
call fcn.140029c70
mov esi, 0x80000
test al, al
je 0x1400275d7
cmp byte [rdi + 0x72], 0
jne 0x14002759c
cmp dword [rdi + 0x24], 1
sete bl
mov rbp, qword [rdi + 0x28]
mov r14, qword [rdi + 0x30]
cmp rbp, r14
je 0x1400272df
mov rax, r14
sub rax, rbp
sar rax, 3
cmp rax, 0x1fffffff
ja 0x1400275d7
mov rcx, qword [rbp]
mov edx, 1
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x1400275e6
lea rax, [rbp + 8]
cmp rax, r14
je 0x1400272b4
mov rcx, qword [rax]
mov edx, 1
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x1400278b2
lea rax, [rbp + 0x10]
cmp rax, r14
je 0x1400272b4
mov rcx, qword [rax]
mov edx, 1
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x1400278e4
add rbp, 0x18
cmp rbp, r14
jne 0x140027553
mov r9d, dword [rdi + 0x30]
mov r8, qword [rdi + 0x28]
sub r9d, r8d
and r9d, 0xfffffff8
lea rcx, [rsp + 0x100]
mov edx, 0x20002
call fcn.140029d40
mov bl, 1
test al, al
je 0x1400275d7
cmp byte [rdi + 0x21], 0
jne 0x140027618
cmp byte [rdi + 0x48], 0
jne 0x140027625
mov eax, dword [rsp + 0x144]
mov ecx, eax
or ecx, 1
mov dword [rsp + 0x144], ecx
movzx ecx, byte [rdi + 0x20]
xor ecx, 1
mov word [rsp + 0x148], cx
mov rcx, qword [rdi + 0x58]
test rcx, rcx
jne 0x140027639
mov rdx, qword [rdi + 0x60]
test rdx, rdx
jne 0x140027641
cmp qword [rdi + 0x68], 0
jne 0x14002763f
cmp qword [rdi + 0x50], 0
jne 0x14002766e
mov ebp, esi
or ebp, 0x1000000
cmp byte [rdi + 0x70], 0
cmove ebp, esi
xorps xmm0, xmm0
movaps xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0xf0], 0
movzx eax, byte [rdi + 0x1f]
test al, al
jns 0x14002737d
mov rax, qword [rdi + 0x10]
mov rsi, qword [rdi + 8]
jmp 0x140027381
lea rsi, [rdi + 8]
test rax, rax
cmove rsi, rax
mov qword [rsp + 0xd0], r13
movaps xmmword [rsp + 0xc0], xmm6
cmp byte [rsp + 0x7f], 0
jns 0x140027684
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
lea rcx, [rsp + 0xc0]
call fcn.140040540
lea r12, [rsp + 0x108]
mov rdx, qword [rdi + 0x40]
test rdx, rdx
jne 0x1400276a3
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
cmp byte [rdi + 0x90], 0
jne 0x1400276ee
cmp qword [rdi + 0x88], 0
jne 0x140027755
xor eax, eax
movzx ecx, bl
cmp byte [rsp + 0xd7], 0
jns 0x14002741a
mov rdx, qword [rsp + 0xc0]
jmp 0x140027422
lea rdx, [rsp + 0xc0]
lea rbx, [rsp + 0xe0]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebp
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 0x1400277c2
cmp byte [rsp + 0xb7], 0
js 0x1400277ec
lea rcx, [rsp + 0xa0]
mov qword [rcx + 0x10], r13
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0xe0]
call fcn.140029e90
mov rcx, qword [rdi + 0x50]
test rcx, rcx
jne 0x1400277fe
cmp byte [rdi + 0x71], 0
jne 0x14002785e
cmp byte [rdi], 0
jne 0x140027878
mov edx, dword [rsp + 0xb0]
mov rcx, qword [0x1400e45c8]
test rcx, rcx
jne 0x140027890
lea rcx, [rsp + 0xa0]
call fcn.14002a0c0
mov rcx, r15
mov rdx, rax
call fcn.140044800
lea rcx, [rsp + 0xa0]
call fcn.14002a010
cmp byte [rsp + 0xd7], 0
jns 0x1400274f9
mov rcx, qword [rsp + 0xc0]
call fcn.14005aae8
lea rcx, [rsp + 0x100]
call fcn.140029c30
lea rcx, [rsp + 0x180]
call fcn.140029ac0
cmp byte [rsp + 0x7f], 0
jns 0x140027524
mov rcx, qword [rsp + 0x68]
call fcn.14005aae8
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14005b820
mov rax, r15
movaps xmm6, xmmword [rsp + 0x1b0]
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea r12, [rsp + 0xe0]
mov rcx, qword [rbp]
mov edx, 1
mov r8d, 1
call rbx
test eax, eax
je 0x140027980
add rbp, 8
cmp r14, rbp
je 0x1400272b4
jmp 0x140027562
call fcn.140047bf0
xor ecx, ecx
cmp eax, 0xf
setg cl
jmp 0x1400271dd
call fcn.140047bf0
cmp eax, 0x10
jl 0x140027212
lea r8, [rsp + 0x190]
or byte [r8 + 0xb], 0x20
lea rcx, [rsp + 0x100]
mov edx, 0x20007
mov r9d, 0x10
call fcn.140029d40
test al, al
jne 0x140027212
mov rcx, r15
xor edx, edx
call fcn.140044800
jmp 0x1400274f9
lea rdx, str..._.._base_process_launch_win.cc
lea rbx, [rsp + 0xe0]
mov rcx, rbx
mov r8d, 0x113
call fcn.1400aa480
mov rcx, rbx
call fcn.1400aa3b0
mov rcx, rbx
call fcn.1400aa3c0
jmp 0x14002725d
or byte [rsp + 0x144], 0x80
jmp 0x1400272e9
lea rax, [0x1400c9b16]
mov qword [rsp + 0x118], rax
jmp 0x1400272f3
mov rdx, qword [rdi + 0x60]
jmp 0x140027641
xor edx, edx
or eax, 0x101
mov dword [rsp + 0x144], eax
mov qword [rsp + 0x158], rcx
mov qword [rsp + 0x160], rdx
mov rax, qword [rdi + 0x68]
mov qword [rsp + 0x168], rax
jmp 0x14002733a
call fcn.140047bf0
lea ecx, [rsi + 0x1000000]
cmp eax, 5
cmovl esi, ecx
jmp 0x140027345
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xd0], rax
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0xc0], xmm0
jmp 0x1400273ba
lea rcx, [rsp + 0xa0]
mov qword [rcx], 0
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x140027971
or ebp, 0x400
mov rdx, qword [rsp + 0xa0]
movzx eax, bl
cmp byte [rsp + 0xd7], 0
jns 0x140027916
mov r8, qword [rsp + 0xc0]
jmp 0x14002791e
lea r8, [rdi + 0x78]
lea rdx, [0x1400c9b18]
lea rcx, [rsp + 0x80]
call fcn.1400aa4a0
cmp byte [rsp + 0xb7], 0
jns 0x14002771d
mov rcx, qword [rsp + 0xa0]
call fcn.14005aae8
lea r14, [rsp + 0xa0]
mov rax, qword [rsp + 0x90]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [r14], xmm0
cmp byte [r14 + 0x17], 0
jns 0x14002789f
mov rax, qword [rsp + 0xa0]
jmp 0x1400278a7
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400277c2
lea r8, [rdi + 0x78]
lea rcx, [rsp + 0x80]
mov rdx, qword [rsp + 0x60]
call fcn.1400aa4a0
cmp byte [rsp + 0xb7], 0
jns 0x140027792
mov rcx, qword [rsp + 0xa0]
call fcn.14005aae8
lea r14, [rsp + 0xa0]
mov rax, qword [rsp + 0x90]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [r14], xmm0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002773d
mov rcx, r15
xor edx, edx
call fcn.140044800
cmp byte [rsp + 0xb7], 0
jns 0x1400274e2
mov rcx, qword [rsp + 0xa0]
call fcn.14005aae8
jmp 0x1400274e2
mov rcx, qword [rsp + 0xa0]
call fcn.14005aae8
jmp 0x14002746a
mov rdx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x140027493
lea rsi, [rsp + 0x80]
movaps xmmword [rsi], xmm6
lea rcx, [rsp + 0xa0]
call fcn.14002a0c0
mov rcx, rsi
mov rdx, rax
call fcn.140044800
mov rcx, rsi
mov edx, 1
mov r8b, 1
call fcn.1400a7880
mov rcx, r15
xor edx, edx
call fcn.140044800
mov rcx, rsi
call fcn.140044880
jmp 0x1400274d5
mov rcx, qword [rsp + 0xa0]
call fcn.14002a100
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
jmp 0x14002749d
mov rcx, qword [rsp + 0xa0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1400274a6
lea r8, [rsp + 0x68]
call fcn.1400a9180
jmp 0x1400274bd
lea rax, [rsp + 0xa0]
or ebp, 0x400
jmp 0x140027403
lea rdx, str..._.._base_process_launch_win.cc
lea rbx, [rsp + 0xe0]
mov rcx, rbx
mov r8d, 0x113
call fcn.1400aa480
mov rcx, rbx
call fcn.1400aa3b0
mov rcx, rbx
call fcn.1400aa3c0
jmp 0x140027282
lea rdx, str..._.._base_process_launch_win.cc
lea rbx, [rsp + 0xe0]
mov rcx, rbx
mov r8d, 0x113
call fcn.1400aa480
mov rcx, rbx
call fcn.1400aa3b0
mov rcx, rbx
call fcn.1400aa3c0
jmp 0x1400272a7
lea r8, [rsp + 0xc0]
mov rcx, qword [rdi + 0x40]
lea rbx, [rsp + 0xe0]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], ebp
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 + 0xa0]
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
jne 0x14002746a
mov rcx, r15
xor edx, edx
call fcn.140044800
jmp 0x1400274e2
mov rcx, r12
lea rdx, str..._.._base_process_launch_win.cc
mov r8d, 0x113
call fcn.1400aa480
mov rcx, r12
call fcn.1400aa3b0
mov rcx, r12
call fcn.1400aa3c0
jmp 0x14002757b